blob: 1d6988ed9dc04c5b3a03ae1fedd7d2554dc65012 [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 Tsai4a7d6332019-08-06 16:45:11 -07001601
1602// Extension fields to Extensions.
Joe Tsaiafb455e2019-03-14 16:08:22 -07001603var (
Joe Tsai4a7d6332019-08-06 16:45:11 -07001604 // optional bool opt_ext_bool = 21;
Joe Tsai7ca70982019-04-15 13:57:56 -07001605 E_OptExtBool = &file_pb2_test_proto_extDescs[0]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001606 // optional string opt_ext_string = 22;
Joe Tsai7ca70982019-04-15 13:57:56 -07001607 E_OptExtString = &file_pb2_test_proto_extDescs[1]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001608 // optional pb2.Enum opt_ext_enum = 23;
Joe Tsai7ca70982019-04-15 13:57:56 -07001609 E_OptExtEnum = &file_pb2_test_proto_extDescs[2]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001610 // optional pb2.Nested opt_ext_nested = 24;
Joe Tsai7ca70982019-04-15 13:57:56 -07001611 E_OptExtNested = &file_pb2_test_proto_extDescs[3]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001612 // optional pb2.PartialRequired opt_ext_partial = 25;
Joe Tsai7ca70982019-04-15 13:57:56 -07001613 E_OptExtPartial = &file_pb2_test_proto_extDescs[4]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001614 // repeated fixed32 rpt_ext_fixed32 = 31;
Joe Tsai7ca70982019-04-15 13:57:56 -07001615 E_RptExtFixed32 = &file_pb2_test_proto_extDescs[5]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001616 // repeated pb2.Enum rpt_ext_enum = 32;
Joe Tsai7ca70982019-04-15 13:57:56 -07001617 E_RptExtEnum = &file_pb2_test_proto_extDescs[6]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001618 // repeated pb2.Nested rpt_ext_nested = 33;
Joe Tsai7ca70982019-04-15 13:57:56 -07001619 E_RptExtNested = &file_pb2_test_proto_extDescs[7]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001620 // optional bool opt_ext_bool = 51;
Joe Tsai7ca70982019-04-15 13:57:56 -07001621 E_ExtensionsContainer_OptExtBool = &file_pb2_test_proto_extDescs[9]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001622 // optional string opt_ext_string = 52;
Joe Tsai7ca70982019-04-15 13:57:56 -07001623 E_ExtensionsContainer_OptExtString = &file_pb2_test_proto_extDescs[10]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001624 // optional pb2.Enum opt_ext_enum = 53;
Joe Tsai7ca70982019-04-15 13:57:56 -07001625 E_ExtensionsContainer_OptExtEnum = &file_pb2_test_proto_extDescs[11]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001626 // optional pb2.Nested opt_ext_nested = 54;
Joe Tsai7ca70982019-04-15 13:57:56 -07001627 E_ExtensionsContainer_OptExtNested = &file_pb2_test_proto_extDescs[12]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001628 // optional pb2.PartialRequired opt_ext_partial = 55;
Joe Tsai7ca70982019-04-15 13:57:56 -07001629 E_ExtensionsContainer_OptExtPartial = &file_pb2_test_proto_extDescs[13]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001630 // repeated string rpt_ext_string = 61;
Joe Tsai7ca70982019-04-15 13:57:56 -07001631 E_ExtensionsContainer_RptExtString = &file_pb2_test_proto_extDescs[14]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001632 // repeated pb2.Enum rpt_ext_enum = 62;
Joe Tsai7ca70982019-04-15 13:57:56 -07001633 E_ExtensionsContainer_RptExtEnum = &file_pb2_test_proto_extDescs[15]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001634 // repeated pb2.Nested rpt_ext_nested = 63;
Joe Tsai7ca70982019-04-15 13:57:56 -07001635 E_ExtensionsContainer_RptExtNested = &file_pb2_test_proto_extDescs[16]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001636)
Herbie Ong8170d692019-02-13 14:13:21 -08001637
Joe Tsai4a7d6332019-08-06 16:45:11 -07001638// Extension fields to MessageSet.
1639var (
1640 // optional pb2.FakeMessageSetExtension message_set_extension = 50;
1641 E_MessageSetExtension = &file_pb2_test_proto_extDescs[8]
1642 // optional pb2.MessageSetExtension message_set_extension = 10;
Joe Tsai7ca70982019-04-15 13:57:56 -07001643 E_MessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[17]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001644 // optional pb2.MessageSetExtension not_message_set_extension = 20;
Joe Tsai7ca70982019-04-15 13:57:56 -07001645 E_MessageSetExtension_NotMessageSetExtension = &file_pb2_test_proto_extDescs[18]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001646 // optional pb2.Nested ext_nested = 30;
Joe Tsai7ca70982019-04-15 13:57:56 -07001647 E_MessageSetExtension_ExtNested = &file_pb2_test_proto_extDescs[19]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001648)
Herbie Ong8170d692019-02-13 14:13:21 -08001649
Joe Tsai4a7d6332019-08-06 16:45:11 -07001650// Extension fields to FakeMessageSet.
1651var (
1652 // optional pb2.FakeMessageSetExtension message_set_extension = 10;
Joe Tsai7ca70982019-04-15 13:57:56 -07001653 E_FakeMessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[20]
Joe Tsaiafb455e2019-03-14 16:08:22 -07001654)
Joe Tsai4a7d6332019-08-06 16:45:11 -07001655
Joe Tsai5d72cc22019-03-28 01:13:26 -07001656var File_pb2_test_proto protoreflect.FileDescriptor
1657
Joe Tsai7ca70982019-04-15 13:57:56 -07001658var file_pb2_test_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -08001659 0x0a, 0x0e, 0x70, 0x62, 0x32, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1660 0x12, 0x03, 0x70, 0x62, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
1661 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1662 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001663 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67,
1664 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66,
1665 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1666 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1667 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1668 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1669 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
1670 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
1671 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e,
1672 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
1673 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda,
1674 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70,
1675 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x70,
1676 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74,
1677 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1678 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
1679 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12,
1680 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20,
1681 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d,
Joe Tsai19058432019-02-27 21:46:29 -08001682 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001683 0x28, 0x04, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a,
1684 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28,
1685 0x11, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a,
1686 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12,
1687 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1f, 0x0a, 0x0b, 0x6f,
1688 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07,
1689 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1f, 0x0a, 0x0b,
1690 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28,
1691 0x06, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x21, 0x0a,
1692 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20,
1693 0x01, 0x28, 0x0f, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1694 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
1695 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65,
1696 0x64, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74,
1697 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74,
1698 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15,
1699 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12,
1700 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01,
1701 0x28, 0x0c, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1702 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09,
1703 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xfb, 0x01, 0x0a, 0x05,
1704 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x24, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75,
1705 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1706 0x75, 0x6d, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x08, 0x72,
1707 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1708 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x70, 0x74, 0x45, 0x6e, 0x75,
1709 0x6d, 0x12, 0x3d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f,
1710 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32,
1711 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75,
1712 0x6d, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1713 0x12, 0x3d, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65,
1714 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1715 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1716 0x52, 0x0d, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22,
1717 0x28, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a,
1718 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12,
1719 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x94, 0x02, 0x0a, 0x07, 0x52, 0x65,
1720 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1721 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x07, 0x72, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c,
1722 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20,
1723 0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1b, 0x0a,
1724 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03,
1725 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70,
1726 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09,
1727 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74,
1728 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72,
1729 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f,
1730 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x02, 0x52, 0x08, 0x72, 0x70, 0x74,
1731 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75,
1732 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x72, 0x70, 0x74, 0x44, 0x6f,
1733 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69,
1734 0x6e, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72,
1735 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73,
1736 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73,
1737 0x22, 0x53, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70,
1738 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
1739 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1740 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1741 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e,
1742 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0xd3, 0x03, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12,
1743 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20,
1744 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1745 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x6f,
1746 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x13, 0x2e,
1747 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f,
1748 0x75, 0x70, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x0a,
1749 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
1750 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72,
1751 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x67,
1752 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x32,
1753 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
1754 0x08, 0x72, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0xd4, 0x01, 0x0a, 0x08, 0x4f, 0x70,
1755 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74,
1756 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53,
1757 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1758 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1759 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65,
1760 0x64, 0x12, 0x4a, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72,
1761 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x22, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1762 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4f,
1763 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0e, 0x6f,
1764 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x31, 0x0a,
1765 0x0e, 0x4f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
1766 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x01,
1767 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1768 0x1a, 0x29, 0x0a, 0x08, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a,
1769 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
1770 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x72, 0x65, 0x73,
1771 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0xd9, 0x01, 0x0a, 0x09,
1772 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x71,
1773 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x71,
1774 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x66, 0x69, 0x78,
1775 0x65, 0x64, 0x36, 0x34, 0x18, 0x02, 0x20, 0x02, 0x28, 0x10, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x53,
1776 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x64,
1777 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71,
1778 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74,
1779 0x72, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53,
1780 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x5f, 0x65, 0x6e, 0x75,
1781 0x6d, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1782 0x75, 0x6d, 0x52, 0x07, 0x72, 0x65, 0x71, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x0a, 0x72,
1783 0x65, 0x71, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0b, 0x32,
1784 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72, 0x65,
1785 0x71, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4f, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x69,
1786 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65,
1787 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09,
1788 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1789 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1790 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x33, 0x0a, 0x12, 0x4e, 0x65, 0x73, 0x74,
1791 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d,
1792 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02,
1793 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xee, 0x02,
1794 0x0a, 0x10, 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
1795 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1796 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73,
1797 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52,
1798 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x72, 0x70,
1799 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17,
1800 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52,
1801 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74,
1802 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73,
1803 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1804 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
1805 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72,
1806 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3c,
1807 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04,
1808 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
1809 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x48, 0x00, 0x52,
1810 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x1a, 0x57, 0x0a, 0x10,
1811 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79,
1812 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
1813 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
1814 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69,
1815 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
1816 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0x69,
1817 0x0a, 0x0a, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1818 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1819 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x6f,
1820 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x65, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f,
1821 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e,
1822 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e,
Herbie Ong09b28a92019-04-03 15:42:41 -07001823 0x74, 0x33, 0x32, 0x2a, 0x04, 0x08, 0x14, 0x10, 0x65, 0x22, 0x89, 0x04, 0x0a, 0x13, 0x45, 0x78,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001824 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
1825 0x72, 0x32, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1826 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1827 0x6e, 0x73, 0x18, 0x33, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1828 0x42, 0x6f, 0x6f, 0x6c, 0x32, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1829 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1830 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x34, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f,
1831 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x6f,
1832 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1833 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x35, 0x20, 0x01,
1834 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f,
1835 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74,
1836 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1837 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x36, 0x20, 0x01,
1838 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
Herbie Ong09b28a92019-04-03 15:42:41 -07001839 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x32, 0x4d, 0x0a,
1840 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1841 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1842 0x73, 0x18, 0x37, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61,
1843 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f,
1844 0x70, 0x74, 0x45, 0x78, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x32, 0x35, 0x0a, 0x0e,
1845 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f,
1846 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
1847 0x3d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72,
1848 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65,
1849 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1850 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32,
1851 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75,
1852 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1853 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1854 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32,
1855 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e,
1856 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
1857 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07, 0x3a, 0x02, 0x08,
1858 0x01, 0x22, 0xb6, 0x02, 0x0a, 0x13, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74,
1859 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1860 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1861 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x5d, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73,
1862 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1863 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
1864 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d,
Herbie Ong300b9fe2019-03-29 15:42:20 -07001865 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1866 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78,
Herbie Ong09b28a92019-04-03 15:42:41 -07001867 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x64, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x5f, 0x6d,
1868 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
1869 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
1870 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62,
1871 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
1872 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x6e, 0x6f, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
1873 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x3b, 0x0a,
1874 0x0a, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1875 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x1e, 0x20, 0x01,
1876 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
1877 0x09, 0x65, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0e, 0x46, 0x61,
1878 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04,
1879 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9f, 0x01, 0x0a, 0x17, 0x46, 0x61, 0x6b, 0x65, 0x4d,
1880 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1881 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
1882 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e,
1883 0x67, 0x32, 0x65, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74,
1884 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x32,
1885 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18,
1886 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65,
1887 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1888 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45,
1889 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x9e, 0x08, 0x0a, 0x0a, 0x4b, 0x6e, 0x6f,
1890 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62,
1891 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1892 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c,
1893 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x38,
1894 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28,
1895 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1896 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08,
1897 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1898 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
1899 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e,
1900 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1901 0x36, 0x34, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32,
1902 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1903 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
1904 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
1905 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20,
1906 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1907 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75,
1908 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x38, 0x0a, 0x09,
1909 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
1910 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1911 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70,
1912 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f,
1913 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
1914 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75,
1915 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75,
1916 0x62, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1917 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1918 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1919 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1920 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20,
1921 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1922 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65,
1923 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x70,
1924 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b,
1925 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1926 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6f, 0x70, 0x74,
1927 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
1928 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
1929 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1930 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6f, 0x70, 0x74,
1931 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1932 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
1933 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
1934 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63,
1935 0x74, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x1a, 0x20,
1936 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1937 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
1938 0x07, 0x6f, 0x70, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1939 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f,
1940 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61,
1941 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x35, 0x0a,
1942 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0e, 0x32,
1943 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1944 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74,
1945 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x74,
1946 0x79, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1947 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52,
1948 0x08, 0x6f, 0x70, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x6f, 0x70, 0x74,
1949 0x5f, 0x61, 0x6e, 0x79, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
1950 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
1951 0x52, 0x06, 0x6f, 0x70, 0x74, 0x41, 0x6e, 0x79, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
1952 0x66, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b, 0x32,
1953 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1954 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x6f, 0x70, 0x74,
1955 0x46, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x2a, 0x21, 0x0a, 0x04, 0x45, 0x6e, 0x75,
1956 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57,
1957 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10, 0x0a, 0x3a, 0x31, 0x0a, 0x0c,
1958 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70,
1959 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15, 0x20,
1960 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x3a,
1961 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1962 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1963 0x6e, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1964 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78,
1965 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1966 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1967 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1968 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1969 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1970 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1971 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45,
1972 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a, 0x4d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f,
1973 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1974 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x19, 0x20, 0x01,
1975 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1976 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1977 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x3a, 0x37, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x65,
1978 0x78, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32,
1979 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28,
1980 0x07, 0x52, 0x0d, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1981 0x3a, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d,
1982 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1983 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1984 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42,
1985 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1986 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1987 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65,
1988 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74,
1989 0x65, 0x64, 0x3a, 0x61, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65,
1990 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1991 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x32, 0x20, 0x01,
1992 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73,
1993 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1994 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
Damien Neile89e6242019-05-13 23:55:40 -07001995 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1996 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1997 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73,
1998 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x32,
Herbie Ong8170d692019-02-13 14:13:21 -08001999}
2000
Joe Tsai5d72cc22019-03-28 01:13:26 -07002001var (
Joe Tsai7ca70982019-04-15 13:57:56 -07002002 file_pb2_test_proto_rawDescOnce sync.Once
2003 file_pb2_test_proto_rawDescData = file_pb2_test_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -07002004)
Herbie Ong8170d692019-02-13 14:13:21 -08002005
Joe Tsai7ca70982019-04-15 13:57:56 -07002006func file_pb2_test_proto_rawDescGZIP() []byte {
2007 file_pb2_test_proto_rawDescOnce.Do(func() {
2008 file_pb2_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb2_test_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -07002009 })
Joe Tsai7ca70982019-04-15 13:57:56 -07002010 return file_pb2_test_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -07002011}
Herbie Ong8170d692019-02-13 14:13:21 -08002012
Joe Tsaid8881392019-06-06 13:01:53 -07002013var file_pb2_test_proto_enumTypes = make([]prototype.Enum, 2)
Joe Tsai4fe96632019-05-22 05:12:36 -04002014var file_pb2_test_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
Joe Tsai7ca70982019-04-15 13:57:56 -07002015var file_pb2_test_proto_goTypes = []interface{}{
Herbie Ong8170d692019-02-13 14:13:21 -08002016 (Enum)(0), // 0: pb2.Enum
2017 (Enums_NestedEnum)(0), // 1: pb2.Enums.NestedEnum
2018 (*Scalars)(nil), // 2: pb2.Scalars
2019 (*Enums)(nil), // 3: pb2.Enums
2020 (*Repeats)(nil), // 4: pb2.Repeats
2021 (*Nested)(nil), // 5: pb2.Nested
2022 (*Nests)(nil), // 6: pb2.Nests
2023 (*Requireds)(nil), // 7: pb2.Requireds
2024 (*PartialRequired)(nil), // 8: pb2.PartialRequired
2025 (*NestedWithRequired)(nil), // 9: pb2.NestedWithRequired
2026 (*IndirectRequired)(nil), // 10: pb2.IndirectRequired
2027 (*Extensions)(nil), // 11: pb2.Extensions
2028 (*ExtensionsContainer)(nil), // 12: pb2.ExtensionsContainer
2029 (*MessageSet)(nil), // 13: pb2.MessageSet
2030 (*MessageSetExtension)(nil), // 14: pb2.MessageSetExtension
2031 (*FakeMessageSet)(nil), // 15: pb2.FakeMessageSet
2032 (*FakeMessageSetExtension)(nil), // 16: pb2.FakeMessageSetExtension
2033 (*KnownTypes)(nil), // 17: pb2.KnownTypes
2034 (*Nests_OptGroup)(nil), // 18: pb2.Nests.OptGroup
2035 (*Nests_RptGroup)(nil), // 19: pb2.Nests.RptGroup
2036 (*Nests_OptGroup_OptNestedGroup)(nil), // 20: pb2.Nests.OptGroup.OptNestedGroup
2037 nil, // 21: pb2.IndirectRequired.StrToNestedEntry
Joe Tsaia95b29f2019-05-16 12:47:20 -07002038 (*wrapperspb.BoolValue)(nil), // 22: google.protobuf.BoolValue
2039 (*wrapperspb.Int32Value)(nil), // 23: google.protobuf.Int32Value
2040 (*wrapperspb.Int64Value)(nil), // 24: google.protobuf.Int64Value
2041 (*wrapperspb.UInt32Value)(nil), // 25: google.protobuf.UInt32Value
2042 (*wrapperspb.UInt64Value)(nil), // 26: google.protobuf.UInt64Value
2043 (*wrapperspb.FloatValue)(nil), // 27: google.protobuf.FloatValue
2044 (*wrapperspb.DoubleValue)(nil), // 28: google.protobuf.DoubleValue
2045 (*wrapperspb.StringValue)(nil), // 29: google.protobuf.StringValue
2046 (*wrapperspb.BytesValue)(nil), // 30: google.protobuf.BytesValue
2047 (*durationpb.Duration)(nil), // 31: google.protobuf.Duration
2048 (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp
2049 (*structpb.Struct)(nil), // 33: google.protobuf.Struct
2050 (*structpb.ListValue)(nil), // 34: google.protobuf.ListValue
2051 (*structpb.Value)(nil), // 35: google.protobuf.Value
2052 (structpb.NullValue)(0), // 36: google.protobuf.NullValue
2053 (*emptypb.Empty)(nil), // 37: google.protobuf.Empty
2054 (*anypb.Any)(nil), // 38: google.protobuf.Any
2055 (*fieldmaskpb.FieldMask)(nil), // 39: google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08002056}
Joe Tsai7ca70982019-04-15 13:57:56 -07002057var file_pb2_test_proto_depIdxs = []int32{
Herbie Ong8170d692019-02-13 14:13:21 -08002058 0, // pb2.Enums.opt_enum:type_name -> pb2.Enum
2059 0, // pb2.Enums.rpt_enum:type_name -> pb2.Enum
2060 1, // pb2.Enums.opt_nested_enum:type_name -> pb2.Enums.NestedEnum
2061 1, // pb2.Enums.rpt_nested_enum:type_name -> pb2.Enums.NestedEnum
2062 5, // pb2.Nested.opt_nested:type_name -> pb2.Nested
2063 5, // pb2.Nests.opt_nested:type_name -> pb2.Nested
2064 18, // pb2.Nests.optgroup:type_name -> pb2.Nests.OptGroup
2065 5, // pb2.Nests.rpt_nested:type_name -> pb2.Nested
2066 19, // pb2.Nests.rptgroup:type_name -> pb2.Nests.RptGroup
2067 0, // pb2.Requireds.req_enum:type_name -> pb2.Enum
2068 5, // pb2.Requireds.req_nested:type_name -> pb2.Nested
2069 9, // pb2.IndirectRequired.opt_nested:type_name -> pb2.NestedWithRequired
2070 9, // pb2.IndirectRequired.rpt_nested:type_name -> pb2.NestedWithRequired
2071 21, // pb2.IndirectRequired.str_to_nested:type_name -> pb2.IndirectRequired.StrToNestedEntry
2072 9, // pb2.IndirectRequired.oneof_nested:type_name -> pb2.NestedWithRequired
2073 22, // pb2.KnownTypes.opt_bool:type_name -> google.protobuf.BoolValue
2074 23, // pb2.KnownTypes.opt_int32:type_name -> google.protobuf.Int32Value
2075 24, // pb2.KnownTypes.opt_int64:type_name -> google.protobuf.Int64Value
2076 25, // pb2.KnownTypes.opt_uint32:type_name -> google.protobuf.UInt32Value
2077 26, // pb2.KnownTypes.opt_uint64:type_name -> google.protobuf.UInt64Value
2078 27, // pb2.KnownTypes.opt_float:type_name -> google.protobuf.FloatValue
2079 28, // pb2.KnownTypes.opt_double:type_name -> google.protobuf.DoubleValue
2080 29, // pb2.KnownTypes.opt_string:type_name -> google.protobuf.StringValue
2081 30, // pb2.KnownTypes.opt_bytes:type_name -> google.protobuf.BytesValue
2082 31, // pb2.KnownTypes.opt_duration:type_name -> google.protobuf.Duration
2083 32, // pb2.KnownTypes.opt_timestamp:type_name -> google.protobuf.Timestamp
2084 33, // pb2.KnownTypes.opt_struct:type_name -> google.protobuf.Struct
2085 34, // pb2.KnownTypes.opt_list:type_name -> google.protobuf.ListValue
2086 35, // pb2.KnownTypes.opt_value:type_name -> google.protobuf.Value
Herbie Ong300b9fe2019-03-29 15:42:20 -07002087 36, // pb2.KnownTypes.opt_null:type_name -> google.protobuf.NullValue
2088 37, // pb2.KnownTypes.opt_empty:type_name -> google.protobuf.Empty
2089 38, // pb2.KnownTypes.opt_any:type_name -> google.protobuf.Any
2090 39, // pb2.KnownTypes.opt_fieldmask:type_name -> google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08002091 5, // pb2.Nests.OptGroup.opt_nested:type_name -> pb2.Nested
2092 20, // pb2.Nests.OptGroup.optnestedgroup:type_name -> pb2.Nests.OptGroup.OptNestedGroup
2093 9, // pb2.IndirectRequired.StrToNestedEntry.value:type_name -> pb2.NestedWithRequired
Joe Tsaid8881392019-06-06 13:01:53 -07002094 11, // pb2.opt_ext_bool:extendee -> pb2.Extensions
2095 11, // pb2.opt_ext_string:extendee -> pb2.Extensions
2096 11, // pb2.opt_ext_enum:extendee -> pb2.Extensions
2097 11, // pb2.opt_ext_nested:extendee -> pb2.Extensions
2098 11, // pb2.opt_ext_partial:extendee -> pb2.Extensions
2099 11, // pb2.rpt_ext_fixed32:extendee -> pb2.Extensions
2100 11, // pb2.rpt_ext_enum:extendee -> pb2.Extensions
2101 11, // pb2.rpt_ext_nested:extendee -> pb2.Extensions
2102 13, // pb2.message_set_extension:extendee -> pb2.MessageSet
2103 11, // pb2.ExtensionsContainer.opt_ext_bool:extendee -> pb2.Extensions
2104 11, // pb2.ExtensionsContainer.opt_ext_string:extendee -> pb2.Extensions
2105 11, // pb2.ExtensionsContainer.opt_ext_enum:extendee -> pb2.Extensions
2106 11, // pb2.ExtensionsContainer.opt_ext_nested:extendee -> pb2.Extensions
2107 11, // pb2.ExtensionsContainer.opt_ext_partial:extendee -> pb2.Extensions
2108 11, // pb2.ExtensionsContainer.rpt_ext_string:extendee -> pb2.Extensions
2109 11, // pb2.ExtensionsContainer.rpt_ext_enum:extendee -> pb2.Extensions
2110 11, // pb2.ExtensionsContainer.rpt_ext_nested:extendee -> pb2.Extensions
2111 13, // pb2.MessageSetExtension.message_set_extension:extendee -> pb2.MessageSet
2112 13, // pb2.MessageSetExtension.not_message_set_extension:extendee -> pb2.MessageSet
2113 13, // pb2.MessageSetExtension.ext_nested:extendee -> pb2.MessageSet
2114 15, // pb2.FakeMessageSetExtension.message_set_extension:extendee -> pb2.FakeMessageSet
Herbie Ong8170d692019-02-13 14:13:21 -08002115 0, // pb2.opt_ext_enum:type_name -> pb2.Enum
2116 5, // pb2.opt_ext_nested:type_name -> pb2.Nested
Herbie Ong09b28a92019-04-03 15:42:41 -07002117 8, // pb2.opt_ext_partial:type_name -> pb2.PartialRequired
Herbie Ong8170d692019-02-13 14:13:21 -08002118 0, // pb2.rpt_ext_enum:type_name -> pb2.Enum
2119 5, // pb2.rpt_ext_nested:type_name -> pb2.Nested
2120 16, // pb2.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2121 0, // pb2.ExtensionsContainer.opt_ext_enum:type_name -> pb2.Enum
2122 5, // pb2.ExtensionsContainer.opt_ext_nested:type_name -> pb2.Nested
Herbie Ong09b28a92019-04-03 15:42:41 -07002123 8, // pb2.ExtensionsContainer.opt_ext_partial:type_name -> pb2.PartialRequired
Herbie Ong8170d692019-02-13 14:13:21 -08002124 0, // pb2.ExtensionsContainer.rpt_ext_enum:type_name -> pb2.Enum
2125 5, // pb2.ExtensionsContainer.rpt_ext_nested:type_name -> pb2.Nested
2126 14, // pb2.MessageSetExtension.message_set_extension:type_name -> pb2.MessageSetExtension
2127 14, // pb2.MessageSetExtension.not_message_set_extension:type_name -> pb2.MessageSetExtension
2128 5, // pb2.MessageSetExtension.ext_nested:type_name -> pb2.Nested
2129 16, // pb2.FakeMessageSetExtension.message_set_extension:type_name -> pb2.FakeMessageSetExtension
Joe Tsaid8881392019-06-06 13:01:53 -07002130 72, // starting offset of method output_type sub-list
2131 72, // starting offset of method input_type sub-list
2132 57, // starting offset of extension type_name sub-list
2133 36, // starting offset of extension extendee sub-list
2134 0, // starting offset of field type_name sub-list
Herbie Ong8170d692019-02-13 14:13:21 -08002135}
2136
Joe Tsai7ca70982019-04-15 13:57:56 -07002137func init() { file_pb2_test_proto_init() }
2138func file_pb2_test_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -08002139 if File_pb2_test_proto != nil {
2140 return
2141 }
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002142 if !protoimpl.UnsafeEnabled {
2143 file_pb2_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2144 switch v := v.(*Scalars); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002145 case 0:
2146 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002147 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002148 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002149 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002150 return &v.unknownFields
2151 default:
2152 return nil
2153 }
2154 }
2155 file_pb2_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2156 switch v := v.(*Enums); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002157 case 0:
2158 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002159 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002160 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002161 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002162 return &v.unknownFields
2163 default:
2164 return nil
2165 }
2166 }
2167 file_pb2_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2168 switch v := v.(*Repeats); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002169 case 0:
2170 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002171 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002172 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002173 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002174 return &v.unknownFields
2175 default:
2176 return nil
2177 }
2178 }
2179 file_pb2_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2180 switch v := v.(*Nested); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002181 case 0:
2182 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002183 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002184 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002185 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002186 return &v.unknownFields
2187 default:
2188 return nil
2189 }
2190 }
2191 file_pb2_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2192 switch v := v.(*Nests); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002193 case 0:
2194 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002195 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002196 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002197 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002198 return &v.unknownFields
2199 default:
2200 return nil
2201 }
2202 }
2203 file_pb2_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2204 switch v := v.(*Requireds); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002205 case 0:
2206 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002207 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002208 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002209 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002210 return &v.unknownFields
2211 default:
2212 return nil
2213 }
2214 }
2215 file_pb2_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
2216 switch v := v.(*PartialRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002217 case 0:
2218 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002219 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002220 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002221 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002222 return &v.unknownFields
2223 default:
2224 return nil
2225 }
2226 }
2227 file_pb2_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2228 switch v := v.(*NestedWithRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002229 case 0:
2230 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002231 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002232 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002233 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002234 return &v.unknownFields
2235 default:
2236 return nil
2237 }
2238 }
2239 file_pb2_test_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
2240 switch v := v.(*IndirectRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002241 case 0:
2242 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002243 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002244 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002245 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002246 return &v.unknownFields
2247 default:
2248 return nil
2249 }
2250 }
2251 file_pb2_test_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
2252 switch v := v.(*Extensions); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002253 case 0:
2254 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002255 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002256 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002257 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002258 return &v.unknownFields
Joe Tsai38b61962019-08-05 13:09:30 -07002259 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002260 return &v.extensionFields
2261 default:
2262 return nil
2263 }
2264 }
2265 file_pb2_test_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2266 switch v := v.(*ExtensionsContainer); i {
2267 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002268 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002269 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002270 return &v.sizeCache
2271 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002272 return &v.unknownFields
2273 default:
2274 return nil
2275 }
2276 }
2277 file_pb2_test_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2278 switch v := v.(*MessageSet); i {
2279 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002280 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002281 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002282 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002283 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002284 return &v.unknownFields
2285 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002286 return &v.extensionFields
2287 default:
2288 return nil
2289 }
2290 }
2291 file_pb2_test_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2292 switch v := v.(*MessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002293 case 0:
2294 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002295 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002296 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002297 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002298 return &v.unknownFields
2299 default:
2300 return nil
2301 }
2302 }
2303 file_pb2_test_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
2304 switch v := v.(*FakeMessageSet); i {
2305 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002306 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002307 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002308 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002309 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002310 return &v.unknownFields
2311 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002312 return &v.extensionFields
2313 default:
2314 return nil
2315 }
2316 }
2317 file_pb2_test_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
2318 switch v := v.(*FakeMessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002319 case 0:
2320 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002321 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002322 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002323 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002324 return &v.unknownFields
2325 default:
2326 return nil
2327 }
2328 }
2329 file_pb2_test_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
2330 switch v := v.(*KnownTypes); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002331 case 0:
2332 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002333 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002334 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002335 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002336 return &v.unknownFields
2337 default:
2338 return nil
2339 }
2340 }
2341 file_pb2_test_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
2342 switch v := v.(*Nests_OptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002343 case 0:
2344 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002345 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002346 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002347 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002348 return &v.unknownFields
2349 default:
2350 return nil
2351 }
2352 }
2353 file_pb2_test_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
2354 switch v := v.(*Nests_RptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002355 case 0:
2356 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002357 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002358 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002359 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002360 return &v.unknownFields
2361 default:
2362 return nil
2363 }
2364 }
2365 file_pb2_test_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
2366 switch v := v.(*Nests_OptGroup_OptNestedGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002367 case 0:
2368 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002369 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002370 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002371 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002372 return &v.unknownFields
2373 default:
2374 return nil
2375 }
2376 }
2377 }
Joe Tsai09912272019-07-08 10:38:11 -07002378 file_pb2_test_proto_msgTypes[8].OneofWrappers = []interface{}{
2379 (*IndirectRequired_OneofNested)(nil),
2380 }
Joe Tsaiaf570872019-07-14 23:04:40 -07002381 type x struct{}
Joe Tsaid8881392019-06-06 13:01:53 -07002382 out := protoimpl.TypeBuilder{
2383 File: protoimpl.DescBuilder{
Joe Tsaiaf570872019-07-14 23:04:40 -07002384 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
Joe Tsaid8881392019-06-06 13:01:53 -07002385 RawDescriptor: file_pb2_test_proto_rawDesc,
2386 NumEnums: 2,
2387 NumMessages: 20,
2388 NumExtensions: 21,
2389 NumServices: 0,
2390 },
2391 GoTypes: file_pb2_test_proto_goTypes,
2392 DependencyIndexes: file_pb2_test_proto_depIdxs,
2393 MessageInfos: file_pb2_test_proto_msgTypes,
2394 LegacyExtensions: file_pb2_test_proto_extDescs,
2395 }.Build()
2396 File_pb2_test_proto = out.File
2397 file_pb2_test_proto_enumTypes = out.Enums
Joe Tsai7ca70982019-04-15 13:57:56 -07002398 file_pb2_test_proto_rawDesc = nil
2399 file_pb2_test_proto_goTypes = nil
2400 file_pb2_test_proto_depIdxs = nil
Herbie Ong8170d692019-02-13 14:13:21 -08002401}