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