blob: 05944ef09598337b2fefa24035320808951a234c [file] [log] [blame]
Herbie Ong8170d692019-02-13 14:13:21 -08001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: encoding/testprotos/pb2/test.proto
3
4package pb2
5
6import (
Herbie Ong8170d692019-02-13 14:13:21 -08007 proto "github.com/golang/protobuf/proto"
Joe Tsaicf81e672019-02-28 14:08:31 -08008 protoapi "github.com/golang/protobuf/protoapi"
Herbie Ong8170d692019-02-13 14:13:21 -08009 any "github.com/golang/protobuf/ptypes/any"
10 duration "github.com/golang/protobuf/ptypes/duration"
11 empty "github.com/golang/protobuf/ptypes/empty"
12 _struct "github.com/golang/protobuf/ptypes/struct"
13 timestamp "github.com/golang/protobuf/ptypes/timestamp"
14 wrappers "github.com/golang/protobuf/ptypes/wrappers"
15 protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
16 protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
17 reflect "reflect"
18)
19
20// This is a compile-time assertion to ensure that this generated file
21// is compatible with the proto package it is being compiled against.
22// A compilation error at this line likely means your copy of the
23// proto package needs to be updated.
24const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
25
26type Enum int32
27
28const (
29 Enum_ONE Enum = 1
30 Enum_TWO Enum = 2
31 Enum_TEN Enum = 10
32)
33
34func (e Enum) Type() protoreflect.EnumType {
Joe Tsai40692112019-02-27 20:25:51 -080035 return xxx_File_encoding_testprotos_pb2_test_proto_enumTypes[0]
Herbie Ong8170d692019-02-13 14:13:21 -080036}
37func (e Enum) Number() protoreflect.EnumNumber {
38 return protoreflect.EnumNumber(e)
39}
40
41var Enum_name = map[int32]string{
42 1: "ONE",
43 2: "TWO",
44 10: "TEN",
45}
46
47var Enum_value = map[string]int32{
48 "ONE": 1,
49 "TWO": 2,
50 "TEN": 10,
51}
52
53func (x Enum) Enum() *Enum {
54 p := new(Enum)
55 *p = x
56 return p
57}
58
59func (x Enum) String() string {
60 return proto.EnumName(Enum_name, int32(x))
61}
62
63func (x *Enum) UnmarshalJSON(data []byte) error {
64 value, err := proto.UnmarshalJSONEnum(Enum_value, data, "Enum")
65 if err != nil {
66 return err
67 }
68 *x = Enum(value)
69 return nil
70}
71
72func (Enum) EnumDescriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -080073 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -080074}
75
76type Enums_NestedEnum int32
77
78const (
79 Enums_UNO Enums_NestedEnum = 1
80 Enums_DOS Enums_NestedEnum = 2
81 Enums_DIEZ Enums_NestedEnum = 10
82)
83
84func (e Enums_NestedEnum) Type() protoreflect.EnumType {
Joe Tsai40692112019-02-27 20:25:51 -080085 return xxx_File_encoding_testprotos_pb2_test_proto_enumTypes[1]
Herbie Ong8170d692019-02-13 14:13:21 -080086}
87func (e Enums_NestedEnum) Number() protoreflect.EnumNumber {
88 return protoreflect.EnumNumber(e)
89}
90
91var Enums_NestedEnum_name = map[int32]string{
92 1: "UNO",
93 2: "DOS",
94 10: "DIEZ",
95}
96
97var Enums_NestedEnum_value = map[string]int32{
98 "UNO": 1,
99 "DOS": 2,
100 "DIEZ": 10,
101}
102
103func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
104 p := new(Enums_NestedEnum)
105 *p = x
106 return p
107}
108
109func (x Enums_NestedEnum) String() string {
110 return proto.EnumName(Enums_NestedEnum_name, int32(x))
111}
112
113func (x *Enums_NestedEnum) UnmarshalJSON(data []byte) error {
114 value, err := proto.UnmarshalJSONEnum(Enums_NestedEnum_value, data, "Enums_NestedEnum")
115 if err != nil {
116 return err
117 }
118 *x = Enums_NestedEnum(value)
119 return nil
120}
121
122func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800123 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{1, 0}
Herbie Ong8170d692019-02-13 14:13:21 -0800124}
125
126// Scalars contains optional scalar fields.
127type Scalars struct {
128 OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
129 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
130 OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
131 OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
132 OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
133 OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"`
134 OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"`
135 OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
136 OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"`
137 OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"`
138 OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"`
139 OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
140 OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
141 OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
142 OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
143 XXX_NoUnkeyedLiteral struct{} `json:"-"`
144 XXX_unrecognized []byte `json:"-"`
145 XXX_sizecache int32 `json:"-"`
146}
147
148func (m *Scalars) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -0800149 return xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[0].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800150}
151func (m *Scalars) Reset() { *m = Scalars{} }
152func (m *Scalars) String() string { return proto.CompactTextString(m) }
153func (*Scalars) ProtoMessage() {}
154func (*Scalars) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800155 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -0800156}
157
158func (m *Scalars) XXX_Unmarshal(b []byte) error {
159 return xxx_messageInfo_Scalars.Unmarshal(m, b)
160}
161func (m *Scalars) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
162 return xxx_messageInfo_Scalars.Marshal(b, m, deterministic)
163}
164func (m *Scalars) XXX_Merge(src proto.Message) {
165 xxx_messageInfo_Scalars.Merge(m, src)
166}
167func (m *Scalars) XXX_Size() int {
168 return xxx_messageInfo_Scalars.Size(m)
169}
170func (m *Scalars) XXX_DiscardUnknown() {
171 xxx_messageInfo_Scalars.DiscardUnknown(m)
172}
173
174var xxx_messageInfo_Scalars proto.InternalMessageInfo
175
176func (m *Scalars) GetOptBool() bool {
177 if m != nil && m.OptBool != nil {
178 return *m.OptBool
179 }
180 return false
181}
182
183func (m *Scalars) GetOptInt32() int32 {
184 if m != nil && m.OptInt32 != nil {
185 return *m.OptInt32
186 }
187 return 0
188}
189
190func (m *Scalars) GetOptInt64() int64 {
191 if m != nil && m.OptInt64 != nil {
192 return *m.OptInt64
193 }
194 return 0
195}
196
197func (m *Scalars) GetOptUint32() uint32 {
198 if m != nil && m.OptUint32 != nil {
199 return *m.OptUint32
200 }
201 return 0
202}
203
204func (m *Scalars) GetOptUint64() uint64 {
205 if m != nil && m.OptUint64 != nil {
206 return *m.OptUint64
207 }
208 return 0
209}
210
211func (m *Scalars) GetOptSint32() int32 {
212 if m != nil && m.OptSint32 != nil {
213 return *m.OptSint32
214 }
215 return 0
216}
217
218func (m *Scalars) GetOptSint64() int64 {
219 if m != nil && m.OptSint64 != nil {
220 return *m.OptSint64
221 }
222 return 0
223}
224
225func (m *Scalars) GetOptFixed32() uint32 {
226 if m != nil && m.OptFixed32 != nil {
227 return *m.OptFixed32
228 }
229 return 0
230}
231
232func (m *Scalars) GetOptFixed64() uint64 {
233 if m != nil && m.OptFixed64 != nil {
234 return *m.OptFixed64
235 }
236 return 0
237}
238
239func (m *Scalars) GetOptSfixed32() int32 {
240 if m != nil && m.OptSfixed32 != nil {
241 return *m.OptSfixed32
242 }
243 return 0
244}
245
246func (m *Scalars) GetOptSfixed64() int64 {
247 if m != nil && m.OptSfixed64 != nil {
248 return *m.OptSfixed64
249 }
250 return 0
251}
252
253func (m *Scalars) GetOptFloat() float32 {
254 if m != nil && m.OptFloat != nil {
255 return *m.OptFloat
256 }
257 return 0
258}
259
260func (m *Scalars) GetOptDouble() float64 {
261 if m != nil && m.OptDouble != nil {
262 return *m.OptDouble
263 }
264 return 0
265}
266
267func (m *Scalars) GetOptBytes() []byte {
268 if m != nil {
269 return m.OptBytes
270 }
271 return nil
272}
273
274func (m *Scalars) GetOptString() string {
275 if m != nil && m.OptString != nil {
276 return *m.OptString
277 }
278 return ""
279}
280
281// Message contains enum fields.
282type Enums struct {
283 OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
284 RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"`
285 OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
286 RptNestedEnum []Enums_NestedEnum `protobuf:"varint,4,rep,name=rpt_nested_enum,json=rptNestedEnum,enum=pb2.Enums_NestedEnum" json:"rpt_nested_enum,omitempty"`
287 XXX_NoUnkeyedLiteral struct{} `json:"-"`
288 XXX_unrecognized []byte `json:"-"`
289 XXX_sizecache int32 `json:"-"`
290}
291
292func (m *Enums) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -0800293 return xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[1].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800294}
295func (m *Enums) Reset() { *m = Enums{} }
296func (m *Enums) String() string { return proto.CompactTextString(m) }
297func (*Enums) ProtoMessage() {}
298func (*Enums) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800299 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{1}
Herbie Ong8170d692019-02-13 14:13:21 -0800300}
301
302func (m *Enums) XXX_Unmarshal(b []byte) error {
303 return xxx_messageInfo_Enums.Unmarshal(m, b)
304}
305func (m *Enums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
306 return xxx_messageInfo_Enums.Marshal(b, m, deterministic)
307}
308func (m *Enums) XXX_Merge(src proto.Message) {
309 xxx_messageInfo_Enums.Merge(m, src)
310}
311func (m *Enums) XXX_Size() int {
312 return xxx_messageInfo_Enums.Size(m)
313}
314func (m *Enums) XXX_DiscardUnknown() {
315 xxx_messageInfo_Enums.DiscardUnknown(m)
316}
317
318var xxx_messageInfo_Enums proto.InternalMessageInfo
319
320func (m *Enums) GetOptEnum() Enum {
321 if m != nil && m.OptEnum != nil {
322 return *m.OptEnum
323 }
324 return Enum_ONE
325}
326
327func (m *Enums) GetRptEnum() []Enum {
328 if m != nil {
329 return m.RptEnum
330 }
331 return nil
332}
333
334func (m *Enums) GetOptNestedEnum() Enums_NestedEnum {
335 if m != nil && m.OptNestedEnum != nil {
336 return *m.OptNestedEnum
337 }
338 return Enums_UNO
339}
340
341func (m *Enums) GetRptNestedEnum() []Enums_NestedEnum {
342 if m != nil {
343 return m.RptNestedEnum
344 }
345 return nil
346}
347
348// Message contains repeated fields.
349type Repeats struct {
350 RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
351 RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"`
352 RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"`
353 RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"`
354 RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"`
355 RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"`
356 RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"`
357 RptString []string `protobuf:"bytes,8,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
358 RptBytes [][]byte `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
359 XXX_NoUnkeyedLiteral struct{} `json:"-"`
360 XXX_unrecognized []byte `json:"-"`
361 XXX_sizecache int32 `json:"-"`
362}
363
364func (m *Repeats) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -0800365 return xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[2].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800366}
367func (m *Repeats) Reset() { *m = Repeats{} }
368func (m *Repeats) String() string { return proto.CompactTextString(m) }
369func (*Repeats) ProtoMessage() {}
370func (*Repeats) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800371 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{2}
Herbie Ong8170d692019-02-13 14:13:21 -0800372}
373
374func (m *Repeats) XXX_Unmarshal(b []byte) error {
375 return xxx_messageInfo_Repeats.Unmarshal(m, b)
376}
377func (m *Repeats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
378 return xxx_messageInfo_Repeats.Marshal(b, m, deterministic)
379}
380func (m *Repeats) XXX_Merge(src proto.Message) {
381 xxx_messageInfo_Repeats.Merge(m, src)
382}
383func (m *Repeats) XXX_Size() int {
384 return xxx_messageInfo_Repeats.Size(m)
385}
386func (m *Repeats) XXX_DiscardUnknown() {
387 xxx_messageInfo_Repeats.DiscardUnknown(m)
388}
389
390var xxx_messageInfo_Repeats proto.InternalMessageInfo
391
392func (m *Repeats) GetRptBool() []bool {
393 if m != nil {
394 return m.RptBool
395 }
396 return nil
397}
398
399func (m *Repeats) GetRptInt32() []int32 {
400 if m != nil {
401 return m.RptInt32
402 }
403 return nil
404}
405
406func (m *Repeats) GetRptInt64() []int64 {
407 if m != nil {
408 return m.RptInt64
409 }
410 return nil
411}
412
413func (m *Repeats) GetRptUint32() []uint32 {
414 if m != nil {
415 return m.RptUint32
416 }
417 return nil
418}
419
420func (m *Repeats) GetRptUint64() []uint64 {
421 if m != nil {
422 return m.RptUint64
423 }
424 return nil
425}
426
427func (m *Repeats) GetRptFloat() []float32 {
428 if m != nil {
429 return m.RptFloat
430 }
431 return nil
432}
433
434func (m *Repeats) GetRptDouble() []float64 {
435 if m != nil {
436 return m.RptDouble
437 }
438 return nil
439}
440
441func (m *Repeats) GetRptString() []string {
442 if m != nil {
443 return m.RptString
444 }
445 return nil
446}
447
448func (m *Repeats) GetRptBytes() [][]byte {
449 if m != nil {
450 return m.RptBytes
451 }
452 return nil
453}
454
455// Message type used as submessage.
456type Nested struct {
457 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
458 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
459 XXX_NoUnkeyedLiteral struct{} `json:"-"`
460 XXX_unrecognized []byte `json:"-"`
461 XXX_sizecache int32 `json:"-"`
462}
463
464func (m *Nested) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -0800465 return xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[3].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800466}
467func (m *Nested) Reset() { *m = Nested{} }
468func (m *Nested) String() string { return proto.CompactTextString(m) }
469func (*Nested) ProtoMessage() {}
470func (*Nested) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800471 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{3}
Herbie Ong8170d692019-02-13 14:13:21 -0800472}
473
474func (m *Nested) XXX_Unmarshal(b []byte) error {
475 return xxx_messageInfo_Nested.Unmarshal(m, b)
476}
477func (m *Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
478 return xxx_messageInfo_Nested.Marshal(b, m, deterministic)
479}
480func (m *Nested) XXX_Merge(src proto.Message) {
481 xxx_messageInfo_Nested.Merge(m, src)
482}
483func (m *Nested) XXX_Size() int {
484 return xxx_messageInfo_Nested.Size(m)
485}
486func (m *Nested) XXX_DiscardUnknown() {
487 xxx_messageInfo_Nested.DiscardUnknown(m)
488}
489
490var xxx_messageInfo_Nested proto.InternalMessageInfo
491
492func (m *Nested) GetOptString() string {
493 if m != nil && m.OptString != nil {
494 return *m.OptString
495 }
496 return ""
497}
498
499func (m *Nested) GetOptNested() *Nested {
500 if m != nil {
501 return m.OptNested
502 }
503 return nil
504}
505
506// Message contains message and group fields.
507type Nests struct {
508 OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
509 Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"`
510 RptNested []*Nested `protobuf:"bytes,4,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
511 Rptgroup []*Nests_RptGroup `protobuf:"group,5,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
512 XXX_NoUnkeyedLiteral struct{} `json:"-"`
513 XXX_unrecognized []byte `json:"-"`
514 XXX_sizecache int32 `json:"-"`
515}
516
517func (m *Nests) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -0800518 return xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[4].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800519}
520func (m *Nests) Reset() { *m = Nests{} }
521func (m *Nests) String() string { return proto.CompactTextString(m) }
522func (*Nests) ProtoMessage() {}
523func (*Nests) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800524 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{4}
Herbie Ong8170d692019-02-13 14:13:21 -0800525}
526
527func (m *Nests) XXX_Unmarshal(b []byte) error {
528 return xxx_messageInfo_Nests.Unmarshal(m, b)
529}
530func (m *Nests) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
531 return xxx_messageInfo_Nests.Marshal(b, m, deterministic)
532}
533func (m *Nests) XXX_Merge(src proto.Message) {
534 xxx_messageInfo_Nests.Merge(m, src)
535}
536func (m *Nests) XXX_Size() int {
537 return xxx_messageInfo_Nests.Size(m)
538}
539func (m *Nests) XXX_DiscardUnknown() {
540 xxx_messageInfo_Nests.DiscardUnknown(m)
541}
542
543var xxx_messageInfo_Nests proto.InternalMessageInfo
544
545func (m *Nests) GetOptNested() *Nested {
546 if m != nil {
547 return m.OptNested
548 }
549 return nil
550}
551
552func (m *Nests) GetOptgroup() *Nests_OptGroup {
553 if m != nil {
554 return m.Optgroup
555 }
556 return nil
557}
558
559func (m *Nests) GetRptNested() []*Nested {
560 if m != nil {
561 return m.RptNested
562 }
563 return nil
564}
565
566func (m *Nests) GetRptgroup() []*Nests_RptGroup {
567 if m != nil {
568 return m.Rptgroup
569 }
570 return nil
571}
572
573// Message contains required fields.
574type Requireds struct {
575 ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"`
576 ReqSfixed64 *int64 `protobuf:"fixed64,2,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"`
577 ReqDouble *float64 `protobuf:"fixed64,3,req,name=req_double,json=reqDouble" json:"req_double,omitempty"`
578 ReqString *string `protobuf:"bytes,4,req,name=req_string,json=reqString" json:"req_string,omitempty"`
579 ReqEnum *Enum `protobuf:"varint,5,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
580 ReqNested *Nested `protobuf:"bytes,6,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
581 XXX_NoUnkeyedLiteral struct{} `json:"-"`
582 XXX_unrecognized []byte `json:"-"`
583 XXX_sizecache int32 `json:"-"`
584}
585
586func (m *Requireds) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -0800587 return xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[5].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800588}
589func (m *Requireds) Reset() { *m = Requireds{} }
590func (m *Requireds) String() string { return proto.CompactTextString(m) }
591func (*Requireds) ProtoMessage() {}
592func (*Requireds) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800593 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{5}
Herbie Ong8170d692019-02-13 14:13:21 -0800594}
595
596func (m *Requireds) XXX_Unmarshal(b []byte) error {
597 return xxx_messageInfo_Requireds.Unmarshal(m, b)
598}
599func (m *Requireds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
600 return xxx_messageInfo_Requireds.Marshal(b, m, deterministic)
601}
602func (m *Requireds) XXX_Merge(src proto.Message) {
603 xxx_messageInfo_Requireds.Merge(m, src)
604}
605func (m *Requireds) XXX_Size() int {
606 return xxx_messageInfo_Requireds.Size(m)
607}
608func (m *Requireds) XXX_DiscardUnknown() {
609 xxx_messageInfo_Requireds.DiscardUnknown(m)
610}
611
612var xxx_messageInfo_Requireds proto.InternalMessageInfo
613
614func (m *Requireds) GetReqBool() bool {
615 if m != nil && m.ReqBool != nil {
616 return *m.ReqBool
617 }
618 return false
619}
620
621func (m *Requireds) GetReqSfixed64() int64 {
622 if m != nil && m.ReqSfixed64 != nil {
623 return *m.ReqSfixed64
624 }
625 return 0
626}
627
628func (m *Requireds) GetReqDouble() float64 {
629 if m != nil && m.ReqDouble != nil {
630 return *m.ReqDouble
631 }
632 return 0
633}
634
635func (m *Requireds) GetReqString() string {
636 if m != nil && m.ReqString != nil {
637 return *m.ReqString
638 }
639 return ""
640}
641
642func (m *Requireds) GetReqEnum() Enum {
643 if m != nil && m.ReqEnum != nil {
644 return *m.ReqEnum
645 }
646 return Enum_ONE
647}
648
649func (m *Requireds) GetReqNested() *Nested {
650 if m != nil {
651 return m.ReqNested
652 }
653 return nil
654}
655
656// Message contains both required and optional fields.
657type PartialRequired struct {
658 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
659 OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
660 XXX_NoUnkeyedLiteral struct{} `json:"-"`
661 XXX_unrecognized []byte `json:"-"`
662 XXX_sizecache int32 `json:"-"`
663}
664
665func (m *PartialRequired) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -0800666 return xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[6].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800667}
668func (m *PartialRequired) Reset() { *m = PartialRequired{} }
669func (m *PartialRequired) String() string { return proto.CompactTextString(m) }
670func (*PartialRequired) ProtoMessage() {}
671func (*PartialRequired) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800672 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{6}
Herbie Ong8170d692019-02-13 14:13:21 -0800673}
674
675func (m *PartialRequired) XXX_Unmarshal(b []byte) error {
676 return xxx_messageInfo_PartialRequired.Unmarshal(m, b)
677}
678func (m *PartialRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
679 return xxx_messageInfo_PartialRequired.Marshal(b, m, deterministic)
680}
681func (m *PartialRequired) XXX_Merge(src proto.Message) {
682 xxx_messageInfo_PartialRequired.Merge(m, src)
683}
684func (m *PartialRequired) XXX_Size() int {
685 return xxx_messageInfo_PartialRequired.Size(m)
686}
687func (m *PartialRequired) XXX_DiscardUnknown() {
688 xxx_messageInfo_PartialRequired.DiscardUnknown(m)
689}
690
691var xxx_messageInfo_PartialRequired proto.InternalMessageInfo
692
693func (m *PartialRequired) GetReqString() string {
694 if m != nil && m.ReqString != nil {
695 return *m.ReqString
696 }
697 return ""
698}
699
700func (m *PartialRequired) GetOptString() string {
701 if m != nil && m.OptString != nil {
702 return *m.OptString
703 }
704 return ""
705}
706
707type NestedWithRequired struct {
708 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
709 XXX_NoUnkeyedLiteral struct{} `json:"-"`
710 XXX_unrecognized []byte `json:"-"`
711 XXX_sizecache int32 `json:"-"`
712}
713
714func (m *NestedWithRequired) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -0800715 return xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[7].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800716}
717func (m *NestedWithRequired) Reset() { *m = NestedWithRequired{} }
718func (m *NestedWithRequired) String() string { return proto.CompactTextString(m) }
719func (*NestedWithRequired) ProtoMessage() {}
720func (*NestedWithRequired) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800721 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{7}
Herbie Ong8170d692019-02-13 14:13:21 -0800722}
723
724func (m *NestedWithRequired) XXX_Unmarshal(b []byte) error {
725 return xxx_messageInfo_NestedWithRequired.Unmarshal(m, b)
726}
727func (m *NestedWithRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
728 return xxx_messageInfo_NestedWithRequired.Marshal(b, m, deterministic)
729}
730func (m *NestedWithRequired) XXX_Merge(src proto.Message) {
731 xxx_messageInfo_NestedWithRequired.Merge(m, src)
732}
733func (m *NestedWithRequired) XXX_Size() int {
734 return xxx_messageInfo_NestedWithRequired.Size(m)
735}
736func (m *NestedWithRequired) XXX_DiscardUnknown() {
737 xxx_messageInfo_NestedWithRequired.DiscardUnknown(m)
738}
739
740var xxx_messageInfo_NestedWithRequired proto.InternalMessageInfo
741
742func (m *NestedWithRequired) GetReqString() string {
743 if m != nil && m.ReqString != nil {
744 return *m.ReqString
745 }
746 return ""
747}
748
749type IndirectRequired struct {
750 OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
751 RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
752 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"`
753 // Types that are valid to be assigned to Union:
754 // *IndirectRequired_OneofNested
755 Union isIndirectRequired_Union `protobuf_oneof:"union"`
756 XXX_NoUnkeyedLiteral struct{} `json:"-"`
757 XXX_unrecognized []byte `json:"-"`
758 XXX_sizecache int32 `json:"-"`
759}
760
761func (m *IndirectRequired) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -0800762 return xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[8].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800763}
764func (m *IndirectRequired) Reset() { *m = IndirectRequired{} }
765func (m *IndirectRequired) String() string { return proto.CompactTextString(m) }
766func (*IndirectRequired) ProtoMessage() {}
767func (*IndirectRequired) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800768 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{8}
Herbie Ong8170d692019-02-13 14:13:21 -0800769}
770
771func (m *IndirectRequired) XXX_Unmarshal(b []byte) error {
772 return xxx_messageInfo_IndirectRequired.Unmarshal(m, b)
773}
774func (m *IndirectRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
775 return xxx_messageInfo_IndirectRequired.Marshal(b, m, deterministic)
776}
777func (m *IndirectRequired) XXX_Merge(src proto.Message) {
778 xxx_messageInfo_IndirectRequired.Merge(m, src)
779}
780func (m *IndirectRequired) XXX_Size() int {
781 return xxx_messageInfo_IndirectRequired.Size(m)
782}
783func (m *IndirectRequired) XXX_DiscardUnknown() {
784 xxx_messageInfo_IndirectRequired.DiscardUnknown(m)
785}
786
787var xxx_messageInfo_IndirectRequired proto.InternalMessageInfo
788
789func (m *IndirectRequired) GetOptNested() *NestedWithRequired {
790 if m != nil {
791 return m.OptNested
792 }
793 return nil
794}
795
796func (m *IndirectRequired) GetRptNested() []*NestedWithRequired {
797 if m != nil {
798 return m.RptNested
799 }
800 return nil
801}
802
803func (m *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired {
804 if m != nil {
805 return m.StrToNested
806 }
807 return nil
808}
809
810type isIndirectRequired_Union interface {
811 isIndirectRequired_Union()
812}
813
814type IndirectRequired_OneofNested struct {
815 OneofNested *NestedWithRequired `protobuf:"bytes,4,opt,name=oneof_nested,json=oneofNested,oneof"`
816}
817
818func (*IndirectRequired_OneofNested) isIndirectRequired_Union() {}
819
820func (m *IndirectRequired) GetUnion() isIndirectRequired_Union {
821 if m != nil {
822 return m.Union
823 }
824 return nil
825}
826
827func (m *IndirectRequired) GetOneofNested() *NestedWithRequired {
828 if x, ok := m.GetUnion().(*IndirectRequired_OneofNested); ok {
829 return x.OneofNested
830 }
831 return nil
832}
833
834// XXX_OneofWrappers is for the internal use of the proto package.
835func (*IndirectRequired) XXX_OneofWrappers() []interface{} {
836 return []interface{}{
837 (*IndirectRequired_OneofNested)(nil),
838 }
839}
840
841type Extensions struct {
842 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
843 OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
844 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
845 XXX_NoUnkeyedLiteral struct{} `json:"-"`
846 proto.XXX_InternalExtensions `json:"-"`
847 XXX_unrecognized []byte `json:"-"`
848 XXX_sizecache int32 `json:"-"`
849}
850
851func (m *Extensions) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -0800852 return xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[9].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800853}
854func (m *Extensions) Reset() { *m = Extensions{} }
855func (m *Extensions) String() string { return proto.CompactTextString(m) }
856func (*Extensions) ProtoMessage() {}
857func (*Extensions) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800858 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{9}
Herbie Ong8170d692019-02-13 14:13:21 -0800859}
860
861var extRange_Extensions = []proto.ExtensionRange{
862 {Start: 20, End: 100},
863}
864
865func (*Extensions) ExtensionRangeArray() []proto.ExtensionRange {
866 return extRange_Extensions
867}
868
869func (m *Extensions) XXX_Unmarshal(b []byte) error {
870 return xxx_messageInfo_Extensions.Unmarshal(m, b)
871}
872func (m *Extensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
873 return xxx_messageInfo_Extensions.Marshal(b, m, deterministic)
874}
875func (m *Extensions) XXX_Merge(src proto.Message) {
876 xxx_messageInfo_Extensions.Merge(m, src)
877}
878func (m *Extensions) XXX_Size() int {
879 return xxx_messageInfo_Extensions.Size(m)
880}
881func (m *Extensions) XXX_DiscardUnknown() {
882 xxx_messageInfo_Extensions.DiscardUnknown(m)
883}
884
885var xxx_messageInfo_Extensions proto.InternalMessageInfo
886
887func (m *Extensions) GetOptString() string {
888 if m != nil && m.OptString != nil {
889 return *m.OptString
890 }
891 return ""
892}
893
894func (m *Extensions) GetOptBool() bool {
895 if m != nil && m.OptBool != nil {
896 return *m.OptBool
897 }
898 return false
899}
900
901func (m *Extensions) GetOptInt32() int32 {
902 if m != nil && m.OptInt32 != nil {
903 return *m.OptInt32
904 }
905 return 0
906}
907
908type ExtensionsContainer struct {
909 XXX_NoUnkeyedLiteral struct{} `json:"-"`
910 XXX_unrecognized []byte `json:"-"`
911 XXX_sizecache int32 `json:"-"`
912}
913
914func (m *ExtensionsContainer) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -0800915 return xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[10].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800916}
917func (m *ExtensionsContainer) Reset() { *m = ExtensionsContainer{} }
918func (m *ExtensionsContainer) String() string { return proto.CompactTextString(m) }
919func (*ExtensionsContainer) ProtoMessage() {}
920func (*ExtensionsContainer) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800921 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{10}
Herbie Ong8170d692019-02-13 14:13:21 -0800922}
923
924func (m *ExtensionsContainer) XXX_Unmarshal(b []byte) error {
925 return xxx_messageInfo_ExtensionsContainer.Unmarshal(m, b)
926}
927func (m *ExtensionsContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
928 return xxx_messageInfo_ExtensionsContainer.Marshal(b, m, deterministic)
929}
930func (m *ExtensionsContainer) XXX_Merge(src proto.Message) {
931 xxx_messageInfo_ExtensionsContainer.Merge(m, src)
932}
933func (m *ExtensionsContainer) XXX_Size() int {
934 return xxx_messageInfo_ExtensionsContainer.Size(m)
935}
936func (m *ExtensionsContainer) XXX_DiscardUnknown() {
937 xxx_messageInfo_ExtensionsContainer.DiscardUnknown(m)
938}
939
940var xxx_messageInfo_ExtensionsContainer proto.InternalMessageInfo
941
942type MessageSet struct {
943 XXX_NoUnkeyedLiteral struct{} `json:"-"`
944 proto.XXX_InternalExtensions `protobuf_messageset:"1" json:"-"`
945 XXX_unrecognized []byte `json:"-"`
946 XXX_sizecache int32 `json:"-"`
947}
948
949func (m *MessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -0800950 return xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[11].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800951}
952func (m *MessageSet) Reset() { *m = MessageSet{} }
953func (m *MessageSet) String() string { return proto.CompactTextString(m) }
954func (*MessageSet) ProtoMessage() {}
955func (*MessageSet) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800956 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{11}
Herbie Ong8170d692019-02-13 14:13:21 -0800957}
958
959var extRange_MessageSet = []proto.ExtensionRange{
960 {Start: 4, End: 2147483646},
961}
962
963func (*MessageSet) ExtensionRangeArray() []proto.ExtensionRange {
964 return extRange_MessageSet
965}
966
967func (m *MessageSet) XXX_Unmarshal(b []byte) error {
968 return xxx_messageInfo_MessageSet.Unmarshal(m, b)
969}
970func (m *MessageSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
971 return xxx_messageInfo_MessageSet.Marshal(b, m, deterministic)
972}
973func (m *MessageSet) XXX_Merge(src proto.Message) {
974 xxx_messageInfo_MessageSet.Merge(m, src)
975}
976func (m *MessageSet) XXX_Size() int {
977 return xxx_messageInfo_MessageSet.Size(m)
978}
979func (m *MessageSet) XXX_DiscardUnknown() {
980 xxx_messageInfo_MessageSet.DiscardUnknown(m)
981}
982
983var xxx_messageInfo_MessageSet proto.InternalMessageInfo
984
985type MessageSetExtension struct {
986 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
987 XXX_NoUnkeyedLiteral struct{} `json:"-"`
988 XXX_unrecognized []byte `json:"-"`
989 XXX_sizecache int32 `json:"-"`
990}
991
992func (m *MessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -0800993 return xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[12].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800994}
995func (m *MessageSetExtension) Reset() { *m = MessageSetExtension{} }
996func (m *MessageSetExtension) String() string { return proto.CompactTextString(m) }
997func (*MessageSetExtension) ProtoMessage() {}
998func (*MessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -0800999 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{12}
Herbie Ong8170d692019-02-13 14:13:21 -08001000}
1001
1002func (m *MessageSetExtension) XXX_Unmarshal(b []byte) error {
1003 return xxx_messageInfo_MessageSetExtension.Unmarshal(m, b)
1004}
1005func (m *MessageSetExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1006 return xxx_messageInfo_MessageSetExtension.Marshal(b, m, deterministic)
1007}
1008func (m *MessageSetExtension) XXX_Merge(src proto.Message) {
1009 xxx_messageInfo_MessageSetExtension.Merge(m, src)
1010}
1011func (m *MessageSetExtension) XXX_Size() int {
1012 return xxx_messageInfo_MessageSetExtension.Size(m)
1013}
1014func (m *MessageSetExtension) XXX_DiscardUnknown() {
1015 xxx_messageInfo_MessageSetExtension.DiscardUnknown(m)
1016}
1017
1018var xxx_messageInfo_MessageSetExtension proto.InternalMessageInfo
1019
1020func (m *MessageSetExtension) GetOptString() string {
1021 if m != nil && m.OptString != nil {
1022 return *m.OptString
1023 }
1024 return ""
1025}
1026
1027type FakeMessageSet struct {
1028 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1029 proto.XXX_InternalExtensions `json:"-"`
1030 XXX_unrecognized []byte `json:"-"`
1031 XXX_sizecache int32 `json:"-"`
1032}
1033
1034func (m *FakeMessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -08001035 return xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[13].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -08001036}
1037func (m *FakeMessageSet) Reset() { *m = FakeMessageSet{} }
1038func (m *FakeMessageSet) String() string { return proto.CompactTextString(m) }
1039func (*FakeMessageSet) ProtoMessage() {}
1040func (*FakeMessageSet) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -08001041 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{13}
Herbie Ong8170d692019-02-13 14:13:21 -08001042}
1043
1044var extRange_FakeMessageSet = []proto.ExtensionRange{
1045 {Start: 4, End: 536870911},
1046}
1047
1048func (*FakeMessageSet) ExtensionRangeArray() []proto.ExtensionRange {
1049 return extRange_FakeMessageSet
1050}
1051
1052func (m *FakeMessageSet) XXX_Unmarshal(b []byte) error {
1053 return xxx_messageInfo_FakeMessageSet.Unmarshal(m, b)
1054}
1055func (m *FakeMessageSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1056 return xxx_messageInfo_FakeMessageSet.Marshal(b, m, deterministic)
1057}
1058func (m *FakeMessageSet) XXX_Merge(src proto.Message) {
1059 xxx_messageInfo_FakeMessageSet.Merge(m, src)
1060}
1061func (m *FakeMessageSet) XXX_Size() int {
1062 return xxx_messageInfo_FakeMessageSet.Size(m)
1063}
1064func (m *FakeMessageSet) XXX_DiscardUnknown() {
1065 xxx_messageInfo_FakeMessageSet.DiscardUnknown(m)
1066}
1067
1068var xxx_messageInfo_FakeMessageSet proto.InternalMessageInfo
1069
1070type FakeMessageSetExtension struct {
1071 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1072 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1073 XXX_unrecognized []byte `json:"-"`
1074 XXX_sizecache int32 `json:"-"`
1075}
1076
1077func (m *FakeMessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -08001078 return xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[14].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -08001079}
1080func (m *FakeMessageSetExtension) Reset() { *m = FakeMessageSetExtension{} }
1081func (m *FakeMessageSetExtension) String() string { return proto.CompactTextString(m) }
1082func (*FakeMessageSetExtension) ProtoMessage() {}
1083func (*FakeMessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -08001084 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{14}
Herbie Ong8170d692019-02-13 14:13:21 -08001085}
1086
1087func (m *FakeMessageSetExtension) XXX_Unmarshal(b []byte) error {
1088 return xxx_messageInfo_FakeMessageSetExtension.Unmarshal(m, b)
1089}
1090func (m *FakeMessageSetExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1091 return xxx_messageInfo_FakeMessageSetExtension.Marshal(b, m, deterministic)
1092}
1093func (m *FakeMessageSetExtension) XXX_Merge(src proto.Message) {
1094 xxx_messageInfo_FakeMessageSetExtension.Merge(m, src)
1095}
1096func (m *FakeMessageSetExtension) XXX_Size() int {
1097 return xxx_messageInfo_FakeMessageSetExtension.Size(m)
1098}
1099func (m *FakeMessageSetExtension) XXX_DiscardUnknown() {
1100 xxx_messageInfo_FakeMessageSetExtension.DiscardUnknown(m)
1101}
1102
1103var xxx_messageInfo_FakeMessageSetExtension proto.InternalMessageInfo
1104
1105func (m *FakeMessageSetExtension) GetOptString() string {
1106 if m != nil && m.OptString != nil {
1107 return *m.OptString
1108 }
1109 return ""
1110}
1111
1112// Message contains well-known type fields.
1113type KnownTypes struct {
1114 OptBool *wrappers.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
1115 OptInt32 *wrappers.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
1116 OptInt64 *wrappers.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
1117 OptUint32 *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
1118 OptUint64 *wrappers.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
1119 OptFloat *wrappers.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
1120 OptDouble *wrappers.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
1121 OptString *wrappers.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1122 OptBytes *wrappers.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
1123 OptDuration *duration.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"`
1124 OptTimestamp *timestamp.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"`
1125 OptStruct *_struct.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"`
1126 OptList *_struct.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"`
1127 OptValue *_struct.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"`
1128 OptEmpty *empty.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"`
1129 OptAny *any.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
1130 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1131 XXX_unrecognized []byte `json:"-"`
1132 XXX_sizecache int32 `json:"-"`
1133}
1134
1135func (m *KnownTypes) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -08001136 return xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[15].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -08001137}
1138func (m *KnownTypes) Reset() { *m = KnownTypes{} }
1139func (m *KnownTypes) String() string { return proto.CompactTextString(m) }
1140func (*KnownTypes) ProtoMessage() {}
1141func (*KnownTypes) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -08001142 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{15}
Herbie Ong8170d692019-02-13 14:13:21 -08001143}
1144
1145func (m *KnownTypes) XXX_Unmarshal(b []byte) error {
1146 return xxx_messageInfo_KnownTypes.Unmarshal(m, b)
1147}
1148func (m *KnownTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1149 return xxx_messageInfo_KnownTypes.Marshal(b, m, deterministic)
1150}
1151func (m *KnownTypes) XXX_Merge(src proto.Message) {
1152 xxx_messageInfo_KnownTypes.Merge(m, src)
1153}
1154func (m *KnownTypes) XXX_Size() int {
1155 return xxx_messageInfo_KnownTypes.Size(m)
1156}
1157func (m *KnownTypes) XXX_DiscardUnknown() {
1158 xxx_messageInfo_KnownTypes.DiscardUnknown(m)
1159}
1160
1161var xxx_messageInfo_KnownTypes proto.InternalMessageInfo
1162
1163func (m *KnownTypes) GetOptBool() *wrappers.BoolValue {
1164 if m != nil {
1165 return m.OptBool
1166 }
1167 return nil
1168}
1169
1170func (m *KnownTypes) GetOptInt32() *wrappers.Int32Value {
1171 if m != nil {
1172 return m.OptInt32
1173 }
1174 return nil
1175}
1176
1177func (m *KnownTypes) GetOptInt64() *wrappers.Int64Value {
1178 if m != nil {
1179 return m.OptInt64
1180 }
1181 return nil
1182}
1183
1184func (m *KnownTypes) GetOptUint32() *wrappers.UInt32Value {
1185 if m != nil {
1186 return m.OptUint32
1187 }
1188 return nil
1189}
1190
1191func (m *KnownTypes) GetOptUint64() *wrappers.UInt64Value {
1192 if m != nil {
1193 return m.OptUint64
1194 }
1195 return nil
1196}
1197
1198func (m *KnownTypes) GetOptFloat() *wrappers.FloatValue {
1199 if m != nil {
1200 return m.OptFloat
1201 }
1202 return nil
1203}
1204
1205func (m *KnownTypes) GetOptDouble() *wrappers.DoubleValue {
1206 if m != nil {
1207 return m.OptDouble
1208 }
1209 return nil
1210}
1211
1212func (m *KnownTypes) GetOptString() *wrappers.StringValue {
1213 if m != nil {
1214 return m.OptString
1215 }
1216 return nil
1217}
1218
1219func (m *KnownTypes) GetOptBytes() *wrappers.BytesValue {
1220 if m != nil {
1221 return m.OptBytes
1222 }
1223 return nil
1224}
1225
1226func (m *KnownTypes) GetOptDuration() *duration.Duration {
1227 if m != nil {
1228 return m.OptDuration
1229 }
1230 return nil
1231}
1232
1233func (m *KnownTypes) GetOptTimestamp() *timestamp.Timestamp {
1234 if m != nil {
1235 return m.OptTimestamp
1236 }
1237 return nil
1238}
1239
1240func (m *KnownTypes) GetOptStruct() *_struct.Struct {
1241 if m != nil {
1242 return m.OptStruct
1243 }
1244 return nil
1245}
1246
1247func (m *KnownTypes) GetOptList() *_struct.ListValue {
1248 if m != nil {
1249 return m.OptList
1250 }
1251 return nil
1252}
1253
1254func (m *KnownTypes) GetOptValue() *_struct.Value {
1255 if m != nil {
1256 return m.OptValue
1257 }
1258 return nil
1259}
1260
1261func (m *KnownTypes) GetOptEmpty() *empty.Empty {
1262 if m != nil {
1263 return m.OptEmpty
1264 }
1265 return nil
1266}
1267
1268func (m *KnownTypes) GetOptAny() *any.Any {
1269 if m != nil {
1270 return m.OptAny
1271 }
1272 return nil
1273}
1274
1275type Nests_OptGroup struct {
1276 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1277 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
1278 Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,3,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
1279 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1280 XXX_unrecognized []byte `json:"-"`
1281 XXX_sizecache int32 `json:"-"`
1282}
1283
1284func (m *Nests_OptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -08001285 return xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[16].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -08001286}
1287func (m *Nests_OptGroup) Reset() { *m = Nests_OptGroup{} }
1288func (m *Nests_OptGroup) String() string { return proto.CompactTextString(m) }
1289func (*Nests_OptGroup) ProtoMessage() {}
1290func (*Nests_OptGroup) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -08001291 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{4, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001292}
1293
1294func (m *Nests_OptGroup) XXX_Unmarshal(b []byte) error {
1295 return xxx_messageInfo_Nests_OptGroup.Unmarshal(m, b)
1296}
1297func (m *Nests_OptGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1298 return xxx_messageInfo_Nests_OptGroup.Marshal(b, m, deterministic)
1299}
1300func (m *Nests_OptGroup) XXX_Merge(src proto.Message) {
1301 xxx_messageInfo_Nests_OptGroup.Merge(m, src)
1302}
1303func (m *Nests_OptGroup) XXX_Size() int {
1304 return xxx_messageInfo_Nests_OptGroup.Size(m)
1305}
1306func (m *Nests_OptGroup) XXX_DiscardUnknown() {
1307 xxx_messageInfo_Nests_OptGroup.DiscardUnknown(m)
1308}
1309
1310var xxx_messageInfo_Nests_OptGroup proto.InternalMessageInfo
1311
1312func (m *Nests_OptGroup) GetOptString() string {
1313 if m != nil && m.OptString != nil {
1314 return *m.OptString
1315 }
1316 return ""
1317}
1318
1319func (m *Nests_OptGroup) GetOptNested() *Nested {
1320 if m != nil {
1321 return m.OptNested
1322 }
1323 return nil
1324}
1325
1326func (m *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup {
1327 if m != nil {
1328 return m.Optnestedgroup
1329 }
1330 return nil
1331}
1332
1333type Nests_RptGroup struct {
1334 RptString []string `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
1335 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1336 XXX_unrecognized []byte `json:"-"`
1337 XXX_sizecache int32 `json:"-"`
1338}
1339
1340func (m *Nests_RptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -08001341 return xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[17].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -08001342}
1343func (m *Nests_RptGroup) Reset() { *m = Nests_RptGroup{} }
1344func (m *Nests_RptGroup) String() string { return proto.CompactTextString(m) }
1345func (*Nests_RptGroup) ProtoMessage() {}
1346func (*Nests_RptGroup) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -08001347 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{4, 1}
Herbie Ong8170d692019-02-13 14:13:21 -08001348}
1349
1350func (m *Nests_RptGroup) XXX_Unmarshal(b []byte) error {
1351 return xxx_messageInfo_Nests_RptGroup.Unmarshal(m, b)
1352}
1353func (m *Nests_RptGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1354 return xxx_messageInfo_Nests_RptGroup.Marshal(b, m, deterministic)
1355}
1356func (m *Nests_RptGroup) XXX_Merge(src proto.Message) {
1357 xxx_messageInfo_Nests_RptGroup.Merge(m, src)
1358}
1359func (m *Nests_RptGroup) XXX_Size() int {
1360 return xxx_messageInfo_Nests_RptGroup.Size(m)
1361}
1362func (m *Nests_RptGroup) XXX_DiscardUnknown() {
1363 xxx_messageInfo_Nests_RptGroup.DiscardUnknown(m)
1364}
1365
1366var xxx_messageInfo_Nests_RptGroup proto.InternalMessageInfo
1367
1368func (m *Nests_RptGroup) GetRptString() []string {
1369 if m != nil {
1370 return m.RptString
1371 }
1372 return nil
1373}
1374
1375type Nests_OptGroup_OptNestedGroup struct {
1376 OptFixed32 *uint32 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
1377 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1378 XXX_unrecognized []byte `json:"-"`
1379 XXX_sizecache int32 `json:"-"`
1380}
1381
1382func (m *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message {
Joe Tsai40692112019-02-27 20:25:51 -08001383 return xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[18].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -08001384}
1385func (m *Nests_OptGroup_OptNestedGroup) Reset() { *m = Nests_OptGroup_OptNestedGroup{} }
1386func (m *Nests_OptGroup_OptNestedGroup) String() string { return proto.CompactTextString(m) }
1387func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {}
1388func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) {
Joe Tsai40692112019-02-27 20:25:51 -08001389 return xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped, []int{4, 0, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001390}
1391
1392func (m *Nests_OptGroup_OptNestedGroup) XXX_Unmarshal(b []byte) error {
1393 return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Unmarshal(m, b)
1394}
1395func (m *Nests_OptGroup_OptNestedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1396 return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Marshal(b, m, deterministic)
1397}
1398func (m *Nests_OptGroup_OptNestedGroup) XXX_Merge(src proto.Message) {
1399 xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Merge(m, src)
1400}
1401func (m *Nests_OptGroup_OptNestedGroup) XXX_Size() int {
1402 return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Size(m)
1403}
1404func (m *Nests_OptGroup_OptNestedGroup) XXX_DiscardUnknown() {
1405 xxx_messageInfo_Nests_OptGroup_OptNestedGroup.DiscardUnknown(m)
1406}
1407
1408var xxx_messageInfo_Nests_OptGroup_OptNestedGroup proto.InternalMessageInfo
1409
1410func (m *Nests_OptGroup_OptNestedGroup) GetOptFixed32() uint32 {
1411 if m != nil && m.OptFixed32 != nil {
1412 return *m.OptFixed32
1413 }
1414 return 0
1415}
1416
1417var E_OptExtBool = &proto.ExtensionDesc{
1418 ExtendedType: (*Extensions)(nil),
1419 ExtensionType: (*bool)(nil),
1420 Field: 21,
1421 Name: "pb2.opt_ext_bool",
1422 Tag: "varint,21,opt,name=opt_ext_bool",
1423 Filename: "encoding/testprotos/pb2/test.proto",
1424}
1425
1426var E_OptExtString = &proto.ExtensionDesc{
1427 ExtendedType: (*Extensions)(nil),
1428 ExtensionType: (*string)(nil),
1429 Field: 22,
1430 Name: "pb2.opt_ext_string",
1431 Tag: "bytes,22,opt,name=opt_ext_string",
1432 Filename: "encoding/testprotos/pb2/test.proto",
1433}
1434
1435var E_OptExtEnum = &proto.ExtensionDesc{
1436 ExtendedType: (*Extensions)(nil),
1437 ExtensionType: (*Enum)(nil),
1438 Field: 23,
1439 Name: "pb2.opt_ext_enum",
1440 Tag: "varint,23,opt,name=opt_ext_enum,enum=pb2.Enum",
1441 Filename: "encoding/testprotos/pb2/test.proto",
1442}
1443
1444var E_OptExtNested = &proto.ExtensionDesc{
1445 ExtendedType: (*Extensions)(nil),
1446 ExtensionType: (*Nested)(nil),
1447 Field: 24,
1448 Name: "pb2.opt_ext_nested",
1449 Tag: "bytes,24,opt,name=opt_ext_nested",
1450 Filename: "encoding/testprotos/pb2/test.proto",
1451}
1452
1453var E_RptExtFixed32 = &proto.ExtensionDesc{
1454 ExtendedType: (*Extensions)(nil),
1455 ExtensionType: ([]uint32)(nil),
1456 Field: 31,
1457 Name: "pb2.rpt_ext_fixed32",
1458 Tag: "fixed32,31,rep,name=rpt_ext_fixed32",
1459 Filename: "encoding/testprotos/pb2/test.proto",
1460}
1461
1462var E_RptExtEnum = &proto.ExtensionDesc{
1463 ExtendedType: (*Extensions)(nil),
1464 ExtensionType: ([]Enum)(nil),
1465 Field: 32,
1466 Name: "pb2.rpt_ext_enum",
1467 Tag: "varint,32,rep,name=rpt_ext_enum,enum=pb2.Enum",
1468 Filename: "encoding/testprotos/pb2/test.proto",
1469}
1470
1471var E_RptExtNested = &proto.ExtensionDesc{
1472 ExtendedType: (*Extensions)(nil),
1473 ExtensionType: ([]*Nested)(nil),
1474 Field: 33,
1475 Name: "pb2.rpt_ext_nested",
1476 Tag: "bytes,33,rep,name=rpt_ext_nested",
1477 Filename: "encoding/testprotos/pb2/test.proto",
1478}
1479
1480var E_MessageSetExtension = &proto.ExtensionDesc{
1481 ExtendedType: (*MessageSet)(nil),
1482 ExtensionType: (*FakeMessageSetExtension)(nil),
1483 Field: 50,
1484 Name: "pb2.",
1485 Tag: "bytes,50,opt,name=message_set_extension",
1486 Filename: "encoding/testprotos/pb2/test.proto",
1487}
1488
1489var E_ExtensionsContainer_OptExtBool = &proto.ExtensionDesc{
1490 ExtendedType: (*Extensions)(nil),
1491 ExtensionType: (*bool)(nil),
1492 Field: 51,
1493 Name: "pb2.ExtensionsContainer.opt_ext_bool",
1494 Tag: "varint,51,opt,name=opt_ext_bool",
1495 Filename: "encoding/testprotos/pb2/test.proto",
1496}
1497
1498var E_ExtensionsContainer_OptExtString = &proto.ExtensionDesc{
1499 ExtendedType: (*Extensions)(nil),
1500 ExtensionType: (*string)(nil),
1501 Field: 52,
1502 Name: "pb2.ExtensionsContainer.opt_ext_string",
1503 Tag: "bytes,52,opt,name=opt_ext_string",
1504 Filename: "encoding/testprotos/pb2/test.proto",
1505}
1506
1507var E_ExtensionsContainer_OptExtEnum = &proto.ExtensionDesc{
1508 ExtendedType: (*Extensions)(nil),
1509 ExtensionType: (*Enum)(nil),
1510 Field: 53,
1511 Name: "pb2.ExtensionsContainer.opt_ext_enum",
1512 Tag: "varint,53,opt,name=opt_ext_enum,enum=pb2.Enum",
1513 Filename: "encoding/testprotos/pb2/test.proto",
1514}
1515
1516var E_ExtensionsContainer_OptExtNested = &proto.ExtensionDesc{
1517 ExtendedType: (*Extensions)(nil),
1518 ExtensionType: (*Nested)(nil),
1519 Field: 54,
1520 Name: "pb2.ExtensionsContainer.opt_ext_nested",
1521 Tag: "bytes,54,opt,name=opt_ext_nested",
1522 Filename: "encoding/testprotos/pb2/test.proto",
1523}
1524
1525var E_ExtensionsContainer_RptExtString = &proto.ExtensionDesc{
1526 ExtendedType: (*Extensions)(nil),
1527 ExtensionType: ([]string)(nil),
1528 Field: 61,
1529 Name: "pb2.ExtensionsContainer.rpt_ext_string",
1530 Tag: "bytes,61,rep,name=rpt_ext_string",
1531 Filename: "encoding/testprotos/pb2/test.proto",
1532}
1533
1534var E_ExtensionsContainer_RptExtEnum = &proto.ExtensionDesc{
1535 ExtendedType: (*Extensions)(nil),
1536 ExtensionType: ([]Enum)(nil),
1537 Field: 62,
1538 Name: "pb2.ExtensionsContainer.rpt_ext_enum",
1539 Tag: "varint,62,rep,name=rpt_ext_enum,enum=pb2.Enum",
1540 Filename: "encoding/testprotos/pb2/test.proto",
1541}
1542
1543var E_ExtensionsContainer_RptExtNested = &proto.ExtensionDesc{
1544 ExtendedType: (*Extensions)(nil),
1545 ExtensionType: ([]*Nested)(nil),
1546 Field: 63,
1547 Name: "pb2.ExtensionsContainer.rpt_ext_nested",
1548 Tag: "bytes,63,rep,name=rpt_ext_nested",
1549 Filename: "encoding/testprotos/pb2/test.proto",
1550}
1551
1552var E_MessageSetExtension_MessageSetExtension = &proto.ExtensionDesc{
1553 ExtendedType: (*MessageSet)(nil),
1554 ExtensionType: (*MessageSetExtension)(nil),
1555 Field: 10,
1556 Name: "pb2.MessageSetExtension",
1557 Tag: "bytes,10,opt,name=message_set_extension",
1558 Filename: "encoding/testprotos/pb2/test.proto",
1559}
1560
1561var E_MessageSetExtension_NotMessageSetExtension = &proto.ExtensionDesc{
1562 ExtendedType: (*MessageSet)(nil),
1563 ExtensionType: (*MessageSetExtension)(nil),
1564 Field: 20,
1565 Name: "pb2.MessageSetExtension.not_message_set_extension",
1566 Tag: "bytes,20,opt,name=not_message_set_extension",
1567 Filename: "encoding/testprotos/pb2/test.proto",
1568}
1569
1570var E_MessageSetExtension_ExtNested = &proto.ExtensionDesc{
1571 ExtendedType: (*MessageSet)(nil),
1572 ExtensionType: (*Nested)(nil),
1573 Field: 30,
1574 Name: "pb2.MessageSetExtension.ext_nested",
1575 Tag: "bytes,30,opt,name=ext_nested",
1576 Filename: "encoding/testprotos/pb2/test.proto",
1577}
1578
1579var E_FakeMessageSetExtension_MessageSetExtension = &proto.ExtensionDesc{
1580 ExtendedType: (*FakeMessageSet)(nil),
1581 ExtensionType: (*FakeMessageSetExtension)(nil),
1582 Field: 10,
1583 Name: "pb2.FakeMessageSetExtension.message_set_extension",
1584 Tag: "bytes,10,opt,name=message_set_extension",
1585 Filename: "encoding/testprotos/pb2/test.proto",
1586}
1587
1588func init() {
Joe Tsai40692112019-02-27 20:25:51 -08001589 proto.RegisterFile("encoding/testprotos/pb2/test.proto", xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped)
Herbie Ong8170d692019-02-13 14:13:21 -08001590 proto.RegisterEnum("pb2.Enum", Enum_name, Enum_value)
1591 proto.RegisterEnum("pb2.Enums_NestedEnum", Enums_NestedEnum_name, Enums_NestedEnum_value)
1592 proto.RegisterType((*Scalars)(nil), "pb2.Scalars")
1593 proto.RegisterType((*Enums)(nil), "pb2.Enums")
1594 proto.RegisterType((*Repeats)(nil), "pb2.Repeats")
1595 proto.RegisterType((*Nested)(nil), "pb2.Nested")
1596 proto.RegisterType((*Nests)(nil), "pb2.Nests")
1597 proto.RegisterType((*Requireds)(nil), "pb2.Requireds")
1598 proto.RegisterType((*PartialRequired)(nil), "pb2.PartialRequired")
1599 proto.RegisterType((*NestedWithRequired)(nil), "pb2.NestedWithRequired")
1600 proto.RegisterType((*IndirectRequired)(nil), "pb2.IndirectRequired")
1601 proto.RegisterMapType((map[string]*NestedWithRequired)(nil), "pb2.IndirectRequired.StrToNestedEntry")
1602 proto.RegisterType((*Extensions)(nil), "pb2.Extensions")
1603 proto.RegisterType((*ExtensionsContainer)(nil), "pb2.ExtensionsContainer")
1604 proto.RegisterType((*MessageSet)(nil), "pb2.MessageSet")
1605 proto.RegisterType((*MessageSetExtension)(nil), "pb2.MessageSetExtension")
1606 proto.RegisterType((*FakeMessageSet)(nil), "pb2.FakeMessageSet")
1607 proto.RegisterType((*FakeMessageSetExtension)(nil), "pb2.FakeMessageSetExtension")
1608 proto.RegisterType((*KnownTypes)(nil), "pb2.KnownTypes")
1609 proto.RegisterType((*Nests_OptGroup)(nil), "pb2.Nests.OptGroup")
1610 proto.RegisterType((*Nests_RptGroup)(nil), "pb2.Nests.RptGroup")
1611 proto.RegisterType((*Nests_OptGroup_OptNestedGroup)(nil), "pb2.Nests.OptGroup.OptNestedGroup")
1612 proto.RegisterExtension(E_OptExtBool)
1613 proto.RegisterExtension(E_OptExtString)
1614 proto.RegisterExtension(E_OptExtEnum)
1615 proto.RegisterExtension(E_OptExtNested)
1616 proto.RegisterExtension(E_RptExtFixed32)
1617 proto.RegisterExtension(E_RptExtEnum)
1618 proto.RegisterExtension(E_RptExtNested)
1619 proto.RegisterExtension(E_MessageSetExtension)
1620 proto.RegisterExtension(E_ExtensionsContainer_OptExtBool)
1621 proto.RegisterExtension(E_ExtensionsContainer_OptExtString)
1622 proto.RegisterExtension(E_ExtensionsContainer_OptExtEnum)
1623 proto.RegisterExtension(E_ExtensionsContainer_OptExtNested)
1624 proto.RegisterExtension(E_ExtensionsContainer_RptExtString)
1625 proto.RegisterExtension(E_ExtensionsContainer_RptExtEnum)
1626 proto.RegisterExtension(E_ExtensionsContainer_RptExtNested)
1627 proto.RegisterExtension(E_MessageSetExtension_MessageSetExtension)
1628 proto.RegisterExtension(E_MessageSetExtension_NotMessageSetExtension)
1629 proto.RegisterExtension(E_MessageSetExtension_ExtNested)
1630 proto.RegisterExtension(E_FakeMessageSetExtension_MessageSetExtension)
1631}
1632
Joe Tsai40692112019-02-27 20:25:51 -08001633var xxx_File_encoding_testprotos_pb2_test_proto_rawdesc = []byte{
Herbie Ong8170d692019-02-13 14:13:21 -08001634 // 5146 bytes of the wire-encoded FileDescriptorProto
1635 0x0a, 0x22, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
1636 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x32, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70,
1637 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x70, 0x62, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1638 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70,
1639 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
1640 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1641 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1642 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1643 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1644 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1645 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1646 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1647 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1648 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1649 0x22, 0xda, 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08,
1650 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
1651 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69,
1652 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49,
1653 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36,
1654 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36,
1655 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18,
1656 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32,
1657 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05,
1658 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12,
1659 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20,
1660 0x01, 0x28, 0x11, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d,
1661 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01,
1662 0x28, 0x12, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1f, 0x0a,
1663 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01,
1664 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1f,
1665 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20,
1666 0x01, 0x28, 0x06, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12,
1667 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18,
1668 0x0a, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64,
1669 0x33, 0x32, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64,
1670 0x36, 0x34, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69,
1671 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f,
1672 0x61, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f,
1673 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65,
1674 0x18, 0x15, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c,
1675 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e,
1676 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d,
1677 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01,
1678 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xfb, 0x01,
1679 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x24, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x65,
1680 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1681 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x24, 0x0a,
1682 0x08, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32,
1683 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x70, 0x74, 0x45,
1684 0x6e, 0x75, 0x6d, 0x12, 0x3d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65,
1685 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70,
1686 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45,
1687 0x6e, 0x75, 0x6d, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e,
1688 0x75, 0x6d, 0x12, 0x3d, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1689 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62,
1690 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e,
1691 0x75, 0x6d, 0x52, 0x0d, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75,
1692 0x6d, 0x22, 0x28, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12,
1693 0x07, 0x0a, 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10,
1694 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x94, 0x02, 0x0a, 0x07,
1695 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x5f, 0x62,
1696 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x07, 0x72, 0x70, 0x74, 0x42, 0x6f,
1697 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18,
1698 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12,
1699 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x03,
1700 0x28, 0x03, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a,
1701 0x72, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d,
1702 0x52, 0x09, 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x72,
1703 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x52,
1704 0x09, 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70,
1705 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x02, 0x52, 0x08, 0x72,
1706 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x64,
1707 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x72, 0x70, 0x74,
1708 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74,
1709 0x72, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x70, 0x74, 0x53,
1710 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74,
1711 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x70, 0x74, 0x42, 0x79, 0x74,
1712 0x65, 0x73, 0x22, 0x53, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a,
1713 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1714 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f,
1715 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
1716 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70,
1717 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0xd3, 0x03, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74,
1718 0x73, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18,
1719 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74,
1720 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a,
1721 0x08, 0x6f, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0a, 0x32,
1722 0x13, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47,
1723 0x72, 0x6f, 0x75, 0x70, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a,
1724 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03,
1725 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
1726 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x72, 0x70,
1727 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70,
1728 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75,
1729 0x70, 0x52, 0x08, 0x72, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0xd4, 0x01, 0x0a, 0x08,
1730 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f,
1731 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70,
1732 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e,
1733 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62,
1734 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73,
1735 0x74, 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1736 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x22, 0x2e, 0x70, 0x62,
1737 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70,
1738 0x2e, 0x4f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
1739 0x0e, 0x6f, 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a,
1740 0x31, 0x0a, 0x0e, 0x4f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75,
1741 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1742 0x18, 0x01, 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64,
1743 0x33, 0x32, 0x1a, 0x29, 0x0a, 0x08, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d,
1744 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03,
1745 0x28, 0x09, 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x72,
1746 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0xd9, 0x01,
1747 0x0a, 0x09, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72,
1748 0x65, 0x71, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x72,
1749 0x65, 0x71, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x66,
1750 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x02, 0x20, 0x02, 0x28, 0x10, 0x52, 0x0b, 0x72, 0x65,
1751 0x71, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71,
1752 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x01, 0x52, 0x09, 0x72,
1753 0x65, 0x71, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f,
1754 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65,
1755 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x5f, 0x65,
1756 0x6e, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1757 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x65, 0x71, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x2a, 0x0a,
1758 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x02, 0x28,
1759 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09,
1760 0x72, 0x65, 0x71, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4f, 0x0a, 0x0f, 0x50, 0x61, 0x72,
1761 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a,
1762 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09,
1763 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x6f,
1764 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
1765 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x33, 0x0a, 0x12, 0x4e, 0x65,
1766 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
1767 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01,
1768 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22,
1769 0xee, 0x02, 0x0a, 0x10, 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75,
1770 0x69, 0x72, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74,
1771 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e,
1772 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
1773 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a,
1774 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
1775 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74,
1776 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65,
1777 0x73, 0x74, 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e,
1778 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x62,
1779 0x32, 0x2e, 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
1780 0x65, 0x64, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e,
1781 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1782 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1783 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73,
1784 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x48,
1785 0x00, 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x1a, 0x57,
1786 0x0a, 0x10, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74,
1787 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
1788 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
1789 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1790 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61,
1791 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e,
1792 0x22, 0x69, 0x0a, 0x0a, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d,
1793 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01,
1794 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x19, 0x0a,
1795 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x65, 0x20, 0x01, 0x28, 0x08, 0x52,
1796 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1797 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74,
1798 0x49, 0x6e, 0x74, 0x33, 0x32, 0x2a, 0x04, 0x08, 0x14, 0x10, 0x65, 0x22, 0xba, 0x03, 0x0a, 0x13,
1799 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69,
1800 0x6e, 0x65, 0x72, 0x32, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62,
1801 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1802 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x33, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45,
1803 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x32, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78,
1804 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45,
1805 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x34, 0x20, 0x01, 0x28, 0x09, 0x52,
1806 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a,
1807 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e,
1808 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x35,
1809 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52,
1810 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x6f,
1811 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e,
1812 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x36,
1813 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
1814 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x32,
1815 0x35, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1816 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1817 0x6e, 0x73, 0x18, 0x3d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74,
1818 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78,
1819 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1820 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1821 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74,
1822 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1823 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1824 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1825 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45,
1826 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73,
1827 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07,
1828 0x3a, 0x02, 0x08, 0x01, 0x22, 0xb6, 0x02, 0x0a, 0x13, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
1829 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a,
1830 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1831 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x5d, 0x0a, 0x15, 0x6d,
1832 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
1833 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
1834 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62,
1835 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
1836 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65,
1837 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x64, 0x0a, 0x19, 0x6e, 0x6f,
1838 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78,
1839 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65,
1840 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18,
1841 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45,
1842 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x6e, 0x6f, 0x74, 0x4d, 0x65, 0x73,
1843 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1844 0x32, 0x3b, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f,
1845 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18,
1846 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74,
1847 0x65, 0x64, 0x52, 0x09, 0x65, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a,
1848 0x0e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a,
1849 0x08, 0x08, 0x04, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9f, 0x01, 0x0a, 0x17, 0x46, 0x61,
1850 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
1851 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72,
1852 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74,
1853 0x72, 0x69, 0x6e, 0x67, 0x32, 0x65, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f,
1854 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x2e,
1855 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
1856 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46,
1857 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74,
1858 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
1859 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xa6, 0x07, 0x0a, 0x0a,
1860 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70,
1861 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
1862 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42,
1863 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f,
1864 0x6c, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02,
1865 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
1866 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75,
1867 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x38, 0x0a, 0x09, 0x6f,
1868 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b,
1869 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1870 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74,
1871 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e,
1872 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1873 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74,
1874 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74,
1875 0x33, 0x32, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34,
1876 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1877 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56,
1878 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12,
1879 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01,
1880 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1881 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
1882 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1883 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
1884 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
1885 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74,
1886 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74,
1887 0x72, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
1888 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72,
1889 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72,
1890 0x69, 0x6e, 0x67, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73,
1891 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1892 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61,
1893 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3c, 0x0a,
1894 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20,
1895 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1896 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b,
1897 0x6f, 0x70, 0x74, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0d, 0x6f,
1898 0x70, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x15, 0x20, 0x01,
1899 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1900 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c,
1901 0x6f, 0x70, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x36, 0x0a, 0x0a,
1902 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b,
1903 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1904 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74,
1905 0x72, 0x75, 0x63, 0x74, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74,
1906 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1907 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c,
1908 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x6f,
1909 0x70, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
1910 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1911 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65,
1912 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18, 0x1e, 0x20,
1913 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1914 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x08, 0x6f, 0x70, 0x74,
1915 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x5f, 0x61, 0x6e, 0x79,
1916 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1917 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x06, 0x6f, 0x70,
1918 0x74, 0x41, 0x6e, 0x79, 0x2a, 0x21, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a, 0x03,
1919 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57, 0x4f, 0x10, 0x02, 0x12, 0x07,
1920 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10, 0x0a, 0x3a, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65,
1921 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78,
1922 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a,
1923 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x3a, 0x35, 0x0a, 0x0e, 0x6f, 0x70,
1924 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70,
1925 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x16, 0x20,
1926 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e,
1927 0x67, 0x3a, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75,
1928 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1929 0x6e, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45,
1930 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a,
1931 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65,
1932 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1933 0x6e, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e,
1934 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73,
1935 0x74, 0x65, 0x64, 0x3a, 0x37, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x66,
1936 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1937 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28, 0x07, 0x52, 0x0d, 0x72,
1938 0x70, 0x74, 0x45, 0x78, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x3a, 0x3c, 0x0a, 0x0c,
1939 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70,
1940 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x20, 0x20,
1941 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a,
1942 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x72, 0x70,
1943 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70,
1944 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x21, 0x20,
1945 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1946 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a, 0x61,
1947 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78,
1948 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65,
1949 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x32, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c,
1950 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
1951 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65,
1952 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1953 0x6e, 0x42, 0x37, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
1954 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
1955 0x76, 0x32, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73, 0x74,
1956 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x32,
1957}
1958
Joe Tsai40692112019-02-27 20:25:51 -08001959var xxx_File_encoding_testprotos_pb2_test_proto_rawdesc_gzipped = protoapi.CompressGZIP(xxx_File_encoding_testprotos_pb2_test_proto_rawdesc)
Herbie Ong8170d692019-02-13 14:13:21 -08001960
1961const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
1962
Joe Tsai40692112019-02-27 20:25:51 -08001963var File_encoding_testprotos_pb2_test_proto protoreflect.FileDescriptor
Herbie Ong8170d692019-02-13 14:13:21 -08001964
Joe Tsai40692112019-02-27 20:25:51 -08001965var xxx_File_encoding_testprotos_pb2_test_proto_enumTypes [2]protoreflect.EnumType
1966var xxx_File_encoding_testprotos_pb2_test_proto_messageTypes [20]protoimpl.MessageType
1967var xxx_File_encoding_testprotos_pb2_test_proto_goTypes = []interface{}{
Herbie Ong8170d692019-02-13 14:13:21 -08001968 (Enum)(0), // 0: pb2.Enum
1969 (Enums_NestedEnum)(0), // 1: pb2.Enums.NestedEnum
1970 (*Scalars)(nil), // 2: pb2.Scalars
1971 (*Enums)(nil), // 3: pb2.Enums
1972 (*Repeats)(nil), // 4: pb2.Repeats
1973 (*Nested)(nil), // 5: pb2.Nested
1974 (*Nests)(nil), // 6: pb2.Nests
1975 (*Requireds)(nil), // 7: pb2.Requireds
1976 (*PartialRequired)(nil), // 8: pb2.PartialRequired
1977 (*NestedWithRequired)(nil), // 9: pb2.NestedWithRequired
1978 (*IndirectRequired)(nil), // 10: pb2.IndirectRequired
1979 (*Extensions)(nil), // 11: pb2.Extensions
1980 (*ExtensionsContainer)(nil), // 12: pb2.ExtensionsContainer
1981 (*MessageSet)(nil), // 13: pb2.MessageSet
1982 (*MessageSetExtension)(nil), // 14: pb2.MessageSetExtension
1983 (*FakeMessageSet)(nil), // 15: pb2.FakeMessageSet
1984 (*FakeMessageSetExtension)(nil), // 16: pb2.FakeMessageSetExtension
1985 (*KnownTypes)(nil), // 17: pb2.KnownTypes
1986 (*Nests_OptGroup)(nil), // 18: pb2.Nests.OptGroup
1987 (*Nests_RptGroup)(nil), // 19: pb2.Nests.RptGroup
1988 (*Nests_OptGroup_OptNestedGroup)(nil), // 20: pb2.Nests.OptGroup.OptNestedGroup
1989 nil, // 21: pb2.IndirectRequired.StrToNestedEntry
1990 (*wrappers.BoolValue)(nil), // 22: google.protobuf.BoolValue
1991 (*wrappers.Int32Value)(nil), // 23: google.protobuf.Int32Value
1992 (*wrappers.Int64Value)(nil), // 24: google.protobuf.Int64Value
1993 (*wrappers.UInt32Value)(nil), // 25: google.protobuf.UInt32Value
1994 (*wrappers.UInt64Value)(nil), // 26: google.protobuf.UInt64Value
1995 (*wrappers.FloatValue)(nil), // 27: google.protobuf.FloatValue
1996 (*wrappers.DoubleValue)(nil), // 28: google.protobuf.DoubleValue
1997 (*wrappers.StringValue)(nil), // 29: google.protobuf.StringValue
1998 (*wrappers.BytesValue)(nil), // 30: google.protobuf.BytesValue
1999 (*duration.Duration)(nil), // 31: google.protobuf.Duration
2000 (*timestamp.Timestamp)(nil), // 32: google.protobuf.Timestamp
2001 (*_struct.Struct)(nil), // 33: google.protobuf.Struct
2002 (*_struct.ListValue)(nil), // 34: google.protobuf.ListValue
2003 (*_struct.Value)(nil), // 35: google.protobuf.Value
2004 (*empty.Empty)(nil), // 36: google.protobuf.Empty
2005 (*any.Any)(nil), // 37: google.protobuf.Any
2006}
Joe Tsai40692112019-02-27 20:25:51 -08002007var xxx_File_encoding_testprotos_pb2_test_proto_depIdxs = []int32{
Herbie Ong8170d692019-02-13 14:13:21 -08002008 11, // pb2.opt_ext_bool:extendee -> pb2.Extensions
2009 11, // pb2.opt_ext_string:extendee -> pb2.Extensions
2010 11, // pb2.opt_ext_enum:extendee -> pb2.Extensions
2011 11, // pb2.opt_ext_nested:extendee -> pb2.Extensions
2012 11, // pb2.rpt_ext_fixed32:extendee -> pb2.Extensions
2013 11, // pb2.rpt_ext_enum:extendee -> pb2.Extensions
2014 11, // pb2.rpt_ext_nested:extendee -> pb2.Extensions
2015 13, // pb2.message_set_extension:extendee -> pb2.MessageSet
2016 11, // pb2.ExtensionsContainer.opt_ext_bool:extendee -> pb2.Extensions
2017 11, // pb2.ExtensionsContainer.opt_ext_string:extendee -> pb2.Extensions
2018 11, // pb2.ExtensionsContainer.opt_ext_enum:extendee -> pb2.Extensions
2019 11, // pb2.ExtensionsContainer.opt_ext_nested:extendee -> pb2.Extensions
2020 11, // pb2.ExtensionsContainer.rpt_ext_string:extendee -> pb2.Extensions
2021 11, // pb2.ExtensionsContainer.rpt_ext_enum:extendee -> pb2.Extensions
2022 11, // pb2.ExtensionsContainer.rpt_ext_nested:extendee -> pb2.Extensions
2023 13, // pb2.MessageSetExtension.message_set_extension:extendee -> pb2.MessageSet
2024 13, // pb2.MessageSetExtension.not_message_set_extension:extendee -> pb2.MessageSet
2025 13, // pb2.MessageSetExtension.ext_nested:extendee -> pb2.MessageSet
2026 15, // pb2.FakeMessageSetExtension.message_set_extension:extendee -> pb2.FakeMessageSet
2027 0, // pb2.Enums.opt_enum:type_name -> pb2.Enum
2028 0, // pb2.Enums.rpt_enum:type_name -> pb2.Enum
2029 1, // pb2.Enums.opt_nested_enum:type_name -> pb2.Enums.NestedEnum
2030 1, // pb2.Enums.rpt_nested_enum:type_name -> pb2.Enums.NestedEnum
2031 5, // pb2.Nested.opt_nested:type_name -> pb2.Nested
2032 5, // pb2.Nests.opt_nested:type_name -> pb2.Nested
2033 18, // pb2.Nests.optgroup:type_name -> pb2.Nests.OptGroup
2034 5, // pb2.Nests.rpt_nested:type_name -> pb2.Nested
2035 19, // pb2.Nests.rptgroup:type_name -> pb2.Nests.RptGroup
2036 0, // pb2.Requireds.req_enum:type_name -> pb2.Enum
2037 5, // pb2.Requireds.req_nested:type_name -> pb2.Nested
2038 9, // pb2.IndirectRequired.opt_nested:type_name -> pb2.NestedWithRequired
2039 9, // pb2.IndirectRequired.rpt_nested:type_name -> pb2.NestedWithRequired
2040 21, // pb2.IndirectRequired.str_to_nested:type_name -> pb2.IndirectRequired.StrToNestedEntry
2041 9, // pb2.IndirectRequired.oneof_nested:type_name -> pb2.NestedWithRequired
2042 22, // pb2.KnownTypes.opt_bool:type_name -> google.protobuf.BoolValue
2043 23, // pb2.KnownTypes.opt_int32:type_name -> google.protobuf.Int32Value
2044 24, // pb2.KnownTypes.opt_int64:type_name -> google.protobuf.Int64Value
2045 25, // pb2.KnownTypes.opt_uint32:type_name -> google.protobuf.UInt32Value
2046 26, // pb2.KnownTypes.opt_uint64:type_name -> google.protobuf.UInt64Value
2047 27, // pb2.KnownTypes.opt_float:type_name -> google.protobuf.FloatValue
2048 28, // pb2.KnownTypes.opt_double:type_name -> google.protobuf.DoubleValue
2049 29, // pb2.KnownTypes.opt_string:type_name -> google.protobuf.StringValue
2050 30, // pb2.KnownTypes.opt_bytes:type_name -> google.protobuf.BytesValue
2051 31, // pb2.KnownTypes.opt_duration:type_name -> google.protobuf.Duration
2052 32, // pb2.KnownTypes.opt_timestamp:type_name -> google.protobuf.Timestamp
2053 33, // pb2.KnownTypes.opt_struct:type_name -> google.protobuf.Struct
2054 34, // pb2.KnownTypes.opt_list:type_name -> google.protobuf.ListValue
2055 35, // pb2.KnownTypes.opt_value:type_name -> google.protobuf.Value
2056 36, // pb2.KnownTypes.opt_empty:type_name -> google.protobuf.Empty
2057 37, // pb2.KnownTypes.opt_any:type_name -> google.protobuf.Any
2058 5, // pb2.Nests.OptGroup.opt_nested:type_name -> pb2.Nested
2059 20, // pb2.Nests.OptGroup.optnestedgroup:type_name -> pb2.Nests.OptGroup.OptNestedGroup
2060 9, // pb2.IndirectRequired.StrToNestedEntry.value:type_name -> pb2.NestedWithRequired
2061 0, // pb2.opt_ext_enum:type_name -> pb2.Enum
2062 5, // pb2.opt_ext_nested:type_name -> pb2.Nested
2063 0, // pb2.rpt_ext_enum:type_name -> pb2.Enum
2064 5, // pb2.rpt_ext_nested:type_name -> pb2.Nested
2065 16, // pb2.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2066 0, // pb2.ExtensionsContainer.opt_ext_enum:type_name -> pb2.Enum
2067 5, // pb2.ExtensionsContainer.opt_ext_nested:type_name -> pb2.Nested
2068 0, // pb2.ExtensionsContainer.rpt_ext_enum:type_name -> pb2.Enum
2069 5, // pb2.ExtensionsContainer.rpt_ext_nested:type_name -> pb2.Nested
2070 14, // pb2.MessageSetExtension.message_set_extension:type_name -> pb2.MessageSetExtension
2071 14, // pb2.MessageSetExtension.not_message_set_extension:type_name -> pb2.MessageSetExtension
2072 5, // pb2.MessageSetExtension.ext_nested:type_name -> pb2.Nested
2073 16, // pb2.FakeMessageSetExtension.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2074}
2075
2076func init() {
2077 var messageTypes [20]protoreflect.MessageType
2078 var extensionTypes [19]protoreflect.ExtensionType
Joe Tsai40692112019-02-27 20:25:51 -08002079 File_encoding_testprotos_pb2_test_proto = protoimpl.FileBuilder{
2080 RawDescriptor: xxx_File_encoding_testprotos_pb2_test_proto_rawdesc,
2081 GoTypes: xxx_File_encoding_testprotos_pb2_test_proto_goTypes,
2082 DependencyIndexes: xxx_File_encoding_testprotos_pb2_test_proto_depIdxs,
2083 EnumOutputTypes: xxx_File_encoding_testprotos_pb2_test_proto_enumTypes[:],
Herbie Ong8170d692019-02-13 14:13:21 -08002084 MessageOutputTypes: messageTypes[:],
2085 ExtensionOutputTypes: extensionTypes[:],
2086 }.Init()
Joe Tsai40692112019-02-27 20:25:51 -08002087 messageGoTypes := xxx_File_encoding_testprotos_pb2_test_proto_goTypes[2:][:20]
Herbie Ong8170d692019-02-13 14:13:21 -08002088 for i, mt := range messageTypes[:] {
Joe Tsai40692112019-02-27 20:25:51 -08002089 xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[i].GoType = reflect.TypeOf(messageGoTypes[i])
2090 xxx_File_encoding_testprotos_pb2_test_proto_messageTypes[i].PBType = mt
Herbie Ong8170d692019-02-13 14:13:21 -08002091 }
2092 E_OptExtBool.Type = extensionTypes[0]
2093 E_OptExtString.Type = extensionTypes[1]
2094 E_OptExtEnum.Type = extensionTypes[2]
2095 E_OptExtNested.Type = extensionTypes[3]
2096 E_RptExtFixed32.Type = extensionTypes[4]
2097 E_RptExtEnum.Type = extensionTypes[5]
2098 E_RptExtNested.Type = extensionTypes[6]
2099 E_MessageSetExtension.Type = extensionTypes[7]
2100 E_ExtensionsContainer_OptExtBool.Type = extensionTypes[8]
2101 E_ExtensionsContainer_OptExtString.Type = extensionTypes[9]
2102 E_ExtensionsContainer_OptExtEnum.Type = extensionTypes[10]
2103 E_ExtensionsContainer_OptExtNested.Type = extensionTypes[11]
2104 E_ExtensionsContainer_RptExtString.Type = extensionTypes[12]
2105 E_ExtensionsContainer_RptExtEnum.Type = extensionTypes[13]
2106 E_ExtensionsContainer_RptExtNested.Type = extensionTypes[14]
2107 E_MessageSetExtension_MessageSetExtension.Type = extensionTypes[15]
2108 E_MessageSetExtension_NotMessageSetExtension.Type = extensionTypes[16]
2109 E_MessageSetExtension_ExtNested.Type = extensionTypes[17]
2110 E_FakeMessageSetExtension_MessageSetExtension.Type = extensionTypes[18]
Joe Tsai40692112019-02-27 20:25:51 -08002111 xxx_File_encoding_testprotos_pb2_test_proto_goTypes = nil
2112 xxx_File_encoding_testprotos_pb2_test_proto_depIdxs = nil
Herbie Ong8170d692019-02-13 14:13:21 -08002113}