blob: 63dab7833dadf548e3aca64888ca5bdde1824bf6 [file] [log] [blame]
Damien Neilba23aa52018-12-07 14:38:17 -08001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: test.proto
3
Damien Neilc31bc2d2019-01-04 16:40:51 -08004package test
Damien Neilba23aa52018-12-07 14:38:17 -08005
6import (
7 proto "github.com/golang/protobuf/proto"
8 protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
9 prototype "github.com/golang/protobuf/v2/reflect/prototype"
10 protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
11)
12
13// This is a compile-time assertion to ensure that this generated file
14// is compatible with the proto package it is being compiled against.
15// A compilation error at this line likely means your copy of the
16// proto package needs to be updated.
17const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
18
19type TestAllTypes_NestedEnum int32
20
21const (
22 TestAllTypes_FOO TestAllTypes_NestedEnum = 0
23 TestAllTypes_BAR TestAllTypes_NestedEnum = 1
24 TestAllTypes_BAZ TestAllTypes_NestedEnum = 2
25 TestAllTypes_NEG TestAllTypes_NestedEnum = -1
26)
27
Damien Neila8593ba2019-01-08 16:18:07 -080028func (e TestAllTypes_NestedEnum) Type() protoreflect.EnumType {
Joe Tsai5681bb22019-01-09 21:31:15 -080029 return xxx_Test_protoFile_EnumTypes[0]
Damien Neilba23aa52018-12-07 14:38:17 -080030}
Damien Neila8593ba2019-01-08 16:18:07 -080031func (e TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber {
Damien Neilba23aa52018-12-07 14:38:17 -080032 return protoreflect.EnumNumber(e)
33}
34
35var TestAllTypes_NestedEnum_name = map[int32]string{
36 0: "FOO",
37 1: "BAR",
38 2: "BAZ",
39 -1: "NEG",
40}
41
42var TestAllTypes_NestedEnum_value = map[string]int32{
43 "FOO": 0,
44 "BAR": 1,
45 "BAZ": 2,
46 "NEG": -1,
47}
48
49func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum {
50 p := new(TestAllTypes_NestedEnum)
51 *p = x
52 return p
53}
54
55func (x TestAllTypes_NestedEnum) String() string {
56 return proto.EnumName(TestAllTypes_NestedEnum_name, int32(x))
57}
58
59func (x *TestAllTypes_NestedEnum) UnmarshalJSON(data []byte) error {
60 value, err := proto.UnmarshalJSONEnum(TestAllTypes_NestedEnum_value, data, "TestAllTypes_NestedEnum")
61 if err != nil {
62 return err
63 }
64 *x = TestAllTypes_NestedEnum(value)
65 return nil
66}
67
68func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int) {
69 return fileDescriptor_c161fcfdc0c3ff1e, []int{0, 0}
70}
71
72type TestAllTypes struct {
73 OptionalInt32 *int32 `protobuf:"varint,1,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
74 OptionalInt64 *int64 `protobuf:"varint,2,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
75 OptionalUint32 *uint32 `protobuf:"varint,3,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
76 OptionalUint64 *uint64 `protobuf:"varint,4,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
77 OptionalSint32 *int32 `protobuf:"zigzag32,5,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
78 OptionalSint64 *int64 `protobuf:"zigzag64,6,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
79 OptionalFixed32 *uint32 `protobuf:"fixed32,7,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
80 OptionalFixed64 *uint64 `protobuf:"fixed64,8,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
81 OptionalSfixed32 *int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
82 OptionalSfixed64 *int64 `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
83 OptionalFloat *float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
84 OptionalDouble *float64 `protobuf:"fixed64,12,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
85 OptionalBool *bool `protobuf:"varint,13,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
86 OptionalString *string `protobuf:"bytes,14,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
87 OptionalBytes []byte `protobuf:"bytes,15,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
88 Optionalgroup *TestAllTypes_OptionalGroup `protobuf:"group,16,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
89 OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,18,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
90 OptionalNestedEnum *TestAllTypes_NestedEnum `protobuf:"varint,21,opt,name=optional_nested_enum,json=optionalNestedEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum" json:"optional_nested_enum,omitempty"`
91 RepeatedInt32 []int32 `protobuf:"varint,31,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
92 RepeatedInt64 []int64 `protobuf:"varint,32,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
93 RepeatedUint32 []uint32 `protobuf:"varint,33,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
94 RepeatedUint64 []uint64 `protobuf:"varint,34,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
95 RepeatedSint32 []int32 `protobuf:"zigzag32,35,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
96 RepeatedSint64 []int64 `protobuf:"zigzag64,36,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
97 RepeatedFixed32 []uint32 `protobuf:"fixed32,37,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
98 RepeatedFixed64 []uint64 `protobuf:"fixed64,38,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
99 RepeatedSfixed32 []int32 `protobuf:"fixed32,39,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
100 RepeatedSfixed64 []int64 `protobuf:"fixed64,40,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
101 RepeatedFloat []float32 `protobuf:"fixed32,41,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
102 RepeatedDouble []float64 `protobuf:"fixed64,42,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
103 RepeatedBool []bool `protobuf:"varint,43,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
104 RepeatedString []string `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
105 RepeatedBytes [][]byte `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`
106 Repeatedgroup []*TestAllTypes_RepeatedGroup `protobuf:"group,46,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
107 RepeatedNestedMessage []*TestAllTypes_NestedMessage `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage" json:"repeated_nested_message,omitempty"`
108 RepeatedNestedEnum []TestAllTypes_NestedEnum `protobuf:"varint,51,rep,name=repeated_nested_enum,json=repeatedNestedEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum" json:"repeated_nested_enum,omitempty"`
109 MapInt32Int32 map[int32]int32 `protobuf:"bytes,56,rep,name=map_int32_int32,json=mapInt32Int32" json:"map_int32_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
110 MapInt64Int64 map[int64]int64 `protobuf:"bytes,57,rep,name=map_int64_int64,json=mapInt64Int64" json:"map_int64_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
111 MapUint32Uint32 map[uint32]uint32 `protobuf:"bytes,58,rep,name=map_uint32_uint32,json=mapUint32Uint32" json:"map_uint32_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
112 MapUint64Uint64 map[uint64]uint64 `protobuf:"bytes,59,rep,name=map_uint64_uint64,json=mapUint64Uint64" json:"map_uint64_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
113 MapSint32Sint32 map[int32]int32 `protobuf:"bytes,60,rep,name=map_sint32_sint32,json=mapSint32Sint32" json:"map_sint32_sint32,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
114 MapSint64Sint64 map[int64]int64 `protobuf:"bytes,61,rep,name=map_sint64_sint64,json=mapSint64Sint64" json:"map_sint64_sint64,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
115 MapFixed32Fixed32 map[uint32]uint32 `protobuf:"bytes,62,rep,name=map_fixed32_fixed32,json=mapFixed32Fixed32" json:"map_fixed32_fixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
116 MapFixed64Fixed64 map[uint64]uint64 `protobuf:"bytes,63,rep,name=map_fixed64_fixed64,json=mapFixed64Fixed64" json:"map_fixed64_fixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
117 MapSfixed32Sfixed32 map[int32]int32 `protobuf:"bytes,64,rep,name=map_sfixed32_sfixed32,json=mapSfixed32Sfixed32" json:"map_sfixed32_sfixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
118 MapSfixed64Sfixed64 map[int64]int64 `protobuf:"bytes,65,rep,name=map_sfixed64_sfixed64,json=mapSfixed64Sfixed64" json:"map_sfixed64_sfixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
119 MapInt32Float map[int32]float32 `protobuf:"bytes,66,rep,name=map_int32_float,json=mapInt32Float" json:"map_int32_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
120 MapInt32Double map[int32]float64 `protobuf:"bytes,67,rep,name=map_int32_double,json=mapInt32Double" json:"map_int32_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
121 MapBoolBool map[bool]bool `protobuf:"bytes,68,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
122 MapStringString map[string]string `protobuf:"bytes,69,rep,name=map_string_string,json=mapStringString" json:"map_string_string,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
123 MapStringBytes map[string][]byte `protobuf:"bytes,70,rep,name=map_string_bytes,json=mapStringBytes" json:"map_string_bytes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
124 MapStringNestedMessage map[string]*TestAllTypes_NestedMessage `protobuf:"bytes,71,rep,name=map_string_nested_message,json=mapStringNestedMessage" json:"map_string_nested_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
125 MapStringNestedEnum map[string]TestAllTypes_NestedEnum `protobuf:"bytes,73,rep,name=map_string_nested_enum,json=mapStringNestedEnum" json:"map_string_nested_enum,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=goproto.proto.test.TestAllTypes_NestedEnum"`
126 // Types that are valid to be assigned to OneofField:
127 // *TestAllTypes_OneofUint32
128 // *TestAllTypes_OneofNestedMessage
129 // *TestAllTypes_OneofString
130 // *TestAllTypes_OneofBytes
131 // *TestAllTypes_OneofBool
132 // *TestAllTypes_OneofUint64
133 // *TestAllTypes_OneofFloat
134 // *TestAllTypes_OneofDouble
135 // *TestAllTypes_OneofEnum
136 OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"`
137 XXX_NoUnkeyedLiteral struct{} `json:"-"`
138 XXX_unrecognized []byte `json:"-"`
139 XXX_sizecache int32 `json:"-"`
140}
141
142type xxx_TestAllTypes struct{ m *TestAllTypes }
143
144func (m *TestAllTypes) ProtoReflect() protoreflect.Message {
145 return xxx_TestAllTypes{m}
146}
147func (m xxx_TestAllTypes) Type() protoreflect.MessageType {
Joe Tsai5681bb22019-01-09 21:31:15 -0800148 return xxx_Test_protoFile_MessageTypes[0].Type
Damien Neilba23aa52018-12-07 14:38:17 -0800149}
150func (m xxx_TestAllTypes) KnownFields() protoreflect.KnownFields {
Joe Tsai5681bb22019-01-09 21:31:15 -0800151 return xxx_Test_protoFile_MessageTypes[0].KnownFieldsOf(m.m)
Damien Neilba23aa52018-12-07 14:38:17 -0800152}
153func (m xxx_TestAllTypes) UnknownFields() protoreflect.UnknownFields {
Joe Tsai5681bb22019-01-09 21:31:15 -0800154 return xxx_Test_protoFile_MessageTypes[0].UnknownFieldsOf(m.m)
Damien Neilba23aa52018-12-07 14:38:17 -0800155}
156func (m xxx_TestAllTypes) Interface() protoreflect.ProtoMessage {
157 return m.m
158}
159
160func (m *TestAllTypes) Reset() { *m = TestAllTypes{} }
161func (m *TestAllTypes) String() string { return proto.CompactTextString(m) }
162func (*TestAllTypes) ProtoMessage() {}
163func (*TestAllTypes) Descriptor() ([]byte, []int) {
164 return fileDescriptor_c161fcfdc0c3ff1e, []int{0}
165}
166
167func (m *TestAllTypes) XXX_Unmarshal(b []byte) error {
168 return xxx_messageInfo_TestAllTypes.Unmarshal(m, b)
169}
170func (m *TestAllTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
171 return xxx_messageInfo_TestAllTypes.Marshal(b, m, deterministic)
172}
173func (m *TestAllTypes) XXX_Merge(src proto.Message) {
174 xxx_messageInfo_TestAllTypes.Merge(m, src)
175}
176func (m *TestAllTypes) XXX_Size() int {
177 return xxx_messageInfo_TestAllTypes.Size(m)
178}
179func (m *TestAllTypes) XXX_DiscardUnknown() {
180 xxx_messageInfo_TestAllTypes.DiscardUnknown(m)
181}
182
183var xxx_messageInfo_TestAllTypes proto.InternalMessageInfo
184
185func (m *TestAllTypes) GetOptionalInt32() int32 {
186 if m != nil && m.OptionalInt32 != nil {
187 return *m.OptionalInt32
188 }
189 return 0
190}
191
192func (m *TestAllTypes) GetOptionalInt64() int64 {
193 if m != nil && m.OptionalInt64 != nil {
194 return *m.OptionalInt64
195 }
196 return 0
197}
198
199func (m *TestAllTypes) GetOptionalUint32() uint32 {
200 if m != nil && m.OptionalUint32 != nil {
201 return *m.OptionalUint32
202 }
203 return 0
204}
205
206func (m *TestAllTypes) GetOptionalUint64() uint64 {
207 if m != nil && m.OptionalUint64 != nil {
208 return *m.OptionalUint64
209 }
210 return 0
211}
212
213func (m *TestAllTypes) GetOptionalSint32() int32 {
214 if m != nil && m.OptionalSint32 != nil {
215 return *m.OptionalSint32
216 }
217 return 0
218}
219
220func (m *TestAllTypes) GetOptionalSint64() int64 {
221 if m != nil && m.OptionalSint64 != nil {
222 return *m.OptionalSint64
223 }
224 return 0
225}
226
227func (m *TestAllTypes) GetOptionalFixed32() uint32 {
228 if m != nil && m.OptionalFixed32 != nil {
229 return *m.OptionalFixed32
230 }
231 return 0
232}
233
234func (m *TestAllTypes) GetOptionalFixed64() uint64 {
235 if m != nil && m.OptionalFixed64 != nil {
236 return *m.OptionalFixed64
237 }
238 return 0
239}
240
241func (m *TestAllTypes) GetOptionalSfixed32() int32 {
242 if m != nil && m.OptionalSfixed32 != nil {
243 return *m.OptionalSfixed32
244 }
245 return 0
246}
247
248func (m *TestAllTypes) GetOptionalSfixed64() int64 {
249 if m != nil && m.OptionalSfixed64 != nil {
250 return *m.OptionalSfixed64
251 }
252 return 0
253}
254
255func (m *TestAllTypes) GetOptionalFloat() float32 {
256 if m != nil && m.OptionalFloat != nil {
257 return *m.OptionalFloat
258 }
259 return 0
260}
261
262func (m *TestAllTypes) GetOptionalDouble() float64 {
263 if m != nil && m.OptionalDouble != nil {
264 return *m.OptionalDouble
265 }
266 return 0
267}
268
269func (m *TestAllTypes) GetOptionalBool() bool {
270 if m != nil && m.OptionalBool != nil {
271 return *m.OptionalBool
272 }
273 return false
274}
275
276func (m *TestAllTypes) GetOptionalString() string {
277 if m != nil && m.OptionalString != nil {
278 return *m.OptionalString
279 }
280 return ""
281}
282
283func (m *TestAllTypes) GetOptionalBytes() []byte {
284 if m != nil {
285 return m.OptionalBytes
286 }
287 return nil
288}
289
290func (m *TestAllTypes) GetOptionalgroup() *TestAllTypes_OptionalGroup {
291 if m != nil {
292 return m.Optionalgroup
293 }
294 return nil
295}
296
297func (m *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage {
298 if m != nil {
299 return m.OptionalNestedMessage
300 }
301 return nil
302}
303
304func (m *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum {
305 if m != nil && m.OptionalNestedEnum != nil {
306 return *m.OptionalNestedEnum
307 }
308 return TestAllTypes_FOO
309}
310
311func (m *TestAllTypes) GetRepeatedInt32() []int32 {
312 if m != nil {
313 return m.RepeatedInt32
314 }
315 return nil
316}
317
318func (m *TestAllTypes) GetRepeatedInt64() []int64 {
319 if m != nil {
320 return m.RepeatedInt64
321 }
322 return nil
323}
324
325func (m *TestAllTypes) GetRepeatedUint32() []uint32 {
326 if m != nil {
327 return m.RepeatedUint32
328 }
329 return nil
330}
331
332func (m *TestAllTypes) GetRepeatedUint64() []uint64 {
333 if m != nil {
334 return m.RepeatedUint64
335 }
336 return nil
337}
338
339func (m *TestAllTypes) GetRepeatedSint32() []int32 {
340 if m != nil {
341 return m.RepeatedSint32
342 }
343 return nil
344}
345
346func (m *TestAllTypes) GetRepeatedSint64() []int64 {
347 if m != nil {
348 return m.RepeatedSint64
349 }
350 return nil
351}
352
353func (m *TestAllTypes) GetRepeatedFixed32() []uint32 {
354 if m != nil {
355 return m.RepeatedFixed32
356 }
357 return nil
358}
359
360func (m *TestAllTypes) GetRepeatedFixed64() []uint64 {
361 if m != nil {
362 return m.RepeatedFixed64
363 }
364 return nil
365}
366
367func (m *TestAllTypes) GetRepeatedSfixed32() []int32 {
368 if m != nil {
369 return m.RepeatedSfixed32
370 }
371 return nil
372}
373
374func (m *TestAllTypes) GetRepeatedSfixed64() []int64 {
375 if m != nil {
376 return m.RepeatedSfixed64
377 }
378 return nil
379}
380
381func (m *TestAllTypes) GetRepeatedFloat() []float32 {
382 if m != nil {
383 return m.RepeatedFloat
384 }
385 return nil
386}
387
388func (m *TestAllTypes) GetRepeatedDouble() []float64 {
389 if m != nil {
390 return m.RepeatedDouble
391 }
392 return nil
393}
394
395func (m *TestAllTypes) GetRepeatedBool() []bool {
396 if m != nil {
397 return m.RepeatedBool
398 }
399 return nil
400}
401
402func (m *TestAllTypes) GetRepeatedString() []string {
403 if m != nil {
404 return m.RepeatedString
405 }
406 return nil
407}
408
409func (m *TestAllTypes) GetRepeatedBytes() [][]byte {
410 if m != nil {
411 return m.RepeatedBytes
412 }
413 return nil
414}
415
416func (m *TestAllTypes) GetRepeatedgroup() []*TestAllTypes_RepeatedGroup {
417 if m != nil {
418 return m.Repeatedgroup
419 }
420 return nil
421}
422
423func (m *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage {
424 if m != nil {
425 return m.RepeatedNestedMessage
426 }
427 return nil
428}
429
430func (m *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum {
431 if m != nil {
432 return m.RepeatedNestedEnum
433 }
434 return nil
435}
436
437func (m *TestAllTypes) GetMapInt32Int32() map[int32]int32 {
438 if m != nil {
439 return m.MapInt32Int32
440 }
441 return nil
442}
443
444func (m *TestAllTypes) GetMapInt64Int64() map[int64]int64 {
445 if m != nil {
446 return m.MapInt64Int64
447 }
448 return nil
449}
450
451func (m *TestAllTypes) GetMapUint32Uint32() map[uint32]uint32 {
452 if m != nil {
453 return m.MapUint32Uint32
454 }
455 return nil
456}
457
458func (m *TestAllTypes) GetMapUint64Uint64() map[uint64]uint64 {
459 if m != nil {
460 return m.MapUint64Uint64
461 }
462 return nil
463}
464
465func (m *TestAllTypes) GetMapSint32Sint32() map[int32]int32 {
466 if m != nil {
467 return m.MapSint32Sint32
468 }
469 return nil
470}
471
472func (m *TestAllTypes) GetMapSint64Sint64() map[int64]int64 {
473 if m != nil {
474 return m.MapSint64Sint64
475 }
476 return nil
477}
478
479func (m *TestAllTypes) GetMapFixed32Fixed32() map[uint32]uint32 {
480 if m != nil {
481 return m.MapFixed32Fixed32
482 }
483 return nil
484}
485
486func (m *TestAllTypes) GetMapFixed64Fixed64() map[uint64]uint64 {
487 if m != nil {
488 return m.MapFixed64Fixed64
489 }
490 return nil
491}
492
493func (m *TestAllTypes) GetMapSfixed32Sfixed32() map[int32]int32 {
494 if m != nil {
495 return m.MapSfixed32Sfixed32
496 }
497 return nil
498}
499
500func (m *TestAllTypes) GetMapSfixed64Sfixed64() map[int64]int64 {
501 if m != nil {
502 return m.MapSfixed64Sfixed64
503 }
504 return nil
505}
506
507func (m *TestAllTypes) GetMapInt32Float() map[int32]float32 {
508 if m != nil {
509 return m.MapInt32Float
510 }
511 return nil
512}
513
514func (m *TestAllTypes) GetMapInt32Double() map[int32]float64 {
515 if m != nil {
516 return m.MapInt32Double
517 }
518 return nil
519}
520
521func (m *TestAllTypes) GetMapBoolBool() map[bool]bool {
522 if m != nil {
523 return m.MapBoolBool
524 }
525 return nil
526}
527
528func (m *TestAllTypes) GetMapStringString() map[string]string {
529 if m != nil {
530 return m.MapStringString
531 }
532 return nil
533}
534
535func (m *TestAllTypes) GetMapStringBytes() map[string][]byte {
536 if m != nil {
537 return m.MapStringBytes
538 }
539 return nil
540}
541
542func (m *TestAllTypes) GetMapStringNestedMessage() map[string]*TestAllTypes_NestedMessage {
543 if m != nil {
544 return m.MapStringNestedMessage
545 }
546 return nil
547}
548
549func (m *TestAllTypes) GetMapStringNestedEnum() map[string]TestAllTypes_NestedEnum {
550 if m != nil {
551 return m.MapStringNestedEnum
552 }
553 return nil
554}
555
556type isTestAllTypes_OneofField interface {
557 isTestAllTypes_OneofField()
558}
559
560type TestAllTypes_OneofUint32 struct {
561 OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,oneof"`
562}
563
564type TestAllTypes_OneofNestedMessage struct {
565 OneofNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,oneof"`
566}
567
568type TestAllTypes_OneofString struct {
569 OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,oneof"`
570}
571
572type TestAllTypes_OneofBytes struct {
573 OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,oneof"`
574}
575
576type TestAllTypes_OneofBool struct {
577 OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,oneof"`
578}
579
580type TestAllTypes_OneofUint64 struct {
581 OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,oneof"`
582}
583
584type TestAllTypes_OneofFloat struct {
585 OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,oneof"`
586}
587
588type TestAllTypes_OneofDouble struct {
589 OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,oneof"`
590}
591
592type TestAllTypes_OneofEnum struct {
593 OneofEnum TestAllTypes_NestedEnum `protobuf:"varint,119,opt,name=oneof_enum,json=oneofEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum,oneof"`
594}
595
596func (*TestAllTypes_OneofUint32) isTestAllTypes_OneofField() {}
597
598func (*TestAllTypes_OneofNestedMessage) isTestAllTypes_OneofField() {}
599
600func (*TestAllTypes_OneofString) isTestAllTypes_OneofField() {}
601
602func (*TestAllTypes_OneofBytes) isTestAllTypes_OneofField() {}
603
604func (*TestAllTypes_OneofBool) isTestAllTypes_OneofField() {}
605
606func (*TestAllTypes_OneofUint64) isTestAllTypes_OneofField() {}
607
608func (*TestAllTypes_OneofFloat) isTestAllTypes_OneofField() {}
609
610func (*TestAllTypes_OneofDouble) isTestAllTypes_OneofField() {}
611
612func (*TestAllTypes_OneofEnum) isTestAllTypes_OneofField() {}
613
614func (m *TestAllTypes) GetOneofField() isTestAllTypes_OneofField {
615 if m != nil {
616 return m.OneofField
617 }
618 return nil
619}
620
621func (m *TestAllTypes) GetOneofUint32() uint32 {
622 if x, ok := m.GetOneofField().(*TestAllTypes_OneofUint32); ok {
623 return x.OneofUint32
624 }
625 return 0
626}
627
628func (m *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage {
629 if x, ok := m.GetOneofField().(*TestAllTypes_OneofNestedMessage); ok {
630 return x.OneofNestedMessage
631 }
632 return nil
633}
634
635func (m *TestAllTypes) GetOneofString() string {
636 if x, ok := m.GetOneofField().(*TestAllTypes_OneofString); ok {
637 return x.OneofString
638 }
639 return ""
640}
641
642func (m *TestAllTypes) GetOneofBytes() []byte {
643 if x, ok := m.GetOneofField().(*TestAllTypes_OneofBytes); ok {
644 return x.OneofBytes
645 }
646 return nil
647}
648
649func (m *TestAllTypes) GetOneofBool() bool {
650 if x, ok := m.GetOneofField().(*TestAllTypes_OneofBool); ok {
651 return x.OneofBool
652 }
653 return false
654}
655
656func (m *TestAllTypes) GetOneofUint64() uint64 {
657 if x, ok := m.GetOneofField().(*TestAllTypes_OneofUint64); ok {
658 return x.OneofUint64
659 }
660 return 0
661}
662
663func (m *TestAllTypes) GetOneofFloat() float32 {
664 if x, ok := m.GetOneofField().(*TestAllTypes_OneofFloat); ok {
665 return x.OneofFloat
666 }
667 return 0
668}
669
670func (m *TestAllTypes) GetOneofDouble() float64 {
671 if x, ok := m.GetOneofField().(*TestAllTypes_OneofDouble); ok {
672 return x.OneofDouble
673 }
674 return 0
675}
676
677func (m *TestAllTypes) GetOneofEnum() TestAllTypes_NestedEnum {
678 if x, ok := m.GetOneofField().(*TestAllTypes_OneofEnum); ok {
679 return x.OneofEnum
680 }
681 return TestAllTypes_FOO
682}
683
684// XXX_OneofWrappers is for the internal use of the proto package.
685func (*TestAllTypes) XXX_OneofWrappers() []interface{} {
686 return []interface{}{
687 (*TestAllTypes_OneofUint32)(nil),
688 (*TestAllTypes_OneofNestedMessage)(nil),
689 (*TestAllTypes_OneofString)(nil),
690 (*TestAllTypes_OneofBytes)(nil),
691 (*TestAllTypes_OneofBool)(nil),
692 (*TestAllTypes_OneofUint64)(nil),
693 (*TestAllTypes_OneofFloat)(nil),
694 (*TestAllTypes_OneofDouble)(nil),
695 (*TestAllTypes_OneofEnum)(nil),
696 }
697}
698
699type TestAllExtensions struct {
700 XXX_NoUnkeyedLiteral struct{} `json:"-"`
701 proto.XXX_InternalExtensions `json:"-"`
702 XXX_unrecognized []byte `json:"-"`
703 XXX_sizecache int32 `json:"-"`
704}
705
706type xxx_TestAllExtensions struct{ m *TestAllExtensions }
707
708func (m *TestAllExtensions) ProtoReflect() protoreflect.Message {
709 return xxx_TestAllExtensions{m}
710}
711func (m xxx_TestAllExtensions) Type() protoreflect.MessageType {
Joe Tsai5681bb22019-01-09 21:31:15 -0800712 return xxx_Test_protoFile_MessageTypes[1].Type
Damien Neilba23aa52018-12-07 14:38:17 -0800713}
714func (m xxx_TestAllExtensions) KnownFields() protoreflect.KnownFields {
Joe Tsai5681bb22019-01-09 21:31:15 -0800715 return xxx_Test_protoFile_MessageTypes[1].KnownFieldsOf(m.m)
Damien Neilba23aa52018-12-07 14:38:17 -0800716}
717func (m xxx_TestAllExtensions) UnknownFields() protoreflect.UnknownFields {
Joe Tsai5681bb22019-01-09 21:31:15 -0800718 return xxx_Test_protoFile_MessageTypes[1].UnknownFieldsOf(m.m)
Damien Neilba23aa52018-12-07 14:38:17 -0800719}
720func (m xxx_TestAllExtensions) Interface() protoreflect.ProtoMessage {
721 return m.m
722}
723
724func (m *TestAllExtensions) Reset() { *m = TestAllExtensions{} }
725func (m *TestAllExtensions) String() string { return proto.CompactTextString(m) }
726func (*TestAllExtensions) ProtoMessage() {}
727func (*TestAllExtensions) Descriptor() ([]byte, []int) {
728 return fileDescriptor_c161fcfdc0c3ff1e, []int{1}
729}
730
731var extRange_TestAllExtensions = []proto.ExtensionRange{
732 {Start: 1, End: 536870911},
733}
734
735func (*TestAllExtensions) ExtensionRangeArray() []proto.ExtensionRange {
736 return extRange_TestAllExtensions
737}
738
739func (m *TestAllExtensions) XXX_Unmarshal(b []byte) error {
740 return xxx_messageInfo_TestAllExtensions.Unmarshal(m, b)
741}
742func (m *TestAllExtensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
743 return xxx_messageInfo_TestAllExtensions.Marshal(b, m, deterministic)
744}
745func (m *TestAllExtensions) XXX_Merge(src proto.Message) {
746 xxx_messageInfo_TestAllExtensions.Merge(m, src)
747}
748func (m *TestAllExtensions) XXX_Size() int {
749 return xxx_messageInfo_TestAllExtensions.Size(m)
750}
751func (m *TestAllExtensions) XXX_DiscardUnknown() {
752 xxx_messageInfo_TestAllExtensions.DiscardUnknown(m)
753}
754
755var xxx_messageInfo_TestAllExtensions proto.InternalMessageInfo
756
757type OptionalGroupExtension struct {
758 A *int32 `protobuf:"varint,17,opt,name=a" json:"a,omitempty"`
759 XXX_NoUnkeyedLiteral struct{} `json:"-"`
760 XXX_unrecognized []byte `json:"-"`
761 XXX_sizecache int32 `json:"-"`
762}
763
764type xxx_OptionalGroupExtension struct{ m *OptionalGroupExtension }
765
766func (m *OptionalGroupExtension) ProtoReflect() protoreflect.Message {
767 return xxx_OptionalGroupExtension{m}
768}
769func (m xxx_OptionalGroupExtension) Type() protoreflect.MessageType {
Joe Tsai5681bb22019-01-09 21:31:15 -0800770 return xxx_Test_protoFile_MessageTypes[2].Type
Damien Neilba23aa52018-12-07 14:38:17 -0800771}
772func (m xxx_OptionalGroupExtension) KnownFields() protoreflect.KnownFields {
Joe Tsai5681bb22019-01-09 21:31:15 -0800773 return xxx_Test_protoFile_MessageTypes[2].KnownFieldsOf(m.m)
Damien Neilba23aa52018-12-07 14:38:17 -0800774}
775func (m xxx_OptionalGroupExtension) UnknownFields() protoreflect.UnknownFields {
Joe Tsai5681bb22019-01-09 21:31:15 -0800776 return xxx_Test_protoFile_MessageTypes[2].UnknownFieldsOf(m.m)
Damien Neilba23aa52018-12-07 14:38:17 -0800777}
778func (m xxx_OptionalGroupExtension) Interface() protoreflect.ProtoMessage {
779 return m.m
780}
781
782func (m *OptionalGroupExtension) Reset() { *m = OptionalGroupExtension{} }
783func (m *OptionalGroupExtension) String() string { return proto.CompactTextString(m) }
784func (*OptionalGroupExtension) ProtoMessage() {}
785func (*OptionalGroupExtension) Descriptor() ([]byte, []int) {
786 return fileDescriptor_c161fcfdc0c3ff1e, []int{2}
787}
788
789func (m *OptionalGroupExtension) XXX_Unmarshal(b []byte) error {
790 return xxx_messageInfo_OptionalGroupExtension.Unmarshal(m, b)
791}
792func (m *OptionalGroupExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
793 return xxx_messageInfo_OptionalGroupExtension.Marshal(b, m, deterministic)
794}
795func (m *OptionalGroupExtension) XXX_Merge(src proto.Message) {
796 xxx_messageInfo_OptionalGroupExtension.Merge(m, src)
797}
798func (m *OptionalGroupExtension) XXX_Size() int {
799 return xxx_messageInfo_OptionalGroupExtension.Size(m)
800}
801func (m *OptionalGroupExtension) XXX_DiscardUnknown() {
802 xxx_messageInfo_OptionalGroupExtension.DiscardUnknown(m)
803}
804
805var xxx_messageInfo_OptionalGroupExtension proto.InternalMessageInfo
806
807func (m *OptionalGroupExtension) GetA() int32 {
808 if m != nil && m.A != nil {
809 return *m.A
810 }
811 return 0
812}
813
814type RepeatedGroupExtension struct {
815 A *int32 `protobuf:"varint,47,opt,name=a" json:"a,omitempty"`
816 XXX_NoUnkeyedLiteral struct{} `json:"-"`
817 XXX_unrecognized []byte `json:"-"`
818 XXX_sizecache int32 `json:"-"`
819}
820
821type xxx_RepeatedGroupExtension struct{ m *RepeatedGroupExtension }
822
823func (m *RepeatedGroupExtension) ProtoReflect() protoreflect.Message {
824 return xxx_RepeatedGroupExtension{m}
825}
826func (m xxx_RepeatedGroupExtension) Type() protoreflect.MessageType {
Joe Tsai5681bb22019-01-09 21:31:15 -0800827 return xxx_Test_protoFile_MessageTypes[3].Type
Damien Neilba23aa52018-12-07 14:38:17 -0800828}
829func (m xxx_RepeatedGroupExtension) KnownFields() protoreflect.KnownFields {
Joe Tsai5681bb22019-01-09 21:31:15 -0800830 return xxx_Test_protoFile_MessageTypes[3].KnownFieldsOf(m.m)
Damien Neilba23aa52018-12-07 14:38:17 -0800831}
832func (m xxx_RepeatedGroupExtension) UnknownFields() protoreflect.UnknownFields {
Joe Tsai5681bb22019-01-09 21:31:15 -0800833 return xxx_Test_protoFile_MessageTypes[3].UnknownFieldsOf(m.m)
Damien Neilba23aa52018-12-07 14:38:17 -0800834}
835func (m xxx_RepeatedGroupExtension) Interface() protoreflect.ProtoMessage {
836 return m.m
837}
838
839func (m *RepeatedGroupExtension) Reset() { *m = RepeatedGroupExtension{} }
840func (m *RepeatedGroupExtension) String() string { return proto.CompactTextString(m) }
841func (*RepeatedGroupExtension) ProtoMessage() {}
842func (*RepeatedGroupExtension) Descriptor() ([]byte, []int) {
843 return fileDescriptor_c161fcfdc0c3ff1e, []int{3}
844}
845
846func (m *RepeatedGroupExtension) XXX_Unmarshal(b []byte) error {
847 return xxx_messageInfo_RepeatedGroupExtension.Unmarshal(m, b)
848}
849func (m *RepeatedGroupExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
850 return xxx_messageInfo_RepeatedGroupExtension.Marshal(b, m, deterministic)
851}
852func (m *RepeatedGroupExtension) XXX_Merge(src proto.Message) {
853 xxx_messageInfo_RepeatedGroupExtension.Merge(m, src)
854}
855func (m *RepeatedGroupExtension) XXX_Size() int {
856 return xxx_messageInfo_RepeatedGroupExtension.Size(m)
857}
858func (m *RepeatedGroupExtension) XXX_DiscardUnknown() {
859 xxx_messageInfo_RepeatedGroupExtension.DiscardUnknown(m)
860}
861
862var xxx_messageInfo_RepeatedGroupExtension proto.InternalMessageInfo
863
864func (m *RepeatedGroupExtension) GetA() int32 {
865 if m != nil && m.A != nil {
866 return *m.A
867 }
868 return 0
869}
870
871type TestAllTypes_NestedMessage struct {
872 A *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"`
873 Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive" json:"corecursive,omitempty"`
874 XXX_NoUnkeyedLiteral struct{} `json:"-"`
875 XXX_unrecognized []byte `json:"-"`
876 XXX_sizecache int32 `json:"-"`
877}
878
879type xxx_TestAllTypes_NestedMessage struct{ m *TestAllTypes_NestedMessage }
880
881func (m *TestAllTypes_NestedMessage) ProtoReflect() protoreflect.Message {
882 return xxx_TestAllTypes_NestedMessage{m}
883}
884func (m xxx_TestAllTypes_NestedMessage) Type() protoreflect.MessageType {
Joe Tsai5681bb22019-01-09 21:31:15 -0800885 return xxx_Test_protoFile_MessageTypes[4].Type
Damien Neilba23aa52018-12-07 14:38:17 -0800886}
887func (m xxx_TestAllTypes_NestedMessage) KnownFields() protoreflect.KnownFields {
Joe Tsai5681bb22019-01-09 21:31:15 -0800888 return xxx_Test_protoFile_MessageTypes[4].KnownFieldsOf(m.m)
Damien Neilba23aa52018-12-07 14:38:17 -0800889}
890func (m xxx_TestAllTypes_NestedMessage) UnknownFields() protoreflect.UnknownFields {
Joe Tsai5681bb22019-01-09 21:31:15 -0800891 return xxx_Test_protoFile_MessageTypes[4].UnknownFieldsOf(m.m)
Damien Neilba23aa52018-12-07 14:38:17 -0800892}
893func (m xxx_TestAllTypes_NestedMessage) Interface() protoreflect.ProtoMessage {
894 return m.m
895}
896
897func (m *TestAllTypes_NestedMessage) Reset() { *m = TestAllTypes_NestedMessage{} }
898func (m *TestAllTypes_NestedMessage) String() string { return proto.CompactTextString(m) }
899func (*TestAllTypes_NestedMessage) ProtoMessage() {}
900func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int) {
901 return fileDescriptor_c161fcfdc0c3ff1e, []int{0, 0}
902}
903
904func (m *TestAllTypes_NestedMessage) XXX_Unmarshal(b []byte) error {
905 return xxx_messageInfo_TestAllTypes_NestedMessage.Unmarshal(m, b)
906}
907func (m *TestAllTypes_NestedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
908 return xxx_messageInfo_TestAllTypes_NestedMessage.Marshal(b, m, deterministic)
909}
910func (m *TestAllTypes_NestedMessage) XXX_Merge(src proto.Message) {
911 xxx_messageInfo_TestAllTypes_NestedMessage.Merge(m, src)
912}
913func (m *TestAllTypes_NestedMessage) XXX_Size() int {
914 return xxx_messageInfo_TestAllTypes_NestedMessage.Size(m)
915}
916func (m *TestAllTypes_NestedMessage) XXX_DiscardUnknown() {
917 xxx_messageInfo_TestAllTypes_NestedMessage.DiscardUnknown(m)
918}
919
920var xxx_messageInfo_TestAllTypes_NestedMessage proto.InternalMessageInfo
921
922func (m *TestAllTypes_NestedMessage) GetA() int32 {
923 if m != nil && m.A != nil {
924 return *m.A
925 }
926 return 0
927}
928
929func (m *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes {
930 if m != nil {
931 return m.Corecursive
932 }
933 return nil
934}
935
936type TestAllTypes_OptionalGroup struct {
937 A *int32 `protobuf:"varint,17,opt,name=a" json:"a,omitempty"`
938 XXX_NoUnkeyedLiteral struct{} `json:"-"`
939 XXX_unrecognized []byte `json:"-"`
940 XXX_sizecache int32 `json:"-"`
941}
942
943type xxx_TestAllTypes_OptionalGroup struct{ m *TestAllTypes_OptionalGroup }
944
945func (m *TestAllTypes_OptionalGroup) ProtoReflect() protoreflect.Message {
946 return xxx_TestAllTypes_OptionalGroup{m}
947}
948func (m xxx_TestAllTypes_OptionalGroup) Type() protoreflect.MessageType {
Joe Tsai5681bb22019-01-09 21:31:15 -0800949 return xxx_Test_protoFile_MessageTypes[5].Type
Damien Neilba23aa52018-12-07 14:38:17 -0800950}
951func (m xxx_TestAllTypes_OptionalGroup) KnownFields() protoreflect.KnownFields {
Joe Tsai5681bb22019-01-09 21:31:15 -0800952 return xxx_Test_protoFile_MessageTypes[5].KnownFieldsOf(m.m)
Damien Neilba23aa52018-12-07 14:38:17 -0800953}
954func (m xxx_TestAllTypes_OptionalGroup) UnknownFields() protoreflect.UnknownFields {
Joe Tsai5681bb22019-01-09 21:31:15 -0800955 return xxx_Test_protoFile_MessageTypes[5].UnknownFieldsOf(m.m)
Damien Neilba23aa52018-12-07 14:38:17 -0800956}
957func (m xxx_TestAllTypes_OptionalGroup) Interface() protoreflect.ProtoMessage {
958 return m.m
959}
960
961func (m *TestAllTypes_OptionalGroup) Reset() { *m = TestAllTypes_OptionalGroup{} }
962func (m *TestAllTypes_OptionalGroup) String() string { return proto.CompactTextString(m) }
963func (*TestAllTypes_OptionalGroup) ProtoMessage() {}
964func (*TestAllTypes_OptionalGroup) Descriptor() ([]byte, []int) {
965 return fileDescriptor_c161fcfdc0c3ff1e, []int{0, 1}
966}
967
968func (m *TestAllTypes_OptionalGroup) XXX_Unmarshal(b []byte) error {
969 return xxx_messageInfo_TestAllTypes_OptionalGroup.Unmarshal(m, b)
970}
971func (m *TestAllTypes_OptionalGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
972 return xxx_messageInfo_TestAllTypes_OptionalGroup.Marshal(b, m, deterministic)
973}
974func (m *TestAllTypes_OptionalGroup) XXX_Merge(src proto.Message) {
975 xxx_messageInfo_TestAllTypes_OptionalGroup.Merge(m, src)
976}
977func (m *TestAllTypes_OptionalGroup) XXX_Size() int {
978 return xxx_messageInfo_TestAllTypes_OptionalGroup.Size(m)
979}
980func (m *TestAllTypes_OptionalGroup) XXX_DiscardUnknown() {
981 xxx_messageInfo_TestAllTypes_OptionalGroup.DiscardUnknown(m)
982}
983
984var xxx_messageInfo_TestAllTypes_OptionalGroup proto.InternalMessageInfo
985
986func (m *TestAllTypes_OptionalGroup) GetA() int32 {
987 if m != nil && m.A != nil {
988 return *m.A
989 }
990 return 0
991}
992
993type TestAllTypes_RepeatedGroup struct {
994 A *int32 `protobuf:"varint,47,opt,name=a" json:"a,omitempty"`
995 XXX_NoUnkeyedLiteral struct{} `json:"-"`
996 XXX_unrecognized []byte `json:"-"`
997 XXX_sizecache int32 `json:"-"`
998}
999
1000type xxx_TestAllTypes_RepeatedGroup struct{ m *TestAllTypes_RepeatedGroup }
1001
1002func (m *TestAllTypes_RepeatedGroup) ProtoReflect() protoreflect.Message {
1003 return xxx_TestAllTypes_RepeatedGroup{m}
1004}
1005func (m xxx_TestAllTypes_RepeatedGroup) Type() protoreflect.MessageType {
Joe Tsai5681bb22019-01-09 21:31:15 -08001006 return xxx_Test_protoFile_MessageTypes[6].Type
Damien Neilba23aa52018-12-07 14:38:17 -08001007}
1008func (m xxx_TestAllTypes_RepeatedGroup) KnownFields() protoreflect.KnownFields {
Joe Tsai5681bb22019-01-09 21:31:15 -08001009 return xxx_Test_protoFile_MessageTypes[6].KnownFieldsOf(m.m)
Damien Neilba23aa52018-12-07 14:38:17 -08001010}
1011func (m xxx_TestAllTypes_RepeatedGroup) UnknownFields() protoreflect.UnknownFields {
Joe Tsai5681bb22019-01-09 21:31:15 -08001012 return xxx_Test_protoFile_MessageTypes[6].UnknownFieldsOf(m.m)
Damien Neilba23aa52018-12-07 14:38:17 -08001013}
1014func (m xxx_TestAllTypes_RepeatedGroup) Interface() protoreflect.ProtoMessage {
1015 return m.m
1016}
1017
1018func (m *TestAllTypes_RepeatedGroup) Reset() { *m = TestAllTypes_RepeatedGroup{} }
1019func (m *TestAllTypes_RepeatedGroup) String() string { return proto.CompactTextString(m) }
1020func (*TestAllTypes_RepeatedGroup) ProtoMessage() {}
1021func (*TestAllTypes_RepeatedGroup) Descriptor() ([]byte, []int) {
1022 return fileDescriptor_c161fcfdc0c3ff1e, []int{0, 2}
1023}
1024
1025func (m *TestAllTypes_RepeatedGroup) XXX_Unmarshal(b []byte) error {
1026 return xxx_messageInfo_TestAllTypes_RepeatedGroup.Unmarshal(m, b)
1027}
1028func (m *TestAllTypes_RepeatedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1029 return xxx_messageInfo_TestAllTypes_RepeatedGroup.Marshal(b, m, deterministic)
1030}
1031func (m *TestAllTypes_RepeatedGroup) XXX_Merge(src proto.Message) {
1032 xxx_messageInfo_TestAllTypes_RepeatedGroup.Merge(m, src)
1033}
1034func (m *TestAllTypes_RepeatedGroup) XXX_Size() int {
1035 return xxx_messageInfo_TestAllTypes_RepeatedGroup.Size(m)
1036}
1037func (m *TestAllTypes_RepeatedGroup) XXX_DiscardUnknown() {
1038 xxx_messageInfo_TestAllTypes_RepeatedGroup.DiscardUnknown(m)
1039}
1040
1041var xxx_messageInfo_TestAllTypes_RepeatedGroup proto.InternalMessageInfo
1042
1043func (m *TestAllTypes_RepeatedGroup) GetA() int32 {
1044 if m != nil && m.A != nil {
1045 return *m.A
1046 }
1047 return 0
1048}
1049
1050var E_OptionalInt32Extension = &proto.ExtensionDesc{
1051 ExtendedType: (*TestAllExtensions)(nil),
1052 ExtensionType: (*int32)(nil),
1053 Field: 1,
1054 Name: "goproto.proto.test.optional_int32_extension",
1055 Tag: "varint,1,opt,name=optional_int32_extension",
1056 Filename: "test.proto",
1057}
1058
1059var E_OptionalInt64Extension = &proto.ExtensionDesc{
1060 ExtendedType: (*TestAllExtensions)(nil),
1061 ExtensionType: (*int64)(nil),
1062 Field: 2,
1063 Name: "goproto.proto.test.optional_int64_extension",
1064 Tag: "varint,2,opt,name=optional_int64_extension",
1065 Filename: "test.proto",
1066}
1067
1068var E_OptionalUint32Extension = &proto.ExtensionDesc{
1069 ExtendedType: (*TestAllExtensions)(nil),
1070 ExtensionType: (*uint32)(nil),
1071 Field: 3,
1072 Name: "goproto.proto.test.optional_uint32_extension",
1073 Tag: "varint,3,opt,name=optional_uint32_extension",
1074 Filename: "test.proto",
1075}
1076
1077var E_OptionalUint64Extension = &proto.ExtensionDesc{
1078 ExtendedType: (*TestAllExtensions)(nil),
1079 ExtensionType: (*uint64)(nil),
1080 Field: 4,
1081 Name: "goproto.proto.test.optional_uint64_extension",
1082 Tag: "varint,4,opt,name=optional_uint64_extension",
1083 Filename: "test.proto",
1084}
1085
1086var E_OptionalSint32Extension = &proto.ExtensionDesc{
1087 ExtendedType: (*TestAllExtensions)(nil),
1088 ExtensionType: (*int32)(nil),
1089 Field: 5,
1090 Name: "goproto.proto.test.optional_sint32_extension",
1091 Tag: "zigzag32,5,opt,name=optional_sint32_extension",
1092 Filename: "test.proto",
1093}
1094
1095var E_OptionalSint64Extension = &proto.ExtensionDesc{
1096 ExtendedType: (*TestAllExtensions)(nil),
1097 ExtensionType: (*int64)(nil),
1098 Field: 6,
1099 Name: "goproto.proto.test.optional_sint64_extension",
1100 Tag: "zigzag64,6,opt,name=optional_sint64_extension",
1101 Filename: "test.proto",
1102}
1103
1104var E_OptionalFixed32Extension = &proto.ExtensionDesc{
1105 ExtendedType: (*TestAllExtensions)(nil),
1106 ExtensionType: (*uint32)(nil),
1107 Field: 7,
1108 Name: "goproto.proto.test.optional_fixed32_extension",
1109 Tag: "fixed32,7,opt,name=optional_fixed32_extension",
1110 Filename: "test.proto",
1111}
1112
1113var E_OptionalFixed64Extension = &proto.ExtensionDesc{
1114 ExtendedType: (*TestAllExtensions)(nil),
1115 ExtensionType: (*uint64)(nil),
1116 Field: 8,
1117 Name: "goproto.proto.test.optional_fixed64_extension",
1118 Tag: "fixed64,8,opt,name=optional_fixed64_extension",
1119 Filename: "test.proto",
1120}
1121
1122var E_OptionalSfixed32Extension = &proto.ExtensionDesc{
1123 ExtendedType: (*TestAllExtensions)(nil),
1124 ExtensionType: (*int32)(nil),
1125 Field: 9,
1126 Name: "goproto.proto.test.optional_sfixed32_extension",
1127 Tag: "fixed32,9,opt,name=optional_sfixed32_extension",
1128 Filename: "test.proto",
1129}
1130
1131var E_OptionalSfixed64Extension = &proto.ExtensionDesc{
1132 ExtendedType: (*TestAllExtensions)(nil),
1133 ExtensionType: (*int64)(nil),
1134 Field: 10,
1135 Name: "goproto.proto.test.optional_sfixed64_extension",
1136 Tag: "fixed64,10,opt,name=optional_sfixed64_extension",
1137 Filename: "test.proto",
1138}
1139
1140var E_OptionalFloatExtension = &proto.ExtensionDesc{
1141 ExtendedType: (*TestAllExtensions)(nil),
1142 ExtensionType: (*float32)(nil),
1143 Field: 11,
1144 Name: "goproto.proto.test.optional_float_extension",
1145 Tag: "fixed32,11,opt,name=optional_float_extension",
1146 Filename: "test.proto",
1147}
1148
1149var E_OptionalDoubleExtension = &proto.ExtensionDesc{
1150 ExtendedType: (*TestAllExtensions)(nil),
1151 ExtensionType: (*float64)(nil),
1152 Field: 12,
1153 Name: "goproto.proto.test.optional_double_extension",
1154 Tag: "fixed64,12,opt,name=optional_double_extension",
1155 Filename: "test.proto",
1156}
1157
1158var E_OptionalBoolExtension = &proto.ExtensionDesc{
1159 ExtendedType: (*TestAllExtensions)(nil),
1160 ExtensionType: (*bool)(nil),
1161 Field: 13,
1162 Name: "goproto.proto.test.optional_bool_extension",
1163 Tag: "varint,13,opt,name=optional_bool_extension",
1164 Filename: "test.proto",
1165}
1166
1167var E_OptionalStringExtension = &proto.ExtensionDesc{
1168 ExtendedType: (*TestAllExtensions)(nil),
1169 ExtensionType: (*string)(nil),
1170 Field: 14,
1171 Name: "goproto.proto.test.optional_string_extension",
1172 Tag: "bytes,14,opt,name=optional_string_extension",
1173 Filename: "test.proto",
1174}
1175
1176var E_OptionalBytesExtension = &proto.ExtensionDesc{
1177 ExtendedType: (*TestAllExtensions)(nil),
1178 ExtensionType: ([]byte)(nil),
1179 Field: 15,
1180 Name: "goproto.proto.test.optional_bytes_extension",
1181 Tag: "bytes,15,opt,name=optional_bytes_extension",
1182 Filename: "test.proto",
1183}
1184
1185var E_OptionalgroupExtension = &proto.ExtensionDesc{
1186 ExtendedType: (*TestAllExtensions)(nil),
1187 ExtensionType: (*OptionalGroupExtension)(nil),
1188 Field: 16,
1189 Name: "goproto.proto.test.optionalgroup_extension",
1190 Tag: "group,16,opt,name=OptionalGroup_extension",
1191 Filename: "test.proto",
1192}
1193
1194var E_OptionalNestedMessageExtension = &proto.ExtensionDesc{
1195 ExtendedType: (*TestAllExtensions)(nil),
1196 ExtensionType: (*TestAllTypes_NestedMessage)(nil),
1197 Field: 18,
1198 Name: "goproto.proto.test.optional_nested_message_extension",
1199 Tag: "bytes,18,opt,name=optional_nested_message_extension",
1200 Filename: "test.proto",
1201}
1202
1203var E_OptionalNestedEnumExtension = &proto.ExtensionDesc{
1204 ExtendedType: (*TestAllExtensions)(nil),
1205 ExtensionType: (*TestAllTypes_NestedEnum)(nil),
1206 Field: 21,
1207 Name: "goproto.proto.test.optional_nested_enum_extension",
1208 Tag: "varint,21,opt,name=optional_nested_enum_extension,enum=goproto.proto.test.TestAllTypes_NestedEnum",
1209 Filename: "test.proto",
1210}
1211
1212var E_RepeatedInt32Extension = &proto.ExtensionDesc{
1213 ExtendedType: (*TestAllExtensions)(nil),
1214 ExtensionType: ([]int32)(nil),
1215 Field: 31,
1216 Name: "goproto.proto.test.repeated_int32_extension",
1217 Tag: "varint,31,rep,name=repeated_int32_extension",
1218 Filename: "test.proto",
1219}
1220
1221var E_RepeatedInt64Extension = &proto.ExtensionDesc{
1222 ExtendedType: (*TestAllExtensions)(nil),
1223 ExtensionType: ([]int64)(nil),
1224 Field: 32,
1225 Name: "goproto.proto.test.repeated_int64_extension",
1226 Tag: "varint,32,rep,name=repeated_int64_extension",
1227 Filename: "test.proto",
1228}
1229
1230var E_RepeatedUint32Extension = &proto.ExtensionDesc{
1231 ExtendedType: (*TestAllExtensions)(nil),
1232 ExtensionType: ([]uint32)(nil),
1233 Field: 33,
1234 Name: "goproto.proto.test.repeated_uint32_extension",
1235 Tag: "varint,33,rep,name=repeated_uint32_extension",
1236 Filename: "test.proto",
1237}
1238
1239var E_RepeatedUint64Extension = &proto.ExtensionDesc{
1240 ExtendedType: (*TestAllExtensions)(nil),
1241 ExtensionType: ([]uint64)(nil),
1242 Field: 34,
1243 Name: "goproto.proto.test.repeated_uint64_extension",
1244 Tag: "varint,34,rep,name=repeated_uint64_extension",
1245 Filename: "test.proto",
1246}
1247
1248var E_RepeatedSint32Extension = &proto.ExtensionDesc{
1249 ExtendedType: (*TestAllExtensions)(nil),
1250 ExtensionType: ([]int32)(nil),
1251 Field: 35,
1252 Name: "goproto.proto.test.repeated_sint32_extension",
1253 Tag: "zigzag32,35,rep,name=repeated_sint32_extension",
1254 Filename: "test.proto",
1255}
1256
1257var E_RepeatedSint64Extension = &proto.ExtensionDesc{
1258 ExtendedType: (*TestAllExtensions)(nil),
1259 ExtensionType: ([]int64)(nil),
1260 Field: 36,
1261 Name: "goproto.proto.test.repeated_sint64_extension",
1262 Tag: "zigzag64,36,rep,name=repeated_sint64_extension",
1263 Filename: "test.proto",
1264}
1265
1266var E_RepeatedFixed32Extension = &proto.ExtensionDesc{
1267 ExtendedType: (*TestAllExtensions)(nil),
1268 ExtensionType: ([]uint32)(nil),
1269 Field: 37,
1270 Name: "goproto.proto.test.repeated_fixed32_extension",
1271 Tag: "fixed32,37,rep,name=repeated_fixed32_extension",
1272 Filename: "test.proto",
1273}
1274
1275var E_RepeatedFixed64Extension = &proto.ExtensionDesc{
1276 ExtendedType: (*TestAllExtensions)(nil),
1277 ExtensionType: ([]uint64)(nil),
1278 Field: 38,
1279 Name: "goproto.proto.test.repeated_fixed64_extension",
1280 Tag: "fixed64,38,rep,name=repeated_fixed64_extension",
1281 Filename: "test.proto",
1282}
1283
1284var E_RepeatedSfixed32Extension = &proto.ExtensionDesc{
1285 ExtendedType: (*TestAllExtensions)(nil),
1286 ExtensionType: ([]int32)(nil),
1287 Field: 39,
1288 Name: "goproto.proto.test.repeated_sfixed32_extension",
1289 Tag: "fixed32,39,rep,name=repeated_sfixed32_extension",
1290 Filename: "test.proto",
1291}
1292
1293var E_RepeatedSfixed64Extension = &proto.ExtensionDesc{
1294 ExtendedType: (*TestAllExtensions)(nil),
1295 ExtensionType: ([]int64)(nil),
1296 Field: 40,
1297 Name: "goproto.proto.test.repeated_sfixed64_extension",
1298 Tag: "fixed64,40,rep,name=repeated_sfixed64_extension",
1299 Filename: "test.proto",
1300}
1301
1302var E_RepeatedFloatExtension = &proto.ExtensionDesc{
1303 ExtendedType: (*TestAllExtensions)(nil),
1304 ExtensionType: ([]float32)(nil),
1305 Field: 41,
1306 Name: "goproto.proto.test.repeated_float_extension",
1307 Tag: "fixed32,41,rep,name=repeated_float_extension",
1308 Filename: "test.proto",
1309}
1310
1311var E_RepeatedDoubleExtension = &proto.ExtensionDesc{
1312 ExtendedType: (*TestAllExtensions)(nil),
1313 ExtensionType: ([]float64)(nil),
1314 Field: 42,
1315 Name: "goproto.proto.test.repeated_double_extension",
1316 Tag: "fixed64,42,rep,name=repeated_double_extension",
1317 Filename: "test.proto",
1318}
1319
1320var E_RepeatedBoolExtension = &proto.ExtensionDesc{
1321 ExtendedType: (*TestAllExtensions)(nil),
1322 ExtensionType: ([]bool)(nil),
1323 Field: 43,
1324 Name: "goproto.proto.test.repeated_bool_extension",
1325 Tag: "varint,43,rep,name=repeated_bool_extension",
1326 Filename: "test.proto",
1327}
1328
1329var E_RepeatedStringExtension = &proto.ExtensionDesc{
1330 ExtendedType: (*TestAllExtensions)(nil),
1331 ExtensionType: ([]string)(nil),
1332 Field: 44,
1333 Name: "goproto.proto.test.repeated_string_extension",
1334 Tag: "bytes,44,rep,name=repeated_string_extension",
1335 Filename: "test.proto",
1336}
1337
1338var E_RepeatedBytesExtension = &proto.ExtensionDesc{
1339 ExtendedType: (*TestAllExtensions)(nil),
1340 ExtensionType: ([][]byte)(nil),
1341 Field: 45,
1342 Name: "goproto.proto.test.repeated_bytes_extension",
1343 Tag: "bytes,45,rep,name=repeated_bytes_extension",
1344 Filename: "test.proto",
1345}
1346
1347var E_RepeatedgroupExtension = &proto.ExtensionDesc{
1348 ExtendedType: (*TestAllExtensions)(nil),
1349 ExtensionType: ([]*RepeatedGroupExtension)(nil),
1350 Field: 46,
1351 Name: "goproto.proto.test.repeatedgroup_extension",
1352 Tag: "group,46,rep,name=RepeatedGroup_extension",
1353 Filename: "test.proto",
1354}
1355
1356var E_RepeatedNestedMessageExtension = &proto.ExtensionDesc{
1357 ExtendedType: (*TestAllExtensions)(nil),
1358 ExtensionType: ([]*TestAllTypes_NestedMessage)(nil),
1359 Field: 48,
1360 Name: "goproto.proto.test.repeated_nested_message_extension",
1361 Tag: "bytes,48,rep,name=repeated_nested_message_extension",
1362 Filename: "test.proto",
1363}
1364
1365var E_RepeatedNestedEnumExtension = &proto.ExtensionDesc{
1366 ExtendedType: (*TestAllExtensions)(nil),
1367 ExtensionType: ([]TestAllTypes_NestedEnum)(nil),
1368 Field: 51,
1369 Name: "goproto.proto.test.repeated_nested_enum_extension",
1370 Tag: "varint,51,rep,name=repeated_nested_enum_extension,enum=goproto.proto.test.TestAllTypes_NestedEnum",
1371 Filename: "test.proto",
1372}
1373
1374func init() {
1375 proto.RegisterFile("test.proto", fileDescriptor_c161fcfdc0c3ff1e)
1376 proto.RegisterEnum("goproto.proto.test.TestAllTypes_NestedEnum", TestAllTypes_NestedEnum_name, TestAllTypes_NestedEnum_value)
1377 proto.RegisterType((*TestAllTypes)(nil), "goproto.proto.test.TestAllTypes")
1378 proto.RegisterMapType((map[bool]bool)(nil), "goproto.proto.test.TestAllTypes.MapBoolBoolEntry")
1379 proto.RegisterMapType((map[uint32]uint32)(nil), "goproto.proto.test.TestAllTypes.MapFixed32Fixed32Entry")
1380 proto.RegisterMapType((map[uint64]uint64)(nil), "goproto.proto.test.TestAllTypes.MapFixed64Fixed64Entry")
1381 proto.RegisterMapType((map[int32]float64)(nil), "goproto.proto.test.TestAllTypes.MapInt32DoubleEntry")
1382 proto.RegisterMapType((map[int32]float32)(nil), "goproto.proto.test.TestAllTypes.MapInt32FloatEntry")
1383 proto.RegisterMapType((map[int32]int32)(nil), "goproto.proto.test.TestAllTypes.MapInt32Int32Entry")
1384 proto.RegisterMapType((map[int64]int64)(nil), "goproto.proto.test.TestAllTypes.MapInt64Int64Entry")
1385 proto.RegisterMapType((map[int32]int32)(nil), "goproto.proto.test.TestAllTypes.MapSfixed32Sfixed32Entry")
1386 proto.RegisterMapType((map[int64]int64)(nil), "goproto.proto.test.TestAllTypes.MapSfixed64Sfixed64Entry")
1387 proto.RegisterMapType((map[int32]int32)(nil), "goproto.proto.test.TestAllTypes.MapSint32Sint32Entry")
1388 proto.RegisterMapType((map[int64]int64)(nil), "goproto.proto.test.TestAllTypes.MapSint64Sint64Entry")
1389 proto.RegisterMapType((map[string][]byte)(nil), "goproto.proto.test.TestAllTypes.MapStringBytesEntry")
1390 proto.RegisterMapType((map[string]TestAllTypes_NestedEnum)(nil), "goproto.proto.test.TestAllTypes.MapStringNestedEnumEntry")
1391 proto.RegisterMapType((map[string]*TestAllTypes_NestedMessage)(nil), "goproto.proto.test.TestAllTypes.MapStringNestedMessageEntry")
1392 proto.RegisterMapType((map[string]string)(nil), "goproto.proto.test.TestAllTypes.MapStringStringEntry")
1393 proto.RegisterMapType((map[uint32]uint32)(nil), "goproto.proto.test.TestAllTypes.MapUint32Uint32Entry")
1394 proto.RegisterMapType((map[uint64]uint64)(nil), "goproto.proto.test.TestAllTypes.MapUint64Uint64Entry")
1395 proto.RegisterType((*TestAllExtensions)(nil), "goproto.proto.test.TestAllExtensions")
1396 proto.RegisterType((*OptionalGroupExtension)(nil), "goproto.proto.test.OptionalGroup_extension")
1397 proto.RegisterType((*RepeatedGroupExtension)(nil), "goproto.proto.test.RepeatedGroup_extension")
1398 proto.RegisterType((*TestAllTypes_NestedMessage)(nil), "goproto.proto.test.TestAllTypes.NestedMessage")
1399 proto.RegisterType((*TestAllTypes_OptionalGroup)(nil), "goproto.proto.test.TestAllTypes.OptionalGroup")
1400 proto.RegisterType((*TestAllTypes_RepeatedGroup)(nil), "goproto.proto.test.TestAllTypes.RepeatedGroup")
1401 proto.RegisterExtension(E_OptionalInt32Extension)
1402 proto.RegisterExtension(E_OptionalInt64Extension)
1403 proto.RegisterExtension(E_OptionalUint32Extension)
1404 proto.RegisterExtension(E_OptionalUint64Extension)
1405 proto.RegisterExtension(E_OptionalSint32Extension)
1406 proto.RegisterExtension(E_OptionalSint64Extension)
1407 proto.RegisterExtension(E_OptionalFixed32Extension)
1408 proto.RegisterExtension(E_OptionalFixed64Extension)
1409 proto.RegisterExtension(E_OptionalSfixed32Extension)
1410 proto.RegisterExtension(E_OptionalSfixed64Extension)
1411 proto.RegisterExtension(E_OptionalFloatExtension)
1412 proto.RegisterExtension(E_OptionalDoubleExtension)
1413 proto.RegisterExtension(E_OptionalBoolExtension)
1414 proto.RegisterExtension(E_OptionalStringExtension)
1415 proto.RegisterExtension(E_OptionalBytesExtension)
1416 proto.RegisterExtension(E_OptionalgroupExtension)
1417 proto.RegisterExtension(E_OptionalNestedMessageExtension)
1418 proto.RegisterExtension(E_OptionalNestedEnumExtension)
1419 proto.RegisterExtension(E_RepeatedInt32Extension)
1420 proto.RegisterExtension(E_RepeatedInt64Extension)
1421 proto.RegisterExtension(E_RepeatedUint32Extension)
1422 proto.RegisterExtension(E_RepeatedUint64Extension)
1423 proto.RegisterExtension(E_RepeatedSint32Extension)
1424 proto.RegisterExtension(E_RepeatedSint64Extension)
1425 proto.RegisterExtension(E_RepeatedFixed32Extension)
1426 proto.RegisterExtension(E_RepeatedFixed64Extension)
1427 proto.RegisterExtension(E_RepeatedSfixed32Extension)
1428 proto.RegisterExtension(E_RepeatedSfixed64Extension)
1429 proto.RegisterExtension(E_RepeatedFloatExtension)
1430 proto.RegisterExtension(E_RepeatedDoubleExtension)
1431 proto.RegisterExtension(E_RepeatedBoolExtension)
1432 proto.RegisterExtension(E_RepeatedStringExtension)
1433 proto.RegisterExtension(E_RepeatedBytesExtension)
1434 proto.RegisterExtension(E_RepeatedgroupExtension)
1435 proto.RegisterExtension(E_RepeatedNestedMessageExtension)
1436 proto.RegisterExtension(E_RepeatedNestedEnumExtension)
1437}
1438
1439var fileDescriptor_c161fcfdc0c3ff1e = []byte{
Damien Neilc31bc2d2019-01-04 16:40:51 -08001440 // 2015 bytes of a gzipped FileDescriptorProto
1441 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x59, 0x5f, 0x53, 0xdb, 0xce,
1442 0x15, 0x45, 0x88, 0xbf, 0x0b, 0x06, 0xa3, 0x1f, 0xd8, 0x22, 0xcc, 0x2f, 0xd9, 0x90, 0xa6, 0x51,
1443 0x92, 0xd6, 0xb4, 0xa0, 0xaa, 0x49, 0x9a, 0xa6, 0xc1, 0x05, 0x42, 0x66, 0x9a, 0x64, 0x46, 0x24,
1444 0x2f, 0xe9, 0xa4, 0x8c, 0x01, 0xe1, 0x7a, 0x6a, 0x5b, 0xae, 0x65, 0x93, 0xf0, 0xc6, 0x7b, 0x3f,
1445 0x40, 0x5f, 0xfb, 0x91, 0xfa, 0x8d, 0xda, 0xd9, 0xbd, 0xda, 0xd5, 0xde, 0xf5, 0x1a, 0x2c, 0x65,
1446 0x26, 0xc6, 0xbe, 0xba, 0x3a, 0x67, 0x77, 0xb5, 0x67, 0xaf, 0x76, 0x0f, 0x21, 0x83, 0x28, 0x19,
1447 0xd4, 0x7a, 0xfd, 0x78, 0x10, 0x3b, 0x4e, 0x33, 0xe6, 0x5f, 0xe0, 0x67, 0x8d, 0x5d, 0xd9, 0xfe,
1448 0xef, 0x33, 0xb2, 0xfc, 0x39, 0x4a, 0x06, 0xfb, 0xed, 0xf6, 0xe7, 0xeb, 0x5e, 0x94, 0x38, 0x8f,
1449 0xc9, 0x4a, 0xdc, 0x1b, 0xb4, 0xe2, 0x6e, 0xa3, 0x7d, 0xda, 0xea, 0x0e, 0xf6, 0x76, 0x5d, 0x8b,
1450 0x5a, 0xde, 0x6c, 0x58, 0x12, 0xd1, 0xf7, 0x2c, 0xa8, 0xa7, 0x05, 0xbe, 0x3b, 0x4d, 0x2d, 0xcf,
1451 0x46, 0x69, 0x81, 0xef, 0x3c, 0x21, 0xab, 0x32, 0x6d, 0x08, 0x70, 0x36, 0xb5, 0xbc, 0x52, 0x28,
1452 0xef, 0xfe, 0xc2, 0xa3, 0x23, 0x89, 0x81, 0xef, 0xce, 0x50, 0xcb, 0x9b, 0xc1, 0x89, 0x1a, 0x62,
1453 0x02, 0x88, 0xb3, 0xd4, 0xf2, 0xd6, 0xb2, 0xc4, 0x93, 0x51, 0xc4, 0x04, 0x10, 0xe7, 0xa8, 0xe5,
1454 0x39, 0x38, 0x31, 0xf0, 0x9d, 0xa7, 0xa4, 0x2c, 0x13, 0x2f, 0x5b, 0x3f, 0xa2, 0x8b, 0xbd, 0x5d,
1455 0x77, 0x9e, 0x5a, 0xde, 0x7c, 0x28, 0x01, 0x8e, 0x20, 0x3c, 0x9a, 0x1a, 0xf8, 0xee, 0x02, 0xb5,
1456 0xbc, 0x39, 0x2d, 0x35, 0xf0, 0x9d, 0xe7, 0x64, 0x2d, 0xa3, 0x17, 0xb0, 0x8b, 0xd4, 0xf2, 0x56,
1457 0x43, 0x89, 0x71, 0x92, 0xc6, 0x0d, 0xc9, 0x81, 0xef, 0x12, 0x6a, 0x79, 0x65, 0x3d, 0x39, 0xf0,
1458 0xd1, 0xd0, 0x5f, 0xb6, 0xe3, 0xc6, 0xc0, 0x5d, 0xa2, 0x96, 0x37, 0x9d, 0x0d, 0xfd, 0x11, 0x0b,
1459 0xa2, 0xfe, 0x5f, 0xc4, 0xc3, 0xb3, 0x76, 0xe4, 0x2e, 0x53, 0xcb, 0xb3, 0xb2, 0xfe, 0x1f, 0xf0,
1460 0xa8, 0xf3, 0x88, 0xc8, 0x3b, 0x4f, 0xcf, 0xe2, 0xb8, 0xed, 0x96, 0xa8, 0xe5, 0x2d, 0x84, 0xcb,
1461 0x22, 0x58, 0x8f, 0xe3, 0x36, 0x1e, 0xcd, 0x41, 0xbf, 0xd5, 0x6d, 0xba, 0x2b, 0xd4, 0xf2, 0x16,
1462 0x95, 0xd1, 0xe4, 0x51, 0xd4, 0xba, 0xb3, 0xeb, 0x41, 0x94, 0xb8, 0xab, 0xd4, 0xf2, 0x96, 0xb3,
1463 0xd6, 0xd5, 0x59, 0xd0, 0xf9, 0x9c, 0x91, 0x36, 0xfb, 0xf1, 0xb0, 0xe7, 0x96, 0xa9, 0xe5, 0x91,
1464 0xdd, 0x5a, 0x6d, 0x74, 0x8e, 0xd6, 0xd4, 0xf9, 0x59, 0xfb, 0x94, 0xde, 0xf5, 0x8e, 0xdd, 0x15,
1465 0x62, 0x10, 0xe7, 0x92, 0x54, 0x25, 0x79, 0x37, 0x4a, 0x06, 0xd1, 0xc5, 0x69, 0x27, 0x4a, 0x92,
1466 0x46, 0x33, 0x72, 0x1d, 0x6a, 0x79, 0x4b, 0x13, 0xe0, 0x7f, 0xe4, 0xb7, 0x7d, 0x80, 0xbb, 0xc2,
1467 0x0d, 0x01, 0x87, 0xc2, 0xce, 0x37, 0xb2, 0xae, 0xf3, 0x44, 0xdd, 0x61, 0xc7, 0xdd, 0xa0, 0x96,
1468 0xb7, 0xb2, 0xfb, 0x7c, 0x42, 0x92, 0xc3, 0xee, 0xb0, 0x13, 0x3a, 0x98, 0x81, 0xc5, 0xd8, 0x18,
1469 0xf6, 0xa3, 0x5e, 0xd4, 0x60, 0xb8, 0x30, 0xc5, 0x1f, 0x50, 0x9b, 0x69, 0x50, 0x44, 0xa5, 0x06,
1470 0xd5, 0xb4, 0xc0, 0x77, 0x29, 0xb5, 0x99, 0x06, 0x95, 0x34, 0x50, 0x8c, 0x4c, 0x4b, 0x35, 0xf8,
1471 0x90, 0xda, 0x4c, 0x83, 0x22, 0x9c, 0x69, 0x10, 0x25, 0x06, 0xbe, 0xbb, 0x4d, 0x6d, 0xa6, 0x41,
1472 0x35, 0x51, 0x43, 0x4c, 0x35, 0xf8, 0x88, 0xda, 0x4c, 0x83, 0x22, 0x7c, 0x32, 0x8a, 0x98, 0x6a,
1473 0xf0, 0x17, 0xd4, 0x66, 0x1a, 0x54, 0x13, 0x41, 0x83, 0x32, 0x51, 0x88, 0xe5, 0x31, 0xb5, 0x99,
1474 0x06, 0x45, 0x5c, 0xd1, 0x20, 0x4e, 0x0d, 0x7c, 0xf7, 0x97, 0xd4, 0x66, 0x1a, 0x44, 0xa9, 0xa0,
1475 0xc1, 0x8c, 0x5e, 0xc0, 0x3e, 0xa1, 0x36, 0xd3, 0xa0, 0x6c, 0x80, 0xa2, 0x41, 0x2d, 0x39, 0xf0,
1476 0x5d, 0x8f, 0xda, 0x4c, 0x83, 0x38, 0x19, 0x34, 0x98, 0x35, 0x82, 0x6b, 0xf0, 0x29, 0xb5, 0x99,
1477 0x06, 0x65, 0x13, 0x84, 0x06, 0x65, 0x5a, 0xaa, 0xc1, 0x67, 0xd4, 0x66, 0x1a, 0x14, 0xe1, 0x4c,
1478 0x83, 0x32, 0x91, 0x6b, 0xf0, 0x39, 0xb5, 0x99, 0x06, 0x45, 0x50, 0x68, 0x30, 0x6b, 0x21, 0x68,
1479 0xf0, 0x57, 0xd4, 0x66, 0x1a, 0x94, 0xed, 0x93, 0x1a, 0xcc, 0xd0, 0xb8, 0x06, 0x7f, 0x4d, 0x6d,
1480 0xa6, 0x41, 0x09, 0x27, 0x34, 0x28, 0x02, 0xa0, 0xc1, 0x1a, 0xb5, 0x27, 0xd2, 0x60, 0x98, 0xde,
1481 0x95, 0x6a, 0x10, 0x81, 0x30, 0x0d, 0x4a, 0x72, 0x4d, 0x83, 0xbf, 0xa1, 0x76, 0x11, 0x0d, 0x0a,
1482 0xb8, 0x11, 0x0d, 0xea, 0x3c, 0x5c, 0x83, 0x7b, 0xd4, 0xce, 0xad, 0x41, 0xcc, 0xc0, 0x35, 0xf8,
1483 0x57, 0xb2, 0xda, 0x69, 0xf4, 0x40, 0x7e, 0xa9, 0x08, 0x5f, 0xf0, 0xe6, 0xef, 0xdd, 0x89, 0xfc,
1484 0xa1, 0xd1, 0xe3, 0x02, 0xe5, 0x1f, 0x87, 0xdd, 0x41, 0xff, 0x3a, 0x2c, 0x75, 0xd4, 0x98, 0x02,
1485 0x1e, 0xf8, 0xa9, 0x74, 0x5f, 0xe6, 0x02, 0x0f, 0x7c, 0xfe, 0x81, 0xc0, 0xd3, 0x98, 0xd3, 0x20,
1486 0x6b, 0x0c, 0x1c, 0xa4, 0x2e, 0x14, 0xff, 0x8a, 0xc3, 0xff, 0x6e, 0x12, 0x78, 0x58, 0x0d, 0xe0,
1487 0x13, 0x08, 0x58, 0x63, 0xd5, 0xa8, 0x4a, 0x11, 0xf8, 0x62, 0xad, 0xf8, 0x43, 0x3e, 0x8a, 0xc0,
1488 0x87, 0x4f, 0x4c, 0x21, 0xa2, 0x82, 0x02, 0x96, 0x17, 0xb1, 0xca, 0xbc, 0x9e, 0x9c, 0x02, 0x56,
1489 0xa0, 0x13, 0xad, 0x17, 0x6a, 0x54, 0xa5, 0x08, 0x7c, 0xb1, 0x3e, 0xfd, 0x31, 0x1f, 0x45, 0xe0,
1490 0x9f, 0x68, 0xbd, 0x50, 0xa3, 0x4e, 0x93, 0xfc, 0xc4, 0x28, 0xd2, 0x35, 0x46, 0x2e, 0x6d, 0x6f,
1491 0x38, 0xc9, 0xef, 0x27, 0x21, 0x49, 0x97, 0xbd, 0xf4, 0x0f, 0xd0, 0xb0, 0x66, 0xe3, 0x38, 0x22,
1492 0x0a, 0x7c, 0xb9, 0x30, 0xfe, 0x29, 0x27, 0x51, 0xe0, 0xa7, 0x7f, 0x34, 0x22, 0x19, 0x77, 0x3a,
1493 0x64, 0x83, 0x0f, 0x9a, 0xe8, 0x92, 0x5c, 0x57, 0xdf, 0x72, 0xaa, 0x97, 0x13, 0x0d, 0x5c, 0x7a,
1494 0x8f, 0xf8, 0x0b, 0x64, 0xac, 0x03, 0xfa, 0x15, 0x4c, 0xc7, 0x9e, 0x92, 0xe8, 0xd9, 0x7e, 0x5e,
1495 0xba, 0xc0, 0x17, 0x7f, 0x75, 0xba, 0xec, 0x0a, 0x56, 0x3d, 0x2c, 0xec, 0xf5, 0x9c, 0xaa, 0xe7,
1496 0x2b, 0xbf, 0xa6, 0x7a, 0xa8, 0x06, 0x7f, 0x23, 0xe5, 0x0c, 0x3c, 0x2d, 0x07, 0x7f, 0xe6, 0xe8,
1497 0xfe, 0xc4, 0xe8, 0x50, 0x2f, 0x00, 0x7e, 0xa5, 0x83, 0x82, 0xce, 0x17, 0xc2, 0x08, 0x79, 0xfd,
1498 0x80, 0x22, 0x72, 0xc0, 0xc1, 0x7f, 0x3b, 0x09, 0x38, 0x2b, 0x30, 0xec, 0x3f, 0x20, 0x2f, 0x75,
1499 0xb2, 0x88, 0x94, 0x09, 0xaf, 0x2d, 0xa2, 0xf0, 0x1c, 0xe6, 0x90, 0x09, 0xbf, 0x03, 0x3e, 0x15,
1500 0x99, 0x28, 0x51, 0x31, 0x32, 0x29, 0x05, 0x94, 0xac, 0xa3, 0xc9, 0x47, 0x06, 0x50, 0x78, 0x51,
1501 0xcb, 0x46, 0x46, 0x09, 0x3a, 0xdf, 0xc9, 0xa6, 0x82, 0xaf, 0x55, 0xa5, 0x77, 0x9c, 0xe8, 0xf5,
1502 0xe4, 0x44, 0xa8, 0x0e, 0x01, 0x61, 0xa5, 0x63, 0xbc, 0xe8, 0x74, 0x49, 0x65, 0x94, 0x98, 0x97,
1503 0xa9, 0xf7, 0x39, 0xe6, 0xaf, 0x02, 0xcc, 0x6a, 0x93, 0x32, 0x7f, 0xb5, 0x2b, 0xce, 0x23, 0xb2,
1504 0x1c, 0x77, 0xa3, 0xf8, 0x52, 0x2c, 0xfb, 0x31, 0xdb, 0x6c, 0x1d, 0x4f, 0x85, 0x4b, 0x3c, 0x9a,
1505 0xae, 0xde, 0x67, 0x64, 0x1d, 0x92, 0xb4, 0x81, 0xe8, 0x15, 0x79, 0x45, 0x3e, 0x9e, 0x0a, 0x1d,
1506 0x8e, 0x86, 0x3b, 0x2e, 0x1b, 0x92, 0xce, 0x97, 0x7f, 0xb2, 0xcd, 0x82, 0x6c, 0x48, 0xfa, 0xd8,
1507 0x1f, 0x12, 0xf8, 0x99, 0x3e, 0xf1, 0x3e, 0xdb, 0x28, 0x1c, 0x4f, 0x85, 0x84, 0x07, 0xe1, 0xc9,
1508 0x3d, 0x20, 0x24, 0x4d, 0x61, 0x13, 0x3a, 0x61, 0x3b, 0x93, 0xe3, 0xa9, 0x70, 0x11, 0x32, 0xd8,
1509 0xec, 0x44, 0x3d, 0x0e, 0x7c, 0x77, 0xc0, 0x76, 0x8d, 0xa8, 0xc7, 0x81, 0x9f, 0x11, 0x81, 0xa4,
1510 0x87, 0x6c, 0xbf, 0x24, 0x89, 0x40, 0x9c, 0x12, 0x27, 0x15, 0xe6, 0x15, 0xdb, 0x2b, 0x49, 0x9c,
1511 0x54, 0x61, 0x7f, 0x11, 0xad, 0xe1, 0x8f, 0xf0, 0x7b, 0xee, 0xb7, 0x7d, 0xd9, 0x74, 0xf6, 0xe3,
1512 0x5e, 0x83, 0x94, 0xf0, 0xa0, 0x2d, 0x13, 0xab, 0x91, 0x6e, 0xb7, 0xad, 0x86, 0x53, 0x27, 0x4b,
1513 0xe7, 0x71, 0x3f, 0x3a, 0x1f, 0xf6, 0x93, 0xd6, 0x55, 0xc4, 0xf7, 0xd7, 0x4b, 0xbb, 0xf4, 0x2e,
1514 0xb6, 0x50, 0xbd, 0xe9, 0xde, 0xcf, 0xa4, 0x84, 0x36, 0x4c, 0x40, 0xb1, 0x96, 0x52, 0xb0, 0xcb,
1515 0xe8, 0x5d, 0x0e, 0x2e, 0xef, 0x88, 0xcb, 0x6f, 0x89, 0x33, 0xfa, 0x2e, 0xe3, 0x94, 0x89, 0xfd,
1516 0x8f, 0xe8, 0x3a, 0x6d, 0x27, 0xfb, 0xea, 0xac, 0x93, 0xd9, 0xab, 0x46, 0x7b, 0x08, 0x6d, 0x9c,
1517 0x0d, 0xe1, 0xc7, 0xab, 0xe9, 0x17, 0x56, 0x86, 0xa0, 0xbe, 0xb0, 0xa8, 0x08, 0xb6, 0x01, 0xc1,
1518 0x56, 0x11, 0xea, 0x64, 0xdd, 0xf4, 0x4e, 0xa2, 0x62, 0x94, 0x0c, 0x18, 0x25, 0x33, 0x06, 0x7a,
1519 0xe9, 0x50, 0x31, 0x66, 0x0c, 0x18, 0x33, 0xa3, 0x18, 0x23, 0x6f, 0x15, 0x2a, 0xc6, 0x9a, 0x01,
1520 0x63, 0xcd, 0x8c, 0x81, 0x5e, 0x1b, 0x54, 0x0c, 0xc7, 0x80, 0xe1, 0xa8, 0x18, 0x07, 0xa4, 0x62,
1521 0x7e, 0x2b, 0x50, 0x51, 0xe6, 0x0d, 0x28, 0xf3, 0x63, 0x50, 0x70, 0xc9, 0x57, 0x51, 0xe6, 0x0c,
1522 0x28, 0x73, 0x2a, 0xca, 0x11, 0x71, 0xc7, 0x55, 0x73, 0x15, 0x67, 0xd5, 0x80, 0xb3, 0x3a, 0x0e,
1523 0x47, 0x2b, 0xd3, 0x2a, 0x4e, 0xd9, 0x80, 0x53, 0x36, 0xce, 0x36, 0xb5, 0x0a, 0xdf, 0x35, 0x5f,
1524 0xa7, 0x55, 0x84, 0x7d, 0xf2, 0x93, 0xa1, 0xd2, 0xde, 0x05, 0x61, 0xa9, 0x10, 0x6f, 0x48, 0x59,
1525 0xaf, 0xa7, 0xea, 0xfd, 0x0b, 0x86, 0xfb, 0x17, 0x0c, 0x93, 0x44, 0x2f, 0x9a, 0x2a, 0xc6, 0xa2,
1526 0x01, 0x63, 0x71, 0xb4, 0x1b, 0x7a, 0x59, 0xbc, 0x0b, 0x62, 0x59, 0x85, 0xb8, 0x26, 0x5b, 0xb7,
1527 0x14, 0x3c, 0x03, 0xd4, 0x81, 0x0a, 0x95, 0x7f, 0x97, 0xa7, 0x50, 0x27, 0x30, 0x1d, 0x4c, 0x55,
1528 0xcf, 0xc0, 0xbb, 0xaf, 0xf2, 0xe6, 0xdc, 0xf8, 0x65, 0xa4, 0xdb, 0x2f, 0x09, 0x51, 0xea, 0xe8,
1529 0x3c, 0xb1, 0x8f, 0x3e, 0x7d, 0x2a, 0x4f, 0xb1, 0x2f, 0xf5, 0xfd, 0xb0, 0x6c, 0xc1, 0x97, 0xaf,
1530 0xe5, 0x69, 0xd6, 0x82, 0x8f, 0x87, 0xef, 0xca, 0xff, 0x13, 0xff, 0xac, 0x7a, 0x49, 0x56, 0x97,
1531 0x56, 0xd4, 0xbe, 0xd8, 0xfe, 0x99, 0xac, 0xa5, 0x7c, 0x87, 0x3f, 0x06, 0x51, 0x37, 0x69, 0xc5,
1532 0xdd, 0xe4, 0xd9, 0xc2, 0x82, 0x55, 0xbe, 0xb9, 0xb9, 0xb9, 0x99, 0xde, 0x7e, 0x42, 0xaa, 0x68,
1533 0x49, 0x3e, 0x8d, 0x44, 0x16, 0x5e, 0x9c, 0x59, 0x22, 0x5a, 0x9c, 0xf5, 0x44, 0xb1, 0x4c, 0xbf,
1534 0x3a, 0x25, 0x2e, 0x3e, 0xb2, 0x55, 0x32, 0x1f, 0xdf, 0x32, 0x1c, 0x59, 0xf3, 0xd2, 0x99, 0x5d,
1535 0x41, 0x67, 0xbc, 0xf2, 0xb2, 0x4e, 0x10, 0xf8, 0xf9, 0x09, 0x60, 0x5d, 0xaf, 0xa0, 0xd3, 0xe1,
1536 0x8c, 0xa0, 0x41, 0x36, 0xb5, 0x63, 0xe2, 0xfc, 0x0c, 0x70, 0xae, 0x5c, 0xc5, 0xe7, 0xca, 0xe3,
1537 0x29, 0x8a, 0x74, 0x02, 0x4e, 0xa4, 0xab, 0xf8, 0x44, 0xda, 0x4c, 0x91, 0x14, 0xec, 0x05, 0x9c,
1538 0x65, 0x57, 0xf1, 0x59, 0xf6, 0x78, 0x8a, 0x22, 0xbd, 0x80, 0x53, 0xf0, 0x2a, 0x3e, 0x05, 0xcf,
1539 0x28, 0xce, 0xc9, 0x3d, 0xfd, 0x38, 0x3c, 0x3f, 0x07, 0x9c, 0x9f, 0xbb, 0xda, 0xf9, 0xf9, 0x2d,
1540 0x24, 0x45, 0x3a, 0x02, 0x27, 0xef, 0xae, 0x76, 0xf2, 0x9e, 0x91, 0x44, 0x64, 0x6b, 0xe4, 0x08,
1541 0x3e, 0x3f, 0x0b, 0x9c, 0xd9, 0x6f, 0xea, 0x67, 0xf6, 0xb7, 0xd1, 0x14, 0xe9, 0x0c, 0x9c, 0xf6,
1542 0x6f, 0xea, 0xa7, 0xfd, 0x66, 0x11, 0xf2, 0xd7, 0xd8, 0xfc, 0x1c, 0xe0, 0x13, 0x54, 0x90, 0x4f,
1543 0x60, 0x9e, 0x5b, 0xf0, 0x12, 0x9c, 0x9f, 0x01, 0x1c, 0x86, 0x2a, 0x76, 0x18, 0x32, 0x8a, 0x6f,
1544 0xca, 0xf9, 0x3c, 0xdf, 0xa6, 0xe6, 0x26, 0x00, 0x6f, 0x62, 0x43, 0xf5, 0x26, 0xc6, 0xa8, 0x03,
1545 0xb6, 0x5c, 0xb9, 0x09, 0xc0, 0xd5, 0xa8, 0x62, 0x57, 0xc3, 0xfc, 0x14, 0xf8, 0xae, 0x25, 0x3f,
1546 0x03, 0xf8, 0x21, 0x15, 0xe4, 0x87, 0x64, 0x04, 0xff, 0xb2, 0xb2, 0x31, 0x6a, 0x6a, 0xcb, 0xfe,
1547 0x84, 0x04, 0x60, 0xa5, 0x18, 0x0b, 0xe1, 0x98, 0xca, 0x93, 0xb5, 0x86, 0x53, 0x66, 0xad, 0xf9,
1548 0x8f, 0x45, 0x1e, 0x8e, 0x71, 0x54, 0xf2, 0xb7, 0xab, 0x98, 0x05, 0x73, 0xdf, 0x68, 0xc1, 0x64,
1549 0x4d, 0xfc, 0xb7, 0x45, 0xee, 0x9b, 0xcc, 0x98, 0xfc, 0xed, 0x2b, 0xe0, 0xde, 0x6c, 0x8d, 0xba,
1550 0x37, 0x68, 0xae, 0x60, 0x1b, 0x27, 0x7f, 0x93, 0xc0, 0xf7, 0xa9, 0x20, 0xdf, 0x67, 0x2c, 0x41,
1551 0x91, 0x65, 0x07, 0x1c, 0xa3, 0x0a, 0x72, 0x8c, 0x90, 0xa0, 0x34, 0xeb, 0x28, 0x3f, 0x03, 0x78,
1552 0x4d, 0x55, 0xec, 0x35, 0x8d, 0xa7, 0x28, 0xd2, 0x09, 0x70, 0xa9, 0xaa, 0xd8, 0xa5, 0x32, 0x53,
1553 0x14, 0xad, 0xcb, 0xe0, 0x6f, 0x55, 0xb1, 0xbf, 0x35, 0x9e, 0xa2, 0x48, 0x2f, 0xc0, 0x19, 0xab,
1554 0x62, 0x67, 0x0c, 0x95, 0x4c, 0xdd, 0x22, 0xcb, 0xcf, 0x01, 0x9e, 0x9a, 0xab, 0x79, 0x6a, 0xb7,
1555 0x90, 0x14, 0xe9, 0x08, 0xb8, 0x71, 0xae, 0xe6, 0xc6, 0xa1, 0x82, 0x39, 0x62, 0xcb, 0xe5, 0x67,
1556 0x01, 0x1f, 0x6f, 0x53, 0xf7, 0xf1, 0x6e, 0xa3, 0x29, 0xd2, 0x19, 0x70, 0x00, 0x37, 0x75, 0x07,
1557 0xd0, 0x2c, 0xc2, 0x82, 0x75, 0x19, 0xbc, 0xc3, 0x0a, 0xf2, 0x0e, 0xcd, 0x73, 0xab, 0x68, 0x5d,
1558 0x06, 0xd7, 0xb1, 0x8a, 0x5d, 0x47, 0x54, 0x97, 0x91, 0xfd, 0x98, 0x9f, 0x00, 0xfc, 0xca, 0x0d,
1559 0xd5, 0xaf, 0x1c, 0xa3, 0x8e, 0x82, 0x75, 0x19, 0x9c, 0xce, 0x2a, 0x76, 0x3a, 0xcd, 0x4f, 0xa1,
1560 0x60, 0x5d, 0x06, 0x8f, 0xb4, 0x82, 0x3c, 0x52, 0x5c, 0x97, 0x91, 0xd1, 0x99, 0x9f, 0x00, 0xec,
1561 0x55, 0x63, 0x7d, 0x19, 0xb3, 0xd1, 0xcb, 0x5a, 0x63, 0xa8, 0xcb, 0x63, 0x5c, 0xd6, 0xfc, 0xed,
1562 0x2a, 0x66, 0xcb, 0xde, 0x37, 0xda, 0xb2, 0xb8, 0x2e, 0x9b, 0x0c, 0xda, 0xfc, 0xed, 0x2b, 0xe0,
1563 0xe8, 0x6e, 0x8d, 0x3a, 0xba, 0x12, 0xb0, 0xfe, 0xe2, 0x6b, 0xd0, 0x6c, 0x0d, 0xfe, 0x3e, 0x3c,
1564 0xab, 0x9d, 0xc7, 0x9d, 0x9d, 0x66, 0xdc, 0x6e, 0x74, 0x9b, 0x3b, 0x1c, 0xf4, 0x6c, 0x78, 0xb9,
1565 0x73, 0xb5, 0xbb, 0xd3, 0xea, 0x0e, 0xa2, 0x7e, 0xb7, 0xd1, 0xde, 0x61, 0x1c, 0xfc, 0x42, 0xc2,
1566 0xbf, 0xfe, 0x3f, 0x00, 0x00, 0xff, 0xff, 0xf6, 0x2d, 0x9b, 0x88, 0x4e, 0x25, 0x00, 0x00,
Damien Neilba23aa52018-12-07 14:38:17 -08001567}
1568
1569func init() {
Joe Tsai5681bb22019-01-09 21:31:15 -08001570 xxx_Test_protoFile_FileDesc.Messages = xxx_Test_protoFile_MessageDescs[0:4]
1571 xxx_Test_protoFile_MessageDescs[0].Enums = xxx_Test_protoFile_EnumDescs[0:1]
1572 xxx_Test_protoFile_MessageDescs[0].Messages = xxx_Test_protoFile_MessageDescs[4:24]
1573 xxx_Test_protoFile_MessageDescs[0].Fields[15].MessageType = xxx_Test_protoFile_MessageTypes[5].Type
1574 xxx_Test_protoFile_MessageDescs[0].Fields[16].MessageType = xxx_Test_protoFile_MessageTypes[4].Type
1575 xxx_Test_protoFile_MessageDescs[0].Fields[17].EnumType = xxx_Test_protoFile_EnumTypes[0]
1576 xxx_Test_protoFile_MessageDescs[0].Fields[33].MessageType = xxx_Test_protoFile_MessageTypes[6].Type
1577 xxx_Test_protoFile_MessageDescs[0].Fields[34].MessageType = xxx_Test_protoFile_MessageTypes[4].Type
1578 xxx_Test_protoFile_MessageDescs[0].Fields[35].EnumType = xxx_Test_protoFile_EnumTypes[0]
1579 xxx_Test_protoFile_MessageDescs[0].Fields[36].MessageType = xxx_Test_protoFile_MessageDescs[7].Reference()
1580 xxx_Test_protoFile_MessageDescs[0].Fields[37].MessageType = xxx_Test_protoFile_MessageDescs[8].Reference()
1581 xxx_Test_protoFile_MessageDescs[0].Fields[38].MessageType = xxx_Test_protoFile_MessageDescs[9].Reference()
1582 xxx_Test_protoFile_MessageDescs[0].Fields[39].MessageType = xxx_Test_protoFile_MessageDescs[10].Reference()
1583 xxx_Test_protoFile_MessageDescs[0].Fields[40].MessageType = xxx_Test_protoFile_MessageDescs[11].Reference()
1584 xxx_Test_protoFile_MessageDescs[0].Fields[41].MessageType = xxx_Test_protoFile_MessageDescs[12].Reference()
1585 xxx_Test_protoFile_MessageDescs[0].Fields[42].MessageType = xxx_Test_protoFile_MessageDescs[13].Reference()
1586 xxx_Test_protoFile_MessageDescs[0].Fields[43].MessageType = xxx_Test_protoFile_MessageDescs[14].Reference()
1587 xxx_Test_protoFile_MessageDescs[0].Fields[44].MessageType = xxx_Test_protoFile_MessageDescs[15].Reference()
1588 xxx_Test_protoFile_MessageDescs[0].Fields[45].MessageType = xxx_Test_protoFile_MessageDescs[16].Reference()
1589 xxx_Test_protoFile_MessageDescs[0].Fields[46].MessageType = xxx_Test_protoFile_MessageDescs[17].Reference()
1590 xxx_Test_protoFile_MessageDescs[0].Fields[47].MessageType = xxx_Test_protoFile_MessageDescs[18].Reference()
1591 xxx_Test_protoFile_MessageDescs[0].Fields[48].MessageType = xxx_Test_protoFile_MessageDescs[19].Reference()
1592 xxx_Test_protoFile_MessageDescs[0].Fields[49].MessageType = xxx_Test_protoFile_MessageDescs[20].Reference()
1593 xxx_Test_protoFile_MessageDescs[0].Fields[50].MessageType = xxx_Test_protoFile_MessageDescs[21].Reference()
1594 xxx_Test_protoFile_MessageDescs[0].Fields[51].MessageType = xxx_Test_protoFile_MessageDescs[22].Reference()
1595 xxx_Test_protoFile_MessageDescs[0].Fields[52].MessageType = xxx_Test_protoFile_MessageDescs[23].Reference()
1596 xxx_Test_protoFile_MessageDescs[0].Fields[54].MessageType = xxx_Test_protoFile_MessageTypes[4].Type
1597 xxx_Test_protoFile_MessageDescs[0].Fields[61].EnumType = xxx_Test_protoFile_EnumTypes[0]
1598 xxx_Test_protoFile_MessageDescs[4].Fields[1].MessageType = xxx_Test_protoFile_MessageTypes[0].Type
1599 xxx_Test_protoFile_MessageDescs[22].Fields[1].MessageType = xxx_Test_protoFile_MessageTypes[4].Type
1600 xxx_Test_protoFile_MessageDescs[23].Fields[1].EnumType = xxx_Test_protoFile_EnumTypes[0]
Damien Neilba23aa52018-12-07 14:38:17 -08001601 var err error
Joe Tsai5681bb22019-01-09 21:31:15 -08001602 Test_protoFile, err = prototype.NewFile(&xxx_Test_protoFile_FileDesc)
Damien Neilba23aa52018-12-07 14:38:17 -08001603 if err != nil {
1604 panic(err)
1605 }
1606}
1607
1608const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
1609
Joe Tsai5681bb22019-01-09 21:31:15 -08001610var Test_protoFile protoreflect.FileDescriptor
Damien Neilba23aa52018-12-07 14:38:17 -08001611
Joe Tsai5681bb22019-01-09 21:31:15 -08001612var xxx_Test_protoFile_FileDesc = prototype.File{
Damien Neilba23aa52018-12-07 14:38:17 -08001613 Syntax: protoreflect.Proto2,
1614 Path: "test.proto",
1615 Package: "goproto.proto.test",
1616}
Joe Tsai5681bb22019-01-09 21:31:15 -08001617var xxx_Test_protoFile_EnumTypes = [1]protoreflect.EnumType{
Damien Neilba23aa52018-12-07 14:38:17 -08001618 prototype.GoEnum(
Joe Tsai5681bb22019-01-09 21:31:15 -08001619 xxx_Test_protoFile_EnumDescs[0].Reference(),
Damien Neila8593ba2019-01-08 16:18:07 -08001620 func(_ protoreflect.EnumType, n protoreflect.EnumNumber) protoreflect.Enum {
Damien Neilba23aa52018-12-07 14:38:17 -08001621 return TestAllTypes_NestedEnum(n)
1622 },
1623 ),
1624}
Joe Tsai5681bb22019-01-09 21:31:15 -08001625var xxx_Test_protoFile_EnumDescs = [1]prototype.Enum{
Damien Neilba23aa52018-12-07 14:38:17 -08001626 {
1627 Name: "NestedEnum",
1628 Values: []prototype.EnumValue{
1629 {Name: "FOO", Number: 0},
1630 {Name: "BAR", Number: 1},
1631 {Name: "BAZ", Number: 2},
1632 {Name: "NEG", Number: -1},
1633 },
1634 },
1635}
Joe Tsai5681bb22019-01-09 21:31:15 -08001636var xxx_Test_protoFile_MessageTypes = [24]protoimpl.MessageType{
Damien Neilba23aa52018-12-07 14:38:17 -08001637 {Type: prototype.GoMessage(
Joe Tsai5681bb22019-01-09 21:31:15 -08001638 xxx_Test_protoFile_MessageDescs[0].Reference(),
Joe Tsai3bc7d6f2019-01-09 02:57:13 -08001639 func(protoreflect.MessageType) protoreflect.Message {
1640 return xxx_TestAllTypes{new(TestAllTypes)}
Damien Neilba23aa52018-12-07 14:38:17 -08001641 },
1642 )},
1643 {Type: prototype.GoMessage(
Joe Tsai5681bb22019-01-09 21:31:15 -08001644 xxx_Test_protoFile_MessageDescs[1].Reference(),
Joe Tsai3bc7d6f2019-01-09 02:57:13 -08001645 func(protoreflect.MessageType) protoreflect.Message {
1646 return xxx_TestAllExtensions{new(TestAllExtensions)}
Damien Neilba23aa52018-12-07 14:38:17 -08001647 },
1648 )},
1649 {Type: prototype.GoMessage(
Joe Tsai5681bb22019-01-09 21:31:15 -08001650 xxx_Test_protoFile_MessageDescs[2].Reference(),
Joe Tsai3bc7d6f2019-01-09 02:57:13 -08001651 func(protoreflect.MessageType) protoreflect.Message {
1652 return xxx_OptionalGroupExtension{new(OptionalGroupExtension)}
Damien Neilba23aa52018-12-07 14:38:17 -08001653 },
1654 )},
1655 {Type: prototype.GoMessage(
Joe Tsai5681bb22019-01-09 21:31:15 -08001656 xxx_Test_protoFile_MessageDescs[3].Reference(),
Joe Tsai3bc7d6f2019-01-09 02:57:13 -08001657 func(protoreflect.MessageType) protoreflect.Message {
1658 return xxx_RepeatedGroupExtension{new(RepeatedGroupExtension)}
Damien Neilba23aa52018-12-07 14:38:17 -08001659 },
1660 )},
1661 {Type: prototype.GoMessage(
Joe Tsai5681bb22019-01-09 21:31:15 -08001662 xxx_Test_protoFile_MessageDescs[4].Reference(),
Joe Tsai3bc7d6f2019-01-09 02:57:13 -08001663 func(protoreflect.MessageType) protoreflect.Message {
1664 return xxx_TestAllTypes_NestedMessage{new(TestAllTypes_NestedMessage)}
Damien Neilba23aa52018-12-07 14:38:17 -08001665 },
1666 )},
1667 {Type: prototype.GoMessage(
Joe Tsai5681bb22019-01-09 21:31:15 -08001668 xxx_Test_protoFile_MessageDescs[5].Reference(),
Joe Tsai3bc7d6f2019-01-09 02:57:13 -08001669 func(protoreflect.MessageType) protoreflect.Message {
1670 return xxx_TestAllTypes_OptionalGroup{new(TestAllTypes_OptionalGroup)}
Damien Neilba23aa52018-12-07 14:38:17 -08001671 },
1672 )},
1673 {Type: prototype.GoMessage(
Joe Tsai5681bb22019-01-09 21:31:15 -08001674 xxx_Test_protoFile_MessageDescs[6].Reference(),
Joe Tsai3bc7d6f2019-01-09 02:57:13 -08001675 func(protoreflect.MessageType) protoreflect.Message {
1676 return xxx_TestAllTypes_RepeatedGroup{new(TestAllTypes_RepeatedGroup)}
Damien Neilba23aa52018-12-07 14:38:17 -08001677 },
1678 )},
1679 { /* no message type for TestAllTypes_MapInt32Int32Entry */ },
1680 { /* no message type for TestAllTypes_MapInt64Int64Entry */ },
1681 { /* no message type for TestAllTypes_MapUint32Uint32Entry */ },
1682 { /* no message type for TestAllTypes_MapUint64Uint64Entry */ },
1683 { /* no message type for TestAllTypes_MapSint32Sint32Entry */ },
1684 { /* no message type for TestAllTypes_MapSint64Sint64Entry */ },
1685 { /* no message type for TestAllTypes_MapFixed32Fixed32Entry */ },
1686 { /* no message type for TestAllTypes_MapFixed64Fixed64Entry */ },
1687 { /* no message type for TestAllTypes_MapSfixed32Sfixed32Entry */ },
1688 { /* no message type for TestAllTypes_MapSfixed64Sfixed64Entry */ },
1689 { /* no message type for TestAllTypes_MapInt32FloatEntry */ },
1690 { /* no message type for TestAllTypes_MapInt32DoubleEntry */ },
1691 { /* no message type for TestAllTypes_MapBoolBoolEntry */ },
1692 { /* no message type for TestAllTypes_MapStringStringEntry */ },
1693 { /* no message type for TestAllTypes_MapStringBytesEntry */ },
1694 { /* no message type for TestAllTypes_MapStringNestedMessageEntry */ },
1695 { /* no message type for TestAllTypes_MapStringNestedEnumEntry */ },
1696}
Joe Tsai5681bb22019-01-09 21:31:15 -08001697var xxx_Test_protoFile_MessageDescs = [24]prototype.Message{
Damien Neilba23aa52018-12-07 14:38:17 -08001698 {
1699 Name: "TestAllTypes",
1700 Fields: []prototype.Field{
1701 {
1702 Name: "optional_int32",
1703 Number: 1,
1704 Cardinality: protoreflect.Optional,
1705 Kind: protoreflect.Int32Kind,
1706 JSONName: "optionalInt32",
1707 IsPacked: prototype.False,
1708 },
1709 {
1710 Name: "optional_int64",
1711 Number: 2,
1712 Cardinality: protoreflect.Optional,
1713 Kind: protoreflect.Int64Kind,
1714 JSONName: "optionalInt64",
1715 IsPacked: prototype.False,
1716 },
1717 {
1718 Name: "optional_uint32",
1719 Number: 3,
1720 Cardinality: protoreflect.Optional,
1721 Kind: protoreflect.Uint32Kind,
1722 JSONName: "optionalUint32",
1723 IsPacked: prototype.False,
1724 },
1725 {
1726 Name: "optional_uint64",
1727 Number: 4,
1728 Cardinality: protoreflect.Optional,
1729 Kind: protoreflect.Uint64Kind,
1730 JSONName: "optionalUint64",
1731 IsPacked: prototype.False,
1732 },
1733 {
1734 Name: "optional_sint32",
1735 Number: 5,
1736 Cardinality: protoreflect.Optional,
1737 Kind: protoreflect.Sint32Kind,
1738 JSONName: "optionalSint32",
1739 IsPacked: prototype.False,
1740 },
1741 {
1742 Name: "optional_sint64",
1743 Number: 6,
1744 Cardinality: protoreflect.Optional,
1745 Kind: protoreflect.Sint64Kind,
1746 JSONName: "optionalSint64",
1747 IsPacked: prototype.False,
1748 },
1749 {
1750 Name: "optional_fixed32",
1751 Number: 7,
1752 Cardinality: protoreflect.Optional,
1753 Kind: protoreflect.Fixed32Kind,
1754 JSONName: "optionalFixed32",
1755 IsPacked: prototype.False,
1756 },
1757 {
1758 Name: "optional_fixed64",
1759 Number: 8,
1760 Cardinality: protoreflect.Optional,
1761 Kind: protoreflect.Fixed64Kind,
1762 JSONName: "optionalFixed64",
1763 IsPacked: prototype.False,
1764 },
1765 {
1766 Name: "optional_sfixed32",
1767 Number: 9,
1768 Cardinality: protoreflect.Optional,
1769 Kind: protoreflect.Sfixed32Kind,
1770 JSONName: "optionalSfixed32",
1771 IsPacked: prototype.False,
1772 },
1773 {
1774 Name: "optional_sfixed64",
1775 Number: 10,
1776 Cardinality: protoreflect.Optional,
1777 Kind: protoreflect.Sfixed64Kind,
1778 JSONName: "optionalSfixed64",
1779 IsPacked: prototype.False,
1780 },
1781 {
1782 Name: "optional_float",
1783 Number: 11,
1784 Cardinality: protoreflect.Optional,
1785 Kind: protoreflect.FloatKind,
1786 JSONName: "optionalFloat",
1787 IsPacked: prototype.False,
1788 },
1789 {
1790 Name: "optional_double",
1791 Number: 12,
1792 Cardinality: protoreflect.Optional,
1793 Kind: protoreflect.DoubleKind,
1794 JSONName: "optionalDouble",
1795 IsPacked: prototype.False,
1796 },
1797 {
1798 Name: "optional_bool",
1799 Number: 13,
1800 Cardinality: protoreflect.Optional,
1801 Kind: protoreflect.BoolKind,
1802 JSONName: "optionalBool",
1803 IsPacked: prototype.False,
1804 },
1805 {
1806 Name: "optional_string",
1807 Number: 14,
1808 Cardinality: protoreflect.Optional,
1809 Kind: protoreflect.StringKind,
1810 JSONName: "optionalString",
1811 IsPacked: prototype.False,
1812 },
1813 {
1814 Name: "optional_bytes",
1815 Number: 15,
1816 Cardinality: protoreflect.Optional,
1817 Kind: protoreflect.BytesKind,
1818 JSONName: "optionalBytes",
1819 IsPacked: prototype.False,
1820 },
1821 {
1822 Name: "optionalgroup",
1823 Number: 16,
1824 Cardinality: protoreflect.Optional,
1825 Kind: protoreflect.GroupKind,
1826 JSONName: "optionalgroup",
1827 IsPacked: prototype.False,
1828 },
1829 {
1830 Name: "optional_nested_message",
1831 Number: 18,
1832 Cardinality: protoreflect.Optional,
1833 Kind: protoreflect.MessageKind,
1834 JSONName: "optionalNestedMessage",
1835 IsPacked: prototype.False,
1836 },
1837 {
1838 Name: "optional_nested_enum",
1839 Number: 21,
1840 Cardinality: protoreflect.Optional,
1841 Kind: protoreflect.EnumKind,
1842 JSONName: "optionalNestedEnum",
1843 IsPacked: prototype.False,
1844 },
1845 {
1846 Name: "repeated_int32",
1847 Number: 31,
1848 Cardinality: protoreflect.Repeated,
1849 Kind: protoreflect.Int32Kind,
1850 JSONName: "repeatedInt32",
1851 IsPacked: prototype.False,
1852 },
1853 {
1854 Name: "repeated_int64",
1855 Number: 32,
1856 Cardinality: protoreflect.Repeated,
1857 Kind: protoreflect.Int64Kind,
1858 JSONName: "repeatedInt64",
1859 IsPacked: prototype.False,
1860 },
1861 {
1862 Name: "repeated_uint32",
1863 Number: 33,
1864 Cardinality: protoreflect.Repeated,
1865 Kind: protoreflect.Uint32Kind,
1866 JSONName: "repeatedUint32",
1867 IsPacked: prototype.False,
1868 },
1869 {
1870 Name: "repeated_uint64",
1871 Number: 34,
1872 Cardinality: protoreflect.Repeated,
1873 Kind: protoreflect.Uint64Kind,
1874 JSONName: "repeatedUint64",
1875 IsPacked: prototype.False,
1876 },
1877 {
1878 Name: "repeated_sint32",
1879 Number: 35,
1880 Cardinality: protoreflect.Repeated,
1881 Kind: protoreflect.Sint32Kind,
1882 JSONName: "repeatedSint32",
1883 IsPacked: prototype.False,
1884 },
1885 {
1886 Name: "repeated_sint64",
1887 Number: 36,
1888 Cardinality: protoreflect.Repeated,
1889 Kind: protoreflect.Sint64Kind,
1890 JSONName: "repeatedSint64",
1891 IsPacked: prototype.False,
1892 },
1893 {
1894 Name: "repeated_fixed32",
1895 Number: 37,
1896 Cardinality: protoreflect.Repeated,
1897 Kind: protoreflect.Fixed32Kind,
1898 JSONName: "repeatedFixed32",
1899 IsPacked: prototype.False,
1900 },
1901 {
1902 Name: "repeated_fixed64",
1903 Number: 38,
1904 Cardinality: protoreflect.Repeated,
1905 Kind: protoreflect.Fixed64Kind,
1906 JSONName: "repeatedFixed64",
1907 IsPacked: prototype.False,
1908 },
1909 {
1910 Name: "repeated_sfixed32",
1911 Number: 39,
1912 Cardinality: protoreflect.Repeated,
1913 Kind: protoreflect.Sfixed32Kind,
1914 JSONName: "repeatedSfixed32",
1915 IsPacked: prototype.False,
1916 },
1917 {
1918 Name: "repeated_sfixed64",
1919 Number: 40,
1920 Cardinality: protoreflect.Repeated,
1921 Kind: protoreflect.Sfixed64Kind,
1922 JSONName: "repeatedSfixed64",
1923 IsPacked: prototype.False,
1924 },
1925 {
1926 Name: "repeated_float",
1927 Number: 41,
1928 Cardinality: protoreflect.Repeated,
1929 Kind: protoreflect.FloatKind,
1930 JSONName: "repeatedFloat",
1931 IsPacked: prototype.False,
1932 },
1933 {
1934 Name: "repeated_double",
1935 Number: 42,
1936 Cardinality: protoreflect.Repeated,
1937 Kind: protoreflect.DoubleKind,
1938 JSONName: "repeatedDouble",
1939 IsPacked: prototype.False,
1940 },
1941 {
1942 Name: "repeated_bool",
1943 Number: 43,
1944 Cardinality: protoreflect.Repeated,
1945 Kind: protoreflect.BoolKind,
1946 JSONName: "repeatedBool",
1947 IsPacked: prototype.False,
1948 },
1949 {
1950 Name: "repeated_string",
1951 Number: 44,
1952 Cardinality: protoreflect.Repeated,
1953 Kind: protoreflect.StringKind,
1954 JSONName: "repeatedString",
1955 IsPacked: prototype.False,
1956 },
1957 {
1958 Name: "repeated_bytes",
1959 Number: 45,
1960 Cardinality: protoreflect.Repeated,
1961 Kind: protoreflect.BytesKind,
1962 JSONName: "repeatedBytes",
1963 IsPacked: prototype.False,
1964 },
1965 {
1966 Name: "repeatedgroup",
1967 Number: 46,
1968 Cardinality: protoreflect.Repeated,
1969 Kind: protoreflect.GroupKind,
1970 JSONName: "repeatedgroup",
1971 IsPacked: prototype.False,
1972 },
1973 {
1974 Name: "repeated_nested_message",
1975 Number: 48,
1976 Cardinality: protoreflect.Repeated,
1977 Kind: protoreflect.MessageKind,
1978 JSONName: "repeatedNestedMessage",
1979 IsPacked: prototype.False,
1980 },
1981 {
1982 Name: "repeated_nested_enum",
1983 Number: 51,
1984 Cardinality: protoreflect.Repeated,
1985 Kind: protoreflect.EnumKind,
1986 JSONName: "repeatedNestedEnum",
1987 IsPacked: prototype.False,
1988 },
1989 {
1990 Name: "map_int32_int32",
1991 Number: 56,
1992 Cardinality: protoreflect.Repeated,
1993 Kind: protoreflect.MessageKind,
1994 JSONName: "mapInt32Int32",
1995 IsPacked: prototype.False,
1996 },
1997 {
1998 Name: "map_int64_int64",
1999 Number: 57,
2000 Cardinality: protoreflect.Repeated,
2001 Kind: protoreflect.MessageKind,
2002 JSONName: "mapInt64Int64",
2003 IsPacked: prototype.False,
2004 },
2005 {
2006 Name: "map_uint32_uint32",
2007 Number: 58,
2008 Cardinality: protoreflect.Repeated,
2009 Kind: protoreflect.MessageKind,
2010 JSONName: "mapUint32Uint32",
2011 IsPacked: prototype.False,
2012 },
2013 {
2014 Name: "map_uint64_uint64",
2015 Number: 59,
2016 Cardinality: protoreflect.Repeated,
2017 Kind: protoreflect.MessageKind,
2018 JSONName: "mapUint64Uint64",
2019 IsPacked: prototype.False,
2020 },
2021 {
2022 Name: "map_sint32_sint32",
2023 Number: 60,
2024 Cardinality: protoreflect.Repeated,
2025 Kind: protoreflect.MessageKind,
2026 JSONName: "mapSint32Sint32",
2027 IsPacked: prototype.False,
2028 },
2029 {
2030 Name: "map_sint64_sint64",
2031 Number: 61,
2032 Cardinality: protoreflect.Repeated,
2033 Kind: protoreflect.MessageKind,
2034 JSONName: "mapSint64Sint64",
2035 IsPacked: prototype.False,
2036 },
2037 {
2038 Name: "map_fixed32_fixed32",
2039 Number: 62,
2040 Cardinality: protoreflect.Repeated,
2041 Kind: protoreflect.MessageKind,
2042 JSONName: "mapFixed32Fixed32",
2043 IsPacked: prototype.False,
2044 },
2045 {
2046 Name: "map_fixed64_fixed64",
2047 Number: 63,
2048 Cardinality: protoreflect.Repeated,
2049 Kind: protoreflect.MessageKind,
2050 JSONName: "mapFixed64Fixed64",
2051 IsPacked: prototype.False,
2052 },
2053 {
2054 Name: "map_sfixed32_sfixed32",
2055 Number: 64,
2056 Cardinality: protoreflect.Repeated,
2057 Kind: protoreflect.MessageKind,
2058 JSONName: "mapSfixed32Sfixed32",
2059 IsPacked: prototype.False,
2060 },
2061 {
2062 Name: "map_sfixed64_sfixed64",
2063 Number: 65,
2064 Cardinality: protoreflect.Repeated,
2065 Kind: protoreflect.MessageKind,
2066 JSONName: "mapSfixed64Sfixed64",
2067 IsPacked: prototype.False,
2068 },
2069 {
2070 Name: "map_int32_float",
2071 Number: 66,
2072 Cardinality: protoreflect.Repeated,
2073 Kind: protoreflect.MessageKind,
2074 JSONName: "mapInt32Float",
2075 IsPacked: prototype.False,
2076 },
2077 {
2078 Name: "map_int32_double",
2079 Number: 67,
2080 Cardinality: protoreflect.Repeated,
2081 Kind: protoreflect.MessageKind,
2082 JSONName: "mapInt32Double",
2083 IsPacked: prototype.False,
2084 },
2085 {
2086 Name: "map_bool_bool",
2087 Number: 68,
2088 Cardinality: protoreflect.Repeated,
2089 Kind: protoreflect.MessageKind,
2090 JSONName: "mapBoolBool",
2091 IsPacked: prototype.False,
2092 },
2093 {
2094 Name: "map_string_string",
2095 Number: 69,
2096 Cardinality: protoreflect.Repeated,
2097 Kind: protoreflect.MessageKind,
2098 JSONName: "mapStringString",
2099 IsPacked: prototype.False,
2100 },
2101 {
2102 Name: "map_string_bytes",
2103 Number: 70,
2104 Cardinality: protoreflect.Repeated,
2105 Kind: protoreflect.MessageKind,
2106 JSONName: "mapStringBytes",
2107 IsPacked: prototype.False,
2108 },
2109 {
2110 Name: "map_string_nested_message",
2111 Number: 71,
2112 Cardinality: protoreflect.Repeated,
2113 Kind: protoreflect.MessageKind,
2114 JSONName: "mapStringNestedMessage",
2115 IsPacked: prototype.False,
2116 },
2117 {
2118 Name: "map_string_nested_enum",
2119 Number: 73,
2120 Cardinality: protoreflect.Repeated,
2121 Kind: protoreflect.MessageKind,
2122 JSONName: "mapStringNestedEnum",
2123 IsPacked: prototype.False,
2124 },
2125 {
2126 Name: "oneof_uint32",
2127 Number: 111,
2128 Cardinality: protoreflect.Optional,
2129 Kind: protoreflect.Uint32Kind,
2130 JSONName: "oneofUint32",
2131 OneofName: "oneof_field",
2132 IsPacked: prototype.False,
2133 },
2134 {
2135 Name: "oneof_nested_message",
2136 Number: 112,
2137 Cardinality: protoreflect.Optional,
2138 Kind: protoreflect.MessageKind,
2139 JSONName: "oneofNestedMessage",
2140 OneofName: "oneof_field",
2141 IsPacked: prototype.False,
2142 },
2143 {
2144 Name: "oneof_string",
2145 Number: 113,
2146 Cardinality: protoreflect.Optional,
2147 Kind: protoreflect.StringKind,
2148 JSONName: "oneofString",
2149 OneofName: "oneof_field",
2150 IsPacked: prototype.False,
2151 },
2152 {
2153 Name: "oneof_bytes",
2154 Number: 114,
2155 Cardinality: protoreflect.Optional,
2156 Kind: protoreflect.BytesKind,
2157 JSONName: "oneofBytes",
2158 OneofName: "oneof_field",
2159 IsPacked: prototype.False,
2160 },
2161 {
2162 Name: "oneof_bool",
2163 Number: 115,
2164 Cardinality: protoreflect.Optional,
2165 Kind: protoreflect.BoolKind,
2166 JSONName: "oneofBool",
2167 OneofName: "oneof_field",
2168 IsPacked: prototype.False,
2169 },
2170 {
2171 Name: "oneof_uint64",
2172 Number: 116,
2173 Cardinality: protoreflect.Optional,
2174 Kind: protoreflect.Uint64Kind,
2175 JSONName: "oneofUint64",
2176 OneofName: "oneof_field",
2177 IsPacked: prototype.False,
2178 },
2179 {
2180 Name: "oneof_float",
2181 Number: 117,
2182 Cardinality: protoreflect.Optional,
2183 Kind: protoreflect.FloatKind,
2184 JSONName: "oneofFloat",
2185 OneofName: "oneof_field",
2186 IsPacked: prototype.False,
2187 },
2188 {
2189 Name: "oneof_double",
2190 Number: 118,
2191 Cardinality: protoreflect.Optional,
2192 Kind: protoreflect.DoubleKind,
2193 JSONName: "oneofDouble",
2194 OneofName: "oneof_field",
2195 IsPacked: prototype.False,
2196 },
2197 {
2198 Name: "oneof_enum",
2199 Number: 119,
2200 Cardinality: protoreflect.Optional,
2201 Kind: protoreflect.EnumKind,
2202 JSONName: "oneofEnum",
2203 OneofName: "oneof_field",
2204 IsPacked: prototype.False,
2205 },
2206 },
2207 Oneofs: []prototype.Oneof{
2208 {Name: "oneof_field"},
2209 },
2210 },
2211 {
2212 Name: "TestAllExtensions",
2213 ExtensionRanges: [][2]protoreflect.FieldNumber{{1, 536870912}},
2214 },
2215 {
2216 Name: "OptionalGroup_extension",
2217 Fields: []prototype.Field{
2218 {
2219 Name: "a",
2220 Number: 17,
2221 Cardinality: protoreflect.Optional,
2222 Kind: protoreflect.Int32Kind,
2223 JSONName: "a",
2224 IsPacked: prototype.False,
2225 },
2226 },
2227 },
2228 {
2229 Name: "RepeatedGroup_extension",
2230 Fields: []prototype.Field{
2231 {
2232 Name: "a",
2233 Number: 47,
2234 Cardinality: protoreflect.Optional,
2235 Kind: protoreflect.Int32Kind,
2236 JSONName: "a",
2237 IsPacked: prototype.False,
2238 },
2239 },
2240 },
2241 {
2242 Name: "NestedMessage",
2243 Fields: []prototype.Field{
2244 {
2245 Name: "a",
2246 Number: 1,
2247 Cardinality: protoreflect.Optional,
2248 Kind: protoreflect.Int32Kind,
2249 JSONName: "a",
2250 IsPacked: prototype.False,
2251 },
2252 {
2253 Name: "corecursive",
2254 Number: 2,
2255 Cardinality: protoreflect.Optional,
2256 Kind: protoreflect.MessageKind,
2257 JSONName: "corecursive",
2258 IsPacked: prototype.False,
2259 },
2260 },
2261 },
2262 {
2263 Name: "OptionalGroup",
2264 Fields: []prototype.Field{
2265 {
2266 Name: "a",
2267 Number: 17,
2268 Cardinality: protoreflect.Optional,
2269 Kind: protoreflect.Int32Kind,
2270 JSONName: "a",
2271 IsPacked: prototype.False,
2272 },
2273 },
2274 },
2275 {
2276 Name: "RepeatedGroup",
2277 Fields: []prototype.Field{
2278 {
2279 Name: "a",
2280 Number: 47,
2281 Cardinality: protoreflect.Optional,
2282 Kind: protoreflect.Int32Kind,
2283 JSONName: "a",
2284 IsPacked: prototype.False,
2285 },
2286 },
2287 },
2288 {
2289 Name: "MapInt32Int32Entry",
2290 Fields: []prototype.Field{
2291 {
2292 Name: "key",
2293 Number: 1,
2294 Cardinality: protoreflect.Optional,
2295 Kind: protoreflect.Int32Kind,
2296 JSONName: "key",
2297 IsPacked: prototype.False,
2298 },
2299 {
2300 Name: "value",
2301 Number: 2,
2302 Cardinality: protoreflect.Optional,
2303 Kind: protoreflect.Int32Kind,
2304 JSONName: "value",
2305 IsPacked: prototype.False,
2306 },
2307 },
2308 IsMapEntry: true,
2309 },
2310 {
2311 Name: "MapInt64Int64Entry",
2312 Fields: []prototype.Field{
2313 {
2314 Name: "key",
2315 Number: 1,
2316 Cardinality: protoreflect.Optional,
2317 Kind: protoreflect.Int64Kind,
2318 JSONName: "key",
2319 IsPacked: prototype.False,
2320 },
2321 {
2322 Name: "value",
2323 Number: 2,
2324 Cardinality: protoreflect.Optional,
2325 Kind: protoreflect.Int64Kind,
2326 JSONName: "value",
2327 IsPacked: prototype.False,
2328 },
2329 },
2330 IsMapEntry: true,
2331 },
2332 {
2333 Name: "MapUint32Uint32Entry",
2334 Fields: []prototype.Field{
2335 {
2336 Name: "key",
2337 Number: 1,
2338 Cardinality: protoreflect.Optional,
2339 Kind: protoreflect.Uint32Kind,
2340 JSONName: "key",
2341 IsPacked: prototype.False,
2342 },
2343 {
2344 Name: "value",
2345 Number: 2,
2346 Cardinality: protoreflect.Optional,
2347 Kind: protoreflect.Uint32Kind,
2348 JSONName: "value",
2349 IsPacked: prototype.False,
2350 },
2351 },
2352 IsMapEntry: true,
2353 },
2354 {
2355 Name: "MapUint64Uint64Entry",
2356 Fields: []prototype.Field{
2357 {
2358 Name: "key",
2359 Number: 1,
2360 Cardinality: protoreflect.Optional,
2361 Kind: protoreflect.Uint64Kind,
2362 JSONName: "key",
2363 IsPacked: prototype.False,
2364 },
2365 {
2366 Name: "value",
2367 Number: 2,
2368 Cardinality: protoreflect.Optional,
2369 Kind: protoreflect.Uint64Kind,
2370 JSONName: "value",
2371 IsPacked: prototype.False,
2372 },
2373 },
2374 IsMapEntry: true,
2375 },
2376 {
2377 Name: "MapSint32Sint32Entry",
2378 Fields: []prototype.Field{
2379 {
2380 Name: "key",
2381 Number: 1,
2382 Cardinality: protoreflect.Optional,
2383 Kind: protoreflect.Sint32Kind,
2384 JSONName: "key",
2385 IsPacked: prototype.False,
2386 },
2387 {
2388 Name: "value",
2389 Number: 2,
2390 Cardinality: protoreflect.Optional,
2391 Kind: protoreflect.Sint32Kind,
2392 JSONName: "value",
2393 IsPacked: prototype.False,
2394 },
2395 },
2396 IsMapEntry: true,
2397 },
2398 {
2399 Name: "MapSint64Sint64Entry",
2400 Fields: []prototype.Field{
2401 {
2402 Name: "key",
2403 Number: 1,
2404 Cardinality: protoreflect.Optional,
2405 Kind: protoreflect.Sint64Kind,
2406 JSONName: "key",
2407 IsPacked: prototype.False,
2408 },
2409 {
2410 Name: "value",
2411 Number: 2,
2412 Cardinality: protoreflect.Optional,
2413 Kind: protoreflect.Sint64Kind,
2414 JSONName: "value",
2415 IsPacked: prototype.False,
2416 },
2417 },
2418 IsMapEntry: true,
2419 },
2420 {
2421 Name: "MapFixed32Fixed32Entry",
2422 Fields: []prototype.Field{
2423 {
2424 Name: "key",
2425 Number: 1,
2426 Cardinality: protoreflect.Optional,
2427 Kind: protoreflect.Fixed32Kind,
2428 JSONName: "key",
2429 IsPacked: prototype.False,
2430 },
2431 {
2432 Name: "value",
2433 Number: 2,
2434 Cardinality: protoreflect.Optional,
2435 Kind: protoreflect.Fixed32Kind,
2436 JSONName: "value",
2437 IsPacked: prototype.False,
2438 },
2439 },
2440 IsMapEntry: true,
2441 },
2442 {
2443 Name: "MapFixed64Fixed64Entry",
2444 Fields: []prototype.Field{
2445 {
2446 Name: "key",
2447 Number: 1,
2448 Cardinality: protoreflect.Optional,
2449 Kind: protoreflect.Fixed64Kind,
2450 JSONName: "key",
2451 IsPacked: prototype.False,
2452 },
2453 {
2454 Name: "value",
2455 Number: 2,
2456 Cardinality: protoreflect.Optional,
2457 Kind: protoreflect.Fixed64Kind,
2458 JSONName: "value",
2459 IsPacked: prototype.False,
2460 },
2461 },
2462 IsMapEntry: true,
2463 },
2464 {
2465 Name: "MapSfixed32Sfixed32Entry",
2466 Fields: []prototype.Field{
2467 {
2468 Name: "key",
2469 Number: 1,
2470 Cardinality: protoreflect.Optional,
2471 Kind: protoreflect.Sfixed32Kind,
2472 JSONName: "key",
2473 IsPacked: prototype.False,
2474 },
2475 {
2476 Name: "value",
2477 Number: 2,
2478 Cardinality: protoreflect.Optional,
2479 Kind: protoreflect.Sfixed32Kind,
2480 JSONName: "value",
2481 IsPacked: prototype.False,
2482 },
2483 },
2484 IsMapEntry: true,
2485 },
2486 {
2487 Name: "MapSfixed64Sfixed64Entry",
2488 Fields: []prototype.Field{
2489 {
2490 Name: "key",
2491 Number: 1,
2492 Cardinality: protoreflect.Optional,
2493 Kind: protoreflect.Sfixed64Kind,
2494 JSONName: "key",
2495 IsPacked: prototype.False,
2496 },
2497 {
2498 Name: "value",
2499 Number: 2,
2500 Cardinality: protoreflect.Optional,
2501 Kind: protoreflect.Sfixed64Kind,
2502 JSONName: "value",
2503 IsPacked: prototype.False,
2504 },
2505 },
2506 IsMapEntry: true,
2507 },
2508 {
2509 Name: "MapInt32FloatEntry",
2510 Fields: []prototype.Field{
2511 {
2512 Name: "key",
2513 Number: 1,
2514 Cardinality: protoreflect.Optional,
2515 Kind: protoreflect.Int32Kind,
2516 JSONName: "key",
2517 IsPacked: prototype.False,
2518 },
2519 {
2520 Name: "value",
2521 Number: 2,
2522 Cardinality: protoreflect.Optional,
2523 Kind: protoreflect.FloatKind,
2524 JSONName: "value",
2525 IsPacked: prototype.False,
2526 },
2527 },
2528 IsMapEntry: true,
2529 },
2530 {
2531 Name: "MapInt32DoubleEntry",
2532 Fields: []prototype.Field{
2533 {
2534 Name: "key",
2535 Number: 1,
2536 Cardinality: protoreflect.Optional,
2537 Kind: protoreflect.Int32Kind,
2538 JSONName: "key",
2539 IsPacked: prototype.False,
2540 },
2541 {
2542 Name: "value",
2543 Number: 2,
2544 Cardinality: protoreflect.Optional,
2545 Kind: protoreflect.DoubleKind,
2546 JSONName: "value",
2547 IsPacked: prototype.False,
2548 },
2549 },
2550 IsMapEntry: true,
2551 },
2552 {
2553 Name: "MapBoolBoolEntry",
2554 Fields: []prototype.Field{
2555 {
2556 Name: "key",
2557 Number: 1,
2558 Cardinality: protoreflect.Optional,
2559 Kind: protoreflect.BoolKind,
2560 JSONName: "key",
2561 IsPacked: prototype.False,
2562 },
2563 {
2564 Name: "value",
2565 Number: 2,
2566 Cardinality: protoreflect.Optional,
2567 Kind: protoreflect.BoolKind,
2568 JSONName: "value",
2569 IsPacked: prototype.False,
2570 },
2571 },
2572 IsMapEntry: true,
2573 },
2574 {
2575 Name: "MapStringStringEntry",
2576 Fields: []prototype.Field{
2577 {
2578 Name: "key",
2579 Number: 1,
2580 Cardinality: protoreflect.Optional,
2581 Kind: protoreflect.StringKind,
2582 JSONName: "key",
2583 IsPacked: prototype.False,
2584 },
2585 {
2586 Name: "value",
2587 Number: 2,
2588 Cardinality: protoreflect.Optional,
2589 Kind: protoreflect.StringKind,
2590 JSONName: "value",
2591 IsPacked: prototype.False,
2592 },
2593 },
2594 IsMapEntry: true,
2595 },
2596 {
2597 Name: "MapStringBytesEntry",
2598 Fields: []prototype.Field{
2599 {
2600 Name: "key",
2601 Number: 1,
2602 Cardinality: protoreflect.Optional,
2603 Kind: protoreflect.StringKind,
2604 JSONName: "key",
2605 IsPacked: prototype.False,
2606 },
2607 {
2608 Name: "value",
2609 Number: 2,
2610 Cardinality: protoreflect.Optional,
2611 Kind: protoreflect.BytesKind,
2612 JSONName: "value",
2613 IsPacked: prototype.False,
2614 },
2615 },
2616 IsMapEntry: true,
2617 },
2618 {
2619 Name: "MapStringNestedMessageEntry",
2620 Fields: []prototype.Field{
2621 {
2622 Name: "key",
2623 Number: 1,
2624 Cardinality: protoreflect.Optional,
2625 Kind: protoreflect.StringKind,
2626 JSONName: "key",
2627 IsPacked: prototype.False,
2628 },
2629 {
2630 Name: "value",
2631 Number: 2,
2632 Cardinality: protoreflect.Optional,
2633 Kind: protoreflect.MessageKind,
2634 JSONName: "value",
2635 IsPacked: prototype.False,
2636 },
2637 },
2638 IsMapEntry: true,
2639 },
2640 {
2641 Name: "MapStringNestedEnumEntry",
2642 Fields: []prototype.Field{
2643 {
2644 Name: "key",
2645 Number: 1,
2646 Cardinality: protoreflect.Optional,
2647 Kind: protoreflect.StringKind,
2648 JSONName: "key",
2649 IsPacked: prototype.False,
2650 },
2651 {
2652 Name: "value",
2653 Number: 2,
2654 Cardinality: protoreflect.Optional,
2655 Kind: protoreflect.EnumKind,
2656 JSONName: "value",
2657 IsPacked: prototype.False,
2658 },
2659 },
2660 IsMapEntry: true,
2661 },
2662}