blob: 93b3fa702a701fe8aabbe750a9a463b2ceda53ad [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
Herbie Ong8170d692019-02-13 14:13:21 -080037var Enum_name = map[int32]string{
38 1: "ONE",
39 2: "TWO",
40 10: "TEN",
41}
42
43var Enum_value = map[string]int32{
44 "ONE": 1,
45 "TWO": 2,
46 "TEN": 10,
47}
48
49func (x Enum) Enum() *Enum {
Joe Tsai09b5b462019-04-10 15:29:01 -070050 p := new(Enum)
51 *p = x
52 return p
Herbie Ong8170d692019-02-13 14:13:21 -080053}
54
55func (x Enum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -070056 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -080057}
58
Joe Tsai0fc49f82019-05-01 12:29:25 -070059func (Enum) Descriptor() protoreflect.EnumDescriptor {
Joe Tsaid8881392019-06-06 13:01:53 -070060 return file_pb2_test_proto_enumTypes[0].EnumDescriptor
Joe Tsai0fc49f82019-05-01 12:29:25 -070061}
62
Joe Tsaid4211502019-07-02 14:58:02 -070063func (Enum) Type() protoreflect.EnumType {
64 return &file_pb2_test_proto_enumTypes[0]
65}
66
Joe Tsai61968ce2019-04-01 12:59:24 -070067func (x Enum) Number() protoreflect.EnumNumber {
68 return protoreflect.EnumNumber(x)
69}
70
Joe Tsai8e506a82019-03-16 00:05:34 -070071// Deprecated: Do not use.
72func (x *Enum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -070073 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -080074 if err != nil {
75 return err
76 }
Joe Tsai8e506a82019-03-16 00:05:34 -070077 *x = Enum(num)
Herbie Ong8170d692019-02-13 14:13:21 -080078 return nil
79}
80
Joe Tsai43761bd2019-07-17 18:06:47 -070081// Deprecated: Use Enum.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -080082func (Enum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -070083 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -080084}
85
86type Enums_NestedEnum int32
87
88const (
89 Enums_UNO Enums_NestedEnum = 1
90 Enums_DOS Enums_NestedEnum = 2
91 Enums_DIEZ Enums_NestedEnum = 10
92)
93
Herbie Ong8170d692019-02-13 14:13:21 -080094var Enums_NestedEnum_name = map[int32]string{
95 1: "UNO",
96 2: "DOS",
97 10: "DIEZ",
98}
99
100var Enums_NestedEnum_value = map[string]int32{
101 "UNO": 1,
102 "DOS": 2,
103 "DIEZ": 10,
104}
105
106func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
Joe Tsai09b5b462019-04-10 15:29:01 -0700107 p := new(Enums_NestedEnum)
108 *p = x
109 return p
Herbie Ong8170d692019-02-13 14:13:21 -0800110}
111
112func (x Enums_NestedEnum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700113 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -0800114}
115
Joe Tsai0fc49f82019-05-01 12:29:25 -0700116func (Enums_NestedEnum) Descriptor() protoreflect.EnumDescriptor {
Joe Tsaid8881392019-06-06 13:01:53 -0700117 return file_pb2_test_proto_enumTypes[1].EnumDescriptor
Joe Tsai0fc49f82019-05-01 12:29:25 -0700118}
119
Joe Tsaid4211502019-07-02 14:58:02 -0700120func (Enums_NestedEnum) Type() protoreflect.EnumType {
121 return &file_pb2_test_proto_enumTypes[1]
122}
123
Joe Tsai61968ce2019-04-01 12:59:24 -0700124func (x Enums_NestedEnum) Number() protoreflect.EnumNumber {
125 return protoreflect.EnumNumber(x)
126}
127
Joe Tsai8e506a82019-03-16 00:05:34 -0700128// Deprecated: Do not use.
129func (x *Enums_NestedEnum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700130 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -0800131 if err != nil {
132 return err
133 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700134 *x = Enums_NestedEnum(num)
Herbie Ong8170d692019-02-13 14:13:21 -0800135 return nil
136}
137
Joe Tsai43761bd2019-07-17 18:06:47 -0700138// Deprecated: Use Enums_NestedEnum.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800139func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700140 return file_pb2_test_proto_rawDescGZIP(), []int{1, 0}
Herbie Ong8170d692019-02-13 14:13:21 -0800141}
142
143// Scalars contains optional scalar fields.
144type Scalars struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700145 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700146 sizeCache protoimpl.SizeCache
147 unknownFields protoimpl.UnknownFields
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700148 OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
149 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
150 OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
151 OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
152 OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
153 OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"`
154 OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"`
155 OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
156 OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"`
157 OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"`
158 OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"`
159 OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
160 OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
161 OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
162 OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800163}
164
Joe Tsai61968ce2019-04-01 12:59:24 -0700165func (x *Scalars) Reset() {
166 *x = Scalars{}
Herbie Ong8170d692019-02-13 14:13:21 -0800167}
Joe Tsai61968ce2019-04-01 12:59:24 -0700168
169func (x *Scalars) String() string {
170 return protoimpl.X.MessageStringOf(x)
171}
172
173func (*Scalars) ProtoMessage() {}
174
175func (x *Scalars) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700176 mi := &file_pb2_test_proto_msgTypes[0]
177 if protoimpl.UnsafeEnabled && x != nil {
178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
179 if ms.LoadMessageInfo() == nil {
180 ms.StoreMessageInfo(mi)
181 }
182 return ms
183 }
184 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700185}
Joe Tsai8e506a82019-03-16 00:05:34 -0700186
Joe Tsai43761bd2019-07-17 18:06:47 -0700187// Deprecated: Use Scalars.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800188func (*Scalars) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700189 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -0800190}
191
Joe Tsai61968ce2019-04-01 12:59:24 -0700192func (x *Scalars) GetOptBool() bool {
193 if x != nil && x.OptBool != nil {
194 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800195 }
196 return false
197}
198
Joe Tsai61968ce2019-04-01 12:59:24 -0700199func (x *Scalars) GetOptInt32() int32 {
200 if x != nil && x.OptInt32 != nil {
201 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800202 }
203 return 0
204}
205
Joe Tsai61968ce2019-04-01 12:59:24 -0700206func (x *Scalars) GetOptInt64() int64 {
207 if x != nil && x.OptInt64 != nil {
208 return *x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800209 }
210 return 0
211}
212
Joe Tsai61968ce2019-04-01 12:59:24 -0700213func (x *Scalars) GetOptUint32() uint32 {
214 if x != nil && x.OptUint32 != nil {
215 return *x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800216 }
217 return 0
218}
219
Joe Tsai61968ce2019-04-01 12:59:24 -0700220func (x *Scalars) GetOptUint64() uint64 {
221 if x != nil && x.OptUint64 != nil {
222 return *x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800223 }
224 return 0
225}
226
Joe Tsai61968ce2019-04-01 12:59:24 -0700227func (x *Scalars) GetOptSint32() int32 {
228 if x != nil && x.OptSint32 != nil {
229 return *x.OptSint32
Herbie Ong8170d692019-02-13 14:13:21 -0800230 }
231 return 0
232}
233
Joe Tsai61968ce2019-04-01 12:59:24 -0700234func (x *Scalars) GetOptSint64() int64 {
235 if x != nil && x.OptSint64 != nil {
236 return *x.OptSint64
Herbie Ong8170d692019-02-13 14:13:21 -0800237 }
238 return 0
239}
240
Joe Tsai61968ce2019-04-01 12:59:24 -0700241func (x *Scalars) GetOptFixed32() uint32 {
242 if x != nil && x.OptFixed32 != nil {
243 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800244 }
245 return 0
246}
247
Joe Tsai61968ce2019-04-01 12:59:24 -0700248func (x *Scalars) GetOptFixed64() uint64 {
249 if x != nil && x.OptFixed64 != nil {
250 return *x.OptFixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800251 }
252 return 0
253}
254
Joe Tsai61968ce2019-04-01 12:59:24 -0700255func (x *Scalars) GetOptSfixed32() int32 {
256 if x != nil && x.OptSfixed32 != nil {
257 return *x.OptSfixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800258 }
259 return 0
260}
261
Joe Tsai61968ce2019-04-01 12:59:24 -0700262func (x *Scalars) GetOptSfixed64() int64 {
263 if x != nil && x.OptSfixed64 != nil {
264 return *x.OptSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800265 }
266 return 0
267}
268
Joe Tsai61968ce2019-04-01 12:59:24 -0700269func (x *Scalars) GetOptFloat() float32 {
270 if x != nil && x.OptFloat != nil {
271 return *x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800272 }
273 return 0
274}
275
Joe Tsai61968ce2019-04-01 12:59:24 -0700276func (x *Scalars) GetOptDouble() float64 {
277 if x != nil && x.OptDouble != nil {
278 return *x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800279 }
280 return 0
281}
282
Joe Tsai61968ce2019-04-01 12:59:24 -0700283func (x *Scalars) GetOptBytes() []byte {
284 if x != nil {
285 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800286 }
287 return nil
288}
289
Joe Tsai61968ce2019-04-01 12:59:24 -0700290func (x *Scalars) GetOptString() string {
291 if x != nil && x.OptString != nil {
292 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800293 }
294 return ""
295}
296
297// Message contains enum fields.
298type Enums struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700299 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700300 sizeCache protoimpl.SizeCache
301 unknownFields protoimpl.UnknownFields
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700302 OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
303 RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"`
304 OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
305 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 -0800306}
307
Joe Tsai61968ce2019-04-01 12:59:24 -0700308func (x *Enums) Reset() {
309 *x = Enums{}
Herbie Ong8170d692019-02-13 14:13:21 -0800310}
Joe Tsai61968ce2019-04-01 12:59:24 -0700311
312func (x *Enums) String() string {
313 return protoimpl.X.MessageStringOf(x)
314}
315
316func (*Enums) ProtoMessage() {}
317
318func (x *Enums) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700319 mi := &file_pb2_test_proto_msgTypes[1]
320 if protoimpl.UnsafeEnabled && x != nil {
321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
322 if ms.LoadMessageInfo() == nil {
323 ms.StoreMessageInfo(mi)
324 }
325 return ms
326 }
327 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700328}
Joe Tsai8e506a82019-03-16 00:05:34 -0700329
Joe Tsai43761bd2019-07-17 18:06:47 -0700330// Deprecated: Use Enums.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800331func (*Enums) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700332 return file_pb2_test_proto_rawDescGZIP(), []int{1}
Herbie Ong8170d692019-02-13 14:13:21 -0800333}
334
Joe Tsai61968ce2019-04-01 12:59:24 -0700335func (x *Enums) GetOptEnum() Enum {
336 if x != nil && x.OptEnum != nil {
337 return *x.OptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800338 }
339 return Enum_ONE
340}
341
Joe Tsai61968ce2019-04-01 12:59:24 -0700342func (x *Enums) GetRptEnum() []Enum {
343 if x != nil {
344 return x.RptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800345 }
346 return nil
347}
348
Joe Tsai61968ce2019-04-01 12:59:24 -0700349func (x *Enums) GetOptNestedEnum() Enums_NestedEnum {
350 if x != nil && x.OptNestedEnum != nil {
351 return *x.OptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800352 }
353 return Enums_UNO
354}
355
Joe Tsai61968ce2019-04-01 12:59:24 -0700356func (x *Enums) GetRptNestedEnum() []Enums_NestedEnum {
357 if x != nil {
358 return x.RptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800359 }
360 return nil
361}
362
363// Message contains repeated fields.
364type Repeats struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700365 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700366 sizeCache protoimpl.SizeCache
367 unknownFields protoimpl.UnknownFields
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700368 RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
369 RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"`
370 RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"`
371 RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"`
372 RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"`
373 RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"`
374 RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"`
375 RptString []string `protobuf:"bytes,8,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
376 RptBytes [][]byte `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800377}
378
Joe Tsai61968ce2019-04-01 12:59:24 -0700379func (x *Repeats) Reset() {
380 *x = Repeats{}
Herbie Ong8170d692019-02-13 14:13:21 -0800381}
Joe Tsai61968ce2019-04-01 12:59:24 -0700382
383func (x *Repeats) String() string {
384 return protoimpl.X.MessageStringOf(x)
385}
386
387func (*Repeats) ProtoMessage() {}
388
389func (x *Repeats) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700390 mi := &file_pb2_test_proto_msgTypes[2]
391 if protoimpl.UnsafeEnabled && x != nil {
392 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
393 if ms.LoadMessageInfo() == nil {
394 ms.StoreMessageInfo(mi)
395 }
396 return ms
397 }
398 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700399}
Joe Tsai8e506a82019-03-16 00:05:34 -0700400
Joe Tsai43761bd2019-07-17 18:06:47 -0700401// Deprecated: Use Repeats.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800402func (*Repeats) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700403 return file_pb2_test_proto_rawDescGZIP(), []int{2}
Herbie Ong8170d692019-02-13 14:13:21 -0800404}
405
Joe Tsai61968ce2019-04-01 12:59:24 -0700406func (x *Repeats) GetRptBool() []bool {
407 if x != nil {
408 return x.RptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800409 }
410 return nil
411}
412
Joe Tsai61968ce2019-04-01 12:59:24 -0700413func (x *Repeats) GetRptInt32() []int32 {
414 if x != nil {
415 return x.RptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800416 }
417 return nil
418}
419
Joe Tsai61968ce2019-04-01 12:59:24 -0700420func (x *Repeats) GetRptInt64() []int64 {
421 if x != nil {
422 return x.RptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800423 }
424 return nil
425}
426
Joe Tsai61968ce2019-04-01 12:59:24 -0700427func (x *Repeats) GetRptUint32() []uint32 {
428 if x != nil {
429 return x.RptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800430 }
431 return nil
432}
433
Joe Tsai61968ce2019-04-01 12:59:24 -0700434func (x *Repeats) GetRptUint64() []uint64 {
435 if x != nil {
436 return x.RptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800437 }
438 return nil
439}
440
Joe Tsai61968ce2019-04-01 12:59:24 -0700441func (x *Repeats) GetRptFloat() []float32 {
442 if x != nil {
443 return x.RptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800444 }
445 return nil
446}
447
Joe Tsai61968ce2019-04-01 12:59:24 -0700448func (x *Repeats) GetRptDouble() []float64 {
449 if x != nil {
450 return x.RptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800451 }
452 return nil
453}
454
Joe Tsai61968ce2019-04-01 12:59:24 -0700455func (x *Repeats) GetRptString() []string {
456 if x != nil {
457 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -0800458 }
459 return nil
460}
461
Joe Tsai61968ce2019-04-01 12:59:24 -0700462func (x *Repeats) GetRptBytes() [][]byte {
463 if x != nil {
464 return x.RptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800465 }
466 return nil
467}
468
469// Message type used as submessage.
470type Nested struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700471 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700472 sizeCache protoimpl.SizeCache
473 unknownFields protoimpl.UnknownFields
Joe Tsai38b61962019-08-05 13:09:30 -0700474 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
475 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800476}
477
Joe Tsai61968ce2019-04-01 12:59:24 -0700478func (x *Nested) Reset() {
479 *x = Nested{}
Herbie Ong8170d692019-02-13 14:13:21 -0800480}
Joe Tsai61968ce2019-04-01 12:59:24 -0700481
482func (x *Nested) String() string {
483 return protoimpl.X.MessageStringOf(x)
484}
485
486func (*Nested) ProtoMessage() {}
487
488func (x *Nested) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700489 mi := &file_pb2_test_proto_msgTypes[3]
490 if protoimpl.UnsafeEnabled && x != nil {
491 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
492 if ms.LoadMessageInfo() == nil {
493 ms.StoreMessageInfo(mi)
494 }
495 return ms
496 }
497 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700498}
Joe Tsai8e506a82019-03-16 00:05:34 -0700499
Joe Tsai43761bd2019-07-17 18:06:47 -0700500// Deprecated: Use Nested.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800501func (*Nested) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700502 return file_pb2_test_proto_rawDescGZIP(), []int{3}
Herbie Ong8170d692019-02-13 14:13:21 -0800503}
504
Joe Tsai61968ce2019-04-01 12:59:24 -0700505func (x *Nested) GetOptString() string {
506 if x != nil && x.OptString != nil {
507 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800508 }
509 return ""
510}
511
Joe Tsai61968ce2019-04-01 12:59:24 -0700512func (x *Nested) GetOptNested() *Nested {
513 if x != nil {
514 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800515 }
516 return nil
517}
518
519// Message contains message and group fields.
520type Nests struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700521 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700522 sizeCache protoimpl.SizeCache
523 unknownFields protoimpl.UnknownFields
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700524 OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
525 Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"`
526 RptNested []*Nested `protobuf:"bytes,4,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
527 Rptgroup []*Nests_RptGroup `protobuf:"group,5,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800528}
529
Joe Tsai61968ce2019-04-01 12:59:24 -0700530func (x *Nests) Reset() {
531 *x = Nests{}
Herbie Ong8170d692019-02-13 14:13:21 -0800532}
Joe Tsai61968ce2019-04-01 12:59:24 -0700533
534func (x *Nests) String() string {
535 return protoimpl.X.MessageStringOf(x)
536}
537
538func (*Nests) ProtoMessage() {}
539
540func (x *Nests) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700541 mi := &file_pb2_test_proto_msgTypes[4]
542 if protoimpl.UnsafeEnabled && x != nil {
543 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
544 if ms.LoadMessageInfo() == nil {
545 ms.StoreMessageInfo(mi)
546 }
547 return ms
548 }
549 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700550}
Joe Tsai8e506a82019-03-16 00:05:34 -0700551
Joe Tsai43761bd2019-07-17 18:06:47 -0700552// Deprecated: Use Nests.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800553func (*Nests) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700554 return file_pb2_test_proto_rawDescGZIP(), []int{4}
Herbie Ong8170d692019-02-13 14:13:21 -0800555}
556
Joe Tsai61968ce2019-04-01 12:59:24 -0700557func (x *Nests) GetOptNested() *Nested {
558 if x != nil {
559 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800560 }
561 return nil
562}
563
Joe Tsai61968ce2019-04-01 12:59:24 -0700564func (x *Nests) GetOptgroup() *Nests_OptGroup {
565 if x != nil {
566 return x.Optgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800567 }
568 return nil
569}
570
Joe Tsai61968ce2019-04-01 12:59:24 -0700571func (x *Nests) GetRptNested() []*Nested {
572 if x != nil {
573 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800574 }
575 return nil
576}
577
Joe Tsai61968ce2019-04-01 12:59:24 -0700578func (x *Nests) GetRptgroup() []*Nests_RptGroup {
579 if x != nil {
580 return x.Rptgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800581 }
582 return nil
583}
584
585// Message contains required fields.
586type Requireds struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700587 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700588 sizeCache protoimpl.SizeCache
589 unknownFields protoimpl.UnknownFields
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700590 ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"`
591 ReqSfixed64 *int64 `protobuf:"fixed64,2,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"`
592 ReqDouble *float64 `protobuf:"fixed64,3,req,name=req_double,json=reqDouble" json:"req_double,omitempty"`
593 ReqString *string `protobuf:"bytes,4,req,name=req_string,json=reqString" json:"req_string,omitempty"`
594 ReqEnum *Enum `protobuf:"varint,5,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
595 ReqNested *Nested `protobuf:"bytes,6,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800596}
597
Joe Tsai61968ce2019-04-01 12:59:24 -0700598func (x *Requireds) Reset() {
599 *x = Requireds{}
Herbie Ong8170d692019-02-13 14:13:21 -0800600}
Joe Tsai61968ce2019-04-01 12:59:24 -0700601
602func (x *Requireds) String() string {
603 return protoimpl.X.MessageStringOf(x)
604}
605
606func (*Requireds) ProtoMessage() {}
607
608func (x *Requireds) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700609 mi := &file_pb2_test_proto_msgTypes[5]
610 if protoimpl.UnsafeEnabled && x != nil {
611 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
612 if ms.LoadMessageInfo() == nil {
613 ms.StoreMessageInfo(mi)
614 }
615 return ms
616 }
617 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700618}
Joe Tsai8e506a82019-03-16 00:05:34 -0700619
Joe Tsai43761bd2019-07-17 18:06:47 -0700620// Deprecated: Use Requireds.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800621func (*Requireds) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700622 return file_pb2_test_proto_rawDescGZIP(), []int{5}
Herbie Ong8170d692019-02-13 14:13:21 -0800623}
624
Joe Tsai61968ce2019-04-01 12:59:24 -0700625func (x *Requireds) GetReqBool() bool {
626 if x != nil && x.ReqBool != nil {
627 return *x.ReqBool
Herbie Ong8170d692019-02-13 14:13:21 -0800628 }
629 return false
630}
631
Joe Tsai61968ce2019-04-01 12:59:24 -0700632func (x *Requireds) GetReqSfixed64() int64 {
633 if x != nil && x.ReqSfixed64 != nil {
634 return *x.ReqSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800635 }
636 return 0
637}
638
Joe Tsai61968ce2019-04-01 12:59:24 -0700639func (x *Requireds) GetReqDouble() float64 {
640 if x != nil && x.ReqDouble != nil {
641 return *x.ReqDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800642 }
643 return 0
644}
645
Joe Tsai61968ce2019-04-01 12:59:24 -0700646func (x *Requireds) GetReqString() string {
647 if x != nil && x.ReqString != nil {
648 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800649 }
650 return ""
651}
652
Joe Tsai61968ce2019-04-01 12:59:24 -0700653func (x *Requireds) GetReqEnum() Enum {
654 if x != nil && x.ReqEnum != nil {
655 return *x.ReqEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800656 }
657 return Enum_ONE
658}
659
Joe Tsai61968ce2019-04-01 12:59:24 -0700660func (x *Requireds) GetReqNested() *Nested {
661 if x != nil {
662 return x.ReqNested
Herbie Ong8170d692019-02-13 14:13:21 -0800663 }
664 return nil
665}
666
667// Message contains both required and optional fields.
668type PartialRequired struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700669 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700670 sizeCache protoimpl.SizeCache
671 unknownFields protoimpl.UnknownFields
Joe Tsai38b61962019-08-05 13:09:30 -0700672 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
673 OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800674}
675
Joe Tsai61968ce2019-04-01 12:59:24 -0700676func (x *PartialRequired) Reset() {
677 *x = PartialRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800678}
Joe Tsai61968ce2019-04-01 12:59:24 -0700679
680func (x *PartialRequired) String() string {
681 return protoimpl.X.MessageStringOf(x)
682}
683
684func (*PartialRequired) ProtoMessage() {}
685
686func (x *PartialRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700687 mi := &file_pb2_test_proto_msgTypes[6]
688 if protoimpl.UnsafeEnabled && x != nil {
689 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
690 if ms.LoadMessageInfo() == nil {
691 ms.StoreMessageInfo(mi)
692 }
693 return ms
694 }
695 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700696}
Joe Tsai8e506a82019-03-16 00:05:34 -0700697
Joe Tsai43761bd2019-07-17 18:06:47 -0700698// Deprecated: Use PartialRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800699func (*PartialRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700700 return file_pb2_test_proto_rawDescGZIP(), []int{6}
Herbie Ong8170d692019-02-13 14:13:21 -0800701}
702
Joe Tsai61968ce2019-04-01 12:59:24 -0700703func (x *PartialRequired) GetReqString() string {
704 if x != nil && x.ReqString != nil {
705 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800706 }
707 return ""
708}
709
Joe Tsai61968ce2019-04-01 12:59:24 -0700710func (x *PartialRequired) GetOptString() string {
711 if x != nil && x.OptString != nil {
712 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800713 }
714 return ""
715}
716
717type NestedWithRequired struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700718 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700719 sizeCache protoimpl.SizeCache
720 unknownFields protoimpl.UnknownFields
Joe Tsai38b61962019-08-05 13:09:30 -0700721 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800722}
723
Joe Tsai61968ce2019-04-01 12:59:24 -0700724func (x *NestedWithRequired) Reset() {
725 *x = NestedWithRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800726}
Joe Tsai61968ce2019-04-01 12:59:24 -0700727
728func (x *NestedWithRequired) String() string {
729 return protoimpl.X.MessageStringOf(x)
730}
731
732func (*NestedWithRequired) ProtoMessage() {}
733
734func (x *NestedWithRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700735 mi := &file_pb2_test_proto_msgTypes[7]
736 if protoimpl.UnsafeEnabled && x != nil {
737 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
738 if ms.LoadMessageInfo() == nil {
739 ms.StoreMessageInfo(mi)
740 }
741 return ms
742 }
743 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700744}
Joe Tsai8e506a82019-03-16 00:05:34 -0700745
Joe Tsai43761bd2019-07-17 18:06:47 -0700746// Deprecated: Use NestedWithRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800747func (*NestedWithRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700748 return file_pb2_test_proto_rawDescGZIP(), []int{7}
Herbie Ong8170d692019-02-13 14:13:21 -0800749}
750
Joe Tsai61968ce2019-04-01 12:59:24 -0700751func (x *NestedWithRequired) GetReqString() string {
752 if x != nil && x.ReqString != nil {
753 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800754 }
755 return ""
756}
757
758type IndirectRequired struct {
Joe Tsai38b61962019-08-05 13:09:30 -0700759 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700760 sizeCache protoimpl.SizeCache
761 unknownFields protoimpl.UnknownFields
Joe Tsai38b61962019-08-05 13:09:30 -0700762 OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
763 RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
764 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"`
765 // Types that are valid to be assigned to Union:
766 // *IndirectRequired_OneofNested
767 Union isIndirectRequired_Union `protobuf_oneof:"union"`
Herbie Ong8170d692019-02-13 14:13:21 -0800768}
769
Joe Tsai61968ce2019-04-01 12:59:24 -0700770func (x *IndirectRequired) Reset() {
771 *x = IndirectRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800772}
Joe Tsai61968ce2019-04-01 12:59:24 -0700773
774func (x *IndirectRequired) String() string {
775 return protoimpl.X.MessageStringOf(x)
776}
777
778func (*IndirectRequired) ProtoMessage() {}
779
780func (x *IndirectRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700781 mi := &file_pb2_test_proto_msgTypes[8]
782 if protoimpl.UnsafeEnabled && x != nil {
783 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
784 if ms.LoadMessageInfo() == nil {
785 ms.StoreMessageInfo(mi)
786 }
787 return ms
788 }
789 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700790}
Joe Tsai8e506a82019-03-16 00:05:34 -0700791
Joe Tsai43761bd2019-07-17 18:06:47 -0700792// Deprecated: Use IndirectRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800793func (*IndirectRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700794 return file_pb2_test_proto_rawDescGZIP(), []int{8}
Herbie Ong8170d692019-02-13 14:13:21 -0800795}
796
Joe Tsai61968ce2019-04-01 12:59:24 -0700797func (x *IndirectRequired) GetOptNested() *NestedWithRequired {
798 if x != nil {
799 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800800 }
801 return nil
802}
803
Joe Tsai61968ce2019-04-01 12:59:24 -0700804func (x *IndirectRequired) GetRptNested() []*NestedWithRequired {
805 if x != nil {
806 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800807 }
808 return nil
809}
810
Joe Tsai61968ce2019-04-01 12:59:24 -0700811func (x *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired {
812 if x != nil {
813 return x.StrToNested
Herbie Ong8170d692019-02-13 14:13:21 -0800814 }
815 return nil
816}
817
Herbie Ong8170d692019-02-13 14:13:21 -0800818func (m *IndirectRequired) GetUnion() isIndirectRequired_Union {
819 if m != nil {
820 return m.Union
821 }
822 return nil
823}
824
Joe Tsai61968ce2019-04-01 12:59:24 -0700825func (x *IndirectRequired) GetOneofNested() *NestedWithRequired {
826 if x, ok := x.GetUnion().(*IndirectRequired_OneofNested); ok {
Herbie Ong8170d692019-02-13 14:13:21 -0800827 return x.OneofNested
828 }
829 return nil
830}
831
Joe Tsai872b5002019-04-08 14:03:15 -0700832type isIndirectRequired_Union interface {
833 isIndirectRequired_Union()
834}
835
836type IndirectRequired_OneofNested struct {
837 OneofNested *NestedWithRequired `protobuf:"bytes,4,opt,name=oneof_nested,json=oneofNested,oneof"`
838}
839
840func (*IndirectRequired_OneofNested) isIndirectRequired_Union() {}
841
Herbie Ong8170d692019-02-13 14:13:21 -0800842type Extensions struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700843 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700844 sizeCache protoimpl.SizeCache
845 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -0700846 extensionFields protoimpl.ExtensionFields
Joe Tsai38b61962019-08-05 13:09:30 -0700847 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
848 OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
849 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800850}
851
Joe Tsai61968ce2019-04-01 12:59:24 -0700852func (x *Extensions) Reset() {
853 *x = Extensions{}
Herbie Ong8170d692019-02-13 14:13:21 -0800854}
Joe Tsai61968ce2019-04-01 12:59:24 -0700855
856func (x *Extensions) String() string {
857 return protoimpl.X.MessageStringOf(x)
858}
859
860func (*Extensions) ProtoMessage() {}
861
862func (x *Extensions) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700863 mi := &file_pb2_test_proto_msgTypes[9]
864 if protoimpl.UnsafeEnabled && x != nil {
865 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
866 if ms.LoadMessageInfo() == nil {
867 ms.StoreMessageInfo(mi)
868 }
869 return ms
870 }
871 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700872}
Joe Tsai8e506a82019-03-16 00:05:34 -0700873
Joe Tsai43761bd2019-07-17 18:06:47 -0700874// Deprecated: Use Extensions.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800875func (*Extensions) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700876 return file_pb2_test_proto_rawDescGZIP(), []int{9}
Herbie Ong8170d692019-02-13 14:13:21 -0800877}
878
Joe Tsai4fddeba2019-03-20 18:29:32 -0700879var extRange_Extensions = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800880 {Start: 20, End: 100},
881}
882
Joe Tsai43761bd2019-07-17 18:06:47 -0700883// Deprecated: Use Extensions.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700884func (*Extensions) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -0800885 return extRange_Extensions
886}
887
Joe Tsai61968ce2019-04-01 12:59:24 -0700888func (x *Extensions) GetOptString() string {
889 if x != nil && x.OptString != nil {
890 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800891 }
892 return ""
893}
894
Joe Tsai61968ce2019-04-01 12:59:24 -0700895func (x *Extensions) GetOptBool() bool {
896 if x != nil && x.OptBool != nil {
897 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800898 }
899 return false
900}
901
Joe Tsai61968ce2019-04-01 12:59:24 -0700902func (x *Extensions) GetOptInt32() int32 {
903 if x != nil && x.OptInt32 != nil {
904 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800905 }
906 return 0
907}
908
909type ExtensionsContainer struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700910 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700911 sizeCache protoimpl.SizeCache
912 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800913}
914
Joe Tsai61968ce2019-04-01 12:59:24 -0700915func (x *ExtensionsContainer) Reset() {
916 *x = ExtensionsContainer{}
Herbie Ong8170d692019-02-13 14:13:21 -0800917}
Joe Tsai61968ce2019-04-01 12:59:24 -0700918
919func (x *ExtensionsContainer) String() string {
920 return protoimpl.X.MessageStringOf(x)
921}
922
923func (*ExtensionsContainer) ProtoMessage() {}
924
925func (x *ExtensionsContainer) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700926 mi := &file_pb2_test_proto_msgTypes[10]
927 if protoimpl.UnsafeEnabled && x != nil {
928 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
929 if ms.LoadMessageInfo() == nil {
930 ms.StoreMessageInfo(mi)
931 }
932 return ms
933 }
934 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700935}
Joe Tsai8e506a82019-03-16 00:05:34 -0700936
Joe Tsai43761bd2019-07-17 18:06:47 -0700937// Deprecated: Use ExtensionsContainer.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800938func (*ExtensionsContainer) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700939 return file_pb2_test_proto_rawDescGZIP(), []int{10}
Herbie Ong8170d692019-02-13 14:13:21 -0800940}
941
Herbie Ong8170d692019-02-13 14:13:21 -0800942type MessageSet struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700943 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700944 sizeCache protoimpl.SizeCache
945 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -0700946 extensionFields protoimpl.ExtensionFields
Herbie Ong8170d692019-02-13 14:13:21 -0800947}
948
Joe Tsai61968ce2019-04-01 12:59:24 -0700949func (x *MessageSet) Reset() {
950 *x = MessageSet{}
Herbie Ong8170d692019-02-13 14:13:21 -0800951}
Joe Tsai61968ce2019-04-01 12:59:24 -0700952
953func (x *MessageSet) String() string {
954 return protoimpl.X.MessageStringOf(x)
955}
956
957func (*MessageSet) ProtoMessage() {}
958
959func (x *MessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700960 mi := &file_pb2_test_proto_msgTypes[11]
961 if protoimpl.UnsafeEnabled && x != nil {
962 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
963 if ms.LoadMessageInfo() == nil {
964 ms.StoreMessageInfo(mi)
965 }
966 return ms
967 }
968 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700969}
Joe Tsai8e506a82019-03-16 00:05:34 -0700970
Joe Tsai43761bd2019-07-17 18:06:47 -0700971// Deprecated: Use MessageSet.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800972func (*MessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700973 return file_pb2_test_proto_rawDescGZIP(), []int{11}
Herbie Ong8170d692019-02-13 14:13:21 -0800974}
975
Joe Tsai4fddeba2019-03-20 18:29:32 -0700976var extRange_MessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800977 {Start: 4, End: 2147483646},
978}
979
Joe Tsai43761bd2019-07-17 18:06:47 -0700980// Deprecated: Use MessageSet.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700981func (*MessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -0800982 return extRange_MessageSet
983}
984
Herbie Ong8170d692019-02-13 14:13:21 -0800985type MessageSetExtension struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700986 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700987 sizeCache protoimpl.SizeCache
988 unknownFields protoimpl.UnknownFields
Joe Tsai38b61962019-08-05 13:09:30 -0700989 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800990}
991
Joe Tsai61968ce2019-04-01 12:59:24 -0700992func (x *MessageSetExtension) Reset() {
993 *x = MessageSetExtension{}
Herbie Ong8170d692019-02-13 14:13:21 -0800994}
Joe Tsai61968ce2019-04-01 12:59:24 -0700995
996func (x *MessageSetExtension) String() string {
997 return protoimpl.X.MessageStringOf(x)
998}
999
1000func (*MessageSetExtension) ProtoMessage() {}
1001
1002func (x *MessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001003 mi := &file_pb2_test_proto_msgTypes[12]
1004 if protoimpl.UnsafeEnabled && x != nil {
1005 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1006 if ms.LoadMessageInfo() == nil {
1007 ms.StoreMessageInfo(mi)
1008 }
1009 return ms
1010 }
1011 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001012}
Joe Tsai8e506a82019-03-16 00:05:34 -07001013
Joe Tsai43761bd2019-07-17 18:06:47 -07001014// Deprecated: Use MessageSetExtension.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001015func (*MessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001016 return file_pb2_test_proto_rawDescGZIP(), []int{12}
Herbie Ong8170d692019-02-13 14:13:21 -08001017}
1018
Joe Tsai61968ce2019-04-01 12:59:24 -07001019func (x *MessageSetExtension) GetOptString() string {
1020 if x != nil && x.OptString != nil {
1021 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001022 }
1023 return ""
1024}
1025
1026type FakeMessageSet struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001027 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001028 sizeCache protoimpl.SizeCache
1029 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001030 extensionFields protoimpl.ExtensionFields
Herbie Ong8170d692019-02-13 14:13:21 -08001031}
1032
Joe Tsai61968ce2019-04-01 12:59:24 -07001033func (x *FakeMessageSet) Reset() {
1034 *x = FakeMessageSet{}
Herbie Ong8170d692019-02-13 14:13:21 -08001035}
Joe Tsai61968ce2019-04-01 12:59:24 -07001036
1037func (x *FakeMessageSet) String() string {
1038 return protoimpl.X.MessageStringOf(x)
1039}
1040
1041func (*FakeMessageSet) ProtoMessage() {}
1042
1043func (x *FakeMessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001044 mi := &file_pb2_test_proto_msgTypes[13]
1045 if protoimpl.UnsafeEnabled && x != nil {
1046 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1047 if ms.LoadMessageInfo() == nil {
1048 ms.StoreMessageInfo(mi)
1049 }
1050 return ms
1051 }
1052 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001053}
Joe Tsai8e506a82019-03-16 00:05:34 -07001054
Joe Tsai43761bd2019-07-17 18:06:47 -07001055// Deprecated: Use FakeMessageSet.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001056func (*FakeMessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001057 return file_pb2_test_proto_rawDescGZIP(), []int{13}
Herbie Ong8170d692019-02-13 14:13:21 -08001058}
1059
Joe Tsai4fddeba2019-03-20 18:29:32 -07001060var extRange_FakeMessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -08001061 {Start: 4, End: 536870911},
1062}
1063
Joe Tsai43761bd2019-07-17 18:06:47 -07001064// Deprecated: Use FakeMessageSet.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -07001065func (*FakeMessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -08001066 return extRange_FakeMessageSet
1067}
1068
Herbie Ong8170d692019-02-13 14:13:21 -08001069type FakeMessageSetExtension struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001070 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001071 sizeCache protoimpl.SizeCache
1072 unknownFields protoimpl.UnknownFields
Joe Tsai38b61962019-08-05 13:09:30 -07001073 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001074}
1075
Joe Tsai61968ce2019-04-01 12:59:24 -07001076func (x *FakeMessageSetExtension) Reset() {
1077 *x = FakeMessageSetExtension{}
Herbie Ong8170d692019-02-13 14:13:21 -08001078}
Joe Tsai61968ce2019-04-01 12:59:24 -07001079
1080func (x *FakeMessageSetExtension) String() string {
1081 return protoimpl.X.MessageStringOf(x)
1082}
1083
1084func (*FakeMessageSetExtension) ProtoMessage() {}
1085
1086func (x *FakeMessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001087 mi := &file_pb2_test_proto_msgTypes[14]
1088 if protoimpl.UnsafeEnabled && x != nil {
1089 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1090 if ms.LoadMessageInfo() == nil {
1091 ms.StoreMessageInfo(mi)
1092 }
1093 return ms
1094 }
1095 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001096}
Joe Tsai8e506a82019-03-16 00:05:34 -07001097
Joe Tsai43761bd2019-07-17 18:06:47 -07001098// Deprecated: Use FakeMessageSetExtension.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001099func (*FakeMessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001100 return file_pb2_test_proto_rawDescGZIP(), []int{14}
Herbie Ong8170d692019-02-13 14:13:21 -08001101}
1102
Joe Tsai61968ce2019-04-01 12:59:24 -07001103func (x *FakeMessageSetExtension) GetOptString() string {
1104 if x != nil && x.OptString != nil {
1105 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001106 }
1107 return ""
1108}
1109
1110// Message contains well-known type fields.
1111type KnownTypes struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001112 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -07001113 sizeCache protoimpl.SizeCache
1114 unknownFields protoimpl.UnknownFields
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001115 OptBool *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
1116 OptInt32 *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
1117 OptInt64 *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
1118 OptUint32 *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
1119 OptUint64 *wrapperspb.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
1120 OptFloat *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
1121 OptDouble *wrapperspb.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
1122 OptString *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1123 OptBytes *wrapperspb.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
1124 OptDuration *durationpb.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"`
1125 OptTimestamp *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"`
1126 OptStruct *structpb.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"`
1127 OptList *structpb.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"`
1128 OptValue *structpb.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"`
1129 OptNull *structpb.NullValue `protobuf:"varint,28,opt,name=opt_null,json=optNull,enum=google.protobuf.NullValue" json:"opt_null,omitempty"`
1130 OptEmpty *emptypb.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"`
1131 OptAny *anypb.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
1132 OptFieldmask *fieldmaskpb.FieldMask `protobuf:"bytes,40,opt,name=opt_fieldmask,json=optFieldmask" json:"opt_fieldmask,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001133}
1134
Joe Tsai61968ce2019-04-01 12:59:24 -07001135func (x *KnownTypes) Reset() {
1136 *x = KnownTypes{}
Herbie Ong8170d692019-02-13 14:13:21 -08001137}
Joe Tsai61968ce2019-04-01 12:59:24 -07001138
1139func (x *KnownTypes) String() string {
1140 return protoimpl.X.MessageStringOf(x)
1141}
1142
1143func (*KnownTypes) ProtoMessage() {}
1144
1145func (x *KnownTypes) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001146 mi := &file_pb2_test_proto_msgTypes[15]
1147 if protoimpl.UnsafeEnabled && x != nil {
1148 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1149 if ms.LoadMessageInfo() == nil {
1150 ms.StoreMessageInfo(mi)
1151 }
1152 return ms
1153 }
1154 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001155}
Joe Tsai8e506a82019-03-16 00:05:34 -07001156
Joe Tsai43761bd2019-07-17 18:06:47 -07001157// Deprecated: Use KnownTypes.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001158func (*KnownTypes) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001159 return file_pb2_test_proto_rawDescGZIP(), []int{15}
Herbie Ong8170d692019-02-13 14:13:21 -08001160}
1161
Joe Tsaia95b29f2019-05-16 12:47:20 -07001162func (x *KnownTypes) GetOptBool() *wrapperspb.BoolValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001163 if x != nil {
1164 return x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -08001165 }
1166 return nil
1167}
1168
Joe Tsaia95b29f2019-05-16 12:47:20 -07001169func (x *KnownTypes) GetOptInt32() *wrapperspb.Int32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001170 if x != nil {
1171 return x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -08001172 }
1173 return nil
1174}
1175
Joe Tsaia95b29f2019-05-16 12:47:20 -07001176func (x *KnownTypes) GetOptInt64() *wrapperspb.Int64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001177 if x != nil {
1178 return x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -08001179 }
1180 return nil
1181}
1182
Joe Tsaia95b29f2019-05-16 12:47:20 -07001183func (x *KnownTypes) GetOptUint32() *wrapperspb.UInt32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001184 if x != nil {
1185 return x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -08001186 }
1187 return nil
1188}
1189
Joe Tsaia95b29f2019-05-16 12:47:20 -07001190func (x *KnownTypes) GetOptUint64() *wrapperspb.UInt64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001191 if x != nil {
1192 return x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -08001193 }
1194 return nil
1195}
1196
Joe Tsaia95b29f2019-05-16 12:47:20 -07001197func (x *KnownTypes) GetOptFloat() *wrapperspb.FloatValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001198 if x != nil {
1199 return x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -08001200 }
1201 return nil
1202}
1203
Joe Tsaia95b29f2019-05-16 12:47:20 -07001204func (x *KnownTypes) GetOptDouble() *wrapperspb.DoubleValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001205 if x != nil {
1206 return x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -08001207 }
1208 return nil
1209}
1210
Joe Tsaia95b29f2019-05-16 12:47:20 -07001211func (x *KnownTypes) GetOptString() *wrapperspb.StringValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001212 if x != nil {
1213 return x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001214 }
1215 return nil
1216}
1217
Joe Tsaia95b29f2019-05-16 12:47:20 -07001218func (x *KnownTypes) GetOptBytes() *wrapperspb.BytesValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001219 if x != nil {
1220 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -08001221 }
1222 return nil
1223}
1224
Joe Tsaia95b29f2019-05-16 12:47:20 -07001225func (x *KnownTypes) GetOptDuration() *durationpb.Duration {
Joe Tsai61968ce2019-04-01 12:59:24 -07001226 if x != nil {
1227 return x.OptDuration
Herbie Ong8170d692019-02-13 14:13:21 -08001228 }
1229 return nil
1230}
1231
Joe Tsaia95b29f2019-05-16 12:47:20 -07001232func (x *KnownTypes) GetOptTimestamp() *timestamppb.Timestamp {
Joe Tsai61968ce2019-04-01 12:59:24 -07001233 if x != nil {
1234 return x.OptTimestamp
Herbie Ong8170d692019-02-13 14:13:21 -08001235 }
1236 return nil
1237}
1238
Joe Tsaia95b29f2019-05-16 12:47:20 -07001239func (x *KnownTypes) GetOptStruct() *structpb.Struct {
Joe Tsai61968ce2019-04-01 12:59:24 -07001240 if x != nil {
1241 return x.OptStruct
Herbie Ong8170d692019-02-13 14:13:21 -08001242 }
1243 return nil
1244}
1245
Joe Tsaia95b29f2019-05-16 12:47:20 -07001246func (x *KnownTypes) GetOptList() *structpb.ListValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001247 if x != nil {
1248 return x.OptList
Herbie Ong8170d692019-02-13 14:13:21 -08001249 }
1250 return nil
1251}
1252
Joe Tsaia95b29f2019-05-16 12:47:20 -07001253func (x *KnownTypes) GetOptValue() *structpb.Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001254 if x != nil {
1255 return x.OptValue
Herbie Ong8170d692019-02-13 14:13:21 -08001256 }
1257 return nil
1258}
1259
Joe Tsaia95b29f2019-05-16 12:47:20 -07001260func (x *KnownTypes) GetOptNull() structpb.NullValue {
Herbie Ong300b9fe2019-03-29 15:42:20 -07001261 if x != nil && x.OptNull != nil {
1262 return *x.OptNull
1263 }
Joe Tsaia95b29f2019-05-16 12:47:20 -07001264 return structpb.NullValue_NULL_VALUE
Herbie Ong300b9fe2019-03-29 15:42:20 -07001265}
1266
Joe Tsaia95b29f2019-05-16 12:47:20 -07001267func (x *KnownTypes) GetOptEmpty() *emptypb.Empty {
Joe Tsai61968ce2019-04-01 12:59:24 -07001268 if x != nil {
1269 return x.OptEmpty
Herbie Ong8170d692019-02-13 14:13:21 -08001270 }
1271 return nil
1272}
1273
Joe Tsaia95b29f2019-05-16 12:47:20 -07001274func (x *KnownTypes) GetOptAny() *anypb.Any {
Joe Tsai61968ce2019-04-01 12:59:24 -07001275 if x != nil {
1276 return x.OptAny
Herbie Ong8170d692019-02-13 14:13:21 -08001277 }
1278 return nil
1279}
1280
Joe Tsaia95b29f2019-05-16 12:47:20 -07001281func (x *KnownTypes) GetOptFieldmask() *fieldmaskpb.FieldMask {
Joe Tsai61968ce2019-04-01 12:59:24 -07001282 if x != nil {
1283 return x.OptFieldmask
Herbie Ong0b0f4032019-03-18 19:06:15 -07001284 }
1285 return nil
1286}
1287
Herbie Ong8170d692019-02-13 14:13:21 -08001288type Nests_OptGroup struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001289 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -07001290 sizeCache protoimpl.SizeCache
1291 unknownFields protoimpl.UnknownFields
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001292 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1293 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
1294 Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,3,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001295}
1296
Joe Tsai61968ce2019-04-01 12:59:24 -07001297func (x *Nests_OptGroup) Reset() {
1298 *x = Nests_OptGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001299}
Joe Tsai61968ce2019-04-01 12:59:24 -07001300
1301func (x *Nests_OptGroup) String() string {
1302 return protoimpl.X.MessageStringOf(x)
1303}
1304
1305func (*Nests_OptGroup) ProtoMessage() {}
1306
1307func (x *Nests_OptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001308 mi := &file_pb2_test_proto_msgTypes[16]
1309 if protoimpl.UnsafeEnabled && x != nil {
1310 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1311 if ms.LoadMessageInfo() == nil {
1312 ms.StoreMessageInfo(mi)
1313 }
1314 return ms
1315 }
1316 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001317}
Joe Tsai8e506a82019-03-16 00:05:34 -07001318
Joe Tsai43761bd2019-07-17 18:06:47 -07001319// Deprecated: Use Nests_OptGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001320func (*Nests_OptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001321 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001322}
1323
Joe Tsai61968ce2019-04-01 12:59:24 -07001324func (x *Nests_OptGroup) GetOptString() string {
1325 if x != nil && x.OptString != nil {
1326 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001327 }
1328 return ""
1329}
1330
Joe Tsai61968ce2019-04-01 12:59:24 -07001331func (x *Nests_OptGroup) GetOptNested() *Nested {
1332 if x != nil {
1333 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -08001334 }
1335 return nil
1336}
1337
Joe Tsai61968ce2019-04-01 12:59:24 -07001338func (x *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup {
1339 if x != nil {
1340 return x.Optnestedgroup
Herbie Ong8170d692019-02-13 14:13:21 -08001341 }
1342 return nil
1343}
1344
1345type Nests_RptGroup struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001346 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001347 sizeCache protoimpl.SizeCache
1348 unknownFields protoimpl.UnknownFields
Joe Tsai38b61962019-08-05 13:09:30 -07001349 RptString []string `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001350}
1351
Joe Tsai61968ce2019-04-01 12:59:24 -07001352func (x *Nests_RptGroup) Reset() {
1353 *x = Nests_RptGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001354}
Joe Tsai61968ce2019-04-01 12:59:24 -07001355
1356func (x *Nests_RptGroup) String() string {
1357 return protoimpl.X.MessageStringOf(x)
1358}
1359
1360func (*Nests_RptGroup) ProtoMessage() {}
1361
1362func (x *Nests_RptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001363 mi := &file_pb2_test_proto_msgTypes[17]
1364 if protoimpl.UnsafeEnabled && x != nil {
1365 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1366 if ms.LoadMessageInfo() == nil {
1367 ms.StoreMessageInfo(mi)
1368 }
1369 return ms
1370 }
1371 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001372}
Joe Tsai8e506a82019-03-16 00:05:34 -07001373
Joe Tsai43761bd2019-07-17 18:06:47 -07001374// Deprecated: Use Nests_RptGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001375func (*Nests_RptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001376 return file_pb2_test_proto_rawDescGZIP(), []int{4, 1}
Herbie Ong8170d692019-02-13 14:13:21 -08001377}
1378
Joe Tsai61968ce2019-04-01 12:59:24 -07001379func (x *Nests_RptGroup) GetRptString() []string {
1380 if x != nil {
1381 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -08001382 }
1383 return nil
1384}
1385
1386type Nests_OptGroup_OptNestedGroup struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001387 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001388 sizeCache protoimpl.SizeCache
1389 unknownFields protoimpl.UnknownFields
Joe Tsai38b61962019-08-05 13:09:30 -07001390 OptFixed32 *uint32 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001391}
1392
Joe Tsai61968ce2019-04-01 12:59:24 -07001393func (x *Nests_OptGroup_OptNestedGroup) Reset() {
1394 *x = Nests_OptGroup_OptNestedGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001395}
Joe Tsai61968ce2019-04-01 12:59:24 -07001396
1397func (x *Nests_OptGroup_OptNestedGroup) String() string {
1398 return protoimpl.X.MessageStringOf(x)
1399}
1400
1401func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {}
1402
1403func (x *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001404 mi := &file_pb2_test_proto_msgTypes[18]
1405 if protoimpl.UnsafeEnabled && x != nil {
1406 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1407 if ms.LoadMessageInfo() == nil {
1408 ms.StoreMessageInfo(mi)
1409 }
1410 return ms
1411 }
1412 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001413}
Joe Tsai8e506a82019-03-16 00:05:34 -07001414
Joe Tsai43761bd2019-07-17 18:06:47 -07001415// Deprecated: Use Nests_OptGroup_OptNestedGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001416func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001417 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001418}
1419
Joe Tsai61968ce2019-04-01 12:59:24 -07001420func (x *Nests_OptGroup_OptNestedGroup) GetOptFixed32() uint32 {
1421 if x != nil && x.OptFixed32 != nil {
1422 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -08001423 }
1424 return 0
1425}
1426
Joe Tsai7ca70982019-04-15 13:57:56 -07001427var file_pb2_test_proto_extDescs = []protoiface.ExtensionDescV1{
Joe Tsaiafb455e2019-03-14 16:08:22 -07001428 {
1429 ExtendedType: (*Extensions)(nil),
1430 ExtensionType: (*bool)(nil),
1431 Field: 21,
1432 Name: "pb2.opt_ext_bool",
1433 Tag: "varint,21,opt,name=opt_ext_bool",
1434 Filename: "pb2/test.proto",
1435 },
1436 {
1437 ExtendedType: (*Extensions)(nil),
1438 ExtensionType: (*string)(nil),
1439 Field: 22,
1440 Name: "pb2.opt_ext_string",
1441 Tag: "bytes,22,opt,name=opt_ext_string",
1442 Filename: "pb2/test.proto",
1443 },
1444 {
1445 ExtendedType: (*Extensions)(nil),
1446 ExtensionType: (*Enum)(nil),
1447 Field: 23,
1448 Name: "pb2.opt_ext_enum",
1449 Tag: "varint,23,opt,name=opt_ext_enum,enum=pb2.Enum",
1450 Filename: "pb2/test.proto",
1451 },
1452 {
1453 ExtendedType: (*Extensions)(nil),
1454 ExtensionType: (*Nested)(nil),
1455 Field: 24,
1456 Name: "pb2.opt_ext_nested",
1457 Tag: "bytes,24,opt,name=opt_ext_nested",
1458 Filename: "pb2/test.proto",
1459 },
1460 {
1461 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001462 ExtensionType: (*PartialRequired)(nil),
1463 Field: 25,
1464 Name: "pb2.opt_ext_partial",
1465 Tag: "bytes,25,opt,name=opt_ext_partial",
1466 Filename: "pb2/test.proto",
1467 },
1468 {
1469 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001470 ExtensionType: ([]uint32)(nil),
1471 Field: 31,
1472 Name: "pb2.rpt_ext_fixed32",
1473 Tag: "fixed32,31,rep,name=rpt_ext_fixed32",
1474 Filename: "pb2/test.proto",
1475 },
1476 {
1477 ExtendedType: (*Extensions)(nil),
1478 ExtensionType: ([]Enum)(nil),
1479 Field: 32,
1480 Name: "pb2.rpt_ext_enum",
1481 Tag: "varint,32,rep,name=rpt_ext_enum,enum=pb2.Enum",
1482 Filename: "pb2/test.proto",
1483 },
1484 {
1485 ExtendedType: (*Extensions)(nil),
1486 ExtensionType: ([]*Nested)(nil),
1487 Field: 33,
1488 Name: "pb2.rpt_ext_nested",
1489 Tag: "bytes,33,rep,name=rpt_ext_nested",
1490 Filename: "pb2/test.proto",
1491 },
1492 {
1493 ExtendedType: (*MessageSet)(nil),
1494 ExtensionType: (*FakeMessageSetExtension)(nil),
1495 Field: 50,
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001496 Name: "pb2.message_set_extension",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001497 Tag: "bytes,50,opt,name=message_set_extension",
1498 Filename: "pb2/test.proto",
1499 },
1500 {
1501 ExtendedType: (*Extensions)(nil),
1502 ExtensionType: (*bool)(nil),
1503 Field: 51,
1504 Name: "pb2.ExtensionsContainer.opt_ext_bool",
1505 Tag: "varint,51,opt,name=opt_ext_bool",
1506 Filename: "pb2/test.proto",
1507 },
1508 {
1509 ExtendedType: (*Extensions)(nil),
1510 ExtensionType: (*string)(nil),
1511 Field: 52,
1512 Name: "pb2.ExtensionsContainer.opt_ext_string",
1513 Tag: "bytes,52,opt,name=opt_ext_string",
1514 Filename: "pb2/test.proto",
1515 },
1516 {
1517 ExtendedType: (*Extensions)(nil),
1518 ExtensionType: (*Enum)(nil),
1519 Field: 53,
1520 Name: "pb2.ExtensionsContainer.opt_ext_enum",
1521 Tag: "varint,53,opt,name=opt_ext_enum,enum=pb2.Enum",
1522 Filename: "pb2/test.proto",
1523 },
1524 {
1525 ExtendedType: (*Extensions)(nil),
1526 ExtensionType: (*Nested)(nil),
1527 Field: 54,
1528 Name: "pb2.ExtensionsContainer.opt_ext_nested",
1529 Tag: "bytes,54,opt,name=opt_ext_nested",
1530 Filename: "pb2/test.proto",
1531 },
1532 {
1533 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001534 ExtensionType: (*PartialRequired)(nil),
1535 Field: 55,
1536 Name: "pb2.ExtensionsContainer.opt_ext_partial",
1537 Tag: "bytes,55,opt,name=opt_ext_partial",
1538 Filename: "pb2/test.proto",
1539 },
1540 {
1541 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001542 ExtensionType: ([]string)(nil),
1543 Field: 61,
1544 Name: "pb2.ExtensionsContainer.rpt_ext_string",
1545 Tag: "bytes,61,rep,name=rpt_ext_string",
1546 Filename: "pb2/test.proto",
1547 },
1548 {
1549 ExtendedType: (*Extensions)(nil),
1550 ExtensionType: ([]Enum)(nil),
1551 Field: 62,
1552 Name: "pb2.ExtensionsContainer.rpt_ext_enum",
1553 Tag: "varint,62,rep,name=rpt_ext_enum,enum=pb2.Enum",
1554 Filename: "pb2/test.proto",
1555 },
1556 {
1557 ExtendedType: (*Extensions)(nil),
1558 ExtensionType: ([]*Nested)(nil),
1559 Field: 63,
1560 Name: "pb2.ExtensionsContainer.rpt_ext_nested",
1561 Tag: "bytes,63,rep,name=rpt_ext_nested",
1562 Filename: "pb2/test.proto",
1563 },
1564 {
1565 ExtendedType: (*MessageSet)(nil),
1566 ExtensionType: (*MessageSetExtension)(nil),
1567 Field: 10,
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001568 Name: "pb2.MessageSetExtension.message_set_extension",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001569 Tag: "bytes,10,opt,name=message_set_extension",
1570 Filename: "pb2/test.proto",
1571 },
1572 {
1573 ExtendedType: (*MessageSet)(nil),
1574 ExtensionType: (*MessageSetExtension)(nil),
1575 Field: 20,
1576 Name: "pb2.MessageSetExtension.not_message_set_extension",
1577 Tag: "bytes,20,opt,name=not_message_set_extension",
1578 Filename: "pb2/test.proto",
1579 },
1580 {
1581 ExtendedType: (*MessageSet)(nil),
1582 ExtensionType: (*Nested)(nil),
1583 Field: 30,
1584 Name: "pb2.MessageSetExtension.ext_nested",
1585 Tag: "bytes,30,opt,name=ext_nested",
1586 Filename: "pb2/test.proto",
1587 },
1588 {
1589 ExtendedType: (*FakeMessageSet)(nil),
1590 ExtensionType: (*FakeMessageSetExtension)(nil),
1591 Field: 10,
1592 Name: "pb2.FakeMessageSetExtension.message_set_extension",
1593 Tag: "bytes,10,opt,name=message_set_extension",
1594 Filename: "pb2/test.proto",
1595 },
Herbie Ong8170d692019-02-13 14:13:21 -08001596}
Joe Tsaiafb455e2019-03-14 16:08:22 -07001597var (
1598 // extend pb2.Extensions { optional bool opt_ext_bool = 21; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001599 E_OptExtBool = &file_pb2_test_proto_extDescs[0]
Herbie Ong8170d692019-02-13 14:13:21 -08001600
Joe Tsaiafb455e2019-03-14 16:08:22 -07001601 // extend pb2.Extensions { optional string opt_ext_string = 22; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001602 E_OptExtString = &file_pb2_test_proto_extDescs[1]
Herbie Ong8170d692019-02-13 14:13:21 -08001603
Joe Tsaiafb455e2019-03-14 16:08:22 -07001604 // extend pb2.Extensions { optional pb2.Enum opt_ext_enum = 23; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001605 E_OptExtEnum = &file_pb2_test_proto_extDescs[2]
Herbie Ong8170d692019-02-13 14:13:21 -08001606
Joe Tsaiafb455e2019-03-14 16:08:22 -07001607 // extend pb2.Extensions { optional pb2.Nested opt_ext_nested = 24; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001608 E_OptExtNested = &file_pb2_test_proto_extDescs[3]
Herbie Ong8170d692019-02-13 14:13:21 -08001609
Herbie Ong09b28a92019-04-03 15:42:41 -07001610 // extend pb2.Extensions { optional pb2.PartialRequired opt_ext_partial = 25; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001611 E_OptExtPartial = &file_pb2_test_proto_extDescs[4]
Herbie Ong09b28a92019-04-03 15:42:41 -07001612
Joe Tsaiafb455e2019-03-14 16:08:22 -07001613 // extend pb2.Extensions { repeated fixed32 rpt_ext_fixed32 = 31; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001614 E_RptExtFixed32 = &file_pb2_test_proto_extDescs[5]
Herbie Ong8170d692019-02-13 14:13:21 -08001615
Joe Tsaiafb455e2019-03-14 16:08:22 -07001616 // extend pb2.Extensions { repeated pb2.Enum rpt_ext_enum = 32; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001617 E_RptExtEnum = &file_pb2_test_proto_extDescs[6]
Herbie Ong8170d692019-02-13 14:13:21 -08001618
Joe Tsaiafb455e2019-03-14 16:08:22 -07001619 // extend pb2.Extensions { repeated pb2.Nested rpt_ext_nested = 33; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001620 E_RptExtNested = &file_pb2_test_proto_extDescs[7]
Herbie Ong8170d692019-02-13 14:13:21 -08001621
Joe Tsaiafb455e2019-03-14 16:08:22 -07001622 // extend pb2.MessageSet { optional pb2.FakeMessageSetExtension message_set_extension = 50; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001623 E_MessageSetExtension = &file_pb2_test_proto_extDescs[8]
Herbie Ong8170d692019-02-13 14:13:21 -08001624
Joe Tsaiafb455e2019-03-14 16:08:22 -07001625 // extend pb2.Extensions { optional bool opt_ext_bool = 51; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001626 E_ExtensionsContainer_OptExtBool = &file_pb2_test_proto_extDescs[9]
Herbie Ong8170d692019-02-13 14:13:21 -08001627
Joe Tsaiafb455e2019-03-14 16:08:22 -07001628 // extend pb2.Extensions { optional string opt_ext_string = 52; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001629 E_ExtensionsContainer_OptExtString = &file_pb2_test_proto_extDescs[10]
Herbie Ong8170d692019-02-13 14:13:21 -08001630
Joe Tsaiafb455e2019-03-14 16:08:22 -07001631 // extend pb2.Extensions { optional pb2.Enum opt_ext_enum = 53; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001632 E_ExtensionsContainer_OptExtEnum = &file_pb2_test_proto_extDescs[11]
Herbie Ong8170d692019-02-13 14:13:21 -08001633
Joe Tsaiafb455e2019-03-14 16:08:22 -07001634 // extend pb2.Extensions { optional pb2.Nested opt_ext_nested = 54; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001635 E_ExtensionsContainer_OptExtNested = &file_pb2_test_proto_extDescs[12]
Herbie Ong09b28a92019-04-03 15:42:41 -07001636
1637 // extend pb2.Extensions { optional pb2.PartialRequired opt_ext_partial = 55; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001638 E_ExtensionsContainer_OptExtPartial = &file_pb2_test_proto_extDescs[13]
Herbie Ong8170d692019-02-13 14:13:21 -08001639
Joe Tsaiafb455e2019-03-14 16:08:22 -07001640 // extend pb2.Extensions { repeated string rpt_ext_string = 61; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001641 E_ExtensionsContainer_RptExtString = &file_pb2_test_proto_extDescs[14]
Herbie Ong8170d692019-02-13 14:13:21 -08001642
Joe Tsaiafb455e2019-03-14 16:08:22 -07001643 // extend pb2.Extensions { repeated pb2.Enum rpt_ext_enum = 62; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001644 E_ExtensionsContainer_RptExtEnum = &file_pb2_test_proto_extDescs[15]
Herbie Ong8170d692019-02-13 14:13:21 -08001645
Joe Tsaiafb455e2019-03-14 16:08:22 -07001646 // extend pb2.Extensions { repeated pb2.Nested rpt_ext_nested = 63; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001647 E_ExtensionsContainer_RptExtNested = &file_pb2_test_proto_extDescs[16]
Herbie Ong8170d692019-02-13 14:13:21 -08001648
Joe Tsaiafb455e2019-03-14 16:08:22 -07001649 // extend pb2.MessageSet { optional pb2.MessageSetExtension message_set_extension = 10; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001650 E_MessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[17]
Herbie Ong8170d692019-02-13 14:13:21 -08001651
Joe Tsaiafb455e2019-03-14 16:08:22 -07001652 // extend pb2.MessageSet { optional pb2.MessageSetExtension not_message_set_extension = 20; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001653 E_MessageSetExtension_NotMessageSetExtension = &file_pb2_test_proto_extDescs[18]
Herbie Ong8170d692019-02-13 14:13:21 -08001654
Joe Tsaiafb455e2019-03-14 16:08:22 -07001655 // extend pb2.MessageSet { optional pb2.Nested ext_nested = 30; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001656 E_MessageSetExtension_ExtNested = &file_pb2_test_proto_extDescs[19]
Herbie Ong8170d692019-02-13 14:13:21 -08001657
Joe Tsaiafb455e2019-03-14 16:08:22 -07001658 // extend pb2.FakeMessageSet { optional pb2.FakeMessageSetExtension message_set_extension = 10; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001659 E_FakeMessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[20]
Joe Tsaiafb455e2019-03-14 16:08:22 -07001660)
Joe Tsai5d72cc22019-03-28 01:13:26 -07001661var File_pb2_test_proto protoreflect.FileDescriptor
1662
Joe Tsai7ca70982019-04-15 13:57:56 -07001663var file_pb2_test_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -08001664 0x0a, 0x0e, 0x70, 0x62, 0x32, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1665 0x12, 0x03, 0x70, 0x62, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
1666 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1667 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001668 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67,
1669 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66,
1670 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1671 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1672 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1673 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1674 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
1675 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
1676 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e,
1677 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
1678 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda,
1679 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70,
1680 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x70,
1681 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74,
1682 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1683 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
1684 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12,
1685 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20,
1686 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d,
Joe Tsai19058432019-02-27 21:46:29 -08001687 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001688 0x28, 0x04, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a,
1689 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28,
1690 0x11, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a,
1691 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12,
1692 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1f, 0x0a, 0x0b, 0x6f,
1693 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07,
1694 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1f, 0x0a, 0x0b,
1695 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28,
1696 0x06, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x21, 0x0a,
1697 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20,
1698 0x01, 0x28, 0x0f, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1699 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
1700 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65,
1701 0x64, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74,
1702 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74,
1703 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15,
1704 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12,
1705 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01,
1706 0x28, 0x0c, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1707 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09,
1708 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xfb, 0x01, 0x0a, 0x05,
1709 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x24, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75,
1710 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1711 0x75, 0x6d, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x08, 0x72,
1712 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1713 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x70, 0x74, 0x45, 0x6e, 0x75,
1714 0x6d, 0x12, 0x3d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f,
1715 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32,
1716 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75,
1717 0x6d, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1718 0x12, 0x3d, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65,
1719 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1720 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1721 0x52, 0x0d, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22,
1722 0x28, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a,
1723 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12,
1724 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x94, 0x02, 0x0a, 0x07, 0x52, 0x65,
1725 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1726 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x07, 0x72, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c,
1727 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20,
1728 0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1b, 0x0a,
1729 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03,
1730 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70,
1731 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09,
1732 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74,
1733 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72,
1734 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f,
1735 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x02, 0x52, 0x08, 0x72, 0x70, 0x74,
1736 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75,
1737 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x72, 0x70, 0x74, 0x44, 0x6f,
1738 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69,
1739 0x6e, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72,
1740 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73,
1741 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73,
1742 0x22, 0x53, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70,
1743 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
1744 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1745 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1746 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e,
1747 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0xd3, 0x03, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12,
1748 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20,
1749 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1750 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x6f,
1751 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x13, 0x2e,
1752 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f,
1753 0x75, 0x70, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x0a,
1754 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
1755 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72,
1756 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x67,
1757 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x32,
1758 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
1759 0x08, 0x72, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0xd4, 0x01, 0x0a, 0x08, 0x4f, 0x70,
1760 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74,
1761 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53,
1762 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1763 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1764 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65,
1765 0x64, 0x12, 0x4a, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72,
1766 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x22, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1767 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4f,
1768 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0e, 0x6f,
1769 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x31, 0x0a,
1770 0x0e, 0x4f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
1771 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x01,
1772 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1773 0x1a, 0x29, 0x0a, 0x08, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a,
1774 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
1775 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x72, 0x65, 0x73,
1776 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0xd9, 0x01, 0x0a, 0x09,
1777 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x71,
1778 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x71,
1779 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x66, 0x69, 0x78,
1780 0x65, 0x64, 0x36, 0x34, 0x18, 0x02, 0x20, 0x02, 0x28, 0x10, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x53,
1781 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x64,
1782 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71,
1783 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74,
1784 0x72, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53,
1785 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x5f, 0x65, 0x6e, 0x75,
1786 0x6d, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1787 0x75, 0x6d, 0x52, 0x07, 0x72, 0x65, 0x71, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x0a, 0x72,
1788 0x65, 0x71, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0b, 0x32,
1789 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72, 0x65,
1790 0x71, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4f, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x69,
1791 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65,
1792 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09,
1793 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1794 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1795 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x33, 0x0a, 0x12, 0x4e, 0x65, 0x73, 0x74,
1796 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d,
1797 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02,
1798 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xee, 0x02,
1799 0x0a, 0x10, 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
1800 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1801 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73,
1802 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52,
1803 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x72, 0x70,
1804 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17,
1805 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52,
1806 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74,
1807 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73,
1808 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1809 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
1810 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72,
1811 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3c,
1812 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04,
1813 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
1814 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x48, 0x00, 0x52,
1815 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x1a, 0x57, 0x0a, 0x10,
1816 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79,
1817 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
1818 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
1819 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69,
1820 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
1821 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0x69,
1822 0x0a, 0x0a, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1823 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1824 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x6f,
1825 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x65, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f,
1826 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e,
1827 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e,
Herbie Ong09b28a92019-04-03 15:42:41 -07001828 0x74, 0x33, 0x32, 0x2a, 0x04, 0x08, 0x14, 0x10, 0x65, 0x22, 0x89, 0x04, 0x0a, 0x13, 0x45, 0x78,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001829 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
1830 0x72, 0x32, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1831 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1832 0x6e, 0x73, 0x18, 0x33, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1833 0x42, 0x6f, 0x6f, 0x6c, 0x32, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1834 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1835 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x34, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f,
1836 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x6f,
1837 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1838 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x35, 0x20, 0x01,
1839 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f,
1840 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74,
1841 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1842 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x36, 0x20, 0x01,
1843 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
Herbie Ong09b28a92019-04-03 15:42:41 -07001844 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x32, 0x4d, 0x0a,
1845 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1846 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1847 0x73, 0x18, 0x37, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61,
1848 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f,
1849 0x70, 0x74, 0x45, 0x78, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x32, 0x35, 0x0a, 0x0e,
1850 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f,
1851 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
1852 0x3d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72,
1853 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65,
1854 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1855 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32,
1856 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75,
1857 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1858 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1859 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32,
1860 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e,
1861 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
1862 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07, 0x3a, 0x02, 0x08,
1863 0x01, 0x22, 0xb6, 0x02, 0x0a, 0x13, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74,
1864 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1865 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1866 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x5d, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73,
1867 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1868 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
1869 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d,
Herbie Ong300b9fe2019-03-29 15:42:20 -07001870 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1871 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78,
Herbie Ong09b28a92019-04-03 15:42:41 -07001872 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x64, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x5f, 0x6d,
1873 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
1874 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
1875 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62,
1876 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
1877 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x6e, 0x6f, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
1878 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x3b, 0x0a,
1879 0x0a, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1880 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x1e, 0x20, 0x01,
1881 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
1882 0x09, 0x65, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0e, 0x46, 0x61,
1883 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04,
1884 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9f, 0x01, 0x0a, 0x17, 0x46, 0x61, 0x6b, 0x65, 0x4d,
1885 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1886 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
1887 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e,
1888 0x67, 0x32, 0x65, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74,
1889 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x32,
1890 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18,
1891 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65,
1892 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1893 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45,
1894 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x9e, 0x08, 0x0a, 0x0a, 0x4b, 0x6e, 0x6f,
1895 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62,
1896 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1897 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c,
1898 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x38,
1899 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28,
1900 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1901 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08,
1902 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1903 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
1904 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e,
1905 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1906 0x36, 0x34, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32,
1907 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1908 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
1909 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
1910 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20,
1911 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1912 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75,
1913 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x38, 0x0a, 0x09,
1914 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
1915 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1916 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70,
1917 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f,
1918 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
1919 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75,
1920 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75,
1921 0x62, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1922 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1923 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1924 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1925 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20,
1926 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1927 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65,
1928 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x70,
1929 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b,
1930 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1931 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6f, 0x70, 0x74,
1932 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
1933 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
1934 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1935 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6f, 0x70, 0x74,
1936 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1937 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
1938 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
1939 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63,
1940 0x74, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x1a, 0x20,
1941 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1942 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
1943 0x07, 0x6f, 0x70, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1944 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f,
1945 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61,
1946 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x35, 0x0a,
1947 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0e, 0x32,
1948 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1949 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74,
1950 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x74,
1951 0x79, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1952 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52,
1953 0x08, 0x6f, 0x70, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x6f, 0x70, 0x74,
1954 0x5f, 0x61, 0x6e, 0x79, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
1955 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
1956 0x52, 0x06, 0x6f, 0x70, 0x74, 0x41, 0x6e, 0x79, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
1957 0x66, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b, 0x32,
1958 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1959 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x6f, 0x70, 0x74,
1960 0x46, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x2a, 0x21, 0x0a, 0x04, 0x45, 0x6e, 0x75,
1961 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57,
1962 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10, 0x0a, 0x3a, 0x31, 0x0a, 0x0c,
1963 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70,
1964 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15, 0x20,
1965 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x3a,
1966 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1967 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1968 0x6e, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1969 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78,
1970 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1971 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1972 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1973 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1974 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1975 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1976 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45,
1977 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a, 0x4d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f,
1978 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1979 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x19, 0x20, 0x01,
1980 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1981 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1982 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x3a, 0x37, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x65,
1983 0x78, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32,
1984 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28,
1985 0x07, 0x52, 0x0d, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1986 0x3a, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d,
1987 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1988 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1989 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42,
1990 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1991 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1992 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65,
1993 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74,
1994 0x65, 0x64, 0x3a, 0x61, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65,
1995 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1996 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x32, 0x20, 0x01,
1997 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73,
1998 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1999 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
Damien Neile89e6242019-05-13 23:55:40 -07002000 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2001 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
2002 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73,
2003 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x32,
Herbie Ong8170d692019-02-13 14:13:21 -08002004}
2005
Joe Tsai5d72cc22019-03-28 01:13:26 -07002006var (
Joe Tsai7ca70982019-04-15 13:57:56 -07002007 file_pb2_test_proto_rawDescOnce sync.Once
2008 file_pb2_test_proto_rawDescData = file_pb2_test_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -07002009)
Herbie Ong8170d692019-02-13 14:13:21 -08002010
Joe Tsai7ca70982019-04-15 13:57:56 -07002011func file_pb2_test_proto_rawDescGZIP() []byte {
2012 file_pb2_test_proto_rawDescOnce.Do(func() {
2013 file_pb2_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb2_test_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -07002014 })
Joe Tsai7ca70982019-04-15 13:57:56 -07002015 return file_pb2_test_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -07002016}
Herbie Ong8170d692019-02-13 14:13:21 -08002017
Joe Tsaid8881392019-06-06 13:01:53 -07002018var file_pb2_test_proto_enumTypes = make([]prototype.Enum, 2)
Joe Tsai4fe96632019-05-22 05:12:36 -04002019var file_pb2_test_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
Joe Tsai7ca70982019-04-15 13:57:56 -07002020var file_pb2_test_proto_goTypes = []interface{}{
Herbie Ong8170d692019-02-13 14:13:21 -08002021 (Enum)(0), // 0: pb2.Enum
2022 (Enums_NestedEnum)(0), // 1: pb2.Enums.NestedEnum
2023 (*Scalars)(nil), // 2: pb2.Scalars
2024 (*Enums)(nil), // 3: pb2.Enums
2025 (*Repeats)(nil), // 4: pb2.Repeats
2026 (*Nested)(nil), // 5: pb2.Nested
2027 (*Nests)(nil), // 6: pb2.Nests
2028 (*Requireds)(nil), // 7: pb2.Requireds
2029 (*PartialRequired)(nil), // 8: pb2.PartialRequired
2030 (*NestedWithRequired)(nil), // 9: pb2.NestedWithRequired
2031 (*IndirectRequired)(nil), // 10: pb2.IndirectRequired
2032 (*Extensions)(nil), // 11: pb2.Extensions
2033 (*ExtensionsContainer)(nil), // 12: pb2.ExtensionsContainer
2034 (*MessageSet)(nil), // 13: pb2.MessageSet
2035 (*MessageSetExtension)(nil), // 14: pb2.MessageSetExtension
2036 (*FakeMessageSet)(nil), // 15: pb2.FakeMessageSet
2037 (*FakeMessageSetExtension)(nil), // 16: pb2.FakeMessageSetExtension
2038 (*KnownTypes)(nil), // 17: pb2.KnownTypes
2039 (*Nests_OptGroup)(nil), // 18: pb2.Nests.OptGroup
2040 (*Nests_RptGroup)(nil), // 19: pb2.Nests.RptGroup
2041 (*Nests_OptGroup_OptNestedGroup)(nil), // 20: pb2.Nests.OptGroup.OptNestedGroup
2042 nil, // 21: pb2.IndirectRequired.StrToNestedEntry
Joe Tsaia95b29f2019-05-16 12:47:20 -07002043 (*wrapperspb.BoolValue)(nil), // 22: google.protobuf.BoolValue
2044 (*wrapperspb.Int32Value)(nil), // 23: google.protobuf.Int32Value
2045 (*wrapperspb.Int64Value)(nil), // 24: google.protobuf.Int64Value
2046 (*wrapperspb.UInt32Value)(nil), // 25: google.protobuf.UInt32Value
2047 (*wrapperspb.UInt64Value)(nil), // 26: google.protobuf.UInt64Value
2048 (*wrapperspb.FloatValue)(nil), // 27: google.protobuf.FloatValue
2049 (*wrapperspb.DoubleValue)(nil), // 28: google.protobuf.DoubleValue
2050 (*wrapperspb.StringValue)(nil), // 29: google.protobuf.StringValue
2051 (*wrapperspb.BytesValue)(nil), // 30: google.protobuf.BytesValue
2052 (*durationpb.Duration)(nil), // 31: google.protobuf.Duration
2053 (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp
2054 (*structpb.Struct)(nil), // 33: google.protobuf.Struct
2055 (*structpb.ListValue)(nil), // 34: google.protobuf.ListValue
2056 (*structpb.Value)(nil), // 35: google.protobuf.Value
2057 (structpb.NullValue)(0), // 36: google.protobuf.NullValue
2058 (*emptypb.Empty)(nil), // 37: google.protobuf.Empty
2059 (*anypb.Any)(nil), // 38: google.protobuf.Any
2060 (*fieldmaskpb.FieldMask)(nil), // 39: google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08002061}
Joe Tsai7ca70982019-04-15 13:57:56 -07002062var file_pb2_test_proto_depIdxs = []int32{
Herbie Ong8170d692019-02-13 14:13:21 -08002063 0, // pb2.Enums.opt_enum:type_name -> pb2.Enum
2064 0, // pb2.Enums.rpt_enum:type_name -> pb2.Enum
2065 1, // pb2.Enums.opt_nested_enum:type_name -> pb2.Enums.NestedEnum
2066 1, // pb2.Enums.rpt_nested_enum:type_name -> pb2.Enums.NestedEnum
2067 5, // pb2.Nested.opt_nested:type_name -> pb2.Nested
2068 5, // pb2.Nests.opt_nested:type_name -> pb2.Nested
2069 18, // pb2.Nests.optgroup:type_name -> pb2.Nests.OptGroup
2070 5, // pb2.Nests.rpt_nested:type_name -> pb2.Nested
2071 19, // pb2.Nests.rptgroup:type_name -> pb2.Nests.RptGroup
2072 0, // pb2.Requireds.req_enum:type_name -> pb2.Enum
2073 5, // pb2.Requireds.req_nested:type_name -> pb2.Nested
2074 9, // pb2.IndirectRequired.opt_nested:type_name -> pb2.NestedWithRequired
2075 9, // pb2.IndirectRequired.rpt_nested:type_name -> pb2.NestedWithRequired
2076 21, // pb2.IndirectRequired.str_to_nested:type_name -> pb2.IndirectRequired.StrToNestedEntry
2077 9, // pb2.IndirectRequired.oneof_nested:type_name -> pb2.NestedWithRequired
2078 22, // pb2.KnownTypes.opt_bool:type_name -> google.protobuf.BoolValue
2079 23, // pb2.KnownTypes.opt_int32:type_name -> google.protobuf.Int32Value
2080 24, // pb2.KnownTypes.opt_int64:type_name -> google.protobuf.Int64Value
2081 25, // pb2.KnownTypes.opt_uint32:type_name -> google.protobuf.UInt32Value
2082 26, // pb2.KnownTypes.opt_uint64:type_name -> google.protobuf.UInt64Value
2083 27, // pb2.KnownTypes.opt_float:type_name -> google.protobuf.FloatValue
2084 28, // pb2.KnownTypes.opt_double:type_name -> google.protobuf.DoubleValue
2085 29, // pb2.KnownTypes.opt_string:type_name -> google.protobuf.StringValue
2086 30, // pb2.KnownTypes.opt_bytes:type_name -> google.protobuf.BytesValue
2087 31, // pb2.KnownTypes.opt_duration:type_name -> google.protobuf.Duration
2088 32, // pb2.KnownTypes.opt_timestamp:type_name -> google.protobuf.Timestamp
2089 33, // pb2.KnownTypes.opt_struct:type_name -> google.protobuf.Struct
2090 34, // pb2.KnownTypes.opt_list:type_name -> google.protobuf.ListValue
2091 35, // pb2.KnownTypes.opt_value:type_name -> google.protobuf.Value
Herbie Ong300b9fe2019-03-29 15:42:20 -07002092 36, // pb2.KnownTypes.opt_null:type_name -> google.protobuf.NullValue
2093 37, // pb2.KnownTypes.opt_empty:type_name -> google.protobuf.Empty
2094 38, // pb2.KnownTypes.opt_any:type_name -> google.protobuf.Any
2095 39, // pb2.KnownTypes.opt_fieldmask:type_name -> google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08002096 5, // pb2.Nests.OptGroup.opt_nested:type_name -> pb2.Nested
2097 20, // pb2.Nests.OptGroup.optnestedgroup:type_name -> pb2.Nests.OptGroup.OptNestedGroup
2098 9, // pb2.IndirectRequired.StrToNestedEntry.value:type_name -> pb2.NestedWithRequired
Joe Tsaid8881392019-06-06 13:01:53 -07002099 11, // pb2.opt_ext_bool:extendee -> pb2.Extensions
2100 11, // pb2.opt_ext_string:extendee -> pb2.Extensions
2101 11, // pb2.opt_ext_enum:extendee -> pb2.Extensions
2102 11, // pb2.opt_ext_nested:extendee -> pb2.Extensions
2103 11, // pb2.opt_ext_partial:extendee -> pb2.Extensions
2104 11, // pb2.rpt_ext_fixed32:extendee -> pb2.Extensions
2105 11, // pb2.rpt_ext_enum:extendee -> pb2.Extensions
2106 11, // pb2.rpt_ext_nested:extendee -> pb2.Extensions
2107 13, // pb2.message_set_extension:extendee -> pb2.MessageSet
2108 11, // pb2.ExtensionsContainer.opt_ext_bool:extendee -> pb2.Extensions
2109 11, // pb2.ExtensionsContainer.opt_ext_string:extendee -> pb2.Extensions
2110 11, // pb2.ExtensionsContainer.opt_ext_enum:extendee -> pb2.Extensions
2111 11, // pb2.ExtensionsContainer.opt_ext_nested:extendee -> pb2.Extensions
2112 11, // pb2.ExtensionsContainer.opt_ext_partial:extendee -> pb2.Extensions
2113 11, // pb2.ExtensionsContainer.rpt_ext_string:extendee -> pb2.Extensions
2114 11, // pb2.ExtensionsContainer.rpt_ext_enum:extendee -> pb2.Extensions
2115 11, // pb2.ExtensionsContainer.rpt_ext_nested:extendee -> pb2.Extensions
2116 13, // pb2.MessageSetExtension.message_set_extension:extendee -> pb2.MessageSet
2117 13, // pb2.MessageSetExtension.not_message_set_extension:extendee -> pb2.MessageSet
2118 13, // pb2.MessageSetExtension.ext_nested:extendee -> pb2.MessageSet
2119 15, // pb2.FakeMessageSetExtension.message_set_extension:extendee -> pb2.FakeMessageSet
Herbie Ong8170d692019-02-13 14:13:21 -08002120 0, // pb2.opt_ext_enum:type_name -> pb2.Enum
2121 5, // pb2.opt_ext_nested:type_name -> pb2.Nested
Herbie Ong09b28a92019-04-03 15:42:41 -07002122 8, // pb2.opt_ext_partial:type_name -> pb2.PartialRequired
Herbie Ong8170d692019-02-13 14:13:21 -08002123 0, // pb2.rpt_ext_enum:type_name -> pb2.Enum
2124 5, // pb2.rpt_ext_nested:type_name -> pb2.Nested
2125 16, // pb2.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2126 0, // pb2.ExtensionsContainer.opt_ext_enum:type_name -> pb2.Enum
2127 5, // pb2.ExtensionsContainer.opt_ext_nested:type_name -> pb2.Nested
Herbie Ong09b28a92019-04-03 15:42:41 -07002128 8, // pb2.ExtensionsContainer.opt_ext_partial:type_name -> pb2.PartialRequired
Herbie Ong8170d692019-02-13 14:13:21 -08002129 0, // pb2.ExtensionsContainer.rpt_ext_enum:type_name -> pb2.Enum
2130 5, // pb2.ExtensionsContainer.rpt_ext_nested:type_name -> pb2.Nested
2131 14, // pb2.MessageSetExtension.message_set_extension:type_name -> pb2.MessageSetExtension
2132 14, // pb2.MessageSetExtension.not_message_set_extension:type_name -> pb2.MessageSetExtension
2133 5, // pb2.MessageSetExtension.ext_nested:type_name -> pb2.Nested
2134 16, // pb2.FakeMessageSetExtension.message_set_extension:type_name -> pb2.FakeMessageSetExtension
Joe Tsaid8881392019-06-06 13:01:53 -07002135 72, // starting offset of method output_type sub-list
2136 72, // starting offset of method input_type sub-list
2137 57, // starting offset of extension type_name sub-list
2138 36, // starting offset of extension extendee sub-list
2139 0, // starting offset of field type_name sub-list
Herbie Ong8170d692019-02-13 14:13:21 -08002140}
2141
Joe Tsai7ca70982019-04-15 13:57:56 -07002142func init() { file_pb2_test_proto_init() }
2143func file_pb2_test_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -08002144 if File_pb2_test_proto != nil {
2145 return
2146 }
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002147 if !protoimpl.UnsafeEnabled {
2148 file_pb2_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2149 switch v := v.(*Scalars); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002150 case 0:
2151 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002152 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002153 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002154 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002155 return &v.unknownFields
2156 default:
2157 return nil
2158 }
2159 }
2160 file_pb2_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2161 switch v := v.(*Enums); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002162 case 0:
2163 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002164 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002165 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002166 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002167 return &v.unknownFields
2168 default:
2169 return nil
2170 }
2171 }
2172 file_pb2_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2173 switch v := v.(*Repeats); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002174 case 0:
2175 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002176 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002177 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002178 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002179 return &v.unknownFields
2180 default:
2181 return nil
2182 }
2183 }
2184 file_pb2_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2185 switch v := v.(*Nested); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002186 case 0:
2187 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002188 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002189 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002190 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002191 return &v.unknownFields
2192 default:
2193 return nil
2194 }
2195 }
2196 file_pb2_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2197 switch v := v.(*Nests); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002198 case 0:
2199 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002200 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002201 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002202 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002203 return &v.unknownFields
2204 default:
2205 return nil
2206 }
2207 }
2208 file_pb2_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2209 switch v := v.(*Requireds); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002210 case 0:
2211 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002212 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002213 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002214 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002215 return &v.unknownFields
2216 default:
2217 return nil
2218 }
2219 }
2220 file_pb2_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
2221 switch v := v.(*PartialRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002222 case 0:
2223 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002224 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002225 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002226 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002227 return &v.unknownFields
2228 default:
2229 return nil
2230 }
2231 }
2232 file_pb2_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2233 switch v := v.(*NestedWithRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002234 case 0:
2235 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002236 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002237 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002238 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002239 return &v.unknownFields
2240 default:
2241 return nil
2242 }
2243 }
2244 file_pb2_test_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
2245 switch v := v.(*IndirectRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002246 case 0:
2247 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002248 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002249 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002250 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002251 return &v.unknownFields
2252 default:
2253 return nil
2254 }
2255 }
2256 file_pb2_test_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
2257 switch v := v.(*Extensions); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002258 case 0:
2259 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002260 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002261 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002262 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002263 return &v.unknownFields
Joe Tsai38b61962019-08-05 13:09:30 -07002264 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002265 return &v.extensionFields
2266 default:
2267 return nil
2268 }
2269 }
2270 file_pb2_test_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2271 switch v := v.(*ExtensionsContainer); i {
2272 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002273 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002274 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002275 return &v.sizeCache
2276 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002277 return &v.unknownFields
2278 default:
2279 return nil
2280 }
2281 }
2282 file_pb2_test_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2283 switch v := v.(*MessageSet); i {
2284 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002285 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002286 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002287 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002288 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002289 return &v.unknownFields
2290 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002291 return &v.extensionFields
2292 default:
2293 return nil
2294 }
2295 }
2296 file_pb2_test_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2297 switch v := v.(*MessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002298 case 0:
2299 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002300 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002301 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002302 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002303 return &v.unknownFields
2304 default:
2305 return nil
2306 }
2307 }
2308 file_pb2_test_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
2309 switch v := v.(*FakeMessageSet); i {
2310 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002311 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002312 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002313 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002314 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002315 return &v.unknownFields
2316 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002317 return &v.extensionFields
2318 default:
2319 return nil
2320 }
2321 }
2322 file_pb2_test_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
2323 switch v := v.(*FakeMessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002324 case 0:
2325 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002326 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002327 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002328 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002329 return &v.unknownFields
2330 default:
2331 return nil
2332 }
2333 }
2334 file_pb2_test_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
2335 switch v := v.(*KnownTypes); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002336 case 0:
2337 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002338 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002339 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002340 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002341 return &v.unknownFields
2342 default:
2343 return nil
2344 }
2345 }
2346 file_pb2_test_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
2347 switch v := v.(*Nests_OptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002348 case 0:
2349 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002350 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002351 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002352 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002353 return &v.unknownFields
2354 default:
2355 return nil
2356 }
2357 }
2358 file_pb2_test_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
2359 switch v := v.(*Nests_RptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002360 case 0:
2361 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002362 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002363 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002364 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002365 return &v.unknownFields
2366 default:
2367 return nil
2368 }
2369 }
2370 file_pb2_test_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
2371 switch v := v.(*Nests_OptGroup_OptNestedGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002372 case 0:
2373 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002374 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002375 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002376 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002377 return &v.unknownFields
2378 default:
2379 return nil
2380 }
2381 }
2382 }
Joe Tsai09912272019-07-08 10:38:11 -07002383 file_pb2_test_proto_msgTypes[8].OneofWrappers = []interface{}{
2384 (*IndirectRequired_OneofNested)(nil),
2385 }
Joe Tsaiaf570872019-07-14 23:04:40 -07002386 type x struct{}
Joe Tsaid8881392019-06-06 13:01:53 -07002387 out := protoimpl.TypeBuilder{
2388 File: protoimpl.DescBuilder{
Joe Tsaiaf570872019-07-14 23:04:40 -07002389 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
Joe Tsaid8881392019-06-06 13:01:53 -07002390 RawDescriptor: file_pb2_test_proto_rawDesc,
2391 NumEnums: 2,
2392 NumMessages: 20,
2393 NumExtensions: 21,
2394 NumServices: 0,
2395 },
2396 GoTypes: file_pb2_test_proto_goTypes,
2397 DependencyIndexes: file_pb2_test_proto_depIdxs,
2398 MessageInfos: file_pb2_test_proto_msgTypes,
2399 LegacyExtensions: file_pb2_test_proto_extDescs,
2400 }.Build()
2401 File_pb2_test_proto = out.File
2402 file_pb2_test_proto_enumTypes = out.Enums
Joe Tsai7ca70982019-04-15 13:57:56 -07002403 file_pb2_test_proto_rawDesc = nil
2404 file_pb2_test_proto_goTypes = nil
2405 file_pb2_test_proto_depIdxs = nil
Herbie Ong8170d692019-02-13 14:13:21 -08002406}