blob: 61388ba9b783e16612177f8161648ea74dab368a [file] [log] [blame]
Herbie Ongcddf8192018-11-28 18:25:20 -08001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: encoding/textpb/testprotos/pb2/test.proto
3
4package pb2
5
6import (
Herbie Ongcddf8192018-11-28 18:25:20 -08007 proto "github.com/golang/protobuf/proto"
8 any "github.com/golang/protobuf/ptypes/any"
9 duration "github.com/golang/protobuf/ptypes/duration"
10 empty "github.com/golang/protobuf/ptypes/empty"
11 _struct "github.com/golang/protobuf/ptypes/struct"
12 timestamp "github.com/golang/protobuf/ptypes/timestamp"
13 wrappers "github.com/golang/protobuf/ptypes/wrappers"
Herbie Ong70651952018-12-13 14:19:50 -080014 protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
15 prototype "github.com/golang/protobuf/v2/reflect/prototype"
16 protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
Herbie Ongcddf8192018-11-28 18:25:20 -080017)
18
Herbie Ongcddf8192018-11-28 18:25:20 -080019// This is a compile-time assertion to ensure that this generated file
20// is compatible with the proto package it is being compiled against.
21// A compilation error at this line likely means your copy of the
22// proto package needs to be updated.
Herbie Ong70651952018-12-13 14:19:50 -080023const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
Herbie Ongcddf8192018-11-28 18:25:20 -080024
25type Enum int32
26
27const (
28 Enum_UNKNOWN Enum = 0
29 Enum_FIRST Enum = 1
30 Enum_SECOND Enum = 2
31 Enum_TENTH Enum = 10
32)
33
Herbie Ong70651952018-12-13 14:19:50 -080034type xxx_Enum Enum
35
36func (e Enum) ProtoReflect() protoreflect.Enum {
37 return (xxx_Enum)(e)
38}
39func (e xxx_Enum) Type() protoreflect.EnumType {
40 return xxx_Test_ProtoFile_EnumTypes[0]
41}
42func (e xxx_Enum) Number() protoreflect.EnumNumber {
43 return protoreflect.EnumNumber(e)
44}
45
Herbie Ongcddf8192018-11-28 18:25:20 -080046var Enum_name = map[int32]string{
47 0: "UNKNOWN",
48 1: "FIRST",
49 2: "SECOND",
50 10: "TENTH",
51}
52
53var Enum_value = map[string]int32{
54 "UNKNOWN": 0,
55 "FIRST": 1,
56 "SECOND": 2,
57 "TENTH": 10,
58}
59
60func (x Enum) Enum() *Enum {
61 p := new(Enum)
62 *p = x
63 return p
64}
65
66func (x Enum) String() string {
67 return proto.EnumName(Enum_name, int32(x))
68}
69
70func (x *Enum) UnmarshalJSON(data []byte) error {
71 value, err := proto.UnmarshalJSONEnum(Enum_value, data, "Enum")
72 if err != nil {
73 return err
74 }
75 *x = Enum(value)
76 return nil
77}
78
79func (Enum) EnumDescriptor() ([]byte, []int) {
80 return fileDescriptor_c8d7acc1bcec9a72, []int{0}
81}
82
83type Enums_NestedEnum int32
84
85const (
86 Enums_UNO Enums_NestedEnum = 1
87 Enums_DOS Enums_NestedEnum = 2
88 Enums_DIEZ Enums_NestedEnum = 10
89)
90
Herbie Ong70651952018-12-13 14:19:50 -080091type xxx_Enums_NestedEnum Enums_NestedEnum
92
93func (e Enums_NestedEnum) ProtoReflect() protoreflect.Enum {
94 return (xxx_Enums_NestedEnum)(e)
95}
96func (e xxx_Enums_NestedEnum) Type() protoreflect.EnumType {
97 return xxx_Test_ProtoFile_EnumTypes[1]
98}
99func (e xxx_Enums_NestedEnum) Number() protoreflect.EnumNumber {
100 return protoreflect.EnumNumber(e)
101}
102
Herbie Ongcddf8192018-11-28 18:25:20 -0800103var Enums_NestedEnum_name = map[int32]string{
104 1: "UNO",
105 2: "DOS",
106 10: "DIEZ",
107}
108
109var Enums_NestedEnum_value = map[string]int32{
110 "UNO": 1,
111 "DOS": 2,
112 "DIEZ": 10,
113}
114
115func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
116 p := new(Enums_NestedEnum)
117 *p = x
118 return p
119}
120
121func (x Enums_NestedEnum) String() string {
122 return proto.EnumName(Enums_NestedEnum_name, int32(x))
123}
124
125func (x *Enums_NestedEnum) UnmarshalJSON(data []byte) error {
126 value, err := proto.UnmarshalJSONEnum(Enums_NestedEnum_value, data, "Enums_NestedEnum")
127 if err != nil {
128 return err
129 }
130 *x = Enums_NestedEnum(value)
131 return nil
132}
133
134func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
135 return fileDescriptor_c8d7acc1bcec9a72, []int{2, 0}
136}
137
138// Scalars contains optional scalar fields.
139type Scalars struct {
140 OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
141 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
142 OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
143 OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
144 OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
145 OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"`
146 OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"`
147 OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
148 OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"`
149 OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"`
150 OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"`
151 OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
152 OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
153 OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
154 OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
155 XXX_NoUnkeyedLiteral struct{} `json:"-"`
156 XXX_unrecognized []byte `json:"-"`
157 XXX_sizecache int32 `json:"-"`
158}
159
Herbie Ong70651952018-12-13 14:19:50 -0800160type xxx_Scalars struct{ m *Scalars }
161
162func (m *Scalars) ProtoReflect() protoreflect.Message {
163 return xxx_Scalars{m}
164}
165func (m xxx_Scalars) Type() protoreflect.MessageType {
166 return xxx_Test_ProtoFile_MessageTypes[0].Type
167}
168func (m xxx_Scalars) KnownFields() protoreflect.KnownFields {
169 return xxx_Test_ProtoFile_MessageTypes[0].KnownFieldsOf(m.m)
170}
171func (m xxx_Scalars) UnknownFields() protoreflect.UnknownFields {
172 return xxx_Test_ProtoFile_MessageTypes[0].UnknownFieldsOf(m.m)
173}
174func (m xxx_Scalars) Interface() protoreflect.ProtoMessage {
175 return m.m
176}
177
Herbie Ongcddf8192018-11-28 18:25:20 -0800178func (m *Scalars) Reset() { *m = Scalars{} }
179func (m *Scalars) String() string { return proto.CompactTextString(m) }
180func (*Scalars) ProtoMessage() {}
181func (*Scalars) Descriptor() ([]byte, []int) {
182 return fileDescriptor_c8d7acc1bcec9a72, []int{0}
183}
184
185func (m *Scalars) XXX_Unmarshal(b []byte) error {
186 return xxx_messageInfo_Scalars.Unmarshal(m, b)
187}
188func (m *Scalars) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
189 return xxx_messageInfo_Scalars.Marshal(b, m, deterministic)
190}
191func (m *Scalars) XXX_Merge(src proto.Message) {
192 xxx_messageInfo_Scalars.Merge(m, src)
193}
194func (m *Scalars) XXX_Size() int {
195 return xxx_messageInfo_Scalars.Size(m)
196}
197func (m *Scalars) XXX_DiscardUnknown() {
198 xxx_messageInfo_Scalars.DiscardUnknown(m)
199}
200
201var xxx_messageInfo_Scalars proto.InternalMessageInfo
202
203func (m *Scalars) GetOptBool() bool {
204 if m != nil && m.OptBool != nil {
205 return *m.OptBool
206 }
207 return false
208}
209
210func (m *Scalars) GetOptInt32() int32 {
211 if m != nil && m.OptInt32 != nil {
212 return *m.OptInt32
213 }
214 return 0
215}
216
217func (m *Scalars) GetOptInt64() int64 {
218 if m != nil && m.OptInt64 != nil {
219 return *m.OptInt64
220 }
221 return 0
222}
223
224func (m *Scalars) GetOptUint32() uint32 {
225 if m != nil && m.OptUint32 != nil {
226 return *m.OptUint32
227 }
228 return 0
229}
230
231func (m *Scalars) GetOptUint64() uint64 {
232 if m != nil && m.OptUint64 != nil {
233 return *m.OptUint64
234 }
235 return 0
236}
237
238func (m *Scalars) GetOptSint32() int32 {
239 if m != nil && m.OptSint32 != nil {
240 return *m.OptSint32
241 }
242 return 0
243}
244
245func (m *Scalars) GetOptSint64() int64 {
246 if m != nil && m.OptSint64 != nil {
247 return *m.OptSint64
248 }
249 return 0
250}
251
252func (m *Scalars) GetOptFixed32() uint32 {
253 if m != nil && m.OptFixed32 != nil {
254 return *m.OptFixed32
255 }
256 return 0
257}
258
259func (m *Scalars) GetOptFixed64() uint64 {
260 if m != nil && m.OptFixed64 != nil {
261 return *m.OptFixed64
262 }
263 return 0
264}
265
266func (m *Scalars) GetOptSfixed32() int32 {
267 if m != nil && m.OptSfixed32 != nil {
268 return *m.OptSfixed32
269 }
270 return 0
271}
272
273func (m *Scalars) GetOptSfixed64() int64 {
274 if m != nil && m.OptSfixed64 != nil {
275 return *m.OptSfixed64
276 }
277 return 0
278}
279
280func (m *Scalars) GetOptFloat() float32 {
281 if m != nil && m.OptFloat != nil {
282 return *m.OptFloat
283 }
284 return 0
285}
286
287func (m *Scalars) GetOptDouble() float64 {
288 if m != nil && m.OptDouble != nil {
289 return *m.OptDouble
290 }
291 return 0
292}
293
294func (m *Scalars) GetOptBytes() []byte {
295 if m != nil {
296 return m.OptBytes
297 }
298 return nil
299}
300
301func (m *Scalars) GetOptString() string {
302 if m != nil && m.OptString != nil {
303 return *m.OptString
304 }
305 return ""
306}
307
308// Message contains repeated fields.
309type Repeats struct {
310 RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
311 RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"`
312 RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"`
313 RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"`
314 RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"`
315 RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"`
316 RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"`
317 RptString []string `protobuf:"bytes,15,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
318 RptBytes [][]byte `protobuf:"bytes,14,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
319 XXX_NoUnkeyedLiteral struct{} `json:"-"`
320 XXX_unrecognized []byte `json:"-"`
321 XXX_sizecache int32 `json:"-"`
322}
323
Herbie Ong70651952018-12-13 14:19:50 -0800324type xxx_Repeats struct{ m *Repeats }
325
326func (m *Repeats) ProtoReflect() protoreflect.Message {
327 return xxx_Repeats{m}
328}
329func (m xxx_Repeats) Type() protoreflect.MessageType {
330 return xxx_Test_ProtoFile_MessageTypes[1].Type
331}
332func (m xxx_Repeats) KnownFields() protoreflect.KnownFields {
333 return xxx_Test_ProtoFile_MessageTypes[1].KnownFieldsOf(m.m)
334}
335func (m xxx_Repeats) UnknownFields() protoreflect.UnknownFields {
336 return xxx_Test_ProtoFile_MessageTypes[1].UnknownFieldsOf(m.m)
337}
338func (m xxx_Repeats) Interface() protoreflect.ProtoMessage {
339 return m.m
340}
341
Herbie Ongcddf8192018-11-28 18:25:20 -0800342func (m *Repeats) Reset() { *m = Repeats{} }
343func (m *Repeats) String() string { return proto.CompactTextString(m) }
344func (*Repeats) ProtoMessage() {}
345func (*Repeats) Descriptor() ([]byte, []int) {
346 return fileDescriptor_c8d7acc1bcec9a72, []int{1}
347}
348
349func (m *Repeats) XXX_Unmarshal(b []byte) error {
350 return xxx_messageInfo_Repeats.Unmarshal(m, b)
351}
352func (m *Repeats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
353 return xxx_messageInfo_Repeats.Marshal(b, m, deterministic)
354}
355func (m *Repeats) XXX_Merge(src proto.Message) {
356 xxx_messageInfo_Repeats.Merge(m, src)
357}
358func (m *Repeats) XXX_Size() int {
359 return xxx_messageInfo_Repeats.Size(m)
360}
361func (m *Repeats) XXX_DiscardUnknown() {
362 xxx_messageInfo_Repeats.DiscardUnknown(m)
363}
364
365var xxx_messageInfo_Repeats proto.InternalMessageInfo
366
367func (m *Repeats) GetRptBool() []bool {
368 if m != nil {
369 return m.RptBool
370 }
371 return nil
372}
373
374func (m *Repeats) GetRptInt32() []int32 {
375 if m != nil {
376 return m.RptInt32
377 }
378 return nil
379}
380
381func (m *Repeats) GetRptInt64() []int64 {
382 if m != nil {
383 return m.RptInt64
384 }
385 return nil
386}
387
388func (m *Repeats) GetRptUint32() []uint32 {
389 if m != nil {
390 return m.RptUint32
391 }
392 return nil
393}
394
395func (m *Repeats) GetRptUint64() []uint64 {
396 if m != nil {
397 return m.RptUint64
398 }
399 return nil
400}
401
402func (m *Repeats) GetRptFloat() []float32 {
403 if m != nil {
404 return m.RptFloat
405 }
406 return nil
407}
408
409func (m *Repeats) GetRptDouble() []float64 {
410 if m != nil {
411 return m.RptDouble
412 }
413 return nil
414}
415
416func (m *Repeats) GetRptString() []string {
417 if m != nil {
418 return m.RptString
419 }
420 return nil
421}
422
423func (m *Repeats) GetRptBytes() [][]byte {
424 if m != nil {
425 return m.RptBytes
426 }
427 return nil
428}
429
430// Message contains enum fields.
431type Enums struct {
432 OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
433 RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"`
434 OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
435 RptNestedEnum []Enums_NestedEnum `protobuf:"varint,4,rep,name=rpt_nested_enum,json=rptNestedEnum,enum=pb2.Enums_NestedEnum" json:"rpt_nested_enum,omitempty"`
436 XXX_NoUnkeyedLiteral struct{} `json:"-"`
437 XXX_unrecognized []byte `json:"-"`
438 XXX_sizecache int32 `json:"-"`
439}
440
Herbie Ong70651952018-12-13 14:19:50 -0800441type xxx_Enums struct{ m *Enums }
442
443func (m *Enums) ProtoReflect() protoreflect.Message {
444 return xxx_Enums{m}
445}
446func (m xxx_Enums) Type() protoreflect.MessageType {
447 return xxx_Test_ProtoFile_MessageTypes[2].Type
448}
449func (m xxx_Enums) KnownFields() protoreflect.KnownFields {
450 return xxx_Test_ProtoFile_MessageTypes[2].KnownFieldsOf(m.m)
451}
452func (m xxx_Enums) UnknownFields() protoreflect.UnknownFields {
453 return xxx_Test_ProtoFile_MessageTypes[2].UnknownFieldsOf(m.m)
454}
455func (m xxx_Enums) Interface() protoreflect.ProtoMessage {
456 return m.m
457}
458
Herbie Ongcddf8192018-11-28 18:25:20 -0800459func (m *Enums) Reset() { *m = Enums{} }
460func (m *Enums) String() string { return proto.CompactTextString(m) }
461func (*Enums) ProtoMessage() {}
462func (*Enums) Descriptor() ([]byte, []int) {
463 return fileDescriptor_c8d7acc1bcec9a72, []int{2}
464}
465
466func (m *Enums) XXX_Unmarshal(b []byte) error {
467 return xxx_messageInfo_Enums.Unmarshal(m, b)
468}
469func (m *Enums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
470 return xxx_messageInfo_Enums.Marshal(b, m, deterministic)
471}
472func (m *Enums) XXX_Merge(src proto.Message) {
473 xxx_messageInfo_Enums.Merge(m, src)
474}
475func (m *Enums) XXX_Size() int {
476 return xxx_messageInfo_Enums.Size(m)
477}
478func (m *Enums) XXX_DiscardUnknown() {
479 xxx_messageInfo_Enums.DiscardUnknown(m)
480}
481
482var xxx_messageInfo_Enums proto.InternalMessageInfo
483
484func (m *Enums) GetOptEnum() Enum {
485 if m != nil && m.OptEnum != nil {
486 return *m.OptEnum
487 }
488 return Enum_UNKNOWN
489}
490
491func (m *Enums) GetRptEnum() []Enum {
492 if m != nil {
493 return m.RptEnum
494 }
495 return nil
496}
497
498func (m *Enums) GetOptNestedEnum() Enums_NestedEnum {
499 if m != nil && m.OptNestedEnum != nil {
500 return *m.OptNestedEnum
501 }
502 return Enums_UNO
503}
504
505func (m *Enums) GetRptNestedEnum() []Enums_NestedEnum {
506 if m != nil {
507 return m.RptNestedEnum
508 }
509 return nil
510}
511
512// Message contains message and group fields.
513type Nests struct {
514 OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
515 Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"`
516 RptNested []*Nested `protobuf:"bytes,3,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
517 Rptgroup []*Nests_RptGroup `protobuf:"group,4,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
518 XXX_NoUnkeyedLiteral struct{} `json:"-"`
519 XXX_unrecognized []byte `json:"-"`
520 XXX_sizecache int32 `json:"-"`
521}
522
Herbie Ong70651952018-12-13 14:19:50 -0800523type xxx_Nests struct{ m *Nests }
524
525func (m *Nests) ProtoReflect() protoreflect.Message {
526 return xxx_Nests{m}
527}
528func (m xxx_Nests) Type() protoreflect.MessageType {
529 return xxx_Test_ProtoFile_MessageTypes[3].Type
530}
531func (m xxx_Nests) KnownFields() protoreflect.KnownFields {
532 return xxx_Test_ProtoFile_MessageTypes[3].KnownFieldsOf(m.m)
533}
534func (m xxx_Nests) UnknownFields() protoreflect.UnknownFields {
535 return xxx_Test_ProtoFile_MessageTypes[3].UnknownFieldsOf(m.m)
536}
537func (m xxx_Nests) Interface() protoreflect.ProtoMessage {
538 return m.m
539}
540
Herbie Ongcddf8192018-11-28 18:25:20 -0800541func (m *Nests) Reset() { *m = Nests{} }
542func (m *Nests) String() string { return proto.CompactTextString(m) }
543func (*Nests) ProtoMessage() {}
544func (*Nests) Descriptor() ([]byte, []int) {
545 return fileDescriptor_c8d7acc1bcec9a72, []int{3}
546}
547
548func (m *Nests) XXX_Unmarshal(b []byte) error {
549 return xxx_messageInfo_Nests.Unmarshal(m, b)
550}
551func (m *Nests) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
552 return xxx_messageInfo_Nests.Marshal(b, m, deterministic)
553}
554func (m *Nests) XXX_Merge(src proto.Message) {
555 xxx_messageInfo_Nests.Merge(m, src)
556}
557func (m *Nests) XXX_Size() int {
558 return xxx_messageInfo_Nests.Size(m)
559}
560func (m *Nests) XXX_DiscardUnknown() {
561 xxx_messageInfo_Nests.DiscardUnknown(m)
562}
563
564var xxx_messageInfo_Nests proto.InternalMessageInfo
565
566func (m *Nests) GetOptNested() *Nested {
567 if m != nil {
568 return m.OptNested
569 }
570 return nil
571}
572
573func (m *Nests) GetOptgroup() *Nests_OptGroup {
574 if m != nil {
575 return m.Optgroup
576 }
577 return nil
578}
579
580func (m *Nests) GetRptNested() []*Nested {
581 if m != nil {
582 return m.RptNested
583 }
584 return nil
585}
586
587func (m *Nests) GetRptgroup() []*Nests_RptGroup {
588 if m != nil {
589 return m.Rptgroup
590 }
591 return nil
592}
593
Herbie Ongcddf8192018-11-28 18:25:20 -0800594// Message type used as submessage.
595type Nested struct {
596 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
597 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
598 XXX_NoUnkeyedLiteral struct{} `json:"-"`
599 XXX_unrecognized []byte `json:"-"`
600 XXX_sizecache int32 `json:"-"`
601}
602
Herbie Ong70651952018-12-13 14:19:50 -0800603type xxx_Nested struct{ m *Nested }
604
605func (m *Nested) ProtoReflect() protoreflect.Message {
606 return xxx_Nested{m}
607}
608func (m xxx_Nested) Type() protoreflect.MessageType {
609 return xxx_Test_ProtoFile_MessageTypes[4].Type
610}
611func (m xxx_Nested) KnownFields() protoreflect.KnownFields {
612 return xxx_Test_ProtoFile_MessageTypes[4].KnownFieldsOf(m.m)
613}
614func (m xxx_Nested) UnknownFields() protoreflect.UnknownFields {
615 return xxx_Test_ProtoFile_MessageTypes[4].UnknownFieldsOf(m.m)
616}
617func (m xxx_Nested) Interface() protoreflect.ProtoMessage {
618 return m.m
619}
620
Herbie Ongcddf8192018-11-28 18:25:20 -0800621func (m *Nested) Reset() { *m = Nested{} }
622func (m *Nested) String() string { return proto.CompactTextString(m) }
623func (*Nested) ProtoMessage() {}
624func (*Nested) Descriptor() ([]byte, []int) {
625 return fileDescriptor_c8d7acc1bcec9a72, []int{4}
626}
627
628func (m *Nested) XXX_Unmarshal(b []byte) error {
629 return xxx_messageInfo_Nested.Unmarshal(m, b)
630}
631func (m *Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
632 return xxx_messageInfo_Nested.Marshal(b, m, deterministic)
633}
634func (m *Nested) XXX_Merge(src proto.Message) {
635 xxx_messageInfo_Nested.Merge(m, src)
636}
637func (m *Nested) XXX_Size() int {
638 return xxx_messageInfo_Nested.Size(m)
639}
640func (m *Nested) XXX_DiscardUnknown() {
641 xxx_messageInfo_Nested.DiscardUnknown(m)
642}
643
644var xxx_messageInfo_Nested proto.InternalMessageInfo
645
646func (m *Nested) GetOptString() string {
647 if m != nil && m.OptString != nil {
648 return *m.OptString
649 }
650 return ""
651}
652
653func (m *Nested) GetOptNested() *Nested {
654 if m != nil {
655 return m.OptNested
656 }
657 return nil
658}
659
660// Message contains required fields.
661type Requireds struct {
662 ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"`
663 ReqFixed32 *uint32 `protobuf:"fixed32,2,req,name=req_fixed32,json=reqFixed32" json:"req_fixed32,omitempty"`
664 ReqFixed64 *uint64 `protobuf:"fixed64,3,req,name=req_fixed64,json=reqFixed64" json:"req_fixed64,omitempty"`
665 ReqSfixed32 *int32 `protobuf:"fixed32,4,req,name=req_sfixed32,json=reqSfixed32" json:"req_sfixed32,omitempty"`
666 ReqSfixed64 *int64 `protobuf:"fixed64,5,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"`
667 ReqFloat *float32 `protobuf:"fixed32,6,req,name=req_float,json=reqFloat" json:"req_float,omitempty"`
668 ReqDouble *float64 `protobuf:"fixed64,7,req,name=req_double,json=reqDouble" json:"req_double,omitempty"`
669 ReqString *string `protobuf:"bytes,8,req,name=req_string,json=reqString" json:"req_string,omitempty"`
670 ReqBytes []byte `protobuf:"bytes,9,req,name=req_bytes,json=reqBytes" json:"req_bytes,omitempty"`
671 ReqEnum *Enum `protobuf:"varint,10,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
672 ReqNested *Nested `protobuf:"bytes,11,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
673 XXX_NoUnkeyedLiteral struct{} `json:"-"`
674 XXX_unrecognized []byte `json:"-"`
675 XXX_sizecache int32 `json:"-"`
676}
677
Herbie Ong70651952018-12-13 14:19:50 -0800678type xxx_Requireds struct{ m *Requireds }
679
680func (m *Requireds) ProtoReflect() protoreflect.Message {
681 return xxx_Requireds{m}
682}
683func (m xxx_Requireds) Type() protoreflect.MessageType {
684 return xxx_Test_ProtoFile_MessageTypes[5].Type
685}
686func (m xxx_Requireds) KnownFields() protoreflect.KnownFields {
687 return xxx_Test_ProtoFile_MessageTypes[5].KnownFieldsOf(m.m)
688}
689func (m xxx_Requireds) UnknownFields() protoreflect.UnknownFields {
690 return xxx_Test_ProtoFile_MessageTypes[5].UnknownFieldsOf(m.m)
691}
692func (m xxx_Requireds) Interface() protoreflect.ProtoMessage {
693 return m.m
694}
695
Herbie Ongcddf8192018-11-28 18:25:20 -0800696func (m *Requireds) Reset() { *m = Requireds{} }
697func (m *Requireds) String() string { return proto.CompactTextString(m) }
698func (*Requireds) ProtoMessage() {}
699func (*Requireds) Descriptor() ([]byte, []int) {
700 return fileDescriptor_c8d7acc1bcec9a72, []int{5}
701}
702
703func (m *Requireds) XXX_Unmarshal(b []byte) error {
704 return xxx_messageInfo_Requireds.Unmarshal(m, b)
705}
706func (m *Requireds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
707 return xxx_messageInfo_Requireds.Marshal(b, m, deterministic)
708}
709func (m *Requireds) XXX_Merge(src proto.Message) {
710 xxx_messageInfo_Requireds.Merge(m, src)
711}
712func (m *Requireds) XXX_Size() int {
713 return xxx_messageInfo_Requireds.Size(m)
714}
715func (m *Requireds) XXX_DiscardUnknown() {
716 xxx_messageInfo_Requireds.DiscardUnknown(m)
717}
718
719var xxx_messageInfo_Requireds proto.InternalMessageInfo
720
721func (m *Requireds) GetReqBool() bool {
722 if m != nil && m.ReqBool != nil {
723 return *m.ReqBool
724 }
725 return false
726}
727
728func (m *Requireds) GetReqFixed32() uint32 {
729 if m != nil && m.ReqFixed32 != nil {
730 return *m.ReqFixed32
731 }
732 return 0
733}
734
735func (m *Requireds) GetReqFixed64() uint64 {
736 if m != nil && m.ReqFixed64 != nil {
737 return *m.ReqFixed64
738 }
739 return 0
740}
741
742func (m *Requireds) GetReqSfixed32() int32 {
743 if m != nil && m.ReqSfixed32 != nil {
744 return *m.ReqSfixed32
745 }
746 return 0
747}
748
749func (m *Requireds) GetReqSfixed64() int64 {
750 if m != nil && m.ReqSfixed64 != nil {
751 return *m.ReqSfixed64
752 }
753 return 0
754}
755
756func (m *Requireds) GetReqFloat() float32 {
757 if m != nil && m.ReqFloat != nil {
758 return *m.ReqFloat
759 }
760 return 0
761}
762
763func (m *Requireds) GetReqDouble() float64 {
764 if m != nil && m.ReqDouble != nil {
765 return *m.ReqDouble
766 }
767 return 0
768}
769
770func (m *Requireds) GetReqString() string {
771 if m != nil && m.ReqString != nil {
772 return *m.ReqString
773 }
774 return ""
775}
776
777func (m *Requireds) GetReqBytes() []byte {
778 if m != nil {
779 return m.ReqBytes
780 }
781 return nil
782}
783
784func (m *Requireds) GetReqEnum() Enum {
785 if m != nil && m.ReqEnum != nil {
786 return *m.ReqEnum
787 }
788 return Enum_UNKNOWN
789}
790
791func (m *Requireds) GetReqNested() *Nested {
792 if m != nil {
793 return m.ReqNested
794 }
795 return nil
796}
797
Herbie Ong800c9902018-12-06 15:28:53 -0800798// Message contains both required and optional fields.
799type PartialRequired struct {
800 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
801 OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
802 XXX_NoUnkeyedLiteral struct{} `json:"-"`
803 XXX_unrecognized []byte `json:"-"`
804 XXX_sizecache int32 `json:"-"`
805}
806
Herbie Ong70651952018-12-13 14:19:50 -0800807type xxx_PartialRequired struct{ m *PartialRequired }
808
809func (m *PartialRequired) ProtoReflect() protoreflect.Message {
810 return xxx_PartialRequired{m}
811}
812func (m xxx_PartialRequired) Type() protoreflect.MessageType {
813 return xxx_Test_ProtoFile_MessageTypes[6].Type
814}
815func (m xxx_PartialRequired) KnownFields() protoreflect.KnownFields {
816 return xxx_Test_ProtoFile_MessageTypes[6].KnownFieldsOf(m.m)
817}
818func (m xxx_PartialRequired) UnknownFields() protoreflect.UnknownFields {
819 return xxx_Test_ProtoFile_MessageTypes[6].UnknownFieldsOf(m.m)
820}
821func (m xxx_PartialRequired) Interface() protoreflect.ProtoMessage {
822 return m.m
823}
824
Herbie Ong800c9902018-12-06 15:28:53 -0800825func (m *PartialRequired) Reset() { *m = PartialRequired{} }
826func (m *PartialRequired) String() string { return proto.CompactTextString(m) }
827func (*PartialRequired) ProtoMessage() {}
828func (*PartialRequired) Descriptor() ([]byte, []int) {
829 return fileDescriptor_c8d7acc1bcec9a72, []int{6}
830}
831
832func (m *PartialRequired) XXX_Unmarshal(b []byte) error {
833 return xxx_messageInfo_PartialRequired.Unmarshal(m, b)
834}
835func (m *PartialRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
836 return xxx_messageInfo_PartialRequired.Marshal(b, m, deterministic)
837}
838func (m *PartialRequired) XXX_Merge(src proto.Message) {
839 xxx_messageInfo_PartialRequired.Merge(m, src)
840}
841func (m *PartialRequired) XXX_Size() int {
842 return xxx_messageInfo_PartialRequired.Size(m)
843}
844func (m *PartialRequired) XXX_DiscardUnknown() {
845 xxx_messageInfo_PartialRequired.DiscardUnknown(m)
846}
847
848var xxx_messageInfo_PartialRequired proto.InternalMessageInfo
849
850func (m *PartialRequired) GetReqString() string {
851 if m != nil && m.ReqString != nil {
852 return *m.ReqString
853 }
854 return ""
855}
856
857func (m *PartialRequired) GetOptString() string {
858 if m != nil && m.OptString != nil {
859 return *m.OptString
860 }
861 return ""
862}
863
Herbie Ongcddf8192018-11-28 18:25:20 -0800864// Message contains oneof field.
865type Oneofs struct {
866 // Types that are valid to be assigned to Union:
867 // *Oneofs_Str
868 // *Oneofs_Msg
869 Union isOneofs_Union `protobuf_oneof:"union"`
870 XXX_NoUnkeyedLiteral struct{} `json:"-"`
871 XXX_unrecognized []byte `json:"-"`
872 XXX_sizecache int32 `json:"-"`
873}
874
Herbie Ong70651952018-12-13 14:19:50 -0800875type xxx_Oneofs struct{ m *Oneofs }
876
877func (m *Oneofs) ProtoReflect() protoreflect.Message {
878 return xxx_Oneofs{m}
879}
880func (m xxx_Oneofs) Type() protoreflect.MessageType {
881 return xxx_Test_ProtoFile_MessageTypes[7].Type
882}
883func (m xxx_Oneofs) KnownFields() protoreflect.KnownFields {
884 return xxx_Test_ProtoFile_MessageTypes[7].KnownFieldsOf(m.m)
885}
886func (m xxx_Oneofs) UnknownFields() protoreflect.UnknownFields {
887 return xxx_Test_ProtoFile_MessageTypes[7].UnknownFieldsOf(m.m)
888}
889func (m xxx_Oneofs) Interface() protoreflect.ProtoMessage {
890 return m.m
891}
892
Herbie Ongcddf8192018-11-28 18:25:20 -0800893func (m *Oneofs) Reset() { *m = Oneofs{} }
894func (m *Oneofs) String() string { return proto.CompactTextString(m) }
895func (*Oneofs) ProtoMessage() {}
896func (*Oneofs) Descriptor() ([]byte, []int) {
Herbie Ong800c9902018-12-06 15:28:53 -0800897 return fileDescriptor_c8d7acc1bcec9a72, []int{7}
Herbie Ongcddf8192018-11-28 18:25:20 -0800898}
899
900func (m *Oneofs) XXX_Unmarshal(b []byte) error {
901 return xxx_messageInfo_Oneofs.Unmarshal(m, b)
902}
903func (m *Oneofs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
904 return xxx_messageInfo_Oneofs.Marshal(b, m, deterministic)
905}
906func (m *Oneofs) XXX_Merge(src proto.Message) {
907 xxx_messageInfo_Oneofs.Merge(m, src)
908}
909func (m *Oneofs) XXX_Size() int {
910 return xxx_messageInfo_Oneofs.Size(m)
911}
912func (m *Oneofs) XXX_DiscardUnknown() {
913 xxx_messageInfo_Oneofs.DiscardUnknown(m)
914}
915
916var xxx_messageInfo_Oneofs proto.InternalMessageInfo
917
918type isOneofs_Union interface {
919 isOneofs_Union()
920}
921
922type Oneofs_Str struct {
923 Str string `protobuf:"bytes,1,opt,name=str,oneof"`
924}
925
926type Oneofs_Msg struct {
927 Msg *Nested `protobuf:"bytes,2,opt,name=msg,oneof"`
928}
929
930func (*Oneofs_Str) isOneofs_Union() {}
931
932func (*Oneofs_Msg) isOneofs_Union() {}
933
934func (m *Oneofs) GetUnion() isOneofs_Union {
935 if m != nil {
936 return m.Union
937 }
938 return nil
939}
940
941func (m *Oneofs) GetStr() string {
942 if x, ok := m.GetUnion().(*Oneofs_Str); ok {
943 return x.Str
944 }
945 return ""
946}
947
948func (m *Oneofs) GetMsg() *Nested {
949 if x, ok := m.GetUnion().(*Oneofs_Msg); ok {
950 return x.Msg
951 }
952 return nil
953}
954
Herbie Ong70651952018-12-13 14:19:50 -0800955// XXX_OneofWrappers is for the internal use of the proto package.
956func (*Oneofs) XXX_OneofWrappers() []interface{} {
957 return []interface{}{
Herbie Ongcddf8192018-11-28 18:25:20 -0800958 (*Oneofs_Str)(nil),
959 (*Oneofs_Msg)(nil),
960 }
961}
962
Herbie Ongcddf8192018-11-28 18:25:20 -0800963// Message contains map fields.
964type Maps struct {
965 Int32ToStr map[int32]string `protobuf:"bytes,1,rep,name=int32_to_str,json=int32ToStr" json:"int32_to_str,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
966 Sfixed64ToBool map[int64]bool `protobuf:"bytes,2,rep,name=sfixed64_to_bool,json=sfixed64ToBool" json:"sfixed64_to_bool,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
967 BoolToUint32 map[bool]uint32 `protobuf:"bytes,3,rep,name=bool_to_uint32,json=boolToUint32" json:"bool_to_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
968 Uint64ToEnum map[uint64]Enum `protobuf:"bytes,4,rep,name=uint64_to_enum,json=uint64ToEnum" json:"uint64_to_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=pb2.Enum"`
969 StrToNested map[string]*Nested `protobuf:"bytes,5,rep,name=str_to_nested,json=strToNested" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
970 StrToOneofs map[string]*Oneofs `protobuf:"bytes,6,rep,name=str_to_oneofs,json=strToOneofs" json:"str_to_oneofs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
971 XXX_NoUnkeyedLiteral struct{} `json:"-"`
972 XXX_unrecognized []byte `json:"-"`
973 XXX_sizecache int32 `json:"-"`
974}
975
Herbie Ong70651952018-12-13 14:19:50 -0800976type xxx_Maps struct{ m *Maps }
977
978func (m *Maps) ProtoReflect() protoreflect.Message {
979 return xxx_Maps{m}
980}
981func (m xxx_Maps) Type() protoreflect.MessageType {
982 return xxx_Test_ProtoFile_MessageTypes[8].Type
983}
984func (m xxx_Maps) KnownFields() protoreflect.KnownFields {
985 return xxx_Test_ProtoFile_MessageTypes[8].KnownFieldsOf(m.m)
986}
987func (m xxx_Maps) UnknownFields() protoreflect.UnknownFields {
988 return xxx_Test_ProtoFile_MessageTypes[8].UnknownFieldsOf(m.m)
989}
990func (m xxx_Maps) Interface() protoreflect.ProtoMessage {
991 return m.m
992}
993
Herbie Ongcddf8192018-11-28 18:25:20 -0800994func (m *Maps) Reset() { *m = Maps{} }
995func (m *Maps) String() string { return proto.CompactTextString(m) }
996func (*Maps) ProtoMessage() {}
997func (*Maps) Descriptor() ([]byte, []int) {
Herbie Ong800c9902018-12-06 15:28:53 -0800998 return fileDescriptor_c8d7acc1bcec9a72, []int{8}
Herbie Ongcddf8192018-11-28 18:25:20 -0800999}
1000
1001func (m *Maps) XXX_Unmarshal(b []byte) error {
1002 return xxx_messageInfo_Maps.Unmarshal(m, b)
1003}
1004func (m *Maps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1005 return xxx_messageInfo_Maps.Marshal(b, m, deterministic)
1006}
1007func (m *Maps) XXX_Merge(src proto.Message) {
1008 xxx_messageInfo_Maps.Merge(m, src)
1009}
1010func (m *Maps) XXX_Size() int {
1011 return xxx_messageInfo_Maps.Size(m)
1012}
1013func (m *Maps) XXX_DiscardUnknown() {
1014 xxx_messageInfo_Maps.DiscardUnknown(m)
1015}
1016
1017var xxx_messageInfo_Maps proto.InternalMessageInfo
1018
1019func (m *Maps) GetInt32ToStr() map[int32]string {
1020 if m != nil {
1021 return m.Int32ToStr
1022 }
1023 return nil
1024}
1025
1026func (m *Maps) GetSfixed64ToBool() map[int64]bool {
1027 if m != nil {
1028 return m.Sfixed64ToBool
1029 }
1030 return nil
1031}
1032
1033func (m *Maps) GetBoolToUint32() map[bool]uint32 {
1034 if m != nil {
1035 return m.BoolToUint32
1036 }
1037 return nil
1038}
1039
1040func (m *Maps) GetUint64ToEnum() map[uint64]Enum {
1041 if m != nil {
1042 return m.Uint64ToEnum
1043 }
1044 return nil
1045}
1046
1047func (m *Maps) GetStrToNested() map[string]*Nested {
1048 if m != nil {
1049 return m.StrToNested
1050 }
1051 return nil
1052}
1053
1054func (m *Maps) GetStrToOneofs() map[string]*Oneofs {
1055 if m != nil {
1056 return m.StrToOneofs
1057 }
1058 return nil
1059}
1060
Herbie Ong800c9902018-12-06 15:28:53 -08001061type NestedWithRequired struct {
1062 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
1063 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1064 XXX_unrecognized []byte `json:"-"`
1065 XXX_sizecache int32 `json:"-"`
1066}
1067
Herbie Ong70651952018-12-13 14:19:50 -08001068type xxx_NestedWithRequired struct{ m *NestedWithRequired }
1069
1070func (m *NestedWithRequired) ProtoReflect() protoreflect.Message {
1071 return xxx_NestedWithRequired{m}
1072}
1073func (m xxx_NestedWithRequired) Type() protoreflect.MessageType {
1074 return xxx_Test_ProtoFile_MessageTypes[9].Type
1075}
1076func (m xxx_NestedWithRequired) KnownFields() protoreflect.KnownFields {
1077 return xxx_Test_ProtoFile_MessageTypes[9].KnownFieldsOf(m.m)
1078}
1079func (m xxx_NestedWithRequired) UnknownFields() protoreflect.UnknownFields {
1080 return xxx_Test_ProtoFile_MessageTypes[9].UnknownFieldsOf(m.m)
1081}
1082func (m xxx_NestedWithRequired) Interface() protoreflect.ProtoMessage {
1083 return m.m
1084}
1085
Herbie Ong800c9902018-12-06 15:28:53 -08001086func (m *NestedWithRequired) Reset() { *m = NestedWithRequired{} }
1087func (m *NestedWithRequired) String() string { return proto.CompactTextString(m) }
1088func (*NestedWithRequired) ProtoMessage() {}
1089func (*NestedWithRequired) Descriptor() ([]byte, []int) {
1090 return fileDescriptor_c8d7acc1bcec9a72, []int{9}
1091}
1092
1093func (m *NestedWithRequired) XXX_Unmarshal(b []byte) error {
1094 return xxx_messageInfo_NestedWithRequired.Unmarshal(m, b)
1095}
1096func (m *NestedWithRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1097 return xxx_messageInfo_NestedWithRequired.Marshal(b, m, deterministic)
1098}
1099func (m *NestedWithRequired) XXX_Merge(src proto.Message) {
1100 xxx_messageInfo_NestedWithRequired.Merge(m, src)
1101}
1102func (m *NestedWithRequired) XXX_Size() int {
1103 return xxx_messageInfo_NestedWithRequired.Size(m)
1104}
1105func (m *NestedWithRequired) XXX_DiscardUnknown() {
1106 xxx_messageInfo_NestedWithRequired.DiscardUnknown(m)
1107}
1108
1109var xxx_messageInfo_NestedWithRequired proto.InternalMessageInfo
1110
1111func (m *NestedWithRequired) GetReqString() string {
1112 if m != nil && m.ReqString != nil {
1113 return *m.ReqString
1114 }
1115 return ""
1116}
1117
1118type IndirectRequired struct {
1119 OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
1120 RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
1121 StrToNested map[string]*NestedWithRequired `protobuf:"bytes,3,rep,name=str_to_nested,json=strToNested" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
1122 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1123 XXX_unrecognized []byte `json:"-"`
1124 XXX_sizecache int32 `json:"-"`
1125}
1126
Herbie Ong70651952018-12-13 14:19:50 -08001127type xxx_IndirectRequired struct{ m *IndirectRequired }
1128
1129func (m *IndirectRequired) ProtoReflect() protoreflect.Message {
1130 return xxx_IndirectRequired{m}
1131}
1132func (m xxx_IndirectRequired) Type() protoreflect.MessageType {
1133 return xxx_Test_ProtoFile_MessageTypes[10].Type
1134}
1135func (m xxx_IndirectRequired) KnownFields() protoreflect.KnownFields {
1136 return xxx_Test_ProtoFile_MessageTypes[10].KnownFieldsOf(m.m)
1137}
1138func (m xxx_IndirectRequired) UnknownFields() protoreflect.UnknownFields {
1139 return xxx_Test_ProtoFile_MessageTypes[10].UnknownFieldsOf(m.m)
1140}
1141func (m xxx_IndirectRequired) Interface() protoreflect.ProtoMessage {
1142 return m.m
1143}
1144
Herbie Ong800c9902018-12-06 15:28:53 -08001145func (m *IndirectRequired) Reset() { *m = IndirectRequired{} }
1146func (m *IndirectRequired) String() string { return proto.CompactTextString(m) }
1147func (*IndirectRequired) ProtoMessage() {}
1148func (*IndirectRequired) Descriptor() ([]byte, []int) {
1149 return fileDescriptor_c8d7acc1bcec9a72, []int{10}
1150}
1151
1152func (m *IndirectRequired) XXX_Unmarshal(b []byte) error {
1153 return xxx_messageInfo_IndirectRequired.Unmarshal(m, b)
1154}
1155func (m *IndirectRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1156 return xxx_messageInfo_IndirectRequired.Marshal(b, m, deterministic)
1157}
1158func (m *IndirectRequired) XXX_Merge(src proto.Message) {
1159 xxx_messageInfo_IndirectRequired.Merge(m, src)
1160}
1161func (m *IndirectRequired) XXX_Size() int {
1162 return xxx_messageInfo_IndirectRequired.Size(m)
1163}
1164func (m *IndirectRequired) XXX_DiscardUnknown() {
1165 xxx_messageInfo_IndirectRequired.DiscardUnknown(m)
1166}
1167
1168var xxx_messageInfo_IndirectRequired proto.InternalMessageInfo
1169
1170func (m *IndirectRequired) GetOptNested() *NestedWithRequired {
1171 if m != nil {
1172 return m.OptNested
1173 }
1174 return nil
1175}
1176
1177func (m *IndirectRequired) GetRptNested() []*NestedWithRequired {
1178 if m != nil {
1179 return m.RptNested
1180 }
1181 return nil
1182}
1183
1184func (m *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired {
1185 if m != nil {
1186 return m.StrToNested
1187 }
1188 return nil
1189}
1190
Herbie Ongcf253082018-12-17 17:13:07 -08001191type Extensions struct {
1192 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1193 OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
1194 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
1195 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1196 proto.XXX_InternalExtensions `json:"-"`
1197 XXX_unrecognized []byte `json:"-"`
1198 XXX_sizecache int32 `json:"-"`
1199}
1200
1201type xxx_Extensions struct{ m *Extensions }
1202
1203func (m *Extensions) ProtoReflect() protoreflect.Message {
1204 return xxx_Extensions{m}
1205}
1206func (m xxx_Extensions) Type() protoreflect.MessageType {
1207 return xxx_Test_ProtoFile_MessageTypes[11].Type
1208}
1209func (m xxx_Extensions) KnownFields() protoreflect.KnownFields {
1210 return xxx_Test_ProtoFile_MessageTypes[11].KnownFieldsOf(m.m)
1211}
1212func (m xxx_Extensions) UnknownFields() protoreflect.UnknownFields {
1213 return xxx_Test_ProtoFile_MessageTypes[11].UnknownFieldsOf(m.m)
1214}
1215func (m xxx_Extensions) Interface() protoreflect.ProtoMessage {
1216 return m.m
1217}
1218
1219func (m *Extensions) Reset() { *m = Extensions{} }
1220func (m *Extensions) String() string { return proto.CompactTextString(m) }
1221func (*Extensions) ProtoMessage() {}
1222func (*Extensions) Descriptor() ([]byte, []int) {
1223 return fileDescriptor_c8d7acc1bcec9a72, []int{11}
1224}
1225
1226var extRange_Extensions = []proto.ExtensionRange{
1227 {Start: 20, End: 100},
1228}
1229
1230func (*Extensions) ExtensionRangeArray() []proto.ExtensionRange {
1231 return extRange_Extensions
1232}
1233
1234func (m *Extensions) XXX_Unmarshal(b []byte) error {
1235 return xxx_messageInfo_Extensions.Unmarshal(m, b)
1236}
1237func (m *Extensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1238 return xxx_messageInfo_Extensions.Marshal(b, m, deterministic)
1239}
1240func (m *Extensions) XXX_Merge(src proto.Message) {
1241 xxx_messageInfo_Extensions.Merge(m, src)
1242}
1243func (m *Extensions) XXX_Size() int {
1244 return xxx_messageInfo_Extensions.Size(m)
1245}
1246func (m *Extensions) XXX_DiscardUnknown() {
1247 xxx_messageInfo_Extensions.DiscardUnknown(m)
1248}
1249
1250var xxx_messageInfo_Extensions proto.InternalMessageInfo
1251
1252func (m *Extensions) GetOptString() string {
1253 if m != nil && m.OptString != nil {
1254 return *m.OptString
1255 }
1256 return ""
1257}
1258
1259func (m *Extensions) GetOptBool() bool {
1260 if m != nil && m.OptBool != nil {
1261 return *m.OptBool
1262 }
1263 return false
1264}
1265
1266func (m *Extensions) GetOptInt32() int32 {
1267 if m != nil && m.OptInt32 != nil {
1268 return *m.OptInt32
1269 }
1270 return 0
1271}
1272
1273type ExtensionsContainer struct {
1274 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1275 XXX_unrecognized []byte `json:"-"`
1276 XXX_sizecache int32 `json:"-"`
1277}
1278
1279type xxx_ExtensionsContainer struct{ m *ExtensionsContainer }
1280
1281func (m *ExtensionsContainer) ProtoReflect() protoreflect.Message {
1282 return xxx_ExtensionsContainer{m}
1283}
1284func (m xxx_ExtensionsContainer) Type() protoreflect.MessageType {
1285 return xxx_Test_ProtoFile_MessageTypes[12].Type
1286}
1287func (m xxx_ExtensionsContainer) KnownFields() protoreflect.KnownFields {
1288 return xxx_Test_ProtoFile_MessageTypes[12].KnownFieldsOf(m.m)
1289}
1290func (m xxx_ExtensionsContainer) UnknownFields() protoreflect.UnknownFields {
1291 return xxx_Test_ProtoFile_MessageTypes[12].UnknownFieldsOf(m.m)
1292}
1293func (m xxx_ExtensionsContainer) Interface() protoreflect.ProtoMessage {
1294 return m.m
1295}
1296
1297func (m *ExtensionsContainer) Reset() { *m = ExtensionsContainer{} }
1298func (m *ExtensionsContainer) String() string { return proto.CompactTextString(m) }
1299func (*ExtensionsContainer) ProtoMessage() {}
1300func (*ExtensionsContainer) Descriptor() ([]byte, []int) {
1301 return fileDescriptor_c8d7acc1bcec9a72, []int{12}
1302}
1303
1304func (m *ExtensionsContainer) XXX_Unmarshal(b []byte) error {
1305 return xxx_messageInfo_ExtensionsContainer.Unmarshal(m, b)
1306}
1307func (m *ExtensionsContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1308 return xxx_messageInfo_ExtensionsContainer.Marshal(b, m, deterministic)
1309}
1310func (m *ExtensionsContainer) XXX_Merge(src proto.Message) {
1311 xxx_messageInfo_ExtensionsContainer.Merge(m, src)
1312}
1313func (m *ExtensionsContainer) XXX_Size() int {
1314 return xxx_messageInfo_ExtensionsContainer.Size(m)
1315}
1316func (m *ExtensionsContainer) XXX_DiscardUnknown() {
1317 xxx_messageInfo_ExtensionsContainer.DiscardUnknown(m)
1318}
1319
1320var xxx_messageInfo_ExtensionsContainer proto.InternalMessageInfo
1321
1322type MessageSet struct {
1323 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1324 proto.XXX_InternalExtensions `protobuf_messageset:"1" json:"-"`
1325 XXX_unrecognized []byte `json:"-"`
1326 XXX_sizecache int32 `json:"-"`
1327}
1328
1329type xxx_MessageSet struct{ m *MessageSet }
1330
1331func (m *MessageSet) ProtoReflect() protoreflect.Message {
1332 return xxx_MessageSet{m}
1333}
1334func (m xxx_MessageSet) Type() protoreflect.MessageType {
1335 return xxx_Test_ProtoFile_MessageTypes[13].Type
1336}
1337func (m xxx_MessageSet) KnownFields() protoreflect.KnownFields {
1338 return xxx_Test_ProtoFile_MessageTypes[13].KnownFieldsOf(m.m)
1339}
1340func (m xxx_MessageSet) UnknownFields() protoreflect.UnknownFields {
1341 return xxx_Test_ProtoFile_MessageTypes[13].UnknownFieldsOf(m.m)
1342}
1343func (m xxx_MessageSet) Interface() protoreflect.ProtoMessage {
1344 return m.m
1345}
1346
1347func (m *MessageSet) Reset() { *m = MessageSet{} }
1348func (m *MessageSet) String() string { return proto.CompactTextString(m) }
1349func (*MessageSet) ProtoMessage() {}
1350func (*MessageSet) Descriptor() ([]byte, []int) {
1351 return fileDescriptor_c8d7acc1bcec9a72, []int{13}
1352}
1353
1354var extRange_MessageSet = []proto.ExtensionRange{
1355 {Start: 4, End: 2147483646},
1356}
1357
1358func (*MessageSet) ExtensionRangeArray() []proto.ExtensionRange {
1359 return extRange_MessageSet
1360}
1361
1362func (m *MessageSet) XXX_Unmarshal(b []byte) error {
1363 return xxx_messageInfo_MessageSet.Unmarshal(m, b)
1364}
1365func (m *MessageSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1366 return xxx_messageInfo_MessageSet.Marshal(b, m, deterministic)
1367}
1368func (m *MessageSet) XXX_Merge(src proto.Message) {
1369 xxx_messageInfo_MessageSet.Merge(m, src)
1370}
1371func (m *MessageSet) XXX_Size() int {
1372 return xxx_messageInfo_MessageSet.Size(m)
1373}
1374func (m *MessageSet) XXX_DiscardUnknown() {
1375 xxx_messageInfo_MessageSet.DiscardUnknown(m)
1376}
1377
1378var xxx_messageInfo_MessageSet proto.InternalMessageInfo
1379
1380type MessageSetExtension struct {
1381 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1382 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1383 XXX_unrecognized []byte `json:"-"`
1384 XXX_sizecache int32 `json:"-"`
1385}
1386
1387type xxx_MessageSetExtension struct{ m *MessageSetExtension }
1388
1389func (m *MessageSetExtension) ProtoReflect() protoreflect.Message {
1390 return xxx_MessageSetExtension{m}
1391}
1392func (m xxx_MessageSetExtension) Type() protoreflect.MessageType {
1393 return xxx_Test_ProtoFile_MessageTypes[14].Type
1394}
1395func (m xxx_MessageSetExtension) KnownFields() protoreflect.KnownFields {
1396 return xxx_Test_ProtoFile_MessageTypes[14].KnownFieldsOf(m.m)
1397}
1398func (m xxx_MessageSetExtension) UnknownFields() protoreflect.UnknownFields {
1399 return xxx_Test_ProtoFile_MessageTypes[14].UnknownFieldsOf(m.m)
1400}
1401func (m xxx_MessageSetExtension) Interface() protoreflect.ProtoMessage {
1402 return m.m
1403}
1404
1405func (m *MessageSetExtension) Reset() { *m = MessageSetExtension{} }
1406func (m *MessageSetExtension) String() string { return proto.CompactTextString(m) }
1407func (*MessageSetExtension) ProtoMessage() {}
1408func (*MessageSetExtension) Descriptor() ([]byte, []int) {
1409 return fileDescriptor_c8d7acc1bcec9a72, []int{14}
1410}
1411
1412func (m *MessageSetExtension) XXX_Unmarshal(b []byte) error {
1413 return xxx_messageInfo_MessageSetExtension.Unmarshal(m, b)
1414}
1415func (m *MessageSetExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1416 return xxx_messageInfo_MessageSetExtension.Marshal(b, m, deterministic)
1417}
1418func (m *MessageSetExtension) XXX_Merge(src proto.Message) {
1419 xxx_messageInfo_MessageSetExtension.Merge(m, src)
1420}
1421func (m *MessageSetExtension) XXX_Size() int {
1422 return xxx_messageInfo_MessageSetExtension.Size(m)
1423}
1424func (m *MessageSetExtension) XXX_DiscardUnknown() {
1425 xxx_messageInfo_MessageSetExtension.DiscardUnknown(m)
1426}
1427
1428var xxx_messageInfo_MessageSetExtension proto.InternalMessageInfo
1429
1430func (m *MessageSetExtension) GetOptString() string {
1431 if m != nil && m.OptString != nil {
1432 return *m.OptString
1433 }
1434 return ""
1435}
1436
Herbie Ongcddf8192018-11-28 18:25:20 -08001437// Message contains well-known type fields.
1438type KnownTypes struct {
1439 OptBool *wrappers.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
1440 OptInt32 *wrappers.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
1441 OptInt64 *wrappers.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
1442 OptUint32 *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
1443 OptUint64 *wrappers.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
1444 OptFloat *wrappers.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
1445 OptDouble *wrappers.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
1446 OptString *wrappers.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1447 OptBytes *wrappers.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
1448 OptDuration *duration.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"`
1449 OptTimestamp *timestamp.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"`
1450 OptStruct *_struct.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"`
1451 OptList *_struct.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"`
1452 OptValue *_struct.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"`
1453 OptEmpty *empty.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"`
1454 OptAny *any.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
1455 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1456 XXX_unrecognized []byte `json:"-"`
1457 XXX_sizecache int32 `json:"-"`
1458}
1459
Herbie Ong70651952018-12-13 14:19:50 -08001460type xxx_KnownTypes struct{ m *KnownTypes }
1461
1462func (m *KnownTypes) ProtoReflect() protoreflect.Message {
1463 return xxx_KnownTypes{m}
1464}
1465func (m xxx_KnownTypes) Type() protoreflect.MessageType {
Herbie Ongcf253082018-12-17 17:13:07 -08001466 return xxx_Test_ProtoFile_MessageTypes[15].Type
Herbie Ong70651952018-12-13 14:19:50 -08001467}
1468func (m xxx_KnownTypes) KnownFields() protoreflect.KnownFields {
Herbie Ongcf253082018-12-17 17:13:07 -08001469 return xxx_Test_ProtoFile_MessageTypes[15].KnownFieldsOf(m.m)
Herbie Ong70651952018-12-13 14:19:50 -08001470}
1471func (m xxx_KnownTypes) UnknownFields() protoreflect.UnknownFields {
Herbie Ongcf253082018-12-17 17:13:07 -08001472 return xxx_Test_ProtoFile_MessageTypes[15].UnknownFieldsOf(m.m)
Herbie Ong70651952018-12-13 14:19:50 -08001473}
1474func (m xxx_KnownTypes) Interface() protoreflect.ProtoMessage {
1475 return m.m
1476}
1477
Herbie Ongcddf8192018-11-28 18:25:20 -08001478func (m *KnownTypes) Reset() { *m = KnownTypes{} }
1479func (m *KnownTypes) String() string { return proto.CompactTextString(m) }
1480func (*KnownTypes) ProtoMessage() {}
1481func (*KnownTypes) Descriptor() ([]byte, []int) {
Herbie Ongcf253082018-12-17 17:13:07 -08001482 return fileDescriptor_c8d7acc1bcec9a72, []int{15}
Herbie Ongcddf8192018-11-28 18:25:20 -08001483}
1484
1485func (m *KnownTypes) XXX_Unmarshal(b []byte) error {
1486 return xxx_messageInfo_KnownTypes.Unmarshal(m, b)
1487}
1488func (m *KnownTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1489 return xxx_messageInfo_KnownTypes.Marshal(b, m, deterministic)
1490}
1491func (m *KnownTypes) XXX_Merge(src proto.Message) {
1492 xxx_messageInfo_KnownTypes.Merge(m, src)
1493}
1494func (m *KnownTypes) XXX_Size() int {
1495 return xxx_messageInfo_KnownTypes.Size(m)
1496}
1497func (m *KnownTypes) XXX_DiscardUnknown() {
1498 xxx_messageInfo_KnownTypes.DiscardUnknown(m)
1499}
1500
1501var xxx_messageInfo_KnownTypes proto.InternalMessageInfo
1502
1503func (m *KnownTypes) GetOptBool() *wrappers.BoolValue {
1504 if m != nil {
1505 return m.OptBool
1506 }
1507 return nil
1508}
1509
1510func (m *KnownTypes) GetOptInt32() *wrappers.Int32Value {
1511 if m != nil {
1512 return m.OptInt32
1513 }
1514 return nil
1515}
1516
1517func (m *KnownTypes) GetOptInt64() *wrappers.Int64Value {
1518 if m != nil {
1519 return m.OptInt64
1520 }
1521 return nil
1522}
1523
1524func (m *KnownTypes) GetOptUint32() *wrappers.UInt32Value {
1525 if m != nil {
1526 return m.OptUint32
1527 }
1528 return nil
1529}
1530
1531func (m *KnownTypes) GetOptUint64() *wrappers.UInt64Value {
1532 if m != nil {
1533 return m.OptUint64
1534 }
1535 return nil
1536}
1537
1538func (m *KnownTypes) GetOptFloat() *wrappers.FloatValue {
1539 if m != nil {
1540 return m.OptFloat
1541 }
1542 return nil
1543}
1544
1545func (m *KnownTypes) GetOptDouble() *wrappers.DoubleValue {
1546 if m != nil {
1547 return m.OptDouble
1548 }
1549 return nil
1550}
1551
1552func (m *KnownTypes) GetOptString() *wrappers.StringValue {
1553 if m != nil {
1554 return m.OptString
1555 }
1556 return nil
1557}
1558
1559func (m *KnownTypes) GetOptBytes() *wrappers.BytesValue {
1560 if m != nil {
1561 return m.OptBytes
1562 }
1563 return nil
1564}
1565
1566func (m *KnownTypes) GetOptDuration() *duration.Duration {
1567 if m != nil {
1568 return m.OptDuration
1569 }
1570 return nil
1571}
1572
1573func (m *KnownTypes) GetOptTimestamp() *timestamp.Timestamp {
1574 if m != nil {
1575 return m.OptTimestamp
1576 }
1577 return nil
1578}
1579
1580func (m *KnownTypes) GetOptStruct() *_struct.Struct {
1581 if m != nil {
1582 return m.OptStruct
1583 }
1584 return nil
1585}
1586
1587func (m *KnownTypes) GetOptList() *_struct.ListValue {
1588 if m != nil {
1589 return m.OptList
1590 }
1591 return nil
1592}
1593
1594func (m *KnownTypes) GetOptValue() *_struct.Value {
1595 if m != nil {
1596 return m.OptValue
1597 }
1598 return nil
1599}
1600
1601func (m *KnownTypes) GetOptEmpty() *empty.Empty {
1602 if m != nil {
1603 return m.OptEmpty
1604 }
1605 return nil
1606}
1607
1608func (m *KnownTypes) GetOptAny() *any.Any {
1609 if m != nil {
1610 return m.OptAny
1611 }
1612 return nil
1613}
1614
Herbie Ong70651952018-12-13 14:19:50 -08001615type Nests_OptGroup struct {
1616 OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
1617 OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1618 OptNested *Nested `protobuf:"bytes,3,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
1619 Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,4,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
1620 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1621 XXX_unrecognized []byte `json:"-"`
1622 XXX_sizecache int32 `json:"-"`
1623}
1624
1625type xxx_Nests_OptGroup struct{ m *Nests_OptGroup }
1626
1627func (m *Nests_OptGroup) ProtoReflect() protoreflect.Message {
1628 return xxx_Nests_OptGroup{m}
1629}
1630func (m xxx_Nests_OptGroup) Type() protoreflect.MessageType {
Herbie Ongcf253082018-12-17 17:13:07 -08001631 return xxx_Test_ProtoFile_MessageTypes[16].Type
Herbie Ong70651952018-12-13 14:19:50 -08001632}
1633func (m xxx_Nests_OptGroup) KnownFields() protoreflect.KnownFields {
Herbie Ongcf253082018-12-17 17:13:07 -08001634 return xxx_Test_ProtoFile_MessageTypes[16].KnownFieldsOf(m.m)
Herbie Ong70651952018-12-13 14:19:50 -08001635}
1636func (m xxx_Nests_OptGroup) UnknownFields() protoreflect.UnknownFields {
Herbie Ongcf253082018-12-17 17:13:07 -08001637 return xxx_Test_ProtoFile_MessageTypes[16].UnknownFieldsOf(m.m)
Herbie Ong70651952018-12-13 14:19:50 -08001638}
1639func (m xxx_Nests_OptGroup) Interface() protoreflect.ProtoMessage {
1640 return m.m
1641}
1642
1643func (m *Nests_OptGroup) Reset() { *m = Nests_OptGroup{} }
1644func (m *Nests_OptGroup) String() string { return proto.CompactTextString(m) }
1645func (*Nests_OptGroup) ProtoMessage() {}
1646func (*Nests_OptGroup) Descriptor() ([]byte, []int) {
1647 return fileDescriptor_c8d7acc1bcec9a72, []int{3, 0}
1648}
1649
1650func (m *Nests_OptGroup) XXX_Unmarshal(b []byte) error {
1651 return xxx_messageInfo_Nests_OptGroup.Unmarshal(m, b)
1652}
1653func (m *Nests_OptGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1654 return xxx_messageInfo_Nests_OptGroup.Marshal(b, m, deterministic)
1655}
1656func (m *Nests_OptGroup) XXX_Merge(src proto.Message) {
1657 xxx_messageInfo_Nests_OptGroup.Merge(m, src)
1658}
1659func (m *Nests_OptGroup) XXX_Size() int {
1660 return xxx_messageInfo_Nests_OptGroup.Size(m)
1661}
1662func (m *Nests_OptGroup) XXX_DiscardUnknown() {
1663 xxx_messageInfo_Nests_OptGroup.DiscardUnknown(m)
1664}
1665
1666var xxx_messageInfo_Nests_OptGroup proto.InternalMessageInfo
1667
1668func (m *Nests_OptGroup) GetOptBool() bool {
1669 if m != nil && m.OptBool != nil {
1670 return *m.OptBool
1671 }
1672 return false
1673}
1674
1675func (m *Nests_OptGroup) GetOptString() string {
1676 if m != nil && m.OptString != nil {
1677 return *m.OptString
1678 }
1679 return ""
1680}
1681
1682func (m *Nests_OptGroup) GetOptNested() *Nested {
1683 if m != nil {
1684 return m.OptNested
1685 }
1686 return nil
1687}
1688
1689func (m *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup {
1690 if m != nil {
1691 return m.Optnestedgroup
1692 }
1693 return nil
1694}
1695
1696type Nests_RptGroup struct {
1697 RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
1698 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1699 XXX_unrecognized []byte `json:"-"`
1700 XXX_sizecache int32 `json:"-"`
1701}
1702
1703type xxx_Nests_RptGroup struct{ m *Nests_RptGroup }
1704
1705func (m *Nests_RptGroup) ProtoReflect() protoreflect.Message {
1706 return xxx_Nests_RptGroup{m}
1707}
1708func (m xxx_Nests_RptGroup) Type() protoreflect.MessageType {
Herbie Ongcf253082018-12-17 17:13:07 -08001709 return xxx_Test_ProtoFile_MessageTypes[17].Type
Herbie Ong70651952018-12-13 14:19:50 -08001710}
1711func (m xxx_Nests_RptGroup) KnownFields() protoreflect.KnownFields {
Herbie Ongcf253082018-12-17 17:13:07 -08001712 return xxx_Test_ProtoFile_MessageTypes[17].KnownFieldsOf(m.m)
Herbie Ong70651952018-12-13 14:19:50 -08001713}
1714func (m xxx_Nests_RptGroup) UnknownFields() protoreflect.UnknownFields {
Herbie Ongcf253082018-12-17 17:13:07 -08001715 return xxx_Test_ProtoFile_MessageTypes[17].UnknownFieldsOf(m.m)
Herbie Ong70651952018-12-13 14:19:50 -08001716}
1717func (m xxx_Nests_RptGroup) Interface() protoreflect.ProtoMessage {
1718 return m.m
1719}
1720
1721func (m *Nests_RptGroup) Reset() { *m = Nests_RptGroup{} }
1722func (m *Nests_RptGroup) String() string { return proto.CompactTextString(m) }
1723func (*Nests_RptGroup) ProtoMessage() {}
1724func (*Nests_RptGroup) Descriptor() ([]byte, []int) {
1725 return fileDescriptor_c8d7acc1bcec9a72, []int{3, 1}
1726}
1727
1728func (m *Nests_RptGroup) XXX_Unmarshal(b []byte) error {
1729 return xxx_messageInfo_Nests_RptGroup.Unmarshal(m, b)
1730}
1731func (m *Nests_RptGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1732 return xxx_messageInfo_Nests_RptGroup.Marshal(b, m, deterministic)
1733}
1734func (m *Nests_RptGroup) XXX_Merge(src proto.Message) {
1735 xxx_messageInfo_Nests_RptGroup.Merge(m, src)
1736}
1737func (m *Nests_RptGroup) XXX_Size() int {
1738 return xxx_messageInfo_Nests_RptGroup.Size(m)
1739}
1740func (m *Nests_RptGroup) XXX_DiscardUnknown() {
1741 xxx_messageInfo_Nests_RptGroup.DiscardUnknown(m)
1742}
1743
1744var xxx_messageInfo_Nests_RptGroup proto.InternalMessageInfo
1745
1746func (m *Nests_RptGroup) GetRptBool() []bool {
1747 if m != nil {
1748 return m.RptBool
1749 }
1750 return nil
1751}
1752
1753type Nests_OptGroup_OptNestedGroup struct {
1754 OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
1755 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1756 XXX_unrecognized []byte `json:"-"`
1757 XXX_sizecache int32 `json:"-"`
1758}
1759
1760type xxx_Nests_OptGroup_OptNestedGroup struct {
1761 m *Nests_OptGroup_OptNestedGroup
1762}
1763
1764func (m *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message {
1765 return xxx_Nests_OptGroup_OptNestedGroup{m}
1766}
1767func (m xxx_Nests_OptGroup_OptNestedGroup) Type() protoreflect.MessageType {
Herbie Ongcf253082018-12-17 17:13:07 -08001768 return xxx_Test_ProtoFile_MessageTypes[18].Type
Herbie Ong70651952018-12-13 14:19:50 -08001769}
1770func (m xxx_Nests_OptGroup_OptNestedGroup) KnownFields() protoreflect.KnownFields {
Herbie Ongcf253082018-12-17 17:13:07 -08001771 return xxx_Test_ProtoFile_MessageTypes[18].KnownFieldsOf(m.m)
Herbie Ong70651952018-12-13 14:19:50 -08001772}
1773func (m xxx_Nests_OptGroup_OptNestedGroup) UnknownFields() protoreflect.UnknownFields {
Herbie Ongcf253082018-12-17 17:13:07 -08001774 return xxx_Test_ProtoFile_MessageTypes[18].UnknownFieldsOf(m.m)
Herbie Ong70651952018-12-13 14:19:50 -08001775}
1776func (m xxx_Nests_OptGroup_OptNestedGroup) Interface() protoreflect.ProtoMessage {
1777 return m.m
1778}
1779
1780func (m *Nests_OptGroup_OptNestedGroup) Reset() { *m = Nests_OptGroup_OptNestedGroup{} }
1781func (m *Nests_OptGroup_OptNestedGroup) String() string { return proto.CompactTextString(m) }
1782func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {}
1783func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) {
1784 return fileDescriptor_c8d7acc1bcec9a72, []int{3, 0, 0}
1785}
1786
1787func (m *Nests_OptGroup_OptNestedGroup) XXX_Unmarshal(b []byte) error {
1788 return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Unmarshal(m, b)
1789}
1790func (m *Nests_OptGroup_OptNestedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1791 return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Marshal(b, m, deterministic)
1792}
1793func (m *Nests_OptGroup_OptNestedGroup) XXX_Merge(src proto.Message) {
1794 xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Merge(m, src)
1795}
1796func (m *Nests_OptGroup_OptNestedGroup) XXX_Size() int {
1797 return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Size(m)
1798}
1799func (m *Nests_OptGroup_OptNestedGroup) XXX_DiscardUnknown() {
1800 xxx_messageInfo_Nests_OptGroup_OptNestedGroup.DiscardUnknown(m)
1801}
1802
1803var xxx_messageInfo_Nests_OptGroup_OptNestedGroup proto.InternalMessageInfo
1804
1805func (m *Nests_OptGroup_OptNestedGroup) GetOptEnum() Enum {
1806 if m != nil && m.OptEnum != nil {
1807 return *m.OptEnum
1808 }
1809 return Enum_UNKNOWN
1810}
1811
Herbie Ongcf253082018-12-17 17:13:07 -08001812var E_OptExtBool = &proto.ExtensionDesc{
1813 ExtendedType: (*Extensions)(nil),
1814 ExtensionType: (*bool)(nil),
1815 Field: 21,
1816 Name: "pb2.opt_ext_bool",
1817 Tag: "varint,21,opt,name=opt_ext_bool",
1818 Filename: "encoding/textpb/testprotos/pb2/test.proto",
1819}
1820
1821var E_OptExtString = &proto.ExtensionDesc{
1822 ExtendedType: (*Extensions)(nil),
1823 ExtensionType: (*string)(nil),
1824 Field: 22,
1825 Name: "pb2.opt_ext_string",
1826 Tag: "bytes,22,opt,name=opt_ext_string",
1827 Filename: "encoding/textpb/testprotos/pb2/test.proto",
1828}
1829
1830var E_OptExtEnum = &proto.ExtensionDesc{
1831 ExtendedType: (*Extensions)(nil),
1832 ExtensionType: (*Enum)(nil),
1833 Field: 23,
1834 Name: "pb2.opt_ext_enum",
1835 Tag: "varint,23,opt,name=opt_ext_enum,enum=pb2.Enum",
1836 Filename: "encoding/textpb/testprotos/pb2/test.proto",
1837}
1838
1839var E_OptExtNested = &proto.ExtensionDesc{
1840 ExtendedType: (*Extensions)(nil),
1841 ExtensionType: (*Nested)(nil),
1842 Field: 24,
1843 Name: "pb2.opt_ext_nested",
1844 Tag: "bytes,24,opt,name=opt_ext_nested",
1845 Filename: "encoding/textpb/testprotos/pb2/test.proto",
1846}
1847
1848var E_RptExtFixed32 = &proto.ExtensionDesc{
1849 ExtendedType: (*Extensions)(nil),
1850 ExtensionType: ([]uint32)(nil),
1851 Field: 31,
1852 Name: "pb2.rpt_ext_fixed32",
1853 Tag: "fixed32,31,rep,name=rpt_ext_fixed32",
1854 Filename: "encoding/textpb/testprotos/pb2/test.proto",
1855}
1856
1857var E_RptExtEnum = &proto.ExtensionDesc{
1858 ExtendedType: (*Extensions)(nil),
1859 ExtensionType: ([]Enum)(nil),
1860 Field: 32,
1861 Name: "pb2.rpt_ext_enum",
1862 Tag: "varint,32,rep,name=rpt_ext_enum,enum=pb2.Enum",
1863 Filename: "encoding/textpb/testprotos/pb2/test.proto",
1864}
1865
1866var E_RptExtNested = &proto.ExtensionDesc{
1867 ExtendedType: (*Extensions)(nil),
1868 ExtensionType: ([]*Nested)(nil),
1869 Field: 33,
1870 Name: "pb2.rpt_ext_nested",
1871 Tag: "bytes,33,rep,name=rpt_ext_nested",
1872 Filename: "encoding/textpb/testprotos/pb2/test.proto",
1873}
1874
1875var E_ExtensionsContainer_OptExtBool = &proto.ExtensionDesc{
1876 ExtendedType: (*Extensions)(nil),
1877 ExtensionType: (*bool)(nil),
1878 Field: 51,
1879 Name: "pb2.ExtensionsContainer.opt_ext_bool",
1880 Tag: "varint,51,opt,name=opt_ext_bool",
1881 Filename: "encoding/textpb/testprotos/pb2/test.proto",
1882}
1883
1884var E_ExtensionsContainer_OptExtString = &proto.ExtensionDesc{
1885 ExtendedType: (*Extensions)(nil),
1886 ExtensionType: (*string)(nil),
1887 Field: 52,
1888 Name: "pb2.ExtensionsContainer.opt_ext_string",
1889 Tag: "bytes,52,opt,name=opt_ext_string",
1890 Filename: "encoding/textpb/testprotos/pb2/test.proto",
1891}
1892
1893var E_ExtensionsContainer_OptExtEnum = &proto.ExtensionDesc{
1894 ExtendedType: (*Extensions)(nil),
1895 ExtensionType: (*Enum)(nil),
1896 Field: 53,
1897 Name: "pb2.ExtensionsContainer.opt_ext_enum",
1898 Tag: "varint,53,opt,name=opt_ext_enum,enum=pb2.Enum",
1899 Filename: "encoding/textpb/testprotos/pb2/test.proto",
1900}
1901
1902var E_ExtensionsContainer_OptExtNested = &proto.ExtensionDesc{
1903 ExtendedType: (*Extensions)(nil),
1904 ExtensionType: (*Nested)(nil),
1905 Field: 54,
1906 Name: "pb2.ExtensionsContainer.opt_ext_nested",
1907 Tag: "bytes,54,opt,name=opt_ext_nested",
1908 Filename: "encoding/textpb/testprotos/pb2/test.proto",
1909}
1910
1911var E_ExtensionsContainer_RptExtString = &proto.ExtensionDesc{
1912 ExtendedType: (*Extensions)(nil),
1913 ExtensionType: ([]string)(nil),
1914 Field: 61,
1915 Name: "pb2.ExtensionsContainer.rpt_ext_string",
1916 Tag: "bytes,61,rep,name=rpt_ext_string",
1917 Filename: "encoding/textpb/testprotos/pb2/test.proto",
1918}
1919
1920var E_ExtensionsContainer_RptExtEnum = &proto.ExtensionDesc{
1921 ExtendedType: (*Extensions)(nil),
1922 ExtensionType: ([]Enum)(nil),
1923 Field: 62,
1924 Name: "pb2.ExtensionsContainer.rpt_ext_enum",
1925 Tag: "varint,62,rep,name=rpt_ext_enum,enum=pb2.Enum",
1926 Filename: "encoding/textpb/testprotos/pb2/test.proto",
1927}
1928
1929var E_ExtensionsContainer_RptExtNested = &proto.ExtensionDesc{
1930 ExtendedType: (*Extensions)(nil),
1931 ExtensionType: ([]*Nested)(nil),
1932 Field: 63,
1933 Name: "pb2.ExtensionsContainer.rpt_ext_nested",
1934 Tag: "bytes,63,rep,name=rpt_ext_nested",
1935 Filename: "encoding/textpb/testprotos/pb2/test.proto",
1936}
1937
1938var E_MessageSetExtension_MessageSetExtension = &proto.ExtensionDesc{
1939 ExtendedType: (*MessageSet)(nil),
1940 ExtensionType: (*MessageSetExtension)(nil),
1941 Field: 10,
1942 Name: "pb2.MessageSetExtension",
1943 Tag: "bytes,10,opt,name=message_set_extension",
1944 Filename: "encoding/textpb/testprotos/pb2/test.proto",
1945}
1946
1947var E_MessageSetExtension_NotMessageSetExtension = &proto.ExtensionDesc{
1948 ExtendedType: (*MessageSet)(nil),
1949 ExtensionType: (*MessageSetExtension)(nil),
1950 Field: 20,
1951 Name: "pb2.MessageSetExtension.not_message_set_extension",
1952 Tag: "bytes,20,opt,name=not_message_set_extension",
1953 Filename: "encoding/textpb/testprotos/pb2/test.proto",
1954}
1955
1956var E_MessageSetExtension_ExtNested = &proto.ExtensionDesc{
1957 ExtendedType: (*MessageSet)(nil),
1958 ExtensionType: (*Nested)(nil),
1959 Field: 30,
1960 Name: "pb2.MessageSetExtension.ext_nested",
1961 Tag: "bytes,30,opt,name=ext_nested",
1962 Filename: "encoding/textpb/testprotos/pb2/test.proto",
1963}
1964
Herbie Ongcddf8192018-11-28 18:25:20 -08001965func init() {
Herbie Ong70651952018-12-13 14:19:50 -08001966 proto.RegisterFile("encoding/textpb/testprotos/pb2/test.proto", fileDescriptor_c8d7acc1bcec9a72)
Herbie Ongcddf8192018-11-28 18:25:20 -08001967 proto.RegisterEnum("pb2.Enum", Enum_name, Enum_value)
1968 proto.RegisterEnum("pb2.Enums_NestedEnum", Enums_NestedEnum_name, Enums_NestedEnum_value)
1969 proto.RegisterType((*Scalars)(nil), "pb2.Scalars")
1970 proto.RegisterType((*Repeats)(nil), "pb2.Repeats")
1971 proto.RegisterType((*Enums)(nil), "pb2.Enums")
1972 proto.RegisterType((*Nests)(nil), "pb2.Nests")
Herbie Ongcddf8192018-11-28 18:25:20 -08001973 proto.RegisterType((*Nested)(nil), "pb2.Nested")
1974 proto.RegisterType((*Requireds)(nil), "pb2.Requireds")
Herbie Ong800c9902018-12-06 15:28:53 -08001975 proto.RegisterType((*PartialRequired)(nil), "pb2.PartialRequired")
Herbie Ongcddf8192018-11-28 18:25:20 -08001976 proto.RegisterType((*Oneofs)(nil), "pb2.Oneofs")
1977 proto.RegisterType((*Maps)(nil), "pb2.Maps")
1978 proto.RegisterMapType((map[bool]uint32)(nil), "pb2.Maps.BoolToUint32Entry")
1979 proto.RegisterMapType((map[int32]string)(nil), "pb2.Maps.Int32ToStrEntry")
1980 proto.RegisterMapType((map[int64]bool)(nil), "pb2.Maps.Sfixed64ToBoolEntry")
1981 proto.RegisterMapType((map[string]*Nested)(nil), "pb2.Maps.StrToNestedEntry")
1982 proto.RegisterMapType((map[string]*Oneofs)(nil), "pb2.Maps.StrToOneofsEntry")
1983 proto.RegisterMapType((map[uint64]Enum)(nil), "pb2.Maps.Uint64ToEnumEntry")
Herbie Ong800c9902018-12-06 15:28:53 -08001984 proto.RegisterType((*NestedWithRequired)(nil), "pb2.NestedWithRequired")
1985 proto.RegisterType((*IndirectRequired)(nil), "pb2.IndirectRequired")
1986 proto.RegisterMapType((map[string]*NestedWithRequired)(nil), "pb2.IndirectRequired.StrToNestedEntry")
Herbie Ongcf253082018-12-17 17:13:07 -08001987 proto.RegisterType((*Extensions)(nil), "pb2.Extensions")
1988 proto.RegisterType((*ExtensionsContainer)(nil), "pb2.ExtensionsContainer")
1989 proto.RegisterType((*MessageSet)(nil), "pb2.MessageSet")
1990 proto.RegisterType((*MessageSetExtension)(nil), "pb2.MessageSetExtension")
Herbie Ongcddf8192018-11-28 18:25:20 -08001991 proto.RegisterType((*KnownTypes)(nil), "pb2.KnownTypes")
Herbie Ong70651952018-12-13 14:19:50 -08001992 proto.RegisterType((*Nests_OptGroup)(nil), "pb2.Nests.OptGroup")
1993 proto.RegisterType((*Nests_RptGroup)(nil), "pb2.Nests.RptGroup")
1994 proto.RegisterType((*Nests_OptGroup_OptNestedGroup)(nil), "pb2.Nests.OptGroup.OptNestedGroup")
Herbie Ongcf253082018-12-17 17:13:07 -08001995 proto.RegisterExtension(E_OptExtBool)
1996 proto.RegisterExtension(E_OptExtString)
1997 proto.RegisterExtension(E_OptExtEnum)
1998 proto.RegisterExtension(E_OptExtNested)
1999 proto.RegisterExtension(E_RptExtFixed32)
2000 proto.RegisterExtension(E_RptExtEnum)
2001 proto.RegisterExtension(E_RptExtNested)
2002 proto.RegisterExtension(E_ExtensionsContainer_OptExtBool)
2003 proto.RegisterExtension(E_ExtensionsContainer_OptExtString)
2004 proto.RegisterExtension(E_ExtensionsContainer_OptExtEnum)
2005 proto.RegisterExtension(E_ExtensionsContainer_OptExtNested)
2006 proto.RegisterExtension(E_ExtensionsContainer_RptExtString)
2007 proto.RegisterExtension(E_ExtensionsContainer_RptExtEnum)
2008 proto.RegisterExtension(E_ExtensionsContainer_RptExtNested)
2009 proto.RegisterExtension(E_MessageSetExtension_MessageSetExtension)
2010 proto.RegisterExtension(E_MessageSetExtension_NotMessageSetExtension)
2011 proto.RegisterExtension(E_MessageSetExtension_ExtNested)
Herbie Ongcddf8192018-11-28 18:25:20 -08002012}
2013
2014var fileDescriptor_c8d7acc1bcec9a72 = []byte{
Herbie Ongcf253082018-12-17 17:13:07 -08002015 // 1945 bytes of a gzipped FileDescriptorProto
2016 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x58, 0xdb, 0x6e, 0x1b, 0xc9,
2017 0x11, 0xdd, 0x99, 0xe1, 0xb5, 0xa9, 0x0b, 0x3d, 0x92, 0xbd, 0x14, 0xbd, 0xbb, 0x1a, 0x13, 0x9b,
2018 0x80, 0x11, 0xb0, 0x12, 0x32, 0xa2, 0x19, 0x81, 0x5a, 0xdb, 0xb0, 0xd6, 0xf4, 0xae, 0xd7, 0x59,
2019 0x29, 0x20, 0xe9, 0x18, 0x58, 0x20, 0x10, 0x48, 0xb1, 0xc5, 0x1d, 0x84, 0x9c, 0x1e, 0xf6, 0x34,
2020 0x6d, 0xe9, 0x3f, 0xf2, 0x0d, 0xc9, 0x1f, 0xe4, 0x21, 0xf9, 0x93, 0xfc, 0x44, 0x5e, 0xf2, 0x10,
2021 0x20, 0x0f, 0x0e, 0xaa, 0x7a, 0x2e, 0xcd, 0x19, 0xde, 0xde, 0xa6, 0xbb, 0xea, 0x9c, 0xaa, 0xae,
2022 0xea, 0xae, 0xea, 0x69, 0xf2, 0x1b, 0xea, 0xde, 0xb0, 0xa1, 0xe3, 0x8e, 0x4e, 0x04, 0xbd, 0x13,
2023 0xde, 0xe0, 0x44, 0x50, 0x5f, 0x78, 0x9c, 0x09, 0xe6, 0x9f, 0x78, 0x03, 0x1b, 0x87, 0xc7, 0x38,
2024 0x36, 0x0d, 0x6f, 0x60, 0x57, 0x0f, 0x46, 0x8c, 0x8d, 0xc6, 0xf4, 0x04, 0xa7, 0x06, 0xb3, 0xdb,
2025 0x93, 0xbe, 0x7b, 0x2f, 0xe5, 0xd5, 0xc7, 0x49, 0x11, 0x9d, 0x78, 0x22, 0x14, 0x7e, 0x95, 0x14,
2026 0x0e, 0x67, 0xbc, 0x2f, 0x1c, 0xe6, 0x06, 0xf2, 0x2f, 0x92, 0x72, 0x5f, 0xf0, 0xd9, 0x4d, 0x60,
2027 0xba, 0x7a, 0x98, 0x94, 0x0a, 0x67, 0x42, 0x7d, 0xd1, 0x9f, 0x78, 0xcb, 0xe8, 0x3f, 0xf2, 0xbe,
2028 0xe7, 0x51, 0xee, 0x4b, 0x79, 0xed, 0x5f, 0x06, 0xc9, 0x77, 0x6f, 0xfa, 0xe3, 0x3e, 0xf7, 0xcd,
2029 0x03, 0x52, 0x60, 0x9e, 0xb8, 0x1e, 0x30, 0x36, 0xae, 0x68, 0x96, 0x56, 0x2f, 0x74, 0xf2, 0xcc,
2030 0x13, 0x17, 0x8c, 0x8d, 0xcd, 0xc7, 0xa4, 0x08, 0x22, 0xc7, 0x15, 0xa7, 0x76, 0x45, 0xb7, 0xb4,
2031 0x7a, 0xb6, 0x03, 0xba, 0x6f, 0x60, 0xac, 0x08, 0x9b, 0x8d, 0x8a, 0x61, 0x69, 0x75, 0x23, 0x14,
2032 0x36, 0x1b, 0xe6, 0x97, 0x84, 0x80, 0x70, 0x26, 0xa1, 0x19, 0x4b, 0xab, 0x6f, 0x77, 0x40, 0xfd,
2033 0x1d, 0x4e, 0xa8, 0xe2, 0x66, 0xa3, 0x92, 0xb5, 0xb4, 0x7a, 0x26, 0x12, 0xc7, 0x68, 0x5f, 0xa2,
2034 0x73, 0x96, 0x56, 0x7f, 0x80, 0xe2, 0xee, 0x1c, 0xda, 0x97, 0xe8, 0xbc, 0xa5, 0xd5, 0xcd, 0x48,
2035 0xdc, 0x6c, 0x98, 0x87, 0xa4, 0x04, 0xe2, 0x5b, 0xe7, 0x8e, 0x0e, 0x4f, 0xed, 0x4a, 0xc1, 0xd2,
2036 0xea, 0xf9, 0x0e, 0x20, 0x5e, 0xcb, 0x99, 0x39, 0x85, 0x66, 0xa3, 0x52, 0xb4, 0xb4, 0x7a, 0x2e,
2037 0x56, 0x68, 0x36, 0xcc, 0x27, 0x64, 0x0b, 0x0d, 0x84, 0x14, 0xc4, 0xd2, 0xea, 0xbb, 0x1d, 0x00,
2038 0x75, 0x83, 0xa9, 0x79, 0x95, 0x66, 0xa3, 0x52, 0xb2, 0xb4, 0x7a, 0x59, 0x51, 0x69, 0x36, 0xc2,
2039 0x00, 0xdd, 0x8e, 0x59, 0x5f, 0x54, 0xf6, 0x2d, 0xad, 0xae, 0x63, 0x80, 0x5e, 0xc3, 0x38, 0x5c,
2040 0xc3, 0x90, 0xcd, 0x06, 0x63, 0x5a, 0x79, 0x68, 0x69, 0x75, 0x0d, 0xd7, 0xf0, 0x0a, 0x27, 0x42,
2041 0xec, 0xe0, 0x5e, 0x50, 0xbf, 0xb2, 0x63, 0x69, 0xf5, 0x2d, 0xc4, 0x5e, 0xc0, 0x38, 0x5a, 0xbf,
2042 0xe0, 0x8e, 0x3b, 0xaa, 0x6c, 0x5b, 0x5a, 0xbd, 0x28, 0xd7, 0x8f, 0x13, 0xb5, 0xbf, 0xe8, 0x24,
2043 0xdf, 0xa1, 0x1e, 0xed, 0x0b, 0x4c, 0x2e, 0x8f, 0x93, 0x6b, 0x40, 0x72, 0x79, 0x9c, 0x5c, 0xae,
2044 0x24, 0xd7, 0x80, 0xe4, 0x72, 0x25, 0xb9, 0x5c, 0x49, 0xae, 0x01, 0xc9, 0xe5, 0x4a, 0x72, 0xb9,
2045 0x9a, 0x5c, 0x03, 0x92, 0xcb, 0xd5, 0xe4, 0x72, 0x35, 0xb9, 0x06, 0x24, 0x97, 0x47, 0xc9, 0x0d,
2046 0xa8, 0x65, 0x58, 0x72, 0x96, 0x01, 0x61, 0xe1, 0x4a, 0x58, 0x78, 0x1c, 0x96, 0xbc, 0x65, 0x40,
2047 0x58, 0x78, 0x14, 0x96, 0x40, 0x1c, 0xac, 0x7c, 0xd7, 0x32, 0x60, 0xe5, 0x3c, 0x5c, 0x79, 0x48,
2048 0x1d, 0x46, 0xcd, 0x80, 0xa8, 0xf1, 0x20, 0x6a, 0xb5, 0xff, 0x69, 0x24, 0xdb, 0x76, 0x67, 0x13,
2049 0xdf, 0xfc, 0x5a, 0xee, 0x78, 0xea, 0xce, 0x26, 0xb8, 0xe3, 0x77, 0xec, 0xe2, 0xb1, 0x37, 0xb0,
2050 0x8f, 0x41, 0x8a, 0x9b, 0x1f, 0x3e, 0x40, 0x8b, 0x87, 0x5a, 0x10, 0x9e, 0x79, 0x2d, 0x1e, 0x68,
2051 0x3d, 0x23, 0xbb, 0xc0, 0xe5, 0x52, 0x5f, 0xd0, 0xa1, 0x54, 0x36, 0x90, 0xf2, 0x61, 0xa4, 0xec,
2052 0x1f, 0x5f, 0xa2, 0x14, 0x81, 0xdb, 0xcc, 0x13, 0xf1, 0x10, 0xe0, 0x3c, 0x01, 0xcf, 0xa0, 0xad,
2053 0x65, 0x70, 0xae, 0xc2, 0x6b, 0x75, 0x42, 0x14, 0xb2, 0x3c, 0x31, 0xde, 0x5d, 0x5e, 0x95, 0x35,
2054 0xf8, 0x78, 0x75, 0xd5, 0x2d, 0xeb, 0x66, 0x81, 0x64, 0x5e, 0xbd, 0x69, 0xff, 0x5c, 0x26, 0xb5,
2055 0x7f, 0x1b, 0x24, 0x0b, 0xaa, 0xbe, 0x79, 0x24, 0x77, 0x8f, 0x34, 0x89, 0xeb, 0x2f, 0xd9, 0x25,
2056 0xb4, 0x26, 0xa9, 0x70, 0x2b, 0xc9, 0x4f, 0xf3, 0x04, 0x23, 0x35, 0xe2, 0x6c, 0xe6, 0xe1, 0xf9,
2057 0x27, 0xf6, 0x5e, 0xa4, 0xe9, 0x1f, 0x5f, 0x79, 0xe2, 0x7b, 0x10, 0x75, 0x22, 0x25, 0x20, 0x8f,
2058 0xd7, 0x83, 0x1b, 0x27, 0x49, 0xce, 0x55, 0x72, 0x1e, 0x92, 0xc3, 0xa2, 0xe7, 0xc9, 0x3b, 0x11,
2059 0x79, 0xa8, 0x54, 0xfd, 0x8f, 0x46, 0x0a, 0xa1, 0xcd, 0x55, 0x65, 0x6b, 0xfe, 0x7c, 0xe8, 0x89,
2060 0xf3, 0x91, 0x08, 0x80, 0xb1, 0x32, 0x00, 0x3f, 0x92, 0x1d, 0xe6, 0x09, 0xa9, 0x1a, 0x7a, 0x0a,
2061 0x61, 0xa8, 0x2d, 0x08, 0x03, 0x7c, 0x48, 0x98, 0x74, 0x3c, 0x81, 0xac, 0x36, 0xc9, 0xce, 0xbc,
2062 0xc6, 0x66, 0x1b, 0xb1, 0xfa, 0x2b, 0x52, 0xe8, 0x28, 0xab, 0x5e, 0x72, 0x9e, 0x3b, 0x3b, 0x9c,
2063 0xfa, 0x94, 0x7f, 0xa0, 0xc3, 0xeb, 0x5b, 0x87, 0x8e, 0x87, 0xb5, 0x2e, 0xc9, 0x05, 0x8b, 0x98,
2064 0x8f, 0x87, 0xb6, 0x3a, 0x1e, 0xfa, 0xaa, 0x78, 0xd4, 0xfe, 0xab, 0x93, 0x62, 0x87, 0x4e, 0x67,
2065 0x0e, 0xa7, 0x43, 0x59, 0x5d, 0xe8, 0x34, 0xf4, 0x46, 0x47, 0x6f, 0xe8, 0x14, 0x73, 0x70, 0x48,
2066 0x4a, 0x20, 0x0a, 0x2b, 0xa8, 0x6e, 0xe9, 0x50, 0x84, 0x39, 0x9d, 0x2a, 0x45, 0x38, 0x52, 0xc0,
2067 0x1a, 0xa3, 0x43, 0x11, 0x0e, 0x15, 0x64, 0x11, 0x06, 0x85, 0xa8, 0x08, 0x67, 0x2c, 0x1d, 0x8a,
2068 0x30, 0xa7, 0x53, 0xb5, 0x08, 0xc7, 0x2a, 0x58, 0x6b, 0x74, 0x28, 0xc2, 0x91, 0x4a, 0x50, 0x6d,
2069 0xc0, 0x4c, 0x50, 0x6d, 0x74, 0xac, 0x36, 0x74, 0x1a, 0x57, 0x1b, 0x3a, 0x8d, 0xab, 0x8d, 0x8e,
2070 0xd5, 0x86, 0x4e, 0x95, 0x6a, 0x03, 0xf4, 0x32, 0x6e, 0x05, 0x4b, 0xc7, 0x6a, 0x43, 0xa7, 0x4a,
2071 0xb5, 0x81, 0xd5, 0x63, 0xb5, 0x29, 0x5a, 0x3a, 0x56, 0x1b, 0x3a, 0x95, 0x35, 0xfa, 0x6b, 0x19,
2072 0x1a, 0x4c, 0x2d, 0xb1, 0xf4, 0x64, 0xf5, 0xa0, 0x53, 0x3c, 0xb1, 0x47, 0xd2, 0x42, 0x10, 0xfa,
2073 0x92, 0xa5, 0xa7, 0x8f, 0x0b, 0x9d, 0x06, 0xa1, 0xbf, 0x22, 0xbb, 0x7f, 0xe8, 0x73, 0xe1, 0xf4,
2074 0xc7, 0x61, 0x02, 0x12, 0x0e, 0x6a, 0x49, 0x07, 0x57, 0x9f, 0x83, 0xda, 0x6b, 0x92, 0xbb, 0x72,
2075 0x29, 0xbb, 0xf5, 0x4d, 0x93, 0x18, 0xbe, 0xe0, 0x72, 0x67, 0xfc, 0xf0, 0x59, 0x07, 0x06, 0xe6,
2076 0x21, 0x31, 0x26, 0xfe, 0x68, 0xc1, 0x76, 0x00, 0x85, 0x89, 0x3f, 0xba, 0xc8, 0x93, 0xec, 0xcc,
2077 0x75, 0x98, 0x5b, 0xfb, 0x67, 0x8e, 0x64, 0x7e, 0xea, 0x7b, 0xbe, 0x79, 0x4e, 0xb6, 0xb0, 0x03,
2078 0x5c, 0x0b, 0x76, 0x2d, 0xf9, 0xe0, 0xf8, 0x1f, 0x20, 0x16, 0x14, 0x8e, 0xb1, 0xb7, 0xf4, 0x58,
2079 0x57, 0xf0, 0xb6, 0x2b, 0xf8, 0x7d, 0x87, 0x38, 0xd1, 0x84, 0xf9, 0x3d, 0x29, 0x87, 0x79, 0x04,
2080 0x3c, 0xee, 0x29, 0x1d, 0x09, 0xbe, 0x8c, 0x09, 0xc2, 0xb4, 0xf6, 0x18, 0x6c, 0x32, 0x49, 0xb2,
2081 0xe3, 0xcf, 0x4d, 0x9a, 0x2f, 0xc9, 0x0e, 0x80, 0x81, 0x24, 0xe8, 0x50, 0xb2, 0x0c, 0x3d, 0x8e,
2082 0x69, 0x40, 0xaf, 0xc7, 0x64, 0xbb, 0x92, 0x24, 0x5b, 0x03, 0x65, 0x0a, 0x28, 0x64, 0xf7, 0x02,
2083 0x92, 0xa8, 0x28, 0xcf, 0x51, 0xc8, 0x66, 0xd6, 0x63, 0x90, 0xc6, 0x80, 0x62, 0xa6, 0x4c, 0x99,
2084 0xcf, 0xc9, 0xb6, 0x2f, 0x38, 0xe0, 0x83, 0xe4, 0x66, 0x91, 0xa1, 0xaa, 0xac, 0x45, 0xf0, 0x1e,
2085 0x0b, 0xab, 0x37, 0x10, 0x94, 0xfc, 0x78, 0x46, 0xc1, 0x33, 0xcc, 0x11, 0x76, 0xca, 0x34, 0x5e,
2086 0x26, 0x50, 0xc5, 0xcb, 0x99, 0xea, 0x33, 0xb2, 0x9b, 0x88, 0xb6, 0x59, 0x26, 0xc6, 0x9f, 0xe9,
2087 0x3d, 0x66, 0x39, 0xdb, 0x81, 0x4f, 0x73, 0x9f, 0x64, 0x3f, 0xf4, 0xc7, 0x33, 0x1a, 0xec, 0x0d,
2088 0x39, 0x68, 0xe9, 0x67, 0x5a, 0xf5, 0x25, 0xd9, 0x5b, 0x10, 0x6b, 0x95, 0xa2, 0xbc, 0x80, 0xa2,
2089 0xa0, 0x52, 0xbc, 0x20, 0x0f, 0x52, 0x71, 0x56, 0x09, 0x0a, 0x0b, 0x08, 0xb6, 0x55, 0x82, 0x1f,
2090 0xc9, 0x83, 0x54, 0x94, 0x55, 0x82, 0x8c, 0x24, 0x38, 0x54, 0x09, 0xe6, 0x8e, 0x99, 0xc2, 0xf5,
2091 0x96, 0x94, 0x93, 0xf1, 0x56, 0xa9, 0x8a, 0x92, 0xea, 0x89, 0x4a, 0x95, 0x38, 0x89, 0x0b, 0xc8,
2092 0x94, 0xe0, 0x6f, 0x4a, 0x26, 0x21, 0x0a, 0x59, 0xed, 0x94, 0x98, 0xd2, 0xc2, 0x7b, 0x47, 0xfc,
2093 0xb2, 0xe1, 0xc9, 0xae, 0xfd, 0x4d, 0x27, 0xe5, 0x37, 0xee, 0xd0, 0xe1, 0xf4, 0x46, 0x44, 0x98,
2094 0xe6, 0x82, 0xc6, 0xfe, 0xb9, 0xb2, 0x04, 0xd5, 0x80, 0xda, 0xe3, 0x9a, 0x73, 0x3d, 0x5b, 0x9e,
2095 0xb9, 0xe5, 0x38, 0xae, 0xf4, 0xc6, 0xc4, 0x16, 0x97, 0xe7, 0xec, 0xd7, 0x08, 0x4d, 0x7a, 0xb7,
2096 0x7a, 0xbb, 0x57, 0xdf, 0x6f, 0x94, 0x9f, 0x6f, 0xe6, 0x43, 0xba, 0xd4, 0x49, 0x25, 0xbc, 0x0e,
2097 0x21, 0xed, 0x3b, 0x41, 0x5d, 0xdf, 0x61, 0xae, 0xbf, 0xae, 0x13, 0xaa, 0x77, 0x0a, 0xba, 0xf9,
2098 0xaf, 0xd0, 0x51, 0xa6, 0xb0, 0x5f, 0xa6, 0xb5, 0x7f, 0x18, 0x64, 0x2f, 0xb6, 0xf5, 0x1d, 0x73,
2099 0x45, 0xdf, 0x71, 0x29, 0xb7, 0x7f, 0x2b, 0x7f, 0x15, 0xe8, 0x9d, 0x64, 0x36, 0x77, 0xe5, 0x0e,
2100 0x8d, 0x34, 0x2b, 0xa7, 0x68, 0x0a, 0x3c, 0x6b, 0xdf, 0xa1, 0x35, 0xfb, 0x29, 0x5e, 0x3b, 0x10,
2101 0x22, 0x7d, 0x4d, 0x83, 0x1a, 0xe8, 0xfc, 0x96, 0x04, 0x49, 0xff, 0xed, 0x6f, 0x63, 0x4b, 0x50,
2102 0xb5, 0xd2, 0xa0, 0xa7, 0xc9, 0x23, 0x12, 0x18, 0x85, 0x6f, 0xfb, 0x22, 0x36, 0x2a, 0x13, 0x9a,
2103 0xc6, 0x37, 0xd3, 0xe7, 0x22, 0xf0, 0x40, 0x8e, 0xc0, 0x71, 0xbe, 0xc6, 0xf1, 0x67, 0x78, 0x6b,
2104 0xdf, 0xe2, 0x09, 0xc7, 0xf9, 0x4a, 0xc7, 0x9f, 0x27, 0x2f, 0xe0, 0x84, 0xcf, 0x39, 0xce, 0xd7,
2105 0x38, 0xfe, 0x22, 0x7d, 0x13, 0x0d, 0x3c, 0x08, 0xba, 0x6b, 0x95, 0x90, 0x9f, 0xa8, 0xef, 0xf7,
2106 0x47, 0xb4, 0x4b, 0xc5, 0x51, 0xa1, 0x90, 0x29, 0x7f, 0xfa, 0xf4, 0xe9, 0x53, 0xbe, 0xa5, 0x17,
2107 0xb4, 0xda, 0xdf, 0x75, 0xb2, 0x17, 0x0b, 0x23, 0xd6, 0x35, 0xbb, 0xc9, 0xfe, 0x13, 0x79, 0x38,
2108 0x91, 0xa8, 0x6b, 0x9f, 0xa2, 0x7b, 0x01, 0x4e, 0x7a, 0x17, 0x33, 0xe2, 0xff, 0x65, 0xc9, 0xae,
2109 0x24, 0xa6, 0x23, 0x43, 0x9d, 0xbd, 0x49, 0x7a, 0xd2, 0x1e, 0x92, 0x03, 0x97, 0x89, 0xeb, 0x0d,
2110 0x4d, 0xec, 0xaf, 0x31, 0xf1, 0xc8, 0x65, 0x62, 0xc1, 0xbc, 0x7d, 0x4e, 0x48, 0x2a, 0xae, 0x0a,
2111 0xed, 0x57, 0x0b, 0x6e, 0x8b, 0x34, 0x0a, 0xea, 0x5f, 0xf3, 0x84, 0xbc, 0x75, 0xd9, 0x47, 0xb7,
2112 0x77, 0xef, 0x51, 0xdf, 0x7c, 0x9a, 0xb8, 0xb2, 0x43, 0x3b, 0x93, 0x0f, 0x15, 0xc7, 0xe1, 0x43,
2113 0x05, 0xb6, 0xe6, 0x3f, 0xc2, 0xe9, 0x8d, 0x8f, 0xde, 0x59, 0xf2, 0xe8, 0x41, 0x23, 0x4e, 0xe2,
2114 0xf0, 0x20, 0x4a, 0x60, 0xfc, 0x44, 0x71, 0x96, 0x7c, 0xa2, 0x58, 0x82, 0x6c, 0x36, 0xe6, 0x90,
2115 0xcd, 0x86, 0x79, 0x9e, 0x7a, 0xbf, 0x28, 0xd9, 0x5f, 0xa4, 0xa0, 0xef, 0x14, 0xab, 0xca, 0xeb,
2116 0xc6, 0x79, 0xea, 0x75, 0x63, 0x19, 0x38, 0x34, 0xac, 0xbc, 0x7d, 0x9c, 0xa9, 0xaf, 0x06, 0xb9,
2117 0x25, 0x3e, 0xe3, 0xf5, 0x35, 0xf6, 0x59, 0xde, 0x66, 0xcf, 0xe7, 0x9e, 0x14, 0xf2, 0x4b, 0xcc,
2118 0xca, 0xbb, 0x6d, 0x6c, 0x36, 0xb8, 0xeb, 0x9e, 0xcf, 0xed, 0xe5, 0xc2, 0x12, 0xb0, 0xdc, 0xd9,
2119 0x31, 0x38, 0xa8, 0x9b, 0x67, 0xea, 0x6b, 0x45, 0x71, 0x89, 0xcf, 0x78, 0x2f, 0x8e, 0x7d, 0x96,
2120 0xd7, 0xe4, 0xa0, 0x62, 0x85, 0xaf, 0x5f, 0xc1, 0x36, 0x3d, 0x48, 0x7b, 0x1d, 0x28, 0xe0, 0x0b,
2121 0x4b, 0x38, 0x30, 0x5f, 0x10, 0xf8, 0x9d, 0xbe, 0x8e, 0x5e, 0xbf, 0xf0, 0x1d, 0x65, 0xd1, 0xae,
2122 0xea, 0x85, 0x1a, 0x58, 0xae, 0xa2, 0x51, 0xd8, 0x32, 0xe5, 0xe3, 0x5a, 0xe5, 0x20, 0xe8, 0x2a,
2123 0x0b, 0x56, 0x3d, 0xbb, 0x11, 0xe1, 0x82, 0x67, 0x37, 0x22, 0xdc, 0xc9, 0x63, 0xc7, 0x17, 0x95,
2124 0xea, 0x12, 0x9b, 0xbf, 0x77, 0x7c, 0x11, 0xef, 0x64, 0x18, 0x99, 0xa7, 0x32, 0x4e, 0xb2, 0x87,
2125 0x3d, 0x46, 0xdc, 0xa3, 0x14, 0x2e, 0x0e, 0x11, 0x7e, 0x85, 0x20, 0x7c, 0x3d, 0x0c, 0xce, 0x5b,
2126 0x1a, 0xd4, 0x06, 0x29, 0x82, 0xf0, 0xcb, 0xfc, 0x86, 0x80, 0xd1, 0xeb, 0xbe, 0x7b, 0x5f, 0xb1,
2127 0x10, 0xb2, 0x9f, 0x82, 0xbc, 0x74, 0xef, 0x3b, 0x39, 0xe6, 0x89, 0x97, 0xee, 0xfd, 0xd1, 0x53,
2128 0x92, 0xc1, 0x5b, 0x6b, 0x89, 0xe4, 0xdf, 0x5d, 0xbe, 0xbd, 0xbc, 0x7a, 0x7f, 0x59, 0xfe, 0xcc,
2129 0x2c, 0x92, 0xec, 0xeb, 0x37, 0x9d, 0x6e, 0xaf, 0xac, 0x99, 0x84, 0xe4, 0xba, 0xed, 0xef, 0xae,
2130 0x2e, 0x5f, 0x95, 0x75, 0x98, 0xee, 0xb5, 0x2f, 0x7b, 0x3f, 0x94, 0x49, 0x6b, 0x6d, 0x67, 0x7b,
2131 0x98, 0xec, 0x6c, 0xad, 0x0d, 0x3a, 0xdb, 0xa3, 0x74, 0x67, 0x6b, 0xad, 0xed, 0x6c, 0x9f, 0xaf,
2132 0xe8, 0x6c, 0xad, 0x0d, 0x3a, 0x5b, 0x65, 0x4d, 0x67, 0x6b, 0xfd, 0x4e, 0xbe, 0xd4, 0x00, 0x47,
2133 0xf8, 0xfb, 0x99, 0x22, 0x39, 0xb4, 0x8c, 0x7a, 0x1e, 0xdf, 0x68, 0xda, 0x77, 0xe1, 0x6b, 0x63,
2134 0x6b, 0x6d, 0x6f, 0xb3, 0x56, 0xf4, 0xb6, 0xd6, 0x06, 0xbd, 0xed, 0xc9, 0x9a, 0xde, 0x76, 0xf1,
2135 0xfc, 0xe7, 0x6f, 0x47, 0x8e, 0xf8, 0x65, 0x36, 0x38, 0xbe, 0x61, 0x93, 0x93, 0x11, 0x1b, 0xf7,
2136 0xdd, 0x51, 0xfc, 0x34, 0xfc, 0xc1, 0x3e, 0x59, 0xfd, 0xe8, 0xfd, 0xff, 0x00, 0x00, 0x00, 0xff,
2137 0xff, 0x59, 0x20, 0x4f, 0x36, 0x15, 0x17, 0x00, 0x00,
Herbie Ongcddf8192018-11-28 18:25:20 -08002138}
Herbie Ong70651952018-12-13 14:19:50 -08002139
2140func init() {
2141 xxx_Test_ProtoFile_FileDesc.Enums = xxx_Test_ProtoFile_EnumDescs[0:1]
Herbie Ongcf253082018-12-17 17:13:07 -08002142 xxx_Test_ProtoFile_FileDesc.Messages = xxx_Test_ProtoFile_MessageDescs[0:16]
Herbie Ong70651952018-12-13 14:19:50 -08002143 xxx_Test_ProtoFile_MessageDescs[2].Enums = xxx_Test_ProtoFile_EnumDescs[1:2]
Herbie Ongcf253082018-12-17 17:13:07 -08002144 xxx_Test_ProtoFile_MessageDescs[3].Messages = xxx_Test_ProtoFile_MessageDescs[16:18]
2145 xxx_Test_ProtoFile_MessageDescs[8].Messages = xxx_Test_ProtoFile_MessageDescs[19:25]
2146 xxx_Test_ProtoFile_MessageDescs[10].Messages = xxx_Test_ProtoFile_MessageDescs[25:26]
2147 xxx_Test_ProtoFile_MessageDescs[16].Messages = xxx_Test_ProtoFile_MessageDescs[18:19]
Herbie Ong70651952018-12-13 14:19:50 -08002148 xxx_Test_ProtoFile_MessageDescs[2].Fields[0].EnumType = xxx_Test_ProtoFile_EnumTypes[0]
2149 xxx_Test_ProtoFile_MessageDescs[2].Fields[1].EnumType = xxx_Test_ProtoFile_EnumTypes[0]
2150 xxx_Test_ProtoFile_MessageDescs[2].Fields[2].EnumType = xxx_Test_ProtoFile_EnumTypes[1]
2151 xxx_Test_ProtoFile_MessageDescs[2].Fields[3].EnumType = xxx_Test_ProtoFile_EnumTypes[1]
2152 xxx_Test_ProtoFile_MessageDescs[3].Fields[0].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type
Herbie Ongcf253082018-12-17 17:13:07 -08002153 xxx_Test_ProtoFile_MessageDescs[3].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[16].Type
Herbie Ong70651952018-12-13 14:19:50 -08002154 xxx_Test_ProtoFile_MessageDescs[3].Fields[2].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type
Herbie Ongcf253082018-12-17 17:13:07 -08002155 xxx_Test_ProtoFile_MessageDescs[3].Fields[3].MessageType = xxx_Test_ProtoFile_MessageTypes[17].Type
Herbie Ong70651952018-12-13 14:19:50 -08002156 xxx_Test_ProtoFile_MessageDescs[4].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type
2157 xxx_Test_ProtoFile_MessageDescs[5].Fields[9].EnumType = xxx_Test_ProtoFile_EnumTypes[0]
2158 xxx_Test_ProtoFile_MessageDescs[5].Fields[10].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type
2159 xxx_Test_ProtoFile_MessageDescs[7].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type
Herbie Ongcf253082018-12-17 17:13:07 -08002160 xxx_Test_ProtoFile_MessageDescs[8].Fields[0].MessageType = xxx_Test_ProtoFile_MessageDescs[19].Reference()
2161 xxx_Test_ProtoFile_MessageDescs[8].Fields[1].MessageType = xxx_Test_ProtoFile_MessageDescs[20].Reference()
2162 xxx_Test_ProtoFile_MessageDescs[8].Fields[2].MessageType = xxx_Test_ProtoFile_MessageDescs[21].Reference()
2163 xxx_Test_ProtoFile_MessageDescs[8].Fields[3].MessageType = xxx_Test_ProtoFile_MessageDescs[22].Reference()
2164 xxx_Test_ProtoFile_MessageDescs[8].Fields[4].MessageType = xxx_Test_ProtoFile_MessageDescs[23].Reference()
2165 xxx_Test_ProtoFile_MessageDescs[8].Fields[5].MessageType = xxx_Test_ProtoFile_MessageDescs[24].Reference()
Herbie Ong70651952018-12-13 14:19:50 -08002166 xxx_Test_ProtoFile_MessageDescs[10].Fields[0].MessageType = xxx_Test_ProtoFile_MessageTypes[9].Type
2167 xxx_Test_ProtoFile_MessageDescs[10].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[9].Type
Herbie Ongcf253082018-12-17 17:13:07 -08002168 xxx_Test_ProtoFile_MessageDescs[10].Fields[2].MessageType = xxx_Test_ProtoFile_MessageDescs[25].Reference()
2169 xxx_Test_ProtoFile_MessageDescs[15].Fields[0].MessageType = protoimpl.X.MessageTypeOf((*wrappers.BoolValue)(nil))
2170 xxx_Test_ProtoFile_MessageDescs[15].Fields[1].MessageType = protoimpl.X.MessageTypeOf((*wrappers.Int32Value)(nil))
2171 xxx_Test_ProtoFile_MessageDescs[15].Fields[2].MessageType = protoimpl.X.MessageTypeOf((*wrappers.Int64Value)(nil))
2172 xxx_Test_ProtoFile_MessageDescs[15].Fields[3].MessageType = protoimpl.X.MessageTypeOf((*wrappers.UInt32Value)(nil))
2173 xxx_Test_ProtoFile_MessageDescs[15].Fields[4].MessageType = protoimpl.X.MessageTypeOf((*wrappers.UInt64Value)(nil))
2174 xxx_Test_ProtoFile_MessageDescs[15].Fields[5].MessageType = protoimpl.X.MessageTypeOf((*wrappers.FloatValue)(nil))
2175 xxx_Test_ProtoFile_MessageDescs[15].Fields[6].MessageType = protoimpl.X.MessageTypeOf((*wrappers.DoubleValue)(nil))
2176 xxx_Test_ProtoFile_MessageDescs[15].Fields[7].MessageType = protoimpl.X.MessageTypeOf((*wrappers.StringValue)(nil))
2177 xxx_Test_ProtoFile_MessageDescs[15].Fields[8].MessageType = protoimpl.X.MessageTypeOf((*wrappers.BytesValue)(nil))
2178 xxx_Test_ProtoFile_MessageDescs[15].Fields[9].MessageType = protoimpl.X.MessageTypeOf((*duration.Duration)(nil))
2179 xxx_Test_ProtoFile_MessageDescs[15].Fields[10].MessageType = protoimpl.X.MessageTypeOf((*timestamp.Timestamp)(nil))
2180 xxx_Test_ProtoFile_MessageDescs[15].Fields[11].MessageType = protoimpl.X.MessageTypeOf((*_struct.Struct)(nil))
2181 xxx_Test_ProtoFile_MessageDescs[15].Fields[12].MessageType = protoimpl.X.MessageTypeOf((*_struct.ListValue)(nil))
2182 xxx_Test_ProtoFile_MessageDescs[15].Fields[13].MessageType = protoimpl.X.MessageTypeOf((*_struct.Value)(nil))
2183 xxx_Test_ProtoFile_MessageDescs[15].Fields[14].MessageType = protoimpl.X.MessageTypeOf((*empty.Empty)(nil))
2184 xxx_Test_ProtoFile_MessageDescs[15].Fields[15].MessageType = protoimpl.X.MessageTypeOf((*any.Any)(nil))
2185 xxx_Test_ProtoFile_MessageDescs[16].Fields[2].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type
2186 xxx_Test_ProtoFile_MessageDescs[16].Fields[3].MessageType = xxx_Test_ProtoFile_MessageTypes[18].Type
2187 xxx_Test_ProtoFile_MessageDescs[18].Fields[0].EnumType = xxx_Test_ProtoFile_EnumTypes[0]
2188 xxx_Test_ProtoFile_MessageDescs[22].Fields[1].EnumType = xxx_Test_ProtoFile_EnumTypes[0]
2189 xxx_Test_ProtoFile_MessageDescs[23].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type
2190 xxx_Test_ProtoFile_MessageDescs[24].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[7].Type
2191 xxx_Test_ProtoFile_MessageDescs[25].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[9].Type
Herbie Ong70651952018-12-13 14:19:50 -08002192 var err error
2193 Test_ProtoFile, err = prototype.NewFile(&xxx_Test_ProtoFile_FileDesc)
2194 if err != nil {
2195 panic(err)
2196 }
2197}
2198
2199const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
2200
2201var Test_ProtoFile protoreflect.FileDescriptor
2202
2203var xxx_Test_ProtoFile_FileDesc = prototype.File{
2204 Syntax: protoreflect.Proto2,
2205 Path: "encoding/textpb/testprotos/pb2/test.proto",
2206 Package: "pb2",
2207 Imports: []protoreflect.FileImport{
2208 {FileDescriptor: prototype.PlaceholderFile("google/protobuf/any.proto", "google.protobuf")},
2209 {FileDescriptor: prototype.PlaceholderFile("google/protobuf/empty.proto", "google.protobuf")},
2210 {FileDescriptor: prototype.PlaceholderFile("google/protobuf/duration.proto", "google.protobuf")},
2211 {FileDescriptor: prototype.PlaceholderFile("google/protobuf/struct.proto", "google.protobuf")},
2212 {FileDescriptor: prototype.PlaceholderFile("google/protobuf/timestamp.proto", "google.protobuf")},
2213 {FileDescriptor: prototype.PlaceholderFile("google/protobuf/wrappers.proto", "google.protobuf")},
2214 },
2215}
2216var xxx_Test_ProtoFile_EnumTypes = [2]protoreflect.EnumType{
2217 prototype.GoEnum(
2218 xxx_Test_ProtoFile_EnumDescs[0].Reference(),
2219 func(_ protoreflect.EnumType, n protoreflect.EnumNumber) protoreflect.ProtoEnum {
2220 return Enum(n)
2221 },
2222 ),
2223 prototype.GoEnum(
2224 xxx_Test_ProtoFile_EnumDescs[1].Reference(),
2225 func(_ protoreflect.EnumType, n protoreflect.EnumNumber) protoreflect.ProtoEnum {
2226 return Enums_NestedEnum(n)
2227 },
2228 ),
2229}
2230var xxx_Test_ProtoFile_EnumDescs = [2]prototype.Enum{
2231 {
2232 Name: "Enum",
2233 Values: []prototype.EnumValue{
2234 {Name: "UNKNOWN", Number: 0},
2235 {Name: "FIRST", Number: 1},
2236 {Name: "SECOND", Number: 2},
2237 {Name: "TENTH", Number: 10},
2238 },
2239 },
2240 {
2241 Name: "NestedEnum",
2242 Values: []prototype.EnumValue{
2243 {Name: "UNO", Number: 1},
2244 {Name: "DOS", Number: 2},
2245 {Name: "DIEZ", Number: 10},
2246 },
2247 },
2248}
Herbie Ongcf253082018-12-17 17:13:07 -08002249var xxx_Test_ProtoFile_MessageTypes = [26]protoimpl.MessageType{
Herbie Ong70651952018-12-13 14:19:50 -08002250 {Type: prototype.GoMessage(
2251 xxx_Test_ProtoFile_MessageDescs[0].Reference(),
2252 func(protoreflect.MessageType) protoreflect.ProtoMessage {
2253 return new(Scalars)
2254 },
2255 )},
2256 {Type: prototype.GoMessage(
2257 xxx_Test_ProtoFile_MessageDescs[1].Reference(),
2258 func(protoreflect.MessageType) protoreflect.ProtoMessage {
2259 return new(Repeats)
2260 },
2261 )},
2262 {Type: prototype.GoMessage(
2263 xxx_Test_ProtoFile_MessageDescs[2].Reference(),
2264 func(protoreflect.MessageType) protoreflect.ProtoMessage {
2265 return new(Enums)
2266 },
2267 )},
2268 {Type: prototype.GoMessage(
2269 xxx_Test_ProtoFile_MessageDescs[3].Reference(),
2270 func(protoreflect.MessageType) protoreflect.ProtoMessage {
2271 return new(Nests)
2272 },
2273 )},
2274 {Type: prototype.GoMessage(
2275 xxx_Test_ProtoFile_MessageDescs[4].Reference(),
2276 func(protoreflect.MessageType) protoreflect.ProtoMessage {
2277 return new(Nested)
2278 },
2279 )},
2280 {Type: prototype.GoMessage(
2281 xxx_Test_ProtoFile_MessageDescs[5].Reference(),
2282 func(protoreflect.MessageType) protoreflect.ProtoMessage {
2283 return new(Requireds)
2284 },
2285 )},
2286 {Type: prototype.GoMessage(
2287 xxx_Test_ProtoFile_MessageDescs[6].Reference(),
2288 func(protoreflect.MessageType) protoreflect.ProtoMessage {
2289 return new(PartialRequired)
2290 },
2291 )},
2292 {Type: prototype.GoMessage(
2293 xxx_Test_ProtoFile_MessageDescs[7].Reference(),
2294 func(protoreflect.MessageType) protoreflect.ProtoMessage {
2295 return new(Oneofs)
2296 },
2297 )},
2298 {Type: prototype.GoMessage(
2299 xxx_Test_ProtoFile_MessageDescs[8].Reference(),
2300 func(protoreflect.MessageType) protoreflect.ProtoMessage {
2301 return new(Maps)
2302 },
2303 )},
2304 {Type: prototype.GoMessage(
2305 xxx_Test_ProtoFile_MessageDescs[9].Reference(),
2306 func(protoreflect.MessageType) protoreflect.ProtoMessage {
2307 return new(NestedWithRequired)
2308 },
2309 )},
2310 {Type: prototype.GoMessage(
2311 xxx_Test_ProtoFile_MessageDescs[10].Reference(),
2312 func(protoreflect.MessageType) protoreflect.ProtoMessage {
2313 return new(IndirectRequired)
2314 },
2315 )},
2316 {Type: prototype.GoMessage(
2317 xxx_Test_ProtoFile_MessageDescs[11].Reference(),
2318 func(protoreflect.MessageType) protoreflect.ProtoMessage {
Herbie Ongcf253082018-12-17 17:13:07 -08002319 return new(Extensions)
Herbie Ong70651952018-12-13 14:19:50 -08002320 },
2321 )},
2322 {Type: prototype.GoMessage(
2323 xxx_Test_ProtoFile_MessageDescs[12].Reference(),
2324 func(protoreflect.MessageType) protoreflect.ProtoMessage {
Herbie Ongcf253082018-12-17 17:13:07 -08002325 return new(ExtensionsContainer)
Herbie Ong70651952018-12-13 14:19:50 -08002326 },
2327 )},
2328 {Type: prototype.GoMessage(
2329 xxx_Test_ProtoFile_MessageDescs[13].Reference(),
2330 func(protoreflect.MessageType) protoreflect.ProtoMessage {
Herbie Ongcf253082018-12-17 17:13:07 -08002331 return new(MessageSet)
Herbie Ong70651952018-12-13 14:19:50 -08002332 },
2333 )},
2334 {Type: prototype.GoMessage(
2335 xxx_Test_ProtoFile_MessageDescs[14].Reference(),
2336 func(protoreflect.MessageType) protoreflect.ProtoMessage {
Herbie Ongcf253082018-12-17 17:13:07 -08002337 return new(MessageSetExtension)
2338 },
2339 )},
2340 {Type: prototype.GoMessage(
2341 xxx_Test_ProtoFile_MessageDescs[15].Reference(),
2342 func(protoreflect.MessageType) protoreflect.ProtoMessage {
2343 return new(KnownTypes)
2344 },
2345 )},
2346 {Type: prototype.GoMessage(
2347 xxx_Test_ProtoFile_MessageDescs[16].Reference(),
2348 func(protoreflect.MessageType) protoreflect.ProtoMessage {
2349 return new(Nests_OptGroup)
2350 },
2351 )},
2352 {Type: prototype.GoMessage(
2353 xxx_Test_ProtoFile_MessageDescs[17].Reference(),
2354 func(protoreflect.MessageType) protoreflect.ProtoMessage {
2355 return new(Nests_RptGroup)
2356 },
2357 )},
2358 {Type: prototype.GoMessage(
2359 xxx_Test_ProtoFile_MessageDescs[18].Reference(),
2360 func(protoreflect.MessageType) protoreflect.ProtoMessage {
Herbie Ong70651952018-12-13 14:19:50 -08002361 return new(Nests_OptGroup_OptNestedGroup)
2362 },
2363 )},
2364 { /* no message type for Maps_Int32ToStrEntry */ },
2365 { /* no message type for Maps_Sfixed64ToBoolEntry */ },
2366 { /* no message type for Maps_BoolToUint32Entry */ },
2367 { /* no message type for Maps_Uint64ToEnumEntry */ },
2368 { /* no message type for Maps_StrToNestedEntry */ },
2369 { /* no message type for Maps_StrToOneofsEntry */ },
2370 { /* no message type for IndirectRequired_StrToNestedEntry */ },
2371}
Herbie Ongcf253082018-12-17 17:13:07 -08002372var xxx_Test_ProtoFile_MessageDescs = [26]prototype.Message{
Herbie Ong70651952018-12-13 14:19:50 -08002373 {
2374 Name: "Scalars",
2375 Fields: []prototype.Field{
2376 {
2377 Name: "opt_bool",
2378 Number: 1,
2379 Cardinality: protoreflect.Optional,
2380 Kind: protoreflect.BoolKind,
2381 JSONName: "optBool",
2382 IsPacked: prototype.False,
2383 },
2384 {
2385 Name: "opt_int32",
2386 Number: 2,
2387 Cardinality: protoreflect.Optional,
2388 Kind: protoreflect.Int32Kind,
2389 JSONName: "optInt32",
2390 IsPacked: prototype.False,
2391 },
2392 {
2393 Name: "opt_int64",
2394 Number: 3,
2395 Cardinality: protoreflect.Optional,
2396 Kind: protoreflect.Int64Kind,
2397 JSONName: "optInt64",
2398 IsPacked: prototype.False,
2399 },
2400 {
2401 Name: "opt_uint32",
2402 Number: 4,
2403 Cardinality: protoreflect.Optional,
2404 Kind: protoreflect.Uint32Kind,
2405 JSONName: "optUint32",
2406 IsPacked: prototype.False,
2407 },
2408 {
2409 Name: "opt_uint64",
2410 Number: 5,
2411 Cardinality: protoreflect.Optional,
2412 Kind: protoreflect.Uint64Kind,
2413 JSONName: "optUint64",
2414 IsPacked: prototype.False,
2415 },
2416 {
2417 Name: "opt_sint32",
2418 Number: 6,
2419 Cardinality: protoreflect.Optional,
2420 Kind: protoreflect.Sint32Kind,
2421 JSONName: "optSint32",
2422 IsPacked: prototype.False,
2423 },
2424 {
2425 Name: "opt_sint64",
2426 Number: 7,
2427 Cardinality: protoreflect.Optional,
2428 Kind: protoreflect.Sint64Kind,
2429 JSONName: "optSint64",
2430 IsPacked: prototype.False,
2431 },
2432 {
2433 Name: "opt_fixed32",
2434 Number: 8,
2435 Cardinality: protoreflect.Optional,
2436 Kind: protoreflect.Fixed32Kind,
2437 JSONName: "optFixed32",
2438 IsPacked: prototype.False,
2439 },
2440 {
2441 Name: "opt_fixed64",
2442 Number: 9,
2443 Cardinality: protoreflect.Optional,
2444 Kind: protoreflect.Fixed64Kind,
2445 JSONName: "optFixed64",
2446 IsPacked: prototype.False,
2447 },
2448 {
2449 Name: "opt_sfixed32",
2450 Number: 10,
2451 Cardinality: protoreflect.Optional,
2452 Kind: protoreflect.Sfixed32Kind,
2453 JSONName: "optSfixed32",
2454 IsPacked: prototype.False,
2455 },
2456 {
2457 Name: "opt_sfixed64",
2458 Number: 11,
2459 Cardinality: protoreflect.Optional,
2460 Kind: protoreflect.Sfixed64Kind,
2461 JSONName: "optSfixed64",
2462 IsPacked: prototype.False,
2463 },
2464 {
2465 Name: "opt_float",
2466 Number: 20,
2467 Cardinality: protoreflect.Optional,
2468 Kind: protoreflect.FloatKind,
2469 JSONName: "optFloat",
2470 IsPacked: prototype.False,
2471 },
2472 {
2473 Name: "opt_double",
2474 Number: 21,
2475 Cardinality: protoreflect.Optional,
2476 Kind: protoreflect.DoubleKind,
2477 JSONName: "optDouble",
2478 IsPacked: prototype.False,
2479 },
2480 {
2481 Name: "opt_bytes",
2482 Number: 14,
2483 Cardinality: protoreflect.Optional,
2484 Kind: protoreflect.BytesKind,
2485 JSONName: "optBytes",
2486 IsPacked: prototype.False,
2487 },
2488 {
2489 Name: "opt_string",
2490 Number: 13,
2491 Cardinality: protoreflect.Optional,
2492 Kind: protoreflect.StringKind,
2493 JSONName: "optString",
2494 IsPacked: prototype.False,
2495 },
2496 },
2497 },
2498 {
2499 Name: "Repeats",
2500 Fields: []prototype.Field{
2501 {
2502 Name: "rpt_bool",
2503 Number: 1,
2504 Cardinality: protoreflect.Repeated,
2505 Kind: protoreflect.BoolKind,
2506 JSONName: "rptBool",
2507 IsPacked: prototype.False,
2508 },
2509 {
2510 Name: "rpt_int32",
2511 Number: 2,
2512 Cardinality: protoreflect.Repeated,
2513 Kind: protoreflect.Int32Kind,
2514 JSONName: "rptInt32",
2515 IsPacked: prototype.False,
2516 },
2517 {
2518 Name: "rpt_int64",
2519 Number: 3,
2520 Cardinality: protoreflect.Repeated,
2521 Kind: protoreflect.Int64Kind,
2522 JSONName: "rptInt64",
2523 IsPacked: prototype.False,
2524 },
2525 {
2526 Name: "rpt_uint32",
2527 Number: 4,
2528 Cardinality: protoreflect.Repeated,
2529 Kind: protoreflect.Uint32Kind,
2530 JSONName: "rptUint32",
2531 IsPacked: prototype.False,
2532 },
2533 {
2534 Name: "rpt_uint64",
2535 Number: 5,
2536 Cardinality: protoreflect.Repeated,
2537 Kind: protoreflect.Uint64Kind,
2538 JSONName: "rptUint64",
2539 IsPacked: prototype.False,
2540 },
2541 {
2542 Name: "rpt_float",
2543 Number: 6,
2544 Cardinality: protoreflect.Repeated,
2545 Kind: protoreflect.FloatKind,
2546 JSONName: "rptFloat",
2547 IsPacked: prototype.False,
2548 },
2549 {
2550 Name: "rpt_double",
2551 Number: 7,
2552 Cardinality: protoreflect.Repeated,
2553 Kind: protoreflect.DoubleKind,
2554 JSONName: "rptDouble",
2555 IsPacked: prototype.False,
2556 },
2557 {
2558 Name: "rpt_string",
2559 Number: 15,
2560 Cardinality: protoreflect.Repeated,
2561 Kind: protoreflect.StringKind,
2562 JSONName: "rptString",
2563 IsPacked: prototype.False,
2564 },
2565 {
2566 Name: "rpt_bytes",
2567 Number: 14,
2568 Cardinality: protoreflect.Repeated,
2569 Kind: protoreflect.BytesKind,
2570 JSONName: "rptBytes",
2571 IsPacked: prototype.False,
2572 },
2573 },
2574 },
2575 {
2576 Name: "Enums",
2577 Fields: []prototype.Field{
2578 {
2579 Name: "opt_enum",
2580 Number: 1,
2581 Cardinality: protoreflect.Optional,
2582 Kind: protoreflect.EnumKind,
2583 JSONName: "optEnum",
2584 IsPacked: prototype.False,
2585 },
2586 {
2587 Name: "rpt_enum",
2588 Number: 2,
2589 Cardinality: protoreflect.Repeated,
2590 Kind: protoreflect.EnumKind,
2591 JSONName: "rptEnum",
2592 IsPacked: prototype.False,
2593 },
2594 {
2595 Name: "opt_nested_enum",
2596 Number: 3,
2597 Cardinality: protoreflect.Optional,
2598 Kind: protoreflect.EnumKind,
2599 JSONName: "optNestedEnum",
2600 IsPacked: prototype.False,
2601 },
2602 {
2603 Name: "rpt_nested_enum",
2604 Number: 4,
2605 Cardinality: protoreflect.Repeated,
2606 Kind: protoreflect.EnumKind,
2607 JSONName: "rptNestedEnum",
2608 IsPacked: prototype.False,
2609 },
2610 },
2611 },
2612 {
2613 Name: "Nests",
2614 Fields: []prototype.Field{
2615 {
2616 Name: "opt_nested",
2617 Number: 1,
2618 Cardinality: protoreflect.Optional,
2619 Kind: protoreflect.MessageKind,
2620 JSONName: "optNested",
2621 IsPacked: prototype.False,
2622 },
2623 {
2624 Name: "optgroup",
2625 Number: 2,
2626 Cardinality: protoreflect.Optional,
2627 Kind: protoreflect.GroupKind,
2628 JSONName: "optgroup",
2629 IsPacked: prototype.False,
2630 },
2631 {
2632 Name: "rpt_nested",
2633 Number: 3,
2634 Cardinality: protoreflect.Repeated,
2635 Kind: protoreflect.MessageKind,
2636 JSONName: "rptNested",
2637 IsPacked: prototype.False,
2638 },
2639 {
2640 Name: "rptgroup",
2641 Number: 4,
2642 Cardinality: protoreflect.Repeated,
2643 Kind: protoreflect.GroupKind,
2644 JSONName: "rptgroup",
2645 IsPacked: prototype.False,
2646 },
2647 },
Herbie Ong7c624e22018-12-13 14:41:22 -08002648 ReservedNames: []protoreflect.Name{"reserved_field"},
Herbie Ong70651952018-12-13 14:19:50 -08002649 },
2650 {
2651 Name: "Nested",
2652 Fields: []prototype.Field{
2653 {
2654 Name: "opt_string",
2655 Number: 1,
2656 Cardinality: protoreflect.Optional,
2657 Kind: protoreflect.StringKind,
2658 JSONName: "optString",
2659 IsPacked: prototype.False,
2660 },
2661 {
2662 Name: "opt_nested",
2663 Number: 2,
2664 Cardinality: protoreflect.Optional,
2665 Kind: protoreflect.MessageKind,
2666 JSONName: "optNested",
2667 IsPacked: prototype.False,
2668 },
2669 },
2670 },
2671 {
2672 Name: "Requireds",
2673 Fields: []prototype.Field{
2674 {
2675 Name: "req_bool",
2676 Number: 1,
2677 Cardinality: protoreflect.Required,
2678 Kind: protoreflect.BoolKind,
2679 JSONName: "reqBool",
2680 IsPacked: prototype.False,
2681 },
2682 {
2683 Name: "req_fixed32",
2684 Number: 2,
2685 Cardinality: protoreflect.Required,
2686 Kind: protoreflect.Fixed32Kind,
2687 JSONName: "reqFixed32",
2688 IsPacked: prototype.False,
2689 },
2690 {
2691 Name: "req_fixed64",
2692 Number: 3,
2693 Cardinality: protoreflect.Required,
2694 Kind: protoreflect.Fixed64Kind,
2695 JSONName: "reqFixed64",
2696 IsPacked: prototype.False,
2697 },
2698 {
2699 Name: "req_sfixed32",
2700 Number: 4,
2701 Cardinality: protoreflect.Required,
2702 Kind: protoreflect.Sfixed32Kind,
2703 JSONName: "reqSfixed32",
2704 IsPacked: prototype.False,
2705 },
2706 {
2707 Name: "req_sfixed64",
2708 Number: 5,
2709 Cardinality: protoreflect.Required,
2710 Kind: protoreflect.Sfixed64Kind,
2711 JSONName: "reqSfixed64",
2712 IsPacked: prototype.False,
2713 },
2714 {
2715 Name: "req_float",
2716 Number: 6,
2717 Cardinality: protoreflect.Required,
2718 Kind: protoreflect.FloatKind,
2719 JSONName: "reqFloat",
2720 IsPacked: prototype.False,
2721 },
2722 {
2723 Name: "req_double",
2724 Number: 7,
2725 Cardinality: protoreflect.Required,
2726 Kind: protoreflect.DoubleKind,
2727 JSONName: "reqDouble",
2728 IsPacked: prototype.False,
2729 },
2730 {
2731 Name: "req_string",
2732 Number: 8,
2733 Cardinality: protoreflect.Required,
2734 Kind: protoreflect.StringKind,
2735 JSONName: "reqString",
2736 IsPacked: prototype.False,
2737 },
2738 {
2739 Name: "req_bytes",
2740 Number: 9,
2741 Cardinality: protoreflect.Required,
2742 Kind: protoreflect.BytesKind,
2743 JSONName: "reqBytes",
2744 IsPacked: prototype.False,
2745 },
2746 {
2747 Name: "req_enum",
2748 Number: 10,
2749 Cardinality: protoreflect.Required,
2750 Kind: protoreflect.EnumKind,
2751 JSONName: "reqEnum",
2752 IsPacked: prototype.False,
2753 },
2754 {
2755 Name: "req_nested",
2756 Number: 11,
2757 Cardinality: protoreflect.Required,
2758 Kind: protoreflect.MessageKind,
2759 JSONName: "reqNested",
2760 IsPacked: prototype.False,
2761 },
2762 },
2763 },
2764 {
2765 Name: "PartialRequired",
2766 Fields: []prototype.Field{
2767 {
2768 Name: "req_string",
2769 Number: 1,
2770 Cardinality: protoreflect.Required,
2771 Kind: protoreflect.StringKind,
2772 JSONName: "reqString",
2773 IsPacked: prototype.False,
2774 },
2775 {
2776 Name: "opt_string",
2777 Number: 2,
2778 Cardinality: protoreflect.Optional,
2779 Kind: protoreflect.StringKind,
2780 JSONName: "optString",
2781 IsPacked: prototype.False,
2782 },
2783 },
2784 },
2785 {
2786 Name: "Oneofs",
2787 Fields: []prototype.Field{
2788 {
2789 Name: "str",
2790 Number: 1,
2791 Cardinality: protoreflect.Optional,
2792 Kind: protoreflect.StringKind,
2793 JSONName: "str",
2794 OneofName: "union",
2795 IsPacked: prototype.False,
2796 },
2797 {
2798 Name: "msg",
2799 Number: 2,
2800 Cardinality: protoreflect.Optional,
2801 Kind: protoreflect.MessageKind,
2802 JSONName: "msg",
2803 OneofName: "union",
2804 IsPacked: prototype.False,
2805 },
2806 },
2807 Oneofs: []prototype.Oneof{
2808 {Name: "union"},
2809 },
2810 },
2811 {
2812 Name: "Maps",
2813 Fields: []prototype.Field{
2814 {
2815 Name: "int32_to_str",
2816 Number: 1,
2817 Cardinality: protoreflect.Repeated,
2818 Kind: protoreflect.MessageKind,
2819 JSONName: "int32ToStr",
2820 IsPacked: prototype.False,
2821 },
2822 {
2823 Name: "sfixed64_to_bool",
2824 Number: 2,
2825 Cardinality: protoreflect.Repeated,
2826 Kind: protoreflect.MessageKind,
2827 JSONName: "sfixed64ToBool",
2828 IsPacked: prototype.False,
2829 },
2830 {
2831 Name: "bool_to_uint32",
2832 Number: 3,
2833 Cardinality: protoreflect.Repeated,
2834 Kind: protoreflect.MessageKind,
2835 JSONName: "boolToUint32",
2836 IsPacked: prototype.False,
2837 },
2838 {
2839 Name: "uint64_to_enum",
2840 Number: 4,
2841 Cardinality: protoreflect.Repeated,
2842 Kind: protoreflect.MessageKind,
2843 JSONName: "uint64ToEnum",
2844 IsPacked: prototype.False,
2845 },
2846 {
2847 Name: "str_to_nested",
2848 Number: 5,
2849 Cardinality: protoreflect.Repeated,
2850 Kind: protoreflect.MessageKind,
2851 JSONName: "strToNested",
2852 IsPacked: prototype.False,
2853 },
2854 {
2855 Name: "str_to_oneofs",
2856 Number: 6,
2857 Cardinality: protoreflect.Repeated,
2858 Kind: protoreflect.MessageKind,
2859 JSONName: "strToOneofs",
2860 IsPacked: prototype.False,
2861 },
2862 },
2863 },
2864 {
2865 Name: "NestedWithRequired",
2866 Fields: []prototype.Field{
2867 {
2868 Name: "req_string",
2869 Number: 1,
2870 Cardinality: protoreflect.Required,
2871 Kind: protoreflect.StringKind,
2872 JSONName: "reqString",
2873 IsPacked: prototype.False,
2874 },
2875 },
2876 },
2877 {
2878 Name: "IndirectRequired",
2879 Fields: []prototype.Field{
2880 {
2881 Name: "opt_nested",
2882 Number: 1,
2883 Cardinality: protoreflect.Optional,
2884 Kind: protoreflect.MessageKind,
2885 JSONName: "optNested",
2886 IsPacked: prototype.False,
2887 },
2888 {
2889 Name: "rpt_nested",
2890 Number: 2,
2891 Cardinality: protoreflect.Repeated,
2892 Kind: protoreflect.MessageKind,
2893 JSONName: "rptNested",
2894 IsPacked: prototype.False,
2895 },
2896 {
2897 Name: "str_to_nested",
2898 Number: 3,
2899 Cardinality: protoreflect.Repeated,
2900 Kind: protoreflect.MessageKind,
2901 JSONName: "strToNested",
2902 IsPacked: prototype.False,
2903 },
2904 },
2905 },
2906 {
Herbie Ongcf253082018-12-17 17:13:07 -08002907 Name: "Extensions",
2908 Fields: []prototype.Field{
2909 {
2910 Name: "opt_string",
2911 Number: 1,
2912 Cardinality: protoreflect.Optional,
2913 Kind: protoreflect.StringKind,
2914 JSONName: "optString",
2915 IsPacked: prototype.False,
2916 },
2917 {
2918 Name: "opt_bool",
2919 Number: 101,
2920 Cardinality: protoreflect.Optional,
2921 Kind: protoreflect.BoolKind,
2922 JSONName: "optBool",
2923 IsPacked: prototype.False,
2924 },
2925 {
2926 Name: "opt_int32",
2927 Number: 2,
2928 Cardinality: protoreflect.Optional,
2929 Kind: protoreflect.Int32Kind,
2930 JSONName: "optInt32",
2931 IsPacked: prototype.False,
2932 },
2933 },
2934 ExtensionRanges: [][2]protoreflect.FieldNumber{{20, 101}},
2935 },
2936 {
2937 Name: "ExtensionsContainer",
2938 },
2939 {
2940 Name: "MessageSet",
2941 ExtensionRanges: [][2]protoreflect.FieldNumber{{4, 2147483647}},
2942 },
2943 {
2944 Name: "MessageSetExtension",
2945 Fields: []prototype.Field{
2946 {
2947 Name: "opt_string",
2948 Number: 1,
2949 Cardinality: protoreflect.Optional,
2950 Kind: protoreflect.StringKind,
2951 JSONName: "optString",
2952 IsPacked: prototype.False,
2953 },
2954 },
2955 },
2956 {
Herbie Ong70651952018-12-13 14:19:50 -08002957 Name: "KnownTypes",
2958 Fields: []prototype.Field{
2959 {
2960 Name: "opt_bool",
2961 Number: 1,
2962 Cardinality: protoreflect.Optional,
2963 Kind: protoreflect.MessageKind,
2964 JSONName: "optBool",
2965 IsPacked: prototype.False,
2966 },
2967 {
2968 Name: "opt_int32",
2969 Number: 2,
2970 Cardinality: protoreflect.Optional,
2971 Kind: protoreflect.MessageKind,
2972 JSONName: "optInt32",
2973 IsPacked: prototype.False,
2974 },
2975 {
2976 Name: "opt_int64",
2977 Number: 3,
2978 Cardinality: protoreflect.Optional,
2979 Kind: protoreflect.MessageKind,
2980 JSONName: "optInt64",
2981 IsPacked: prototype.False,
2982 },
2983 {
2984 Name: "opt_uint32",
2985 Number: 4,
2986 Cardinality: protoreflect.Optional,
2987 Kind: protoreflect.MessageKind,
2988 JSONName: "optUint32",
2989 IsPacked: prototype.False,
2990 },
2991 {
2992 Name: "opt_uint64",
2993 Number: 5,
2994 Cardinality: protoreflect.Optional,
2995 Kind: protoreflect.MessageKind,
2996 JSONName: "optUint64",
2997 IsPacked: prototype.False,
2998 },
2999 {
3000 Name: "opt_float",
3001 Number: 6,
3002 Cardinality: protoreflect.Optional,
3003 Kind: protoreflect.MessageKind,
3004 JSONName: "optFloat",
3005 IsPacked: prototype.False,
3006 },
3007 {
3008 Name: "opt_double",
3009 Number: 7,
3010 Cardinality: protoreflect.Optional,
3011 Kind: protoreflect.MessageKind,
3012 JSONName: "optDouble",
3013 IsPacked: prototype.False,
3014 },
3015 {
3016 Name: "opt_string",
3017 Number: 8,
3018 Cardinality: protoreflect.Optional,
3019 Kind: protoreflect.MessageKind,
3020 JSONName: "optString",
3021 IsPacked: prototype.False,
3022 },
3023 {
3024 Name: "opt_bytes",
3025 Number: 9,
3026 Cardinality: protoreflect.Optional,
3027 Kind: protoreflect.MessageKind,
3028 JSONName: "optBytes",
3029 IsPacked: prototype.False,
3030 },
3031 {
3032 Name: "opt_duration",
3033 Number: 20,
3034 Cardinality: protoreflect.Optional,
3035 Kind: protoreflect.MessageKind,
3036 JSONName: "optDuration",
3037 IsPacked: prototype.False,
3038 },
3039 {
3040 Name: "opt_timestamp",
3041 Number: 21,
3042 Cardinality: protoreflect.Optional,
3043 Kind: protoreflect.MessageKind,
3044 JSONName: "optTimestamp",
3045 IsPacked: prototype.False,
3046 },
3047 {
3048 Name: "opt_struct",
3049 Number: 25,
3050 Cardinality: protoreflect.Optional,
3051 Kind: protoreflect.MessageKind,
3052 JSONName: "optStruct",
3053 IsPacked: prototype.False,
3054 },
3055 {
3056 Name: "opt_list",
3057 Number: 26,
3058 Cardinality: protoreflect.Optional,
3059 Kind: protoreflect.MessageKind,
3060 JSONName: "optList",
3061 IsPacked: prototype.False,
3062 },
3063 {
3064 Name: "opt_value",
3065 Number: 27,
3066 Cardinality: protoreflect.Optional,
3067 Kind: protoreflect.MessageKind,
3068 JSONName: "optValue",
3069 IsPacked: prototype.False,
3070 },
3071 {
3072 Name: "opt_empty",
3073 Number: 30,
3074 Cardinality: protoreflect.Optional,
3075 Kind: protoreflect.MessageKind,
3076 JSONName: "optEmpty",
3077 IsPacked: prototype.False,
3078 },
3079 {
3080 Name: "opt_any",
3081 Number: 32,
3082 Cardinality: protoreflect.Optional,
3083 Kind: protoreflect.MessageKind,
3084 JSONName: "optAny",
3085 IsPacked: prototype.False,
3086 },
3087 },
3088 },
3089 {
3090 Name: "OptGroup",
3091 Fields: []prototype.Field{
3092 {
3093 Name: "opt_bool",
3094 Number: 1,
3095 Cardinality: protoreflect.Optional,
3096 Kind: protoreflect.BoolKind,
3097 JSONName: "optBool",
3098 IsPacked: prototype.False,
3099 },
3100 {
3101 Name: "opt_string",
3102 Number: 2,
3103 Cardinality: protoreflect.Optional,
3104 Kind: protoreflect.StringKind,
3105 JSONName: "optString",
3106 IsPacked: prototype.False,
3107 },
3108 {
3109 Name: "opt_nested",
3110 Number: 3,
3111 Cardinality: protoreflect.Optional,
3112 Kind: protoreflect.MessageKind,
3113 JSONName: "optNested",
3114 IsPacked: prototype.False,
3115 },
3116 {
3117 Name: "optnestedgroup",
3118 Number: 4,
3119 Cardinality: protoreflect.Optional,
3120 Kind: protoreflect.GroupKind,
3121 JSONName: "optnestedgroup",
3122 IsPacked: prototype.False,
3123 },
3124 },
3125 },
3126 {
3127 Name: "RptGroup",
3128 Fields: []prototype.Field{
3129 {
3130 Name: "rpt_bool",
3131 Number: 1,
3132 Cardinality: protoreflect.Repeated,
3133 Kind: protoreflect.BoolKind,
3134 JSONName: "rptBool",
3135 IsPacked: prototype.False,
3136 },
3137 },
3138 },
3139 {
3140 Name: "OptNestedGroup",
3141 Fields: []prototype.Field{
3142 {
3143 Name: "opt_enum",
3144 Number: 1,
3145 Cardinality: protoreflect.Optional,
3146 Kind: protoreflect.EnumKind,
3147 JSONName: "optEnum",
3148 IsPacked: prototype.False,
3149 },
3150 },
3151 },
3152 {
3153 Name: "Int32ToStrEntry",
3154 Fields: []prototype.Field{
3155 {
3156 Name: "key",
3157 Number: 1,
3158 Cardinality: protoreflect.Optional,
3159 Kind: protoreflect.Int32Kind,
3160 JSONName: "key",
3161 IsPacked: prototype.False,
3162 },
3163 {
3164 Name: "value",
3165 Number: 2,
3166 Cardinality: protoreflect.Optional,
3167 Kind: protoreflect.StringKind,
3168 JSONName: "value",
3169 IsPacked: prototype.False,
3170 },
3171 },
3172 IsMapEntry: true,
3173 },
3174 {
3175 Name: "Sfixed64ToBoolEntry",
3176 Fields: []prototype.Field{
3177 {
3178 Name: "key",
3179 Number: 1,
3180 Cardinality: protoreflect.Optional,
3181 Kind: protoreflect.Sfixed64Kind,
3182 JSONName: "key",
3183 IsPacked: prototype.False,
3184 },
3185 {
3186 Name: "value",
3187 Number: 2,
3188 Cardinality: protoreflect.Optional,
3189 Kind: protoreflect.BoolKind,
3190 JSONName: "value",
3191 IsPacked: prototype.False,
3192 },
3193 },
3194 IsMapEntry: true,
3195 },
3196 {
3197 Name: "BoolToUint32Entry",
3198 Fields: []prototype.Field{
3199 {
3200 Name: "key",
3201 Number: 1,
3202 Cardinality: protoreflect.Optional,
3203 Kind: protoreflect.BoolKind,
3204 JSONName: "key",
3205 IsPacked: prototype.False,
3206 },
3207 {
3208 Name: "value",
3209 Number: 2,
3210 Cardinality: protoreflect.Optional,
3211 Kind: protoreflect.Uint32Kind,
3212 JSONName: "value",
3213 IsPacked: prototype.False,
3214 },
3215 },
3216 IsMapEntry: true,
3217 },
3218 {
3219 Name: "Uint64ToEnumEntry",
3220 Fields: []prototype.Field{
3221 {
3222 Name: "key",
3223 Number: 1,
3224 Cardinality: protoreflect.Optional,
3225 Kind: protoreflect.Uint64Kind,
3226 JSONName: "key",
3227 IsPacked: prototype.False,
3228 },
3229 {
3230 Name: "value",
3231 Number: 2,
3232 Cardinality: protoreflect.Optional,
3233 Kind: protoreflect.EnumKind,
3234 JSONName: "value",
3235 IsPacked: prototype.False,
3236 },
3237 },
3238 IsMapEntry: true,
3239 },
3240 {
3241 Name: "StrToNestedEntry",
3242 Fields: []prototype.Field{
3243 {
3244 Name: "key",
3245 Number: 1,
3246 Cardinality: protoreflect.Optional,
3247 Kind: protoreflect.StringKind,
3248 JSONName: "key",
3249 IsPacked: prototype.False,
3250 },
3251 {
3252 Name: "value",
3253 Number: 2,
3254 Cardinality: protoreflect.Optional,
3255 Kind: protoreflect.MessageKind,
3256 JSONName: "value",
3257 IsPacked: prototype.False,
3258 },
3259 },
3260 IsMapEntry: true,
3261 },
3262 {
3263 Name: "StrToOneofsEntry",
3264 Fields: []prototype.Field{
3265 {
3266 Name: "key",
3267 Number: 1,
3268 Cardinality: protoreflect.Optional,
3269 Kind: protoreflect.StringKind,
3270 JSONName: "key",
3271 IsPacked: prototype.False,
3272 },
3273 {
3274 Name: "value",
3275 Number: 2,
3276 Cardinality: protoreflect.Optional,
3277 Kind: protoreflect.MessageKind,
3278 JSONName: "value",
3279 IsPacked: prototype.False,
3280 },
3281 },
3282 IsMapEntry: true,
3283 },
3284 {
3285 Name: "StrToNestedEntry",
3286 Fields: []prototype.Field{
3287 {
3288 Name: "key",
3289 Number: 1,
3290 Cardinality: protoreflect.Optional,
3291 Kind: protoreflect.StringKind,
3292 JSONName: "key",
3293 IsPacked: prototype.False,
3294 },
3295 {
3296 Name: "value",
3297 Number: 2,
3298 Cardinality: protoreflect.Optional,
3299 Kind: protoreflect.MessageKind,
3300 JSONName: "value",
3301 IsPacked: prototype.False,
3302 },
3303 },
3304 IsMapEntry: true,
3305 },
3306}