Debian Codegraph @

crit/images/stats/stats.pb.go

raw symbols SCIP
1 // SPDX-License-Identifier: MIT
2
3 // Code generated by protoc-gen-go. DO NOT EDIT.
4 // versions:
5 // protoc-gen-go v1.30.0
6 // protoc v4.23.4
7 // source: stats.proto
8
9 package stats
10
11 import (
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 reflect "reflect"
15 sync "sync"
16 )
17
18 const (
19 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 // This one contains statistics about dump/restore process
26 type DumpStatsEntry struct {
27 state protoimpl.MessageState
28 sizeCache protoimpl.SizeCache
29 unknownFields protoimpl.UnknownFields
30
31 FreezingTime *uint32 `protobuf:"varint,1,req,name=freezing_time,json=freezingTime" json:"freezing_time,omitempty"`
32 FrozenTime *uint32 `protobuf:"varint,2,req,name=frozen_time,json=frozenTime" json:"frozen_time,omitempty"`
33 MemdumpTime *uint32 `protobuf:"varint,3,req,name=memdump_time,json=memdumpTime" json:"memdump_time,omitempty"`
34 MemwriteTime *uint32 `protobuf:"varint,4,req,name=memwrite_time,json=memwriteTime" json:"memwrite_time,omitempty"`
35 PagesScanned *uint64 `protobuf:"varint,5,req,name=pages_scanned,json=pagesScanned" json:"pages_scanned,omitempty"`
36 PagesSkippedParent *uint64 `protobuf:"varint,6,req,name=pages_skipped_parent,json=pagesSkippedParent" json:"pages_skipped_parent,omitempty"`
37 PagesWritten *uint64 `protobuf:"varint,7,req,name=pages_written,json=pagesWritten" json:"pages_written,omitempty"`
38 IrmapResolve *uint32 `protobuf:"varint,8,opt,name=irmap_resolve,json=irmapResolve" json:"irmap_resolve,omitempty"`
39 PagesLazy *uint64 `protobuf:"varint,9,req,name=pages_lazy,json=pagesLazy" json:"pages_lazy,omitempty"`
40 PagePipes *uint64 `protobuf:"varint,10,opt,name=page_pipes,json=pagePipes" json:"page_pipes,omitempty"`
41 PagePipeBufs *uint64 `protobuf:"varint,11,opt,name=page_pipe_bufs,json=pagePipeBufs" json:"page_pipe_bufs,omitempty"`
42 ShpagesScanned *uint64 `protobuf:"varint,12,opt,name=shpages_scanned,json=shpagesScanned" json:"shpages_scanned,omitempty"`
43 ShpagesSkippedParent *uint64 `protobuf:"varint,13,opt,name=shpages_skipped_parent,json=shpagesSkippedParent" json:"shpages_skipped_parent,omitempty"`
44 ShpagesWritten *uint64 `protobuf:"varint,14,opt,name=shpages_written,json=shpagesWritten" json:"shpages_written,omitempty"`
45 }
46
47 func (x *DumpStatsEntry) Reset() {
48 *x = DumpStatsEntry{}
49 if protoimpl.UnsafeEnabled {
50 mi := &file_stats_proto_msgTypes[0]
51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
52 ms.StoreMessageInfo(mi)
53 }
54 }
55
56 func (x *DumpStatsEntry) String() string {
57 return protoimpl.X.MessageStringOf(x)
58 }
59
60 func (*DumpStatsEntry) ProtoMessage() {}
61
62 func (x *DumpStatsEntry) ProtoReflect() protoreflect.Message {
63 mi := &file_stats_proto_msgTypes[0]
64 if protoimpl.UnsafeEnabled && x != nil {
65 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
66 if ms.LoadMessageInfo() == nil {
67 ms.StoreMessageInfo(mi)
68 }
69 return ms
70 }
71 return mi.MessageOf(x)
72 }
73
74 // Deprecated: Use DumpStatsEntry.ProtoReflect.Descriptor instead.
75 func (*DumpStatsEntry) Descriptor() ([]byte, []int) {
76 return file_stats_proto_rawDescGZIP(), []int{0}
77 }
78
79 func (x *DumpStatsEntry) GetFreezingTime() uint32 {
80 if x != nil && x.FreezingTime != nil {
81 return *x.FreezingTime
82 }
83 return 0
84 }
85
86 func (x *DumpStatsEntry) GetFrozenTime() uint32 {
87 if x != nil && x.FrozenTime != nil {
88 return *x.FrozenTime
89 }
90 return 0
91 }
92
93 func (x *DumpStatsEntry) GetMemdumpTime() uint32 {
94 if x != nil && x.MemdumpTime != nil {
95 return *x.MemdumpTime
96 }
97 return 0
98 }
99
100 func (x *DumpStatsEntry) GetMemwriteTime() uint32 {
101 if x != nil && x.MemwriteTime != nil {
102 return *x.MemwriteTime
103 }
104 return 0
105 }
106
107 func (x *DumpStatsEntry) GetPagesScanned() uint64 {
108 if x != nil && x.PagesScanned != nil {
109 return *x.PagesScanned
110 }
111 return 0
112 }
113
114 func (x *DumpStatsEntry) GetPagesSkippedParent() uint64 {
115 if x != nil && x.PagesSkippedParent != nil {
116 return *x.PagesSkippedParent
117 }
118 return 0
119 }
120
121 func (x *DumpStatsEntry) GetPagesWritten() uint64 {
122 if x != nil && x.PagesWritten != nil {
123 return *x.PagesWritten
124 }
125 return 0
126 }
127
128 func (x *DumpStatsEntry) GetIrmapResolve() uint32 {
129 if x != nil && x.IrmapResolve != nil {
130 return *x.IrmapResolve
131 }
132 return 0
133 }
134
135 func (x *DumpStatsEntry) GetPagesLazy() uint64 {
136 if x != nil && x.PagesLazy != nil {
137 return *x.PagesLazy
138 }
139 return 0
140 }
141
142 func (x *DumpStatsEntry) GetPagePipes() uint64 {
143 if x != nil && x.PagePipes != nil {
144 return *x.PagePipes
145 }
146 return 0
147 }
148
149 func (x *DumpStatsEntry) GetPagePipeBufs() uint64 {
150 if x != nil && x.PagePipeBufs != nil {
151 return *x.PagePipeBufs
152 }
153 return 0
154 }
155
156 func (x *DumpStatsEntry) GetShpagesScanned() uint64 {
157 if x != nil && x.ShpagesScanned != nil {
158 return *x.ShpagesScanned
159 }
160 return 0
161 }
162
163 func (x *DumpStatsEntry) GetShpagesSkippedParent() uint64 {
164 if x != nil && x.ShpagesSkippedParent != nil {
165 return *x.ShpagesSkippedParent
166 }
167 return 0
168 }
169
170 func (x *DumpStatsEntry) GetShpagesWritten() uint64 {
171 if x != nil && x.ShpagesWritten != nil {
172 return *x.ShpagesWritten
173 }
174 return 0
175 }
176
177 type RestoreStatsEntry struct {
178 state protoimpl.MessageState
179 sizeCache protoimpl.SizeCache
180 unknownFields protoimpl.UnknownFields
181
182 PagesCompared *uint64 `protobuf:"varint,1,req,name=pages_compared,json=pagesCompared" json:"pages_compared,omitempty"`
183 PagesSkippedCow *uint64 `protobuf:"varint,2,req,name=pages_skipped_cow,json=pagesSkippedCow" json:"pages_skipped_cow,omitempty"`
184 ForkingTime *uint32 `protobuf:"varint,3,req,name=forking_time,json=forkingTime" json:"forking_time,omitempty"`
185 RestoreTime *uint32 `protobuf:"varint,4,req,name=restore_time,json=restoreTime" json:"restore_time,omitempty"`
186 PagesRestored *uint64 `protobuf:"varint,5,opt,name=pages_restored,json=pagesRestored" json:"pages_restored,omitempty"`
187 }
188
189 func (x *RestoreStatsEntry) Reset() {
190 *x = RestoreStatsEntry{}
191 if protoimpl.UnsafeEnabled {
192 mi := &file_stats_proto_msgTypes[1]
193 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
194 ms.StoreMessageInfo(mi)
195 }
196 }
197
198 func (x *RestoreStatsEntry) String() string {
199 return protoimpl.X.MessageStringOf(x)
200 }
201
202 func (*RestoreStatsEntry) ProtoMessage() {}
203
204 func (x *RestoreStatsEntry) ProtoReflect() protoreflect.Message {
205 mi := &file_stats_proto_msgTypes[1]
206 if protoimpl.UnsafeEnabled && x != nil {
207 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
208 if ms.LoadMessageInfo() == nil {
209 ms.StoreMessageInfo(mi)
210 }
211 return ms
212 }
213 return mi.MessageOf(x)
214 }
215
216 // Deprecated: Use RestoreStatsEntry.ProtoReflect.Descriptor instead.
217 func (*RestoreStatsEntry) Descriptor() ([]byte, []int) {
218 return file_stats_proto_rawDescGZIP(), []int{1}
219 }
220
221 func (x *RestoreStatsEntry) GetPagesCompared() uint64 {
222 if x != nil && x.PagesCompared != nil {
223 return *x.PagesCompared
224 }
225 return 0
226 }
227
228 func (x *RestoreStatsEntry) GetPagesSkippedCow() uint64 {
229 if x != nil && x.PagesSkippedCow != nil {
230 return *x.PagesSkippedCow
231 }
232 return 0
233 }
234
235 func (x *RestoreStatsEntry) GetForkingTime() uint32 {
236 if x != nil && x.ForkingTime != nil {
237 return *x.ForkingTime
238 }
239 return 0
240 }
241
242 func (x *RestoreStatsEntry) GetRestoreTime() uint32 {
243 if x != nil && x.RestoreTime != nil {
244 return *x.RestoreTime
245 }
246 return 0
247 }
248
249 func (x *RestoreStatsEntry) GetPagesRestored() uint64 {
250 if x != nil && x.PagesRestored != nil {
251 return *x.PagesRestored
252 }
253 return 0
254 }
255
256 type StatsEntry struct {
257 state protoimpl.MessageState
258 sizeCache protoimpl.SizeCache
259 unknownFields protoimpl.UnknownFields
260
261 Dump *DumpStatsEntry `protobuf:"bytes,1,opt,name=dump" json:"dump,omitempty"`
262 Restore *RestoreStatsEntry `protobuf:"bytes,2,opt,name=restore" json:"restore,omitempty"`
263 }
264
265 func (x *StatsEntry) Reset() {
266 *x = StatsEntry{}
267 if protoimpl.UnsafeEnabled {
268 mi := &file_stats_proto_msgTypes[2]
269 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
270 ms.StoreMessageInfo(mi)
271 }
272 }
273
274 func (x *StatsEntry) String() string {
275 return protoimpl.X.MessageStringOf(x)
276 }
277
278 func (*StatsEntry) ProtoMessage() {}
279
280 func (x *StatsEntry) ProtoReflect() protoreflect.Message {
281 mi := &file_stats_proto_msgTypes[2]
282 if protoimpl.UnsafeEnabled && x != nil {
283 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
284 if ms.LoadMessageInfo() == nil {
285 ms.StoreMessageInfo(mi)
286 }
287 return ms
288 }
289 return mi.MessageOf(x)
290 }
291
292 // Deprecated: Use StatsEntry.ProtoReflect.Descriptor instead.
293 func (*StatsEntry) Descriptor() ([]byte, []int) {
294 return file_stats_proto_rawDescGZIP(), []int{2}
295 }
296
297 func (x *StatsEntry) GetDump() *DumpStatsEntry {
298 if x != nil {
299 return x.Dump
300 }
301 return nil
302 }
303
304 func (x *StatsEntry) GetRestore() *RestoreStatsEntry {
305 if x != nil {
306 return x.Restore
307 }
308 return nil
309 }
310
311 var File_stats_proto protoreflect.FileDescriptor
312
313 var file_stats_proto_rawDesc = []byte{
314 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xad, 0x04,
315 0x0a, 0x10, 0x64, 0x75, 0x6d, 0x70, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x5f, 0x65, 0x6e, 0x74,
316 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x69, 0x6e, 0x67, 0x5f, 0x74,
317 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x7a,
318 0x69, 0x6e, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x7a, 0x65,
319 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0a, 0x66, 0x72,
320 0x6f, 0x7a, 0x65, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x64,
321 0x75, 0x6d, 0x70, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0b,
322 0x6d, 0x65, 0x6d, 0x64, 0x75, 0x6d, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6d,
323 0x65, 0x6d, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x02,
324 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x77, 0x72, 0x69, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
325 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x61, 0x67, 0x65, 0x73, 0x5f, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65,
326 0x64, 0x18, 0x05, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0c, 0x70, 0x61, 0x67, 0x65, 0x73, 0x53, 0x63,
327 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x70, 0x61, 0x67, 0x65, 0x73, 0x5f, 0x73,
328 0x6b, 0x69, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20,
329 0x02, 0x28, 0x04, 0x52, 0x12, 0x70, 0x61, 0x67, 0x65, 0x73, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x65,
330 0x64, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x61, 0x67, 0x65, 0x73,
331 0x5f, 0x77, 0x72, 0x69, 0x74, 0x74, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0c,
332 0x70, 0x61, 0x67, 0x65, 0x73, 0x57, 0x72, 0x69, 0x74, 0x74, 0x65, 0x6e, 0x12, 0x23, 0x0a, 0x0d,
333 0x69, 0x72, 0x6d, 0x61, 0x70, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x18, 0x08, 0x20,
334 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x69, 0x72, 0x6d, 0x61, 0x70, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76,
335 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x73, 0x5f, 0x6c, 0x61, 0x7a, 0x79, 0x18,
336 0x09, 0x20, 0x02, 0x28, 0x04, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x73, 0x4c, 0x61, 0x7a, 0x79,
337 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x69, 0x70, 0x65, 0x73, 0x18, 0x0a,
338 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x50, 0x69, 0x70, 0x65, 0x73, 0x12,
339 0x24, 0x0a, 0x0e, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x69, 0x70, 0x65, 0x5f, 0x62, 0x75, 0x66,
340 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x70, 0x61, 0x67, 0x65, 0x50, 0x69, 0x70,
341 0x65, 0x42, 0x75, 0x66, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x68, 0x70, 0x61, 0x67, 0x65, 0x73,
342 0x5f, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e,
343 0x73, 0x68, 0x70, 0x61, 0x67, 0x65, 0x73, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x12, 0x34,
344 0x0a, 0x16, 0x73, 0x68, 0x70, 0x61, 0x67, 0x65, 0x73, 0x5f, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x65,
345 0x64, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x14,
346 0x73, 0x68, 0x70, 0x61, 0x67, 0x65, 0x73, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x65, 0x64, 0x50, 0x61,
347 0x72, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x68, 0x70, 0x61, 0x67, 0x65, 0x73, 0x5f,
348 0x77, 0x72, 0x69, 0x74, 0x74, 0x65, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x73,
349 0x68, 0x70, 0x61, 0x67, 0x65, 0x73, 0x57, 0x72, 0x69, 0x74, 0x74, 0x65, 0x6e, 0x22, 0xd5, 0x01,
350 0x0a, 0x13, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x5f,
351 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x67, 0x65, 0x73, 0x5f, 0x63,
352 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0d, 0x70,
353 0x61, 0x67, 0x65, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x64, 0x12, 0x2a, 0x0a, 0x11,
354 0x70, 0x61, 0x67, 0x65, 0x73, 0x5f, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x63, 0x6f,
355 0x77, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0f, 0x70, 0x61, 0x67, 0x65, 0x73, 0x53, 0x6b,
356 0x69, 0x70, 0x70, 0x65, 0x64, 0x43, 0x6f, 0x77, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x6b,
357 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0b,
358 0x66, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72,
359 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x02, 0x28,
360 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x25,
361 0x0a, 0x0e, 0x70, 0x61, 0x67, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x64,
362 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x70, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73,
363 0x74, 0x6f, 0x72, 0x65, 0x64, 0x22, 0x64, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x73, 0x5f, 0x65,
364 0x6e, 0x74, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x04, 0x64, 0x75, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01,
365 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x64, 0x75, 0x6d, 0x70, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x5f,
366 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 0x75, 0x6d, 0x70, 0x12, 0x2e, 0x0a, 0x07, 0x72,
367 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x72,
368 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x5f, 0x65, 0x6e, 0x74,
369 0x72, 0x79, 0x52, 0x07, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
370 }
371
372 var (
373 file_stats_proto_rawDescOnce sync.Once
374 file_stats_proto_rawDescData = file_stats_proto_rawDesc
375 )
376
377 func file_stats_proto_rawDescGZIP() []byte {
378 file_stats_proto_rawDescOnce.Do(func() {
379 file_stats_proto_rawDescData = protoimpl.X.CompressGZIP(file_stats_proto_rawDescData)
380 })
381 return file_stats_proto_rawDescData
382 }
383
384 var file_stats_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
385 var file_stats_proto_goTypes = []interface{}{
386 (*DumpStatsEntry)(nil), // 0: dump_stats_entry
387 (*RestoreStatsEntry)(nil), // 1: restore_stats_entry
388 (*StatsEntry)(nil), // 2: stats_entry
389 }
390 var file_stats_proto_depIdxs = []int32{
391 0, // 0: stats_entry.dump:type_name -> dump_stats_entry
392 1, // 1: stats_entry.restore:type_name -> restore_stats_entry
393 2, // [2:2] is the sub-list for method output_type
394 2, // [2:2] is the sub-list for method input_type
395 2, // [2:2] is the sub-list for extension type_name
396 2, // [2:2] is the sub-list for extension extendee
397 0, // [0:2] is the sub-list for field type_name
398 }
399
400 func init() { file_stats_proto_init() }
401 func file_stats_proto_init() {
402 if File_stats_proto != nil {
403 return
404 }
405 if !protoimpl.UnsafeEnabled {
406 file_stats_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
407 switch v := v.(*DumpStatsEntry); i {
408 case 0:
409 return &v.state
410 case 1:
411 return &v.sizeCache
412 case 2:
413 return &v.unknownFields
414 default:
415 return nil
416 }
417 }
418 file_stats_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
419 switch v := v.(*RestoreStatsEntry); i {
420 case 0:
421 return &v.state
422 case 1:
423 return &v.sizeCache
424 case 2:
425 return &v.unknownFields
426 default:
427 return nil
428 }
429 }
430 file_stats_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
431 switch v := v.(*StatsEntry); i {
432 case 0:
433 return &v.state
434 case 1:
435 return &v.sizeCache
436 case 2:
437 return &v.unknownFields
438 default:
439 return nil
440 }
441 }
442 }
443 type x struct{}
444 out := protoimpl.TypeBuilder{
445 File: protoimpl.DescBuilder{
446 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
447 RawDescriptor: file_stats_proto_rawDesc,
448 NumEnums: 0,
449 NumMessages: 3,
450 NumExtensions: 0,
451 NumServices: 0,
452 },
453 GoTypes: file_stats_proto_goTypes,
454 DependencyIndexes: file_stats_proto_depIdxs,
455 MessageInfos: file_stats_proto_msgTypes,
456 }.Build()
457 File_stats_proto = out.File
458 file_stats_proto_rawDesc = nil
459 file_stats_proto_goTypes = nil
460 file_stats_proto_depIdxs = nil
461 }