blob: 036fc447a40b648a7bf91c2cac07f7cfa628cb91 [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 Tsaiaf570872019-07-14 23:04:40 -070018 reflect "reflect"
Joe Tsai5d72cc22019-03-28 01:13:26 -070019 sync "sync"
Herbie Ong8170d692019-02-13 14:13:21 -080020)
21
Joe Tsai58b42d82019-05-22 16:27:51 -040022const (
23 // Verify that runtime/protoimpl is sufficiently up-to-date.
24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 0)
25 // Verify that this generated code is sufficiently up-to-date.
26 _ = protoimpl.EnforceVersion(0 - protoimpl.MinVersion)
27)
Joe Tsai5d72cc22019-03-28 01:13:26 -070028
Herbie Ong8170d692019-02-13 14:13:21 -080029type Enum int32
30
31const (
32 Enum_ONE Enum = 1
33 Enum_TWO Enum = 2
34 Enum_TEN Enum = 10
35)
36
Joe Tsai9b8a4332019-08-05 18:38:48 -070037// Enum value maps for Enum.
38var (
39 Enum_name = map[int32]string{
40 1: "ONE",
41 2: "TWO",
42 10: "TEN",
43 }
44 Enum_value = map[string]int32{
45 "ONE": 1,
46 "TWO": 2,
47 "TEN": 10,
48 }
49)
Herbie Ong8170d692019-02-13 14:13:21 -080050
51func (x Enum) Enum() *Enum {
Joe Tsai09b5b462019-04-10 15:29:01 -070052 p := new(Enum)
53 *p = x
54 return p
Herbie Ong8170d692019-02-13 14:13:21 -080055}
56
57func (x Enum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -070058 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -080059}
60
Joe Tsai0fc49f82019-05-01 12:29:25 -070061func (Enum) Descriptor() protoreflect.EnumDescriptor {
Joe Tsaid8881392019-06-06 13:01:53 -070062 return file_pb2_test_proto_enumTypes[0].EnumDescriptor
Joe Tsai0fc49f82019-05-01 12:29:25 -070063}
64
Joe Tsaid4211502019-07-02 14:58:02 -070065func (Enum) Type() protoreflect.EnumType {
66 return &file_pb2_test_proto_enumTypes[0]
67}
68
Joe Tsai61968ce2019-04-01 12:59:24 -070069func (x Enum) Number() protoreflect.EnumNumber {
70 return protoreflect.EnumNumber(x)
71}
72
Joe Tsai8e506a82019-03-16 00:05:34 -070073// Deprecated: Do not use.
74func (x *Enum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -070075 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -080076 if err != nil {
77 return err
78 }
Joe Tsai8e506a82019-03-16 00:05:34 -070079 *x = Enum(num)
Herbie Ong8170d692019-02-13 14:13:21 -080080 return nil
81}
82
Joe Tsai43761bd2019-07-17 18:06:47 -070083// Deprecated: Use Enum.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -080084func (Enum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -070085 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -080086}
87
88type Enums_NestedEnum int32
89
90const (
91 Enums_UNO Enums_NestedEnum = 1
92 Enums_DOS Enums_NestedEnum = 2
93 Enums_DIEZ Enums_NestedEnum = 10
94)
95
Joe Tsai9b8a4332019-08-05 18:38:48 -070096// Enum value maps for Enums_NestedEnum.
97var (
98 Enums_NestedEnum_name = map[int32]string{
99 1: "UNO",
100 2: "DOS",
101 10: "DIEZ",
102 }
103 Enums_NestedEnum_value = map[string]int32{
104 "UNO": 1,
105 "DOS": 2,
106 "DIEZ": 10,
107 }
108)
Herbie Ong8170d692019-02-13 14:13:21 -0800109
110func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
Joe Tsai09b5b462019-04-10 15:29:01 -0700111 p := new(Enums_NestedEnum)
112 *p = x
113 return p
Herbie Ong8170d692019-02-13 14:13:21 -0800114}
115
116func (x Enums_NestedEnum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700117 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -0800118}
119
Joe Tsai0fc49f82019-05-01 12:29:25 -0700120func (Enums_NestedEnum) Descriptor() protoreflect.EnumDescriptor {
Joe Tsaid8881392019-06-06 13:01:53 -0700121 return file_pb2_test_proto_enumTypes[1].EnumDescriptor
Joe Tsai0fc49f82019-05-01 12:29:25 -0700122}
123
Joe Tsaid4211502019-07-02 14:58:02 -0700124func (Enums_NestedEnum) Type() protoreflect.EnumType {
125 return &file_pb2_test_proto_enumTypes[1]
126}
127
Joe Tsai61968ce2019-04-01 12:59:24 -0700128func (x Enums_NestedEnum) Number() protoreflect.EnumNumber {
129 return protoreflect.EnumNumber(x)
130}
131
Joe Tsai8e506a82019-03-16 00:05:34 -0700132// Deprecated: Do not use.
133func (x *Enums_NestedEnum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700134 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -0800135 if err != nil {
136 return err
137 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700138 *x = Enums_NestedEnum(num)
Herbie Ong8170d692019-02-13 14:13:21 -0800139 return nil
140}
141
Joe Tsai43761bd2019-07-17 18:06:47 -0700142// Deprecated: Use Enums_NestedEnum.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800143func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700144 return file_pb2_test_proto_rawDescGZIP(), []int{1, 0}
Herbie Ong8170d692019-02-13 14:13:21 -0800145}
146
147// Scalars contains optional scalar fields.
148type Scalars struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700149 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700150 sizeCache protoimpl.SizeCache
151 unknownFields protoimpl.UnknownFields
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700152 OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
153 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
154 OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
155 OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
156 OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
157 OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"`
158 OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"`
159 OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
160 OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"`
161 OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"`
162 OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"`
163 OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
164 OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
165 OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
166 OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800167}
168
Joe Tsai61968ce2019-04-01 12:59:24 -0700169func (x *Scalars) Reset() {
170 *x = Scalars{}
Herbie Ong8170d692019-02-13 14:13:21 -0800171}
Joe Tsai61968ce2019-04-01 12:59:24 -0700172
173func (x *Scalars) String() string {
174 return protoimpl.X.MessageStringOf(x)
175}
176
177func (*Scalars) ProtoMessage() {}
178
179func (x *Scalars) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700180 mi := &file_pb2_test_proto_msgTypes[0]
181 if protoimpl.UnsafeEnabled && x != nil {
182 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
183 if ms.LoadMessageInfo() == nil {
184 ms.StoreMessageInfo(mi)
185 }
186 return ms
187 }
188 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700189}
Joe Tsai8e506a82019-03-16 00:05:34 -0700190
Joe Tsai43761bd2019-07-17 18:06:47 -0700191// Deprecated: Use Scalars.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800192func (*Scalars) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700193 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -0800194}
195
Joe Tsai61968ce2019-04-01 12:59:24 -0700196func (x *Scalars) GetOptBool() bool {
197 if x != nil && x.OptBool != nil {
198 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800199 }
200 return false
201}
202
Joe Tsai61968ce2019-04-01 12:59:24 -0700203func (x *Scalars) GetOptInt32() int32 {
204 if x != nil && x.OptInt32 != nil {
205 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800206 }
207 return 0
208}
209
Joe Tsai61968ce2019-04-01 12:59:24 -0700210func (x *Scalars) GetOptInt64() int64 {
211 if x != nil && x.OptInt64 != nil {
212 return *x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800213 }
214 return 0
215}
216
Joe Tsai61968ce2019-04-01 12:59:24 -0700217func (x *Scalars) GetOptUint32() uint32 {
218 if x != nil && x.OptUint32 != nil {
219 return *x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800220 }
221 return 0
222}
223
Joe Tsai61968ce2019-04-01 12:59:24 -0700224func (x *Scalars) GetOptUint64() uint64 {
225 if x != nil && x.OptUint64 != nil {
226 return *x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800227 }
228 return 0
229}
230
Joe Tsai61968ce2019-04-01 12:59:24 -0700231func (x *Scalars) GetOptSint32() int32 {
232 if x != nil && x.OptSint32 != nil {
233 return *x.OptSint32
Herbie Ong8170d692019-02-13 14:13:21 -0800234 }
235 return 0
236}
237
Joe Tsai61968ce2019-04-01 12:59:24 -0700238func (x *Scalars) GetOptSint64() int64 {
239 if x != nil && x.OptSint64 != nil {
240 return *x.OptSint64
Herbie Ong8170d692019-02-13 14:13:21 -0800241 }
242 return 0
243}
244
Joe Tsai61968ce2019-04-01 12:59:24 -0700245func (x *Scalars) GetOptFixed32() uint32 {
246 if x != nil && x.OptFixed32 != nil {
247 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800248 }
249 return 0
250}
251
Joe Tsai61968ce2019-04-01 12:59:24 -0700252func (x *Scalars) GetOptFixed64() uint64 {
253 if x != nil && x.OptFixed64 != nil {
254 return *x.OptFixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800255 }
256 return 0
257}
258
Joe Tsai61968ce2019-04-01 12:59:24 -0700259func (x *Scalars) GetOptSfixed32() int32 {
260 if x != nil && x.OptSfixed32 != nil {
261 return *x.OptSfixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800262 }
263 return 0
264}
265
Joe Tsai61968ce2019-04-01 12:59:24 -0700266func (x *Scalars) GetOptSfixed64() int64 {
267 if x != nil && x.OptSfixed64 != nil {
268 return *x.OptSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800269 }
270 return 0
271}
272
Joe Tsai61968ce2019-04-01 12:59:24 -0700273func (x *Scalars) GetOptFloat() float32 {
274 if x != nil && x.OptFloat != nil {
275 return *x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800276 }
277 return 0
278}
279
Joe Tsai61968ce2019-04-01 12:59:24 -0700280func (x *Scalars) GetOptDouble() float64 {
281 if x != nil && x.OptDouble != nil {
282 return *x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800283 }
284 return 0
285}
286
Joe Tsai61968ce2019-04-01 12:59:24 -0700287func (x *Scalars) GetOptBytes() []byte {
288 if x != nil {
289 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800290 }
291 return nil
292}
293
Joe Tsai61968ce2019-04-01 12:59:24 -0700294func (x *Scalars) GetOptString() string {
295 if x != nil && x.OptString != nil {
296 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800297 }
298 return ""
299}
300
301// Message contains enum fields.
302type Enums struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700303 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700304 sizeCache protoimpl.SizeCache
305 unknownFields protoimpl.UnknownFields
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700306 OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
307 RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"`
308 OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
309 RptNestedEnum []Enums_NestedEnum `protobuf:"varint,4,rep,name=rpt_nested_enum,json=rptNestedEnum,enum=pb2.Enums_NestedEnum" json:"rpt_nested_enum,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800310}
311
Joe Tsai61968ce2019-04-01 12:59:24 -0700312func (x *Enums) Reset() {
313 *x = Enums{}
Herbie Ong8170d692019-02-13 14:13:21 -0800314}
Joe Tsai61968ce2019-04-01 12:59:24 -0700315
316func (x *Enums) String() string {
317 return protoimpl.X.MessageStringOf(x)
318}
319
320func (*Enums) ProtoMessage() {}
321
322func (x *Enums) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700323 mi := &file_pb2_test_proto_msgTypes[1]
324 if protoimpl.UnsafeEnabled && x != nil {
325 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
326 if ms.LoadMessageInfo() == nil {
327 ms.StoreMessageInfo(mi)
328 }
329 return ms
330 }
331 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700332}
Joe Tsai8e506a82019-03-16 00:05:34 -0700333
Joe Tsai43761bd2019-07-17 18:06:47 -0700334// Deprecated: Use Enums.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800335func (*Enums) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700336 return file_pb2_test_proto_rawDescGZIP(), []int{1}
Herbie Ong8170d692019-02-13 14:13:21 -0800337}
338
Joe Tsai61968ce2019-04-01 12:59:24 -0700339func (x *Enums) GetOptEnum() Enum {
340 if x != nil && x.OptEnum != nil {
341 return *x.OptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800342 }
343 return Enum_ONE
344}
345
Joe Tsai61968ce2019-04-01 12:59:24 -0700346func (x *Enums) GetRptEnum() []Enum {
347 if x != nil {
348 return x.RptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800349 }
350 return nil
351}
352
Joe Tsai61968ce2019-04-01 12:59:24 -0700353func (x *Enums) GetOptNestedEnum() Enums_NestedEnum {
354 if x != nil && x.OptNestedEnum != nil {
355 return *x.OptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800356 }
357 return Enums_UNO
358}
359
Joe Tsai61968ce2019-04-01 12:59:24 -0700360func (x *Enums) GetRptNestedEnum() []Enums_NestedEnum {
361 if x != nil {
362 return x.RptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800363 }
364 return nil
365}
366
367// Message contains repeated fields.
368type Repeats struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700369 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700370 sizeCache protoimpl.SizeCache
371 unknownFields protoimpl.UnknownFields
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700372 RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
373 RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"`
374 RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"`
375 RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"`
376 RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"`
377 RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"`
378 RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"`
379 RptString []string `protobuf:"bytes,8,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
380 RptBytes [][]byte `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800381}
382
Joe Tsai61968ce2019-04-01 12:59:24 -0700383func (x *Repeats) Reset() {
384 *x = Repeats{}
Herbie Ong8170d692019-02-13 14:13:21 -0800385}
Joe Tsai61968ce2019-04-01 12:59:24 -0700386
387func (x *Repeats) String() string {
388 return protoimpl.X.MessageStringOf(x)
389}
390
391func (*Repeats) ProtoMessage() {}
392
393func (x *Repeats) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700394 mi := &file_pb2_test_proto_msgTypes[2]
395 if protoimpl.UnsafeEnabled && x != nil {
396 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
397 if ms.LoadMessageInfo() == nil {
398 ms.StoreMessageInfo(mi)
399 }
400 return ms
401 }
402 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700403}
Joe Tsai8e506a82019-03-16 00:05:34 -0700404
Joe Tsai43761bd2019-07-17 18:06:47 -0700405// Deprecated: Use Repeats.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800406func (*Repeats) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700407 return file_pb2_test_proto_rawDescGZIP(), []int{2}
Herbie Ong8170d692019-02-13 14:13:21 -0800408}
409
Joe Tsai61968ce2019-04-01 12:59:24 -0700410func (x *Repeats) GetRptBool() []bool {
411 if x != nil {
412 return x.RptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800413 }
414 return nil
415}
416
Joe Tsai61968ce2019-04-01 12:59:24 -0700417func (x *Repeats) GetRptInt32() []int32 {
418 if x != nil {
419 return x.RptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800420 }
421 return nil
422}
423
Joe Tsai61968ce2019-04-01 12:59:24 -0700424func (x *Repeats) GetRptInt64() []int64 {
425 if x != nil {
426 return x.RptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800427 }
428 return nil
429}
430
Joe Tsai61968ce2019-04-01 12:59:24 -0700431func (x *Repeats) GetRptUint32() []uint32 {
432 if x != nil {
433 return x.RptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800434 }
435 return nil
436}
437
Joe Tsai61968ce2019-04-01 12:59:24 -0700438func (x *Repeats) GetRptUint64() []uint64 {
439 if x != nil {
440 return x.RptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800441 }
442 return nil
443}
444
Joe Tsai61968ce2019-04-01 12:59:24 -0700445func (x *Repeats) GetRptFloat() []float32 {
446 if x != nil {
447 return x.RptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800448 }
449 return nil
450}
451
Joe Tsai61968ce2019-04-01 12:59:24 -0700452func (x *Repeats) GetRptDouble() []float64 {
453 if x != nil {
454 return x.RptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800455 }
456 return nil
457}
458
Joe Tsai61968ce2019-04-01 12:59:24 -0700459func (x *Repeats) GetRptString() []string {
460 if x != nil {
461 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -0800462 }
463 return nil
464}
465
Joe Tsai61968ce2019-04-01 12:59:24 -0700466func (x *Repeats) GetRptBytes() [][]byte {
467 if x != nil {
468 return x.RptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800469 }
470 return nil
471}
472
473// Message type used as submessage.
474type Nested struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700475 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700476 sizeCache protoimpl.SizeCache
477 unknownFields protoimpl.UnknownFields
Joe Tsai38b61962019-08-05 13:09:30 -0700478 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
479 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800480}
481
Joe Tsai61968ce2019-04-01 12:59:24 -0700482func (x *Nested) Reset() {
483 *x = Nested{}
Herbie Ong8170d692019-02-13 14:13:21 -0800484}
Joe Tsai61968ce2019-04-01 12:59:24 -0700485
486func (x *Nested) String() string {
487 return protoimpl.X.MessageStringOf(x)
488}
489
490func (*Nested) ProtoMessage() {}
491
492func (x *Nested) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700493 mi := &file_pb2_test_proto_msgTypes[3]
494 if protoimpl.UnsafeEnabled && x != nil {
495 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
496 if ms.LoadMessageInfo() == nil {
497 ms.StoreMessageInfo(mi)
498 }
499 return ms
500 }
501 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700502}
Joe Tsai8e506a82019-03-16 00:05:34 -0700503
Joe Tsai43761bd2019-07-17 18:06:47 -0700504// Deprecated: Use Nested.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800505func (*Nested) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700506 return file_pb2_test_proto_rawDescGZIP(), []int{3}
Herbie Ong8170d692019-02-13 14:13:21 -0800507}
508
Joe Tsai61968ce2019-04-01 12:59:24 -0700509func (x *Nested) GetOptString() string {
510 if x != nil && x.OptString != nil {
511 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800512 }
513 return ""
514}
515
Joe Tsai61968ce2019-04-01 12:59:24 -0700516func (x *Nested) GetOptNested() *Nested {
517 if x != nil {
518 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800519 }
520 return nil
521}
522
523// Message contains message and group fields.
524type Nests struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700525 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700526 sizeCache protoimpl.SizeCache
527 unknownFields protoimpl.UnknownFields
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700528 OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
529 Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"`
530 RptNested []*Nested `protobuf:"bytes,4,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
531 Rptgroup []*Nests_RptGroup `protobuf:"group,5,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800532}
533
Joe Tsai61968ce2019-04-01 12:59:24 -0700534func (x *Nests) Reset() {
535 *x = Nests{}
Herbie Ong8170d692019-02-13 14:13:21 -0800536}
Joe Tsai61968ce2019-04-01 12:59:24 -0700537
538func (x *Nests) String() string {
539 return protoimpl.X.MessageStringOf(x)
540}
541
542func (*Nests) ProtoMessage() {}
543
544func (x *Nests) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700545 mi := &file_pb2_test_proto_msgTypes[4]
546 if protoimpl.UnsafeEnabled && x != nil {
547 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
548 if ms.LoadMessageInfo() == nil {
549 ms.StoreMessageInfo(mi)
550 }
551 return ms
552 }
553 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700554}
Joe Tsai8e506a82019-03-16 00:05:34 -0700555
Joe Tsai43761bd2019-07-17 18:06:47 -0700556// Deprecated: Use Nests.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800557func (*Nests) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700558 return file_pb2_test_proto_rawDescGZIP(), []int{4}
Herbie Ong8170d692019-02-13 14:13:21 -0800559}
560
Joe Tsai61968ce2019-04-01 12:59:24 -0700561func (x *Nests) GetOptNested() *Nested {
562 if x != nil {
563 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800564 }
565 return nil
566}
567
Joe Tsai61968ce2019-04-01 12:59:24 -0700568func (x *Nests) GetOptgroup() *Nests_OptGroup {
569 if x != nil {
570 return x.Optgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800571 }
572 return nil
573}
574
Joe Tsai61968ce2019-04-01 12:59:24 -0700575func (x *Nests) GetRptNested() []*Nested {
576 if x != nil {
577 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800578 }
579 return nil
580}
581
Joe Tsai61968ce2019-04-01 12:59:24 -0700582func (x *Nests) GetRptgroup() []*Nests_RptGroup {
583 if x != nil {
584 return x.Rptgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800585 }
586 return nil
587}
588
589// Message contains required fields.
590type Requireds struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700591 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700592 sizeCache protoimpl.SizeCache
593 unknownFields protoimpl.UnknownFields
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700594 ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"`
595 ReqSfixed64 *int64 `protobuf:"fixed64,2,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"`
596 ReqDouble *float64 `protobuf:"fixed64,3,req,name=req_double,json=reqDouble" json:"req_double,omitempty"`
597 ReqString *string `protobuf:"bytes,4,req,name=req_string,json=reqString" json:"req_string,omitempty"`
598 ReqEnum *Enum `protobuf:"varint,5,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
599 ReqNested *Nested `protobuf:"bytes,6,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800600}
601
Joe Tsai61968ce2019-04-01 12:59:24 -0700602func (x *Requireds) Reset() {
603 *x = Requireds{}
Herbie Ong8170d692019-02-13 14:13:21 -0800604}
Joe Tsai61968ce2019-04-01 12:59:24 -0700605
606func (x *Requireds) String() string {
607 return protoimpl.X.MessageStringOf(x)
608}
609
610func (*Requireds) ProtoMessage() {}
611
612func (x *Requireds) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700613 mi := &file_pb2_test_proto_msgTypes[5]
614 if protoimpl.UnsafeEnabled && x != nil {
615 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
616 if ms.LoadMessageInfo() == nil {
617 ms.StoreMessageInfo(mi)
618 }
619 return ms
620 }
621 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700622}
Joe Tsai8e506a82019-03-16 00:05:34 -0700623
Joe Tsai43761bd2019-07-17 18:06:47 -0700624// Deprecated: Use Requireds.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800625func (*Requireds) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700626 return file_pb2_test_proto_rawDescGZIP(), []int{5}
Herbie Ong8170d692019-02-13 14:13:21 -0800627}
628
Joe Tsai61968ce2019-04-01 12:59:24 -0700629func (x *Requireds) GetReqBool() bool {
630 if x != nil && x.ReqBool != nil {
631 return *x.ReqBool
Herbie Ong8170d692019-02-13 14:13:21 -0800632 }
633 return false
634}
635
Joe Tsai61968ce2019-04-01 12:59:24 -0700636func (x *Requireds) GetReqSfixed64() int64 {
637 if x != nil && x.ReqSfixed64 != nil {
638 return *x.ReqSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800639 }
640 return 0
641}
642
Joe Tsai61968ce2019-04-01 12:59:24 -0700643func (x *Requireds) GetReqDouble() float64 {
644 if x != nil && x.ReqDouble != nil {
645 return *x.ReqDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800646 }
647 return 0
648}
649
Joe Tsai61968ce2019-04-01 12:59:24 -0700650func (x *Requireds) GetReqString() string {
651 if x != nil && x.ReqString != nil {
652 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800653 }
654 return ""
655}
656
Joe Tsai61968ce2019-04-01 12:59:24 -0700657func (x *Requireds) GetReqEnum() Enum {
658 if x != nil && x.ReqEnum != nil {
659 return *x.ReqEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800660 }
661 return Enum_ONE
662}
663
Joe Tsai61968ce2019-04-01 12:59:24 -0700664func (x *Requireds) GetReqNested() *Nested {
665 if x != nil {
666 return x.ReqNested
Herbie Ong8170d692019-02-13 14:13:21 -0800667 }
668 return nil
669}
670
671// Message contains both required and optional fields.
672type PartialRequired struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700673 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700674 sizeCache protoimpl.SizeCache
675 unknownFields protoimpl.UnknownFields
Joe Tsai38b61962019-08-05 13:09:30 -0700676 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
677 OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800678}
679
Joe Tsai61968ce2019-04-01 12:59:24 -0700680func (x *PartialRequired) Reset() {
681 *x = PartialRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800682}
Joe Tsai61968ce2019-04-01 12:59:24 -0700683
684func (x *PartialRequired) String() string {
685 return protoimpl.X.MessageStringOf(x)
686}
687
688func (*PartialRequired) ProtoMessage() {}
689
690func (x *PartialRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700691 mi := &file_pb2_test_proto_msgTypes[6]
692 if protoimpl.UnsafeEnabled && x != nil {
693 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
694 if ms.LoadMessageInfo() == nil {
695 ms.StoreMessageInfo(mi)
696 }
697 return ms
698 }
699 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700700}
Joe Tsai8e506a82019-03-16 00:05:34 -0700701
Joe Tsai43761bd2019-07-17 18:06:47 -0700702// Deprecated: Use PartialRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800703func (*PartialRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700704 return file_pb2_test_proto_rawDescGZIP(), []int{6}
Herbie Ong8170d692019-02-13 14:13:21 -0800705}
706
Joe Tsai61968ce2019-04-01 12:59:24 -0700707func (x *PartialRequired) GetReqString() string {
708 if x != nil && x.ReqString != nil {
709 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800710 }
711 return ""
712}
713
Joe Tsai61968ce2019-04-01 12:59:24 -0700714func (x *PartialRequired) GetOptString() string {
715 if x != nil && x.OptString != nil {
716 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800717 }
718 return ""
719}
720
721type NestedWithRequired struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700722 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700723 sizeCache protoimpl.SizeCache
724 unknownFields protoimpl.UnknownFields
Joe Tsai38b61962019-08-05 13:09:30 -0700725 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800726}
727
Joe Tsai61968ce2019-04-01 12:59:24 -0700728func (x *NestedWithRequired) Reset() {
729 *x = NestedWithRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800730}
Joe Tsai61968ce2019-04-01 12:59:24 -0700731
732func (x *NestedWithRequired) String() string {
733 return protoimpl.X.MessageStringOf(x)
734}
735
736func (*NestedWithRequired) ProtoMessage() {}
737
738func (x *NestedWithRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700739 mi := &file_pb2_test_proto_msgTypes[7]
740 if protoimpl.UnsafeEnabled && x != nil {
741 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
742 if ms.LoadMessageInfo() == nil {
743 ms.StoreMessageInfo(mi)
744 }
745 return ms
746 }
747 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700748}
Joe Tsai8e506a82019-03-16 00:05:34 -0700749
Joe Tsai43761bd2019-07-17 18:06:47 -0700750// Deprecated: Use NestedWithRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800751func (*NestedWithRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700752 return file_pb2_test_proto_rawDescGZIP(), []int{7}
Herbie Ong8170d692019-02-13 14:13:21 -0800753}
754
Joe Tsai61968ce2019-04-01 12:59:24 -0700755func (x *NestedWithRequired) GetReqString() string {
756 if x != nil && x.ReqString != nil {
757 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800758 }
759 return ""
760}
761
762type IndirectRequired struct {
Joe Tsai38b61962019-08-05 13:09:30 -0700763 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700764 sizeCache protoimpl.SizeCache
765 unknownFields protoimpl.UnknownFields
Joe Tsai38b61962019-08-05 13:09:30 -0700766 OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
767 RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
768 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"`
769 // Types that are valid to be assigned to Union:
770 // *IndirectRequired_OneofNested
771 Union isIndirectRequired_Union `protobuf_oneof:"union"`
Herbie Ong8170d692019-02-13 14:13:21 -0800772}
773
Joe Tsai61968ce2019-04-01 12:59:24 -0700774func (x *IndirectRequired) Reset() {
775 *x = IndirectRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800776}
Joe Tsai61968ce2019-04-01 12:59:24 -0700777
778func (x *IndirectRequired) String() string {
779 return protoimpl.X.MessageStringOf(x)
780}
781
782func (*IndirectRequired) ProtoMessage() {}
783
784func (x *IndirectRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700785 mi := &file_pb2_test_proto_msgTypes[8]
786 if protoimpl.UnsafeEnabled && x != nil {
787 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
788 if ms.LoadMessageInfo() == nil {
789 ms.StoreMessageInfo(mi)
790 }
791 return ms
792 }
793 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700794}
Joe Tsai8e506a82019-03-16 00:05:34 -0700795
Joe Tsai43761bd2019-07-17 18:06:47 -0700796// Deprecated: Use IndirectRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800797func (*IndirectRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700798 return file_pb2_test_proto_rawDescGZIP(), []int{8}
Herbie Ong8170d692019-02-13 14:13:21 -0800799}
800
Joe Tsai61968ce2019-04-01 12:59:24 -0700801func (x *IndirectRequired) GetOptNested() *NestedWithRequired {
802 if x != nil {
803 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800804 }
805 return nil
806}
807
Joe Tsai61968ce2019-04-01 12:59:24 -0700808func (x *IndirectRequired) GetRptNested() []*NestedWithRequired {
809 if x != nil {
810 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800811 }
812 return nil
813}
814
Joe Tsai61968ce2019-04-01 12:59:24 -0700815func (x *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired {
816 if x != nil {
817 return x.StrToNested
Herbie Ong8170d692019-02-13 14:13:21 -0800818 }
819 return nil
820}
821
Herbie Ong8170d692019-02-13 14:13:21 -0800822func (m *IndirectRequired) GetUnion() isIndirectRequired_Union {
823 if m != nil {
824 return m.Union
825 }
826 return nil
827}
828
Joe Tsai61968ce2019-04-01 12:59:24 -0700829func (x *IndirectRequired) GetOneofNested() *NestedWithRequired {
830 if x, ok := x.GetUnion().(*IndirectRequired_OneofNested); ok {
Herbie Ong8170d692019-02-13 14:13:21 -0800831 return x.OneofNested
832 }
833 return nil
834}
835
Joe Tsai872b5002019-04-08 14:03:15 -0700836type isIndirectRequired_Union interface {
837 isIndirectRequired_Union()
838}
839
840type IndirectRequired_OneofNested struct {
841 OneofNested *NestedWithRequired `protobuf:"bytes,4,opt,name=oneof_nested,json=oneofNested,oneof"`
842}
843
844func (*IndirectRequired_OneofNested) isIndirectRequired_Union() {}
845
Herbie Ong8170d692019-02-13 14:13:21 -0800846type Extensions struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700847 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700848 sizeCache protoimpl.SizeCache
849 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -0700850 extensionFields protoimpl.ExtensionFields
Joe Tsai38b61962019-08-05 13:09:30 -0700851 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
852 OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
853 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800854}
855
Joe Tsai61968ce2019-04-01 12:59:24 -0700856func (x *Extensions) Reset() {
857 *x = Extensions{}
Herbie Ong8170d692019-02-13 14:13:21 -0800858}
Joe Tsai61968ce2019-04-01 12:59:24 -0700859
860func (x *Extensions) String() string {
861 return protoimpl.X.MessageStringOf(x)
862}
863
864func (*Extensions) ProtoMessage() {}
865
866func (x *Extensions) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700867 mi := &file_pb2_test_proto_msgTypes[9]
868 if protoimpl.UnsafeEnabled && x != nil {
869 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
870 if ms.LoadMessageInfo() == nil {
871 ms.StoreMessageInfo(mi)
872 }
873 return ms
874 }
875 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700876}
Joe Tsai8e506a82019-03-16 00:05:34 -0700877
Joe Tsai43761bd2019-07-17 18:06:47 -0700878// Deprecated: Use Extensions.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800879func (*Extensions) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700880 return file_pb2_test_proto_rawDescGZIP(), []int{9}
Herbie Ong8170d692019-02-13 14:13:21 -0800881}
882
Joe Tsai4fddeba2019-03-20 18:29:32 -0700883var extRange_Extensions = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800884 {Start: 20, End: 100},
885}
886
Joe Tsai43761bd2019-07-17 18:06:47 -0700887// Deprecated: Use Extensions.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700888func (*Extensions) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -0800889 return extRange_Extensions
890}
891
Joe Tsai61968ce2019-04-01 12:59:24 -0700892func (x *Extensions) GetOptString() string {
893 if x != nil && x.OptString != nil {
894 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800895 }
896 return ""
897}
898
Joe Tsai61968ce2019-04-01 12:59:24 -0700899func (x *Extensions) GetOptBool() bool {
900 if x != nil && x.OptBool != nil {
901 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800902 }
903 return false
904}
905
Joe Tsai61968ce2019-04-01 12:59:24 -0700906func (x *Extensions) GetOptInt32() int32 {
907 if x != nil && x.OptInt32 != nil {
908 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800909 }
910 return 0
911}
912
913type ExtensionsContainer struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700914 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700915 sizeCache protoimpl.SizeCache
916 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800917}
918
Joe Tsai61968ce2019-04-01 12:59:24 -0700919func (x *ExtensionsContainer) Reset() {
920 *x = ExtensionsContainer{}
Herbie Ong8170d692019-02-13 14:13:21 -0800921}
Joe Tsai61968ce2019-04-01 12:59:24 -0700922
923func (x *ExtensionsContainer) String() string {
924 return protoimpl.X.MessageStringOf(x)
925}
926
927func (*ExtensionsContainer) ProtoMessage() {}
928
929func (x *ExtensionsContainer) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700930 mi := &file_pb2_test_proto_msgTypes[10]
931 if protoimpl.UnsafeEnabled && x != nil {
932 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
933 if ms.LoadMessageInfo() == nil {
934 ms.StoreMessageInfo(mi)
935 }
936 return ms
937 }
938 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700939}
Joe Tsai8e506a82019-03-16 00:05:34 -0700940
Joe Tsai43761bd2019-07-17 18:06:47 -0700941// Deprecated: Use ExtensionsContainer.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800942func (*ExtensionsContainer) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700943 return file_pb2_test_proto_rawDescGZIP(), []int{10}
Herbie Ong8170d692019-02-13 14:13:21 -0800944}
945
Herbie Ong8170d692019-02-13 14:13:21 -0800946type MessageSet struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700947 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700948 sizeCache protoimpl.SizeCache
949 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -0700950 extensionFields protoimpl.ExtensionFields
Herbie Ong8170d692019-02-13 14:13:21 -0800951}
952
Joe Tsai61968ce2019-04-01 12:59:24 -0700953func (x *MessageSet) Reset() {
954 *x = MessageSet{}
Herbie Ong8170d692019-02-13 14:13:21 -0800955}
Joe Tsai61968ce2019-04-01 12:59:24 -0700956
957func (x *MessageSet) String() string {
958 return protoimpl.X.MessageStringOf(x)
959}
960
961func (*MessageSet) ProtoMessage() {}
962
963func (x *MessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700964 mi := &file_pb2_test_proto_msgTypes[11]
965 if protoimpl.UnsafeEnabled && x != nil {
966 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
967 if ms.LoadMessageInfo() == nil {
968 ms.StoreMessageInfo(mi)
969 }
970 return ms
971 }
972 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700973}
Joe Tsai8e506a82019-03-16 00:05:34 -0700974
Joe Tsai43761bd2019-07-17 18:06:47 -0700975// Deprecated: Use MessageSet.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800976func (*MessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700977 return file_pb2_test_proto_rawDescGZIP(), []int{11}
Herbie Ong8170d692019-02-13 14:13:21 -0800978}
979
Joe Tsai4fddeba2019-03-20 18:29:32 -0700980var extRange_MessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800981 {Start: 4, End: 2147483646},
982}
983
Joe Tsai43761bd2019-07-17 18:06:47 -0700984// Deprecated: Use MessageSet.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700985func (*MessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -0800986 return extRange_MessageSet
987}
988
Herbie Ong8170d692019-02-13 14:13:21 -0800989type MessageSetExtension struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700990 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700991 sizeCache protoimpl.SizeCache
992 unknownFields protoimpl.UnknownFields
Joe Tsai38b61962019-08-05 13:09:30 -0700993 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800994}
995
Joe Tsai61968ce2019-04-01 12:59:24 -0700996func (x *MessageSetExtension) Reset() {
997 *x = MessageSetExtension{}
Herbie Ong8170d692019-02-13 14:13:21 -0800998}
Joe Tsai61968ce2019-04-01 12:59:24 -0700999
1000func (x *MessageSetExtension) String() string {
1001 return protoimpl.X.MessageStringOf(x)
1002}
1003
1004func (*MessageSetExtension) ProtoMessage() {}
1005
1006func (x *MessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001007 mi := &file_pb2_test_proto_msgTypes[12]
1008 if protoimpl.UnsafeEnabled && x != nil {
1009 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1010 if ms.LoadMessageInfo() == nil {
1011 ms.StoreMessageInfo(mi)
1012 }
1013 return ms
1014 }
1015 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001016}
Joe Tsai8e506a82019-03-16 00:05:34 -07001017
Joe Tsai43761bd2019-07-17 18:06:47 -07001018// Deprecated: Use MessageSetExtension.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001019func (*MessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001020 return file_pb2_test_proto_rawDescGZIP(), []int{12}
Herbie Ong8170d692019-02-13 14:13:21 -08001021}
1022
Joe Tsai61968ce2019-04-01 12:59:24 -07001023func (x *MessageSetExtension) GetOptString() string {
1024 if x != nil && x.OptString != nil {
1025 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001026 }
1027 return ""
1028}
1029
1030type FakeMessageSet struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001031 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001032 sizeCache protoimpl.SizeCache
1033 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001034 extensionFields protoimpl.ExtensionFields
Herbie Ong8170d692019-02-13 14:13:21 -08001035}
1036
Joe Tsai61968ce2019-04-01 12:59:24 -07001037func (x *FakeMessageSet) Reset() {
1038 *x = FakeMessageSet{}
Herbie Ong8170d692019-02-13 14:13:21 -08001039}
Joe Tsai61968ce2019-04-01 12:59:24 -07001040
1041func (x *FakeMessageSet) String() string {
1042 return protoimpl.X.MessageStringOf(x)
1043}
1044
1045func (*FakeMessageSet) ProtoMessage() {}
1046
1047func (x *FakeMessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001048 mi := &file_pb2_test_proto_msgTypes[13]
1049 if protoimpl.UnsafeEnabled && x != nil {
1050 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1051 if ms.LoadMessageInfo() == nil {
1052 ms.StoreMessageInfo(mi)
1053 }
1054 return ms
1055 }
1056 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001057}
Joe Tsai8e506a82019-03-16 00:05:34 -07001058
Joe Tsai43761bd2019-07-17 18:06:47 -07001059// Deprecated: Use FakeMessageSet.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001060func (*FakeMessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001061 return file_pb2_test_proto_rawDescGZIP(), []int{13}
Herbie Ong8170d692019-02-13 14:13:21 -08001062}
1063
Joe Tsai4fddeba2019-03-20 18:29:32 -07001064var extRange_FakeMessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -08001065 {Start: 4, End: 536870911},
1066}
1067
Joe Tsai43761bd2019-07-17 18:06:47 -07001068// Deprecated: Use FakeMessageSet.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -07001069func (*FakeMessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -08001070 return extRange_FakeMessageSet
1071}
1072
Herbie Ong8170d692019-02-13 14:13:21 -08001073type FakeMessageSetExtension struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001074 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001075 sizeCache protoimpl.SizeCache
1076 unknownFields protoimpl.UnknownFields
Joe Tsai38b61962019-08-05 13:09:30 -07001077 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001078}
1079
Joe Tsai61968ce2019-04-01 12:59:24 -07001080func (x *FakeMessageSetExtension) Reset() {
1081 *x = FakeMessageSetExtension{}
Herbie Ong8170d692019-02-13 14:13:21 -08001082}
Joe Tsai61968ce2019-04-01 12:59:24 -07001083
1084func (x *FakeMessageSetExtension) String() string {
1085 return protoimpl.X.MessageStringOf(x)
1086}
1087
1088func (*FakeMessageSetExtension) ProtoMessage() {}
1089
1090func (x *FakeMessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001091 mi := &file_pb2_test_proto_msgTypes[14]
1092 if protoimpl.UnsafeEnabled && x != nil {
1093 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1094 if ms.LoadMessageInfo() == nil {
1095 ms.StoreMessageInfo(mi)
1096 }
1097 return ms
1098 }
1099 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001100}
Joe Tsai8e506a82019-03-16 00:05:34 -07001101
Joe Tsai43761bd2019-07-17 18:06:47 -07001102// Deprecated: Use FakeMessageSetExtension.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001103func (*FakeMessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001104 return file_pb2_test_proto_rawDescGZIP(), []int{14}
Herbie Ong8170d692019-02-13 14:13:21 -08001105}
1106
Joe Tsai61968ce2019-04-01 12:59:24 -07001107func (x *FakeMessageSetExtension) GetOptString() string {
1108 if x != nil && x.OptString != nil {
1109 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001110 }
1111 return ""
1112}
1113
1114// Message contains well-known type fields.
1115type KnownTypes struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001116 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -07001117 sizeCache protoimpl.SizeCache
1118 unknownFields protoimpl.UnknownFields
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001119 OptBool *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
1120 OptInt32 *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
1121 OptInt64 *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
1122 OptUint32 *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
1123 OptUint64 *wrapperspb.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
1124 OptFloat *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
1125 OptDouble *wrapperspb.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
1126 OptString *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1127 OptBytes *wrapperspb.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
1128 OptDuration *durationpb.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"`
1129 OptTimestamp *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"`
1130 OptStruct *structpb.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"`
1131 OptList *structpb.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"`
1132 OptValue *structpb.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"`
1133 OptNull *structpb.NullValue `protobuf:"varint,28,opt,name=opt_null,json=optNull,enum=google.protobuf.NullValue" json:"opt_null,omitempty"`
1134 OptEmpty *emptypb.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"`
1135 OptAny *anypb.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
1136 OptFieldmask *fieldmaskpb.FieldMask `protobuf:"bytes,40,opt,name=opt_fieldmask,json=optFieldmask" json:"opt_fieldmask,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001137}
1138
Joe Tsai61968ce2019-04-01 12:59:24 -07001139func (x *KnownTypes) Reset() {
1140 *x = KnownTypes{}
Herbie Ong8170d692019-02-13 14:13:21 -08001141}
Joe Tsai61968ce2019-04-01 12:59:24 -07001142
1143func (x *KnownTypes) String() string {
1144 return protoimpl.X.MessageStringOf(x)
1145}
1146
1147func (*KnownTypes) ProtoMessage() {}
1148
1149func (x *KnownTypes) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001150 mi := &file_pb2_test_proto_msgTypes[15]
1151 if protoimpl.UnsafeEnabled && x != nil {
1152 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1153 if ms.LoadMessageInfo() == nil {
1154 ms.StoreMessageInfo(mi)
1155 }
1156 return ms
1157 }
1158 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001159}
Joe Tsai8e506a82019-03-16 00:05:34 -07001160
Joe Tsai43761bd2019-07-17 18:06:47 -07001161// Deprecated: Use KnownTypes.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001162func (*KnownTypes) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001163 return file_pb2_test_proto_rawDescGZIP(), []int{15}
Herbie Ong8170d692019-02-13 14:13:21 -08001164}
1165
Joe Tsaia95b29f2019-05-16 12:47:20 -07001166func (x *KnownTypes) GetOptBool() *wrapperspb.BoolValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001167 if x != nil {
1168 return x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -08001169 }
1170 return nil
1171}
1172
Joe Tsaia95b29f2019-05-16 12:47:20 -07001173func (x *KnownTypes) GetOptInt32() *wrapperspb.Int32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001174 if x != nil {
1175 return x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -08001176 }
1177 return nil
1178}
1179
Joe Tsaia95b29f2019-05-16 12:47:20 -07001180func (x *KnownTypes) GetOptInt64() *wrapperspb.Int64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001181 if x != nil {
1182 return x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -08001183 }
1184 return nil
1185}
1186
Joe Tsaia95b29f2019-05-16 12:47:20 -07001187func (x *KnownTypes) GetOptUint32() *wrapperspb.UInt32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001188 if x != nil {
1189 return x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -08001190 }
1191 return nil
1192}
1193
Joe Tsaia95b29f2019-05-16 12:47:20 -07001194func (x *KnownTypes) GetOptUint64() *wrapperspb.UInt64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001195 if x != nil {
1196 return x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -08001197 }
1198 return nil
1199}
1200
Joe Tsaia95b29f2019-05-16 12:47:20 -07001201func (x *KnownTypes) GetOptFloat() *wrapperspb.FloatValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001202 if x != nil {
1203 return x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -08001204 }
1205 return nil
1206}
1207
Joe Tsaia95b29f2019-05-16 12:47:20 -07001208func (x *KnownTypes) GetOptDouble() *wrapperspb.DoubleValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001209 if x != nil {
1210 return x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -08001211 }
1212 return nil
1213}
1214
Joe Tsaia95b29f2019-05-16 12:47:20 -07001215func (x *KnownTypes) GetOptString() *wrapperspb.StringValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001216 if x != nil {
1217 return x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001218 }
1219 return nil
1220}
1221
Joe Tsaia95b29f2019-05-16 12:47:20 -07001222func (x *KnownTypes) GetOptBytes() *wrapperspb.BytesValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001223 if x != nil {
1224 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -08001225 }
1226 return nil
1227}
1228
Joe Tsaia95b29f2019-05-16 12:47:20 -07001229func (x *KnownTypes) GetOptDuration() *durationpb.Duration {
Joe Tsai61968ce2019-04-01 12:59:24 -07001230 if x != nil {
1231 return x.OptDuration
Herbie Ong8170d692019-02-13 14:13:21 -08001232 }
1233 return nil
1234}
1235
Joe Tsaia95b29f2019-05-16 12:47:20 -07001236func (x *KnownTypes) GetOptTimestamp() *timestamppb.Timestamp {
Joe Tsai61968ce2019-04-01 12:59:24 -07001237 if x != nil {
1238 return x.OptTimestamp
Herbie Ong8170d692019-02-13 14:13:21 -08001239 }
1240 return nil
1241}
1242
Joe Tsaia95b29f2019-05-16 12:47:20 -07001243func (x *KnownTypes) GetOptStruct() *structpb.Struct {
Joe Tsai61968ce2019-04-01 12:59:24 -07001244 if x != nil {
1245 return x.OptStruct
Herbie Ong8170d692019-02-13 14:13:21 -08001246 }
1247 return nil
1248}
1249
Joe Tsaia95b29f2019-05-16 12:47:20 -07001250func (x *KnownTypes) GetOptList() *structpb.ListValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001251 if x != nil {
1252 return x.OptList
Herbie Ong8170d692019-02-13 14:13:21 -08001253 }
1254 return nil
1255}
1256
Joe Tsaia95b29f2019-05-16 12:47:20 -07001257func (x *KnownTypes) GetOptValue() *structpb.Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001258 if x != nil {
1259 return x.OptValue
Herbie Ong8170d692019-02-13 14:13:21 -08001260 }
1261 return nil
1262}
1263
Joe Tsaia95b29f2019-05-16 12:47:20 -07001264func (x *KnownTypes) GetOptNull() structpb.NullValue {
Herbie Ong300b9fe2019-03-29 15:42:20 -07001265 if x != nil && x.OptNull != nil {
1266 return *x.OptNull
1267 }
Joe Tsaia95b29f2019-05-16 12:47:20 -07001268 return structpb.NullValue_NULL_VALUE
Herbie Ong300b9fe2019-03-29 15:42:20 -07001269}
1270
Joe Tsaia95b29f2019-05-16 12:47:20 -07001271func (x *KnownTypes) GetOptEmpty() *emptypb.Empty {
Joe Tsai61968ce2019-04-01 12:59:24 -07001272 if x != nil {
1273 return x.OptEmpty
Herbie Ong8170d692019-02-13 14:13:21 -08001274 }
1275 return nil
1276}
1277
Joe Tsaia95b29f2019-05-16 12:47:20 -07001278func (x *KnownTypes) GetOptAny() *anypb.Any {
Joe Tsai61968ce2019-04-01 12:59:24 -07001279 if x != nil {
1280 return x.OptAny
Herbie Ong8170d692019-02-13 14:13:21 -08001281 }
1282 return nil
1283}
1284
Joe Tsaia95b29f2019-05-16 12:47:20 -07001285func (x *KnownTypes) GetOptFieldmask() *fieldmaskpb.FieldMask {
Joe Tsai61968ce2019-04-01 12:59:24 -07001286 if x != nil {
1287 return x.OptFieldmask
Herbie Ong0b0f4032019-03-18 19:06:15 -07001288 }
1289 return nil
1290}
1291
Herbie Ong8170d692019-02-13 14:13:21 -08001292type Nests_OptGroup struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001293 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -07001294 sizeCache protoimpl.SizeCache
1295 unknownFields protoimpl.UnknownFields
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001296 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1297 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
1298 Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,3,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001299}
1300
Joe Tsai61968ce2019-04-01 12:59:24 -07001301func (x *Nests_OptGroup) Reset() {
1302 *x = Nests_OptGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001303}
Joe Tsai61968ce2019-04-01 12:59:24 -07001304
1305func (x *Nests_OptGroup) String() string {
1306 return protoimpl.X.MessageStringOf(x)
1307}
1308
1309func (*Nests_OptGroup) ProtoMessage() {}
1310
1311func (x *Nests_OptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001312 mi := &file_pb2_test_proto_msgTypes[16]
1313 if protoimpl.UnsafeEnabled && x != nil {
1314 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1315 if ms.LoadMessageInfo() == nil {
1316 ms.StoreMessageInfo(mi)
1317 }
1318 return ms
1319 }
1320 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001321}
Joe Tsai8e506a82019-03-16 00:05:34 -07001322
Joe Tsai43761bd2019-07-17 18:06:47 -07001323// Deprecated: Use Nests_OptGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001324func (*Nests_OptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001325 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001326}
1327
Joe Tsai61968ce2019-04-01 12:59:24 -07001328func (x *Nests_OptGroup) GetOptString() string {
1329 if x != nil && x.OptString != nil {
1330 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001331 }
1332 return ""
1333}
1334
Joe Tsai61968ce2019-04-01 12:59:24 -07001335func (x *Nests_OptGroup) GetOptNested() *Nested {
1336 if x != nil {
1337 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -08001338 }
1339 return nil
1340}
1341
Joe Tsai61968ce2019-04-01 12:59:24 -07001342func (x *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup {
1343 if x != nil {
1344 return x.Optnestedgroup
Herbie Ong8170d692019-02-13 14:13:21 -08001345 }
1346 return nil
1347}
1348
1349type Nests_RptGroup struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001350 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001351 sizeCache protoimpl.SizeCache
1352 unknownFields protoimpl.UnknownFields
Joe Tsai38b61962019-08-05 13:09:30 -07001353 RptString []string `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001354}
1355
Joe Tsai61968ce2019-04-01 12:59:24 -07001356func (x *Nests_RptGroup) Reset() {
1357 *x = Nests_RptGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001358}
Joe Tsai61968ce2019-04-01 12:59:24 -07001359
1360func (x *Nests_RptGroup) String() string {
1361 return protoimpl.X.MessageStringOf(x)
1362}
1363
1364func (*Nests_RptGroup) ProtoMessage() {}
1365
1366func (x *Nests_RptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001367 mi := &file_pb2_test_proto_msgTypes[17]
1368 if protoimpl.UnsafeEnabled && x != nil {
1369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1370 if ms.LoadMessageInfo() == nil {
1371 ms.StoreMessageInfo(mi)
1372 }
1373 return ms
1374 }
1375 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001376}
Joe Tsai8e506a82019-03-16 00:05:34 -07001377
Joe Tsai43761bd2019-07-17 18:06:47 -07001378// Deprecated: Use Nests_RptGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001379func (*Nests_RptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001380 return file_pb2_test_proto_rawDescGZIP(), []int{4, 1}
Herbie Ong8170d692019-02-13 14:13:21 -08001381}
1382
Joe Tsai61968ce2019-04-01 12:59:24 -07001383func (x *Nests_RptGroup) GetRptString() []string {
1384 if x != nil {
1385 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -08001386 }
1387 return nil
1388}
1389
1390type Nests_OptGroup_OptNestedGroup struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001391 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001392 sizeCache protoimpl.SizeCache
1393 unknownFields protoimpl.UnknownFields
Joe Tsai38b61962019-08-05 13:09:30 -07001394 OptFixed32 *uint32 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001395}
1396
Joe Tsai61968ce2019-04-01 12:59:24 -07001397func (x *Nests_OptGroup_OptNestedGroup) Reset() {
1398 *x = Nests_OptGroup_OptNestedGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001399}
Joe Tsai61968ce2019-04-01 12:59:24 -07001400
1401func (x *Nests_OptGroup_OptNestedGroup) String() string {
1402 return protoimpl.X.MessageStringOf(x)
1403}
1404
1405func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {}
1406
1407func (x *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001408 mi := &file_pb2_test_proto_msgTypes[18]
1409 if protoimpl.UnsafeEnabled && x != nil {
1410 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1411 if ms.LoadMessageInfo() == nil {
1412 ms.StoreMessageInfo(mi)
1413 }
1414 return ms
1415 }
1416 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001417}
Joe Tsai8e506a82019-03-16 00:05:34 -07001418
Joe Tsai43761bd2019-07-17 18:06:47 -07001419// Deprecated: Use Nests_OptGroup_OptNestedGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001420func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001421 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001422}
1423
Joe Tsai61968ce2019-04-01 12:59:24 -07001424func (x *Nests_OptGroup_OptNestedGroup) GetOptFixed32() uint32 {
1425 if x != nil && x.OptFixed32 != nil {
1426 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -08001427 }
1428 return 0
1429}
1430
Joe Tsai7ca70982019-04-15 13:57:56 -07001431var file_pb2_test_proto_extDescs = []protoiface.ExtensionDescV1{
Joe Tsaiafb455e2019-03-14 16:08:22 -07001432 {
1433 ExtendedType: (*Extensions)(nil),
1434 ExtensionType: (*bool)(nil),
1435 Field: 21,
1436 Name: "pb2.opt_ext_bool",
1437 Tag: "varint,21,opt,name=opt_ext_bool",
1438 Filename: "pb2/test.proto",
1439 },
1440 {
1441 ExtendedType: (*Extensions)(nil),
1442 ExtensionType: (*string)(nil),
1443 Field: 22,
1444 Name: "pb2.opt_ext_string",
1445 Tag: "bytes,22,opt,name=opt_ext_string",
1446 Filename: "pb2/test.proto",
1447 },
1448 {
1449 ExtendedType: (*Extensions)(nil),
1450 ExtensionType: (*Enum)(nil),
1451 Field: 23,
1452 Name: "pb2.opt_ext_enum",
1453 Tag: "varint,23,opt,name=opt_ext_enum,enum=pb2.Enum",
1454 Filename: "pb2/test.proto",
1455 },
1456 {
1457 ExtendedType: (*Extensions)(nil),
1458 ExtensionType: (*Nested)(nil),
1459 Field: 24,
1460 Name: "pb2.opt_ext_nested",
1461 Tag: "bytes,24,opt,name=opt_ext_nested",
1462 Filename: "pb2/test.proto",
1463 },
1464 {
1465 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001466 ExtensionType: (*PartialRequired)(nil),
1467 Field: 25,
1468 Name: "pb2.opt_ext_partial",
1469 Tag: "bytes,25,opt,name=opt_ext_partial",
1470 Filename: "pb2/test.proto",
1471 },
1472 {
1473 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001474 ExtensionType: ([]uint32)(nil),
1475 Field: 31,
1476 Name: "pb2.rpt_ext_fixed32",
1477 Tag: "fixed32,31,rep,name=rpt_ext_fixed32",
1478 Filename: "pb2/test.proto",
1479 },
1480 {
1481 ExtendedType: (*Extensions)(nil),
1482 ExtensionType: ([]Enum)(nil),
1483 Field: 32,
1484 Name: "pb2.rpt_ext_enum",
1485 Tag: "varint,32,rep,name=rpt_ext_enum,enum=pb2.Enum",
1486 Filename: "pb2/test.proto",
1487 },
1488 {
1489 ExtendedType: (*Extensions)(nil),
1490 ExtensionType: ([]*Nested)(nil),
1491 Field: 33,
1492 Name: "pb2.rpt_ext_nested",
1493 Tag: "bytes,33,rep,name=rpt_ext_nested",
1494 Filename: "pb2/test.proto",
1495 },
1496 {
1497 ExtendedType: (*MessageSet)(nil),
1498 ExtensionType: (*FakeMessageSetExtension)(nil),
1499 Field: 50,
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001500 Name: "pb2.message_set_extension",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001501 Tag: "bytes,50,opt,name=message_set_extension",
1502 Filename: "pb2/test.proto",
1503 },
1504 {
1505 ExtendedType: (*Extensions)(nil),
1506 ExtensionType: (*bool)(nil),
1507 Field: 51,
1508 Name: "pb2.ExtensionsContainer.opt_ext_bool",
1509 Tag: "varint,51,opt,name=opt_ext_bool",
1510 Filename: "pb2/test.proto",
1511 },
1512 {
1513 ExtendedType: (*Extensions)(nil),
1514 ExtensionType: (*string)(nil),
1515 Field: 52,
1516 Name: "pb2.ExtensionsContainer.opt_ext_string",
1517 Tag: "bytes,52,opt,name=opt_ext_string",
1518 Filename: "pb2/test.proto",
1519 },
1520 {
1521 ExtendedType: (*Extensions)(nil),
1522 ExtensionType: (*Enum)(nil),
1523 Field: 53,
1524 Name: "pb2.ExtensionsContainer.opt_ext_enum",
1525 Tag: "varint,53,opt,name=opt_ext_enum,enum=pb2.Enum",
1526 Filename: "pb2/test.proto",
1527 },
1528 {
1529 ExtendedType: (*Extensions)(nil),
1530 ExtensionType: (*Nested)(nil),
1531 Field: 54,
1532 Name: "pb2.ExtensionsContainer.opt_ext_nested",
1533 Tag: "bytes,54,opt,name=opt_ext_nested",
1534 Filename: "pb2/test.proto",
1535 },
1536 {
1537 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001538 ExtensionType: (*PartialRequired)(nil),
1539 Field: 55,
1540 Name: "pb2.ExtensionsContainer.opt_ext_partial",
1541 Tag: "bytes,55,opt,name=opt_ext_partial",
1542 Filename: "pb2/test.proto",
1543 },
1544 {
1545 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001546 ExtensionType: ([]string)(nil),
1547 Field: 61,
1548 Name: "pb2.ExtensionsContainer.rpt_ext_string",
1549 Tag: "bytes,61,rep,name=rpt_ext_string",
1550 Filename: "pb2/test.proto",
1551 },
1552 {
1553 ExtendedType: (*Extensions)(nil),
1554 ExtensionType: ([]Enum)(nil),
1555 Field: 62,
1556 Name: "pb2.ExtensionsContainer.rpt_ext_enum",
1557 Tag: "varint,62,rep,name=rpt_ext_enum,enum=pb2.Enum",
1558 Filename: "pb2/test.proto",
1559 },
1560 {
1561 ExtendedType: (*Extensions)(nil),
1562 ExtensionType: ([]*Nested)(nil),
1563 Field: 63,
1564 Name: "pb2.ExtensionsContainer.rpt_ext_nested",
1565 Tag: "bytes,63,rep,name=rpt_ext_nested",
1566 Filename: "pb2/test.proto",
1567 },
1568 {
1569 ExtendedType: (*MessageSet)(nil),
1570 ExtensionType: (*MessageSetExtension)(nil),
1571 Field: 10,
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001572 Name: "pb2.MessageSetExtension.message_set_extension",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001573 Tag: "bytes,10,opt,name=message_set_extension",
1574 Filename: "pb2/test.proto",
1575 },
1576 {
1577 ExtendedType: (*MessageSet)(nil),
1578 ExtensionType: (*MessageSetExtension)(nil),
1579 Field: 20,
1580 Name: "pb2.MessageSetExtension.not_message_set_extension",
1581 Tag: "bytes,20,opt,name=not_message_set_extension",
1582 Filename: "pb2/test.proto",
1583 },
1584 {
1585 ExtendedType: (*MessageSet)(nil),
1586 ExtensionType: (*Nested)(nil),
1587 Field: 30,
1588 Name: "pb2.MessageSetExtension.ext_nested",
1589 Tag: "bytes,30,opt,name=ext_nested",
1590 Filename: "pb2/test.proto",
1591 },
1592 {
1593 ExtendedType: (*FakeMessageSet)(nil),
1594 ExtensionType: (*FakeMessageSetExtension)(nil),
1595 Field: 10,
1596 Name: "pb2.FakeMessageSetExtension.message_set_extension",
1597 Tag: "bytes,10,opt,name=message_set_extension",
1598 Filename: "pb2/test.proto",
1599 },
Herbie Ong8170d692019-02-13 14:13:21 -08001600}
Joe Tsaiafb455e2019-03-14 16:08:22 -07001601var (
1602 // extend pb2.Extensions { optional bool opt_ext_bool = 21; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001603 E_OptExtBool = &file_pb2_test_proto_extDescs[0]
Herbie Ong8170d692019-02-13 14:13:21 -08001604
Joe Tsaiafb455e2019-03-14 16:08:22 -07001605 // extend pb2.Extensions { optional string opt_ext_string = 22; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001606 E_OptExtString = &file_pb2_test_proto_extDescs[1]
Herbie Ong8170d692019-02-13 14:13:21 -08001607
Joe Tsaiafb455e2019-03-14 16:08:22 -07001608 // extend pb2.Extensions { optional pb2.Enum opt_ext_enum = 23; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001609 E_OptExtEnum = &file_pb2_test_proto_extDescs[2]
Herbie Ong8170d692019-02-13 14:13:21 -08001610
Joe Tsaiafb455e2019-03-14 16:08:22 -07001611 // extend pb2.Extensions { optional pb2.Nested opt_ext_nested = 24; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001612 E_OptExtNested = &file_pb2_test_proto_extDescs[3]
Herbie Ong8170d692019-02-13 14:13:21 -08001613
Herbie Ong09b28a92019-04-03 15:42:41 -07001614 // extend pb2.Extensions { optional pb2.PartialRequired opt_ext_partial = 25; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001615 E_OptExtPartial = &file_pb2_test_proto_extDescs[4]
Herbie Ong09b28a92019-04-03 15:42:41 -07001616
Joe Tsaiafb455e2019-03-14 16:08:22 -07001617 // extend pb2.Extensions { repeated fixed32 rpt_ext_fixed32 = 31; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001618 E_RptExtFixed32 = &file_pb2_test_proto_extDescs[5]
Herbie Ong8170d692019-02-13 14:13:21 -08001619
Joe Tsaiafb455e2019-03-14 16:08:22 -07001620 // extend pb2.Extensions { repeated pb2.Enum rpt_ext_enum = 32; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001621 E_RptExtEnum = &file_pb2_test_proto_extDescs[6]
Herbie Ong8170d692019-02-13 14:13:21 -08001622
Joe Tsaiafb455e2019-03-14 16:08:22 -07001623 // extend pb2.Extensions { repeated pb2.Nested rpt_ext_nested = 33; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001624 E_RptExtNested = &file_pb2_test_proto_extDescs[7]
Herbie Ong8170d692019-02-13 14:13:21 -08001625
Joe Tsaiafb455e2019-03-14 16:08:22 -07001626 // extend pb2.MessageSet { optional pb2.FakeMessageSetExtension message_set_extension = 50; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001627 E_MessageSetExtension = &file_pb2_test_proto_extDescs[8]
Herbie Ong8170d692019-02-13 14:13:21 -08001628
Joe Tsaiafb455e2019-03-14 16:08:22 -07001629 // extend pb2.Extensions { optional bool opt_ext_bool = 51; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001630 E_ExtensionsContainer_OptExtBool = &file_pb2_test_proto_extDescs[9]
Herbie Ong8170d692019-02-13 14:13:21 -08001631
Joe Tsaiafb455e2019-03-14 16:08:22 -07001632 // extend pb2.Extensions { optional string opt_ext_string = 52; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001633 E_ExtensionsContainer_OptExtString = &file_pb2_test_proto_extDescs[10]
Herbie Ong8170d692019-02-13 14:13:21 -08001634
Joe Tsaiafb455e2019-03-14 16:08:22 -07001635 // extend pb2.Extensions { optional pb2.Enum opt_ext_enum = 53; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001636 E_ExtensionsContainer_OptExtEnum = &file_pb2_test_proto_extDescs[11]
Herbie Ong8170d692019-02-13 14:13:21 -08001637
Joe Tsaiafb455e2019-03-14 16:08:22 -07001638 // extend pb2.Extensions { optional pb2.Nested opt_ext_nested = 54; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001639 E_ExtensionsContainer_OptExtNested = &file_pb2_test_proto_extDescs[12]
Herbie Ong09b28a92019-04-03 15:42:41 -07001640
1641 // extend pb2.Extensions { optional pb2.PartialRequired opt_ext_partial = 55; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001642 E_ExtensionsContainer_OptExtPartial = &file_pb2_test_proto_extDescs[13]
Herbie Ong8170d692019-02-13 14:13:21 -08001643
Joe Tsaiafb455e2019-03-14 16:08:22 -07001644 // extend pb2.Extensions { repeated string rpt_ext_string = 61; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001645 E_ExtensionsContainer_RptExtString = &file_pb2_test_proto_extDescs[14]
Herbie Ong8170d692019-02-13 14:13:21 -08001646
Joe Tsaiafb455e2019-03-14 16:08:22 -07001647 // extend pb2.Extensions { repeated pb2.Enum rpt_ext_enum = 62; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001648 E_ExtensionsContainer_RptExtEnum = &file_pb2_test_proto_extDescs[15]
Herbie Ong8170d692019-02-13 14:13:21 -08001649
Joe Tsaiafb455e2019-03-14 16:08:22 -07001650 // extend pb2.Extensions { repeated pb2.Nested rpt_ext_nested = 63; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001651 E_ExtensionsContainer_RptExtNested = &file_pb2_test_proto_extDescs[16]
Herbie Ong8170d692019-02-13 14:13:21 -08001652
Joe Tsaiafb455e2019-03-14 16:08:22 -07001653 // extend pb2.MessageSet { optional pb2.MessageSetExtension message_set_extension = 10; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001654 E_MessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[17]
Herbie Ong8170d692019-02-13 14:13:21 -08001655
Joe Tsaiafb455e2019-03-14 16:08:22 -07001656 // extend pb2.MessageSet { optional pb2.MessageSetExtension not_message_set_extension = 20; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001657 E_MessageSetExtension_NotMessageSetExtension = &file_pb2_test_proto_extDescs[18]
Herbie Ong8170d692019-02-13 14:13:21 -08001658
Joe Tsaiafb455e2019-03-14 16:08:22 -07001659 // extend pb2.MessageSet { optional pb2.Nested ext_nested = 30; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001660 E_MessageSetExtension_ExtNested = &file_pb2_test_proto_extDescs[19]
Herbie Ong8170d692019-02-13 14:13:21 -08001661
Joe Tsaiafb455e2019-03-14 16:08:22 -07001662 // extend pb2.FakeMessageSet { optional pb2.FakeMessageSetExtension message_set_extension = 10; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001663 E_FakeMessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[20]
Joe Tsaiafb455e2019-03-14 16:08:22 -07001664)
Joe Tsai5d72cc22019-03-28 01:13:26 -07001665var File_pb2_test_proto protoreflect.FileDescriptor
1666
Joe Tsai7ca70982019-04-15 13:57:56 -07001667var file_pb2_test_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -08001668 0x0a, 0x0e, 0x70, 0x62, 0x32, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1669 0x12, 0x03, 0x70, 0x62, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
1670 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1671 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001672 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67,
1673 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66,
1674 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1675 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1676 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1677 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1678 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
1679 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
1680 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e,
1681 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
1682 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda,
1683 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70,
1684 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x70,
1685 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74,
1686 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1687 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
1688 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12,
1689 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20,
1690 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d,
Joe Tsai19058432019-02-27 21:46:29 -08001691 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001692 0x28, 0x04, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a,
1693 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28,
1694 0x11, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a,
1695 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12,
1696 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1f, 0x0a, 0x0b, 0x6f,
1697 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07,
1698 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1f, 0x0a, 0x0b,
1699 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28,
1700 0x06, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x21, 0x0a,
1701 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20,
1702 0x01, 0x28, 0x0f, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1703 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
1704 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65,
1705 0x64, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74,
1706 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74,
1707 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15,
1708 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12,
1709 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01,
1710 0x28, 0x0c, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1711 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09,
1712 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xfb, 0x01, 0x0a, 0x05,
1713 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x24, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75,
1714 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1715 0x75, 0x6d, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x08, 0x72,
1716 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1717 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x70, 0x74, 0x45, 0x6e, 0x75,
1718 0x6d, 0x12, 0x3d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f,
1719 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32,
1720 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75,
1721 0x6d, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1722 0x12, 0x3d, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65,
1723 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1724 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1725 0x52, 0x0d, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22,
1726 0x28, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a,
1727 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12,
1728 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x94, 0x02, 0x0a, 0x07, 0x52, 0x65,
1729 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1730 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x07, 0x72, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c,
1731 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20,
1732 0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1b, 0x0a,
1733 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03,
1734 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70,
1735 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09,
1736 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74,
1737 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72,
1738 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f,
1739 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x02, 0x52, 0x08, 0x72, 0x70, 0x74,
1740 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75,
1741 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x72, 0x70, 0x74, 0x44, 0x6f,
1742 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69,
1743 0x6e, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72,
1744 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73,
1745 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73,
1746 0x22, 0x53, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70,
1747 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
1748 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1749 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1750 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e,
1751 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0xd3, 0x03, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12,
1752 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20,
1753 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1754 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x6f,
1755 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x13, 0x2e,
1756 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f,
1757 0x75, 0x70, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x0a,
1758 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
1759 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72,
1760 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x67,
1761 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x32,
1762 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
1763 0x08, 0x72, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0xd4, 0x01, 0x0a, 0x08, 0x4f, 0x70,
1764 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74,
1765 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53,
1766 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1767 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1768 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65,
1769 0x64, 0x12, 0x4a, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72,
1770 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x22, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1771 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4f,
1772 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0e, 0x6f,
1773 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x31, 0x0a,
1774 0x0e, 0x4f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
1775 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x01,
1776 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1777 0x1a, 0x29, 0x0a, 0x08, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a,
1778 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
1779 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x72, 0x65, 0x73,
1780 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0xd9, 0x01, 0x0a, 0x09,
1781 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x71,
1782 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x71,
1783 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x66, 0x69, 0x78,
1784 0x65, 0x64, 0x36, 0x34, 0x18, 0x02, 0x20, 0x02, 0x28, 0x10, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x53,
1785 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x64,
1786 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71,
1787 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74,
1788 0x72, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53,
1789 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x5f, 0x65, 0x6e, 0x75,
1790 0x6d, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1791 0x75, 0x6d, 0x52, 0x07, 0x72, 0x65, 0x71, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x0a, 0x72,
1792 0x65, 0x71, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0b, 0x32,
1793 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72, 0x65,
1794 0x71, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4f, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x69,
1795 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65,
1796 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09,
1797 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1798 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1799 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x33, 0x0a, 0x12, 0x4e, 0x65, 0x73, 0x74,
1800 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d,
1801 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02,
1802 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xee, 0x02,
1803 0x0a, 0x10, 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
1804 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1805 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73,
1806 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52,
1807 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x72, 0x70,
1808 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17,
1809 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52,
1810 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74,
1811 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73,
1812 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1813 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
1814 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72,
1815 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3c,
1816 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04,
1817 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
1818 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x48, 0x00, 0x52,
1819 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x1a, 0x57, 0x0a, 0x10,
1820 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79,
1821 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
1822 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
1823 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69,
1824 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
1825 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0x69,
1826 0x0a, 0x0a, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1827 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1828 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x6f,
1829 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x65, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f,
1830 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e,
1831 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e,
Herbie Ong09b28a92019-04-03 15:42:41 -07001832 0x74, 0x33, 0x32, 0x2a, 0x04, 0x08, 0x14, 0x10, 0x65, 0x22, 0x89, 0x04, 0x0a, 0x13, 0x45, 0x78,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001833 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
1834 0x72, 0x32, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1835 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1836 0x6e, 0x73, 0x18, 0x33, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1837 0x42, 0x6f, 0x6f, 0x6c, 0x32, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1838 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1839 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x34, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f,
1840 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x6f,
1841 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1842 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x35, 0x20, 0x01,
1843 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f,
1844 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74,
1845 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1846 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x36, 0x20, 0x01,
1847 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
Herbie Ong09b28a92019-04-03 15:42:41 -07001848 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x32, 0x4d, 0x0a,
1849 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1850 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1851 0x73, 0x18, 0x37, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61,
1852 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f,
1853 0x70, 0x74, 0x45, 0x78, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x32, 0x35, 0x0a, 0x0e,
1854 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f,
1855 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
1856 0x3d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72,
1857 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65,
1858 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1859 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32,
1860 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75,
1861 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1862 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1863 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32,
1864 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e,
1865 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
1866 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07, 0x3a, 0x02, 0x08,
1867 0x01, 0x22, 0xb6, 0x02, 0x0a, 0x13, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74,
1868 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1869 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1870 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x5d, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73,
1871 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1872 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
1873 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d,
Herbie Ong300b9fe2019-03-29 15:42:20 -07001874 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1875 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78,
Herbie Ong09b28a92019-04-03 15:42:41 -07001876 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x64, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x5f, 0x6d,
1877 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
1878 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
1879 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62,
1880 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
1881 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x6e, 0x6f, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
1882 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x3b, 0x0a,
1883 0x0a, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1884 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x1e, 0x20, 0x01,
1885 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
1886 0x09, 0x65, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0e, 0x46, 0x61,
1887 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04,
1888 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9f, 0x01, 0x0a, 0x17, 0x46, 0x61, 0x6b, 0x65, 0x4d,
1889 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1890 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
1891 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e,
1892 0x67, 0x32, 0x65, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74,
1893 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x32,
1894 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18,
1895 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65,
1896 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1897 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45,
1898 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x9e, 0x08, 0x0a, 0x0a, 0x4b, 0x6e, 0x6f,
1899 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62,
1900 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1901 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c,
1902 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x38,
1903 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28,
1904 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1905 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08,
1906 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1907 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
1908 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e,
1909 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1910 0x36, 0x34, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32,
1911 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1912 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
1913 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
1914 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20,
1915 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1916 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75,
1917 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x38, 0x0a, 0x09,
1918 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
1919 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1920 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70,
1921 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f,
1922 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
1923 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75,
1924 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75,
1925 0x62, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1926 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1927 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1928 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1929 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20,
1930 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1931 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65,
1932 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x70,
1933 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b,
1934 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1935 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6f, 0x70, 0x74,
1936 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
1937 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
1938 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1939 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6f, 0x70, 0x74,
1940 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1941 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
1942 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
1943 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63,
1944 0x74, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x1a, 0x20,
1945 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1946 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
1947 0x07, 0x6f, 0x70, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1948 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f,
1949 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61,
1950 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x35, 0x0a,
1951 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0e, 0x32,
1952 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1953 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74,
1954 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x74,
1955 0x79, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1956 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52,
1957 0x08, 0x6f, 0x70, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x6f, 0x70, 0x74,
1958 0x5f, 0x61, 0x6e, 0x79, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
1959 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
1960 0x52, 0x06, 0x6f, 0x70, 0x74, 0x41, 0x6e, 0x79, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
1961 0x66, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b, 0x32,
1962 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1963 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x6f, 0x70, 0x74,
1964 0x46, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x2a, 0x21, 0x0a, 0x04, 0x45, 0x6e, 0x75,
1965 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57,
1966 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10, 0x0a, 0x3a, 0x31, 0x0a, 0x0c,
1967 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70,
1968 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15, 0x20,
1969 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x3a,
1970 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1971 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1972 0x6e, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1973 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78,
1974 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1975 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1976 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1977 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1978 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1979 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1980 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45,
1981 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a, 0x4d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f,
1982 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1983 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x19, 0x20, 0x01,
1984 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1985 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1986 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x3a, 0x37, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x65,
1987 0x78, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32,
1988 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28,
1989 0x07, 0x52, 0x0d, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1990 0x3a, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d,
1991 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1992 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1993 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42,
1994 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1995 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1996 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65,
1997 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74,
1998 0x65, 0x64, 0x3a, 0x61, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65,
1999 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62,
2000 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x32, 0x20, 0x01,
2001 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73,
2002 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
2003 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
Damien Neile89e6242019-05-13 23:55:40 -07002004 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2005 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
2006 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73,
2007 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x32,
Herbie Ong8170d692019-02-13 14:13:21 -08002008}
2009
Joe Tsai5d72cc22019-03-28 01:13:26 -07002010var (
Joe Tsai7ca70982019-04-15 13:57:56 -07002011 file_pb2_test_proto_rawDescOnce sync.Once
2012 file_pb2_test_proto_rawDescData = file_pb2_test_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -07002013)
Herbie Ong8170d692019-02-13 14:13:21 -08002014
Joe Tsai7ca70982019-04-15 13:57:56 -07002015func file_pb2_test_proto_rawDescGZIP() []byte {
2016 file_pb2_test_proto_rawDescOnce.Do(func() {
2017 file_pb2_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb2_test_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -07002018 })
Joe Tsai7ca70982019-04-15 13:57:56 -07002019 return file_pb2_test_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -07002020}
Herbie Ong8170d692019-02-13 14:13:21 -08002021
Joe Tsaid8881392019-06-06 13:01:53 -07002022var file_pb2_test_proto_enumTypes = make([]prototype.Enum, 2)
Joe Tsai4fe96632019-05-22 05:12:36 -04002023var file_pb2_test_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
Joe Tsai7ca70982019-04-15 13:57:56 -07002024var file_pb2_test_proto_goTypes = []interface{}{
Herbie Ong8170d692019-02-13 14:13:21 -08002025 (Enum)(0), // 0: pb2.Enum
2026 (Enums_NestedEnum)(0), // 1: pb2.Enums.NestedEnum
2027 (*Scalars)(nil), // 2: pb2.Scalars
2028 (*Enums)(nil), // 3: pb2.Enums
2029 (*Repeats)(nil), // 4: pb2.Repeats
2030 (*Nested)(nil), // 5: pb2.Nested
2031 (*Nests)(nil), // 6: pb2.Nests
2032 (*Requireds)(nil), // 7: pb2.Requireds
2033 (*PartialRequired)(nil), // 8: pb2.PartialRequired
2034 (*NestedWithRequired)(nil), // 9: pb2.NestedWithRequired
2035 (*IndirectRequired)(nil), // 10: pb2.IndirectRequired
2036 (*Extensions)(nil), // 11: pb2.Extensions
2037 (*ExtensionsContainer)(nil), // 12: pb2.ExtensionsContainer
2038 (*MessageSet)(nil), // 13: pb2.MessageSet
2039 (*MessageSetExtension)(nil), // 14: pb2.MessageSetExtension
2040 (*FakeMessageSet)(nil), // 15: pb2.FakeMessageSet
2041 (*FakeMessageSetExtension)(nil), // 16: pb2.FakeMessageSetExtension
2042 (*KnownTypes)(nil), // 17: pb2.KnownTypes
2043 (*Nests_OptGroup)(nil), // 18: pb2.Nests.OptGroup
2044 (*Nests_RptGroup)(nil), // 19: pb2.Nests.RptGroup
2045 (*Nests_OptGroup_OptNestedGroup)(nil), // 20: pb2.Nests.OptGroup.OptNestedGroup
2046 nil, // 21: pb2.IndirectRequired.StrToNestedEntry
Joe Tsaia95b29f2019-05-16 12:47:20 -07002047 (*wrapperspb.BoolValue)(nil), // 22: google.protobuf.BoolValue
2048 (*wrapperspb.Int32Value)(nil), // 23: google.protobuf.Int32Value
2049 (*wrapperspb.Int64Value)(nil), // 24: google.protobuf.Int64Value
2050 (*wrapperspb.UInt32Value)(nil), // 25: google.protobuf.UInt32Value
2051 (*wrapperspb.UInt64Value)(nil), // 26: google.protobuf.UInt64Value
2052 (*wrapperspb.FloatValue)(nil), // 27: google.protobuf.FloatValue
2053 (*wrapperspb.DoubleValue)(nil), // 28: google.protobuf.DoubleValue
2054 (*wrapperspb.StringValue)(nil), // 29: google.protobuf.StringValue
2055 (*wrapperspb.BytesValue)(nil), // 30: google.protobuf.BytesValue
2056 (*durationpb.Duration)(nil), // 31: google.protobuf.Duration
2057 (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp
2058 (*structpb.Struct)(nil), // 33: google.protobuf.Struct
2059 (*structpb.ListValue)(nil), // 34: google.protobuf.ListValue
2060 (*structpb.Value)(nil), // 35: google.protobuf.Value
2061 (structpb.NullValue)(0), // 36: google.protobuf.NullValue
2062 (*emptypb.Empty)(nil), // 37: google.protobuf.Empty
2063 (*anypb.Any)(nil), // 38: google.protobuf.Any
2064 (*fieldmaskpb.FieldMask)(nil), // 39: google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08002065}
Joe Tsai7ca70982019-04-15 13:57:56 -07002066var file_pb2_test_proto_depIdxs = []int32{
Herbie Ong8170d692019-02-13 14:13:21 -08002067 0, // pb2.Enums.opt_enum:type_name -> pb2.Enum
2068 0, // pb2.Enums.rpt_enum:type_name -> pb2.Enum
2069 1, // pb2.Enums.opt_nested_enum:type_name -> pb2.Enums.NestedEnum
2070 1, // pb2.Enums.rpt_nested_enum:type_name -> pb2.Enums.NestedEnum
2071 5, // pb2.Nested.opt_nested:type_name -> pb2.Nested
2072 5, // pb2.Nests.opt_nested:type_name -> pb2.Nested
2073 18, // pb2.Nests.optgroup:type_name -> pb2.Nests.OptGroup
2074 5, // pb2.Nests.rpt_nested:type_name -> pb2.Nested
2075 19, // pb2.Nests.rptgroup:type_name -> pb2.Nests.RptGroup
2076 0, // pb2.Requireds.req_enum:type_name -> pb2.Enum
2077 5, // pb2.Requireds.req_nested:type_name -> pb2.Nested
2078 9, // pb2.IndirectRequired.opt_nested:type_name -> pb2.NestedWithRequired
2079 9, // pb2.IndirectRequired.rpt_nested:type_name -> pb2.NestedWithRequired
2080 21, // pb2.IndirectRequired.str_to_nested:type_name -> pb2.IndirectRequired.StrToNestedEntry
2081 9, // pb2.IndirectRequired.oneof_nested:type_name -> pb2.NestedWithRequired
2082 22, // pb2.KnownTypes.opt_bool:type_name -> google.protobuf.BoolValue
2083 23, // pb2.KnownTypes.opt_int32:type_name -> google.protobuf.Int32Value
2084 24, // pb2.KnownTypes.opt_int64:type_name -> google.protobuf.Int64Value
2085 25, // pb2.KnownTypes.opt_uint32:type_name -> google.protobuf.UInt32Value
2086 26, // pb2.KnownTypes.opt_uint64:type_name -> google.protobuf.UInt64Value
2087 27, // pb2.KnownTypes.opt_float:type_name -> google.protobuf.FloatValue
2088 28, // pb2.KnownTypes.opt_double:type_name -> google.protobuf.DoubleValue
2089 29, // pb2.KnownTypes.opt_string:type_name -> google.protobuf.StringValue
2090 30, // pb2.KnownTypes.opt_bytes:type_name -> google.protobuf.BytesValue
2091 31, // pb2.KnownTypes.opt_duration:type_name -> google.protobuf.Duration
2092 32, // pb2.KnownTypes.opt_timestamp:type_name -> google.protobuf.Timestamp
2093 33, // pb2.KnownTypes.opt_struct:type_name -> google.protobuf.Struct
2094 34, // pb2.KnownTypes.opt_list:type_name -> google.protobuf.ListValue
2095 35, // pb2.KnownTypes.opt_value:type_name -> google.protobuf.Value
Herbie Ong300b9fe2019-03-29 15:42:20 -07002096 36, // pb2.KnownTypes.opt_null:type_name -> google.protobuf.NullValue
2097 37, // pb2.KnownTypes.opt_empty:type_name -> google.protobuf.Empty
2098 38, // pb2.KnownTypes.opt_any:type_name -> google.protobuf.Any
2099 39, // pb2.KnownTypes.opt_fieldmask:type_name -> google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08002100 5, // pb2.Nests.OptGroup.opt_nested:type_name -> pb2.Nested
2101 20, // pb2.Nests.OptGroup.optnestedgroup:type_name -> pb2.Nests.OptGroup.OptNestedGroup
2102 9, // pb2.IndirectRequired.StrToNestedEntry.value:type_name -> pb2.NestedWithRequired
Joe Tsaid8881392019-06-06 13:01:53 -07002103 11, // pb2.opt_ext_bool:extendee -> pb2.Extensions
2104 11, // pb2.opt_ext_string:extendee -> pb2.Extensions
2105 11, // pb2.opt_ext_enum:extendee -> pb2.Extensions
2106 11, // pb2.opt_ext_nested:extendee -> pb2.Extensions
2107 11, // pb2.opt_ext_partial:extendee -> pb2.Extensions
2108 11, // pb2.rpt_ext_fixed32:extendee -> pb2.Extensions
2109 11, // pb2.rpt_ext_enum:extendee -> pb2.Extensions
2110 11, // pb2.rpt_ext_nested:extendee -> pb2.Extensions
2111 13, // pb2.message_set_extension:extendee -> pb2.MessageSet
2112 11, // pb2.ExtensionsContainer.opt_ext_bool:extendee -> pb2.Extensions
2113 11, // pb2.ExtensionsContainer.opt_ext_string:extendee -> pb2.Extensions
2114 11, // pb2.ExtensionsContainer.opt_ext_enum:extendee -> pb2.Extensions
2115 11, // pb2.ExtensionsContainer.opt_ext_nested:extendee -> pb2.Extensions
2116 11, // pb2.ExtensionsContainer.opt_ext_partial:extendee -> pb2.Extensions
2117 11, // pb2.ExtensionsContainer.rpt_ext_string:extendee -> pb2.Extensions
2118 11, // pb2.ExtensionsContainer.rpt_ext_enum:extendee -> pb2.Extensions
2119 11, // pb2.ExtensionsContainer.rpt_ext_nested:extendee -> pb2.Extensions
2120 13, // pb2.MessageSetExtension.message_set_extension:extendee -> pb2.MessageSet
2121 13, // pb2.MessageSetExtension.not_message_set_extension:extendee -> pb2.MessageSet
2122 13, // pb2.MessageSetExtension.ext_nested:extendee -> pb2.MessageSet
2123 15, // pb2.FakeMessageSetExtension.message_set_extension:extendee -> pb2.FakeMessageSet
Herbie Ong8170d692019-02-13 14:13:21 -08002124 0, // pb2.opt_ext_enum:type_name -> pb2.Enum
2125 5, // pb2.opt_ext_nested:type_name -> pb2.Nested
Herbie Ong09b28a92019-04-03 15:42:41 -07002126 8, // pb2.opt_ext_partial:type_name -> pb2.PartialRequired
Herbie Ong8170d692019-02-13 14:13:21 -08002127 0, // pb2.rpt_ext_enum:type_name -> pb2.Enum
2128 5, // pb2.rpt_ext_nested:type_name -> pb2.Nested
2129 16, // pb2.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2130 0, // pb2.ExtensionsContainer.opt_ext_enum:type_name -> pb2.Enum
2131 5, // pb2.ExtensionsContainer.opt_ext_nested:type_name -> pb2.Nested
Herbie Ong09b28a92019-04-03 15:42:41 -07002132 8, // pb2.ExtensionsContainer.opt_ext_partial:type_name -> pb2.PartialRequired
Herbie Ong8170d692019-02-13 14:13:21 -08002133 0, // pb2.ExtensionsContainer.rpt_ext_enum:type_name -> pb2.Enum
2134 5, // pb2.ExtensionsContainer.rpt_ext_nested:type_name -> pb2.Nested
2135 14, // pb2.MessageSetExtension.message_set_extension:type_name -> pb2.MessageSetExtension
2136 14, // pb2.MessageSetExtension.not_message_set_extension:type_name -> pb2.MessageSetExtension
2137 5, // pb2.MessageSetExtension.ext_nested:type_name -> pb2.Nested
2138 16, // pb2.FakeMessageSetExtension.message_set_extension:type_name -> pb2.FakeMessageSetExtension
Joe Tsaid8881392019-06-06 13:01:53 -07002139 72, // starting offset of method output_type sub-list
2140 72, // starting offset of method input_type sub-list
2141 57, // starting offset of extension type_name sub-list
2142 36, // starting offset of extension extendee sub-list
2143 0, // starting offset of field type_name sub-list
Herbie Ong8170d692019-02-13 14:13:21 -08002144}
2145
Joe Tsai7ca70982019-04-15 13:57:56 -07002146func init() { file_pb2_test_proto_init() }
2147func file_pb2_test_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -08002148 if File_pb2_test_proto != nil {
2149 return
2150 }
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002151 if !protoimpl.UnsafeEnabled {
2152 file_pb2_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2153 switch v := v.(*Scalars); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002154 case 0:
2155 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002156 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002157 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002158 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002159 return &v.unknownFields
2160 default:
2161 return nil
2162 }
2163 }
2164 file_pb2_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2165 switch v := v.(*Enums); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002166 case 0:
2167 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002168 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002169 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002170 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002171 return &v.unknownFields
2172 default:
2173 return nil
2174 }
2175 }
2176 file_pb2_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2177 switch v := v.(*Repeats); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002178 case 0:
2179 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002180 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002181 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002182 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002183 return &v.unknownFields
2184 default:
2185 return nil
2186 }
2187 }
2188 file_pb2_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2189 switch v := v.(*Nested); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002190 case 0:
2191 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002192 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002193 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002194 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002195 return &v.unknownFields
2196 default:
2197 return nil
2198 }
2199 }
2200 file_pb2_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2201 switch v := v.(*Nests); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002202 case 0:
2203 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002204 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002205 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002206 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002207 return &v.unknownFields
2208 default:
2209 return nil
2210 }
2211 }
2212 file_pb2_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2213 switch v := v.(*Requireds); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002214 case 0:
2215 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002216 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002217 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002218 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002219 return &v.unknownFields
2220 default:
2221 return nil
2222 }
2223 }
2224 file_pb2_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
2225 switch v := v.(*PartialRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002226 case 0:
2227 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002228 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002229 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002230 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002231 return &v.unknownFields
2232 default:
2233 return nil
2234 }
2235 }
2236 file_pb2_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2237 switch v := v.(*NestedWithRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002238 case 0:
2239 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002240 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002241 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002242 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002243 return &v.unknownFields
2244 default:
2245 return nil
2246 }
2247 }
2248 file_pb2_test_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
2249 switch v := v.(*IndirectRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002250 case 0:
2251 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002252 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002253 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002254 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002255 return &v.unknownFields
2256 default:
2257 return nil
2258 }
2259 }
2260 file_pb2_test_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
2261 switch v := v.(*Extensions); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002262 case 0:
2263 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002264 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002265 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002266 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002267 return &v.unknownFields
Joe Tsai38b61962019-08-05 13:09:30 -07002268 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002269 return &v.extensionFields
2270 default:
2271 return nil
2272 }
2273 }
2274 file_pb2_test_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2275 switch v := v.(*ExtensionsContainer); i {
2276 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002277 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002278 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002279 return &v.sizeCache
2280 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002281 return &v.unknownFields
2282 default:
2283 return nil
2284 }
2285 }
2286 file_pb2_test_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2287 switch v := v.(*MessageSet); i {
2288 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002289 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002290 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002291 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002292 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002293 return &v.unknownFields
2294 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002295 return &v.extensionFields
2296 default:
2297 return nil
2298 }
2299 }
2300 file_pb2_test_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2301 switch v := v.(*MessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002302 case 0:
2303 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002304 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002305 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002306 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002307 return &v.unknownFields
2308 default:
2309 return nil
2310 }
2311 }
2312 file_pb2_test_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
2313 switch v := v.(*FakeMessageSet); i {
2314 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002315 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002316 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002317 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002318 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002319 return &v.unknownFields
2320 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002321 return &v.extensionFields
2322 default:
2323 return nil
2324 }
2325 }
2326 file_pb2_test_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
2327 switch v := v.(*FakeMessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002328 case 0:
2329 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002330 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002331 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002332 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002333 return &v.unknownFields
2334 default:
2335 return nil
2336 }
2337 }
2338 file_pb2_test_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
2339 switch v := v.(*KnownTypes); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002340 case 0:
2341 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002342 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002343 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002344 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002345 return &v.unknownFields
2346 default:
2347 return nil
2348 }
2349 }
2350 file_pb2_test_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
2351 switch v := v.(*Nests_OptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002352 case 0:
2353 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002354 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002355 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002356 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002357 return &v.unknownFields
2358 default:
2359 return nil
2360 }
2361 }
2362 file_pb2_test_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
2363 switch v := v.(*Nests_RptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002364 case 0:
2365 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002366 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002367 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002368 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002369 return &v.unknownFields
2370 default:
2371 return nil
2372 }
2373 }
2374 file_pb2_test_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
2375 switch v := v.(*Nests_OptGroup_OptNestedGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002376 case 0:
2377 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002378 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002379 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002380 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002381 return &v.unknownFields
2382 default:
2383 return nil
2384 }
2385 }
2386 }
Joe Tsai09912272019-07-08 10:38:11 -07002387 file_pb2_test_proto_msgTypes[8].OneofWrappers = []interface{}{
2388 (*IndirectRequired_OneofNested)(nil),
2389 }
Joe Tsaiaf570872019-07-14 23:04:40 -07002390 type x struct{}
Joe Tsaid8881392019-06-06 13:01:53 -07002391 out := protoimpl.TypeBuilder{
2392 File: protoimpl.DescBuilder{
Joe Tsaiaf570872019-07-14 23:04:40 -07002393 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
Joe Tsaid8881392019-06-06 13:01:53 -07002394 RawDescriptor: file_pb2_test_proto_rawDesc,
2395 NumEnums: 2,
2396 NumMessages: 20,
2397 NumExtensions: 21,
2398 NumServices: 0,
2399 },
2400 GoTypes: file_pb2_test_proto_goTypes,
2401 DependencyIndexes: file_pb2_test_proto_depIdxs,
2402 MessageInfos: file_pb2_test_proto_msgTypes,
2403 LegacyExtensions: file_pb2_test_proto_extDescs,
2404 }.Build()
2405 File_pb2_test_proto = out.File
2406 file_pb2_test_proto_enumTypes = out.Enums
Joe Tsai7ca70982019-04-15 13:57:56 -07002407 file_pb2_test_proto_rawDesc = nil
2408 file_pb2_test_proto_goTypes = nil
2409 file_pb2_test_proto_depIdxs = nil
Herbie Ong8170d692019-02-13 14:13:21 -08002410}