1
2
3
4
5
6
7
8 package retention
9
10 import (
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 descriptorpb "google.golang.org/protobuf/types/descriptorpb"
14 reflect "reflect"
15 sync "sync"
16 )
17
18 type TopLevelEnum int32
19
20 const (
21 TopLevelEnum_TOP_LEVEL_UNKNOWN TopLevelEnum = 0
22 )
23
24
25 var (
26 TopLevelEnum_name = map[int32]string{
27 0: "TOP_LEVEL_UNKNOWN",
28 }
29 TopLevelEnum_value = map[string]int32{
30 "TOP_LEVEL_UNKNOWN": 0,
31 }
32 )
33
34 func (x TopLevelEnum) Enum() *TopLevelEnum {
35 p := new(TopLevelEnum)
36 *p = x
37 return p
38 }
39
40 func (x TopLevelEnum) String() string {
41 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
42 }
43
44 func (TopLevelEnum) Descriptor() protoreflect.EnumDescriptor {
45 return file_cmd_protoc_gen_go_testdata_retention_retention_proto_enumTypes[0].Descriptor()
46 }
47
48 func (TopLevelEnum) Type() protoreflect.EnumType {
49 return &file_cmd_protoc_gen_go_testdata_retention_retention_proto_enumTypes[0]
50 }
51
52 func (x TopLevelEnum) Number() protoreflect.EnumNumber {
53 return protoreflect.EnumNumber(x)
54 }
55
56
57 func (x *TopLevelEnum) UnmarshalJSON(b []byte) error {
58 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
59 if err != nil {
60 return err
61 }
62 *x = TopLevelEnum(num)
63 return nil
64 }
65
66
67 func (TopLevelEnum) EnumDescriptor() ([]byte, []int) {
68 return file_cmd_protoc_gen_go_testdata_retention_retention_proto_rawDescGZIP(), []int{0}
69 }
70
71 type TopLevelMessage_NestedEnum int32
72
73 const (
74 TopLevelMessage_NESTED_UNKNOWN TopLevelMessage_NestedEnum = 0
75 )
76
77
78 var (
79 TopLevelMessage_NestedEnum_name = map[int32]string{
80 0: "NESTED_UNKNOWN",
81 }
82 TopLevelMessage_NestedEnum_value = map[string]int32{
83 "NESTED_UNKNOWN": 0,
84 }
85 )
86
87 func (x TopLevelMessage_NestedEnum) Enum() *TopLevelMessage_NestedEnum {
88 p := new(TopLevelMessage_NestedEnum)
89 *p = x
90 return p
91 }
92
93 func (x TopLevelMessage_NestedEnum) String() string {
94 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
95 }
96
97 func (TopLevelMessage_NestedEnum) Descriptor() protoreflect.EnumDescriptor {
98 return file_cmd_protoc_gen_go_testdata_retention_retention_proto_enumTypes[1].Descriptor()
99 }
100
101 func (TopLevelMessage_NestedEnum) Type() protoreflect.EnumType {
102 return &file_cmd_protoc_gen_go_testdata_retention_retention_proto_enumTypes[1]
103 }
104
105 func (x TopLevelMessage_NestedEnum) Number() protoreflect.EnumNumber {
106 return protoreflect.EnumNumber(x)
107 }
108
109
110 func (x *TopLevelMessage_NestedEnum) UnmarshalJSON(b []byte) error {
111 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
112 if err != nil {
113 return err
114 }
115 *x = TopLevelMessage_NestedEnum(num)
116 return nil
117 }
118
119
120 func (TopLevelMessage_NestedEnum) EnumDescriptor() ([]byte, []int) {
121 return file_cmd_protoc_gen_go_testdata_retention_retention_proto_rawDescGZIP(), []int{1, 0}
122 }
123
124 type Extendee struct {
125 state protoimpl.MessageState
126 sizeCache protoimpl.SizeCache
127 unknownFields protoimpl.UnknownFields
128 extensionFields protoimpl.ExtensionFields
129 }
130
131 func (x *Extendee) Reset() {
132 *x = Extendee{}
133 if protoimpl.UnsafeEnabled {
134 mi := &file_cmd_protoc_gen_go_testdata_retention_retention_proto_msgTypes[0]
135 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
136 ms.StoreMessageInfo(mi)
137 }
138 }
139
140 func (x *Extendee) String() string {
141 return protoimpl.X.MessageStringOf(x)
142 }
143
144 func (*Extendee) ProtoMessage() {}
145
146 func (x *Extendee) ProtoReflect() protoreflect.Message {
147 mi := &file_cmd_protoc_gen_go_testdata_retention_retention_proto_msgTypes[0]
148 if protoimpl.UnsafeEnabled && x != nil {
149 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
150 if ms.LoadMessageInfo() == nil {
151 ms.StoreMessageInfo(mi)
152 }
153 return ms
154 }
155 return mi.MessageOf(x)
156 }
157
158
159 func (*Extendee) Descriptor() ([]byte, []int) {
160 return file_cmd_protoc_gen_go_testdata_retention_retention_proto_rawDescGZIP(), []int{0}
161 }
162
163 type TopLevelMessage struct {
164 state protoimpl.MessageState
165 sizeCache protoimpl.SizeCache
166 unknownFields protoimpl.UnknownFields
167 extensionFields protoimpl.ExtensionFields
168
169 F *float32 `protobuf:"fixed32,1,opt,name=f" json:"f,omitempty"`
170
171
172
173 O isTopLevelMessage_O `protobuf_oneof:"o"`
174 }
175
176 func (x *TopLevelMessage) Reset() {
177 *x = TopLevelMessage{}
178 if protoimpl.UnsafeEnabled {
179 mi := &file_cmd_protoc_gen_go_testdata_retention_retention_proto_msgTypes[1]
180 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
181 ms.StoreMessageInfo(mi)
182 }
183 }
184
185 func (x *TopLevelMessage) String() string {
186 return protoimpl.X.MessageStringOf(x)
187 }
188
189 func (*TopLevelMessage) ProtoMessage() {}
190
191 func (x *TopLevelMessage) ProtoReflect() protoreflect.Message {
192 mi := &file_cmd_protoc_gen_go_testdata_retention_retention_proto_msgTypes[1]
193 if protoimpl.UnsafeEnabled && x != nil {
194 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
195 if ms.LoadMessageInfo() == nil {
196 ms.StoreMessageInfo(mi)
197 }
198 return ms
199 }
200 return mi.MessageOf(x)
201 }
202
203
204 func (*TopLevelMessage) Descriptor() ([]byte, []int) {
205 return file_cmd_protoc_gen_go_testdata_retention_retention_proto_rawDescGZIP(), []int{1}
206 }
207
208 func (x *TopLevelMessage) GetF() float32 {
209 if x != nil && x.F != nil {
210 return *x.F
211 }
212 return 0
213 }
214
215 func (m *TopLevelMessage) GetO() isTopLevelMessage_O {
216 if m != nil {
217 return m.O
218 }
219 return nil
220 }
221
222 func (x *TopLevelMessage) GetI() int64 {
223 if x, ok := x.GetO().(*TopLevelMessage_I); ok {
224 return x.I
225 }
226 return 0
227 }
228
229 type isTopLevelMessage_O interface {
230 isTopLevelMessage_O()
231 }
232
233 type TopLevelMessage_I struct {
234 I int64 `protobuf:"varint,2,opt,name=i,oneof"`
235 }
236
237 func (*TopLevelMessage_I) isTopLevelMessage_O() {}
238
239 type TopLevelMessage_NestedMessage struct {
240 state protoimpl.MessageState
241 sizeCache protoimpl.SizeCache
242 unknownFields protoimpl.UnknownFields
243 }
244
245 func (x *TopLevelMessage_NestedMessage) Reset() {
246 *x = TopLevelMessage_NestedMessage{}
247 if protoimpl.UnsafeEnabled {
248 mi := &file_cmd_protoc_gen_go_testdata_retention_retention_proto_msgTypes[2]
249 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
250 ms.StoreMessageInfo(mi)
251 }
252 }
253
254 func (x *TopLevelMessage_NestedMessage) String() string {
255 return protoimpl.X.MessageStringOf(x)
256 }
257
258 func (*TopLevelMessage_NestedMessage) ProtoMessage() {}
259
260 func (x *TopLevelMessage_NestedMessage) ProtoReflect() protoreflect.Message {
261 mi := &file_cmd_protoc_gen_go_testdata_retention_retention_proto_msgTypes[2]
262 if protoimpl.UnsafeEnabled && x != nil {
263 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
264 if ms.LoadMessageInfo() == nil {
265 ms.StoreMessageInfo(mi)
266 }
267 return ms
268 }
269 return mi.MessageOf(x)
270 }
271
272
273 func (*TopLevelMessage_NestedMessage) Descriptor() ([]byte, []int) {
274 return file_cmd_protoc_gen_go_testdata_retention_retention_proto_rawDescGZIP(), []int{1, 0}
275 }
276
277 var file_cmd_protoc_gen_go_testdata_retention_retention_proto_extTypes = []protoimpl.ExtensionInfo{
278 {
279 ExtendedType: (*descriptorpb.FileOptions)(nil),
280 ExtensionType: (*int32)(nil),
281 Field: 505092806,
282 Name: "testretention.plain_option",
283 Tag: "varint,505092806,opt,name=plain_option",
284 Filename: "cmd/protoc-gen-go/testdata/retention/retention.proto",
285 },
286 {
287 ExtendedType: (*descriptorpb.FileOptions)(nil),
288 ExtensionType: (*int32)(nil),
289 Field: 505039132,
290 Name: "testretention.runtime_retention_option",
291 Tag: "varint,505039132,opt,name=runtime_retention_option",
292 Filename: "cmd/protoc-gen-go/testdata/retention/retention.proto",
293 },
294 {
295 ExtendedType: (*descriptorpb.FileOptions)(nil),
296 ExtensionType: (*int32)(nil),
297 Field: 504878676,
298 Name: "testretention.source_retention_option",
299 Tag: "varint,504878676,opt,name=source_retention_option",
300 Filename: "cmd/protoc-gen-go/testdata/retention/retention.proto",
301 },
302 {
303 ExtendedType: (*descriptorpb.FileOptions)(nil),
304 ExtensionType: ([]*OptionsMessage)(nil),
305 Field: 504823570,
306 Name: "testretention.repeated_options",
307 Tag: "bytes,504823570,rep,name=repeated_options",
308 Filename: "cmd/protoc-gen-go/testdata/retention/retention.proto",
309 },
310 {
311 ExtendedType: (*descriptorpb.ExtensionRangeOptions)(nil),
312 ExtensionType: (*OptionsMessage)(nil),
313 Field: 504822148,
314 Name: "testretention.extension_range_option",
315 Tag: "bytes,504822148,opt,name=extension_range_option",
316 Filename: "cmd/protoc-gen-go/testdata/retention/retention.proto",
317 },
318 {
319 ExtendedType: (*descriptorpb.MessageOptions)(nil),
320 ExtensionType: (*OptionsMessage)(nil),
321 Field: 504820819,
322 Name: "testretention.message_option",
323 Tag: "bytes,504820819,opt,name=message_option",
324 Filename: "cmd/protoc-gen-go/testdata/retention/retention.proto",
325 },
326 {
327 ExtendedType: (*descriptorpb.FieldOptions)(nil),
328 ExtensionType: (*OptionsMessage)(nil),
329 Field: 504589219,
330 Name: "testretention.field_option",
331 Tag: "bytes,504589219,opt,name=field_option",
332 Filename: "cmd/protoc-gen-go/testdata/retention/retention.proto",
333 },
334 {
335 ExtendedType: (*descriptorpb.OneofOptions)(nil),
336 ExtensionType: (*OptionsMessage)(nil),
337 Field: 504479153,
338 Name: "testretention.oneof_option",
339 Tag: "bytes,504479153,opt,name=oneof_option",
340 Filename: "cmd/protoc-gen-go/testdata/retention/retention.proto",
341 },
342 {
343 ExtendedType: (*descriptorpb.EnumOptions)(nil),
344 ExtensionType: (*OptionsMessage)(nil),
345 Field: 504451567,
346 Name: "testretention.enum_option",
347 Tag: "bytes,504451567,opt,name=enum_option",
348 Filename: "cmd/protoc-gen-go/testdata/retention/retention.proto",
349 },
350 {
351 ExtendedType: (*descriptorpb.EnumValueOptions)(nil),
352 ExtensionType: (*OptionsMessage)(nil),
353 Field: 504450522,
354 Name: "testretention.enum_entry_option",
355 Tag: "bytes,504450522,opt,name=enum_entry_option",
356 Filename: "cmd/protoc-gen-go/testdata/retention/retention.proto",
357 },
358 {
359 ExtendedType: (*descriptorpb.ServiceOptions)(nil),
360 ExtensionType: (*OptionsMessage)(nil),
361 Field: 504387709,
362 Name: "testretention.service_option",
363 Tag: "bytes,504387709,opt,name=service_option",
364 Filename: "cmd/protoc-gen-go/testdata/retention/retention.proto",
365 },
366 {
367 ExtendedType: (*descriptorpb.MethodOptions)(nil),
368 ExtensionType: (*OptionsMessage)(nil),
369 Field: 504349420,
370 Name: "testretention.method_option",
371 Tag: "bytes,504349420,opt,name=method_option",
372 Filename: "cmd/protoc-gen-go/testdata/retention/retention.proto",
373 },
374 {
375 ExtendedType: (*Extendee)(nil),
376 ExtensionType: (*int32)(nil),
377 Field: 1,
378 Name: "testretention.i",
379 Tag: "varint,1,opt,name=i",
380 Filename: "cmd/protoc-gen-go/testdata/retention/retention.proto",
381 },
382 {
383 ExtendedType: (*Extendee)(nil),
384 ExtensionType: (*string)(nil),
385 Field: 2,
386 Name: "testretention.TopLevelMessage.s",
387 Tag: "bytes,2,opt,name=s",
388 Filename: "cmd/protoc-gen-go/testdata/retention/retention.proto",
389 },
390 }
391
392
393 var (
394
395 E_PlainOption = &file_cmd_protoc_gen_go_testdata_retention_retention_proto_extTypes[0]
396
397 E_RuntimeRetentionOption = &file_cmd_protoc_gen_go_testdata_retention_retention_proto_extTypes[1]
398
399 E_SourceRetentionOption = &file_cmd_protoc_gen_go_testdata_retention_retention_proto_extTypes[2]
400
401 E_RepeatedOptions = &file_cmd_protoc_gen_go_testdata_retention_retention_proto_extTypes[3]
402 )
403
404
405 var (
406
407 E_ExtensionRangeOption = &file_cmd_protoc_gen_go_testdata_retention_retention_proto_extTypes[4]
408 )
409
410
411 var (
412
413 E_MessageOption = &file_cmd_protoc_gen_go_testdata_retention_retention_proto_extTypes[5]
414 )
415
416
417 var (
418
419 E_FieldOption = &file_cmd_protoc_gen_go_testdata_retention_retention_proto_extTypes[6]
420 )
421
422
423 var (
424
425 E_OneofOption = &file_cmd_protoc_gen_go_testdata_retention_retention_proto_extTypes[7]
426 )
427
428
429 var (
430
431 E_EnumOption = &file_cmd_protoc_gen_go_testdata_retention_retention_proto_extTypes[8]
432 )
433
434
435 var (
436
437 E_EnumEntryOption = &file_cmd_protoc_gen_go_testdata_retention_retention_proto_extTypes[9]
438 )
439
440
441 var (
442
443 E_ServiceOption = &file_cmd_protoc_gen_go_testdata_retention_retention_proto_extTypes[10]
444 )
445
446
447 var (
448
449 E_MethodOption = &file_cmd_protoc_gen_go_testdata_retention_retention_proto_extTypes[11]
450 )
451
452
453 var (
454
455 E_I = &file_cmd_protoc_gen_go_testdata_retention_retention_proto_extTypes[12]
456
457 E_TopLevelMessage_S = &file_cmd_protoc_gen_go_testdata_retention_retention_proto_extTypes[13]
458 )
459
460 var File_cmd_protoc_gen_go_testdata_retention_retention_proto protoreflect.FileDescriptor
461
462 var file_cmd_protoc_gen_go_testdata_retention_retention_proto_rawDesc = []byte{
463 0x0a, 0x34, 0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e,
464 0x2d, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x72, 0x65, 0x74,
465 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e,
466 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x74, 0x65, 0x73, 0x74, 0x72, 0x65, 0x74, 0x65,
467 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x3a, 0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
468 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74,
469 0x61, 0x2f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6f, 0x70, 0x74, 0x69,
470 0x6f, 0x6e, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
471 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
472 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72,
473 0x6f, 0x74, 0x6f, 0x22, 0x16, 0x0a, 0x08, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x65, 0x2a,
474 0x04, 0x08, 0x01, 0x10, 0x02, 0x2a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0xe8, 0x01, 0x0a, 0x0f,
475 0x54, 0x6f, 0x70, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
476 0x18, 0x0a, 0x01, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x42, 0x0a, 0x9a, 0xba, 0xed, 0x84,
477 0x0f, 0x04, 0x08, 0x01, 0x10, 0x02, 0x52, 0x01, 0x66, 0x12, 0x0e, 0x0a, 0x01, 0x69, 0x18, 0x02,
478 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x01, 0x69, 0x1a, 0x1b, 0x0a, 0x0d, 0x4e, 0x65, 0x73,
479 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x3a, 0x0a, 0x9a, 0xc5, 0xde, 0x85,
480 0x0f, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x2c, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
481 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x12, 0x0a, 0x0e, 0x4e, 0x45, 0x53, 0x54, 0x45, 0x44, 0x5f, 0x55,
482 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x1a, 0x0a, 0xfa, 0x9e, 0xaa, 0x84, 0x0f, 0x04,
483 0x08, 0x01, 0x10, 0x02, 0x2a, 0x10, 0x08, 0x0a, 0x10, 0x65, 0x1a, 0x0a, 0xa2, 0x98, 0xdf, 0x85,
484 0x0f, 0x04, 0x08, 0x01, 0x10, 0x02, 0x32, 0x31, 0x0a, 0x01, 0x73, 0x12, 0x17, 0x2e, 0x74, 0x65,
485 0x73, 0x74, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x45, 0x78, 0x74, 0x65,
486 0x6e, 0x64, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0x9a, 0xba, 0xed, 0x84,
487 0x0f, 0x04, 0x08, 0x01, 0x10, 0x02, 0x52, 0x01, 0x73, 0x3a, 0x0a, 0x9a, 0xc5, 0xde, 0x85, 0x0f,
488 0x04, 0x08, 0x01, 0x10, 0x02, 0x42, 0x0f, 0x0a, 0x01, 0x6f, 0x12, 0x0a, 0x8a, 0xdb, 0xb7, 0x84,
489 0x0f, 0x04, 0x08, 0x01, 0x10, 0x02, 0x2a, 0x3d, 0x0a, 0x0c, 0x54, 0x6f, 0x70, 0x4c, 0x65, 0x76,
490 0x65, 0x6c, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x21, 0x0a, 0x11, 0x54, 0x4f, 0x50, 0x5f, 0x4c, 0x45,
491 0x56, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x1a, 0x0a, 0xd2,
492 0xdd, 0xa9, 0x84, 0x0f, 0x04, 0x08, 0x01, 0x10, 0x02, 0x1a, 0x0a, 0xfa, 0x9e, 0xaa, 0x84, 0x0f,
493 0x04, 0x08, 0x01, 0x10, 0x02, 0x32, 0x6c, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
494 0x12, 0x55, 0x0a, 0x07, 0x44, 0x6f, 0x53, 0x74, 0x75, 0x66, 0x66, 0x12, 0x1e, 0x2e, 0x74, 0x65,
495 0x73, 0x74, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x6f, 0x70, 0x4c,
496 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1e, 0x2e, 0x74, 0x65,
497 0x73, 0x74, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x6f, 0x70, 0x4c,
498 0x65, 0x76, 0x65, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x0a, 0xe2, 0xae, 0xf8,
499 0x83, 0x0f, 0x04, 0x08, 0x01, 0x10, 0x02, 0x1a, 0x0a, 0xea, 0x87, 0x8b, 0x84, 0x0f, 0x04, 0x08,
500 0x01, 0x10, 0x02, 0x3a, 0x43, 0x0a, 0x0c, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x5f, 0x6f, 0x70, 0x74,
501 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
502 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
503 0x73, 0x18, 0xc6, 0xb5, 0xec, 0xf0, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x70, 0x6c, 0x61,
504 0x69, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x5f, 0x0a, 0x18, 0x72, 0x75, 0x6e, 0x74,
505 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70,
506 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
507 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
508 0x6e, 0x73, 0x18, 0x9c, 0x92, 0xe9, 0xf0, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0x88, 0x01,
509 0x01, 0x52, 0x16, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74,
510 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x5d, 0x0a, 0x17, 0x73, 0x6f, 0x75,
511 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70,
512 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
513 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
514 0x6e, 0x73, 0x18, 0xd4, 0xac, 0xdf, 0xf0, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0x88, 0x01,
515 0x02, 0x52, 0x15, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69,
516 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x6a, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x65,
517 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x2e, 0x67,
518 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46,
519 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x92, 0xfe, 0xdb, 0xf0, 0x01,
520 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x72, 0x65, 0x74, 0x65, 0x6e,
521 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x65, 0x73, 0x73,
522 0x61, 0x67, 0x65, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74,
523 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x7f, 0x0a, 0x16, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
524 0x6e, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26,
525 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
526 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4f,
527 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x84, 0xf3, 0xdb, 0xf0, 0x01, 0x20, 0x01, 0x28, 0x0b,
528 0x32, 0x1d, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e,
529 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
530 0x14, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4f,
531 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x69, 0x0a, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
532 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
533 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
534 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd3, 0xe8, 0xdb, 0xf0, 0x01, 0x20, 0x01,
535 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69,
536 0x6f, 0x6e, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
537 0x65, 0x52, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
538 0x3a, 0x63, 0x0a, 0x0c, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
539 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
540 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
541 0xa3, 0xd7, 0xcd, 0xf0, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x65, 0x73, 0x74,
542 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
543 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4f,
544 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x63, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6f,
545 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
546 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x4f, 0x70, 0x74,
547 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xb1, 0xfb, 0xc6, 0xf0, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d,
548 0x2e, 0x74, 0x65, 0x73, 0x74, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f,
549 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0b, 0x6f,
550 0x6e, 0x65, 0x6f, 0x66, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x60, 0x0a, 0x0b, 0x65, 0x6e,
551 0x75, 0x6d, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
552 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d,
553 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xef, 0xa3, 0xc5, 0xf0, 0x01, 0x20, 0x01, 0x28,
554 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f,
555 0x6e, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
556 0x52, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x70, 0x0a, 0x11,
557 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f,
558 0x6e, 0x12, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
559 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74,
560 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xda, 0x9b, 0xc5, 0xf0, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d,
561 0x2e, 0x74, 0x65, 0x73, 0x74, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f,
562 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0f, 0x65,
563 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x69,
564 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
565 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
566 0x75, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
567 0x73, 0x18, 0xfd, 0xb0, 0xc1, 0xf0, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x65,
568 0x73, 0x74, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x70, 0x74, 0x69,
569 0x6f, 0x6e, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76,
570 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x66, 0x0a, 0x0d, 0x6d, 0x65, 0x74,
571 0x68, 0x6f, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f,
572 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74,
573 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xec, 0x85, 0xbf, 0xf0, 0x01,
574 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x72, 0x65, 0x74, 0x65, 0x6e,
575 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x65, 0x73, 0x73,
576 0x61, 0x67, 0x65, 0x52, 0x0c, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f,
577 0x6e, 0x3a, 0x31, 0x0a, 0x01, 0x69, 0x12, 0x17, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x72, 0x65, 0x74,
578 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x65, 0x18,
579 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x0a, 0x9a, 0xba, 0xed, 0x84, 0x0f, 0x04, 0x08, 0x01, 0x10,
580 0x02, 0x52, 0x01, 0x69, 0x42, 0x6d, 0x92, 0xf1, 0xdf, 0x85, 0x0f, 0x04, 0x08, 0x01, 0x10, 0x02,
581 0x82, 0x90, 0xf7, 0x85, 0x0f, 0x04, 0x08, 0x01, 0x10, 0x02, 0xe0, 0x91, 0xc9, 0x86, 0x0f, 0x02,
582 0xb0, 0xac, 0xe3, 0x86, 0x0f, 0x01, 0x80, 0x9b, 0xb2, 0xa0, 0x0f, 0x01, 0xd0, 0xae, 0xfc, 0xa2,
583 0x0f, 0x02, 0x5a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e,
584 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x63,
585 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f,
586 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74,
587 0x69, 0x6f, 0x6e,
588 }
589
590 var (
591 file_cmd_protoc_gen_go_testdata_retention_retention_proto_rawDescOnce sync.Once
592 file_cmd_protoc_gen_go_testdata_retention_retention_proto_rawDescData = file_cmd_protoc_gen_go_testdata_retention_retention_proto_rawDesc
593 )
594
595 func file_cmd_protoc_gen_go_testdata_retention_retention_proto_rawDescGZIP() []byte {
596 file_cmd_protoc_gen_go_testdata_retention_retention_proto_rawDescOnce.Do(func() {
597 file_cmd_protoc_gen_go_testdata_retention_retention_proto_rawDescData = protoimpl.X.CompressGZIP(file_cmd_protoc_gen_go_testdata_retention_retention_proto_rawDescData)
598 })
599 return file_cmd_protoc_gen_go_testdata_retention_retention_proto_rawDescData
600 }
601
602 var file_cmd_protoc_gen_go_testdata_retention_retention_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
603 var file_cmd_protoc_gen_go_testdata_retention_retention_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
604 var file_cmd_protoc_gen_go_testdata_retention_retention_proto_goTypes = []interface{}{
605 (TopLevelEnum)(0),
606 (TopLevelMessage_NestedEnum)(0),
607 (*Extendee)(nil),
608 (*TopLevelMessage)(nil),
609 (*TopLevelMessage_NestedMessage)(nil),
610 (*descriptorpb.FileOptions)(nil),
611 (*descriptorpb.ExtensionRangeOptions)(nil),
612 (*descriptorpb.MessageOptions)(nil),
613 (*descriptorpb.FieldOptions)(nil),
614 (*descriptorpb.OneofOptions)(nil),
615 (*descriptorpb.EnumOptions)(nil),
616 (*descriptorpb.EnumValueOptions)(nil),
617 (*descriptorpb.ServiceOptions)(nil),
618 (*descriptorpb.MethodOptions)(nil),
619 (*OptionsMessage)(nil),
620 }
621 var file_cmd_protoc_gen_go_testdata_retention_retention_proto_depIdxs = []int32{
622 5,
623 5,
624 5,
625 5,
626 6,
627 7,
628 8,
629 9,
630 10,
631 11,
632 12,
633 13,
634 2,
635 2,
636 14,
637 14,
638 14,
639 14,
640 14,
641 14,
642 14,
643 14,
644 14,
645 3,
646 3,
647 24,
648 23,
649 14,
650 0,
651 0,
652 }
653
654 func init() { file_cmd_protoc_gen_go_testdata_retention_retention_proto_init() }
655 func file_cmd_protoc_gen_go_testdata_retention_retention_proto_init() {
656 if File_cmd_protoc_gen_go_testdata_retention_retention_proto != nil {
657 return
658 }
659 file_cmd_protoc_gen_go_testdata_retention_options_message_proto_init()
660 if !protoimpl.UnsafeEnabled {
661 file_cmd_protoc_gen_go_testdata_retention_retention_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
662 switch v := v.(*Extendee); i {
663 case 0:
664 return &v.state
665 case 1:
666 return &v.sizeCache
667 case 2:
668 return &v.unknownFields
669 case 3:
670 return &v.extensionFields
671 default:
672 return nil
673 }
674 }
675 file_cmd_protoc_gen_go_testdata_retention_retention_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
676 switch v := v.(*TopLevelMessage); i {
677 case 0:
678 return &v.state
679 case 1:
680 return &v.sizeCache
681 case 2:
682 return &v.unknownFields
683 case 3:
684 return &v.extensionFields
685 default:
686 return nil
687 }
688 }
689 file_cmd_protoc_gen_go_testdata_retention_retention_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
690 switch v := v.(*TopLevelMessage_NestedMessage); i {
691 case 0:
692 return &v.state
693 case 1:
694 return &v.sizeCache
695 case 2:
696 return &v.unknownFields
697 default:
698 return nil
699 }
700 }
701 }
702 file_cmd_protoc_gen_go_testdata_retention_retention_proto_msgTypes[1].OneofWrappers = []interface{}{
703 (*TopLevelMessage_I)(nil),
704 }
705 type x struct{}
706 out := protoimpl.TypeBuilder{
707 File: protoimpl.DescBuilder{
708 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
709 RawDescriptor: file_cmd_protoc_gen_go_testdata_retention_retention_proto_rawDesc,
710 NumEnums: 2,
711 NumMessages: 3,
712 NumExtensions: 14,
713 NumServices: 1,
714 },
715 GoTypes: file_cmd_protoc_gen_go_testdata_retention_retention_proto_goTypes,
716 DependencyIndexes: file_cmd_protoc_gen_go_testdata_retention_retention_proto_depIdxs,
717 EnumInfos: file_cmd_protoc_gen_go_testdata_retention_retention_proto_enumTypes,
718 MessageInfos: file_cmd_protoc_gen_go_testdata_retention_retention_proto_msgTypes,
719 ExtensionInfos: file_cmd_protoc_gen_go_testdata_retention_retention_proto_extTypes,
720 }.Build()
721 File_cmd_protoc_gen_go_testdata_retention_retention_proto = out.File
722 file_cmd_protoc_gen_go_testdata_retention_retention_proto_rawDesc = nil
723 file_cmd_protoc_gen_go_testdata_retention_retention_proto_goTypes = nil
724 file_cmd_protoc_gen_go_testdata_retention_retention_proto_depIdxs = nil
725 }
726
View as plain text