blob: 1cadf0959f28edfac328a0f5be2317b3390426f8 [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 (
Damien Neile89e6242019-05-13 23:55:40 -07007 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
Joe Tsaid8881392019-06-06 13:01:53 -07008 prototype "google.golang.org/protobuf/reflect/prototype"
Damien Neile89e6242019-05-13 23:55:40 -07009 protoiface "google.golang.org/protobuf/runtime/protoiface"
10 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
Joe Tsaia95b29f2019-05-16 12:47:20 -070011 anypb "google.golang.org/protobuf/types/known/anypb"
12 durationpb "google.golang.org/protobuf/types/known/durationpb"
13 emptypb "google.golang.org/protobuf/types/known/emptypb"
14 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
15 structpb "google.golang.org/protobuf/types/known/structpb"
16 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
17 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
Joe Tsai5d72cc22019-03-28 01:13:26 -070018 sync "sync"
Herbie Ong8170d692019-02-13 14:13:21 -080019)
20
Joe Tsai58b42d82019-05-22 16:27:51 -040021const (
22 // Verify that runtime/protoimpl is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 0)
24 // Verify that this generated code is sufficiently up-to-date.
25 _ = protoimpl.EnforceVersion(0 - protoimpl.MinVersion)
26)
Joe Tsai5d72cc22019-03-28 01:13:26 -070027
Herbie Ong8170d692019-02-13 14:13:21 -080028type Enum int32
29
30const (
31 Enum_ONE Enum = 1
32 Enum_TWO Enum = 2
33 Enum_TEN Enum = 10
34)
35
Herbie Ong8170d692019-02-13 14:13:21 -080036var Enum_name = map[int32]string{
37 1: "ONE",
38 2: "TWO",
39 10: "TEN",
40}
41
42var Enum_value = map[string]int32{
43 "ONE": 1,
44 "TWO": 2,
45 "TEN": 10,
46}
47
48func (x Enum) Enum() *Enum {
Joe Tsai09b5b462019-04-10 15:29:01 -070049 p := new(Enum)
50 *p = x
51 return p
Herbie Ong8170d692019-02-13 14:13:21 -080052}
53
54func (x Enum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -070055 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -080056}
57
Joe Tsai0fc49f82019-05-01 12:29:25 -070058func (Enum) Descriptor() protoreflect.EnumDescriptor {
Joe Tsaid8881392019-06-06 13:01:53 -070059 return file_pb2_test_proto_enumTypes[0].EnumDescriptor
Joe Tsai0fc49f82019-05-01 12:29:25 -070060}
61
Joe Tsai61968ce2019-04-01 12:59:24 -070062func (x Enum) Number() protoreflect.EnumNumber {
63 return protoreflect.EnumNumber(x)
64}
65
Joe Tsai8e506a82019-03-16 00:05:34 -070066// Deprecated: Do not use.
67func (x *Enum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -070068 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -080069 if err != nil {
70 return err
71 }
Joe Tsai8e506a82019-03-16 00:05:34 -070072 *x = Enum(num)
Herbie Ong8170d692019-02-13 14:13:21 -080073 return nil
74}
75
Joe Tsai8e506a82019-03-16 00:05:34 -070076// Deprecated: Use Enum.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -080077func (Enum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -070078 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -080079}
80
81type Enums_NestedEnum int32
82
83const (
84 Enums_UNO Enums_NestedEnum = 1
85 Enums_DOS Enums_NestedEnum = 2
86 Enums_DIEZ Enums_NestedEnum = 10
87)
88
Herbie Ong8170d692019-02-13 14:13:21 -080089var Enums_NestedEnum_name = map[int32]string{
90 1: "UNO",
91 2: "DOS",
92 10: "DIEZ",
93}
94
95var Enums_NestedEnum_value = map[string]int32{
96 "UNO": 1,
97 "DOS": 2,
98 "DIEZ": 10,
99}
100
101func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
Joe Tsai09b5b462019-04-10 15:29:01 -0700102 p := new(Enums_NestedEnum)
103 *p = x
104 return p
Herbie Ong8170d692019-02-13 14:13:21 -0800105}
106
107func (x Enums_NestedEnum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700108 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -0800109}
110
Joe Tsai0fc49f82019-05-01 12:29:25 -0700111func (Enums_NestedEnum) Descriptor() protoreflect.EnumDescriptor {
Joe Tsaid8881392019-06-06 13:01:53 -0700112 return file_pb2_test_proto_enumTypes[1].EnumDescriptor
Joe Tsai0fc49f82019-05-01 12:29:25 -0700113}
114
Joe Tsai61968ce2019-04-01 12:59:24 -0700115func (x Enums_NestedEnum) Number() protoreflect.EnumNumber {
116 return protoreflect.EnumNumber(x)
117}
118
Joe Tsai8e506a82019-03-16 00:05:34 -0700119// Deprecated: Do not use.
120func (x *Enums_NestedEnum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700121 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -0800122 if err != nil {
123 return err
124 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700125 *x = Enums_NestedEnum(num)
Herbie Ong8170d692019-02-13 14:13:21 -0800126 return nil
127}
128
Joe Tsai8e506a82019-03-16 00:05:34 -0700129// Deprecated: Use Enums_NestedEnum.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800130func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700131 return file_pb2_test_proto_rawDescGZIP(), []int{1, 0}
Herbie Ong8170d692019-02-13 14:13:21 -0800132}
133
134// Scalars contains optional scalar fields.
135type Scalars struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700136 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700137 OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
138 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
139 OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
140 OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
141 OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
142 OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"`
143 OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"`
144 OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
145 OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"`
146 OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"`
147 OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"`
148 OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
149 OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
150 OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
151 OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
152 sizeCache protoimpl.SizeCache
153 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800154}
155
Joe Tsai61968ce2019-04-01 12:59:24 -0700156func (x *Scalars) Reset() {
157 *x = Scalars{}
Herbie Ong8170d692019-02-13 14:13:21 -0800158}
Joe Tsai61968ce2019-04-01 12:59:24 -0700159
160func (x *Scalars) String() string {
161 return protoimpl.X.MessageStringOf(x)
162}
163
164func (*Scalars) ProtoMessage() {}
165
166func (x *Scalars) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700167 mi := &file_pb2_test_proto_msgTypes[0]
168 if protoimpl.UnsafeEnabled && x != nil {
169 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
170 if ms.LoadMessageInfo() == nil {
171 ms.StoreMessageInfo(mi)
172 }
173 return ms
174 }
175 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700176}
Joe Tsai8e506a82019-03-16 00:05:34 -0700177
Joe Tsai82760ce2019-06-20 03:09:57 -0700178func (x *Scalars) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700179 return file_pb2_test_proto_msgTypes[0].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700180}
181
Joe Tsai8e506a82019-03-16 00:05:34 -0700182// Deprecated: Use Scalars.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800183func (*Scalars) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700184 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -0800185}
186
Joe Tsai61968ce2019-04-01 12:59:24 -0700187func (x *Scalars) GetOptBool() bool {
188 if x != nil && x.OptBool != nil {
189 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800190 }
191 return false
192}
193
Joe Tsai61968ce2019-04-01 12:59:24 -0700194func (x *Scalars) GetOptInt32() int32 {
195 if x != nil && x.OptInt32 != nil {
196 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800197 }
198 return 0
199}
200
Joe Tsai61968ce2019-04-01 12:59:24 -0700201func (x *Scalars) GetOptInt64() int64 {
202 if x != nil && x.OptInt64 != nil {
203 return *x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800204 }
205 return 0
206}
207
Joe Tsai61968ce2019-04-01 12:59:24 -0700208func (x *Scalars) GetOptUint32() uint32 {
209 if x != nil && x.OptUint32 != nil {
210 return *x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800211 }
212 return 0
213}
214
Joe Tsai61968ce2019-04-01 12:59:24 -0700215func (x *Scalars) GetOptUint64() uint64 {
216 if x != nil && x.OptUint64 != nil {
217 return *x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800218 }
219 return 0
220}
221
Joe Tsai61968ce2019-04-01 12:59:24 -0700222func (x *Scalars) GetOptSint32() int32 {
223 if x != nil && x.OptSint32 != nil {
224 return *x.OptSint32
Herbie Ong8170d692019-02-13 14:13:21 -0800225 }
226 return 0
227}
228
Joe Tsai61968ce2019-04-01 12:59:24 -0700229func (x *Scalars) GetOptSint64() int64 {
230 if x != nil && x.OptSint64 != nil {
231 return *x.OptSint64
Herbie Ong8170d692019-02-13 14:13:21 -0800232 }
233 return 0
234}
235
Joe Tsai61968ce2019-04-01 12:59:24 -0700236func (x *Scalars) GetOptFixed32() uint32 {
237 if x != nil && x.OptFixed32 != nil {
238 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800239 }
240 return 0
241}
242
Joe Tsai61968ce2019-04-01 12:59:24 -0700243func (x *Scalars) GetOptFixed64() uint64 {
244 if x != nil && x.OptFixed64 != nil {
245 return *x.OptFixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800246 }
247 return 0
248}
249
Joe Tsai61968ce2019-04-01 12:59:24 -0700250func (x *Scalars) GetOptSfixed32() int32 {
251 if x != nil && x.OptSfixed32 != nil {
252 return *x.OptSfixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800253 }
254 return 0
255}
256
Joe Tsai61968ce2019-04-01 12:59:24 -0700257func (x *Scalars) GetOptSfixed64() int64 {
258 if x != nil && x.OptSfixed64 != nil {
259 return *x.OptSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800260 }
261 return 0
262}
263
Joe Tsai61968ce2019-04-01 12:59:24 -0700264func (x *Scalars) GetOptFloat() float32 {
265 if x != nil && x.OptFloat != nil {
266 return *x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800267 }
268 return 0
269}
270
Joe Tsai61968ce2019-04-01 12:59:24 -0700271func (x *Scalars) GetOptDouble() float64 {
272 if x != nil && x.OptDouble != nil {
273 return *x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800274 }
275 return 0
276}
277
Joe Tsai61968ce2019-04-01 12:59:24 -0700278func (x *Scalars) GetOptBytes() []byte {
279 if x != nil {
280 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800281 }
282 return nil
283}
284
Joe Tsai61968ce2019-04-01 12:59:24 -0700285func (x *Scalars) GetOptString() string {
286 if x != nil && x.OptString != nil {
287 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800288 }
289 return ""
290}
291
292// Message contains enum fields.
293type Enums struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700294 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700295 OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
296 RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"`
297 OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
298 RptNestedEnum []Enums_NestedEnum `protobuf:"varint,4,rep,name=rpt_nested_enum,json=rptNestedEnum,enum=pb2.Enums_NestedEnum" json:"rpt_nested_enum,omitempty"`
299 sizeCache protoimpl.SizeCache
300 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800301}
302
Joe Tsai61968ce2019-04-01 12:59:24 -0700303func (x *Enums) Reset() {
304 *x = Enums{}
Herbie Ong8170d692019-02-13 14:13:21 -0800305}
Joe Tsai61968ce2019-04-01 12:59:24 -0700306
307func (x *Enums) String() string {
308 return protoimpl.X.MessageStringOf(x)
309}
310
311func (*Enums) ProtoMessage() {}
312
313func (x *Enums) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700314 mi := &file_pb2_test_proto_msgTypes[1]
315 if protoimpl.UnsafeEnabled && x != nil {
316 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
317 if ms.LoadMessageInfo() == nil {
318 ms.StoreMessageInfo(mi)
319 }
320 return ms
321 }
322 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700323}
Joe Tsai8e506a82019-03-16 00:05:34 -0700324
Joe Tsai82760ce2019-06-20 03:09:57 -0700325func (x *Enums) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700326 return file_pb2_test_proto_msgTypes[1].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700327}
328
Joe Tsai8e506a82019-03-16 00:05:34 -0700329// Deprecated: Use Enums.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800330func (*Enums) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700331 return file_pb2_test_proto_rawDescGZIP(), []int{1}
Herbie Ong8170d692019-02-13 14:13:21 -0800332}
333
Joe Tsai61968ce2019-04-01 12:59:24 -0700334func (x *Enums) GetOptEnum() Enum {
335 if x != nil && x.OptEnum != nil {
336 return *x.OptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800337 }
338 return Enum_ONE
339}
340
Joe Tsai61968ce2019-04-01 12:59:24 -0700341func (x *Enums) GetRptEnum() []Enum {
342 if x != nil {
343 return x.RptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800344 }
345 return nil
346}
347
Joe Tsai61968ce2019-04-01 12:59:24 -0700348func (x *Enums) GetOptNestedEnum() Enums_NestedEnum {
349 if x != nil && x.OptNestedEnum != nil {
350 return *x.OptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800351 }
352 return Enums_UNO
353}
354
Joe Tsai61968ce2019-04-01 12:59:24 -0700355func (x *Enums) GetRptNestedEnum() []Enums_NestedEnum {
356 if x != nil {
357 return x.RptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800358 }
359 return nil
360}
361
362// Message contains repeated fields.
363type Repeats struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700364 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700365 RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
366 RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"`
367 RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"`
368 RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"`
369 RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"`
370 RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"`
371 RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"`
372 RptString []string `protobuf:"bytes,8,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
373 RptBytes [][]byte `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
374 sizeCache protoimpl.SizeCache
375 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800376}
377
Joe Tsai61968ce2019-04-01 12:59:24 -0700378func (x *Repeats) Reset() {
379 *x = Repeats{}
Herbie Ong8170d692019-02-13 14:13:21 -0800380}
Joe Tsai61968ce2019-04-01 12:59:24 -0700381
382func (x *Repeats) String() string {
383 return protoimpl.X.MessageStringOf(x)
384}
385
386func (*Repeats) ProtoMessage() {}
387
388func (x *Repeats) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700389 mi := &file_pb2_test_proto_msgTypes[2]
390 if protoimpl.UnsafeEnabled && x != nil {
391 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
392 if ms.LoadMessageInfo() == nil {
393 ms.StoreMessageInfo(mi)
394 }
395 return ms
396 }
397 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700398}
Joe Tsai8e506a82019-03-16 00:05:34 -0700399
Joe Tsai82760ce2019-06-20 03:09:57 -0700400func (x *Repeats) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700401 return file_pb2_test_proto_msgTypes[2].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700402}
403
Joe Tsai8e506a82019-03-16 00:05:34 -0700404// Deprecated: Use Repeats.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800405func (*Repeats) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700406 return file_pb2_test_proto_rawDescGZIP(), []int{2}
Herbie Ong8170d692019-02-13 14:13:21 -0800407}
408
Joe Tsai61968ce2019-04-01 12:59:24 -0700409func (x *Repeats) GetRptBool() []bool {
410 if x != nil {
411 return x.RptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800412 }
413 return nil
414}
415
Joe Tsai61968ce2019-04-01 12:59:24 -0700416func (x *Repeats) GetRptInt32() []int32 {
417 if x != nil {
418 return x.RptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800419 }
420 return nil
421}
422
Joe Tsai61968ce2019-04-01 12:59:24 -0700423func (x *Repeats) GetRptInt64() []int64 {
424 if x != nil {
425 return x.RptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800426 }
427 return nil
428}
429
Joe Tsai61968ce2019-04-01 12:59:24 -0700430func (x *Repeats) GetRptUint32() []uint32 {
431 if x != nil {
432 return x.RptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800433 }
434 return nil
435}
436
Joe Tsai61968ce2019-04-01 12:59:24 -0700437func (x *Repeats) GetRptUint64() []uint64 {
438 if x != nil {
439 return x.RptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800440 }
441 return nil
442}
443
Joe Tsai61968ce2019-04-01 12:59:24 -0700444func (x *Repeats) GetRptFloat() []float32 {
445 if x != nil {
446 return x.RptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800447 }
448 return nil
449}
450
Joe Tsai61968ce2019-04-01 12:59:24 -0700451func (x *Repeats) GetRptDouble() []float64 {
452 if x != nil {
453 return x.RptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800454 }
455 return nil
456}
457
Joe Tsai61968ce2019-04-01 12:59:24 -0700458func (x *Repeats) GetRptString() []string {
459 if x != nil {
460 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -0800461 }
462 return nil
463}
464
Joe Tsai61968ce2019-04-01 12:59:24 -0700465func (x *Repeats) GetRptBytes() [][]byte {
466 if x != nil {
467 return x.RptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800468 }
469 return nil
470}
471
472// Message type used as submessage.
473type Nested struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700474 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700475 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
476 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
477 sizeCache protoimpl.SizeCache
478 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800479}
480
Joe Tsai61968ce2019-04-01 12:59:24 -0700481func (x *Nested) Reset() {
482 *x = Nested{}
Herbie Ong8170d692019-02-13 14:13:21 -0800483}
Joe Tsai61968ce2019-04-01 12:59:24 -0700484
485func (x *Nested) String() string {
486 return protoimpl.X.MessageStringOf(x)
487}
488
489func (*Nested) ProtoMessage() {}
490
491func (x *Nested) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700492 mi := &file_pb2_test_proto_msgTypes[3]
493 if protoimpl.UnsafeEnabled && x != nil {
494 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
495 if ms.LoadMessageInfo() == nil {
496 ms.StoreMessageInfo(mi)
497 }
498 return ms
499 }
500 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700501}
Joe Tsai8e506a82019-03-16 00:05:34 -0700502
Joe Tsai82760ce2019-06-20 03:09:57 -0700503func (x *Nested) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700504 return file_pb2_test_proto_msgTypes[3].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700505}
506
Joe Tsai8e506a82019-03-16 00:05:34 -0700507// Deprecated: Use Nested.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800508func (*Nested) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700509 return file_pb2_test_proto_rawDescGZIP(), []int{3}
Herbie Ong8170d692019-02-13 14:13:21 -0800510}
511
Joe Tsai61968ce2019-04-01 12:59:24 -0700512func (x *Nested) GetOptString() string {
513 if x != nil && x.OptString != nil {
514 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800515 }
516 return ""
517}
518
Joe Tsai61968ce2019-04-01 12:59:24 -0700519func (x *Nested) GetOptNested() *Nested {
520 if x != nil {
521 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800522 }
523 return nil
524}
525
526// Message contains message and group fields.
527type Nests struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700528 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700529 OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
530 Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"`
531 RptNested []*Nested `protobuf:"bytes,4,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
532 Rptgroup []*Nests_RptGroup `protobuf:"group,5,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
533 sizeCache protoimpl.SizeCache
534 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800535}
536
Joe Tsai61968ce2019-04-01 12:59:24 -0700537func (x *Nests) Reset() {
538 *x = Nests{}
Herbie Ong8170d692019-02-13 14:13:21 -0800539}
Joe Tsai61968ce2019-04-01 12:59:24 -0700540
541func (x *Nests) String() string {
542 return protoimpl.X.MessageStringOf(x)
543}
544
545func (*Nests) ProtoMessage() {}
546
547func (x *Nests) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700548 mi := &file_pb2_test_proto_msgTypes[4]
549 if protoimpl.UnsafeEnabled && x != nil {
550 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
551 if ms.LoadMessageInfo() == nil {
552 ms.StoreMessageInfo(mi)
553 }
554 return ms
555 }
556 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700557}
Joe Tsai8e506a82019-03-16 00:05:34 -0700558
Joe Tsai82760ce2019-06-20 03:09:57 -0700559func (x *Nests) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700560 return file_pb2_test_proto_msgTypes[4].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700561}
562
Joe Tsai8e506a82019-03-16 00:05:34 -0700563// Deprecated: Use Nests.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800564func (*Nests) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700565 return file_pb2_test_proto_rawDescGZIP(), []int{4}
Herbie Ong8170d692019-02-13 14:13:21 -0800566}
567
Joe Tsai61968ce2019-04-01 12:59:24 -0700568func (x *Nests) GetOptNested() *Nested {
569 if x != nil {
570 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800571 }
572 return nil
573}
574
Joe Tsai61968ce2019-04-01 12:59:24 -0700575func (x *Nests) GetOptgroup() *Nests_OptGroup {
576 if x != nil {
577 return x.Optgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800578 }
579 return nil
580}
581
Joe Tsai61968ce2019-04-01 12:59:24 -0700582func (x *Nests) GetRptNested() []*Nested {
583 if x != nil {
584 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800585 }
586 return nil
587}
588
Joe Tsai61968ce2019-04-01 12:59:24 -0700589func (x *Nests) GetRptgroup() []*Nests_RptGroup {
590 if x != nil {
591 return x.Rptgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800592 }
593 return nil
594}
595
596// Message contains required fields.
597type Requireds struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700598 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700599 ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"`
600 ReqSfixed64 *int64 `protobuf:"fixed64,2,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"`
601 ReqDouble *float64 `protobuf:"fixed64,3,req,name=req_double,json=reqDouble" json:"req_double,omitempty"`
602 ReqString *string `protobuf:"bytes,4,req,name=req_string,json=reqString" json:"req_string,omitempty"`
603 ReqEnum *Enum `protobuf:"varint,5,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
604 ReqNested *Nested `protobuf:"bytes,6,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
605 sizeCache protoimpl.SizeCache
606 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800607}
608
Joe Tsai61968ce2019-04-01 12:59:24 -0700609func (x *Requireds) Reset() {
610 *x = Requireds{}
Herbie Ong8170d692019-02-13 14:13:21 -0800611}
Joe Tsai61968ce2019-04-01 12:59:24 -0700612
613func (x *Requireds) String() string {
614 return protoimpl.X.MessageStringOf(x)
615}
616
617func (*Requireds) ProtoMessage() {}
618
619func (x *Requireds) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700620 mi := &file_pb2_test_proto_msgTypes[5]
621 if protoimpl.UnsafeEnabled && x != nil {
622 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
623 if ms.LoadMessageInfo() == nil {
624 ms.StoreMessageInfo(mi)
625 }
626 return ms
627 }
628 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700629}
Joe Tsai8e506a82019-03-16 00:05:34 -0700630
Joe Tsai82760ce2019-06-20 03:09:57 -0700631func (x *Requireds) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700632 return file_pb2_test_proto_msgTypes[5].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700633}
634
Joe Tsai8e506a82019-03-16 00:05:34 -0700635// Deprecated: Use Requireds.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800636func (*Requireds) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700637 return file_pb2_test_proto_rawDescGZIP(), []int{5}
Herbie Ong8170d692019-02-13 14:13:21 -0800638}
639
Joe Tsai61968ce2019-04-01 12:59:24 -0700640func (x *Requireds) GetReqBool() bool {
641 if x != nil && x.ReqBool != nil {
642 return *x.ReqBool
Herbie Ong8170d692019-02-13 14:13:21 -0800643 }
644 return false
645}
646
Joe Tsai61968ce2019-04-01 12:59:24 -0700647func (x *Requireds) GetReqSfixed64() int64 {
648 if x != nil && x.ReqSfixed64 != nil {
649 return *x.ReqSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800650 }
651 return 0
652}
653
Joe Tsai61968ce2019-04-01 12:59:24 -0700654func (x *Requireds) GetReqDouble() float64 {
655 if x != nil && x.ReqDouble != nil {
656 return *x.ReqDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800657 }
658 return 0
659}
660
Joe Tsai61968ce2019-04-01 12:59:24 -0700661func (x *Requireds) GetReqString() string {
662 if x != nil && x.ReqString != nil {
663 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800664 }
665 return ""
666}
667
Joe Tsai61968ce2019-04-01 12:59:24 -0700668func (x *Requireds) GetReqEnum() Enum {
669 if x != nil && x.ReqEnum != nil {
670 return *x.ReqEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800671 }
672 return Enum_ONE
673}
674
Joe Tsai61968ce2019-04-01 12:59:24 -0700675func (x *Requireds) GetReqNested() *Nested {
676 if x != nil {
677 return x.ReqNested
Herbie Ong8170d692019-02-13 14:13:21 -0800678 }
679 return nil
680}
681
682// Message contains both required and optional fields.
683type PartialRequired struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700684 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700685 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
686 OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
687 sizeCache protoimpl.SizeCache
688 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800689}
690
Joe Tsai61968ce2019-04-01 12:59:24 -0700691func (x *PartialRequired) Reset() {
692 *x = PartialRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800693}
Joe Tsai61968ce2019-04-01 12:59:24 -0700694
695func (x *PartialRequired) String() string {
696 return protoimpl.X.MessageStringOf(x)
697}
698
699func (*PartialRequired) ProtoMessage() {}
700
701func (x *PartialRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700702 mi := &file_pb2_test_proto_msgTypes[6]
703 if protoimpl.UnsafeEnabled && x != nil {
704 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
705 if ms.LoadMessageInfo() == nil {
706 ms.StoreMessageInfo(mi)
707 }
708 return ms
709 }
710 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700711}
Joe Tsai8e506a82019-03-16 00:05:34 -0700712
Joe Tsai82760ce2019-06-20 03:09:57 -0700713func (x *PartialRequired) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700714 return file_pb2_test_proto_msgTypes[6].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700715}
716
Joe Tsai8e506a82019-03-16 00:05:34 -0700717// Deprecated: Use PartialRequired.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800718func (*PartialRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700719 return file_pb2_test_proto_rawDescGZIP(), []int{6}
Herbie Ong8170d692019-02-13 14:13:21 -0800720}
721
Joe Tsai61968ce2019-04-01 12:59:24 -0700722func (x *PartialRequired) GetReqString() string {
723 if x != nil && x.ReqString != nil {
724 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800725 }
726 return ""
727}
728
Joe Tsai61968ce2019-04-01 12:59:24 -0700729func (x *PartialRequired) GetOptString() string {
730 if x != nil && x.OptString != nil {
731 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800732 }
733 return ""
734}
735
736type NestedWithRequired struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700737 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700738 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
739 sizeCache protoimpl.SizeCache
740 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800741}
742
Joe Tsai61968ce2019-04-01 12:59:24 -0700743func (x *NestedWithRequired) Reset() {
744 *x = NestedWithRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800745}
Joe Tsai61968ce2019-04-01 12:59:24 -0700746
747func (x *NestedWithRequired) String() string {
748 return protoimpl.X.MessageStringOf(x)
749}
750
751func (*NestedWithRequired) ProtoMessage() {}
752
753func (x *NestedWithRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700754 mi := &file_pb2_test_proto_msgTypes[7]
755 if protoimpl.UnsafeEnabled && x != nil {
756 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
757 if ms.LoadMessageInfo() == nil {
758 ms.StoreMessageInfo(mi)
759 }
760 return ms
761 }
762 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700763}
Joe Tsai8e506a82019-03-16 00:05:34 -0700764
Joe Tsai82760ce2019-06-20 03:09:57 -0700765func (x *NestedWithRequired) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700766 return file_pb2_test_proto_msgTypes[7].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700767}
768
Joe Tsai8e506a82019-03-16 00:05:34 -0700769// Deprecated: Use NestedWithRequired.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800770func (*NestedWithRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700771 return file_pb2_test_proto_rawDescGZIP(), []int{7}
Herbie Ong8170d692019-02-13 14:13:21 -0800772}
773
Joe Tsai61968ce2019-04-01 12:59:24 -0700774func (x *NestedWithRequired) GetReqString() string {
775 if x != nil && x.ReqString != nil {
776 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800777 }
778 return ""
779}
780
781type IndirectRequired struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700782 state protoimpl.MessageState
Herbie Ong8170d692019-02-13 14:13:21 -0800783 OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
784 RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
785 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"`
786 // Types that are valid to be assigned to Union:
787 // *IndirectRequired_OneofNested
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700788 Union isIndirectRequired_Union `protobuf_oneof:"union"`
789 sizeCache protoimpl.SizeCache
790 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800791}
792
Joe Tsai61968ce2019-04-01 12:59:24 -0700793func (x *IndirectRequired) Reset() {
794 *x = IndirectRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800795}
Joe Tsai61968ce2019-04-01 12:59:24 -0700796
797func (x *IndirectRequired) String() string {
798 return protoimpl.X.MessageStringOf(x)
799}
800
801func (*IndirectRequired) ProtoMessage() {}
802
803func (x *IndirectRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700804 mi := &file_pb2_test_proto_msgTypes[8]
805 if protoimpl.UnsafeEnabled && x != nil {
806 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
807 if ms.LoadMessageInfo() == nil {
808 ms.StoreMessageInfo(mi)
809 }
810 return ms
811 }
812 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700813}
Joe Tsai8e506a82019-03-16 00:05:34 -0700814
Joe Tsai82760ce2019-06-20 03:09:57 -0700815func (x *IndirectRequired) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700816 return file_pb2_test_proto_msgTypes[8].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700817}
818
Joe Tsai8e506a82019-03-16 00:05:34 -0700819// Deprecated: Use IndirectRequired.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800820func (*IndirectRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700821 return file_pb2_test_proto_rawDescGZIP(), []int{8}
Herbie Ong8170d692019-02-13 14:13:21 -0800822}
823
Joe Tsai61968ce2019-04-01 12:59:24 -0700824func (x *IndirectRequired) GetOptNested() *NestedWithRequired {
825 if x != nil {
826 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800827 }
828 return nil
829}
830
Joe Tsai61968ce2019-04-01 12:59:24 -0700831func (x *IndirectRequired) GetRptNested() []*NestedWithRequired {
832 if x != nil {
833 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800834 }
835 return nil
836}
837
Joe Tsai61968ce2019-04-01 12:59:24 -0700838func (x *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired {
839 if x != nil {
840 return x.StrToNested
Herbie Ong8170d692019-02-13 14:13:21 -0800841 }
842 return nil
843}
844
Herbie Ong8170d692019-02-13 14:13:21 -0800845func (m *IndirectRequired) GetUnion() isIndirectRequired_Union {
846 if m != nil {
847 return m.Union
848 }
849 return nil
850}
851
Joe Tsai61968ce2019-04-01 12:59:24 -0700852func (x *IndirectRequired) GetOneofNested() *NestedWithRequired {
853 if x, ok := x.GetUnion().(*IndirectRequired_OneofNested); ok {
Herbie Ong8170d692019-02-13 14:13:21 -0800854 return x.OneofNested
855 }
856 return nil
857}
858
Joe Tsai872b5002019-04-08 14:03:15 -0700859type isIndirectRequired_Union interface {
860 isIndirectRequired_Union()
861}
862
863type IndirectRequired_OneofNested struct {
864 OneofNested *NestedWithRequired `protobuf:"bytes,4,opt,name=oneof_nested,json=oneofNested,oneof"`
865}
866
867func (*IndirectRequired_OneofNested) isIndirectRequired_Union() {}
868
Herbie Ong8170d692019-02-13 14:13:21 -0800869type Extensions struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700870 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700871 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
872 OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
873 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
874 sizeCache protoimpl.SizeCache
875 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -0700876 extensionFields protoimpl.ExtensionFields
Herbie Ong8170d692019-02-13 14:13:21 -0800877}
878
Joe Tsai61968ce2019-04-01 12:59:24 -0700879func (x *Extensions) Reset() {
880 *x = Extensions{}
Herbie Ong8170d692019-02-13 14:13:21 -0800881}
Joe Tsai61968ce2019-04-01 12:59:24 -0700882
883func (x *Extensions) String() string {
884 return protoimpl.X.MessageStringOf(x)
885}
886
887func (*Extensions) ProtoMessage() {}
888
889func (x *Extensions) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700890 mi := &file_pb2_test_proto_msgTypes[9]
891 if protoimpl.UnsafeEnabled && x != nil {
892 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
893 if ms.LoadMessageInfo() == nil {
894 ms.StoreMessageInfo(mi)
895 }
896 return ms
897 }
898 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700899}
Joe Tsai8e506a82019-03-16 00:05:34 -0700900
Joe Tsai82760ce2019-06-20 03:09:57 -0700901func (x *Extensions) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700902 return file_pb2_test_proto_msgTypes[9].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700903}
904
Joe Tsai8e506a82019-03-16 00:05:34 -0700905// Deprecated: Use Extensions.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800906func (*Extensions) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700907 return file_pb2_test_proto_rawDescGZIP(), []int{9}
Herbie Ong8170d692019-02-13 14:13:21 -0800908}
909
Joe Tsai4fddeba2019-03-20 18:29:32 -0700910var extRange_Extensions = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800911 {Start: 20, End: 100},
912}
913
Joe Tsai8e506a82019-03-16 00:05:34 -0700914// Deprecated: Use Extensions.ProtoReflect.Type.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700915func (*Extensions) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -0800916 return extRange_Extensions
917}
918
Joe Tsai61968ce2019-04-01 12:59:24 -0700919func (x *Extensions) GetOptString() string {
920 if x != nil && x.OptString != nil {
921 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800922 }
923 return ""
924}
925
Joe Tsai61968ce2019-04-01 12:59:24 -0700926func (x *Extensions) GetOptBool() bool {
927 if x != nil && x.OptBool != nil {
928 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800929 }
930 return false
931}
932
Joe Tsai61968ce2019-04-01 12:59:24 -0700933func (x *Extensions) GetOptInt32() int32 {
934 if x != nil && x.OptInt32 != nil {
935 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800936 }
937 return 0
938}
939
940type ExtensionsContainer struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700941 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700942 sizeCache protoimpl.SizeCache
943 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800944}
945
Joe Tsai61968ce2019-04-01 12:59:24 -0700946func (x *ExtensionsContainer) Reset() {
947 *x = ExtensionsContainer{}
Herbie Ong8170d692019-02-13 14:13:21 -0800948}
Joe Tsai61968ce2019-04-01 12:59:24 -0700949
950func (x *ExtensionsContainer) String() string {
951 return protoimpl.X.MessageStringOf(x)
952}
953
954func (*ExtensionsContainer) ProtoMessage() {}
955
956func (x *ExtensionsContainer) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700957 mi := &file_pb2_test_proto_msgTypes[10]
958 if protoimpl.UnsafeEnabled && x != nil {
959 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
960 if ms.LoadMessageInfo() == nil {
961 ms.StoreMessageInfo(mi)
962 }
963 return ms
964 }
965 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700966}
Joe Tsai8e506a82019-03-16 00:05:34 -0700967
Joe Tsai82760ce2019-06-20 03:09:57 -0700968func (x *ExtensionsContainer) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700969 return file_pb2_test_proto_msgTypes[10].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700970}
971
Joe Tsai8e506a82019-03-16 00:05:34 -0700972// Deprecated: Use ExtensionsContainer.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800973func (*ExtensionsContainer) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700974 return file_pb2_test_proto_rawDescGZIP(), []int{10}
Herbie Ong8170d692019-02-13 14:13:21 -0800975}
976
Herbie Ong8170d692019-02-13 14:13:21 -0800977type MessageSet struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700978 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700979 sizeCache protoimpl.SizeCache
980 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -0700981 extensionFields protoimpl.ExtensionFields
Herbie Ong8170d692019-02-13 14:13:21 -0800982}
983
Joe Tsai61968ce2019-04-01 12:59:24 -0700984func (x *MessageSet) Reset() {
985 *x = MessageSet{}
Herbie Ong8170d692019-02-13 14:13:21 -0800986}
Joe Tsai61968ce2019-04-01 12:59:24 -0700987
988func (x *MessageSet) String() string {
989 return protoimpl.X.MessageStringOf(x)
990}
991
992func (*MessageSet) ProtoMessage() {}
993
994func (x *MessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700995 mi := &file_pb2_test_proto_msgTypes[11]
996 if protoimpl.UnsafeEnabled && x != nil {
997 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
998 if ms.LoadMessageInfo() == nil {
999 ms.StoreMessageInfo(mi)
1000 }
1001 return ms
1002 }
1003 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001004}
Joe Tsai8e506a82019-03-16 00:05:34 -07001005
Joe Tsai82760ce2019-06-20 03:09:57 -07001006func (x *MessageSet) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001007 return file_pb2_test_proto_msgTypes[11].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001008}
1009
Joe Tsai8e506a82019-03-16 00:05:34 -07001010// Deprecated: Use MessageSet.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001011func (*MessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001012 return file_pb2_test_proto_rawDescGZIP(), []int{11}
Herbie Ong8170d692019-02-13 14:13:21 -08001013}
1014
Joe Tsai4fddeba2019-03-20 18:29:32 -07001015var extRange_MessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -08001016 {Start: 4, End: 2147483646},
1017}
1018
Joe Tsai8e506a82019-03-16 00:05:34 -07001019// Deprecated: Use MessageSet.ProtoReflect.Type.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -07001020func (*MessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -08001021 return extRange_MessageSet
1022}
1023
Herbie Ong8170d692019-02-13 14:13:21 -08001024type MessageSetExtension struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001025 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001026 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1027 sizeCache protoimpl.SizeCache
1028 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -08001029}
1030
Joe Tsai61968ce2019-04-01 12:59:24 -07001031func (x *MessageSetExtension) Reset() {
1032 *x = MessageSetExtension{}
Herbie Ong8170d692019-02-13 14:13:21 -08001033}
Joe Tsai61968ce2019-04-01 12:59:24 -07001034
1035func (x *MessageSetExtension) String() string {
1036 return protoimpl.X.MessageStringOf(x)
1037}
1038
1039func (*MessageSetExtension) ProtoMessage() {}
1040
1041func (x *MessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001042 mi := &file_pb2_test_proto_msgTypes[12]
1043 if protoimpl.UnsafeEnabled && x != nil {
1044 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1045 if ms.LoadMessageInfo() == nil {
1046 ms.StoreMessageInfo(mi)
1047 }
1048 return ms
1049 }
1050 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001051}
Joe Tsai8e506a82019-03-16 00:05:34 -07001052
Joe Tsai82760ce2019-06-20 03:09:57 -07001053func (x *MessageSetExtension) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001054 return file_pb2_test_proto_msgTypes[12].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001055}
1056
Joe Tsai8e506a82019-03-16 00:05:34 -07001057// Deprecated: Use MessageSetExtension.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001058func (*MessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001059 return file_pb2_test_proto_rawDescGZIP(), []int{12}
Herbie Ong8170d692019-02-13 14:13:21 -08001060}
1061
Joe Tsai61968ce2019-04-01 12:59:24 -07001062func (x *MessageSetExtension) GetOptString() string {
1063 if x != nil && x.OptString != nil {
1064 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001065 }
1066 return ""
1067}
1068
1069type FakeMessageSet struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001070 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001071 sizeCache protoimpl.SizeCache
1072 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001073 extensionFields protoimpl.ExtensionFields
Herbie Ong8170d692019-02-13 14:13:21 -08001074}
1075
Joe Tsai61968ce2019-04-01 12:59:24 -07001076func (x *FakeMessageSet) Reset() {
1077 *x = FakeMessageSet{}
Herbie Ong8170d692019-02-13 14:13:21 -08001078}
Joe Tsai61968ce2019-04-01 12:59:24 -07001079
1080func (x *FakeMessageSet) String() string {
1081 return protoimpl.X.MessageStringOf(x)
1082}
1083
1084func (*FakeMessageSet) ProtoMessage() {}
1085
1086func (x *FakeMessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001087 mi := &file_pb2_test_proto_msgTypes[13]
1088 if protoimpl.UnsafeEnabled && x != nil {
1089 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1090 if ms.LoadMessageInfo() == nil {
1091 ms.StoreMessageInfo(mi)
1092 }
1093 return ms
1094 }
1095 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001096}
Joe Tsai8e506a82019-03-16 00:05:34 -07001097
Joe Tsai82760ce2019-06-20 03:09:57 -07001098func (x *FakeMessageSet) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001099 return file_pb2_test_proto_msgTypes[13].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001100}
1101
Joe Tsai8e506a82019-03-16 00:05:34 -07001102// Deprecated: Use FakeMessageSet.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001103func (*FakeMessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001104 return file_pb2_test_proto_rawDescGZIP(), []int{13}
Herbie Ong8170d692019-02-13 14:13:21 -08001105}
1106
Joe Tsai4fddeba2019-03-20 18:29:32 -07001107var extRange_FakeMessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -08001108 {Start: 4, End: 536870911},
1109}
1110
Joe Tsai8e506a82019-03-16 00:05:34 -07001111// Deprecated: Use FakeMessageSet.ProtoReflect.Type.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -07001112func (*FakeMessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -08001113 return extRange_FakeMessageSet
1114}
1115
Herbie Ong8170d692019-02-13 14:13:21 -08001116type FakeMessageSetExtension struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001117 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001118 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1119 sizeCache protoimpl.SizeCache
1120 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -08001121}
1122
Joe Tsai61968ce2019-04-01 12:59:24 -07001123func (x *FakeMessageSetExtension) Reset() {
1124 *x = FakeMessageSetExtension{}
Herbie Ong8170d692019-02-13 14:13:21 -08001125}
Joe Tsai61968ce2019-04-01 12:59:24 -07001126
1127func (x *FakeMessageSetExtension) String() string {
1128 return protoimpl.X.MessageStringOf(x)
1129}
1130
1131func (*FakeMessageSetExtension) ProtoMessage() {}
1132
1133func (x *FakeMessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001134 mi := &file_pb2_test_proto_msgTypes[14]
1135 if protoimpl.UnsafeEnabled && x != nil {
1136 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1137 if ms.LoadMessageInfo() == nil {
1138 ms.StoreMessageInfo(mi)
1139 }
1140 return ms
1141 }
1142 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001143}
Joe Tsai8e506a82019-03-16 00:05:34 -07001144
Joe Tsai82760ce2019-06-20 03:09:57 -07001145func (x *FakeMessageSetExtension) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001146 return file_pb2_test_proto_msgTypes[14].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001147}
1148
Joe Tsai8e506a82019-03-16 00:05:34 -07001149// Deprecated: Use FakeMessageSetExtension.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001150func (*FakeMessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001151 return file_pb2_test_proto_rawDescGZIP(), []int{14}
Herbie Ong8170d692019-02-13 14:13:21 -08001152}
1153
Joe Tsai61968ce2019-04-01 12:59:24 -07001154func (x *FakeMessageSetExtension) GetOptString() string {
1155 if x != nil && x.OptString != nil {
1156 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001157 }
1158 return ""
1159}
1160
1161// Message contains well-known type fields.
1162type KnownTypes struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001163 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001164 OptBool *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
1165 OptInt32 *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
1166 OptInt64 *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
1167 OptUint32 *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
1168 OptUint64 *wrapperspb.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
1169 OptFloat *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
1170 OptDouble *wrapperspb.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
1171 OptString *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1172 OptBytes *wrapperspb.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
1173 OptDuration *durationpb.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"`
1174 OptTimestamp *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"`
1175 OptStruct *structpb.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"`
1176 OptList *structpb.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"`
1177 OptValue *structpb.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"`
1178 OptNull *structpb.NullValue `protobuf:"varint,28,opt,name=opt_null,json=optNull,enum=google.protobuf.NullValue" json:"opt_null,omitempty"`
1179 OptEmpty *emptypb.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"`
1180 OptAny *anypb.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
1181 OptFieldmask *fieldmaskpb.FieldMask `protobuf:"bytes,40,opt,name=opt_fieldmask,json=optFieldmask" json:"opt_fieldmask,omitempty"`
1182 sizeCache protoimpl.SizeCache
1183 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -08001184}
1185
Joe Tsai61968ce2019-04-01 12:59:24 -07001186func (x *KnownTypes) Reset() {
1187 *x = KnownTypes{}
Herbie Ong8170d692019-02-13 14:13:21 -08001188}
Joe Tsai61968ce2019-04-01 12:59:24 -07001189
1190func (x *KnownTypes) String() string {
1191 return protoimpl.X.MessageStringOf(x)
1192}
1193
1194func (*KnownTypes) ProtoMessage() {}
1195
1196func (x *KnownTypes) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001197 mi := &file_pb2_test_proto_msgTypes[15]
1198 if protoimpl.UnsafeEnabled && x != nil {
1199 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1200 if ms.LoadMessageInfo() == nil {
1201 ms.StoreMessageInfo(mi)
1202 }
1203 return ms
1204 }
1205 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001206}
Joe Tsai8e506a82019-03-16 00:05:34 -07001207
Joe Tsai82760ce2019-06-20 03:09:57 -07001208func (x *KnownTypes) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001209 return file_pb2_test_proto_msgTypes[15].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001210}
1211
Joe Tsai8e506a82019-03-16 00:05:34 -07001212// Deprecated: Use KnownTypes.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001213func (*KnownTypes) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001214 return file_pb2_test_proto_rawDescGZIP(), []int{15}
Herbie Ong8170d692019-02-13 14:13:21 -08001215}
1216
Joe Tsaia95b29f2019-05-16 12:47:20 -07001217func (x *KnownTypes) GetOptBool() *wrapperspb.BoolValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001218 if x != nil {
1219 return x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -08001220 }
1221 return nil
1222}
1223
Joe Tsaia95b29f2019-05-16 12:47:20 -07001224func (x *KnownTypes) GetOptInt32() *wrapperspb.Int32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001225 if x != nil {
1226 return x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -08001227 }
1228 return nil
1229}
1230
Joe Tsaia95b29f2019-05-16 12:47:20 -07001231func (x *KnownTypes) GetOptInt64() *wrapperspb.Int64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001232 if x != nil {
1233 return x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -08001234 }
1235 return nil
1236}
1237
Joe Tsaia95b29f2019-05-16 12:47:20 -07001238func (x *KnownTypes) GetOptUint32() *wrapperspb.UInt32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001239 if x != nil {
1240 return x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -08001241 }
1242 return nil
1243}
1244
Joe Tsaia95b29f2019-05-16 12:47:20 -07001245func (x *KnownTypes) GetOptUint64() *wrapperspb.UInt64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001246 if x != nil {
1247 return x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -08001248 }
1249 return nil
1250}
1251
Joe Tsaia95b29f2019-05-16 12:47:20 -07001252func (x *KnownTypes) GetOptFloat() *wrapperspb.FloatValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001253 if x != nil {
1254 return x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -08001255 }
1256 return nil
1257}
1258
Joe Tsaia95b29f2019-05-16 12:47:20 -07001259func (x *KnownTypes) GetOptDouble() *wrapperspb.DoubleValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001260 if x != nil {
1261 return x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -08001262 }
1263 return nil
1264}
1265
Joe Tsaia95b29f2019-05-16 12:47:20 -07001266func (x *KnownTypes) GetOptString() *wrapperspb.StringValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001267 if x != nil {
1268 return x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001269 }
1270 return nil
1271}
1272
Joe Tsaia95b29f2019-05-16 12:47:20 -07001273func (x *KnownTypes) GetOptBytes() *wrapperspb.BytesValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001274 if x != nil {
1275 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -08001276 }
1277 return nil
1278}
1279
Joe Tsaia95b29f2019-05-16 12:47:20 -07001280func (x *KnownTypes) GetOptDuration() *durationpb.Duration {
Joe Tsai61968ce2019-04-01 12:59:24 -07001281 if x != nil {
1282 return x.OptDuration
Herbie Ong8170d692019-02-13 14:13:21 -08001283 }
1284 return nil
1285}
1286
Joe Tsaia95b29f2019-05-16 12:47:20 -07001287func (x *KnownTypes) GetOptTimestamp() *timestamppb.Timestamp {
Joe Tsai61968ce2019-04-01 12:59:24 -07001288 if x != nil {
1289 return x.OptTimestamp
Herbie Ong8170d692019-02-13 14:13:21 -08001290 }
1291 return nil
1292}
1293
Joe Tsaia95b29f2019-05-16 12:47:20 -07001294func (x *KnownTypes) GetOptStruct() *structpb.Struct {
Joe Tsai61968ce2019-04-01 12:59:24 -07001295 if x != nil {
1296 return x.OptStruct
Herbie Ong8170d692019-02-13 14:13:21 -08001297 }
1298 return nil
1299}
1300
Joe Tsaia95b29f2019-05-16 12:47:20 -07001301func (x *KnownTypes) GetOptList() *structpb.ListValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001302 if x != nil {
1303 return x.OptList
Herbie Ong8170d692019-02-13 14:13:21 -08001304 }
1305 return nil
1306}
1307
Joe Tsaia95b29f2019-05-16 12:47:20 -07001308func (x *KnownTypes) GetOptValue() *structpb.Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001309 if x != nil {
1310 return x.OptValue
Herbie Ong8170d692019-02-13 14:13:21 -08001311 }
1312 return nil
1313}
1314
Joe Tsaia95b29f2019-05-16 12:47:20 -07001315func (x *KnownTypes) GetOptNull() structpb.NullValue {
Herbie Ong300b9fe2019-03-29 15:42:20 -07001316 if x != nil && x.OptNull != nil {
1317 return *x.OptNull
1318 }
Joe Tsaia95b29f2019-05-16 12:47:20 -07001319 return structpb.NullValue_NULL_VALUE
Herbie Ong300b9fe2019-03-29 15:42:20 -07001320}
1321
Joe Tsaia95b29f2019-05-16 12:47:20 -07001322func (x *KnownTypes) GetOptEmpty() *emptypb.Empty {
Joe Tsai61968ce2019-04-01 12:59:24 -07001323 if x != nil {
1324 return x.OptEmpty
Herbie Ong8170d692019-02-13 14:13:21 -08001325 }
1326 return nil
1327}
1328
Joe Tsaia95b29f2019-05-16 12:47:20 -07001329func (x *KnownTypes) GetOptAny() *anypb.Any {
Joe Tsai61968ce2019-04-01 12:59:24 -07001330 if x != nil {
1331 return x.OptAny
Herbie Ong8170d692019-02-13 14:13:21 -08001332 }
1333 return nil
1334}
1335
Joe Tsaia95b29f2019-05-16 12:47:20 -07001336func (x *KnownTypes) GetOptFieldmask() *fieldmaskpb.FieldMask {
Joe Tsai61968ce2019-04-01 12:59:24 -07001337 if x != nil {
1338 return x.OptFieldmask
Herbie Ong0b0f4032019-03-18 19:06:15 -07001339 }
1340 return nil
1341}
1342
Herbie Ong8170d692019-02-13 14:13:21 -08001343type Nests_OptGroup struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001344 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001345 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1346 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
1347 Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,3,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
1348 sizeCache protoimpl.SizeCache
1349 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -08001350}
1351
Joe Tsai61968ce2019-04-01 12:59:24 -07001352func (x *Nests_OptGroup) Reset() {
1353 *x = Nests_OptGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001354}
Joe Tsai61968ce2019-04-01 12:59:24 -07001355
1356func (x *Nests_OptGroup) String() string {
1357 return protoimpl.X.MessageStringOf(x)
1358}
1359
1360func (*Nests_OptGroup) ProtoMessage() {}
1361
1362func (x *Nests_OptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001363 mi := &file_pb2_test_proto_msgTypes[16]
1364 if protoimpl.UnsafeEnabled && x != nil {
1365 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1366 if ms.LoadMessageInfo() == nil {
1367 ms.StoreMessageInfo(mi)
1368 }
1369 return ms
1370 }
1371 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001372}
Joe Tsai8e506a82019-03-16 00:05:34 -07001373
Joe Tsai82760ce2019-06-20 03:09:57 -07001374func (x *Nests_OptGroup) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001375 return file_pb2_test_proto_msgTypes[16].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001376}
1377
Joe Tsai8e506a82019-03-16 00:05:34 -07001378// Deprecated: Use Nests_OptGroup.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001379func (*Nests_OptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001380 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001381}
1382
Joe Tsai61968ce2019-04-01 12:59:24 -07001383func (x *Nests_OptGroup) GetOptString() string {
1384 if x != nil && x.OptString != nil {
1385 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001386 }
1387 return ""
1388}
1389
Joe Tsai61968ce2019-04-01 12:59:24 -07001390func (x *Nests_OptGroup) GetOptNested() *Nested {
1391 if x != nil {
1392 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -08001393 }
1394 return nil
1395}
1396
Joe Tsai61968ce2019-04-01 12:59:24 -07001397func (x *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup {
1398 if x != nil {
1399 return x.Optnestedgroup
Herbie Ong8170d692019-02-13 14:13:21 -08001400 }
1401 return nil
1402}
1403
1404type Nests_RptGroup struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001405 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001406 RptString []string `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
1407 sizeCache protoimpl.SizeCache
1408 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -08001409}
1410
Joe Tsai61968ce2019-04-01 12:59:24 -07001411func (x *Nests_RptGroup) Reset() {
1412 *x = Nests_RptGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001413}
Joe Tsai61968ce2019-04-01 12:59:24 -07001414
1415func (x *Nests_RptGroup) String() string {
1416 return protoimpl.X.MessageStringOf(x)
1417}
1418
1419func (*Nests_RptGroup) ProtoMessage() {}
1420
1421func (x *Nests_RptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001422 mi := &file_pb2_test_proto_msgTypes[17]
1423 if protoimpl.UnsafeEnabled && x != nil {
1424 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1425 if ms.LoadMessageInfo() == nil {
1426 ms.StoreMessageInfo(mi)
1427 }
1428 return ms
1429 }
1430 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001431}
Joe Tsai8e506a82019-03-16 00:05:34 -07001432
Joe Tsai82760ce2019-06-20 03:09:57 -07001433func (x *Nests_RptGroup) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001434 return file_pb2_test_proto_msgTypes[17].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001435}
1436
Joe Tsai8e506a82019-03-16 00:05:34 -07001437// Deprecated: Use Nests_RptGroup.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001438func (*Nests_RptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001439 return file_pb2_test_proto_rawDescGZIP(), []int{4, 1}
Herbie Ong8170d692019-02-13 14:13:21 -08001440}
1441
Joe Tsai61968ce2019-04-01 12:59:24 -07001442func (x *Nests_RptGroup) GetRptString() []string {
1443 if x != nil {
1444 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -08001445 }
1446 return nil
1447}
1448
1449type Nests_OptGroup_OptNestedGroup struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001450 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001451 OptFixed32 *uint32 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
1452 sizeCache protoimpl.SizeCache
1453 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -08001454}
1455
Joe Tsai61968ce2019-04-01 12:59:24 -07001456func (x *Nests_OptGroup_OptNestedGroup) Reset() {
1457 *x = Nests_OptGroup_OptNestedGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001458}
Joe Tsai61968ce2019-04-01 12:59:24 -07001459
1460func (x *Nests_OptGroup_OptNestedGroup) String() string {
1461 return protoimpl.X.MessageStringOf(x)
1462}
1463
1464func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {}
1465
1466func (x *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001467 mi := &file_pb2_test_proto_msgTypes[18]
1468 if protoimpl.UnsafeEnabled && x != nil {
1469 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1470 if ms.LoadMessageInfo() == nil {
1471 ms.StoreMessageInfo(mi)
1472 }
1473 return ms
1474 }
1475 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001476}
Joe Tsai8e506a82019-03-16 00:05:34 -07001477
Joe Tsai82760ce2019-06-20 03:09:57 -07001478func (x *Nests_OptGroup_OptNestedGroup) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001479 return file_pb2_test_proto_msgTypes[18].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001480}
1481
Joe Tsai8e506a82019-03-16 00:05:34 -07001482// Deprecated: Use Nests_OptGroup_OptNestedGroup.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001483func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001484 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001485}
1486
Joe Tsai61968ce2019-04-01 12:59:24 -07001487func (x *Nests_OptGroup_OptNestedGroup) GetOptFixed32() uint32 {
1488 if x != nil && x.OptFixed32 != nil {
1489 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -08001490 }
1491 return 0
1492}
1493
Joe Tsai7ca70982019-04-15 13:57:56 -07001494var file_pb2_test_proto_extDescs = []protoiface.ExtensionDescV1{
Joe Tsaiafb455e2019-03-14 16:08:22 -07001495 {
1496 ExtendedType: (*Extensions)(nil),
1497 ExtensionType: (*bool)(nil),
1498 Field: 21,
1499 Name: "pb2.opt_ext_bool",
1500 Tag: "varint,21,opt,name=opt_ext_bool",
1501 Filename: "pb2/test.proto",
1502 },
1503 {
1504 ExtendedType: (*Extensions)(nil),
1505 ExtensionType: (*string)(nil),
1506 Field: 22,
1507 Name: "pb2.opt_ext_string",
1508 Tag: "bytes,22,opt,name=opt_ext_string",
1509 Filename: "pb2/test.proto",
1510 },
1511 {
1512 ExtendedType: (*Extensions)(nil),
1513 ExtensionType: (*Enum)(nil),
1514 Field: 23,
1515 Name: "pb2.opt_ext_enum",
1516 Tag: "varint,23,opt,name=opt_ext_enum,enum=pb2.Enum",
1517 Filename: "pb2/test.proto",
1518 },
1519 {
1520 ExtendedType: (*Extensions)(nil),
1521 ExtensionType: (*Nested)(nil),
1522 Field: 24,
1523 Name: "pb2.opt_ext_nested",
1524 Tag: "bytes,24,opt,name=opt_ext_nested",
1525 Filename: "pb2/test.proto",
1526 },
1527 {
1528 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001529 ExtensionType: (*PartialRequired)(nil),
1530 Field: 25,
1531 Name: "pb2.opt_ext_partial",
1532 Tag: "bytes,25,opt,name=opt_ext_partial",
1533 Filename: "pb2/test.proto",
1534 },
1535 {
1536 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001537 ExtensionType: ([]uint32)(nil),
1538 Field: 31,
1539 Name: "pb2.rpt_ext_fixed32",
1540 Tag: "fixed32,31,rep,name=rpt_ext_fixed32",
1541 Filename: "pb2/test.proto",
1542 },
1543 {
1544 ExtendedType: (*Extensions)(nil),
1545 ExtensionType: ([]Enum)(nil),
1546 Field: 32,
1547 Name: "pb2.rpt_ext_enum",
1548 Tag: "varint,32,rep,name=rpt_ext_enum,enum=pb2.Enum",
1549 Filename: "pb2/test.proto",
1550 },
1551 {
1552 ExtendedType: (*Extensions)(nil),
1553 ExtensionType: ([]*Nested)(nil),
1554 Field: 33,
1555 Name: "pb2.rpt_ext_nested",
1556 Tag: "bytes,33,rep,name=rpt_ext_nested",
1557 Filename: "pb2/test.proto",
1558 },
1559 {
1560 ExtendedType: (*MessageSet)(nil),
1561 ExtensionType: (*FakeMessageSetExtension)(nil),
1562 Field: 50,
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001563 Name: "pb2.message_set_extension",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001564 Tag: "bytes,50,opt,name=message_set_extension",
1565 Filename: "pb2/test.proto",
1566 },
1567 {
1568 ExtendedType: (*Extensions)(nil),
1569 ExtensionType: (*bool)(nil),
1570 Field: 51,
1571 Name: "pb2.ExtensionsContainer.opt_ext_bool",
1572 Tag: "varint,51,opt,name=opt_ext_bool",
1573 Filename: "pb2/test.proto",
1574 },
1575 {
1576 ExtendedType: (*Extensions)(nil),
1577 ExtensionType: (*string)(nil),
1578 Field: 52,
1579 Name: "pb2.ExtensionsContainer.opt_ext_string",
1580 Tag: "bytes,52,opt,name=opt_ext_string",
1581 Filename: "pb2/test.proto",
1582 },
1583 {
1584 ExtendedType: (*Extensions)(nil),
1585 ExtensionType: (*Enum)(nil),
1586 Field: 53,
1587 Name: "pb2.ExtensionsContainer.opt_ext_enum",
1588 Tag: "varint,53,opt,name=opt_ext_enum,enum=pb2.Enum",
1589 Filename: "pb2/test.proto",
1590 },
1591 {
1592 ExtendedType: (*Extensions)(nil),
1593 ExtensionType: (*Nested)(nil),
1594 Field: 54,
1595 Name: "pb2.ExtensionsContainer.opt_ext_nested",
1596 Tag: "bytes,54,opt,name=opt_ext_nested",
1597 Filename: "pb2/test.proto",
1598 },
1599 {
1600 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001601 ExtensionType: (*PartialRequired)(nil),
1602 Field: 55,
1603 Name: "pb2.ExtensionsContainer.opt_ext_partial",
1604 Tag: "bytes,55,opt,name=opt_ext_partial",
1605 Filename: "pb2/test.proto",
1606 },
1607 {
1608 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001609 ExtensionType: ([]string)(nil),
1610 Field: 61,
1611 Name: "pb2.ExtensionsContainer.rpt_ext_string",
1612 Tag: "bytes,61,rep,name=rpt_ext_string",
1613 Filename: "pb2/test.proto",
1614 },
1615 {
1616 ExtendedType: (*Extensions)(nil),
1617 ExtensionType: ([]Enum)(nil),
1618 Field: 62,
1619 Name: "pb2.ExtensionsContainer.rpt_ext_enum",
1620 Tag: "varint,62,rep,name=rpt_ext_enum,enum=pb2.Enum",
1621 Filename: "pb2/test.proto",
1622 },
1623 {
1624 ExtendedType: (*Extensions)(nil),
1625 ExtensionType: ([]*Nested)(nil),
1626 Field: 63,
1627 Name: "pb2.ExtensionsContainer.rpt_ext_nested",
1628 Tag: "bytes,63,rep,name=rpt_ext_nested",
1629 Filename: "pb2/test.proto",
1630 },
1631 {
1632 ExtendedType: (*MessageSet)(nil),
1633 ExtensionType: (*MessageSetExtension)(nil),
1634 Field: 10,
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001635 Name: "pb2.MessageSetExtension.message_set_extension",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001636 Tag: "bytes,10,opt,name=message_set_extension",
1637 Filename: "pb2/test.proto",
1638 },
1639 {
1640 ExtendedType: (*MessageSet)(nil),
1641 ExtensionType: (*MessageSetExtension)(nil),
1642 Field: 20,
1643 Name: "pb2.MessageSetExtension.not_message_set_extension",
1644 Tag: "bytes,20,opt,name=not_message_set_extension",
1645 Filename: "pb2/test.proto",
1646 },
1647 {
1648 ExtendedType: (*MessageSet)(nil),
1649 ExtensionType: (*Nested)(nil),
1650 Field: 30,
1651 Name: "pb2.MessageSetExtension.ext_nested",
1652 Tag: "bytes,30,opt,name=ext_nested",
1653 Filename: "pb2/test.proto",
1654 },
1655 {
1656 ExtendedType: (*FakeMessageSet)(nil),
1657 ExtensionType: (*FakeMessageSetExtension)(nil),
1658 Field: 10,
1659 Name: "pb2.FakeMessageSetExtension.message_set_extension",
1660 Tag: "bytes,10,opt,name=message_set_extension",
1661 Filename: "pb2/test.proto",
1662 },
Herbie Ong8170d692019-02-13 14:13:21 -08001663}
Joe Tsaiafb455e2019-03-14 16:08:22 -07001664var (
1665 // extend pb2.Extensions { optional bool opt_ext_bool = 21; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001666 E_OptExtBool = &file_pb2_test_proto_extDescs[0]
Herbie Ong8170d692019-02-13 14:13:21 -08001667
Joe Tsaiafb455e2019-03-14 16:08:22 -07001668 // extend pb2.Extensions { optional string opt_ext_string = 22; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001669 E_OptExtString = &file_pb2_test_proto_extDescs[1]
Herbie Ong8170d692019-02-13 14:13:21 -08001670
Joe Tsaiafb455e2019-03-14 16:08:22 -07001671 // extend pb2.Extensions { optional pb2.Enum opt_ext_enum = 23; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001672 E_OptExtEnum = &file_pb2_test_proto_extDescs[2]
Herbie Ong8170d692019-02-13 14:13:21 -08001673
Joe Tsaiafb455e2019-03-14 16:08:22 -07001674 // extend pb2.Extensions { optional pb2.Nested opt_ext_nested = 24; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001675 E_OptExtNested = &file_pb2_test_proto_extDescs[3]
Herbie Ong8170d692019-02-13 14:13:21 -08001676
Herbie Ong09b28a92019-04-03 15:42:41 -07001677 // extend pb2.Extensions { optional pb2.PartialRequired opt_ext_partial = 25; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001678 E_OptExtPartial = &file_pb2_test_proto_extDescs[4]
Herbie Ong09b28a92019-04-03 15:42:41 -07001679
Joe Tsaiafb455e2019-03-14 16:08:22 -07001680 // extend pb2.Extensions { repeated fixed32 rpt_ext_fixed32 = 31; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001681 E_RptExtFixed32 = &file_pb2_test_proto_extDescs[5]
Herbie Ong8170d692019-02-13 14:13:21 -08001682
Joe Tsaiafb455e2019-03-14 16:08:22 -07001683 // extend pb2.Extensions { repeated pb2.Enum rpt_ext_enum = 32; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001684 E_RptExtEnum = &file_pb2_test_proto_extDescs[6]
Herbie Ong8170d692019-02-13 14:13:21 -08001685
Joe Tsaiafb455e2019-03-14 16:08:22 -07001686 // extend pb2.Extensions { repeated pb2.Nested rpt_ext_nested = 33; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001687 E_RptExtNested = &file_pb2_test_proto_extDescs[7]
Herbie Ong8170d692019-02-13 14:13:21 -08001688
Joe Tsaiafb455e2019-03-14 16:08:22 -07001689 // extend pb2.MessageSet { optional pb2.FakeMessageSetExtension message_set_extension = 50; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001690 E_MessageSetExtension = &file_pb2_test_proto_extDescs[8]
Herbie Ong8170d692019-02-13 14:13:21 -08001691
Joe Tsaiafb455e2019-03-14 16:08:22 -07001692 // extend pb2.Extensions { optional bool opt_ext_bool = 51; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001693 E_ExtensionsContainer_OptExtBool = &file_pb2_test_proto_extDescs[9]
Herbie Ong8170d692019-02-13 14:13:21 -08001694
Joe Tsaiafb455e2019-03-14 16:08:22 -07001695 // extend pb2.Extensions { optional string opt_ext_string = 52; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001696 E_ExtensionsContainer_OptExtString = &file_pb2_test_proto_extDescs[10]
Herbie Ong8170d692019-02-13 14:13:21 -08001697
Joe Tsaiafb455e2019-03-14 16:08:22 -07001698 // extend pb2.Extensions { optional pb2.Enum opt_ext_enum = 53; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001699 E_ExtensionsContainer_OptExtEnum = &file_pb2_test_proto_extDescs[11]
Herbie Ong8170d692019-02-13 14:13:21 -08001700
Joe Tsaiafb455e2019-03-14 16:08:22 -07001701 // extend pb2.Extensions { optional pb2.Nested opt_ext_nested = 54; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001702 E_ExtensionsContainer_OptExtNested = &file_pb2_test_proto_extDescs[12]
Herbie Ong09b28a92019-04-03 15:42:41 -07001703
1704 // extend pb2.Extensions { optional pb2.PartialRequired opt_ext_partial = 55; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001705 E_ExtensionsContainer_OptExtPartial = &file_pb2_test_proto_extDescs[13]
Herbie Ong8170d692019-02-13 14:13:21 -08001706
Joe Tsaiafb455e2019-03-14 16:08:22 -07001707 // extend pb2.Extensions { repeated string rpt_ext_string = 61; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001708 E_ExtensionsContainer_RptExtString = &file_pb2_test_proto_extDescs[14]
Herbie Ong8170d692019-02-13 14:13:21 -08001709
Joe Tsaiafb455e2019-03-14 16:08:22 -07001710 // extend pb2.Extensions { repeated pb2.Enum rpt_ext_enum = 62; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001711 E_ExtensionsContainer_RptExtEnum = &file_pb2_test_proto_extDescs[15]
Herbie Ong8170d692019-02-13 14:13:21 -08001712
Joe Tsaiafb455e2019-03-14 16:08:22 -07001713 // extend pb2.Extensions { repeated pb2.Nested rpt_ext_nested = 63; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001714 E_ExtensionsContainer_RptExtNested = &file_pb2_test_proto_extDescs[16]
Herbie Ong8170d692019-02-13 14:13:21 -08001715
Joe Tsaiafb455e2019-03-14 16:08:22 -07001716 // extend pb2.MessageSet { optional pb2.MessageSetExtension message_set_extension = 10; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001717 E_MessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[17]
Herbie Ong8170d692019-02-13 14:13:21 -08001718
Joe Tsaiafb455e2019-03-14 16:08:22 -07001719 // extend pb2.MessageSet { optional pb2.MessageSetExtension not_message_set_extension = 20; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001720 E_MessageSetExtension_NotMessageSetExtension = &file_pb2_test_proto_extDescs[18]
Herbie Ong8170d692019-02-13 14:13:21 -08001721
Joe Tsaiafb455e2019-03-14 16:08:22 -07001722 // extend pb2.MessageSet { optional pb2.Nested ext_nested = 30; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001723 E_MessageSetExtension_ExtNested = &file_pb2_test_proto_extDescs[19]
Herbie Ong8170d692019-02-13 14:13:21 -08001724
Joe Tsaiafb455e2019-03-14 16:08:22 -07001725 // extend pb2.FakeMessageSet { optional pb2.FakeMessageSetExtension message_set_extension = 10; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001726 E_FakeMessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[20]
Joe Tsaiafb455e2019-03-14 16:08:22 -07001727)
Joe Tsai5d72cc22019-03-28 01:13:26 -07001728var File_pb2_test_proto protoreflect.FileDescriptor
1729
Joe Tsai7ca70982019-04-15 13:57:56 -07001730var file_pb2_test_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -08001731 0x0a, 0x0e, 0x70, 0x62, 0x32, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1732 0x12, 0x03, 0x70, 0x62, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
1733 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1734 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001735 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67,
1736 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66,
1737 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1738 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1739 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1740 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1741 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
1742 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
1743 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e,
1744 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
1745 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda,
1746 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70,
1747 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x70,
1748 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74,
1749 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1750 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
1751 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12,
1752 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20,
1753 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d,
Joe Tsai19058432019-02-27 21:46:29 -08001754 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001755 0x28, 0x04, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a,
1756 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28,
1757 0x11, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a,
1758 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12,
1759 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1f, 0x0a, 0x0b, 0x6f,
1760 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07,
1761 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1f, 0x0a, 0x0b,
1762 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28,
1763 0x06, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x21, 0x0a,
1764 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20,
1765 0x01, 0x28, 0x0f, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1766 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
1767 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65,
1768 0x64, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74,
1769 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74,
1770 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15,
1771 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12,
1772 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01,
1773 0x28, 0x0c, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1774 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09,
1775 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xfb, 0x01, 0x0a, 0x05,
1776 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x24, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75,
1777 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1778 0x75, 0x6d, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x08, 0x72,
1779 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1780 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x70, 0x74, 0x45, 0x6e, 0x75,
1781 0x6d, 0x12, 0x3d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f,
1782 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32,
1783 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75,
1784 0x6d, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1785 0x12, 0x3d, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65,
1786 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1787 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1788 0x52, 0x0d, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22,
1789 0x28, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a,
1790 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12,
1791 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x94, 0x02, 0x0a, 0x07, 0x52, 0x65,
1792 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1793 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x07, 0x72, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c,
1794 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20,
1795 0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1b, 0x0a,
1796 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03,
1797 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70,
1798 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09,
1799 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74,
1800 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72,
1801 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f,
1802 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x02, 0x52, 0x08, 0x72, 0x70, 0x74,
1803 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75,
1804 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x72, 0x70, 0x74, 0x44, 0x6f,
1805 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69,
1806 0x6e, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72,
1807 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73,
1808 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73,
1809 0x22, 0x53, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70,
1810 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
1811 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1812 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1813 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e,
1814 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0xd3, 0x03, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12,
1815 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20,
1816 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1817 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x6f,
1818 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x13, 0x2e,
1819 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f,
1820 0x75, 0x70, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x0a,
1821 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
1822 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72,
1823 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x67,
1824 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x32,
1825 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
1826 0x08, 0x72, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0xd4, 0x01, 0x0a, 0x08, 0x4f, 0x70,
1827 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74,
1828 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53,
1829 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1830 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1831 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65,
1832 0x64, 0x12, 0x4a, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72,
1833 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x22, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1834 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4f,
1835 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0e, 0x6f,
1836 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x31, 0x0a,
1837 0x0e, 0x4f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
1838 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x01,
1839 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1840 0x1a, 0x29, 0x0a, 0x08, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a,
1841 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
1842 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x72, 0x65, 0x73,
1843 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0xd9, 0x01, 0x0a, 0x09,
1844 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x71,
1845 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x71,
1846 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x66, 0x69, 0x78,
1847 0x65, 0x64, 0x36, 0x34, 0x18, 0x02, 0x20, 0x02, 0x28, 0x10, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x53,
1848 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x64,
1849 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71,
1850 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74,
1851 0x72, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53,
1852 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x5f, 0x65, 0x6e, 0x75,
1853 0x6d, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1854 0x75, 0x6d, 0x52, 0x07, 0x72, 0x65, 0x71, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x0a, 0x72,
1855 0x65, 0x71, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0b, 0x32,
1856 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72, 0x65,
1857 0x71, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4f, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x69,
1858 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65,
1859 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09,
1860 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1861 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1862 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x33, 0x0a, 0x12, 0x4e, 0x65, 0x73, 0x74,
1863 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d,
1864 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02,
1865 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xee, 0x02,
1866 0x0a, 0x10, 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
1867 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1868 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73,
1869 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52,
1870 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x72, 0x70,
1871 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17,
1872 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52,
1873 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74,
1874 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73,
1875 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1876 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
1877 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72,
1878 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3c,
1879 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04,
1880 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
1881 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x48, 0x00, 0x52,
1882 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x1a, 0x57, 0x0a, 0x10,
1883 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79,
1884 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
1885 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
1886 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69,
1887 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
1888 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0x69,
1889 0x0a, 0x0a, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1890 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1891 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x6f,
1892 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x65, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f,
1893 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e,
1894 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e,
Herbie Ong09b28a92019-04-03 15:42:41 -07001895 0x74, 0x33, 0x32, 0x2a, 0x04, 0x08, 0x14, 0x10, 0x65, 0x22, 0x89, 0x04, 0x0a, 0x13, 0x45, 0x78,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001896 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
1897 0x72, 0x32, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1898 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1899 0x6e, 0x73, 0x18, 0x33, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1900 0x42, 0x6f, 0x6f, 0x6c, 0x32, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1901 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1902 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x34, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f,
1903 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x6f,
1904 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1905 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x35, 0x20, 0x01,
1906 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f,
1907 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74,
1908 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1909 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x36, 0x20, 0x01,
1910 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
Herbie Ong09b28a92019-04-03 15:42:41 -07001911 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x32, 0x4d, 0x0a,
1912 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1913 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1914 0x73, 0x18, 0x37, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61,
1915 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f,
1916 0x70, 0x74, 0x45, 0x78, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x32, 0x35, 0x0a, 0x0e,
1917 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f,
1918 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
1919 0x3d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72,
1920 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65,
1921 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1922 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32,
1923 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75,
1924 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1925 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1926 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32,
1927 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e,
1928 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
1929 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07, 0x3a, 0x02, 0x08,
1930 0x01, 0x22, 0xb6, 0x02, 0x0a, 0x13, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74,
1931 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1932 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1933 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x5d, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73,
1934 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1935 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
1936 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d,
Herbie Ong300b9fe2019-03-29 15:42:20 -07001937 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1938 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78,
Herbie Ong09b28a92019-04-03 15:42:41 -07001939 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x64, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x5f, 0x6d,
1940 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
1941 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
1942 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62,
1943 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
1944 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x6e, 0x6f, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
1945 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x3b, 0x0a,
1946 0x0a, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1947 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x1e, 0x20, 0x01,
1948 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
1949 0x09, 0x65, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0e, 0x46, 0x61,
1950 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04,
1951 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9f, 0x01, 0x0a, 0x17, 0x46, 0x61, 0x6b, 0x65, 0x4d,
1952 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1953 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
1954 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e,
1955 0x67, 0x32, 0x65, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74,
1956 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x32,
1957 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18,
1958 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65,
1959 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1960 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45,
1961 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x9e, 0x08, 0x0a, 0x0a, 0x4b, 0x6e, 0x6f,
1962 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62,
1963 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1964 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c,
1965 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x38,
1966 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28,
1967 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1968 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08,
1969 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1970 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
1971 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e,
1972 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1973 0x36, 0x34, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32,
1974 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1975 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
1976 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
1977 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20,
1978 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1979 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75,
1980 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x38, 0x0a, 0x09,
1981 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
1982 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1983 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70,
1984 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f,
1985 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
1986 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75,
1987 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75,
1988 0x62, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1989 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1990 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1991 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1992 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20,
1993 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1994 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65,
1995 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x70,
1996 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b,
1997 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1998 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6f, 0x70, 0x74,
1999 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
2000 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
2001 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
2002 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6f, 0x70, 0x74,
2003 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
2004 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
2005 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
2006 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63,
2007 0x74, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x1a, 0x20,
2008 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
2009 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
2010 0x07, 0x6f, 0x70, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
2011 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f,
2012 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61,
2013 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x35, 0x0a,
2014 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0e, 0x32,
2015 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
2016 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74,
2017 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x74,
2018 0x79, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2019 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52,
2020 0x08, 0x6f, 0x70, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x6f, 0x70, 0x74,
2021 0x5f, 0x61, 0x6e, 0x79, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
2022 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
2023 0x52, 0x06, 0x6f, 0x70, 0x74, 0x41, 0x6e, 0x79, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
2024 0x66, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b, 0x32,
2025 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
2026 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x6f, 0x70, 0x74,
2027 0x46, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x2a, 0x21, 0x0a, 0x04, 0x45, 0x6e, 0x75,
2028 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57,
2029 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10, 0x0a, 0x3a, 0x31, 0x0a, 0x0c,
2030 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70,
2031 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15, 0x20,
2032 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x3a,
2033 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
2034 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
2035 0x6e, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
2036 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78,
2037 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
2038 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e,
2039 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
2040 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
2041 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
2042 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
2043 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45,
2044 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a, 0x4d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f,
2045 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62,
2046 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x19, 0x20, 0x01,
2047 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
2048 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
2049 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x3a, 0x37, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x65,
2050 0x78, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32,
2051 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28,
2052 0x07, 0x52, 0x0d, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
2053 0x3a, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d,
2054 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
2055 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
2056 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42,
2057 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
2058 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
2059 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65,
2060 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74,
2061 0x65, 0x64, 0x3a, 0x61, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65,
2062 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62,
2063 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x32, 0x20, 0x01,
2064 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73,
2065 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
2066 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
Damien Neile89e6242019-05-13 23:55:40 -07002067 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2068 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
2069 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73,
2070 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x32,
Herbie Ong8170d692019-02-13 14:13:21 -08002071}
2072
Joe Tsai5d72cc22019-03-28 01:13:26 -07002073var (
Joe Tsai7ca70982019-04-15 13:57:56 -07002074 file_pb2_test_proto_rawDescOnce sync.Once
2075 file_pb2_test_proto_rawDescData = file_pb2_test_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -07002076)
Herbie Ong8170d692019-02-13 14:13:21 -08002077
Joe Tsai7ca70982019-04-15 13:57:56 -07002078func file_pb2_test_proto_rawDescGZIP() []byte {
2079 file_pb2_test_proto_rawDescOnce.Do(func() {
2080 file_pb2_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb2_test_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -07002081 })
Joe Tsai7ca70982019-04-15 13:57:56 -07002082 return file_pb2_test_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -07002083}
Herbie Ong8170d692019-02-13 14:13:21 -08002084
Joe Tsaid8881392019-06-06 13:01:53 -07002085var file_pb2_test_proto_enumTypes = make([]prototype.Enum, 2)
Joe Tsai4fe96632019-05-22 05:12:36 -04002086var file_pb2_test_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
Joe Tsai7ca70982019-04-15 13:57:56 -07002087var file_pb2_test_proto_goTypes = []interface{}{
Herbie Ong8170d692019-02-13 14:13:21 -08002088 (Enum)(0), // 0: pb2.Enum
2089 (Enums_NestedEnum)(0), // 1: pb2.Enums.NestedEnum
2090 (*Scalars)(nil), // 2: pb2.Scalars
2091 (*Enums)(nil), // 3: pb2.Enums
2092 (*Repeats)(nil), // 4: pb2.Repeats
2093 (*Nested)(nil), // 5: pb2.Nested
2094 (*Nests)(nil), // 6: pb2.Nests
2095 (*Requireds)(nil), // 7: pb2.Requireds
2096 (*PartialRequired)(nil), // 8: pb2.PartialRequired
2097 (*NestedWithRequired)(nil), // 9: pb2.NestedWithRequired
2098 (*IndirectRequired)(nil), // 10: pb2.IndirectRequired
2099 (*Extensions)(nil), // 11: pb2.Extensions
2100 (*ExtensionsContainer)(nil), // 12: pb2.ExtensionsContainer
2101 (*MessageSet)(nil), // 13: pb2.MessageSet
2102 (*MessageSetExtension)(nil), // 14: pb2.MessageSetExtension
2103 (*FakeMessageSet)(nil), // 15: pb2.FakeMessageSet
2104 (*FakeMessageSetExtension)(nil), // 16: pb2.FakeMessageSetExtension
2105 (*KnownTypes)(nil), // 17: pb2.KnownTypes
2106 (*Nests_OptGroup)(nil), // 18: pb2.Nests.OptGroup
2107 (*Nests_RptGroup)(nil), // 19: pb2.Nests.RptGroup
2108 (*Nests_OptGroup_OptNestedGroup)(nil), // 20: pb2.Nests.OptGroup.OptNestedGroup
2109 nil, // 21: pb2.IndirectRequired.StrToNestedEntry
Joe Tsaia95b29f2019-05-16 12:47:20 -07002110 (*wrapperspb.BoolValue)(nil), // 22: google.protobuf.BoolValue
2111 (*wrapperspb.Int32Value)(nil), // 23: google.protobuf.Int32Value
2112 (*wrapperspb.Int64Value)(nil), // 24: google.protobuf.Int64Value
2113 (*wrapperspb.UInt32Value)(nil), // 25: google.protobuf.UInt32Value
2114 (*wrapperspb.UInt64Value)(nil), // 26: google.protobuf.UInt64Value
2115 (*wrapperspb.FloatValue)(nil), // 27: google.protobuf.FloatValue
2116 (*wrapperspb.DoubleValue)(nil), // 28: google.protobuf.DoubleValue
2117 (*wrapperspb.StringValue)(nil), // 29: google.protobuf.StringValue
2118 (*wrapperspb.BytesValue)(nil), // 30: google.protobuf.BytesValue
2119 (*durationpb.Duration)(nil), // 31: google.protobuf.Duration
2120 (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp
2121 (*structpb.Struct)(nil), // 33: google.protobuf.Struct
2122 (*structpb.ListValue)(nil), // 34: google.protobuf.ListValue
2123 (*structpb.Value)(nil), // 35: google.protobuf.Value
2124 (structpb.NullValue)(0), // 36: google.protobuf.NullValue
2125 (*emptypb.Empty)(nil), // 37: google.protobuf.Empty
2126 (*anypb.Any)(nil), // 38: google.protobuf.Any
2127 (*fieldmaskpb.FieldMask)(nil), // 39: google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08002128}
Joe Tsai7ca70982019-04-15 13:57:56 -07002129var file_pb2_test_proto_depIdxs = []int32{
Herbie Ong8170d692019-02-13 14:13:21 -08002130 0, // pb2.Enums.opt_enum:type_name -> pb2.Enum
2131 0, // pb2.Enums.rpt_enum:type_name -> pb2.Enum
2132 1, // pb2.Enums.opt_nested_enum:type_name -> pb2.Enums.NestedEnum
2133 1, // pb2.Enums.rpt_nested_enum:type_name -> pb2.Enums.NestedEnum
2134 5, // pb2.Nested.opt_nested:type_name -> pb2.Nested
2135 5, // pb2.Nests.opt_nested:type_name -> pb2.Nested
2136 18, // pb2.Nests.optgroup:type_name -> pb2.Nests.OptGroup
2137 5, // pb2.Nests.rpt_nested:type_name -> pb2.Nested
2138 19, // pb2.Nests.rptgroup:type_name -> pb2.Nests.RptGroup
2139 0, // pb2.Requireds.req_enum:type_name -> pb2.Enum
2140 5, // pb2.Requireds.req_nested:type_name -> pb2.Nested
2141 9, // pb2.IndirectRequired.opt_nested:type_name -> pb2.NestedWithRequired
2142 9, // pb2.IndirectRequired.rpt_nested:type_name -> pb2.NestedWithRequired
2143 21, // pb2.IndirectRequired.str_to_nested:type_name -> pb2.IndirectRequired.StrToNestedEntry
2144 9, // pb2.IndirectRequired.oneof_nested:type_name -> pb2.NestedWithRequired
2145 22, // pb2.KnownTypes.opt_bool:type_name -> google.protobuf.BoolValue
2146 23, // pb2.KnownTypes.opt_int32:type_name -> google.protobuf.Int32Value
2147 24, // pb2.KnownTypes.opt_int64:type_name -> google.protobuf.Int64Value
2148 25, // pb2.KnownTypes.opt_uint32:type_name -> google.protobuf.UInt32Value
2149 26, // pb2.KnownTypes.opt_uint64:type_name -> google.protobuf.UInt64Value
2150 27, // pb2.KnownTypes.opt_float:type_name -> google.protobuf.FloatValue
2151 28, // pb2.KnownTypes.opt_double:type_name -> google.protobuf.DoubleValue
2152 29, // pb2.KnownTypes.opt_string:type_name -> google.protobuf.StringValue
2153 30, // pb2.KnownTypes.opt_bytes:type_name -> google.protobuf.BytesValue
2154 31, // pb2.KnownTypes.opt_duration:type_name -> google.protobuf.Duration
2155 32, // pb2.KnownTypes.opt_timestamp:type_name -> google.protobuf.Timestamp
2156 33, // pb2.KnownTypes.opt_struct:type_name -> google.protobuf.Struct
2157 34, // pb2.KnownTypes.opt_list:type_name -> google.protobuf.ListValue
2158 35, // pb2.KnownTypes.opt_value:type_name -> google.protobuf.Value
Herbie Ong300b9fe2019-03-29 15:42:20 -07002159 36, // pb2.KnownTypes.opt_null:type_name -> google.protobuf.NullValue
2160 37, // pb2.KnownTypes.opt_empty:type_name -> google.protobuf.Empty
2161 38, // pb2.KnownTypes.opt_any:type_name -> google.protobuf.Any
2162 39, // pb2.KnownTypes.opt_fieldmask:type_name -> google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08002163 5, // pb2.Nests.OptGroup.opt_nested:type_name -> pb2.Nested
2164 20, // pb2.Nests.OptGroup.optnestedgroup:type_name -> pb2.Nests.OptGroup.OptNestedGroup
2165 9, // pb2.IndirectRequired.StrToNestedEntry.value:type_name -> pb2.NestedWithRequired
Joe Tsaid8881392019-06-06 13:01:53 -07002166 11, // pb2.opt_ext_bool:extendee -> pb2.Extensions
2167 11, // pb2.opt_ext_string:extendee -> pb2.Extensions
2168 11, // pb2.opt_ext_enum:extendee -> pb2.Extensions
2169 11, // pb2.opt_ext_nested:extendee -> pb2.Extensions
2170 11, // pb2.opt_ext_partial:extendee -> pb2.Extensions
2171 11, // pb2.rpt_ext_fixed32:extendee -> pb2.Extensions
2172 11, // pb2.rpt_ext_enum:extendee -> pb2.Extensions
2173 11, // pb2.rpt_ext_nested:extendee -> pb2.Extensions
2174 13, // pb2.message_set_extension:extendee -> pb2.MessageSet
2175 11, // pb2.ExtensionsContainer.opt_ext_bool:extendee -> pb2.Extensions
2176 11, // pb2.ExtensionsContainer.opt_ext_string:extendee -> pb2.Extensions
2177 11, // pb2.ExtensionsContainer.opt_ext_enum:extendee -> pb2.Extensions
2178 11, // pb2.ExtensionsContainer.opt_ext_nested:extendee -> pb2.Extensions
2179 11, // pb2.ExtensionsContainer.opt_ext_partial:extendee -> pb2.Extensions
2180 11, // pb2.ExtensionsContainer.rpt_ext_string:extendee -> pb2.Extensions
2181 11, // pb2.ExtensionsContainer.rpt_ext_enum:extendee -> pb2.Extensions
2182 11, // pb2.ExtensionsContainer.rpt_ext_nested:extendee -> pb2.Extensions
2183 13, // pb2.MessageSetExtension.message_set_extension:extendee -> pb2.MessageSet
2184 13, // pb2.MessageSetExtension.not_message_set_extension:extendee -> pb2.MessageSet
2185 13, // pb2.MessageSetExtension.ext_nested:extendee -> pb2.MessageSet
2186 15, // pb2.FakeMessageSetExtension.message_set_extension:extendee -> pb2.FakeMessageSet
Herbie Ong8170d692019-02-13 14:13:21 -08002187 0, // pb2.opt_ext_enum:type_name -> pb2.Enum
2188 5, // pb2.opt_ext_nested:type_name -> pb2.Nested
Herbie Ong09b28a92019-04-03 15:42:41 -07002189 8, // pb2.opt_ext_partial:type_name -> pb2.PartialRequired
Herbie Ong8170d692019-02-13 14:13:21 -08002190 0, // pb2.rpt_ext_enum:type_name -> pb2.Enum
2191 5, // pb2.rpt_ext_nested:type_name -> pb2.Nested
2192 16, // pb2.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2193 0, // pb2.ExtensionsContainer.opt_ext_enum:type_name -> pb2.Enum
2194 5, // pb2.ExtensionsContainer.opt_ext_nested:type_name -> pb2.Nested
Herbie Ong09b28a92019-04-03 15:42:41 -07002195 8, // pb2.ExtensionsContainer.opt_ext_partial:type_name -> pb2.PartialRequired
Herbie Ong8170d692019-02-13 14:13:21 -08002196 0, // pb2.ExtensionsContainer.rpt_ext_enum:type_name -> pb2.Enum
2197 5, // pb2.ExtensionsContainer.rpt_ext_nested:type_name -> pb2.Nested
2198 14, // pb2.MessageSetExtension.message_set_extension:type_name -> pb2.MessageSetExtension
2199 14, // pb2.MessageSetExtension.not_message_set_extension:type_name -> pb2.MessageSetExtension
2200 5, // pb2.MessageSetExtension.ext_nested:type_name -> pb2.Nested
2201 16, // pb2.FakeMessageSetExtension.message_set_extension:type_name -> pb2.FakeMessageSetExtension
Joe Tsaid8881392019-06-06 13:01:53 -07002202 72, // starting offset of method output_type sub-list
2203 72, // starting offset of method input_type sub-list
2204 57, // starting offset of extension type_name sub-list
2205 36, // starting offset of extension extendee sub-list
2206 0, // starting offset of field type_name sub-list
Herbie Ong8170d692019-02-13 14:13:21 -08002207}
2208
Joe Tsai7ca70982019-04-15 13:57:56 -07002209func init() { file_pb2_test_proto_init() }
2210func file_pb2_test_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -08002211 if File_pb2_test_proto != nil {
2212 return
2213 }
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002214 if !protoimpl.UnsafeEnabled {
2215 file_pb2_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2216 switch v := v.(*Scalars); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002217 case 0:
2218 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002219 case 16:
Joe Tsai82760ce2019-06-20 03:09:57 -07002220 return &v.sizeCache
2221 case 17:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002222 return &v.unknownFields
2223 default:
2224 return nil
2225 }
2226 }
2227 file_pb2_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2228 switch v := v.(*Enums); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002229 case 0:
2230 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002231 case 5:
Joe Tsai82760ce2019-06-20 03:09:57 -07002232 return &v.sizeCache
2233 case 6:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002234 return &v.unknownFields
2235 default:
2236 return nil
2237 }
2238 }
2239 file_pb2_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2240 switch v := v.(*Repeats); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002241 case 0:
2242 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002243 case 10:
Joe Tsai82760ce2019-06-20 03:09:57 -07002244 return &v.sizeCache
2245 case 11:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002246 return &v.unknownFields
2247 default:
2248 return nil
2249 }
2250 }
2251 file_pb2_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2252 switch v := v.(*Nested); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002253 case 0:
2254 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002255 case 3:
Joe Tsai82760ce2019-06-20 03:09:57 -07002256 return &v.sizeCache
2257 case 4:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002258 return &v.unknownFields
2259 default:
2260 return nil
2261 }
2262 }
2263 file_pb2_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2264 switch v := v.(*Nests); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002265 case 0:
2266 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002267 case 5:
Joe Tsai82760ce2019-06-20 03:09:57 -07002268 return &v.sizeCache
2269 case 6:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002270 return &v.unknownFields
2271 default:
2272 return nil
2273 }
2274 }
2275 file_pb2_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2276 switch v := v.(*Requireds); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002277 case 0:
2278 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002279 case 7:
Joe Tsai82760ce2019-06-20 03:09:57 -07002280 return &v.sizeCache
2281 case 8:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002282 return &v.unknownFields
2283 default:
2284 return nil
2285 }
2286 }
2287 file_pb2_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
2288 switch v := v.(*PartialRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002289 case 0:
2290 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002291 case 3:
Joe Tsai82760ce2019-06-20 03:09:57 -07002292 return &v.sizeCache
2293 case 4:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002294 return &v.unknownFields
2295 default:
2296 return nil
2297 }
2298 }
2299 file_pb2_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2300 switch v := v.(*NestedWithRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002301 case 0:
2302 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002303 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002304 return &v.sizeCache
2305 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002306 return &v.unknownFields
2307 default:
2308 return nil
2309 }
2310 }
2311 file_pb2_test_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
2312 switch v := v.(*IndirectRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002313 case 0:
2314 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002315 case 5:
Joe Tsai82760ce2019-06-20 03:09:57 -07002316 return &v.sizeCache
2317 case 6:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002318 return &v.unknownFields
2319 default:
2320 return nil
2321 }
2322 }
2323 file_pb2_test_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
2324 switch v := v.(*Extensions); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002325 case 0:
2326 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002327 case 4:
Joe Tsai82760ce2019-06-20 03:09:57 -07002328 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002329 case 5:
Joe Tsai82760ce2019-06-20 03:09:57 -07002330 return &v.unknownFields
2331 case 6:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002332 return &v.extensionFields
2333 default:
2334 return nil
2335 }
2336 }
2337 file_pb2_test_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2338 switch v := v.(*ExtensionsContainer); i {
2339 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002340 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002341 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002342 return &v.sizeCache
2343 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002344 return &v.unknownFields
2345 default:
2346 return nil
2347 }
2348 }
2349 file_pb2_test_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2350 switch v := v.(*MessageSet); i {
2351 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002352 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002353 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002354 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002355 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002356 return &v.unknownFields
2357 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002358 return &v.extensionFields
2359 default:
2360 return nil
2361 }
2362 }
2363 file_pb2_test_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2364 switch v := v.(*MessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002365 case 0:
2366 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002367 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002368 return &v.sizeCache
2369 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002370 return &v.unknownFields
2371 default:
2372 return nil
2373 }
2374 }
2375 file_pb2_test_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
2376 switch v := v.(*FakeMessageSet); i {
2377 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002378 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002379 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002380 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002381 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002382 return &v.unknownFields
2383 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002384 return &v.extensionFields
2385 default:
2386 return nil
2387 }
2388 }
2389 file_pb2_test_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
2390 switch v := v.(*FakeMessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002391 case 0:
2392 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002393 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002394 return &v.sizeCache
2395 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002396 return &v.unknownFields
2397 default:
2398 return nil
2399 }
2400 }
2401 file_pb2_test_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
2402 switch v := v.(*KnownTypes); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002403 case 0:
2404 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002405 case 19:
Joe Tsai82760ce2019-06-20 03:09:57 -07002406 return &v.sizeCache
2407 case 20:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002408 return &v.unknownFields
2409 default:
2410 return nil
2411 }
2412 }
2413 file_pb2_test_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
2414 switch v := v.(*Nests_OptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002415 case 0:
2416 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002417 case 4:
Joe Tsai82760ce2019-06-20 03:09:57 -07002418 return &v.sizeCache
2419 case 5:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002420 return &v.unknownFields
2421 default:
2422 return nil
2423 }
2424 }
2425 file_pb2_test_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
2426 switch v := v.(*Nests_RptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002427 case 0:
2428 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002429 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002430 return &v.sizeCache
2431 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002432 return &v.unknownFields
2433 default:
2434 return nil
2435 }
2436 }
2437 file_pb2_test_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
2438 switch v := v.(*Nests_OptGroup_OptNestedGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002439 case 0:
2440 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002441 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002442 return &v.sizeCache
2443 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002444 return &v.unknownFields
2445 default:
2446 return nil
2447 }
2448 }
2449 }
Joe Tsai09912272019-07-08 10:38:11 -07002450 file_pb2_test_proto_msgTypes[8].OneofWrappers = []interface{}{
2451 (*IndirectRequired_OneofNested)(nil),
2452 }
Joe Tsaid8881392019-06-06 13:01:53 -07002453 out := protoimpl.TypeBuilder{
2454 File: protoimpl.DescBuilder{
2455 RawDescriptor: file_pb2_test_proto_rawDesc,
2456 NumEnums: 2,
2457 NumMessages: 20,
2458 NumExtensions: 21,
2459 NumServices: 0,
2460 },
2461 GoTypes: file_pb2_test_proto_goTypes,
2462 DependencyIndexes: file_pb2_test_proto_depIdxs,
2463 MessageInfos: file_pb2_test_proto_msgTypes,
2464 LegacyExtensions: file_pb2_test_proto_extDescs,
2465 }.Build()
2466 File_pb2_test_proto = out.File
2467 file_pb2_test_proto_enumTypes = out.Enums
Joe Tsai7ca70982019-04-15 13:57:56 -07002468 file_pb2_test_proto_rawDesc = nil
2469 file_pb2_test_proto_goTypes = nil
2470 file_pb2_test_proto_depIdxs = nil
Herbie Ong8170d692019-02-13 14:13:21 -08002471}