blob: b3e9cfde8d25fb5198d1250125fcdce7ce2145ae [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"
Herbie Ong8170d692019-02-13 14:13:21 -08008 protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
9 protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
Joe Tsai19058432019-02-27 21:46:29 -080010 known "github.com/golang/protobuf/v2/types/known"
Herbie Ong8170d692019-02-13 14:13:21 -080011 reflect "reflect"
12)
13
Herbie Ong8170d692019-02-13 14:13:21 -080014type Enum int32
15
16const (
17 Enum_ONE Enum = 1
18 Enum_TWO Enum = 2
19 Enum_TEN Enum = 10
20)
21
22func (e Enum) Type() protoreflect.EnumType {
Joe Tsai19058432019-02-27 21:46:29 -080023 return xxx_File_pb2_test_proto_enumTypes[0]
Herbie Ong8170d692019-02-13 14:13:21 -080024}
25func (e Enum) Number() protoreflect.EnumNumber {
26 return protoreflect.EnumNumber(e)
27}
28
Joe Tsai8e506a82019-03-16 00:05:34 -070029// Deprecated: Use Enum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080030var Enum_name = map[int32]string{
31 1: "ONE",
32 2: "TWO",
33 10: "TEN",
34}
35
Joe Tsai8e506a82019-03-16 00:05:34 -070036// Deprecated: Use Enum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080037var Enum_value = map[string]int32{
38 "ONE": 1,
39 "TWO": 2,
40 "TEN": 10,
41}
42
43func (x Enum) Enum() *Enum {
Joe Tsai8e506a82019-03-16 00:05:34 -070044 return &x
Herbie Ong8170d692019-02-13 14:13:21 -080045}
46
47func (x Enum) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -070048 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -080049}
50
Joe Tsai8e506a82019-03-16 00:05:34 -070051// Deprecated: Do not use.
52func (x *Enum) UnmarshalJSON(b []byte) error {
53 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Herbie Ong8170d692019-02-13 14:13:21 -080054 if err != nil {
55 return err
56 }
Joe Tsai8e506a82019-03-16 00:05:34 -070057 *x = Enum(num)
Herbie Ong8170d692019-02-13 14:13:21 -080058 return nil
59}
60
Joe Tsai8e506a82019-03-16 00:05:34 -070061// Deprecated: Use Enum.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -080062func (Enum) EnumDescriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -080063 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -080064}
65
66type Enums_NestedEnum int32
67
68const (
69 Enums_UNO Enums_NestedEnum = 1
70 Enums_DOS Enums_NestedEnum = 2
71 Enums_DIEZ Enums_NestedEnum = 10
72)
73
74func (e Enums_NestedEnum) Type() protoreflect.EnumType {
Joe Tsai19058432019-02-27 21:46:29 -080075 return xxx_File_pb2_test_proto_enumTypes[1]
Herbie Ong8170d692019-02-13 14:13:21 -080076}
77func (e Enums_NestedEnum) Number() protoreflect.EnumNumber {
78 return protoreflect.EnumNumber(e)
79}
80
Joe Tsai8e506a82019-03-16 00:05:34 -070081// Deprecated: Use Enums_NestedEnum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080082var Enums_NestedEnum_name = map[int32]string{
83 1: "UNO",
84 2: "DOS",
85 10: "DIEZ",
86}
87
Joe Tsai8e506a82019-03-16 00:05:34 -070088// Deprecated: Use Enums_NestedEnum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080089var Enums_NestedEnum_value = map[string]int32{
90 "UNO": 1,
91 "DOS": 2,
92 "DIEZ": 10,
93}
94
95func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
Joe Tsai8e506a82019-03-16 00:05:34 -070096 return &x
Herbie Ong8170d692019-02-13 14:13:21 -080097}
98
99func (x Enums_NestedEnum) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -0700100 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -0800101}
102
Joe Tsai8e506a82019-03-16 00:05:34 -0700103// Deprecated: Do not use.
104func (x *Enums_NestedEnum) UnmarshalJSON(b []byte) error {
105 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Herbie Ong8170d692019-02-13 14:13:21 -0800106 if err != nil {
107 return err
108 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700109 *x = Enums_NestedEnum(num)
Herbie Ong8170d692019-02-13 14:13:21 -0800110 return nil
111}
112
Joe Tsai8e506a82019-03-16 00:05:34 -0700113// Deprecated: Use Enums_NestedEnum.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800114func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800115 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{1, 0}
Herbie Ong8170d692019-02-13 14:13:21 -0800116}
117
118// Scalars contains optional scalar fields.
119type Scalars struct {
120 OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
121 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
122 OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
123 OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
124 OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
125 OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"`
126 OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"`
127 OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
128 OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"`
129 OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"`
130 OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"`
131 OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
132 OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
133 OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
134 OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
135 XXX_NoUnkeyedLiteral struct{} `json:"-"`
136 XXX_unrecognized []byte `json:"-"`
137 XXX_sizecache int32 `json:"-"`
138}
139
140func (m *Scalars) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800141 return xxx_File_pb2_test_proto_messageTypes[0].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800142}
143func (m *Scalars) Reset() { *m = Scalars{} }
144func (m *Scalars) String() string { return proto.CompactTextString(m) }
145func (*Scalars) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700146
147// Deprecated: Use Scalars.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800148func (*Scalars) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800149 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -0800150}
151
152func (m *Scalars) XXX_Unmarshal(b []byte) error {
153 return xxx_messageInfo_Scalars.Unmarshal(m, b)
154}
155func (m *Scalars) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
156 return xxx_messageInfo_Scalars.Marshal(b, m, deterministic)
157}
158func (m *Scalars) XXX_Merge(src proto.Message) {
159 xxx_messageInfo_Scalars.Merge(m, src)
160}
161func (m *Scalars) XXX_Size() int {
162 return xxx_messageInfo_Scalars.Size(m)
163}
164func (m *Scalars) XXX_DiscardUnknown() {
165 xxx_messageInfo_Scalars.DiscardUnknown(m)
166}
167
168var xxx_messageInfo_Scalars proto.InternalMessageInfo
169
170func (m *Scalars) GetOptBool() bool {
171 if m != nil && m.OptBool != nil {
172 return *m.OptBool
173 }
174 return false
175}
176
177func (m *Scalars) GetOptInt32() int32 {
178 if m != nil && m.OptInt32 != nil {
179 return *m.OptInt32
180 }
181 return 0
182}
183
184func (m *Scalars) GetOptInt64() int64 {
185 if m != nil && m.OptInt64 != nil {
186 return *m.OptInt64
187 }
188 return 0
189}
190
191func (m *Scalars) GetOptUint32() uint32 {
192 if m != nil && m.OptUint32 != nil {
193 return *m.OptUint32
194 }
195 return 0
196}
197
198func (m *Scalars) GetOptUint64() uint64 {
199 if m != nil && m.OptUint64 != nil {
200 return *m.OptUint64
201 }
202 return 0
203}
204
205func (m *Scalars) GetOptSint32() int32 {
206 if m != nil && m.OptSint32 != nil {
207 return *m.OptSint32
208 }
209 return 0
210}
211
212func (m *Scalars) GetOptSint64() int64 {
213 if m != nil && m.OptSint64 != nil {
214 return *m.OptSint64
215 }
216 return 0
217}
218
219func (m *Scalars) GetOptFixed32() uint32 {
220 if m != nil && m.OptFixed32 != nil {
221 return *m.OptFixed32
222 }
223 return 0
224}
225
226func (m *Scalars) GetOptFixed64() uint64 {
227 if m != nil && m.OptFixed64 != nil {
228 return *m.OptFixed64
229 }
230 return 0
231}
232
233func (m *Scalars) GetOptSfixed32() int32 {
234 if m != nil && m.OptSfixed32 != nil {
235 return *m.OptSfixed32
236 }
237 return 0
238}
239
240func (m *Scalars) GetOptSfixed64() int64 {
241 if m != nil && m.OptSfixed64 != nil {
242 return *m.OptSfixed64
243 }
244 return 0
245}
246
247func (m *Scalars) GetOptFloat() float32 {
248 if m != nil && m.OptFloat != nil {
249 return *m.OptFloat
250 }
251 return 0
252}
253
254func (m *Scalars) GetOptDouble() float64 {
255 if m != nil && m.OptDouble != nil {
256 return *m.OptDouble
257 }
258 return 0
259}
260
261func (m *Scalars) GetOptBytes() []byte {
262 if m != nil {
263 return m.OptBytes
264 }
265 return nil
266}
267
268func (m *Scalars) GetOptString() string {
269 if m != nil && m.OptString != nil {
270 return *m.OptString
271 }
272 return ""
273}
274
275// Message contains enum fields.
276type Enums struct {
277 OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
278 RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"`
279 OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
280 RptNestedEnum []Enums_NestedEnum `protobuf:"varint,4,rep,name=rpt_nested_enum,json=rptNestedEnum,enum=pb2.Enums_NestedEnum" json:"rpt_nested_enum,omitempty"`
281 XXX_NoUnkeyedLiteral struct{} `json:"-"`
282 XXX_unrecognized []byte `json:"-"`
283 XXX_sizecache int32 `json:"-"`
284}
285
286func (m *Enums) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800287 return xxx_File_pb2_test_proto_messageTypes[1].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800288}
289func (m *Enums) Reset() { *m = Enums{} }
290func (m *Enums) String() string { return proto.CompactTextString(m) }
291func (*Enums) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700292
293// Deprecated: Use Enums.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800294func (*Enums) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800295 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{1}
Herbie Ong8170d692019-02-13 14:13:21 -0800296}
297
298func (m *Enums) XXX_Unmarshal(b []byte) error {
299 return xxx_messageInfo_Enums.Unmarshal(m, b)
300}
301func (m *Enums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
302 return xxx_messageInfo_Enums.Marshal(b, m, deterministic)
303}
304func (m *Enums) XXX_Merge(src proto.Message) {
305 xxx_messageInfo_Enums.Merge(m, src)
306}
307func (m *Enums) XXX_Size() int {
308 return xxx_messageInfo_Enums.Size(m)
309}
310func (m *Enums) XXX_DiscardUnknown() {
311 xxx_messageInfo_Enums.DiscardUnknown(m)
312}
313
314var xxx_messageInfo_Enums proto.InternalMessageInfo
315
316func (m *Enums) GetOptEnum() Enum {
317 if m != nil && m.OptEnum != nil {
318 return *m.OptEnum
319 }
320 return Enum_ONE
321}
322
323func (m *Enums) GetRptEnum() []Enum {
324 if m != nil {
325 return m.RptEnum
326 }
327 return nil
328}
329
330func (m *Enums) GetOptNestedEnum() Enums_NestedEnum {
331 if m != nil && m.OptNestedEnum != nil {
332 return *m.OptNestedEnum
333 }
334 return Enums_UNO
335}
336
337func (m *Enums) GetRptNestedEnum() []Enums_NestedEnum {
338 if m != nil {
339 return m.RptNestedEnum
340 }
341 return nil
342}
343
344// Message contains repeated fields.
345type Repeats struct {
346 RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
347 RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"`
348 RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"`
349 RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"`
350 RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"`
351 RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"`
352 RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"`
353 RptString []string `protobuf:"bytes,8,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
354 RptBytes [][]byte `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
355 XXX_NoUnkeyedLiteral struct{} `json:"-"`
356 XXX_unrecognized []byte `json:"-"`
357 XXX_sizecache int32 `json:"-"`
358}
359
360func (m *Repeats) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800361 return xxx_File_pb2_test_proto_messageTypes[2].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800362}
363func (m *Repeats) Reset() { *m = Repeats{} }
364func (m *Repeats) String() string { return proto.CompactTextString(m) }
365func (*Repeats) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700366
367// Deprecated: Use Repeats.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800368func (*Repeats) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800369 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{2}
Herbie Ong8170d692019-02-13 14:13:21 -0800370}
371
372func (m *Repeats) XXX_Unmarshal(b []byte) error {
373 return xxx_messageInfo_Repeats.Unmarshal(m, b)
374}
375func (m *Repeats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
376 return xxx_messageInfo_Repeats.Marshal(b, m, deterministic)
377}
378func (m *Repeats) XXX_Merge(src proto.Message) {
379 xxx_messageInfo_Repeats.Merge(m, src)
380}
381func (m *Repeats) XXX_Size() int {
382 return xxx_messageInfo_Repeats.Size(m)
383}
384func (m *Repeats) XXX_DiscardUnknown() {
385 xxx_messageInfo_Repeats.DiscardUnknown(m)
386}
387
388var xxx_messageInfo_Repeats proto.InternalMessageInfo
389
390func (m *Repeats) GetRptBool() []bool {
391 if m != nil {
392 return m.RptBool
393 }
394 return nil
395}
396
397func (m *Repeats) GetRptInt32() []int32 {
398 if m != nil {
399 return m.RptInt32
400 }
401 return nil
402}
403
404func (m *Repeats) GetRptInt64() []int64 {
405 if m != nil {
406 return m.RptInt64
407 }
408 return nil
409}
410
411func (m *Repeats) GetRptUint32() []uint32 {
412 if m != nil {
413 return m.RptUint32
414 }
415 return nil
416}
417
418func (m *Repeats) GetRptUint64() []uint64 {
419 if m != nil {
420 return m.RptUint64
421 }
422 return nil
423}
424
425func (m *Repeats) GetRptFloat() []float32 {
426 if m != nil {
427 return m.RptFloat
428 }
429 return nil
430}
431
432func (m *Repeats) GetRptDouble() []float64 {
433 if m != nil {
434 return m.RptDouble
435 }
436 return nil
437}
438
439func (m *Repeats) GetRptString() []string {
440 if m != nil {
441 return m.RptString
442 }
443 return nil
444}
445
446func (m *Repeats) GetRptBytes() [][]byte {
447 if m != nil {
448 return m.RptBytes
449 }
450 return nil
451}
452
453// Message type used as submessage.
454type Nested struct {
455 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
456 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
457 XXX_NoUnkeyedLiteral struct{} `json:"-"`
458 XXX_unrecognized []byte `json:"-"`
459 XXX_sizecache int32 `json:"-"`
460}
461
462func (m *Nested) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800463 return xxx_File_pb2_test_proto_messageTypes[3].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800464}
465func (m *Nested) Reset() { *m = Nested{} }
466func (m *Nested) String() string { return proto.CompactTextString(m) }
467func (*Nested) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700468
469// Deprecated: Use Nested.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800470func (*Nested) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800471 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{3}
Herbie Ong8170d692019-02-13 14:13:21 -0800472}
473
474func (m *Nested) XXX_Unmarshal(b []byte) error {
475 return xxx_messageInfo_Nested.Unmarshal(m, b)
476}
477func (m *Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
478 return xxx_messageInfo_Nested.Marshal(b, m, deterministic)
479}
480func (m *Nested) XXX_Merge(src proto.Message) {
481 xxx_messageInfo_Nested.Merge(m, src)
482}
483func (m *Nested) XXX_Size() int {
484 return xxx_messageInfo_Nested.Size(m)
485}
486func (m *Nested) XXX_DiscardUnknown() {
487 xxx_messageInfo_Nested.DiscardUnknown(m)
488}
489
490var xxx_messageInfo_Nested proto.InternalMessageInfo
491
492func (m *Nested) GetOptString() string {
493 if m != nil && m.OptString != nil {
494 return *m.OptString
495 }
496 return ""
497}
498
499func (m *Nested) GetOptNested() *Nested {
500 if m != nil {
501 return m.OptNested
502 }
503 return nil
504}
505
506// Message contains message and group fields.
507type Nests struct {
508 OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
509 Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"`
510 RptNested []*Nested `protobuf:"bytes,4,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
511 Rptgroup []*Nests_RptGroup `protobuf:"group,5,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
512 XXX_NoUnkeyedLiteral struct{} `json:"-"`
513 XXX_unrecognized []byte `json:"-"`
514 XXX_sizecache int32 `json:"-"`
515}
516
517func (m *Nests) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800518 return xxx_File_pb2_test_proto_messageTypes[4].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800519}
520func (m *Nests) Reset() { *m = Nests{} }
521func (m *Nests) String() string { return proto.CompactTextString(m) }
522func (*Nests) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700523
524// Deprecated: Use Nests.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800525func (*Nests) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800526 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{4}
Herbie Ong8170d692019-02-13 14:13:21 -0800527}
528
529func (m *Nests) XXX_Unmarshal(b []byte) error {
530 return xxx_messageInfo_Nests.Unmarshal(m, b)
531}
532func (m *Nests) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
533 return xxx_messageInfo_Nests.Marshal(b, m, deterministic)
534}
535func (m *Nests) XXX_Merge(src proto.Message) {
536 xxx_messageInfo_Nests.Merge(m, src)
537}
538func (m *Nests) XXX_Size() int {
539 return xxx_messageInfo_Nests.Size(m)
540}
541func (m *Nests) XXX_DiscardUnknown() {
542 xxx_messageInfo_Nests.DiscardUnknown(m)
543}
544
545var xxx_messageInfo_Nests proto.InternalMessageInfo
546
547func (m *Nests) GetOptNested() *Nested {
548 if m != nil {
549 return m.OptNested
550 }
551 return nil
552}
553
554func (m *Nests) GetOptgroup() *Nests_OptGroup {
555 if m != nil {
556 return m.Optgroup
557 }
558 return nil
559}
560
561func (m *Nests) GetRptNested() []*Nested {
562 if m != nil {
563 return m.RptNested
564 }
565 return nil
566}
567
568func (m *Nests) GetRptgroup() []*Nests_RptGroup {
569 if m != nil {
570 return m.Rptgroup
571 }
572 return nil
573}
574
575// Message contains required fields.
576type Requireds struct {
577 ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"`
578 ReqSfixed64 *int64 `protobuf:"fixed64,2,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"`
579 ReqDouble *float64 `protobuf:"fixed64,3,req,name=req_double,json=reqDouble" json:"req_double,omitempty"`
580 ReqString *string `protobuf:"bytes,4,req,name=req_string,json=reqString" json:"req_string,omitempty"`
581 ReqEnum *Enum `protobuf:"varint,5,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
582 ReqNested *Nested `protobuf:"bytes,6,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
583 XXX_NoUnkeyedLiteral struct{} `json:"-"`
584 XXX_unrecognized []byte `json:"-"`
585 XXX_sizecache int32 `json:"-"`
586}
587
588func (m *Requireds) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800589 return xxx_File_pb2_test_proto_messageTypes[5].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800590}
591func (m *Requireds) Reset() { *m = Requireds{} }
592func (m *Requireds) String() string { return proto.CompactTextString(m) }
593func (*Requireds) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700594
595// Deprecated: Use Requireds.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800596func (*Requireds) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800597 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{5}
Herbie Ong8170d692019-02-13 14:13:21 -0800598}
599
600func (m *Requireds) XXX_Unmarshal(b []byte) error {
601 return xxx_messageInfo_Requireds.Unmarshal(m, b)
602}
603func (m *Requireds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
604 return xxx_messageInfo_Requireds.Marshal(b, m, deterministic)
605}
606func (m *Requireds) XXX_Merge(src proto.Message) {
607 xxx_messageInfo_Requireds.Merge(m, src)
608}
609func (m *Requireds) XXX_Size() int {
610 return xxx_messageInfo_Requireds.Size(m)
611}
612func (m *Requireds) XXX_DiscardUnknown() {
613 xxx_messageInfo_Requireds.DiscardUnknown(m)
614}
615
616var xxx_messageInfo_Requireds proto.InternalMessageInfo
617
618func (m *Requireds) GetReqBool() bool {
619 if m != nil && m.ReqBool != nil {
620 return *m.ReqBool
621 }
622 return false
623}
624
625func (m *Requireds) GetReqSfixed64() int64 {
626 if m != nil && m.ReqSfixed64 != nil {
627 return *m.ReqSfixed64
628 }
629 return 0
630}
631
632func (m *Requireds) GetReqDouble() float64 {
633 if m != nil && m.ReqDouble != nil {
634 return *m.ReqDouble
635 }
636 return 0
637}
638
639func (m *Requireds) GetReqString() string {
640 if m != nil && m.ReqString != nil {
641 return *m.ReqString
642 }
643 return ""
644}
645
646func (m *Requireds) GetReqEnum() Enum {
647 if m != nil && m.ReqEnum != nil {
648 return *m.ReqEnum
649 }
650 return Enum_ONE
651}
652
653func (m *Requireds) GetReqNested() *Nested {
654 if m != nil {
655 return m.ReqNested
656 }
657 return nil
658}
659
660// Message contains both required and optional fields.
661type PartialRequired struct {
662 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
663 OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
664 XXX_NoUnkeyedLiteral struct{} `json:"-"`
665 XXX_unrecognized []byte `json:"-"`
666 XXX_sizecache int32 `json:"-"`
667}
668
669func (m *PartialRequired) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800670 return xxx_File_pb2_test_proto_messageTypes[6].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800671}
672func (m *PartialRequired) Reset() { *m = PartialRequired{} }
673func (m *PartialRequired) String() string { return proto.CompactTextString(m) }
674func (*PartialRequired) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700675
676// Deprecated: Use PartialRequired.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800677func (*PartialRequired) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800678 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{6}
Herbie Ong8170d692019-02-13 14:13:21 -0800679}
680
681func (m *PartialRequired) XXX_Unmarshal(b []byte) error {
682 return xxx_messageInfo_PartialRequired.Unmarshal(m, b)
683}
684func (m *PartialRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
685 return xxx_messageInfo_PartialRequired.Marshal(b, m, deterministic)
686}
687func (m *PartialRequired) XXX_Merge(src proto.Message) {
688 xxx_messageInfo_PartialRequired.Merge(m, src)
689}
690func (m *PartialRequired) XXX_Size() int {
691 return xxx_messageInfo_PartialRequired.Size(m)
692}
693func (m *PartialRequired) XXX_DiscardUnknown() {
694 xxx_messageInfo_PartialRequired.DiscardUnknown(m)
695}
696
697var xxx_messageInfo_PartialRequired proto.InternalMessageInfo
698
699func (m *PartialRequired) GetReqString() string {
700 if m != nil && m.ReqString != nil {
701 return *m.ReqString
702 }
703 return ""
704}
705
706func (m *PartialRequired) GetOptString() string {
707 if m != nil && m.OptString != nil {
708 return *m.OptString
709 }
710 return ""
711}
712
713type NestedWithRequired struct {
714 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
715 XXX_NoUnkeyedLiteral struct{} `json:"-"`
716 XXX_unrecognized []byte `json:"-"`
717 XXX_sizecache int32 `json:"-"`
718}
719
720func (m *NestedWithRequired) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800721 return xxx_File_pb2_test_proto_messageTypes[7].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800722}
723func (m *NestedWithRequired) Reset() { *m = NestedWithRequired{} }
724func (m *NestedWithRequired) String() string { return proto.CompactTextString(m) }
725func (*NestedWithRequired) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700726
727// Deprecated: Use NestedWithRequired.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800728func (*NestedWithRequired) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800729 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{7}
Herbie Ong8170d692019-02-13 14:13:21 -0800730}
731
732func (m *NestedWithRequired) XXX_Unmarshal(b []byte) error {
733 return xxx_messageInfo_NestedWithRequired.Unmarshal(m, b)
734}
735func (m *NestedWithRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
736 return xxx_messageInfo_NestedWithRequired.Marshal(b, m, deterministic)
737}
738func (m *NestedWithRequired) XXX_Merge(src proto.Message) {
739 xxx_messageInfo_NestedWithRequired.Merge(m, src)
740}
741func (m *NestedWithRequired) XXX_Size() int {
742 return xxx_messageInfo_NestedWithRequired.Size(m)
743}
744func (m *NestedWithRequired) XXX_DiscardUnknown() {
745 xxx_messageInfo_NestedWithRequired.DiscardUnknown(m)
746}
747
748var xxx_messageInfo_NestedWithRequired proto.InternalMessageInfo
749
750func (m *NestedWithRequired) GetReqString() string {
751 if m != nil && m.ReqString != nil {
752 return *m.ReqString
753 }
754 return ""
755}
756
757type IndirectRequired struct {
758 OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
759 RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
760 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"`
761 // Types that are valid to be assigned to Union:
762 // *IndirectRequired_OneofNested
763 Union isIndirectRequired_Union `protobuf_oneof:"union"`
764 XXX_NoUnkeyedLiteral struct{} `json:"-"`
765 XXX_unrecognized []byte `json:"-"`
766 XXX_sizecache int32 `json:"-"`
767}
768
769func (m *IndirectRequired) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800770 return xxx_File_pb2_test_proto_messageTypes[8].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800771}
772func (m *IndirectRequired) Reset() { *m = IndirectRequired{} }
773func (m *IndirectRequired) String() string { return proto.CompactTextString(m) }
774func (*IndirectRequired) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700775
776// Deprecated: Use IndirectRequired.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800777func (*IndirectRequired) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800778 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{8}
Herbie Ong8170d692019-02-13 14:13:21 -0800779}
780
781func (m *IndirectRequired) XXX_Unmarshal(b []byte) error {
782 return xxx_messageInfo_IndirectRequired.Unmarshal(m, b)
783}
784func (m *IndirectRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
785 return xxx_messageInfo_IndirectRequired.Marshal(b, m, deterministic)
786}
787func (m *IndirectRequired) XXX_Merge(src proto.Message) {
788 xxx_messageInfo_IndirectRequired.Merge(m, src)
789}
790func (m *IndirectRequired) XXX_Size() int {
791 return xxx_messageInfo_IndirectRequired.Size(m)
792}
793func (m *IndirectRequired) XXX_DiscardUnknown() {
794 xxx_messageInfo_IndirectRequired.DiscardUnknown(m)
795}
796
797var xxx_messageInfo_IndirectRequired proto.InternalMessageInfo
798
799func (m *IndirectRequired) GetOptNested() *NestedWithRequired {
800 if m != nil {
801 return m.OptNested
802 }
803 return nil
804}
805
806func (m *IndirectRequired) GetRptNested() []*NestedWithRequired {
807 if m != nil {
808 return m.RptNested
809 }
810 return nil
811}
812
813func (m *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired {
814 if m != nil {
815 return m.StrToNested
816 }
817 return nil
818}
819
820type isIndirectRequired_Union interface {
821 isIndirectRequired_Union()
822}
823
824type IndirectRequired_OneofNested struct {
825 OneofNested *NestedWithRequired `protobuf:"bytes,4,opt,name=oneof_nested,json=oneofNested,oneof"`
826}
827
828func (*IndirectRequired_OneofNested) isIndirectRequired_Union() {}
829
830func (m *IndirectRequired) GetUnion() isIndirectRequired_Union {
831 if m != nil {
832 return m.Union
833 }
834 return nil
835}
836
837func (m *IndirectRequired) GetOneofNested() *NestedWithRequired {
838 if x, ok := m.GetUnion().(*IndirectRequired_OneofNested); ok {
839 return x.OneofNested
840 }
841 return nil
842}
843
844// XXX_OneofWrappers is for the internal use of the proto package.
845func (*IndirectRequired) XXX_OneofWrappers() []interface{} {
846 return []interface{}{
847 (*IndirectRequired_OneofNested)(nil),
848 }
849}
850
851type Extensions struct {
852 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
853 OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
854 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
855 XXX_NoUnkeyedLiteral struct{} `json:"-"`
856 proto.XXX_InternalExtensions `json:"-"`
857 XXX_unrecognized []byte `json:"-"`
858 XXX_sizecache int32 `json:"-"`
859}
860
861func (m *Extensions) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800862 return xxx_File_pb2_test_proto_messageTypes[9].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800863}
864func (m *Extensions) Reset() { *m = Extensions{} }
865func (m *Extensions) String() string { return proto.CompactTextString(m) }
866func (*Extensions) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700867
868// Deprecated: Use Extensions.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800869func (*Extensions) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800870 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{9}
Herbie Ong8170d692019-02-13 14:13:21 -0800871}
872
873var extRange_Extensions = []proto.ExtensionRange{
874 {Start: 20, End: 100},
875}
876
Joe Tsai8e506a82019-03-16 00:05:34 -0700877// Deprecated: Use Extensions.ProtoReflect.Type.ExtensionRanges instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800878func (*Extensions) ExtensionRangeArray() []proto.ExtensionRange {
879 return extRange_Extensions
880}
881
882func (m *Extensions) XXX_Unmarshal(b []byte) error {
883 return xxx_messageInfo_Extensions.Unmarshal(m, b)
884}
885func (m *Extensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
886 return xxx_messageInfo_Extensions.Marshal(b, m, deterministic)
887}
888func (m *Extensions) XXX_Merge(src proto.Message) {
889 xxx_messageInfo_Extensions.Merge(m, src)
890}
891func (m *Extensions) XXX_Size() int {
892 return xxx_messageInfo_Extensions.Size(m)
893}
894func (m *Extensions) XXX_DiscardUnknown() {
895 xxx_messageInfo_Extensions.DiscardUnknown(m)
896}
897
898var xxx_messageInfo_Extensions proto.InternalMessageInfo
899
900func (m *Extensions) GetOptString() string {
901 if m != nil && m.OptString != nil {
902 return *m.OptString
903 }
904 return ""
905}
906
907func (m *Extensions) GetOptBool() bool {
908 if m != nil && m.OptBool != nil {
909 return *m.OptBool
910 }
911 return false
912}
913
914func (m *Extensions) GetOptInt32() int32 {
915 if m != nil && m.OptInt32 != nil {
916 return *m.OptInt32
917 }
918 return 0
919}
920
921type ExtensionsContainer struct {
922 XXX_NoUnkeyedLiteral struct{} `json:"-"`
923 XXX_unrecognized []byte `json:"-"`
924 XXX_sizecache int32 `json:"-"`
925}
926
927func (m *ExtensionsContainer) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800928 return xxx_File_pb2_test_proto_messageTypes[10].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800929}
930func (m *ExtensionsContainer) Reset() { *m = ExtensionsContainer{} }
931func (m *ExtensionsContainer) String() string { return proto.CompactTextString(m) }
932func (*ExtensionsContainer) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700933
934// Deprecated: Use ExtensionsContainer.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800935func (*ExtensionsContainer) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800936 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{10}
Herbie Ong8170d692019-02-13 14:13:21 -0800937}
938
939func (m *ExtensionsContainer) XXX_Unmarshal(b []byte) error {
940 return xxx_messageInfo_ExtensionsContainer.Unmarshal(m, b)
941}
942func (m *ExtensionsContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
943 return xxx_messageInfo_ExtensionsContainer.Marshal(b, m, deterministic)
944}
945func (m *ExtensionsContainer) XXX_Merge(src proto.Message) {
946 xxx_messageInfo_ExtensionsContainer.Merge(m, src)
947}
948func (m *ExtensionsContainer) XXX_Size() int {
949 return xxx_messageInfo_ExtensionsContainer.Size(m)
950}
951func (m *ExtensionsContainer) XXX_DiscardUnknown() {
952 xxx_messageInfo_ExtensionsContainer.DiscardUnknown(m)
953}
954
955var xxx_messageInfo_ExtensionsContainer proto.InternalMessageInfo
956
957type MessageSet struct {
958 XXX_NoUnkeyedLiteral struct{} `json:"-"`
959 proto.XXX_InternalExtensions `protobuf_messageset:"1" json:"-"`
960 XXX_unrecognized []byte `json:"-"`
961 XXX_sizecache int32 `json:"-"`
962}
963
964func (m *MessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800965 return xxx_File_pb2_test_proto_messageTypes[11].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800966}
967func (m *MessageSet) Reset() { *m = MessageSet{} }
968func (m *MessageSet) String() string { return proto.CompactTextString(m) }
969func (*MessageSet) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700970
971// Deprecated: Use MessageSet.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800972func (*MessageSet) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800973 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{11}
Herbie Ong8170d692019-02-13 14:13:21 -0800974}
975
976var extRange_MessageSet = []proto.ExtensionRange{
977 {Start: 4, End: 2147483646},
978}
979
Joe Tsai8e506a82019-03-16 00:05:34 -0700980// Deprecated: Use MessageSet.ProtoReflect.Type.ExtensionRanges instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800981func (*MessageSet) ExtensionRangeArray() []proto.ExtensionRange {
982 return extRange_MessageSet
983}
984
985func (m *MessageSet) XXX_Unmarshal(b []byte) error {
986 return xxx_messageInfo_MessageSet.Unmarshal(m, b)
987}
988func (m *MessageSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
989 return xxx_messageInfo_MessageSet.Marshal(b, m, deterministic)
990}
991func (m *MessageSet) XXX_Merge(src proto.Message) {
992 xxx_messageInfo_MessageSet.Merge(m, src)
993}
994func (m *MessageSet) XXX_Size() int {
995 return xxx_messageInfo_MessageSet.Size(m)
996}
997func (m *MessageSet) XXX_DiscardUnknown() {
998 xxx_messageInfo_MessageSet.DiscardUnknown(m)
999}
1000
1001var xxx_messageInfo_MessageSet proto.InternalMessageInfo
1002
1003type MessageSetExtension struct {
1004 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1005 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1006 XXX_unrecognized []byte `json:"-"`
1007 XXX_sizecache int32 `json:"-"`
1008}
1009
1010func (m *MessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -08001011 return xxx_File_pb2_test_proto_messageTypes[12].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -08001012}
1013func (m *MessageSetExtension) Reset() { *m = MessageSetExtension{} }
1014func (m *MessageSetExtension) String() string { return proto.CompactTextString(m) }
1015func (*MessageSetExtension) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -07001016
1017// Deprecated: Use MessageSetExtension.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001018func (*MessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -08001019 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{12}
Herbie Ong8170d692019-02-13 14:13:21 -08001020}
1021
1022func (m *MessageSetExtension) XXX_Unmarshal(b []byte) error {
1023 return xxx_messageInfo_MessageSetExtension.Unmarshal(m, b)
1024}
1025func (m *MessageSetExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1026 return xxx_messageInfo_MessageSetExtension.Marshal(b, m, deterministic)
1027}
1028func (m *MessageSetExtension) XXX_Merge(src proto.Message) {
1029 xxx_messageInfo_MessageSetExtension.Merge(m, src)
1030}
1031func (m *MessageSetExtension) XXX_Size() int {
1032 return xxx_messageInfo_MessageSetExtension.Size(m)
1033}
1034func (m *MessageSetExtension) XXX_DiscardUnknown() {
1035 xxx_messageInfo_MessageSetExtension.DiscardUnknown(m)
1036}
1037
1038var xxx_messageInfo_MessageSetExtension proto.InternalMessageInfo
1039
1040func (m *MessageSetExtension) GetOptString() string {
1041 if m != nil && m.OptString != nil {
1042 return *m.OptString
1043 }
1044 return ""
1045}
1046
1047type FakeMessageSet struct {
1048 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1049 proto.XXX_InternalExtensions `json:"-"`
1050 XXX_unrecognized []byte `json:"-"`
1051 XXX_sizecache int32 `json:"-"`
1052}
1053
1054func (m *FakeMessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -08001055 return xxx_File_pb2_test_proto_messageTypes[13].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -08001056}
1057func (m *FakeMessageSet) Reset() { *m = FakeMessageSet{} }
1058func (m *FakeMessageSet) String() string { return proto.CompactTextString(m) }
1059func (*FakeMessageSet) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -07001060
1061// Deprecated: Use FakeMessageSet.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001062func (*FakeMessageSet) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -08001063 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{13}
Herbie Ong8170d692019-02-13 14:13:21 -08001064}
1065
1066var extRange_FakeMessageSet = []proto.ExtensionRange{
1067 {Start: 4, End: 536870911},
1068}
1069
Joe Tsai8e506a82019-03-16 00:05:34 -07001070// Deprecated: Use FakeMessageSet.ProtoReflect.Type.ExtensionRanges instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001071func (*FakeMessageSet) ExtensionRangeArray() []proto.ExtensionRange {
1072 return extRange_FakeMessageSet
1073}
1074
1075func (m *FakeMessageSet) XXX_Unmarshal(b []byte) error {
1076 return xxx_messageInfo_FakeMessageSet.Unmarshal(m, b)
1077}
1078func (m *FakeMessageSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1079 return xxx_messageInfo_FakeMessageSet.Marshal(b, m, deterministic)
1080}
1081func (m *FakeMessageSet) XXX_Merge(src proto.Message) {
1082 xxx_messageInfo_FakeMessageSet.Merge(m, src)
1083}
1084func (m *FakeMessageSet) XXX_Size() int {
1085 return xxx_messageInfo_FakeMessageSet.Size(m)
1086}
1087func (m *FakeMessageSet) XXX_DiscardUnknown() {
1088 xxx_messageInfo_FakeMessageSet.DiscardUnknown(m)
1089}
1090
1091var xxx_messageInfo_FakeMessageSet proto.InternalMessageInfo
1092
1093type FakeMessageSetExtension struct {
1094 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1095 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1096 XXX_unrecognized []byte `json:"-"`
1097 XXX_sizecache int32 `json:"-"`
1098}
1099
1100func (m *FakeMessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -08001101 return xxx_File_pb2_test_proto_messageTypes[14].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -08001102}
1103func (m *FakeMessageSetExtension) Reset() { *m = FakeMessageSetExtension{} }
1104func (m *FakeMessageSetExtension) String() string { return proto.CompactTextString(m) }
1105func (*FakeMessageSetExtension) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -07001106
1107// Deprecated: Use FakeMessageSetExtension.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001108func (*FakeMessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -08001109 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{14}
Herbie Ong8170d692019-02-13 14:13:21 -08001110}
1111
1112func (m *FakeMessageSetExtension) XXX_Unmarshal(b []byte) error {
1113 return xxx_messageInfo_FakeMessageSetExtension.Unmarshal(m, b)
1114}
1115func (m *FakeMessageSetExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1116 return xxx_messageInfo_FakeMessageSetExtension.Marshal(b, m, deterministic)
1117}
1118func (m *FakeMessageSetExtension) XXX_Merge(src proto.Message) {
1119 xxx_messageInfo_FakeMessageSetExtension.Merge(m, src)
1120}
1121func (m *FakeMessageSetExtension) XXX_Size() int {
1122 return xxx_messageInfo_FakeMessageSetExtension.Size(m)
1123}
1124func (m *FakeMessageSetExtension) XXX_DiscardUnknown() {
1125 xxx_messageInfo_FakeMessageSetExtension.DiscardUnknown(m)
1126}
1127
1128var xxx_messageInfo_FakeMessageSetExtension proto.InternalMessageInfo
1129
1130func (m *FakeMessageSetExtension) GetOptString() string {
1131 if m != nil && m.OptString != nil {
1132 return *m.OptString
1133 }
1134 return ""
1135}
1136
1137// Message contains well-known type fields.
1138type KnownTypes struct {
Joe Tsai19058432019-02-27 21:46:29 -08001139 OptBool *known.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
1140 OptInt32 *known.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
1141 OptInt64 *known.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
1142 OptUint32 *known.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
1143 OptUint64 *known.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
1144 OptFloat *known.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
1145 OptDouble *known.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
1146 OptString *known.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1147 OptBytes *known.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
1148 OptDuration *known.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"`
1149 OptTimestamp *known.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"`
1150 OptStruct *known.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"`
1151 OptList *known.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"`
1152 OptValue *known.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"`
1153 OptEmpty *known.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"`
1154 OptAny *known.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
1155 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1156 XXX_unrecognized []byte `json:"-"`
1157 XXX_sizecache int32 `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -08001158}
1159
1160func (m *KnownTypes) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -08001161 return xxx_File_pb2_test_proto_messageTypes[15].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -08001162}
1163func (m *KnownTypes) Reset() { *m = KnownTypes{} }
1164func (m *KnownTypes) String() string { return proto.CompactTextString(m) }
1165func (*KnownTypes) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -07001166
1167// Deprecated: Use KnownTypes.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001168func (*KnownTypes) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -08001169 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{15}
Herbie Ong8170d692019-02-13 14:13:21 -08001170}
1171
1172func (m *KnownTypes) XXX_Unmarshal(b []byte) error {
1173 return xxx_messageInfo_KnownTypes.Unmarshal(m, b)
1174}
1175func (m *KnownTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1176 return xxx_messageInfo_KnownTypes.Marshal(b, m, deterministic)
1177}
1178func (m *KnownTypes) XXX_Merge(src proto.Message) {
1179 xxx_messageInfo_KnownTypes.Merge(m, src)
1180}
1181func (m *KnownTypes) XXX_Size() int {
1182 return xxx_messageInfo_KnownTypes.Size(m)
1183}
1184func (m *KnownTypes) XXX_DiscardUnknown() {
1185 xxx_messageInfo_KnownTypes.DiscardUnknown(m)
1186}
1187
1188var xxx_messageInfo_KnownTypes proto.InternalMessageInfo
1189
Joe Tsai19058432019-02-27 21:46:29 -08001190func (m *KnownTypes) GetOptBool() *known.BoolValue {
Herbie Ong8170d692019-02-13 14:13:21 -08001191 if m != nil {
1192 return m.OptBool
1193 }
1194 return nil
1195}
1196
Joe Tsai19058432019-02-27 21:46:29 -08001197func (m *KnownTypes) GetOptInt32() *known.Int32Value {
Herbie Ong8170d692019-02-13 14:13:21 -08001198 if m != nil {
1199 return m.OptInt32
1200 }
1201 return nil
1202}
1203
Joe Tsai19058432019-02-27 21:46:29 -08001204func (m *KnownTypes) GetOptInt64() *known.Int64Value {
Herbie Ong8170d692019-02-13 14:13:21 -08001205 if m != nil {
1206 return m.OptInt64
1207 }
1208 return nil
1209}
1210
Joe Tsai19058432019-02-27 21:46:29 -08001211func (m *KnownTypes) GetOptUint32() *known.UInt32Value {
Herbie Ong8170d692019-02-13 14:13:21 -08001212 if m != nil {
1213 return m.OptUint32
1214 }
1215 return nil
1216}
1217
Joe Tsai19058432019-02-27 21:46:29 -08001218func (m *KnownTypes) GetOptUint64() *known.UInt64Value {
Herbie Ong8170d692019-02-13 14:13:21 -08001219 if m != nil {
1220 return m.OptUint64
1221 }
1222 return nil
1223}
1224
Joe Tsai19058432019-02-27 21:46:29 -08001225func (m *KnownTypes) GetOptFloat() *known.FloatValue {
Herbie Ong8170d692019-02-13 14:13:21 -08001226 if m != nil {
1227 return m.OptFloat
1228 }
1229 return nil
1230}
1231
Joe Tsai19058432019-02-27 21:46:29 -08001232func (m *KnownTypes) GetOptDouble() *known.DoubleValue {
Herbie Ong8170d692019-02-13 14:13:21 -08001233 if m != nil {
1234 return m.OptDouble
1235 }
1236 return nil
1237}
1238
Joe Tsai19058432019-02-27 21:46:29 -08001239func (m *KnownTypes) GetOptString() *known.StringValue {
Herbie Ong8170d692019-02-13 14:13:21 -08001240 if m != nil {
1241 return m.OptString
1242 }
1243 return nil
1244}
1245
Joe Tsai19058432019-02-27 21:46:29 -08001246func (m *KnownTypes) GetOptBytes() *known.BytesValue {
Herbie Ong8170d692019-02-13 14:13:21 -08001247 if m != nil {
1248 return m.OptBytes
1249 }
1250 return nil
1251}
1252
Joe Tsai19058432019-02-27 21:46:29 -08001253func (m *KnownTypes) GetOptDuration() *known.Duration {
Herbie Ong8170d692019-02-13 14:13:21 -08001254 if m != nil {
1255 return m.OptDuration
1256 }
1257 return nil
1258}
1259
Joe Tsai19058432019-02-27 21:46:29 -08001260func (m *KnownTypes) GetOptTimestamp() *known.Timestamp {
Herbie Ong8170d692019-02-13 14:13:21 -08001261 if m != nil {
1262 return m.OptTimestamp
1263 }
1264 return nil
1265}
1266
Joe Tsai19058432019-02-27 21:46:29 -08001267func (m *KnownTypes) GetOptStruct() *known.Struct {
Herbie Ong8170d692019-02-13 14:13:21 -08001268 if m != nil {
1269 return m.OptStruct
1270 }
1271 return nil
1272}
1273
Joe Tsai19058432019-02-27 21:46:29 -08001274func (m *KnownTypes) GetOptList() *known.ListValue {
Herbie Ong8170d692019-02-13 14:13:21 -08001275 if m != nil {
1276 return m.OptList
1277 }
1278 return nil
1279}
1280
Joe Tsai19058432019-02-27 21:46:29 -08001281func (m *KnownTypes) GetOptValue() *known.Value {
Herbie Ong8170d692019-02-13 14:13:21 -08001282 if m != nil {
1283 return m.OptValue
1284 }
1285 return nil
1286}
1287
Joe Tsai19058432019-02-27 21:46:29 -08001288func (m *KnownTypes) GetOptEmpty() *known.Empty {
Herbie Ong8170d692019-02-13 14:13:21 -08001289 if m != nil {
1290 return m.OptEmpty
1291 }
1292 return nil
1293}
1294
Joe Tsai19058432019-02-27 21:46:29 -08001295func (m *KnownTypes) GetOptAny() *known.Any {
Herbie Ong8170d692019-02-13 14:13:21 -08001296 if m != nil {
1297 return m.OptAny
1298 }
1299 return nil
1300}
1301
1302type Nests_OptGroup struct {
1303 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1304 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
1305 Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,3,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
1306 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1307 XXX_unrecognized []byte `json:"-"`
1308 XXX_sizecache int32 `json:"-"`
1309}
1310
1311func (m *Nests_OptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -08001312 return xxx_File_pb2_test_proto_messageTypes[16].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -08001313}
1314func (m *Nests_OptGroup) Reset() { *m = Nests_OptGroup{} }
1315func (m *Nests_OptGroup) String() string { return proto.CompactTextString(m) }
1316func (*Nests_OptGroup) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -07001317
1318// Deprecated: Use Nests_OptGroup.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001319func (*Nests_OptGroup) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -08001320 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{4, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001321}
1322
1323func (m *Nests_OptGroup) XXX_Unmarshal(b []byte) error {
1324 return xxx_messageInfo_Nests_OptGroup.Unmarshal(m, b)
1325}
1326func (m *Nests_OptGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1327 return xxx_messageInfo_Nests_OptGroup.Marshal(b, m, deterministic)
1328}
1329func (m *Nests_OptGroup) XXX_Merge(src proto.Message) {
1330 xxx_messageInfo_Nests_OptGroup.Merge(m, src)
1331}
1332func (m *Nests_OptGroup) XXX_Size() int {
1333 return xxx_messageInfo_Nests_OptGroup.Size(m)
1334}
1335func (m *Nests_OptGroup) XXX_DiscardUnknown() {
1336 xxx_messageInfo_Nests_OptGroup.DiscardUnknown(m)
1337}
1338
1339var xxx_messageInfo_Nests_OptGroup proto.InternalMessageInfo
1340
1341func (m *Nests_OptGroup) GetOptString() string {
1342 if m != nil && m.OptString != nil {
1343 return *m.OptString
1344 }
1345 return ""
1346}
1347
1348func (m *Nests_OptGroup) GetOptNested() *Nested {
1349 if m != nil {
1350 return m.OptNested
1351 }
1352 return nil
1353}
1354
1355func (m *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup {
1356 if m != nil {
1357 return m.Optnestedgroup
1358 }
1359 return nil
1360}
1361
1362type Nests_RptGroup struct {
1363 RptString []string `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
1364 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1365 XXX_unrecognized []byte `json:"-"`
1366 XXX_sizecache int32 `json:"-"`
1367}
1368
1369func (m *Nests_RptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -08001370 return xxx_File_pb2_test_proto_messageTypes[17].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -08001371}
1372func (m *Nests_RptGroup) Reset() { *m = Nests_RptGroup{} }
1373func (m *Nests_RptGroup) String() string { return proto.CompactTextString(m) }
1374func (*Nests_RptGroup) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -07001375
1376// Deprecated: Use Nests_RptGroup.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001377func (*Nests_RptGroup) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -08001378 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{4, 1}
Herbie Ong8170d692019-02-13 14:13:21 -08001379}
1380
1381func (m *Nests_RptGroup) XXX_Unmarshal(b []byte) error {
1382 return xxx_messageInfo_Nests_RptGroup.Unmarshal(m, b)
1383}
1384func (m *Nests_RptGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1385 return xxx_messageInfo_Nests_RptGroup.Marshal(b, m, deterministic)
1386}
1387func (m *Nests_RptGroup) XXX_Merge(src proto.Message) {
1388 xxx_messageInfo_Nests_RptGroup.Merge(m, src)
1389}
1390func (m *Nests_RptGroup) XXX_Size() int {
1391 return xxx_messageInfo_Nests_RptGroup.Size(m)
1392}
1393func (m *Nests_RptGroup) XXX_DiscardUnknown() {
1394 xxx_messageInfo_Nests_RptGroup.DiscardUnknown(m)
1395}
1396
1397var xxx_messageInfo_Nests_RptGroup proto.InternalMessageInfo
1398
1399func (m *Nests_RptGroup) GetRptString() []string {
1400 if m != nil {
1401 return m.RptString
1402 }
1403 return nil
1404}
1405
1406type Nests_OptGroup_OptNestedGroup struct {
1407 OptFixed32 *uint32 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
1408 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1409 XXX_unrecognized []byte `json:"-"`
1410 XXX_sizecache int32 `json:"-"`
1411}
1412
1413func (m *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -08001414 return xxx_File_pb2_test_proto_messageTypes[18].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -08001415}
1416func (m *Nests_OptGroup_OptNestedGroup) Reset() { *m = Nests_OptGroup_OptNestedGroup{} }
1417func (m *Nests_OptGroup_OptNestedGroup) String() string { return proto.CompactTextString(m) }
1418func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -07001419
1420// Deprecated: Use Nests_OptGroup_OptNestedGroup.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001421func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -08001422 return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{4, 0, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001423}
1424
1425func (m *Nests_OptGroup_OptNestedGroup) XXX_Unmarshal(b []byte) error {
1426 return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Unmarshal(m, b)
1427}
1428func (m *Nests_OptGroup_OptNestedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1429 return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Marshal(b, m, deterministic)
1430}
1431func (m *Nests_OptGroup_OptNestedGroup) XXX_Merge(src proto.Message) {
1432 xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Merge(m, src)
1433}
1434func (m *Nests_OptGroup_OptNestedGroup) XXX_Size() int {
1435 return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Size(m)
1436}
1437func (m *Nests_OptGroup_OptNestedGroup) XXX_DiscardUnknown() {
1438 xxx_messageInfo_Nests_OptGroup_OptNestedGroup.DiscardUnknown(m)
1439}
1440
1441var xxx_messageInfo_Nests_OptGroup_OptNestedGroup proto.InternalMessageInfo
1442
1443func (m *Nests_OptGroup_OptNestedGroup) GetOptFixed32() uint32 {
1444 if m != nil && m.OptFixed32 != nil {
1445 return *m.OptFixed32
1446 }
1447 return 0
1448}
1449
Joe Tsaiafb455e2019-03-14 16:08:22 -07001450var xxx_File_pb2_test_proto_extDescs = []proto.ExtensionDesc{
1451 {
1452 ExtendedType: (*Extensions)(nil),
1453 ExtensionType: (*bool)(nil),
1454 Field: 21,
1455 Name: "pb2.opt_ext_bool",
1456 Tag: "varint,21,opt,name=opt_ext_bool",
1457 Filename: "pb2/test.proto",
1458 },
1459 {
1460 ExtendedType: (*Extensions)(nil),
1461 ExtensionType: (*string)(nil),
1462 Field: 22,
1463 Name: "pb2.opt_ext_string",
1464 Tag: "bytes,22,opt,name=opt_ext_string",
1465 Filename: "pb2/test.proto",
1466 },
1467 {
1468 ExtendedType: (*Extensions)(nil),
1469 ExtensionType: (*Enum)(nil),
1470 Field: 23,
1471 Name: "pb2.opt_ext_enum",
1472 Tag: "varint,23,opt,name=opt_ext_enum,enum=pb2.Enum",
1473 Filename: "pb2/test.proto",
1474 },
1475 {
1476 ExtendedType: (*Extensions)(nil),
1477 ExtensionType: (*Nested)(nil),
1478 Field: 24,
1479 Name: "pb2.opt_ext_nested",
1480 Tag: "bytes,24,opt,name=opt_ext_nested",
1481 Filename: "pb2/test.proto",
1482 },
1483 {
1484 ExtendedType: (*Extensions)(nil),
1485 ExtensionType: ([]uint32)(nil),
1486 Field: 31,
1487 Name: "pb2.rpt_ext_fixed32",
1488 Tag: "fixed32,31,rep,name=rpt_ext_fixed32",
1489 Filename: "pb2/test.proto",
1490 },
1491 {
1492 ExtendedType: (*Extensions)(nil),
1493 ExtensionType: ([]Enum)(nil),
1494 Field: 32,
1495 Name: "pb2.rpt_ext_enum",
1496 Tag: "varint,32,rep,name=rpt_ext_enum,enum=pb2.Enum",
1497 Filename: "pb2/test.proto",
1498 },
1499 {
1500 ExtendedType: (*Extensions)(nil),
1501 ExtensionType: ([]*Nested)(nil),
1502 Field: 33,
1503 Name: "pb2.rpt_ext_nested",
1504 Tag: "bytes,33,rep,name=rpt_ext_nested",
1505 Filename: "pb2/test.proto",
1506 },
1507 {
1508 ExtendedType: (*MessageSet)(nil),
1509 ExtensionType: (*FakeMessageSetExtension)(nil),
1510 Field: 50,
1511 Name: "pb2.",
1512 Tag: "bytes,50,opt,name=message_set_extension",
1513 Filename: "pb2/test.proto",
1514 },
1515 {
1516 ExtendedType: (*Extensions)(nil),
1517 ExtensionType: (*bool)(nil),
1518 Field: 51,
1519 Name: "pb2.ExtensionsContainer.opt_ext_bool",
1520 Tag: "varint,51,opt,name=opt_ext_bool",
1521 Filename: "pb2/test.proto",
1522 },
1523 {
1524 ExtendedType: (*Extensions)(nil),
1525 ExtensionType: (*string)(nil),
1526 Field: 52,
1527 Name: "pb2.ExtensionsContainer.opt_ext_string",
1528 Tag: "bytes,52,opt,name=opt_ext_string",
1529 Filename: "pb2/test.proto",
1530 },
1531 {
1532 ExtendedType: (*Extensions)(nil),
1533 ExtensionType: (*Enum)(nil),
1534 Field: 53,
1535 Name: "pb2.ExtensionsContainer.opt_ext_enum",
1536 Tag: "varint,53,opt,name=opt_ext_enum,enum=pb2.Enum",
1537 Filename: "pb2/test.proto",
1538 },
1539 {
1540 ExtendedType: (*Extensions)(nil),
1541 ExtensionType: (*Nested)(nil),
1542 Field: 54,
1543 Name: "pb2.ExtensionsContainer.opt_ext_nested",
1544 Tag: "bytes,54,opt,name=opt_ext_nested",
1545 Filename: "pb2/test.proto",
1546 },
1547 {
1548 ExtendedType: (*Extensions)(nil),
1549 ExtensionType: ([]string)(nil),
1550 Field: 61,
1551 Name: "pb2.ExtensionsContainer.rpt_ext_string",
1552 Tag: "bytes,61,rep,name=rpt_ext_string",
1553 Filename: "pb2/test.proto",
1554 },
1555 {
1556 ExtendedType: (*Extensions)(nil),
1557 ExtensionType: ([]Enum)(nil),
1558 Field: 62,
1559 Name: "pb2.ExtensionsContainer.rpt_ext_enum",
1560 Tag: "varint,62,rep,name=rpt_ext_enum,enum=pb2.Enum",
1561 Filename: "pb2/test.proto",
1562 },
1563 {
1564 ExtendedType: (*Extensions)(nil),
1565 ExtensionType: ([]*Nested)(nil),
1566 Field: 63,
1567 Name: "pb2.ExtensionsContainer.rpt_ext_nested",
1568 Tag: "bytes,63,rep,name=rpt_ext_nested",
1569 Filename: "pb2/test.proto",
1570 },
1571 {
1572 ExtendedType: (*MessageSet)(nil),
1573 ExtensionType: (*MessageSetExtension)(nil),
1574 Field: 10,
1575 Name: "pb2.MessageSetExtension",
1576 Tag: "bytes,10,opt,name=message_set_extension",
1577 Filename: "pb2/test.proto",
1578 },
1579 {
1580 ExtendedType: (*MessageSet)(nil),
1581 ExtensionType: (*MessageSetExtension)(nil),
1582 Field: 20,
1583 Name: "pb2.MessageSetExtension.not_message_set_extension",
1584 Tag: "bytes,20,opt,name=not_message_set_extension",
1585 Filename: "pb2/test.proto",
1586 },
1587 {
1588 ExtendedType: (*MessageSet)(nil),
1589 ExtensionType: (*Nested)(nil),
1590 Field: 30,
1591 Name: "pb2.MessageSetExtension.ext_nested",
1592 Tag: "bytes,30,opt,name=ext_nested",
1593 Filename: "pb2/test.proto",
1594 },
1595 {
1596 ExtendedType: (*FakeMessageSet)(nil),
1597 ExtensionType: (*FakeMessageSetExtension)(nil),
1598 Field: 10,
1599 Name: "pb2.FakeMessageSetExtension.message_set_extension",
1600 Tag: "bytes,10,opt,name=message_set_extension",
1601 Filename: "pb2/test.proto",
1602 },
Herbie Ong8170d692019-02-13 14:13:21 -08001603}
Joe Tsaiafb455e2019-03-14 16:08:22 -07001604var (
1605 // extend pb2.Extensions { optional bool opt_ext_bool = 21; }
1606 E_OptExtBool = &xxx_File_pb2_test_proto_extDescs[0]
Herbie Ong8170d692019-02-13 14:13:21 -08001607
Joe Tsaiafb455e2019-03-14 16:08:22 -07001608 // extend pb2.Extensions { optional string opt_ext_string = 22; }
1609 E_OptExtString = &xxx_File_pb2_test_proto_extDescs[1]
Herbie Ong8170d692019-02-13 14:13:21 -08001610
Joe Tsaiafb455e2019-03-14 16:08:22 -07001611 // extend pb2.Extensions { optional pb2.Enum opt_ext_enum = 23; }
1612 E_OptExtEnum = &xxx_File_pb2_test_proto_extDescs[2]
Herbie Ong8170d692019-02-13 14:13:21 -08001613
Joe Tsaiafb455e2019-03-14 16:08:22 -07001614 // extend pb2.Extensions { optional pb2.Nested opt_ext_nested = 24; }
1615 E_OptExtNested = &xxx_File_pb2_test_proto_extDescs[3]
Herbie Ong8170d692019-02-13 14:13:21 -08001616
Joe Tsaiafb455e2019-03-14 16:08:22 -07001617 // extend pb2.Extensions { repeated fixed32 rpt_ext_fixed32 = 31; }
1618 E_RptExtFixed32 = &xxx_File_pb2_test_proto_extDescs[4]
Herbie Ong8170d692019-02-13 14:13:21 -08001619
Joe Tsaiafb455e2019-03-14 16:08:22 -07001620 // extend pb2.Extensions { repeated pb2.Enum rpt_ext_enum = 32; }
1621 E_RptExtEnum = &xxx_File_pb2_test_proto_extDescs[5]
Herbie Ong8170d692019-02-13 14:13:21 -08001622
Joe Tsaiafb455e2019-03-14 16:08:22 -07001623 // extend pb2.Extensions { repeated pb2.Nested rpt_ext_nested = 33; }
1624 E_RptExtNested = &xxx_File_pb2_test_proto_extDescs[6]
Herbie Ong8170d692019-02-13 14:13:21 -08001625
Joe Tsaiafb455e2019-03-14 16:08:22 -07001626 // extend pb2.MessageSet { optional pb2.FakeMessageSetExtension message_set_extension = 50; }
1627 E_MessageSetExtension = &xxx_File_pb2_test_proto_extDescs[7]
Herbie Ong8170d692019-02-13 14:13:21 -08001628
Joe Tsaiafb455e2019-03-14 16:08:22 -07001629 // extend pb2.Extensions { optional bool opt_ext_bool = 51; }
1630 E_ExtensionsContainer_OptExtBool = &xxx_File_pb2_test_proto_extDescs[8]
Herbie Ong8170d692019-02-13 14:13:21 -08001631
Joe Tsaiafb455e2019-03-14 16:08:22 -07001632 // extend pb2.Extensions { optional string opt_ext_string = 52; }
1633 E_ExtensionsContainer_OptExtString = &xxx_File_pb2_test_proto_extDescs[9]
Herbie Ong8170d692019-02-13 14:13:21 -08001634
Joe Tsaiafb455e2019-03-14 16:08:22 -07001635 // extend pb2.Extensions { optional pb2.Enum opt_ext_enum = 53; }
1636 E_ExtensionsContainer_OptExtEnum = &xxx_File_pb2_test_proto_extDescs[10]
Herbie Ong8170d692019-02-13 14:13:21 -08001637
Joe Tsaiafb455e2019-03-14 16:08:22 -07001638 // extend pb2.Extensions { optional pb2.Nested opt_ext_nested = 54; }
1639 E_ExtensionsContainer_OptExtNested = &xxx_File_pb2_test_proto_extDescs[11]
Herbie Ong8170d692019-02-13 14:13:21 -08001640
Joe Tsaiafb455e2019-03-14 16:08:22 -07001641 // extend pb2.Extensions { repeated string rpt_ext_string = 61; }
1642 E_ExtensionsContainer_RptExtString = &xxx_File_pb2_test_proto_extDescs[12]
Herbie Ong8170d692019-02-13 14:13:21 -08001643
Joe Tsaiafb455e2019-03-14 16:08:22 -07001644 // extend pb2.Extensions { repeated pb2.Enum rpt_ext_enum = 62; }
1645 E_ExtensionsContainer_RptExtEnum = &xxx_File_pb2_test_proto_extDescs[13]
Herbie Ong8170d692019-02-13 14:13:21 -08001646
Joe Tsaiafb455e2019-03-14 16:08:22 -07001647 // extend pb2.Extensions { repeated pb2.Nested rpt_ext_nested = 63; }
1648 E_ExtensionsContainer_RptExtNested = &xxx_File_pb2_test_proto_extDescs[14]
Herbie Ong8170d692019-02-13 14:13:21 -08001649
Joe Tsaiafb455e2019-03-14 16:08:22 -07001650 // extend pb2.MessageSet { optional pb2.MessageSetExtension message_set_extension = 10; }
1651 E_MessageSetExtension_MessageSetExtension = &xxx_File_pb2_test_proto_extDescs[15]
Herbie Ong8170d692019-02-13 14:13:21 -08001652
Joe Tsaiafb455e2019-03-14 16:08:22 -07001653 // extend pb2.MessageSet { optional pb2.MessageSetExtension not_message_set_extension = 20; }
1654 E_MessageSetExtension_NotMessageSetExtension = &xxx_File_pb2_test_proto_extDescs[16]
Herbie Ong8170d692019-02-13 14:13:21 -08001655
Joe Tsaiafb455e2019-03-14 16:08:22 -07001656 // extend pb2.MessageSet { optional pb2.Nested ext_nested = 30; }
1657 E_MessageSetExtension_ExtNested = &xxx_File_pb2_test_proto_extDescs[17]
Herbie Ong8170d692019-02-13 14:13:21 -08001658
Joe Tsaiafb455e2019-03-14 16:08:22 -07001659 // extend pb2.FakeMessageSet { optional pb2.FakeMessageSetExtension message_set_extension = 10; }
1660 E_FakeMessageSetExtension_MessageSetExtension = &xxx_File_pb2_test_proto_extDescs[18]
1661)
Herbie Ong8170d692019-02-13 14:13:21 -08001662
1663func init() {
Joe Tsai19058432019-02-27 21:46:29 -08001664 proto.RegisterFile("pb2/test.proto", xxx_File_pb2_test_proto_rawdesc_gzipped)
Herbie Ong8170d692019-02-13 14:13:21 -08001665 proto.RegisterEnum("pb2.Enum", Enum_name, Enum_value)
1666 proto.RegisterEnum("pb2.Enums_NestedEnum", Enums_NestedEnum_name, Enums_NestedEnum_value)
1667 proto.RegisterType((*Scalars)(nil), "pb2.Scalars")
1668 proto.RegisterType((*Enums)(nil), "pb2.Enums")
1669 proto.RegisterType((*Repeats)(nil), "pb2.Repeats")
1670 proto.RegisterType((*Nested)(nil), "pb2.Nested")
1671 proto.RegisterType((*Nests)(nil), "pb2.Nests")
1672 proto.RegisterType((*Requireds)(nil), "pb2.Requireds")
1673 proto.RegisterType((*PartialRequired)(nil), "pb2.PartialRequired")
1674 proto.RegisterType((*NestedWithRequired)(nil), "pb2.NestedWithRequired")
1675 proto.RegisterType((*IndirectRequired)(nil), "pb2.IndirectRequired")
1676 proto.RegisterMapType((map[string]*NestedWithRequired)(nil), "pb2.IndirectRequired.StrToNestedEntry")
1677 proto.RegisterType((*Extensions)(nil), "pb2.Extensions")
1678 proto.RegisterType((*ExtensionsContainer)(nil), "pb2.ExtensionsContainer")
1679 proto.RegisterType((*MessageSet)(nil), "pb2.MessageSet")
1680 proto.RegisterType((*MessageSetExtension)(nil), "pb2.MessageSetExtension")
1681 proto.RegisterType((*FakeMessageSet)(nil), "pb2.FakeMessageSet")
1682 proto.RegisterType((*FakeMessageSetExtension)(nil), "pb2.FakeMessageSetExtension")
1683 proto.RegisterType((*KnownTypes)(nil), "pb2.KnownTypes")
1684 proto.RegisterType((*Nests_OptGroup)(nil), "pb2.Nests.OptGroup")
1685 proto.RegisterType((*Nests_RptGroup)(nil), "pb2.Nests.RptGroup")
1686 proto.RegisterType((*Nests_OptGroup_OptNestedGroup)(nil), "pb2.Nests.OptGroup.OptNestedGroup")
1687 proto.RegisterExtension(E_OptExtBool)
1688 proto.RegisterExtension(E_OptExtString)
1689 proto.RegisterExtension(E_OptExtEnum)
1690 proto.RegisterExtension(E_OptExtNested)
1691 proto.RegisterExtension(E_RptExtFixed32)
1692 proto.RegisterExtension(E_RptExtEnum)
1693 proto.RegisterExtension(E_RptExtNested)
1694 proto.RegisterExtension(E_MessageSetExtension)
1695 proto.RegisterExtension(E_ExtensionsContainer_OptExtBool)
1696 proto.RegisterExtension(E_ExtensionsContainer_OptExtString)
1697 proto.RegisterExtension(E_ExtensionsContainer_OptExtEnum)
1698 proto.RegisterExtension(E_ExtensionsContainer_OptExtNested)
1699 proto.RegisterExtension(E_ExtensionsContainer_RptExtString)
1700 proto.RegisterExtension(E_ExtensionsContainer_RptExtEnum)
1701 proto.RegisterExtension(E_ExtensionsContainer_RptExtNested)
1702 proto.RegisterExtension(E_MessageSetExtension_MessageSetExtension)
1703 proto.RegisterExtension(E_MessageSetExtension_NotMessageSetExtension)
1704 proto.RegisterExtension(E_MessageSetExtension_ExtNested)
1705 proto.RegisterExtension(E_FakeMessageSetExtension_MessageSetExtension)
1706}
1707
Joe Tsai19058432019-02-27 21:46:29 -08001708var xxx_File_pb2_test_proto_rawdesc = []byte{
1709 // 5126 bytes of the wire-encoded FileDescriptorProto
1710 0x0a, 0x0e, 0x70, 0x62, 0x32, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1711 0x12, 0x03, 0x70, 0x62, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
1712 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1713 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1714 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67,
1715 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64,
1716 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67,
1717 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73,
1718 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
1719 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d,
1720 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f,
1721 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72,
1722 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x03, 0x0a,
1723 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f,
1724 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42,
1725 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32,
1726 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32,
1727 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20,
1728 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a,
1729 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28,
1730 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a,
1731 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04,
1732 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x6f,
1733 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52,
1734 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70,
1735 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09,
1736 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74,
1737 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a,
1738 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x70,
1739 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28, 0x06, 0x52,
1740 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x21, 0x0a, 0x0c, 0x6f,
1741 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20, 0x01, 0x28,
1742 0x0f, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x21,
1743 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x0b,
1744 0x20, 0x01, 0x28, 0x10, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36,
1745 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x14,
1746 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d,
1747 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15, 0x20, 0x01,
1748 0x28, 0x01, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1b, 0x0a,
1749 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c,
1750 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70,
1751 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
1752 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xfb, 0x01, 0x0a, 0x05, 0x45, 0x6e,
1753 0x75, 0x6d, 0x73, 0x12, 0x24, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18,
1754 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d,
1755 0x52, 0x07, 0x6f, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x08, 0x72, 0x70, 0x74,
1756 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62,
1757 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12,
1758 0x3d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e,
1759 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45,
1760 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52,
1761 0x0d, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x3d,
1762 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75,
1763 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1764 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0d,
1765 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22, 0x28, 0x0a,
1766 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x55,
1767 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12, 0x08, 0x0a,
1768 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x94, 0x02, 0x0a, 0x07, 0x52, 0x65, 0x70, 0x65,
1769 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18,
1770 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x07, 0x72, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b,
1771 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x03, 0x28,
1772 0x05, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x72,
1773 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08,
1774 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f,
1775 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x70,
1776 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x75,
1777 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72, 0x70, 0x74,
1778 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x66, 0x6c,
1779 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x02, 0x52, 0x08, 0x72, 0x70, 0x74, 0x46, 0x6c,
1780 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c,
1781 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x72, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62,
1782 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
1783 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e,
1784 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09,
1785 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x53,
1786 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f,
Herbie Ong8170d692019-02-13 14:13:21 -08001787 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70,
1788 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e,
1789 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62,
1790 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73,
Joe Tsai19058432019-02-27 21:46:29 -08001791 0x74, 0x65, 0x64, 0x22, 0xd3, 0x03, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12, 0x2a, 0x0a,
1792 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
Herbie Ong8170d692019-02-13 14:13:21 -08001793 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09,
Joe Tsai19058432019-02-27 21:46:29 -08001794 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x6f, 0x70, 0x74,
1795 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62,
1796 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70,
1797 0x52, 0x08, 0x6f, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x0a, 0x72, 0x70,
1798 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b,
1799 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72, 0x70, 0x74,
1800 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x67, 0x72, 0x6f,
1801 0x75, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e,
1802 0x65, 0x73, 0x74, 0x73, 0x2e, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x08, 0x72,
1803 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0xd4, 0x01, 0x0a, 0x08, 0x4f, 0x70, 0x74, 0x47,
1804 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69,
1805 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72,
1806 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65,
1807 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65,
1808 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12,
1809 0x4a, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75,
1810 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x22, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65,
1811 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4f, 0x70, 0x74,
1812 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0e, 0x6f, 0x70, 0x74,
1813 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x31, 0x0a, 0x0e, 0x4f,
1814 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1f, 0x0a,
1815 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x01, 0x20, 0x01,
1816 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x1a, 0x29,
1817 0x0a, 0x08, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70,
1818 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09,
1819 0x72, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x65, 0x72,
1820 0x76, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0xd9, 0x01, 0x0a, 0x09, 0x52, 0x65,
1821 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x5f, 0x62,
1822 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x71, 0x42, 0x6f,
1823 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64,
1824 0x36, 0x34, 0x18, 0x02, 0x20, 0x02, 0x28, 0x10, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x53, 0x66, 0x69,
1825 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x64, 0x6f, 0x75,
1826 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x44, 0x6f,
1827 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69,
1828 0x6e, 0x67, 0x18, 0x04, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72,
1829 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18,
1830 0x05, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d,
1831 0x52, 0x07, 0x72, 0x65, 0x71, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x0a, 0x72, 0x65, 0x71,
1832 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1833 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72, 0x65, 0x71, 0x4e,
1834 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4f, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1835 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f,
1836 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65,
1837 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73,
1838 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74,
1839 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x33, 0x0a, 0x12, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1840 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a,
Herbie Ong8170d692019-02-13 14:13:21 -08001841 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09,
Joe Tsai19058432019-02-27 21:46:29 -08001842 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xee, 0x02, 0x0a, 0x10,
1843 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
1844 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01,
1845 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
1846 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x09, 0x6f,
1847 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f,
1848 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70,
1849 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71,
1850 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1851 0x12, 0x4a, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65,
1852 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x49, 0x6e,
1853 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x2e, 0x53,
1854 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
1855 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x0c,
1856 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01,
1857 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57,
1858 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x6f,
1859 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x1a, 0x57, 0x0a, 0x10, 0x53, 0x74,
1860 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
1861 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
1862 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
1863 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68,
1864 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
1865 0x02, 0x38, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0x69, 0x0a, 0x0a,
1866 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70,
1867 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
1868 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70, 0x74,
1869 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x65, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x70, 0x74,
1870 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33,
1871 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33,
1872 0x32, 0x2a, 0x04, 0x08, 0x14, 0x10, 0x65, 0x22, 0xba, 0x03, 0x0a, 0x13, 0x45, 0x78, 0x74, 0x65,
1873 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x32,
1874 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12,
1875 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
1876 0x18, 0x33, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x42, 0x6f,
1877 0x6f, 0x6c, 0x32, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74,
1878 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e,
1879 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x34, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x74,
1880 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74,
1881 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1882 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x35, 0x20, 0x01, 0x28, 0x0e,
1883 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f, 0x70, 0x74,
1884 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65,
1885 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1886 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x36, 0x20, 0x01, 0x28, 0x0b,
1887 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x6f,
1888 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x32, 0x35, 0x0a, 0x0e, 0x72,
1889 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e,
1890 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3d,
1891 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69,
1892 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e,
1893 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1894 0x6f, 0x6e, 0x73, 0x18, 0x3e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1895 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d,
1896 0x32, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74,
1897 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1898 0x6f, 0x6e, 0x73, 0x18, 0x3f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1899 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65,
1900 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
1901 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07, 0x3a, 0x02, 0x08, 0x01,
1902 0x22, 0xb6, 0x02, 0x0a, 0x13, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45,
1903 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f,
1904 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70,
1905 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x5d, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61,
1906 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1907 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65,
1908 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65,
Herbie Ong8170d692019-02-13 14:13:21 -08001909 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
Joe Tsai19058432019-02-27 21:46:29 -08001910 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74,
1911 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x64, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x5f, 0x6d, 0x65,
1912 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73,
1913 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
1914 0x65, 0x53, 0x65, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x32,
1915 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e,
1916 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x6e, 0x6f, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
1917 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x3b, 0x0a, 0x0a,
1918 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32,
1919 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x1e, 0x20, 0x01, 0x28,
1920 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09,
1921 0x65, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0e, 0x46, 0x61, 0x6b,
1922 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10,
1923 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9f, 0x01, 0x0a, 0x17, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65,
1924 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1925 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18,
1926 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1927 0x32, 0x65, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f,
1928 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1929 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x0a,
1930 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d,
1931 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1932 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78,
1933 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xa6, 0x07, 0x0a, 0x0a, 0x4b, 0x6e, 0x6f, 0x77,
1934 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x6f,
1935 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1936 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56,
1937 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x38, 0x0a,
1938 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
1939 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1940 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f,
1941 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69,
1942 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f,
1943 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74,
1944 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36,
1945 0x34, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18,
1946 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
1947 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61,
1948 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x3b,
1949 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01,
1950 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1951 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65,
1952 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x38, 0x0a, 0x09, 0x6f,
1953 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b,
1954 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1955 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74,
1956 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75,
1957 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1958 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75, 0x62,
1959 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62,
1960 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
1961 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1962 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56,
1963 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12,
1964 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01,
1965 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1966 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
1967 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74,
1968 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32,
1969 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1970 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x44,
1971 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f, 0x74,
1972 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
1973 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1974 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x54,
1975 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f,
1976 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67,
1977 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53,
1978 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74,
1979 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x1a, 0x20, 0x01,
1980 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1981 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07,
1982 0x6f, 0x70, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x76,
1983 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
1984 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c,
1985 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x33, 0x0a, 0x09,
1986 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32,
1987 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1988 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x45, 0x6d, 0x70, 0x74,
1989 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x5f, 0x61, 0x6e, 0x79, 0x18, 0x20, 0x20, 0x01,
1990 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1991 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x06, 0x6f, 0x70, 0x74, 0x41, 0x6e, 0x79,
1992 0x2a, 0x21, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10,
1993 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57, 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45,
1994 0x4e, 0x10, 0x0a, 0x3a, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62,
1995 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1996 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45,
1997 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x3a, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78,
1998 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45,
1999 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52,
2000 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3c, 0x0a,
2001 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e,
2002 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x17,
2003 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52,
2004 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x6f,
2005 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e,
2006 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x18,
2007 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
2008 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a,
2009 0x37, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64,
2010 0x33, 0x32, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
2011 0x6f, 0x6e, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28, 0x07, 0x52, 0x0d, 0x72, 0x70, 0x74, 0x45, 0x78,
2012 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x3a, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f,
2013 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45,
2014 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0e, 0x32,
2015 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45,
2016 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78,
2017 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45,
2018 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32,
2019 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70,
2020 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a, 0x61, 0x0a, 0x15, 0x6d, 0x65,
2021 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73,
2022 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
2023 0x65, 0x53, 0x65, 0x74, 0x18, 0x32, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32,
2024 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45,
2025 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
2026 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x37, 0x5a,
2027 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, 0x61,
2028 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f, 0x65,
2029 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74,
2030 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x32,
Herbie Ong8170d692019-02-13 14:13:21 -08002031}
2032
Joe Tsai8e506a82019-03-16 00:05:34 -07002033var xxx_File_pb2_test_proto_rawdesc_gzipped = protoimpl.X.CompressGZIP(xxx_File_pb2_test_proto_rawdesc)
Herbie Ong8170d692019-02-13 14:13:21 -08002034
2035const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
2036
Joe Tsai19058432019-02-27 21:46:29 -08002037var File_pb2_test_proto protoreflect.FileDescriptor
Herbie Ong8170d692019-02-13 14:13:21 -08002038
Damien Neil6bb8dec2019-03-01 13:22:30 -08002039var xxx_File_pb2_test_proto_enumTypes = make([]protoreflect.EnumType, 2)
2040var xxx_File_pb2_test_proto_messageTypes = make([]protoimpl.MessageType, 20)
Joe Tsai19058432019-02-27 21:46:29 -08002041var xxx_File_pb2_test_proto_goTypes = []interface{}{
Herbie Ong8170d692019-02-13 14:13:21 -08002042 (Enum)(0), // 0: pb2.Enum
2043 (Enums_NestedEnum)(0), // 1: pb2.Enums.NestedEnum
2044 (*Scalars)(nil), // 2: pb2.Scalars
2045 (*Enums)(nil), // 3: pb2.Enums
2046 (*Repeats)(nil), // 4: pb2.Repeats
2047 (*Nested)(nil), // 5: pb2.Nested
2048 (*Nests)(nil), // 6: pb2.Nests
2049 (*Requireds)(nil), // 7: pb2.Requireds
2050 (*PartialRequired)(nil), // 8: pb2.PartialRequired
2051 (*NestedWithRequired)(nil), // 9: pb2.NestedWithRequired
2052 (*IndirectRequired)(nil), // 10: pb2.IndirectRequired
2053 (*Extensions)(nil), // 11: pb2.Extensions
2054 (*ExtensionsContainer)(nil), // 12: pb2.ExtensionsContainer
2055 (*MessageSet)(nil), // 13: pb2.MessageSet
2056 (*MessageSetExtension)(nil), // 14: pb2.MessageSetExtension
2057 (*FakeMessageSet)(nil), // 15: pb2.FakeMessageSet
2058 (*FakeMessageSetExtension)(nil), // 16: pb2.FakeMessageSetExtension
2059 (*KnownTypes)(nil), // 17: pb2.KnownTypes
2060 (*Nests_OptGroup)(nil), // 18: pb2.Nests.OptGroup
2061 (*Nests_RptGroup)(nil), // 19: pb2.Nests.RptGroup
2062 (*Nests_OptGroup_OptNestedGroup)(nil), // 20: pb2.Nests.OptGroup.OptNestedGroup
2063 nil, // 21: pb2.IndirectRequired.StrToNestedEntry
Joe Tsai19058432019-02-27 21:46:29 -08002064 (*known.BoolValue)(nil), // 22: google.protobuf.BoolValue
2065 (*known.Int32Value)(nil), // 23: google.protobuf.Int32Value
2066 (*known.Int64Value)(nil), // 24: google.protobuf.Int64Value
2067 (*known.UInt32Value)(nil), // 25: google.protobuf.UInt32Value
2068 (*known.UInt64Value)(nil), // 26: google.protobuf.UInt64Value
2069 (*known.FloatValue)(nil), // 27: google.protobuf.FloatValue
2070 (*known.DoubleValue)(nil), // 28: google.protobuf.DoubleValue
2071 (*known.StringValue)(nil), // 29: google.protobuf.StringValue
2072 (*known.BytesValue)(nil), // 30: google.protobuf.BytesValue
2073 (*known.Duration)(nil), // 31: google.protobuf.Duration
2074 (*known.Timestamp)(nil), // 32: google.protobuf.Timestamp
2075 (*known.Struct)(nil), // 33: google.protobuf.Struct
2076 (*known.ListValue)(nil), // 34: google.protobuf.ListValue
2077 (*known.Value)(nil), // 35: google.protobuf.Value
2078 (*known.Empty)(nil), // 36: google.protobuf.Empty
2079 (*known.Any)(nil), // 37: google.protobuf.Any
Herbie Ong8170d692019-02-13 14:13:21 -08002080}
Joe Tsai19058432019-02-27 21:46:29 -08002081var xxx_File_pb2_test_proto_depIdxs = []int32{
Herbie Ong8170d692019-02-13 14:13:21 -08002082 11, // pb2.opt_ext_bool:extendee -> pb2.Extensions
2083 11, // pb2.opt_ext_string:extendee -> pb2.Extensions
2084 11, // pb2.opt_ext_enum:extendee -> pb2.Extensions
2085 11, // pb2.opt_ext_nested:extendee -> pb2.Extensions
2086 11, // pb2.rpt_ext_fixed32:extendee -> pb2.Extensions
2087 11, // pb2.rpt_ext_enum:extendee -> pb2.Extensions
2088 11, // pb2.rpt_ext_nested:extendee -> pb2.Extensions
2089 13, // pb2.message_set_extension:extendee -> pb2.MessageSet
2090 11, // pb2.ExtensionsContainer.opt_ext_bool:extendee -> pb2.Extensions
2091 11, // pb2.ExtensionsContainer.opt_ext_string:extendee -> pb2.Extensions
2092 11, // pb2.ExtensionsContainer.opt_ext_enum:extendee -> pb2.Extensions
2093 11, // pb2.ExtensionsContainer.opt_ext_nested:extendee -> pb2.Extensions
2094 11, // pb2.ExtensionsContainer.rpt_ext_string:extendee -> pb2.Extensions
2095 11, // pb2.ExtensionsContainer.rpt_ext_enum:extendee -> pb2.Extensions
2096 11, // pb2.ExtensionsContainer.rpt_ext_nested:extendee -> pb2.Extensions
2097 13, // pb2.MessageSetExtension.message_set_extension:extendee -> pb2.MessageSet
2098 13, // pb2.MessageSetExtension.not_message_set_extension:extendee -> pb2.MessageSet
2099 13, // pb2.MessageSetExtension.ext_nested:extendee -> pb2.MessageSet
2100 15, // pb2.FakeMessageSetExtension.message_set_extension:extendee -> pb2.FakeMessageSet
2101 0, // pb2.Enums.opt_enum:type_name -> pb2.Enum
2102 0, // pb2.Enums.rpt_enum:type_name -> pb2.Enum
2103 1, // pb2.Enums.opt_nested_enum:type_name -> pb2.Enums.NestedEnum
2104 1, // pb2.Enums.rpt_nested_enum:type_name -> pb2.Enums.NestedEnum
2105 5, // pb2.Nested.opt_nested:type_name -> pb2.Nested
2106 5, // pb2.Nests.opt_nested:type_name -> pb2.Nested
2107 18, // pb2.Nests.optgroup:type_name -> pb2.Nests.OptGroup
2108 5, // pb2.Nests.rpt_nested:type_name -> pb2.Nested
2109 19, // pb2.Nests.rptgroup:type_name -> pb2.Nests.RptGroup
2110 0, // pb2.Requireds.req_enum:type_name -> pb2.Enum
2111 5, // pb2.Requireds.req_nested:type_name -> pb2.Nested
2112 9, // pb2.IndirectRequired.opt_nested:type_name -> pb2.NestedWithRequired
2113 9, // pb2.IndirectRequired.rpt_nested:type_name -> pb2.NestedWithRequired
2114 21, // pb2.IndirectRequired.str_to_nested:type_name -> pb2.IndirectRequired.StrToNestedEntry
2115 9, // pb2.IndirectRequired.oneof_nested:type_name -> pb2.NestedWithRequired
2116 22, // pb2.KnownTypes.opt_bool:type_name -> google.protobuf.BoolValue
2117 23, // pb2.KnownTypes.opt_int32:type_name -> google.protobuf.Int32Value
2118 24, // pb2.KnownTypes.opt_int64:type_name -> google.protobuf.Int64Value
2119 25, // pb2.KnownTypes.opt_uint32:type_name -> google.protobuf.UInt32Value
2120 26, // pb2.KnownTypes.opt_uint64:type_name -> google.protobuf.UInt64Value
2121 27, // pb2.KnownTypes.opt_float:type_name -> google.protobuf.FloatValue
2122 28, // pb2.KnownTypes.opt_double:type_name -> google.protobuf.DoubleValue
2123 29, // pb2.KnownTypes.opt_string:type_name -> google.protobuf.StringValue
2124 30, // pb2.KnownTypes.opt_bytes:type_name -> google.protobuf.BytesValue
2125 31, // pb2.KnownTypes.opt_duration:type_name -> google.protobuf.Duration
2126 32, // pb2.KnownTypes.opt_timestamp:type_name -> google.protobuf.Timestamp
2127 33, // pb2.KnownTypes.opt_struct:type_name -> google.protobuf.Struct
2128 34, // pb2.KnownTypes.opt_list:type_name -> google.protobuf.ListValue
2129 35, // pb2.KnownTypes.opt_value:type_name -> google.protobuf.Value
2130 36, // pb2.KnownTypes.opt_empty:type_name -> google.protobuf.Empty
2131 37, // pb2.KnownTypes.opt_any:type_name -> google.protobuf.Any
2132 5, // pb2.Nests.OptGroup.opt_nested:type_name -> pb2.Nested
2133 20, // pb2.Nests.OptGroup.optnestedgroup:type_name -> pb2.Nests.OptGroup.OptNestedGroup
2134 9, // pb2.IndirectRequired.StrToNestedEntry.value:type_name -> pb2.NestedWithRequired
2135 0, // pb2.opt_ext_enum:type_name -> pb2.Enum
2136 5, // pb2.opt_ext_nested:type_name -> pb2.Nested
2137 0, // pb2.rpt_ext_enum:type_name -> pb2.Enum
2138 5, // pb2.rpt_ext_nested:type_name -> pb2.Nested
2139 16, // pb2.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2140 0, // pb2.ExtensionsContainer.opt_ext_enum:type_name -> pb2.Enum
2141 5, // pb2.ExtensionsContainer.opt_ext_nested:type_name -> pb2.Nested
2142 0, // pb2.ExtensionsContainer.rpt_ext_enum:type_name -> pb2.Enum
2143 5, // pb2.ExtensionsContainer.rpt_ext_nested:type_name -> pb2.Nested
2144 14, // pb2.MessageSetExtension.message_set_extension:type_name -> pb2.MessageSetExtension
2145 14, // pb2.MessageSetExtension.not_message_set_extension:type_name -> pb2.MessageSetExtension
2146 5, // pb2.MessageSetExtension.ext_nested:type_name -> pb2.Nested
2147 16, // pb2.FakeMessageSetExtension.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2148}
2149
Damien Neil0fc22452019-03-08 17:18:11 -08002150func init() { xxx_File_pb2_test_proto_init() }
2151func xxx_File_pb2_test_proto_init() {
2152 if File_pb2_test_proto != nil {
2153 return
2154 }
Damien Neil6bb8dec2019-03-01 13:22:30 -08002155 messageTypes := make([]protoreflect.MessageType, 20)
2156 extensionTypes := make([]protoreflect.ExtensionType, 19)
Joe Tsai19058432019-02-27 21:46:29 -08002157 File_pb2_test_proto = protoimpl.FileBuilder{
2158 RawDescriptor: xxx_File_pb2_test_proto_rawdesc,
2159 GoTypes: xxx_File_pb2_test_proto_goTypes,
2160 DependencyIndexes: xxx_File_pb2_test_proto_depIdxs,
Joe Tsaiafb455e2019-03-14 16:08:22 -07002161 LegacyExtensions: xxx_File_pb2_test_proto_extDescs,
Damien Neil6bb8dec2019-03-01 13:22:30 -08002162 EnumOutputTypes: xxx_File_pb2_test_proto_enumTypes,
2163 MessageOutputTypes: messageTypes,
2164 ExtensionOutputTypes: extensionTypes,
Herbie Ong8170d692019-02-13 14:13:21 -08002165 }.Init()
Joe Tsai19058432019-02-27 21:46:29 -08002166 messageGoTypes := xxx_File_pb2_test_proto_goTypes[2:][:20]
Damien Neil6bb8dec2019-03-01 13:22:30 -08002167 for i, mt := range messageTypes {
Joe Tsai19058432019-02-27 21:46:29 -08002168 xxx_File_pb2_test_proto_messageTypes[i].GoType = reflect.TypeOf(messageGoTypes[i])
2169 xxx_File_pb2_test_proto_messageTypes[i].PBType = mt
Herbie Ong8170d692019-02-13 14:13:21 -08002170 }
Joe Tsai19058432019-02-27 21:46:29 -08002171 xxx_File_pb2_test_proto_goTypes = nil
2172 xxx_File_pb2_test_proto_depIdxs = nil
Herbie Ong8170d692019-02-13 14:13:21 -08002173}