blob: 38670db90f5bca59261b38a7eff4b95d29639c21 [file] [log] [blame]
Herbie Ong8170d692019-02-13 14:13:21 -08001// Code generated by protoc-gen-go. DO NOT EDIT.
Joe Tsai19058432019-02-27 21:46:29 -08002// source: pb2/test.proto
Herbie Ong8170d692019-02-13 14:13:21 -08003
4package pb2
5
6import (
Damien Neile89e6242019-05-13 23:55:40 -07007 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
Joe Tsaid8881392019-06-06 13:01:53 -07008 prototype "google.golang.org/protobuf/reflect/prototype"
Damien Neile89e6242019-05-13 23:55:40 -07009 protoiface "google.golang.org/protobuf/runtime/protoiface"
10 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
Joe Tsaia95b29f2019-05-16 12:47:20 -070011 anypb "google.golang.org/protobuf/types/known/anypb"
12 durationpb "google.golang.org/protobuf/types/known/durationpb"
13 emptypb "google.golang.org/protobuf/types/known/emptypb"
14 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
15 structpb "google.golang.org/protobuf/types/known/structpb"
16 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
17 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
Joe Tsai5d72cc22019-03-28 01:13:26 -070018 sync "sync"
Herbie Ong8170d692019-02-13 14:13:21 -080019)
20
Joe Tsai58b42d82019-05-22 16:27:51 -040021const (
22 // Verify that runtime/protoimpl is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 0)
24 // Verify that this generated code is sufficiently up-to-date.
25 _ = protoimpl.EnforceVersion(0 - protoimpl.MinVersion)
26)
Joe Tsai5d72cc22019-03-28 01:13:26 -070027
Herbie Ong8170d692019-02-13 14:13:21 -080028type Enum int32
29
30const (
31 Enum_ONE Enum = 1
32 Enum_TWO Enum = 2
33 Enum_TEN Enum = 10
34)
35
Herbie Ong8170d692019-02-13 14:13:21 -080036var Enum_name = map[int32]string{
37 1: "ONE",
38 2: "TWO",
39 10: "TEN",
40}
41
42var Enum_value = map[string]int32{
43 "ONE": 1,
44 "TWO": 2,
45 "TEN": 10,
46}
47
48func (x Enum) Enum() *Enum {
Joe Tsai09b5b462019-04-10 15:29:01 -070049 p := new(Enum)
50 *p = x
51 return p
Herbie Ong8170d692019-02-13 14:13:21 -080052}
53
54func (x Enum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -070055 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -080056}
57
Joe Tsai0fc49f82019-05-01 12:29:25 -070058func (Enum) Descriptor() protoreflect.EnumDescriptor {
Joe Tsaid8881392019-06-06 13:01:53 -070059 return file_pb2_test_proto_enumTypes[0].EnumDescriptor
Joe Tsai0fc49f82019-05-01 12:29:25 -070060}
61
Joe Tsai61968ce2019-04-01 12:59:24 -070062func (x Enum) Number() protoreflect.EnumNumber {
63 return protoreflect.EnumNumber(x)
64}
65
Joe Tsai8e506a82019-03-16 00:05:34 -070066// Deprecated: Do not use.
67func (x *Enum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -070068 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -080069 if err != nil {
70 return err
71 }
Joe Tsai8e506a82019-03-16 00:05:34 -070072 *x = Enum(num)
Herbie Ong8170d692019-02-13 14:13:21 -080073 return nil
74}
75
Joe Tsai8e506a82019-03-16 00:05:34 -070076// Deprecated: Use Enum.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -080077func (Enum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -070078 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -080079}
80
81type Enums_NestedEnum int32
82
83const (
84 Enums_UNO Enums_NestedEnum = 1
85 Enums_DOS Enums_NestedEnum = 2
86 Enums_DIEZ Enums_NestedEnum = 10
87)
88
Herbie Ong8170d692019-02-13 14:13:21 -080089var Enums_NestedEnum_name = map[int32]string{
90 1: "UNO",
91 2: "DOS",
92 10: "DIEZ",
93}
94
95var Enums_NestedEnum_value = map[string]int32{
96 "UNO": 1,
97 "DOS": 2,
98 "DIEZ": 10,
99}
100
101func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
Joe Tsai09b5b462019-04-10 15:29:01 -0700102 p := new(Enums_NestedEnum)
103 *p = x
104 return p
Herbie Ong8170d692019-02-13 14:13:21 -0800105}
106
107func (x Enums_NestedEnum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700108 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -0800109}
110
Joe Tsai0fc49f82019-05-01 12:29:25 -0700111func (Enums_NestedEnum) Descriptor() protoreflect.EnumDescriptor {
Joe Tsaid8881392019-06-06 13:01:53 -0700112 return file_pb2_test_proto_enumTypes[1].EnumDescriptor
Joe Tsai0fc49f82019-05-01 12:29:25 -0700113}
114
Joe Tsai61968ce2019-04-01 12:59:24 -0700115func (x Enums_NestedEnum) Number() protoreflect.EnumNumber {
116 return protoreflect.EnumNumber(x)
117}
118
Joe Tsai8e506a82019-03-16 00:05:34 -0700119// Deprecated: Do not use.
120func (x *Enums_NestedEnum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700121 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -0800122 if err != nil {
123 return err
124 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700125 *x = Enums_NestedEnum(num)
Herbie Ong8170d692019-02-13 14:13:21 -0800126 return nil
127}
128
Joe Tsai8e506a82019-03-16 00:05:34 -0700129// Deprecated: Use Enums_NestedEnum.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800130func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700131 return file_pb2_test_proto_rawDescGZIP(), []int{1, 0}
Herbie Ong8170d692019-02-13 14:13:21 -0800132}
133
134// Scalars contains optional scalar fields.
135type Scalars struct {
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700136 OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
137 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
138 OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
139 OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
140 OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
141 OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"`
142 OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"`
143 OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
144 OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"`
145 OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"`
146 OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"`
147 OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
148 OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
149 OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
150 OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
151 sizeCache protoimpl.SizeCache
152 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800153}
154
Joe Tsai61968ce2019-04-01 12:59:24 -0700155func (x *Scalars) Reset() {
156 *x = Scalars{}
Herbie Ong8170d692019-02-13 14:13:21 -0800157}
Joe Tsai61968ce2019-04-01 12:59:24 -0700158
159func (x *Scalars) String() string {
160 return protoimpl.X.MessageStringOf(x)
161}
162
163func (*Scalars) ProtoMessage() {}
164
165func (x *Scalars) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700166 return file_pb2_test_proto_msgTypes[0].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700167}
Joe Tsai8e506a82019-03-16 00:05:34 -0700168
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700169func (m *Scalars) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700170 return file_pb2_test_proto_msgTypes[0].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700171}
172
Joe Tsai8e506a82019-03-16 00:05:34 -0700173// Deprecated: Use Scalars.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800174func (*Scalars) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700175 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -0800176}
177
Joe Tsai61968ce2019-04-01 12:59:24 -0700178func (x *Scalars) GetOptBool() bool {
179 if x != nil && x.OptBool != nil {
180 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800181 }
182 return false
183}
184
Joe Tsai61968ce2019-04-01 12:59:24 -0700185func (x *Scalars) GetOptInt32() int32 {
186 if x != nil && x.OptInt32 != nil {
187 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800188 }
189 return 0
190}
191
Joe Tsai61968ce2019-04-01 12:59:24 -0700192func (x *Scalars) GetOptInt64() int64 {
193 if x != nil && x.OptInt64 != nil {
194 return *x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800195 }
196 return 0
197}
198
Joe Tsai61968ce2019-04-01 12:59:24 -0700199func (x *Scalars) GetOptUint32() uint32 {
200 if x != nil && x.OptUint32 != nil {
201 return *x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800202 }
203 return 0
204}
205
Joe Tsai61968ce2019-04-01 12:59:24 -0700206func (x *Scalars) GetOptUint64() uint64 {
207 if x != nil && x.OptUint64 != nil {
208 return *x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800209 }
210 return 0
211}
212
Joe Tsai61968ce2019-04-01 12:59:24 -0700213func (x *Scalars) GetOptSint32() int32 {
214 if x != nil && x.OptSint32 != nil {
215 return *x.OptSint32
Herbie Ong8170d692019-02-13 14:13:21 -0800216 }
217 return 0
218}
219
Joe Tsai61968ce2019-04-01 12:59:24 -0700220func (x *Scalars) GetOptSint64() int64 {
221 if x != nil && x.OptSint64 != nil {
222 return *x.OptSint64
Herbie Ong8170d692019-02-13 14:13:21 -0800223 }
224 return 0
225}
226
Joe Tsai61968ce2019-04-01 12:59:24 -0700227func (x *Scalars) GetOptFixed32() uint32 {
228 if x != nil && x.OptFixed32 != nil {
229 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800230 }
231 return 0
232}
233
Joe Tsai61968ce2019-04-01 12:59:24 -0700234func (x *Scalars) GetOptFixed64() uint64 {
235 if x != nil && x.OptFixed64 != nil {
236 return *x.OptFixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800237 }
238 return 0
239}
240
Joe Tsai61968ce2019-04-01 12:59:24 -0700241func (x *Scalars) GetOptSfixed32() int32 {
242 if x != nil && x.OptSfixed32 != nil {
243 return *x.OptSfixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800244 }
245 return 0
246}
247
Joe Tsai61968ce2019-04-01 12:59:24 -0700248func (x *Scalars) GetOptSfixed64() int64 {
249 if x != nil && x.OptSfixed64 != nil {
250 return *x.OptSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800251 }
252 return 0
253}
254
Joe Tsai61968ce2019-04-01 12:59:24 -0700255func (x *Scalars) GetOptFloat() float32 {
256 if x != nil && x.OptFloat != nil {
257 return *x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800258 }
259 return 0
260}
261
Joe Tsai61968ce2019-04-01 12:59:24 -0700262func (x *Scalars) GetOptDouble() float64 {
263 if x != nil && x.OptDouble != nil {
264 return *x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800265 }
266 return 0
267}
268
Joe Tsai61968ce2019-04-01 12:59:24 -0700269func (x *Scalars) GetOptBytes() []byte {
270 if x != nil {
271 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800272 }
273 return nil
274}
275
Joe Tsai61968ce2019-04-01 12:59:24 -0700276func (x *Scalars) GetOptString() string {
277 if x != nil && x.OptString != nil {
278 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800279 }
280 return ""
281}
282
283// Message contains enum fields.
284type Enums struct {
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700285 OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
286 RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"`
287 OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
288 RptNestedEnum []Enums_NestedEnum `protobuf:"varint,4,rep,name=rpt_nested_enum,json=rptNestedEnum,enum=pb2.Enums_NestedEnum" json:"rpt_nested_enum,omitempty"`
289 sizeCache protoimpl.SizeCache
290 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800291}
292
Joe Tsai61968ce2019-04-01 12:59:24 -0700293func (x *Enums) Reset() {
294 *x = Enums{}
Herbie Ong8170d692019-02-13 14:13:21 -0800295}
Joe Tsai61968ce2019-04-01 12:59:24 -0700296
297func (x *Enums) String() string {
298 return protoimpl.X.MessageStringOf(x)
299}
300
301func (*Enums) ProtoMessage() {}
302
303func (x *Enums) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700304 return file_pb2_test_proto_msgTypes[1].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700305}
Joe Tsai8e506a82019-03-16 00:05:34 -0700306
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700307func (m *Enums) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700308 return file_pb2_test_proto_msgTypes[1].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700309}
310
Joe Tsai8e506a82019-03-16 00:05:34 -0700311// Deprecated: Use Enums.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800312func (*Enums) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700313 return file_pb2_test_proto_rawDescGZIP(), []int{1}
Herbie Ong8170d692019-02-13 14:13:21 -0800314}
315
Joe Tsai61968ce2019-04-01 12:59:24 -0700316func (x *Enums) GetOptEnum() Enum {
317 if x != nil && x.OptEnum != nil {
318 return *x.OptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800319 }
320 return Enum_ONE
321}
322
Joe Tsai61968ce2019-04-01 12:59:24 -0700323func (x *Enums) GetRptEnum() []Enum {
324 if x != nil {
325 return x.RptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800326 }
327 return nil
328}
329
Joe Tsai61968ce2019-04-01 12:59:24 -0700330func (x *Enums) GetOptNestedEnum() Enums_NestedEnum {
331 if x != nil && x.OptNestedEnum != nil {
332 return *x.OptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800333 }
334 return Enums_UNO
335}
336
Joe Tsai61968ce2019-04-01 12:59:24 -0700337func (x *Enums) GetRptNestedEnum() []Enums_NestedEnum {
338 if x != nil {
339 return x.RptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800340 }
341 return nil
342}
343
344// Message contains repeated fields.
345type Repeats struct {
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700346 RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
347 RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"`
348 RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"`
349 RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"`
350 RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"`
351 RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"`
352 RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"`
353 RptString []string `protobuf:"bytes,8,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
354 RptBytes [][]byte `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
355 sizeCache protoimpl.SizeCache
356 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800357}
358
Joe Tsai61968ce2019-04-01 12:59:24 -0700359func (x *Repeats) Reset() {
360 *x = Repeats{}
Herbie Ong8170d692019-02-13 14:13:21 -0800361}
Joe Tsai61968ce2019-04-01 12:59:24 -0700362
363func (x *Repeats) String() string {
364 return protoimpl.X.MessageStringOf(x)
365}
366
367func (*Repeats) ProtoMessage() {}
368
369func (x *Repeats) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700370 return file_pb2_test_proto_msgTypes[2].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700371}
Joe Tsai8e506a82019-03-16 00:05:34 -0700372
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700373func (m *Repeats) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700374 return file_pb2_test_proto_msgTypes[2].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700375}
376
Joe Tsai8e506a82019-03-16 00:05:34 -0700377// Deprecated: Use Repeats.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800378func (*Repeats) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700379 return file_pb2_test_proto_rawDescGZIP(), []int{2}
Herbie Ong8170d692019-02-13 14:13:21 -0800380}
381
Joe Tsai61968ce2019-04-01 12:59:24 -0700382func (x *Repeats) GetRptBool() []bool {
383 if x != nil {
384 return x.RptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800385 }
386 return nil
387}
388
Joe Tsai61968ce2019-04-01 12:59:24 -0700389func (x *Repeats) GetRptInt32() []int32 {
390 if x != nil {
391 return x.RptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800392 }
393 return nil
394}
395
Joe Tsai61968ce2019-04-01 12:59:24 -0700396func (x *Repeats) GetRptInt64() []int64 {
397 if x != nil {
398 return x.RptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800399 }
400 return nil
401}
402
Joe Tsai61968ce2019-04-01 12:59:24 -0700403func (x *Repeats) GetRptUint32() []uint32 {
404 if x != nil {
405 return x.RptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800406 }
407 return nil
408}
409
Joe Tsai61968ce2019-04-01 12:59:24 -0700410func (x *Repeats) GetRptUint64() []uint64 {
411 if x != nil {
412 return x.RptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800413 }
414 return nil
415}
416
Joe Tsai61968ce2019-04-01 12:59:24 -0700417func (x *Repeats) GetRptFloat() []float32 {
418 if x != nil {
419 return x.RptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800420 }
421 return nil
422}
423
Joe Tsai61968ce2019-04-01 12:59:24 -0700424func (x *Repeats) GetRptDouble() []float64 {
425 if x != nil {
426 return x.RptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800427 }
428 return nil
429}
430
Joe Tsai61968ce2019-04-01 12:59:24 -0700431func (x *Repeats) GetRptString() []string {
432 if x != nil {
433 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -0800434 }
435 return nil
436}
437
Joe Tsai61968ce2019-04-01 12:59:24 -0700438func (x *Repeats) GetRptBytes() [][]byte {
439 if x != nil {
440 return x.RptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800441 }
442 return nil
443}
444
445// Message type used as submessage.
446type Nested struct {
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700447 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
448 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
449 sizeCache protoimpl.SizeCache
450 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800451}
452
Joe Tsai61968ce2019-04-01 12:59:24 -0700453func (x *Nested) Reset() {
454 *x = Nested{}
Herbie Ong8170d692019-02-13 14:13:21 -0800455}
Joe Tsai61968ce2019-04-01 12:59:24 -0700456
457func (x *Nested) String() string {
458 return protoimpl.X.MessageStringOf(x)
459}
460
461func (*Nested) ProtoMessage() {}
462
463func (x *Nested) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700464 return file_pb2_test_proto_msgTypes[3].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700465}
Joe Tsai8e506a82019-03-16 00:05:34 -0700466
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700467func (m *Nested) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700468 return file_pb2_test_proto_msgTypes[3].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700469}
470
Joe Tsai8e506a82019-03-16 00:05:34 -0700471// Deprecated: Use Nested.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800472func (*Nested) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700473 return file_pb2_test_proto_rawDescGZIP(), []int{3}
Herbie Ong8170d692019-02-13 14:13:21 -0800474}
475
Joe Tsai61968ce2019-04-01 12:59:24 -0700476func (x *Nested) GetOptString() string {
477 if x != nil && x.OptString != nil {
478 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800479 }
480 return ""
481}
482
Joe Tsai61968ce2019-04-01 12:59:24 -0700483func (x *Nested) GetOptNested() *Nested {
484 if x != nil {
485 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800486 }
487 return nil
488}
489
490// Message contains message and group fields.
491type Nests struct {
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700492 OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
493 Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"`
494 RptNested []*Nested `protobuf:"bytes,4,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
495 Rptgroup []*Nests_RptGroup `protobuf:"group,5,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
496 sizeCache protoimpl.SizeCache
497 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800498}
499
Joe Tsai61968ce2019-04-01 12:59:24 -0700500func (x *Nests) Reset() {
501 *x = Nests{}
Herbie Ong8170d692019-02-13 14:13:21 -0800502}
Joe Tsai61968ce2019-04-01 12:59:24 -0700503
504func (x *Nests) String() string {
505 return protoimpl.X.MessageStringOf(x)
506}
507
508func (*Nests) ProtoMessage() {}
509
510func (x *Nests) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700511 return file_pb2_test_proto_msgTypes[4].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700512}
Joe Tsai8e506a82019-03-16 00:05:34 -0700513
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700514func (m *Nests) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700515 return file_pb2_test_proto_msgTypes[4].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700516}
517
Joe Tsai8e506a82019-03-16 00:05:34 -0700518// Deprecated: Use Nests.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800519func (*Nests) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700520 return file_pb2_test_proto_rawDescGZIP(), []int{4}
Herbie Ong8170d692019-02-13 14:13:21 -0800521}
522
Joe Tsai61968ce2019-04-01 12:59:24 -0700523func (x *Nests) GetOptNested() *Nested {
524 if x != nil {
525 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800526 }
527 return nil
528}
529
Joe Tsai61968ce2019-04-01 12:59:24 -0700530func (x *Nests) GetOptgroup() *Nests_OptGroup {
531 if x != nil {
532 return x.Optgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800533 }
534 return nil
535}
536
Joe Tsai61968ce2019-04-01 12:59:24 -0700537func (x *Nests) GetRptNested() []*Nested {
538 if x != nil {
539 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800540 }
541 return nil
542}
543
Joe Tsai61968ce2019-04-01 12:59:24 -0700544func (x *Nests) GetRptgroup() []*Nests_RptGroup {
545 if x != nil {
546 return x.Rptgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800547 }
548 return nil
549}
550
551// Message contains required fields.
552type Requireds struct {
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700553 ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"`
554 ReqSfixed64 *int64 `protobuf:"fixed64,2,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"`
555 ReqDouble *float64 `protobuf:"fixed64,3,req,name=req_double,json=reqDouble" json:"req_double,omitempty"`
556 ReqString *string `protobuf:"bytes,4,req,name=req_string,json=reqString" json:"req_string,omitempty"`
557 ReqEnum *Enum `protobuf:"varint,5,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
558 ReqNested *Nested `protobuf:"bytes,6,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
559 sizeCache protoimpl.SizeCache
560 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800561}
562
Joe Tsai61968ce2019-04-01 12:59:24 -0700563func (x *Requireds) Reset() {
564 *x = Requireds{}
Herbie Ong8170d692019-02-13 14:13:21 -0800565}
Joe Tsai61968ce2019-04-01 12:59:24 -0700566
567func (x *Requireds) String() string {
568 return protoimpl.X.MessageStringOf(x)
569}
570
571func (*Requireds) ProtoMessage() {}
572
573func (x *Requireds) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700574 return file_pb2_test_proto_msgTypes[5].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700575}
Joe Tsai8e506a82019-03-16 00:05:34 -0700576
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700577func (m *Requireds) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700578 return file_pb2_test_proto_msgTypes[5].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700579}
580
Joe Tsai8e506a82019-03-16 00:05:34 -0700581// Deprecated: Use Requireds.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800582func (*Requireds) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700583 return file_pb2_test_proto_rawDescGZIP(), []int{5}
Herbie Ong8170d692019-02-13 14:13:21 -0800584}
585
Joe Tsai61968ce2019-04-01 12:59:24 -0700586func (x *Requireds) GetReqBool() bool {
587 if x != nil && x.ReqBool != nil {
588 return *x.ReqBool
Herbie Ong8170d692019-02-13 14:13:21 -0800589 }
590 return false
591}
592
Joe Tsai61968ce2019-04-01 12:59:24 -0700593func (x *Requireds) GetReqSfixed64() int64 {
594 if x != nil && x.ReqSfixed64 != nil {
595 return *x.ReqSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800596 }
597 return 0
598}
599
Joe Tsai61968ce2019-04-01 12:59:24 -0700600func (x *Requireds) GetReqDouble() float64 {
601 if x != nil && x.ReqDouble != nil {
602 return *x.ReqDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800603 }
604 return 0
605}
606
Joe Tsai61968ce2019-04-01 12:59:24 -0700607func (x *Requireds) GetReqString() string {
608 if x != nil && x.ReqString != nil {
609 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800610 }
611 return ""
612}
613
Joe Tsai61968ce2019-04-01 12:59:24 -0700614func (x *Requireds) GetReqEnum() Enum {
615 if x != nil && x.ReqEnum != nil {
616 return *x.ReqEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800617 }
618 return Enum_ONE
619}
620
Joe Tsai61968ce2019-04-01 12:59:24 -0700621func (x *Requireds) GetReqNested() *Nested {
622 if x != nil {
623 return x.ReqNested
Herbie Ong8170d692019-02-13 14:13:21 -0800624 }
625 return nil
626}
627
628// Message contains both required and optional fields.
629type PartialRequired struct {
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700630 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
631 OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
632 sizeCache protoimpl.SizeCache
633 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800634}
635
Joe Tsai61968ce2019-04-01 12:59:24 -0700636func (x *PartialRequired) Reset() {
637 *x = PartialRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800638}
Joe Tsai61968ce2019-04-01 12:59:24 -0700639
640func (x *PartialRequired) String() string {
641 return protoimpl.X.MessageStringOf(x)
642}
643
644func (*PartialRequired) ProtoMessage() {}
645
646func (x *PartialRequired) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700647 return file_pb2_test_proto_msgTypes[6].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700648}
Joe Tsai8e506a82019-03-16 00:05:34 -0700649
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700650func (m *PartialRequired) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700651 return file_pb2_test_proto_msgTypes[6].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700652}
653
Joe Tsai8e506a82019-03-16 00:05:34 -0700654// Deprecated: Use PartialRequired.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800655func (*PartialRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700656 return file_pb2_test_proto_rawDescGZIP(), []int{6}
Herbie Ong8170d692019-02-13 14:13:21 -0800657}
658
Joe Tsai61968ce2019-04-01 12:59:24 -0700659func (x *PartialRequired) GetReqString() string {
660 if x != nil && x.ReqString != nil {
661 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800662 }
663 return ""
664}
665
Joe Tsai61968ce2019-04-01 12:59:24 -0700666func (x *PartialRequired) GetOptString() string {
667 if x != nil && x.OptString != nil {
668 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800669 }
670 return ""
671}
672
673type NestedWithRequired struct {
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700674 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
675 sizeCache protoimpl.SizeCache
676 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800677}
678
Joe Tsai61968ce2019-04-01 12:59:24 -0700679func (x *NestedWithRequired) Reset() {
680 *x = NestedWithRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800681}
Joe Tsai61968ce2019-04-01 12:59:24 -0700682
683func (x *NestedWithRequired) String() string {
684 return protoimpl.X.MessageStringOf(x)
685}
686
687func (*NestedWithRequired) ProtoMessage() {}
688
689func (x *NestedWithRequired) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700690 return file_pb2_test_proto_msgTypes[7].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700691}
Joe Tsai8e506a82019-03-16 00:05:34 -0700692
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700693func (m *NestedWithRequired) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700694 return file_pb2_test_proto_msgTypes[7].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700695}
696
Joe Tsai8e506a82019-03-16 00:05:34 -0700697// Deprecated: Use NestedWithRequired.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800698func (*NestedWithRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700699 return file_pb2_test_proto_rawDescGZIP(), []int{7}
Herbie Ong8170d692019-02-13 14:13:21 -0800700}
701
Joe Tsai61968ce2019-04-01 12:59:24 -0700702func (x *NestedWithRequired) GetReqString() string {
703 if x != nil && x.ReqString != nil {
704 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800705 }
706 return ""
707}
708
709type IndirectRequired struct {
710 OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
711 RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
712 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"`
713 // Types that are valid to be assigned to Union:
714 // *IndirectRequired_OneofNested
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700715 Union isIndirectRequired_Union `protobuf_oneof:"union"`
716 sizeCache protoimpl.SizeCache
717 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800718}
719
Joe Tsai61968ce2019-04-01 12:59:24 -0700720func (x *IndirectRequired) Reset() {
721 *x = IndirectRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800722}
Joe Tsai61968ce2019-04-01 12:59:24 -0700723
724func (x *IndirectRequired) String() string {
725 return protoimpl.X.MessageStringOf(x)
726}
727
728func (*IndirectRequired) ProtoMessage() {}
729
730func (x *IndirectRequired) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700731 return file_pb2_test_proto_msgTypes[8].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700732}
Joe Tsai8e506a82019-03-16 00:05:34 -0700733
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700734func (m *IndirectRequired) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700735 return file_pb2_test_proto_msgTypes[8].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700736}
737
Joe Tsai8e506a82019-03-16 00:05:34 -0700738// Deprecated: Use IndirectRequired.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800739func (*IndirectRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700740 return file_pb2_test_proto_rawDescGZIP(), []int{8}
Herbie Ong8170d692019-02-13 14:13:21 -0800741}
742
Joe Tsai61968ce2019-04-01 12:59:24 -0700743func (x *IndirectRequired) GetOptNested() *NestedWithRequired {
744 if x != nil {
745 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800746 }
747 return nil
748}
749
Joe Tsai61968ce2019-04-01 12:59:24 -0700750func (x *IndirectRequired) GetRptNested() []*NestedWithRequired {
751 if x != nil {
752 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800753 }
754 return nil
755}
756
Joe Tsai61968ce2019-04-01 12:59:24 -0700757func (x *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired {
758 if x != nil {
759 return x.StrToNested
Herbie Ong8170d692019-02-13 14:13:21 -0800760 }
761 return nil
762}
763
Herbie Ong8170d692019-02-13 14:13:21 -0800764func (m *IndirectRequired) GetUnion() isIndirectRequired_Union {
765 if m != nil {
766 return m.Union
767 }
768 return nil
769}
770
Joe Tsai61968ce2019-04-01 12:59:24 -0700771func (x *IndirectRequired) GetOneofNested() *NestedWithRequired {
772 if x, ok := x.GetUnion().(*IndirectRequired_OneofNested); ok {
Herbie Ong8170d692019-02-13 14:13:21 -0800773 return x.OneofNested
774 }
775 return nil
776}
777
Joe Tsai872b5002019-04-08 14:03:15 -0700778type isIndirectRequired_Union interface {
779 isIndirectRequired_Union()
780}
781
782type IndirectRequired_OneofNested struct {
783 OneofNested *NestedWithRequired `protobuf:"bytes,4,opt,name=oneof_nested,json=oneofNested,oneof"`
784}
785
786func (*IndirectRequired_OneofNested) isIndirectRequired_Union() {}
787
Herbie Ong8170d692019-02-13 14:13:21 -0800788type Extensions struct {
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700789 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
790 OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
791 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
792 sizeCache protoimpl.SizeCache
793 unknownFields protoimpl.UnknownFields
794 extensionFields protoimpl.ExtensionFields ``
Herbie Ong8170d692019-02-13 14:13:21 -0800795}
796
Joe Tsai61968ce2019-04-01 12:59:24 -0700797func (x *Extensions) Reset() {
798 *x = Extensions{}
Herbie Ong8170d692019-02-13 14:13:21 -0800799}
Joe Tsai61968ce2019-04-01 12:59:24 -0700800
801func (x *Extensions) String() string {
802 return protoimpl.X.MessageStringOf(x)
803}
804
805func (*Extensions) ProtoMessage() {}
806
807func (x *Extensions) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700808 return file_pb2_test_proto_msgTypes[9].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700809}
Joe Tsai8e506a82019-03-16 00:05:34 -0700810
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700811func (m *Extensions) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700812 return file_pb2_test_proto_msgTypes[9].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700813}
814
Joe Tsai8e506a82019-03-16 00:05:34 -0700815// Deprecated: Use Extensions.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800816func (*Extensions) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700817 return file_pb2_test_proto_rawDescGZIP(), []int{9}
Herbie Ong8170d692019-02-13 14:13:21 -0800818}
819
Joe Tsai4fddeba2019-03-20 18:29:32 -0700820var extRange_Extensions = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800821 {Start: 20, End: 100},
822}
823
Joe Tsai8e506a82019-03-16 00:05:34 -0700824// Deprecated: Use Extensions.ProtoReflect.Type.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700825func (*Extensions) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -0800826 return extRange_Extensions
827}
828
Joe Tsai61968ce2019-04-01 12:59:24 -0700829func (x *Extensions) GetOptString() string {
830 if x != nil && x.OptString != nil {
831 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800832 }
833 return ""
834}
835
Joe Tsai61968ce2019-04-01 12:59:24 -0700836func (x *Extensions) GetOptBool() bool {
837 if x != nil && x.OptBool != nil {
838 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800839 }
840 return false
841}
842
Joe Tsai61968ce2019-04-01 12:59:24 -0700843func (x *Extensions) GetOptInt32() int32 {
844 if x != nil && x.OptInt32 != nil {
845 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800846 }
847 return 0
848}
849
850type ExtensionsContainer struct {
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700851 sizeCache protoimpl.SizeCache
852 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800853}
854
Joe Tsai61968ce2019-04-01 12:59:24 -0700855func (x *ExtensionsContainer) Reset() {
856 *x = ExtensionsContainer{}
Herbie Ong8170d692019-02-13 14:13:21 -0800857}
Joe Tsai61968ce2019-04-01 12:59:24 -0700858
859func (x *ExtensionsContainer) String() string {
860 return protoimpl.X.MessageStringOf(x)
861}
862
863func (*ExtensionsContainer) ProtoMessage() {}
864
865func (x *ExtensionsContainer) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700866 return file_pb2_test_proto_msgTypes[10].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700867}
Joe Tsai8e506a82019-03-16 00:05:34 -0700868
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700869func (m *ExtensionsContainer) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700870 return file_pb2_test_proto_msgTypes[10].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700871}
872
Joe Tsai8e506a82019-03-16 00:05:34 -0700873// Deprecated: Use ExtensionsContainer.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800874func (*ExtensionsContainer) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700875 return file_pb2_test_proto_rawDescGZIP(), []int{10}
Herbie Ong8170d692019-02-13 14:13:21 -0800876}
877
Herbie Ong8170d692019-02-13 14:13:21 -0800878type MessageSet struct {
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700879 sizeCache protoimpl.SizeCache
880 unknownFields protoimpl.UnknownFields
881 extensionFields protoimpl.ExtensionFields `protobuf_messageset:"1"`
Herbie Ong8170d692019-02-13 14:13:21 -0800882}
883
Joe Tsai61968ce2019-04-01 12:59:24 -0700884func (x *MessageSet) Reset() {
885 *x = MessageSet{}
Herbie Ong8170d692019-02-13 14:13:21 -0800886}
Joe Tsai61968ce2019-04-01 12:59:24 -0700887
888func (x *MessageSet) String() string {
889 return protoimpl.X.MessageStringOf(x)
890}
891
892func (*MessageSet) ProtoMessage() {}
893
894func (x *MessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700895 return file_pb2_test_proto_msgTypes[11].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700896}
Joe Tsai8e506a82019-03-16 00:05:34 -0700897
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700898func (m *MessageSet) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700899 return file_pb2_test_proto_msgTypes[11].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700900}
901
Joe Tsai8e506a82019-03-16 00:05:34 -0700902// Deprecated: Use MessageSet.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800903func (*MessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700904 return file_pb2_test_proto_rawDescGZIP(), []int{11}
Herbie Ong8170d692019-02-13 14:13:21 -0800905}
906
Joe Tsai4fddeba2019-03-20 18:29:32 -0700907var extRange_MessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800908 {Start: 4, End: 2147483646},
909}
910
Joe Tsai8e506a82019-03-16 00:05:34 -0700911// Deprecated: Use MessageSet.ProtoReflect.Type.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700912func (*MessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -0800913 return extRange_MessageSet
914}
915
Herbie Ong8170d692019-02-13 14:13:21 -0800916type MessageSetExtension struct {
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700917 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
918 sizeCache protoimpl.SizeCache
919 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800920}
921
Joe Tsai61968ce2019-04-01 12:59:24 -0700922func (x *MessageSetExtension) Reset() {
923 *x = MessageSetExtension{}
Herbie Ong8170d692019-02-13 14:13:21 -0800924}
Joe Tsai61968ce2019-04-01 12:59:24 -0700925
926func (x *MessageSetExtension) String() string {
927 return protoimpl.X.MessageStringOf(x)
928}
929
930func (*MessageSetExtension) ProtoMessage() {}
931
932func (x *MessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700933 return file_pb2_test_proto_msgTypes[12].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700934}
Joe Tsai8e506a82019-03-16 00:05:34 -0700935
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700936func (m *MessageSetExtension) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700937 return file_pb2_test_proto_msgTypes[12].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700938}
939
Joe Tsai8e506a82019-03-16 00:05:34 -0700940// Deprecated: Use MessageSetExtension.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800941func (*MessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700942 return file_pb2_test_proto_rawDescGZIP(), []int{12}
Herbie Ong8170d692019-02-13 14:13:21 -0800943}
944
Joe Tsai61968ce2019-04-01 12:59:24 -0700945func (x *MessageSetExtension) GetOptString() string {
946 if x != nil && x.OptString != nil {
947 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800948 }
949 return ""
950}
951
952type FakeMessageSet struct {
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700953 sizeCache protoimpl.SizeCache
954 unknownFields protoimpl.UnknownFields
955 extensionFields protoimpl.ExtensionFields ``
Herbie Ong8170d692019-02-13 14:13:21 -0800956}
957
Joe Tsai61968ce2019-04-01 12:59:24 -0700958func (x *FakeMessageSet) Reset() {
959 *x = FakeMessageSet{}
Herbie Ong8170d692019-02-13 14:13:21 -0800960}
Joe Tsai61968ce2019-04-01 12:59:24 -0700961
962func (x *FakeMessageSet) String() string {
963 return protoimpl.X.MessageStringOf(x)
964}
965
966func (*FakeMessageSet) ProtoMessage() {}
967
968func (x *FakeMessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700969 return file_pb2_test_proto_msgTypes[13].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700970}
Joe Tsai8e506a82019-03-16 00:05:34 -0700971
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700972func (m *FakeMessageSet) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700973 return file_pb2_test_proto_msgTypes[13].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700974}
975
Joe Tsai8e506a82019-03-16 00:05:34 -0700976// Deprecated: Use FakeMessageSet.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800977func (*FakeMessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700978 return file_pb2_test_proto_rawDescGZIP(), []int{13}
Herbie Ong8170d692019-02-13 14:13:21 -0800979}
980
Joe Tsai4fddeba2019-03-20 18:29:32 -0700981var extRange_FakeMessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800982 {Start: 4, End: 536870911},
983}
984
Joe Tsai8e506a82019-03-16 00:05:34 -0700985// Deprecated: Use FakeMessageSet.ProtoReflect.Type.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700986func (*FakeMessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -0800987 return extRange_FakeMessageSet
988}
989
Herbie Ong8170d692019-02-13 14:13:21 -0800990type FakeMessageSetExtension struct {
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700991 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
992 sizeCache protoimpl.SizeCache
993 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800994}
995
Joe Tsai61968ce2019-04-01 12:59:24 -0700996func (x *FakeMessageSetExtension) Reset() {
997 *x = FakeMessageSetExtension{}
Herbie Ong8170d692019-02-13 14:13:21 -0800998}
Joe Tsai61968ce2019-04-01 12:59:24 -0700999
1000func (x *FakeMessageSetExtension) String() string {
1001 return protoimpl.X.MessageStringOf(x)
1002}
1003
1004func (*FakeMessageSetExtension) ProtoMessage() {}
1005
1006func (x *FakeMessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -07001007 return file_pb2_test_proto_msgTypes[14].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001008}
Joe Tsai8e506a82019-03-16 00:05:34 -07001009
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001010func (m *FakeMessageSetExtension) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001011 return file_pb2_test_proto_msgTypes[14].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001012}
1013
Joe Tsai8e506a82019-03-16 00:05:34 -07001014// Deprecated: Use FakeMessageSetExtension.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001015func (*FakeMessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001016 return file_pb2_test_proto_rawDescGZIP(), []int{14}
Herbie Ong8170d692019-02-13 14:13:21 -08001017}
1018
Joe Tsai61968ce2019-04-01 12:59:24 -07001019func (x *FakeMessageSetExtension) 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
1026// Message contains well-known type fields.
1027type KnownTypes struct {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001028 OptBool *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
1029 OptInt32 *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
1030 OptInt64 *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
1031 OptUint32 *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
1032 OptUint64 *wrapperspb.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
1033 OptFloat *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
1034 OptDouble *wrapperspb.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
1035 OptString *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1036 OptBytes *wrapperspb.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
1037 OptDuration *durationpb.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"`
1038 OptTimestamp *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"`
1039 OptStruct *structpb.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"`
1040 OptList *structpb.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"`
1041 OptValue *structpb.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"`
1042 OptNull *structpb.NullValue `protobuf:"varint,28,opt,name=opt_null,json=optNull,enum=google.protobuf.NullValue" json:"opt_null,omitempty"`
1043 OptEmpty *emptypb.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"`
1044 OptAny *anypb.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
1045 OptFieldmask *fieldmaskpb.FieldMask `protobuf:"bytes,40,opt,name=opt_fieldmask,json=optFieldmask" json:"opt_fieldmask,omitempty"`
1046 sizeCache protoimpl.SizeCache
1047 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -08001048}
1049
Joe Tsai61968ce2019-04-01 12:59:24 -07001050func (x *KnownTypes) Reset() {
1051 *x = KnownTypes{}
Herbie Ong8170d692019-02-13 14:13:21 -08001052}
Joe Tsai61968ce2019-04-01 12:59:24 -07001053
1054func (x *KnownTypes) String() string {
1055 return protoimpl.X.MessageStringOf(x)
1056}
1057
1058func (*KnownTypes) ProtoMessage() {}
1059
1060func (x *KnownTypes) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -07001061 return file_pb2_test_proto_msgTypes[15].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001062}
Joe Tsai8e506a82019-03-16 00:05:34 -07001063
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001064func (m *KnownTypes) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001065 return file_pb2_test_proto_msgTypes[15].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001066}
1067
Joe Tsai8e506a82019-03-16 00:05:34 -07001068// Deprecated: Use KnownTypes.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001069func (*KnownTypes) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001070 return file_pb2_test_proto_rawDescGZIP(), []int{15}
Herbie Ong8170d692019-02-13 14:13:21 -08001071}
1072
Joe Tsaia95b29f2019-05-16 12:47:20 -07001073func (x *KnownTypes) GetOptBool() *wrapperspb.BoolValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001074 if x != nil {
1075 return x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -08001076 }
1077 return nil
1078}
1079
Joe Tsaia95b29f2019-05-16 12:47:20 -07001080func (x *KnownTypes) GetOptInt32() *wrapperspb.Int32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001081 if x != nil {
1082 return x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -08001083 }
1084 return nil
1085}
1086
Joe Tsaia95b29f2019-05-16 12:47:20 -07001087func (x *KnownTypes) GetOptInt64() *wrapperspb.Int64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001088 if x != nil {
1089 return x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -08001090 }
1091 return nil
1092}
1093
Joe Tsaia95b29f2019-05-16 12:47:20 -07001094func (x *KnownTypes) GetOptUint32() *wrapperspb.UInt32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001095 if x != nil {
1096 return x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -08001097 }
1098 return nil
1099}
1100
Joe Tsaia95b29f2019-05-16 12:47:20 -07001101func (x *KnownTypes) GetOptUint64() *wrapperspb.UInt64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001102 if x != nil {
1103 return x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -08001104 }
1105 return nil
1106}
1107
Joe Tsaia95b29f2019-05-16 12:47:20 -07001108func (x *KnownTypes) GetOptFloat() *wrapperspb.FloatValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001109 if x != nil {
1110 return x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -08001111 }
1112 return nil
1113}
1114
Joe Tsaia95b29f2019-05-16 12:47:20 -07001115func (x *KnownTypes) GetOptDouble() *wrapperspb.DoubleValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001116 if x != nil {
1117 return x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -08001118 }
1119 return nil
1120}
1121
Joe Tsaia95b29f2019-05-16 12:47:20 -07001122func (x *KnownTypes) GetOptString() *wrapperspb.StringValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001123 if x != nil {
1124 return x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001125 }
1126 return nil
1127}
1128
Joe Tsaia95b29f2019-05-16 12:47:20 -07001129func (x *KnownTypes) GetOptBytes() *wrapperspb.BytesValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001130 if x != nil {
1131 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -08001132 }
1133 return nil
1134}
1135
Joe Tsaia95b29f2019-05-16 12:47:20 -07001136func (x *KnownTypes) GetOptDuration() *durationpb.Duration {
Joe Tsai61968ce2019-04-01 12:59:24 -07001137 if x != nil {
1138 return x.OptDuration
Herbie Ong8170d692019-02-13 14:13:21 -08001139 }
1140 return nil
1141}
1142
Joe Tsaia95b29f2019-05-16 12:47:20 -07001143func (x *KnownTypes) GetOptTimestamp() *timestamppb.Timestamp {
Joe Tsai61968ce2019-04-01 12:59:24 -07001144 if x != nil {
1145 return x.OptTimestamp
Herbie Ong8170d692019-02-13 14:13:21 -08001146 }
1147 return nil
1148}
1149
Joe Tsaia95b29f2019-05-16 12:47:20 -07001150func (x *KnownTypes) GetOptStruct() *structpb.Struct {
Joe Tsai61968ce2019-04-01 12:59:24 -07001151 if x != nil {
1152 return x.OptStruct
Herbie Ong8170d692019-02-13 14:13:21 -08001153 }
1154 return nil
1155}
1156
Joe Tsaia95b29f2019-05-16 12:47:20 -07001157func (x *KnownTypes) GetOptList() *structpb.ListValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001158 if x != nil {
1159 return x.OptList
Herbie Ong8170d692019-02-13 14:13:21 -08001160 }
1161 return nil
1162}
1163
Joe Tsaia95b29f2019-05-16 12:47:20 -07001164func (x *KnownTypes) GetOptValue() *structpb.Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001165 if x != nil {
1166 return x.OptValue
Herbie Ong8170d692019-02-13 14:13:21 -08001167 }
1168 return nil
1169}
1170
Joe Tsaia95b29f2019-05-16 12:47:20 -07001171func (x *KnownTypes) GetOptNull() structpb.NullValue {
Herbie Ong300b9fe2019-03-29 15:42:20 -07001172 if x != nil && x.OptNull != nil {
1173 return *x.OptNull
1174 }
Joe Tsaia95b29f2019-05-16 12:47:20 -07001175 return structpb.NullValue_NULL_VALUE
Herbie Ong300b9fe2019-03-29 15:42:20 -07001176}
1177
Joe Tsaia95b29f2019-05-16 12:47:20 -07001178func (x *KnownTypes) GetOptEmpty() *emptypb.Empty {
Joe Tsai61968ce2019-04-01 12:59:24 -07001179 if x != nil {
1180 return x.OptEmpty
Herbie Ong8170d692019-02-13 14:13:21 -08001181 }
1182 return nil
1183}
1184
Joe Tsaia95b29f2019-05-16 12:47:20 -07001185func (x *KnownTypes) GetOptAny() *anypb.Any {
Joe Tsai61968ce2019-04-01 12:59:24 -07001186 if x != nil {
1187 return x.OptAny
Herbie Ong8170d692019-02-13 14:13:21 -08001188 }
1189 return nil
1190}
1191
Joe Tsaia95b29f2019-05-16 12:47:20 -07001192func (x *KnownTypes) GetOptFieldmask() *fieldmaskpb.FieldMask {
Joe Tsai61968ce2019-04-01 12:59:24 -07001193 if x != nil {
1194 return x.OptFieldmask
Herbie Ong0b0f4032019-03-18 19:06:15 -07001195 }
1196 return nil
1197}
1198
Herbie Ong8170d692019-02-13 14:13:21 -08001199type Nests_OptGroup struct {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001200 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1201 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
1202 Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,3,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
1203 sizeCache protoimpl.SizeCache
1204 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -08001205}
1206
Joe Tsai61968ce2019-04-01 12:59:24 -07001207func (x *Nests_OptGroup) Reset() {
1208 *x = Nests_OptGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001209}
Joe Tsai61968ce2019-04-01 12:59:24 -07001210
1211func (x *Nests_OptGroup) String() string {
1212 return protoimpl.X.MessageStringOf(x)
1213}
1214
1215func (*Nests_OptGroup) ProtoMessage() {}
1216
1217func (x *Nests_OptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -07001218 return file_pb2_test_proto_msgTypes[16].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001219}
Joe Tsai8e506a82019-03-16 00:05:34 -07001220
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001221func (m *Nests_OptGroup) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001222 return file_pb2_test_proto_msgTypes[16].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001223}
1224
Joe Tsai8e506a82019-03-16 00:05:34 -07001225// Deprecated: Use Nests_OptGroup.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001226func (*Nests_OptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001227 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001228}
1229
Joe Tsai61968ce2019-04-01 12:59:24 -07001230func (x *Nests_OptGroup) GetOptString() string {
1231 if x != nil && x.OptString != nil {
1232 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001233 }
1234 return ""
1235}
1236
Joe Tsai61968ce2019-04-01 12:59:24 -07001237func (x *Nests_OptGroup) GetOptNested() *Nested {
1238 if x != nil {
1239 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -08001240 }
1241 return nil
1242}
1243
Joe Tsai61968ce2019-04-01 12:59:24 -07001244func (x *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup {
1245 if x != nil {
1246 return x.Optnestedgroup
Herbie Ong8170d692019-02-13 14:13:21 -08001247 }
1248 return nil
1249}
1250
1251type Nests_RptGroup struct {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001252 RptString []string `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
1253 sizeCache protoimpl.SizeCache
1254 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -08001255}
1256
Joe Tsai61968ce2019-04-01 12:59:24 -07001257func (x *Nests_RptGroup) Reset() {
1258 *x = Nests_RptGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001259}
Joe Tsai61968ce2019-04-01 12:59:24 -07001260
1261func (x *Nests_RptGroup) String() string {
1262 return protoimpl.X.MessageStringOf(x)
1263}
1264
1265func (*Nests_RptGroup) ProtoMessage() {}
1266
1267func (x *Nests_RptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -07001268 return file_pb2_test_proto_msgTypes[17].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001269}
Joe Tsai8e506a82019-03-16 00:05:34 -07001270
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001271func (m *Nests_RptGroup) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001272 return file_pb2_test_proto_msgTypes[17].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001273}
1274
Joe Tsai8e506a82019-03-16 00:05:34 -07001275// Deprecated: Use Nests_RptGroup.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001276func (*Nests_RptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001277 return file_pb2_test_proto_rawDescGZIP(), []int{4, 1}
Herbie Ong8170d692019-02-13 14:13:21 -08001278}
1279
Joe Tsai61968ce2019-04-01 12:59:24 -07001280func (x *Nests_RptGroup) GetRptString() []string {
1281 if x != nil {
1282 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -08001283 }
1284 return nil
1285}
1286
1287type Nests_OptGroup_OptNestedGroup struct {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001288 OptFixed32 *uint32 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
1289 sizeCache protoimpl.SizeCache
1290 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -08001291}
1292
Joe Tsai61968ce2019-04-01 12:59:24 -07001293func (x *Nests_OptGroup_OptNestedGroup) Reset() {
1294 *x = Nests_OptGroup_OptNestedGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001295}
Joe Tsai61968ce2019-04-01 12:59:24 -07001296
1297func (x *Nests_OptGroup_OptNestedGroup) String() string {
1298 return protoimpl.X.MessageStringOf(x)
1299}
1300
1301func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {}
1302
1303func (x *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -07001304 return file_pb2_test_proto_msgTypes[18].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001305}
Joe Tsai8e506a82019-03-16 00:05:34 -07001306
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001307func (m *Nests_OptGroup_OptNestedGroup) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001308 return file_pb2_test_proto_msgTypes[18].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001309}
1310
Joe Tsai8e506a82019-03-16 00:05:34 -07001311// Deprecated: Use Nests_OptGroup_OptNestedGroup.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001312func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001313 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001314}
1315
Joe Tsai61968ce2019-04-01 12:59:24 -07001316func (x *Nests_OptGroup_OptNestedGroup) GetOptFixed32() uint32 {
1317 if x != nil && x.OptFixed32 != nil {
1318 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -08001319 }
1320 return 0
1321}
1322
Joe Tsai7ca70982019-04-15 13:57:56 -07001323var file_pb2_test_proto_extDescs = []protoiface.ExtensionDescV1{
Joe Tsaiafb455e2019-03-14 16:08:22 -07001324 {
1325 ExtendedType: (*Extensions)(nil),
1326 ExtensionType: (*bool)(nil),
1327 Field: 21,
1328 Name: "pb2.opt_ext_bool",
1329 Tag: "varint,21,opt,name=opt_ext_bool",
1330 Filename: "pb2/test.proto",
1331 },
1332 {
1333 ExtendedType: (*Extensions)(nil),
1334 ExtensionType: (*string)(nil),
1335 Field: 22,
1336 Name: "pb2.opt_ext_string",
1337 Tag: "bytes,22,opt,name=opt_ext_string",
1338 Filename: "pb2/test.proto",
1339 },
1340 {
1341 ExtendedType: (*Extensions)(nil),
1342 ExtensionType: (*Enum)(nil),
1343 Field: 23,
1344 Name: "pb2.opt_ext_enum",
1345 Tag: "varint,23,opt,name=opt_ext_enum,enum=pb2.Enum",
1346 Filename: "pb2/test.proto",
1347 },
1348 {
1349 ExtendedType: (*Extensions)(nil),
1350 ExtensionType: (*Nested)(nil),
1351 Field: 24,
1352 Name: "pb2.opt_ext_nested",
1353 Tag: "bytes,24,opt,name=opt_ext_nested",
1354 Filename: "pb2/test.proto",
1355 },
1356 {
1357 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001358 ExtensionType: (*PartialRequired)(nil),
1359 Field: 25,
1360 Name: "pb2.opt_ext_partial",
1361 Tag: "bytes,25,opt,name=opt_ext_partial",
1362 Filename: "pb2/test.proto",
1363 },
1364 {
1365 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001366 ExtensionType: ([]uint32)(nil),
1367 Field: 31,
1368 Name: "pb2.rpt_ext_fixed32",
1369 Tag: "fixed32,31,rep,name=rpt_ext_fixed32",
1370 Filename: "pb2/test.proto",
1371 },
1372 {
1373 ExtendedType: (*Extensions)(nil),
1374 ExtensionType: ([]Enum)(nil),
1375 Field: 32,
1376 Name: "pb2.rpt_ext_enum",
1377 Tag: "varint,32,rep,name=rpt_ext_enum,enum=pb2.Enum",
1378 Filename: "pb2/test.proto",
1379 },
1380 {
1381 ExtendedType: (*Extensions)(nil),
1382 ExtensionType: ([]*Nested)(nil),
1383 Field: 33,
1384 Name: "pb2.rpt_ext_nested",
1385 Tag: "bytes,33,rep,name=rpt_ext_nested",
1386 Filename: "pb2/test.proto",
1387 },
1388 {
1389 ExtendedType: (*MessageSet)(nil),
1390 ExtensionType: (*FakeMessageSetExtension)(nil),
1391 Field: 50,
1392 Name: "pb2.",
1393 Tag: "bytes,50,opt,name=message_set_extension",
1394 Filename: "pb2/test.proto",
1395 },
1396 {
1397 ExtendedType: (*Extensions)(nil),
1398 ExtensionType: (*bool)(nil),
1399 Field: 51,
1400 Name: "pb2.ExtensionsContainer.opt_ext_bool",
1401 Tag: "varint,51,opt,name=opt_ext_bool",
1402 Filename: "pb2/test.proto",
1403 },
1404 {
1405 ExtendedType: (*Extensions)(nil),
1406 ExtensionType: (*string)(nil),
1407 Field: 52,
1408 Name: "pb2.ExtensionsContainer.opt_ext_string",
1409 Tag: "bytes,52,opt,name=opt_ext_string",
1410 Filename: "pb2/test.proto",
1411 },
1412 {
1413 ExtendedType: (*Extensions)(nil),
1414 ExtensionType: (*Enum)(nil),
1415 Field: 53,
1416 Name: "pb2.ExtensionsContainer.opt_ext_enum",
1417 Tag: "varint,53,opt,name=opt_ext_enum,enum=pb2.Enum",
1418 Filename: "pb2/test.proto",
1419 },
1420 {
1421 ExtendedType: (*Extensions)(nil),
1422 ExtensionType: (*Nested)(nil),
1423 Field: 54,
1424 Name: "pb2.ExtensionsContainer.opt_ext_nested",
1425 Tag: "bytes,54,opt,name=opt_ext_nested",
1426 Filename: "pb2/test.proto",
1427 },
1428 {
1429 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001430 ExtensionType: (*PartialRequired)(nil),
1431 Field: 55,
1432 Name: "pb2.ExtensionsContainer.opt_ext_partial",
1433 Tag: "bytes,55,opt,name=opt_ext_partial",
1434 Filename: "pb2/test.proto",
1435 },
1436 {
1437 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001438 ExtensionType: ([]string)(nil),
1439 Field: 61,
1440 Name: "pb2.ExtensionsContainer.rpt_ext_string",
1441 Tag: "bytes,61,rep,name=rpt_ext_string",
1442 Filename: "pb2/test.proto",
1443 },
1444 {
1445 ExtendedType: (*Extensions)(nil),
1446 ExtensionType: ([]Enum)(nil),
1447 Field: 62,
1448 Name: "pb2.ExtensionsContainer.rpt_ext_enum",
1449 Tag: "varint,62,rep,name=rpt_ext_enum,enum=pb2.Enum",
1450 Filename: "pb2/test.proto",
1451 },
1452 {
1453 ExtendedType: (*Extensions)(nil),
1454 ExtensionType: ([]*Nested)(nil),
1455 Field: 63,
1456 Name: "pb2.ExtensionsContainer.rpt_ext_nested",
1457 Tag: "bytes,63,rep,name=rpt_ext_nested",
1458 Filename: "pb2/test.proto",
1459 },
1460 {
1461 ExtendedType: (*MessageSet)(nil),
1462 ExtensionType: (*MessageSetExtension)(nil),
1463 Field: 10,
1464 Name: "pb2.MessageSetExtension",
1465 Tag: "bytes,10,opt,name=message_set_extension",
1466 Filename: "pb2/test.proto",
1467 },
1468 {
1469 ExtendedType: (*MessageSet)(nil),
1470 ExtensionType: (*MessageSetExtension)(nil),
1471 Field: 20,
1472 Name: "pb2.MessageSetExtension.not_message_set_extension",
1473 Tag: "bytes,20,opt,name=not_message_set_extension",
1474 Filename: "pb2/test.proto",
1475 },
1476 {
1477 ExtendedType: (*MessageSet)(nil),
1478 ExtensionType: (*Nested)(nil),
1479 Field: 30,
1480 Name: "pb2.MessageSetExtension.ext_nested",
1481 Tag: "bytes,30,opt,name=ext_nested",
1482 Filename: "pb2/test.proto",
1483 },
1484 {
1485 ExtendedType: (*FakeMessageSet)(nil),
1486 ExtensionType: (*FakeMessageSetExtension)(nil),
1487 Field: 10,
1488 Name: "pb2.FakeMessageSetExtension.message_set_extension",
1489 Tag: "bytes,10,opt,name=message_set_extension",
1490 Filename: "pb2/test.proto",
1491 },
Herbie Ong8170d692019-02-13 14:13:21 -08001492}
Joe Tsaiafb455e2019-03-14 16:08:22 -07001493var (
1494 // extend pb2.Extensions { optional bool opt_ext_bool = 21; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001495 E_OptExtBool = &file_pb2_test_proto_extDescs[0]
Herbie Ong8170d692019-02-13 14:13:21 -08001496
Joe Tsaiafb455e2019-03-14 16:08:22 -07001497 // extend pb2.Extensions { optional string opt_ext_string = 22; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001498 E_OptExtString = &file_pb2_test_proto_extDescs[1]
Herbie Ong8170d692019-02-13 14:13:21 -08001499
Joe Tsaiafb455e2019-03-14 16:08:22 -07001500 // extend pb2.Extensions { optional pb2.Enum opt_ext_enum = 23; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001501 E_OptExtEnum = &file_pb2_test_proto_extDescs[2]
Herbie Ong8170d692019-02-13 14:13:21 -08001502
Joe Tsaiafb455e2019-03-14 16:08:22 -07001503 // extend pb2.Extensions { optional pb2.Nested opt_ext_nested = 24; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001504 E_OptExtNested = &file_pb2_test_proto_extDescs[3]
Herbie Ong8170d692019-02-13 14:13:21 -08001505
Herbie Ong09b28a92019-04-03 15:42:41 -07001506 // extend pb2.Extensions { optional pb2.PartialRequired opt_ext_partial = 25; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001507 E_OptExtPartial = &file_pb2_test_proto_extDescs[4]
Herbie Ong09b28a92019-04-03 15:42:41 -07001508
Joe Tsaiafb455e2019-03-14 16:08:22 -07001509 // extend pb2.Extensions { repeated fixed32 rpt_ext_fixed32 = 31; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001510 E_RptExtFixed32 = &file_pb2_test_proto_extDescs[5]
Herbie Ong8170d692019-02-13 14:13:21 -08001511
Joe Tsaiafb455e2019-03-14 16:08:22 -07001512 // extend pb2.Extensions { repeated pb2.Enum rpt_ext_enum = 32; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001513 E_RptExtEnum = &file_pb2_test_proto_extDescs[6]
Herbie Ong8170d692019-02-13 14:13:21 -08001514
Joe Tsaiafb455e2019-03-14 16:08:22 -07001515 // extend pb2.Extensions { repeated pb2.Nested rpt_ext_nested = 33; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001516 E_RptExtNested = &file_pb2_test_proto_extDescs[7]
Herbie Ong8170d692019-02-13 14:13:21 -08001517
Joe Tsaiafb455e2019-03-14 16:08:22 -07001518 // extend pb2.MessageSet { optional pb2.FakeMessageSetExtension message_set_extension = 50; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001519 E_MessageSetExtension = &file_pb2_test_proto_extDescs[8]
Herbie Ong8170d692019-02-13 14:13:21 -08001520
Joe Tsaiafb455e2019-03-14 16:08:22 -07001521 // extend pb2.Extensions { optional bool opt_ext_bool = 51; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001522 E_ExtensionsContainer_OptExtBool = &file_pb2_test_proto_extDescs[9]
Herbie Ong8170d692019-02-13 14:13:21 -08001523
Joe Tsaiafb455e2019-03-14 16:08:22 -07001524 // extend pb2.Extensions { optional string opt_ext_string = 52; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001525 E_ExtensionsContainer_OptExtString = &file_pb2_test_proto_extDescs[10]
Herbie Ong8170d692019-02-13 14:13:21 -08001526
Joe Tsaiafb455e2019-03-14 16:08:22 -07001527 // extend pb2.Extensions { optional pb2.Enum opt_ext_enum = 53; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001528 E_ExtensionsContainer_OptExtEnum = &file_pb2_test_proto_extDescs[11]
Herbie Ong8170d692019-02-13 14:13:21 -08001529
Joe Tsaiafb455e2019-03-14 16:08:22 -07001530 // extend pb2.Extensions { optional pb2.Nested opt_ext_nested = 54; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001531 E_ExtensionsContainer_OptExtNested = &file_pb2_test_proto_extDescs[12]
Herbie Ong09b28a92019-04-03 15:42:41 -07001532
1533 // extend pb2.Extensions { optional pb2.PartialRequired opt_ext_partial = 55; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001534 E_ExtensionsContainer_OptExtPartial = &file_pb2_test_proto_extDescs[13]
Herbie Ong8170d692019-02-13 14:13:21 -08001535
Joe Tsaiafb455e2019-03-14 16:08:22 -07001536 // extend pb2.Extensions { repeated string rpt_ext_string = 61; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001537 E_ExtensionsContainer_RptExtString = &file_pb2_test_proto_extDescs[14]
Herbie Ong8170d692019-02-13 14:13:21 -08001538
Joe Tsaiafb455e2019-03-14 16:08:22 -07001539 // extend pb2.Extensions { repeated pb2.Enum rpt_ext_enum = 62; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001540 E_ExtensionsContainer_RptExtEnum = &file_pb2_test_proto_extDescs[15]
Herbie Ong8170d692019-02-13 14:13:21 -08001541
Joe Tsaiafb455e2019-03-14 16:08:22 -07001542 // extend pb2.Extensions { repeated pb2.Nested rpt_ext_nested = 63; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001543 E_ExtensionsContainer_RptExtNested = &file_pb2_test_proto_extDescs[16]
Herbie Ong8170d692019-02-13 14:13:21 -08001544
Joe Tsaiafb455e2019-03-14 16:08:22 -07001545 // extend pb2.MessageSet { optional pb2.MessageSetExtension message_set_extension = 10; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001546 E_MessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[17]
Herbie Ong8170d692019-02-13 14:13:21 -08001547
Joe Tsaiafb455e2019-03-14 16:08:22 -07001548 // extend pb2.MessageSet { optional pb2.MessageSetExtension not_message_set_extension = 20; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001549 E_MessageSetExtension_NotMessageSetExtension = &file_pb2_test_proto_extDescs[18]
Herbie Ong8170d692019-02-13 14:13:21 -08001550
Joe Tsaiafb455e2019-03-14 16:08:22 -07001551 // extend pb2.MessageSet { optional pb2.Nested ext_nested = 30; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001552 E_MessageSetExtension_ExtNested = &file_pb2_test_proto_extDescs[19]
Herbie Ong8170d692019-02-13 14:13:21 -08001553
Joe Tsaiafb455e2019-03-14 16:08:22 -07001554 // extend pb2.FakeMessageSet { optional pb2.FakeMessageSetExtension message_set_extension = 10; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001555 E_FakeMessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[20]
Joe Tsaiafb455e2019-03-14 16:08:22 -07001556)
Joe Tsai5d72cc22019-03-28 01:13:26 -07001557var File_pb2_test_proto protoreflect.FileDescriptor
1558
Joe Tsai7ca70982019-04-15 13:57:56 -07001559var file_pb2_test_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -08001560 0x0a, 0x0e, 0x70, 0x62, 0x32, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1561 0x12, 0x03, 0x70, 0x62, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
1562 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1563 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001564 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67,
1565 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66,
1566 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1567 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1568 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1569 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1570 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
1571 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
1572 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e,
1573 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
1574 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda,
1575 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70,
1576 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x70,
1577 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74,
1578 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1579 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
1580 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12,
1581 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20,
1582 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d,
Joe Tsai19058432019-02-27 21:46:29 -08001583 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001584 0x28, 0x04, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a,
1585 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28,
1586 0x11, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a,
1587 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12,
1588 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1f, 0x0a, 0x0b, 0x6f,
1589 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07,
1590 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1f, 0x0a, 0x0b,
1591 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28,
1592 0x06, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x21, 0x0a,
1593 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20,
1594 0x01, 0x28, 0x0f, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1595 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
1596 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65,
1597 0x64, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74,
1598 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74,
1599 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15,
1600 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12,
1601 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01,
1602 0x28, 0x0c, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1603 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09,
1604 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xfb, 0x01, 0x0a, 0x05,
1605 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x24, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75,
1606 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1607 0x75, 0x6d, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x08, 0x72,
1608 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1609 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x70, 0x74, 0x45, 0x6e, 0x75,
1610 0x6d, 0x12, 0x3d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f,
1611 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32,
1612 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75,
1613 0x6d, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1614 0x12, 0x3d, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65,
1615 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1616 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1617 0x52, 0x0d, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22,
1618 0x28, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a,
1619 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12,
1620 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x94, 0x02, 0x0a, 0x07, 0x52, 0x65,
1621 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1622 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x07, 0x72, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c,
1623 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20,
1624 0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1b, 0x0a,
1625 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03,
1626 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70,
1627 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09,
1628 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74,
1629 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72,
1630 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f,
1631 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x02, 0x52, 0x08, 0x72, 0x70, 0x74,
1632 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75,
1633 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x72, 0x70, 0x74, 0x44, 0x6f,
1634 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69,
1635 0x6e, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72,
1636 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73,
1637 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73,
1638 0x22, 0x53, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70,
1639 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
1640 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1641 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1642 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e,
1643 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0xd3, 0x03, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12,
1644 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20,
1645 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1646 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x6f,
1647 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x13, 0x2e,
1648 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f,
1649 0x75, 0x70, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x0a,
1650 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
1651 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72,
1652 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x67,
1653 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x32,
1654 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
1655 0x08, 0x72, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0xd4, 0x01, 0x0a, 0x08, 0x4f, 0x70,
1656 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74,
1657 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53,
1658 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1659 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1660 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65,
1661 0x64, 0x12, 0x4a, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72,
1662 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x22, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1663 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4f,
1664 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0e, 0x6f,
1665 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x31, 0x0a,
1666 0x0e, 0x4f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
1667 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x01,
1668 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1669 0x1a, 0x29, 0x0a, 0x08, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a,
1670 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
1671 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x72, 0x65, 0x73,
1672 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0xd9, 0x01, 0x0a, 0x09,
1673 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x71,
1674 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x71,
1675 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x66, 0x69, 0x78,
1676 0x65, 0x64, 0x36, 0x34, 0x18, 0x02, 0x20, 0x02, 0x28, 0x10, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x53,
1677 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x64,
1678 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71,
1679 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74,
1680 0x72, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53,
1681 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x5f, 0x65, 0x6e, 0x75,
1682 0x6d, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1683 0x75, 0x6d, 0x52, 0x07, 0x72, 0x65, 0x71, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x0a, 0x72,
1684 0x65, 0x71, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0b, 0x32,
1685 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72, 0x65,
1686 0x71, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4f, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x69,
1687 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65,
1688 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09,
1689 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1690 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1691 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x33, 0x0a, 0x12, 0x4e, 0x65, 0x73, 0x74,
1692 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d,
1693 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02,
1694 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xee, 0x02,
1695 0x0a, 0x10, 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
1696 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1697 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73,
1698 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52,
1699 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x72, 0x70,
1700 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17,
1701 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52,
1702 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74,
1703 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73,
1704 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1705 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
1706 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72,
1707 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3c,
1708 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04,
1709 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
1710 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x48, 0x00, 0x52,
1711 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x1a, 0x57, 0x0a, 0x10,
1712 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79,
1713 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
1714 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
1715 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69,
1716 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
1717 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0x69,
1718 0x0a, 0x0a, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1719 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1720 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x6f,
1721 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x65, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f,
1722 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e,
1723 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e,
Herbie Ong09b28a92019-04-03 15:42:41 -07001724 0x74, 0x33, 0x32, 0x2a, 0x04, 0x08, 0x14, 0x10, 0x65, 0x22, 0x89, 0x04, 0x0a, 0x13, 0x45, 0x78,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001725 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
1726 0x72, 0x32, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1727 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1728 0x6e, 0x73, 0x18, 0x33, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1729 0x42, 0x6f, 0x6f, 0x6c, 0x32, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1730 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1731 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x34, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f,
1732 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x6f,
1733 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1734 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x35, 0x20, 0x01,
1735 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f,
1736 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74,
1737 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1738 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x36, 0x20, 0x01,
1739 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
Herbie Ong09b28a92019-04-03 15:42:41 -07001740 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x32, 0x4d, 0x0a,
1741 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1742 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1743 0x73, 0x18, 0x37, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61,
1744 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f,
1745 0x70, 0x74, 0x45, 0x78, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x32, 0x35, 0x0a, 0x0e,
1746 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f,
1747 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
1748 0x3d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72,
1749 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65,
1750 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1751 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32,
1752 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75,
1753 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1754 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1755 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32,
1756 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e,
1757 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
1758 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07, 0x3a, 0x02, 0x08,
1759 0x01, 0x22, 0xb6, 0x02, 0x0a, 0x13, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74,
1760 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1761 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1762 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x5d, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73,
1763 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1764 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
1765 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d,
Herbie Ong300b9fe2019-03-29 15:42:20 -07001766 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1767 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78,
Herbie Ong09b28a92019-04-03 15:42:41 -07001768 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x64, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x5f, 0x6d,
1769 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
1770 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
1771 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62,
1772 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
1773 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x6e, 0x6f, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
1774 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x3b, 0x0a,
1775 0x0a, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1776 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x1e, 0x20, 0x01,
1777 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
1778 0x09, 0x65, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0e, 0x46, 0x61,
1779 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04,
1780 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9f, 0x01, 0x0a, 0x17, 0x46, 0x61, 0x6b, 0x65, 0x4d,
1781 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1782 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
1783 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e,
1784 0x67, 0x32, 0x65, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74,
1785 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x32,
1786 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18,
1787 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65,
1788 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1789 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45,
1790 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x9e, 0x08, 0x0a, 0x0a, 0x4b, 0x6e, 0x6f,
1791 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62,
1792 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1793 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c,
1794 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x38,
1795 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28,
1796 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1797 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08,
1798 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1799 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
1800 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e,
1801 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1802 0x36, 0x34, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32,
1803 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1804 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
1805 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
1806 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20,
1807 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1808 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75,
1809 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x38, 0x0a, 0x09,
1810 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
1811 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1812 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70,
1813 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f,
1814 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
1815 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75,
1816 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75,
1817 0x62, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1818 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1819 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1820 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1821 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20,
1822 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1823 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65,
1824 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x70,
1825 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b,
1826 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1827 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6f, 0x70, 0x74,
1828 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
1829 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
1830 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1831 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6f, 0x70, 0x74,
1832 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1833 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
1834 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
1835 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63,
1836 0x74, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x1a, 0x20,
1837 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1838 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
1839 0x07, 0x6f, 0x70, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1840 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f,
1841 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61,
1842 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x35, 0x0a,
1843 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0e, 0x32,
1844 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1845 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74,
1846 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x74,
1847 0x79, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1848 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52,
1849 0x08, 0x6f, 0x70, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x6f, 0x70, 0x74,
1850 0x5f, 0x61, 0x6e, 0x79, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
1851 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
1852 0x52, 0x06, 0x6f, 0x70, 0x74, 0x41, 0x6e, 0x79, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
1853 0x66, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b, 0x32,
1854 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1855 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x6f, 0x70, 0x74,
1856 0x46, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x2a, 0x21, 0x0a, 0x04, 0x45, 0x6e, 0x75,
1857 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57,
1858 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10, 0x0a, 0x3a, 0x31, 0x0a, 0x0c,
1859 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70,
1860 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15, 0x20,
1861 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x3a,
1862 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1863 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1864 0x6e, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1865 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78,
1866 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1867 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1868 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1869 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1870 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1871 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1872 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45,
1873 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a, 0x4d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f,
1874 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1875 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x19, 0x20, 0x01,
1876 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1877 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1878 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x3a, 0x37, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x65,
1879 0x78, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32,
1880 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28,
1881 0x07, 0x52, 0x0d, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1882 0x3a, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d,
1883 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1884 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1885 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42,
1886 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1887 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1888 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65,
1889 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74,
1890 0x65, 0x64, 0x3a, 0x61, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65,
1891 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1892 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x32, 0x20, 0x01,
1893 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73,
1894 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1895 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
Damien Neile89e6242019-05-13 23:55:40 -07001896 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1897 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1898 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73,
1899 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x32,
Herbie Ong8170d692019-02-13 14:13:21 -08001900}
1901
Joe Tsai5d72cc22019-03-28 01:13:26 -07001902var (
Joe Tsai7ca70982019-04-15 13:57:56 -07001903 file_pb2_test_proto_rawDescOnce sync.Once
1904 file_pb2_test_proto_rawDescData = file_pb2_test_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -07001905)
Herbie Ong8170d692019-02-13 14:13:21 -08001906
Joe Tsai7ca70982019-04-15 13:57:56 -07001907func file_pb2_test_proto_rawDescGZIP() []byte {
1908 file_pb2_test_proto_rawDescOnce.Do(func() {
1909 file_pb2_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb2_test_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -07001910 })
Joe Tsai7ca70982019-04-15 13:57:56 -07001911 return file_pb2_test_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -07001912}
Herbie Ong8170d692019-02-13 14:13:21 -08001913
Joe Tsaid8881392019-06-06 13:01:53 -07001914var file_pb2_test_proto_enumTypes = make([]prototype.Enum, 2)
Joe Tsai4fe96632019-05-22 05:12:36 -04001915var file_pb2_test_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
Joe Tsai7ca70982019-04-15 13:57:56 -07001916var file_pb2_test_proto_goTypes = []interface{}{
Herbie Ong8170d692019-02-13 14:13:21 -08001917 (Enum)(0), // 0: pb2.Enum
1918 (Enums_NestedEnum)(0), // 1: pb2.Enums.NestedEnum
1919 (*Scalars)(nil), // 2: pb2.Scalars
1920 (*Enums)(nil), // 3: pb2.Enums
1921 (*Repeats)(nil), // 4: pb2.Repeats
1922 (*Nested)(nil), // 5: pb2.Nested
1923 (*Nests)(nil), // 6: pb2.Nests
1924 (*Requireds)(nil), // 7: pb2.Requireds
1925 (*PartialRequired)(nil), // 8: pb2.PartialRequired
1926 (*NestedWithRequired)(nil), // 9: pb2.NestedWithRequired
1927 (*IndirectRequired)(nil), // 10: pb2.IndirectRequired
1928 (*Extensions)(nil), // 11: pb2.Extensions
1929 (*ExtensionsContainer)(nil), // 12: pb2.ExtensionsContainer
1930 (*MessageSet)(nil), // 13: pb2.MessageSet
1931 (*MessageSetExtension)(nil), // 14: pb2.MessageSetExtension
1932 (*FakeMessageSet)(nil), // 15: pb2.FakeMessageSet
1933 (*FakeMessageSetExtension)(nil), // 16: pb2.FakeMessageSetExtension
1934 (*KnownTypes)(nil), // 17: pb2.KnownTypes
1935 (*Nests_OptGroup)(nil), // 18: pb2.Nests.OptGroup
1936 (*Nests_RptGroup)(nil), // 19: pb2.Nests.RptGroup
1937 (*Nests_OptGroup_OptNestedGroup)(nil), // 20: pb2.Nests.OptGroup.OptNestedGroup
1938 nil, // 21: pb2.IndirectRequired.StrToNestedEntry
Joe Tsaia95b29f2019-05-16 12:47:20 -07001939 (*wrapperspb.BoolValue)(nil), // 22: google.protobuf.BoolValue
1940 (*wrapperspb.Int32Value)(nil), // 23: google.protobuf.Int32Value
1941 (*wrapperspb.Int64Value)(nil), // 24: google.protobuf.Int64Value
1942 (*wrapperspb.UInt32Value)(nil), // 25: google.protobuf.UInt32Value
1943 (*wrapperspb.UInt64Value)(nil), // 26: google.protobuf.UInt64Value
1944 (*wrapperspb.FloatValue)(nil), // 27: google.protobuf.FloatValue
1945 (*wrapperspb.DoubleValue)(nil), // 28: google.protobuf.DoubleValue
1946 (*wrapperspb.StringValue)(nil), // 29: google.protobuf.StringValue
1947 (*wrapperspb.BytesValue)(nil), // 30: google.protobuf.BytesValue
1948 (*durationpb.Duration)(nil), // 31: google.protobuf.Duration
1949 (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp
1950 (*structpb.Struct)(nil), // 33: google.protobuf.Struct
1951 (*structpb.ListValue)(nil), // 34: google.protobuf.ListValue
1952 (*structpb.Value)(nil), // 35: google.protobuf.Value
1953 (structpb.NullValue)(0), // 36: google.protobuf.NullValue
1954 (*emptypb.Empty)(nil), // 37: google.protobuf.Empty
1955 (*anypb.Any)(nil), // 38: google.protobuf.Any
1956 (*fieldmaskpb.FieldMask)(nil), // 39: google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08001957}
Joe Tsai7ca70982019-04-15 13:57:56 -07001958var file_pb2_test_proto_depIdxs = []int32{
Herbie Ong8170d692019-02-13 14:13:21 -08001959 0, // pb2.Enums.opt_enum:type_name -> pb2.Enum
1960 0, // pb2.Enums.rpt_enum:type_name -> pb2.Enum
1961 1, // pb2.Enums.opt_nested_enum:type_name -> pb2.Enums.NestedEnum
1962 1, // pb2.Enums.rpt_nested_enum:type_name -> pb2.Enums.NestedEnum
1963 5, // pb2.Nested.opt_nested:type_name -> pb2.Nested
1964 5, // pb2.Nests.opt_nested:type_name -> pb2.Nested
1965 18, // pb2.Nests.optgroup:type_name -> pb2.Nests.OptGroup
1966 5, // pb2.Nests.rpt_nested:type_name -> pb2.Nested
1967 19, // pb2.Nests.rptgroup:type_name -> pb2.Nests.RptGroup
1968 0, // pb2.Requireds.req_enum:type_name -> pb2.Enum
1969 5, // pb2.Requireds.req_nested:type_name -> pb2.Nested
1970 9, // pb2.IndirectRequired.opt_nested:type_name -> pb2.NestedWithRequired
1971 9, // pb2.IndirectRequired.rpt_nested:type_name -> pb2.NestedWithRequired
1972 21, // pb2.IndirectRequired.str_to_nested:type_name -> pb2.IndirectRequired.StrToNestedEntry
1973 9, // pb2.IndirectRequired.oneof_nested:type_name -> pb2.NestedWithRequired
1974 22, // pb2.KnownTypes.opt_bool:type_name -> google.protobuf.BoolValue
1975 23, // pb2.KnownTypes.opt_int32:type_name -> google.protobuf.Int32Value
1976 24, // pb2.KnownTypes.opt_int64:type_name -> google.protobuf.Int64Value
1977 25, // pb2.KnownTypes.opt_uint32:type_name -> google.protobuf.UInt32Value
1978 26, // pb2.KnownTypes.opt_uint64:type_name -> google.protobuf.UInt64Value
1979 27, // pb2.KnownTypes.opt_float:type_name -> google.protobuf.FloatValue
1980 28, // pb2.KnownTypes.opt_double:type_name -> google.protobuf.DoubleValue
1981 29, // pb2.KnownTypes.opt_string:type_name -> google.protobuf.StringValue
1982 30, // pb2.KnownTypes.opt_bytes:type_name -> google.protobuf.BytesValue
1983 31, // pb2.KnownTypes.opt_duration:type_name -> google.protobuf.Duration
1984 32, // pb2.KnownTypes.opt_timestamp:type_name -> google.protobuf.Timestamp
1985 33, // pb2.KnownTypes.opt_struct:type_name -> google.protobuf.Struct
1986 34, // pb2.KnownTypes.opt_list:type_name -> google.protobuf.ListValue
1987 35, // pb2.KnownTypes.opt_value:type_name -> google.protobuf.Value
Herbie Ong300b9fe2019-03-29 15:42:20 -07001988 36, // pb2.KnownTypes.opt_null:type_name -> google.protobuf.NullValue
1989 37, // pb2.KnownTypes.opt_empty:type_name -> google.protobuf.Empty
1990 38, // pb2.KnownTypes.opt_any:type_name -> google.protobuf.Any
1991 39, // pb2.KnownTypes.opt_fieldmask:type_name -> google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08001992 5, // pb2.Nests.OptGroup.opt_nested:type_name -> pb2.Nested
1993 20, // pb2.Nests.OptGroup.optnestedgroup:type_name -> pb2.Nests.OptGroup.OptNestedGroup
1994 9, // pb2.IndirectRequired.StrToNestedEntry.value:type_name -> pb2.NestedWithRequired
Joe Tsaid8881392019-06-06 13:01:53 -07001995 11, // pb2.opt_ext_bool:extendee -> pb2.Extensions
1996 11, // pb2.opt_ext_string:extendee -> pb2.Extensions
1997 11, // pb2.opt_ext_enum:extendee -> pb2.Extensions
1998 11, // pb2.opt_ext_nested:extendee -> pb2.Extensions
1999 11, // pb2.opt_ext_partial:extendee -> pb2.Extensions
2000 11, // pb2.rpt_ext_fixed32:extendee -> pb2.Extensions
2001 11, // pb2.rpt_ext_enum:extendee -> pb2.Extensions
2002 11, // pb2.rpt_ext_nested:extendee -> pb2.Extensions
2003 13, // pb2.message_set_extension:extendee -> pb2.MessageSet
2004 11, // pb2.ExtensionsContainer.opt_ext_bool:extendee -> pb2.Extensions
2005 11, // pb2.ExtensionsContainer.opt_ext_string:extendee -> pb2.Extensions
2006 11, // pb2.ExtensionsContainer.opt_ext_enum:extendee -> pb2.Extensions
2007 11, // pb2.ExtensionsContainer.opt_ext_nested:extendee -> pb2.Extensions
2008 11, // pb2.ExtensionsContainer.opt_ext_partial:extendee -> pb2.Extensions
2009 11, // pb2.ExtensionsContainer.rpt_ext_string:extendee -> pb2.Extensions
2010 11, // pb2.ExtensionsContainer.rpt_ext_enum:extendee -> pb2.Extensions
2011 11, // pb2.ExtensionsContainer.rpt_ext_nested:extendee -> pb2.Extensions
2012 13, // pb2.MessageSetExtension.message_set_extension:extendee -> pb2.MessageSet
2013 13, // pb2.MessageSetExtension.not_message_set_extension:extendee -> pb2.MessageSet
2014 13, // pb2.MessageSetExtension.ext_nested:extendee -> pb2.MessageSet
2015 15, // pb2.FakeMessageSetExtension.message_set_extension:extendee -> pb2.FakeMessageSet
Herbie Ong8170d692019-02-13 14:13:21 -08002016 0, // pb2.opt_ext_enum:type_name -> pb2.Enum
2017 5, // pb2.opt_ext_nested:type_name -> pb2.Nested
Herbie Ong09b28a92019-04-03 15:42:41 -07002018 8, // pb2.opt_ext_partial:type_name -> pb2.PartialRequired
Herbie Ong8170d692019-02-13 14:13:21 -08002019 0, // pb2.rpt_ext_enum:type_name -> pb2.Enum
2020 5, // pb2.rpt_ext_nested:type_name -> pb2.Nested
2021 16, // pb2.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2022 0, // pb2.ExtensionsContainer.opt_ext_enum:type_name -> pb2.Enum
2023 5, // pb2.ExtensionsContainer.opt_ext_nested:type_name -> pb2.Nested
Herbie Ong09b28a92019-04-03 15:42:41 -07002024 8, // pb2.ExtensionsContainer.opt_ext_partial:type_name -> pb2.PartialRequired
Herbie Ong8170d692019-02-13 14:13:21 -08002025 0, // pb2.ExtensionsContainer.rpt_ext_enum:type_name -> pb2.Enum
2026 5, // pb2.ExtensionsContainer.rpt_ext_nested:type_name -> pb2.Nested
2027 14, // pb2.MessageSetExtension.message_set_extension:type_name -> pb2.MessageSetExtension
2028 14, // pb2.MessageSetExtension.not_message_set_extension:type_name -> pb2.MessageSetExtension
2029 5, // pb2.MessageSetExtension.ext_nested:type_name -> pb2.Nested
2030 16, // pb2.FakeMessageSetExtension.message_set_extension:type_name -> pb2.FakeMessageSetExtension
Joe Tsaid8881392019-06-06 13:01:53 -07002031 72, // starting offset of method output_type sub-list
2032 72, // starting offset of method input_type sub-list
2033 57, // starting offset of extension type_name sub-list
2034 36, // starting offset of extension extendee sub-list
2035 0, // starting offset of field type_name sub-list
Herbie Ong8170d692019-02-13 14:13:21 -08002036}
2037
Joe Tsai7ca70982019-04-15 13:57:56 -07002038func init() { file_pb2_test_proto_init() }
2039func file_pb2_test_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -08002040 if File_pb2_test_proto != nil {
2041 return
2042 }
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002043 if !protoimpl.UnsafeEnabled {
2044 file_pb2_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2045 switch v := v.(*Scalars); i {
2046 case 15:
2047 return &v.sizeCache
2048 case 16:
2049 return &v.unknownFields
2050 default:
2051 return nil
2052 }
2053 }
2054 file_pb2_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2055 switch v := v.(*Enums); i {
2056 case 4:
2057 return &v.sizeCache
2058 case 5:
2059 return &v.unknownFields
2060 default:
2061 return nil
2062 }
2063 }
2064 file_pb2_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2065 switch v := v.(*Repeats); i {
2066 case 9:
2067 return &v.sizeCache
2068 case 10:
2069 return &v.unknownFields
2070 default:
2071 return nil
2072 }
2073 }
2074 file_pb2_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2075 switch v := v.(*Nested); i {
2076 case 2:
2077 return &v.sizeCache
2078 case 3:
2079 return &v.unknownFields
2080 default:
2081 return nil
2082 }
2083 }
2084 file_pb2_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2085 switch v := v.(*Nests); i {
2086 case 4:
2087 return &v.sizeCache
2088 case 5:
2089 return &v.unknownFields
2090 default:
2091 return nil
2092 }
2093 }
2094 file_pb2_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2095 switch v := v.(*Requireds); i {
2096 case 6:
2097 return &v.sizeCache
2098 case 7:
2099 return &v.unknownFields
2100 default:
2101 return nil
2102 }
2103 }
2104 file_pb2_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
2105 switch v := v.(*PartialRequired); i {
2106 case 2:
2107 return &v.sizeCache
2108 case 3:
2109 return &v.unknownFields
2110 default:
2111 return nil
2112 }
2113 }
2114 file_pb2_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2115 switch v := v.(*NestedWithRequired); i {
2116 case 1:
2117 return &v.sizeCache
2118 case 2:
2119 return &v.unknownFields
2120 default:
2121 return nil
2122 }
2123 }
2124 file_pb2_test_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
2125 switch v := v.(*IndirectRequired); i {
2126 case 4:
2127 return &v.sizeCache
2128 case 5:
2129 return &v.unknownFields
2130 default:
2131 return nil
2132 }
2133 }
2134 file_pb2_test_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
2135 switch v := v.(*Extensions); i {
2136 case 3:
2137 return &v.sizeCache
2138 case 4:
2139 return &v.unknownFields
2140 case 5:
2141 return &v.extensionFields
2142 default:
2143 return nil
2144 }
2145 }
2146 file_pb2_test_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2147 switch v := v.(*ExtensionsContainer); i {
2148 case 0:
2149 return &v.sizeCache
2150 case 1:
2151 return &v.unknownFields
2152 default:
2153 return nil
2154 }
2155 }
2156 file_pb2_test_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2157 switch v := v.(*MessageSet); i {
2158 case 0:
2159 return &v.sizeCache
2160 case 1:
2161 return &v.unknownFields
2162 case 2:
2163 return &v.extensionFields
2164 default:
2165 return nil
2166 }
2167 }
2168 file_pb2_test_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2169 switch v := v.(*MessageSetExtension); i {
2170 case 1:
2171 return &v.sizeCache
2172 case 2:
2173 return &v.unknownFields
2174 default:
2175 return nil
2176 }
2177 }
2178 file_pb2_test_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
2179 switch v := v.(*FakeMessageSet); i {
2180 case 0:
2181 return &v.sizeCache
2182 case 1:
2183 return &v.unknownFields
2184 case 2:
2185 return &v.extensionFields
2186 default:
2187 return nil
2188 }
2189 }
2190 file_pb2_test_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
2191 switch v := v.(*FakeMessageSetExtension); i {
2192 case 1:
2193 return &v.sizeCache
2194 case 2:
2195 return &v.unknownFields
2196 default:
2197 return nil
2198 }
2199 }
2200 file_pb2_test_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
2201 switch v := v.(*KnownTypes); i {
2202 case 18:
2203 return &v.sizeCache
2204 case 19:
2205 return &v.unknownFields
2206 default:
2207 return nil
2208 }
2209 }
2210 file_pb2_test_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
2211 switch v := v.(*Nests_OptGroup); i {
2212 case 3:
2213 return &v.sizeCache
2214 case 4:
2215 return &v.unknownFields
2216 default:
2217 return nil
2218 }
2219 }
2220 file_pb2_test_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
2221 switch v := v.(*Nests_RptGroup); i {
2222 case 1:
2223 return &v.sizeCache
2224 case 2:
2225 return &v.unknownFields
2226 default:
2227 return nil
2228 }
2229 }
2230 file_pb2_test_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
2231 switch v := v.(*Nests_OptGroup_OptNestedGroup); i {
2232 case 1:
2233 return &v.sizeCache
2234 case 2:
2235 return &v.unknownFields
2236 default:
2237 return nil
2238 }
2239 }
2240 }
Joe Tsai09912272019-07-08 10:38:11 -07002241 file_pb2_test_proto_msgTypes[8].OneofWrappers = []interface{}{
2242 (*IndirectRequired_OneofNested)(nil),
2243 }
Joe Tsaid8881392019-06-06 13:01:53 -07002244 out := protoimpl.TypeBuilder{
2245 File: protoimpl.DescBuilder{
2246 RawDescriptor: file_pb2_test_proto_rawDesc,
2247 NumEnums: 2,
2248 NumMessages: 20,
2249 NumExtensions: 21,
2250 NumServices: 0,
2251 },
2252 GoTypes: file_pb2_test_proto_goTypes,
2253 DependencyIndexes: file_pb2_test_proto_depIdxs,
2254 MessageInfos: file_pb2_test_proto_msgTypes,
2255 LegacyExtensions: file_pb2_test_proto_extDescs,
2256 }.Build()
2257 File_pb2_test_proto = out.File
2258 file_pb2_test_proto_enumTypes = out.Enums
Joe Tsai7ca70982019-04-15 13:57:56 -07002259 file_pb2_test_proto_rawDesc = nil
2260 file_pb2_test_proto_goTypes = nil
2261 file_pb2_test_proto_depIdxs = nil
Herbie Ong8170d692019-02-13 14:13:21 -08002262}