blob: abc47c8937b45f6276cc4515f1555826ddde28b9 [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 (
Herbie Ong8170d692019-02-13 14:13:21 -08007 protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
Joe Tsai35ec98f2019-03-25 14:41:32 -07008 protoregistry "github.com/golang/protobuf/v2/reflect/protoregistry"
Joe Tsai4fddeba2019-03-20 18:29:32 -07009 protoiface "github.com/golang/protobuf/v2/runtime/protoiface"
Herbie Ong8170d692019-02-13 14:13:21 -080010 protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
Joe Tsai19058432019-02-27 21:46:29 -080011 known "github.com/golang/protobuf/v2/types/known"
Joe Tsai5d72cc22019-03-28 01:13:26 -070012 sync "sync"
Herbie Ong8170d692019-02-13 14:13:21 -080013)
14
Joe Tsai5d72cc22019-03-28 01:13:26 -070015const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
16
Herbie Ong8170d692019-02-13 14:13:21 -080017type Enum int32
18
19const (
20 Enum_ONE Enum = 1
21 Enum_TWO Enum = 2
22 Enum_TEN Enum = 10
23)
24
Joe Tsai8e506a82019-03-16 00:05:34 -070025// Deprecated: Use Enum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080026var Enum_name = map[int32]string{
27 1: "ONE",
28 2: "TWO",
29 10: "TEN",
30}
31
Joe Tsai8e506a82019-03-16 00:05:34 -070032// Deprecated: Use Enum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080033var Enum_value = map[string]int32{
34 "ONE": 1,
35 "TWO": 2,
36 "TEN": 10,
37}
38
39func (x Enum) Enum() *Enum {
Joe Tsai09b5b462019-04-10 15:29:01 -070040 p := new(Enum)
41 *p = x
42 return p
Herbie Ong8170d692019-02-13 14:13:21 -080043}
44
45func (x Enum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -070046 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -080047}
48
Joe Tsai0fc49f82019-05-01 12:29:25 -070049func (Enum) Descriptor() protoreflect.EnumDescriptor {
50 return file_pb2_test_proto_enumTypes[0].Descriptor()
51}
52
53// Deprecated: Use Descriptor instead.
Joe Tsai61968ce2019-04-01 12:59:24 -070054func (Enum) Type() protoreflect.EnumType {
Joe Tsai7ca70982019-04-15 13:57:56 -070055 return file_pb2_test_proto_enumTypes[0]
Joe Tsai61968ce2019-04-01 12:59:24 -070056}
57
58func (x Enum) Number() protoreflect.EnumNumber {
59 return protoreflect.EnumNumber(x)
60}
61
Joe Tsai8e506a82019-03-16 00:05:34 -070062// Deprecated: Do not use.
63func (x *Enum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -070064 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -080065 if err != nil {
66 return err
67 }
Joe Tsai8e506a82019-03-16 00:05:34 -070068 *x = Enum(num)
Herbie Ong8170d692019-02-13 14:13:21 -080069 return nil
70}
71
Joe Tsai8e506a82019-03-16 00:05:34 -070072// Deprecated: Use Enum.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -080073func (Enum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -070074 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -080075}
76
77type Enums_NestedEnum int32
78
79const (
80 Enums_UNO Enums_NestedEnum = 1
81 Enums_DOS Enums_NestedEnum = 2
82 Enums_DIEZ Enums_NestedEnum = 10
83)
84
Joe Tsai8e506a82019-03-16 00:05:34 -070085// Deprecated: Use Enums_NestedEnum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080086var Enums_NestedEnum_name = map[int32]string{
87 1: "UNO",
88 2: "DOS",
89 10: "DIEZ",
90}
91
Joe Tsai8e506a82019-03-16 00:05:34 -070092// Deprecated: Use Enums_NestedEnum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080093var Enums_NestedEnum_value = map[string]int32{
94 "UNO": 1,
95 "DOS": 2,
96 "DIEZ": 10,
97}
98
99func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
Joe Tsai09b5b462019-04-10 15:29:01 -0700100 p := new(Enums_NestedEnum)
101 *p = x
102 return p
Herbie Ong8170d692019-02-13 14:13:21 -0800103}
104
105func (x Enums_NestedEnum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700106 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -0800107}
108
Joe Tsai0fc49f82019-05-01 12:29:25 -0700109func (Enums_NestedEnum) Descriptor() protoreflect.EnumDescriptor {
110 return file_pb2_test_proto_enumTypes[1].Descriptor()
111}
112
113// Deprecated: Use Descriptor instead.
Joe Tsai61968ce2019-04-01 12:59:24 -0700114func (Enums_NestedEnum) Type() protoreflect.EnumType {
Joe Tsai7ca70982019-04-15 13:57:56 -0700115 return file_pb2_test_proto_enumTypes[1]
Joe Tsai61968ce2019-04-01 12:59:24 -0700116}
117
118func (x Enums_NestedEnum) Number() protoreflect.EnumNumber {
119 return protoreflect.EnumNumber(x)
120}
121
Joe Tsai8e506a82019-03-16 00:05:34 -0700122// Deprecated: Do not use.
123func (x *Enums_NestedEnum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700124 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -0800125 if err != nil {
126 return err
127 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700128 *x = Enums_NestedEnum(num)
Herbie Ong8170d692019-02-13 14:13:21 -0800129 return nil
130}
131
Joe Tsai8e506a82019-03-16 00:05:34 -0700132// Deprecated: Use Enums_NestedEnum.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800133func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700134 return file_pb2_test_proto_rawDescGZIP(), []int{1, 0}
Herbie Ong8170d692019-02-13 14:13:21 -0800135}
136
137// Scalars contains optional scalar fields.
138type Scalars struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700139 OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
140 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
141 OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
142 OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
143 OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
144 OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"`
145 OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"`
146 OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
147 OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"`
148 OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"`
149 OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"`
150 OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
151 OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
152 OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
153 OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
154 XXX_NoUnkeyedLiteral struct{} `json:"-"`
155 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
156 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800157}
158
Joe Tsai61968ce2019-04-01 12:59:24 -0700159func (x *Scalars) Reset() {
160 *x = Scalars{}
Herbie Ong8170d692019-02-13 14:13:21 -0800161}
Joe Tsai61968ce2019-04-01 12:59:24 -0700162
163func (x *Scalars) String() string {
164 return protoimpl.X.MessageStringOf(x)
165}
166
167func (*Scalars) ProtoMessage() {}
168
169func (x *Scalars) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700170 return file_pb2_test_proto_msgTypes[0].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700171}
Joe Tsai8e506a82019-03-16 00:05:34 -0700172
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700173func (m *Scalars) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700174 return file_pb2_test_proto_msgTypes[0].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700175}
176
Joe Tsai8e506a82019-03-16 00:05:34 -0700177// Deprecated: Use Scalars.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800178func (*Scalars) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700179 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -0800180}
181
Joe Tsai61968ce2019-04-01 12:59:24 -0700182func (x *Scalars) GetOptBool() bool {
183 if x != nil && x.OptBool != nil {
184 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800185 }
186 return false
187}
188
Joe Tsai61968ce2019-04-01 12:59:24 -0700189func (x *Scalars) GetOptInt32() int32 {
190 if x != nil && x.OptInt32 != nil {
191 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800192 }
193 return 0
194}
195
Joe Tsai61968ce2019-04-01 12:59:24 -0700196func (x *Scalars) GetOptInt64() int64 {
197 if x != nil && x.OptInt64 != nil {
198 return *x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800199 }
200 return 0
201}
202
Joe Tsai61968ce2019-04-01 12:59:24 -0700203func (x *Scalars) GetOptUint32() uint32 {
204 if x != nil && x.OptUint32 != nil {
205 return *x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800206 }
207 return 0
208}
209
Joe Tsai61968ce2019-04-01 12:59:24 -0700210func (x *Scalars) GetOptUint64() uint64 {
211 if x != nil && x.OptUint64 != nil {
212 return *x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800213 }
214 return 0
215}
216
Joe Tsai61968ce2019-04-01 12:59:24 -0700217func (x *Scalars) GetOptSint32() int32 {
218 if x != nil && x.OptSint32 != nil {
219 return *x.OptSint32
Herbie Ong8170d692019-02-13 14:13:21 -0800220 }
221 return 0
222}
223
Joe Tsai61968ce2019-04-01 12:59:24 -0700224func (x *Scalars) GetOptSint64() int64 {
225 if x != nil && x.OptSint64 != nil {
226 return *x.OptSint64
Herbie Ong8170d692019-02-13 14:13:21 -0800227 }
228 return 0
229}
230
Joe Tsai61968ce2019-04-01 12:59:24 -0700231func (x *Scalars) GetOptFixed32() uint32 {
232 if x != nil && x.OptFixed32 != nil {
233 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800234 }
235 return 0
236}
237
Joe Tsai61968ce2019-04-01 12:59:24 -0700238func (x *Scalars) GetOptFixed64() uint64 {
239 if x != nil && x.OptFixed64 != nil {
240 return *x.OptFixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800241 }
242 return 0
243}
244
Joe Tsai61968ce2019-04-01 12:59:24 -0700245func (x *Scalars) GetOptSfixed32() int32 {
246 if x != nil && x.OptSfixed32 != nil {
247 return *x.OptSfixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800248 }
249 return 0
250}
251
Joe Tsai61968ce2019-04-01 12:59:24 -0700252func (x *Scalars) GetOptSfixed64() int64 {
253 if x != nil && x.OptSfixed64 != nil {
254 return *x.OptSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800255 }
256 return 0
257}
258
Joe Tsai61968ce2019-04-01 12:59:24 -0700259func (x *Scalars) GetOptFloat() float32 {
260 if x != nil && x.OptFloat != nil {
261 return *x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800262 }
263 return 0
264}
265
Joe Tsai61968ce2019-04-01 12:59:24 -0700266func (x *Scalars) GetOptDouble() float64 {
267 if x != nil && x.OptDouble != nil {
268 return *x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800269 }
270 return 0
271}
272
Joe Tsai61968ce2019-04-01 12:59:24 -0700273func (x *Scalars) GetOptBytes() []byte {
274 if x != nil {
275 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800276 }
277 return nil
278}
279
Joe Tsai61968ce2019-04-01 12:59:24 -0700280func (x *Scalars) GetOptString() string {
281 if x != nil && x.OptString != nil {
282 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800283 }
284 return ""
285}
286
287// Message contains enum fields.
288type Enums struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700289 OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
290 RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"`
291 OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
292 RptNestedEnum []Enums_NestedEnum `protobuf:"varint,4,rep,name=rpt_nested_enum,json=rptNestedEnum,enum=pb2.Enums_NestedEnum" json:"rpt_nested_enum,omitempty"`
293 XXX_NoUnkeyedLiteral struct{} `json:"-"`
294 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
295 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800296}
297
Joe Tsai61968ce2019-04-01 12:59:24 -0700298func (x *Enums) Reset() {
299 *x = Enums{}
Herbie Ong8170d692019-02-13 14:13:21 -0800300}
Joe Tsai61968ce2019-04-01 12:59:24 -0700301
302func (x *Enums) String() string {
303 return protoimpl.X.MessageStringOf(x)
304}
305
306func (*Enums) ProtoMessage() {}
307
308func (x *Enums) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700309 return file_pb2_test_proto_msgTypes[1].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700310}
Joe Tsai8e506a82019-03-16 00:05:34 -0700311
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700312func (m *Enums) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700313 return file_pb2_test_proto_msgTypes[1].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700314}
315
Joe Tsai8e506a82019-03-16 00:05:34 -0700316// Deprecated: Use Enums.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800317func (*Enums) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700318 return file_pb2_test_proto_rawDescGZIP(), []int{1}
Herbie Ong8170d692019-02-13 14:13:21 -0800319}
320
Joe Tsai61968ce2019-04-01 12:59:24 -0700321func (x *Enums) GetOptEnum() Enum {
322 if x != nil && x.OptEnum != nil {
323 return *x.OptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800324 }
325 return Enum_ONE
326}
327
Joe Tsai61968ce2019-04-01 12:59:24 -0700328func (x *Enums) GetRptEnum() []Enum {
329 if x != nil {
330 return x.RptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800331 }
332 return nil
333}
334
Joe Tsai61968ce2019-04-01 12:59:24 -0700335func (x *Enums) GetOptNestedEnum() Enums_NestedEnum {
336 if x != nil && x.OptNestedEnum != nil {
337 return *x.OptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800338 }
339 return Enums_UNO
340}
341
Joe Tsai61968ce2019-04-01 12:59:24 -0700342func (x *Enums) GetRptNestedEnum() []Enums_NestedEnum {
343 if x != nil {
344 return x.RptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800345 }
346 return nil
347}
348
349// Message contains repeated fields.
350type Repeats struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700351 RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
352 RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"`
353 RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"`
354 RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"`
355 RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"`
356 RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"`
357 RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"`
358 RptString []string `protobuf:"bytes,8,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
359 RptBytes [][]byte `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
360 XXX_NoUnkeyedLiteral struct{} `json:"-"`
361 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
362 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800363}
364
Joe Tsai61968ce2019-04-01 12:59:24 -0700365func (x *Repeats) Reset() {
366 *x = Repeats{}
Herbie Ong8170d692019-02-13 14:13:21 -0800367}
Joe Tsai61968ce2019-04-01 12:59:24 -0700368
369func (x *Repeats) String() string {
370 return protoimpl.X.MessageStringOf(x)
371}
372
373func (*Repeats) ProtoMessage() {}
374
375func (x *Repeats) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700376 return file_pb2_test_proto_msgTypes[2].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700377}
Joe Tsai8e506a82019-03-16 00:05:34 -0700378
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700379func (m *Repeats) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700380 return file_pb2_test_proto_msgTypes[2].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700381}
382
Joe Tsai8e506a82019-03-16 00:05:34 -0700383// Deprecated: Use Repeats.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800384func (*Repeats) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700385 return file_pb2_test_proto_rawDescGZIP(), []int{2}
Herbie Ong8170d692019-02-13 14:13:21 -0800386}
387
Joe Tsai61968ce2019-04-01 12:59:24 -0700388func (x *Repeats) GetRptBool() []bool {
389 if x != nil {
390 return x.RptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800391 }
392 return nil
393}
394
Joe Tsai61968ce2019-04-01 12:59:24 -0700395func (x *Repeats) GetRptInt32() []int32 {
396 if x != nil {
397 return x.RptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800398 }
399 return nil
400}
401
Joe Tsai61968ce2019-04-01 12:59:24 -0700402func (x *Repeats) GetRptInt64() []int64 {
403 if x != nil {
404 return x.RptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800405 }
406 return nil
407}
408
Joe Tsai61968ce2019-04-01 12:59:24 -0700409func (x *Repeats) GetRptUint32() []uint32 {
410 if x != nil {
411 return x.RptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800412 }
413 return nil
414}
415
Joe Tsai61968ce2019-04-01 12:59:24 -0700416func (x *Repeats) GetRptUint64() []uint64 {
417 if x != nil {
418 return x.RptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800419 }
420 return nil
421}
422
Joe Tsai61968ce2019-04-01 12:59:24 -0700423func (x *Repeats) GetRptFloat() []float32 {
424 if x != nil {
425 return x.RptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800426 }
427 return nil
428}
429
Joe Tsai61968ce2019-04-01 12:59:24 -0700430func (x *Repeats) GetRptDouble() []float64 {
431 if x != nil {
432 return x.RptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800433 }
434 return nil
435}
436
Joe Tsai61968ce2019-04-01 12:59:24 -0700437func (x *Repeats) GetRptString() []string {
438 if x != nil {
439 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -0800440 }
441 return nil
442}
443
Joe Tsai61968ce2019-04-01 12:59:24 -0700444func (x *Repeats) GetRptBytes() [][]byte {
445 if x != nil {
446 return x.RptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800447 }
448 return nil
449}
450
451// Message type used as submessage.
452type Nested struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700453 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
454 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
455 XXX_NoUnkeyedLiteral struct{} `json:"-"`
456 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
457 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800458}
459
Joe Tsai61968ce2019-04-01 12:59:24 -0700460func (x *Nested) Reset() {
461 *x = Nested{}
Herbie Ong8170d692019-02-13 14:13:21 -0800462}
Joe Tsai61968ce2019-04-01 12:59:24 -0700463
464func (x *Nested) String() string {
465 return protoimpl.X.MessageStringOf(x)
466}
467
468func (*Nested) ProtoMessage() {}
469
470func (x *Nested) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700471 return file_pb2_test_proto_msgTypes[3].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700472}
Joe Tsai8e506a82019-03-16 00:05:34 -0700473
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700474func (m *Nested) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700475 return file_pb2_test_proto_msgTypes[3].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700476}
477
Joe Tsai8e506a82019-03-16 00:05:34 -0700478// Deprecated: Use Nested.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800479func (*Nested) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700480 return file_pb2_test_proto_rawDescGZIP(), []int{3}
Herbie Ong8170d692019-02-13 14:13:21 -0800481}
482
Joe Tsai61968ce2019-04-01 12:59:24 -0700483func (x *Nested) GetOptString() string {
484 if x != nil && x.OptString != nil {
485 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800486 }
487 return ""
488}
489
Joe Tsai61968ce2019-04-01 12:59:24 -0700490func (x *Nested) GetOptNested() *Nested {
491 if x != nil {
492 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800493 }
494 return nil
495}
496
497// Message contains message and group fields.
498type Nests struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700499 OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
500 Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"`
501 RptNested []*Nested `protobuf:"bytes,4,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
502 Rptgroup []*Nests_RptGroup `protobuf:"group,5,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
503 XXX_NoUnkeyedLiteral struct{} `json:"-"`
504 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
505 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800506}
507
Joe Tsai61968ce2019-04-01 12:59:24 -0700508func (x *Nests) Reset() {
509 *x = Nests{}
Herbie Ong8170d692019-02-13 14:13:21 -0800510}
Joe Tsai61968ce2019-04-01 12:59:24 -0700511
512func (x *Nests) String() string {
513 return protoimpl.X.MessageStringOf(x)
514}
515
516func (*Nests) ProtoMessage() {}
517
518func (x *Nests) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700519 return file_pb2_test_proto_msgTypes[4].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700520}
Joe Tsai8e506a82019-03-16 00:05:34 -0700521
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700522func (m *Nests) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700523 return file_pb2_test_proto_msgTypes[4].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700524}
525
Joe Tsai8e506a82019-03-16 00:05:34 -0700526// Deprecated: Use Nests.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800527func (*Nests) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700528 return file_pb2_test_proto_rawDescGZIP(), []int{4}
Herbie Ong8170d692019-02-13 14:13:21 -0800529}
530
Joe Tsai61968ce2019-04-01 12:59:24 -0700531func (x *Nests) GetOptNested() *Nested {
532 if x != nil {
533 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800534 }
535 return nil
536}
537
Joe Tsai61968ce2019-04-01 12:59:24 -0700538func (x *Nests) GetOptgroup() *Nests_OptGroup {
539 if x != nil {
540 return x.Optgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800541 }
542 return nil
543}
544
Joe Tsai61968ce2019-04-01 12:59:24 -0700545func (x *Nests) GetRptNested() []*Nested {
546 if x != nil {
547 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800548 }
549 return nil
550}
551
Joe Tsai61968ce2019-04-01 12:59:24 -0700552func (x *Nests) GetRptgroup() []*Nests_RptGroup {
553 if x != nil {
554 return x.Rptgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800555 }
556 return nil
557}
558
559// Message contains required fields.
560type Requireds struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700561 ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"`
562 ReqSfixed64 *int64 `protobuf:"fixed64,2,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"`
563 ReqDouble *float64 `protobuf:"fixed64,3,req,name=req_double,json=reqDouble" json:"req_double,omitempty"`
564 ReqString *string `protobuf:"bytes,4,req,name=req_string,json=reqString" json:"req_string,omitempty"`
565 ReqEnum *Enum `protobuf:"varint,5,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
566 ReqNested *Nested `protobuf:"bytes,6,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
567 XXX_NoUnkeyedLiteral struct{} `json:"-"`
568 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
569 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800570}
571
Joe Tsai61968ce2019-04-01 12:59:24 -0700572func (x *Requireds) Reset() {
573 *x = Requireds{}
Herbie Ong8170d692019-02-13 14:13:21 -0800574}
Joe Tsai61968ce2019-04-01 12:59:24 -0700575
576func (x *Requireds) String() string {
577 return protoimpl.X.MessageStringOf(x)
578}
579
580func (*Requireds) ProtoMessage() {}
581
582func (x *Requireds) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700583 return file_pb2_test_proto_msgTypes[5].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700584}
Joe Tsai8e506a82019-03-16 00:05:34 -0700585
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700586func (m *Requireds) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700587 return file_pb2_test_proto_msgTypes[5].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700588}
589
Joe Tsai8e506a82019-03-16 00:05:34 -0700590// Deprecated: Use Requireds.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800591func (*Requireds) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700592 return file_pb2_test_proto_rawDescGZIP(), []int{5}
Herbie Ong8170d692019-02-13 14:13:21 -0800593}
594
Joe Tsai61968ce2019-04-01 12:59:24 -0700595func (x *Requireds) GetReqBool() bool {
596 if x != nil && x.ReqBool != nil {
597 return *x.ReqBool
Herbie Ong8170d692019-02-13 14:13:21 -0800598 }
599 return false
600}
601
Joe Tsai61968ce2019-04-01 12:59:24 -0700602func (x *Requireds) GetReqSfixed64() int64 {
603 if x != nil && x.ReqSfixed64 != nil {
604 return *x.ReqSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800605 }
606 return 0
607}
608
Joe Tsai61968ce2019-04-01 12:59:24 -0700609func (x *Requireds) GetReqDouble() float64 {
610 if x != nil && x.ReqDouble != nil {
611 return *x.ReqDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800612 }
613 return 0
614}
615
Joe Tsai61968ce2019-04-01 12:59:24 -0700616func (x *Requireds) GetReqString() string {
617 if x != nil && x.ReqString != nil {
618 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800619 }
620 return ""
621}
622
Joe Tsai61968ce2019-04-01 12:59:24 -0700623func (x *Requireds) GetReqEnum() Enum {
624 if x != nil && x.ReqEnum != nil {
625 return *x.ReqEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800626 }
627 return Enum_ONE
628}
629
Joe Tsai61968ce2019-04-01 12:59:24 -0700630func (x *Requireds) GetReqNested() *Nested {
631 if x != nil {
632 return x.ReqNested
Herbie Ong8170d692019-02-13 14:13:21 -0800633 }
634 return nil
635}
636
637// Message contains both required and optional fields.
638type PartialRequired struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700639 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
640 OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
641 XXX_NoUnkeyedLiteral struct{} `json:"-"`
642 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
643 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800644}
645
Joe Tsai61968ce2019-04-01 12:59:24 -0700646func (x *PartialRequired) Reset() {
647 *x = PartialRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800648}
Joe Tsai61968ce2019-04-01 12:59:24 -0700649
650func (x *PartialRequired) String() string {
651 return protoimpl.X.MessageStringOf(x)
652}
653
654func (*PartialRequired) ProtoMessage() {}
655
656func (x *PartialRequired) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700657 return file_pb2_test_proto_msgTypes[6].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700658}
Joe Tsai8e506a82019-03-16 00:05:34 -0700659
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700660func (m *PartialRequired) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700661 return file_pb2_test_proto_msgTypes[6].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700662}
663
Joe Tsai8e506a82019-03-16 00:05:34 -0700664// Deprecated: Use PartialRequired.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800665func (*PartialRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700666 return file_pb2_test_proto_rawDescGZIP(), []int{6}
Herbie Ong8170d692019-02-13 14:13:21 -0800667}
668
Joe Tsai61968ce2019-04-01 12:59:24 -0700669func (x *PartialRequired) GetReqString() string {
670 if x != nil && x.ReqString != nil {
671 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800672 }
673 return ""
674}
675
Joe Tsai61968ce2019-04-01 12:59:24 -0700676func (x *PartialRequired) GetOptString() string {
677 if x != nil && x.OptString != nil {
678 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800679 }
680 return ""
681}
682
683type NestedWithRequired struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700684 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
685 XXX_NoUnkeyedLiteral struct{} `json:"-"`
686 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
687 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800688}
689
Joe Tsai61968ce2019-04-01 12:59:24 -0700690func (x *NestedWithRequired) Reset() {
691 *x = NestedWithRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800692}
Joe Tsai61968ce2019-04-01 12:59:24 -0700693
694func (x *NestedWithRequired) String() string {
695 return protoimpl.X.MessageStringOf(x)
696}
697
698func (*NestedWithRequired) ProtoMessage() {}
699
700func (x *NestedWithRequired) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700701 return file_pb2_test_proto_msgTypes[7].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700702}
Joe Tsai8e506a82019-03-16 00:05:34 -0700703
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700704func (m *NestedWithRequired) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700705 return file_pb2_test_proto_msgTypes[7].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700706}
707
Joe Tsai8e506a82019-03-16 00:05:34 -0700708// Deprecated: Use NestedWithRequired.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800709func (*NestedWithRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700710 return file_pb2_test_proto_rawDescGZIP(), []int{7}
Herbie Ong8170d692019-02-13 14:13:21 -0800711}
712
Joe Tsai61968ce2019-04-01 12:59:24 -0700713func (x *NestedWithRequired) GetReqString() string {
714 if x != nil && x.ReqString != nil {
715 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800716 }
717 return ""
718}
719
720type IndirectRequired struct {
721 OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
722 RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
723 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"`
724 // Types that are valid to be assigned to Union:
725 // *IndirectRequired_OneofNested
726 Union isIndirectRequired_Union `protobuf_oneof:"union"`
727 XXX_NoUnkeyedLiteral struct{} `json:"-"`
Joe Tsai5e71dc92019-04-16 13:22:20 -0700728 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
729 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800730}
731
Joe Tsai61968ce2019-04-01 12:59:24 -0700732func (x *IndirectRequired) Reset() {
733 *x = IndirectRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800734}
Joe Tsai61968ce2019-04-01 12:59:24 -0700735
736func (x *IndirectRequired) String() string {
737 return protoimpl.X.MessageStringOf(x)
738}
739
740func (*IndirectRequired) ProtoMessage() {}
741
742func (x *IndirectRequired) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700743 return file_pb2_test_proto_msgTypes[8].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700744}
Joe Tsai8e506a82019-03-16 00:05:34 -0700745
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700746func (m *IndirectRequired) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700747 return file_pb2_test_proto_msgTypes[8].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700748}
749
Joe Tsai8e506a82019-03-16 00:05:34 -0700750// Deprecated: Use IndirectRequired.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800751func (*IndirectRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700752 return file_pb2_test_proto_rawDescGZIP(), []int{8}
Herbie Ong8170d692019-02-13 14:13:21 -0800753}
754
Joe Tsai61968ce2019-04-01 12:59:24 -0700755func (x *IndirectRequired) GetOptNested() *NestedWithRequired {
756 if x != nil {
757 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800758 }
759 return nil
760}
761
Joe Tsai61968ce2019-04-01 12:59:24 -0700762func (x *IndirectRequired) GetRptNested() []*NestedWithRequired {
763 if x != nil {
764 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800765 }
766 return nil
767}
768
Joe Tsai61968ce2019-04-01 12:59:24 -0700769func (x *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired {
770 if x != nil {
771 return x.StrToNested
Herbie Ong8170d692019-02-13 14:13:21 -0800772 }
773 return nil
774}
775
Herbie Ong8170d692019-02-13 14:13:21 -0800776func (m *IndirectRequired) GetUnion() isIndirectRequired_Union {
777 if m != nil {
778 return m.Union
779 }
780 return nil
781}
782
Joe Tsai61968ce2019-04-01 12:59:24 -0700783func (x *IndirectRequired) GetOneofNested() *NestedWithRequired {
784 if x, ok := x.GetUnion().(*IndirectRequired_OneofNested); ok {
Herbie Ong8170d692019-02-13 14:13:21 -0800785 return x.OneofNested
786 }
787 return nil
788}
789
790// XXX_OneofWrappers is for the internal use of the proto package.
791func (*IndirectRequired) XXX_OneofWrappers() []interface{} {
792 return []interface{}{
793 (*IndirectRequired_OneofNested)(nil),
794 }
795}
796
Joe Tsai872b5002019-04-08 14:03:15 -0700797type isIndirectRequired_Union interface {
798 isIndirectRequired_Union()
799}
800
801type IndirectRequired_OneofNested struct {
802 OneofNested *NestedWithRequired `protobuf:"bytes,4,opt,name=oneof_nested,json=oneofNested,oneof"`
803}
804
805func (*IndirectRequired_OneofNested) isIndirectRequired_Union() {}
806
Herbie Ong8170d692019-02-13 14:13:21 -0800807type Extensions struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700808 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
809 OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
810 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
811 XXX_NoUnkeyedLiteral struct{} `json:"-"`
812 XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
813 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
814 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800815}
816
Joe Tsai61968ce2019-04-01 12:59:24 -0700817func (x *Extensions) Reset() {
818 *x = Extensions{}
Herbie Ong8170d692019-02-13 14:13:21 -0800819}
Joe Tsai61968ce2019-04-01 12:59:24 -0700820
821func (x *Extensions) String() string {
822 return protoimpl.X.MessageStringOf(x)
823}
824
825func (*Extensions) ProtoMessage() {}
826
827func (x *Extensions) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700828 return file_pb2_test_proto_msgTypes[9].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700829}
Joe Tsai8e506a82019-03-16 00:05:34 -0700830
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700831func (m *Extensions) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700832 return file_pb2_test_proto_msgTypes[9].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700833}
834
Joe Tsai8e506a82019-03-16 00:05:34 -0700835// Deprecated: Use Extensions.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800836func (*Extensions) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700837 return file_pb2_test_proto_rawDescGZIP(), []int{9}
Herbie Ong8170d692019-02-13 14:13:21 -0800838}
839
Joe Tsai4fddeba2019-03-20 18:29:32 -0700840var extRange_Extensions = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800841 {Start: 20, End: 100},
842}
843
Joe Tsai8e506a82019-03-16 00:05:34 -0700844// Deprecated: Use Extensions.ProtoReflect.Type.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700845func (*Extensions) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -0800846 return extRange_Extensions
847}
848
Joe Tsai61968ce2019-04-01 12:59:24 -0700849func (x *Extensions) GetOptString() string {
850 if x != nil && x.OptString != nil {
851 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800852 }
853 return ""
854}
855
Joe Tsai61968ce2019-04-01 12:59:24 -0700856func (x *Extensions) GetOptBool() bool {
857 if x != nil && x.OptBool != nil {
858 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800859 }
860 return false
861}
862
Joe Tsai61968ce2019-04-01 12:59:24 -0700863func (x *Extensions) GetOptInt32() int32 {
864 if x != nil && x.OptInt32 != nil {
865 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800866 }
867 return 0
868}
869
870type ExtensionsContainer struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700871 XXX_NoUnkeyedLiteral struct{} `json:"-"`
872 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
873 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800874}
875
Joe Tsai61968ce2019-04-01 12:59:24 -0700876func (x *ExtensionsContainer) Reset() {
877 *x = ExtensionsContainer{}
Herbie Ong8170d692019-02-13 14:13:21 -0800878}
Joe Tsai61968ce2019-04-01 12:59:24 -0700879
880func (x *ExtensionsContainer) String() string {
881 return protoimpl.X.MessageStringOf(x)
882}
883
884func (*ExtensionsContainer) ProtoMessage() {}
885
886func (x *ExtensionsContainer) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700887 return file_pb2_test_proto_msgTypes[10].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700888}
Joe Tsai8e506a82019-03-16 00:05:34 -0700889
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700890func (m *ExtensionsContainer) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700891 return file_pb2_test_proto_msgTypes[10].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700892}
893
Joe Tsai8e506a82019-03-16 00:05:34 -0700894// Deprecated: Use ExtensionsContainer.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800895func (*ExtensionsContainer) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700896 return file_pb2_test_proto_rawDescGZIP(), []int{10}
Herbie Ong8170d692019-02-13 14:13:21 -0800897}
898
Herbie Ong8170d692019-02-13 14:13:21 -0800899type MessageSet struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700900 XXX_NoUnkeyedLiteral struct{} `json:"-"`
901 XXX_InternalExtensions protoimpl.ExtensionFields `protobuf_messageset:"1" json:"-"`
902 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
903 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800904}
905
Joe Tsai61968ce2019-04-01 12:59:24 -0700906func (x *MessageSet) Reset() {
907 *x = MessageSet{}
Herbie Ong8170d692019-02-13 14:13:21 -0800908}
Joe Tsai61968ce2019-04-01 12:59:24 -0700909
910func (x *MessageSet) String() string {
911 return protoimpl.X.MessageStringOf(x)
912}
913
914func (*MessageSet) ProtoMessage() {}
915
916func (x *MessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700917 return file_pb2_test_proto_msgTypes[11].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700918}
Joe Tsai8e506a82019-03-16 00:05:34 -0700919
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700920func (m *MessageSet) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700921 return file_pb2_test_proto_msgTypes[11].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700922}
923
Joe Tsai8e506a82019-03-16 00:05:34 -0700924// Deprecated: Use MessageSet.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800925func (*MessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700926 return file_pb2_test_proto_rawDescGZIP(), []int{11}
Herbie Ong8170d692019-02-13 14:13:21 -0800927}
928
Joe Tsai4fddeba2019-03-20 18:29:32 -0700929var extRange_MessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800930 {Start: 4, End: 2147483646},
931}
932
Joe Tsai8e506a82019-03-16 00:05:34 -0700933// Deprecated: Use MessageSet.ProtoReflect.Type.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700934func (*MessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -0800935 return extRange_MessageSet
936}
937
Herbie Ong8170d692019-02-13 14:13:21 -0800938type MessageSetExtension struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700939 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
940 XXX_NoUnkeyedLiteral struct{} `json:"-"`
941 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
942 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800943}
944
Joe Tsai61968ce2019-04-01 12:59:24 -0700945func (x *MessageSetExtension) Reset() {
946 *x = MessageSetExtension{}
Herbie Ong8170d692019-02-13 14:13:21 -0800947}
Joe Tsai61968ce2019-04-01 12:59:24 -0700948
949func (x *MessageSetExtension) String() string {
950 return protoimpl.X.MessageStringOf(x)
951}
952
953func (*MessageSetExtension) ProtoMessage() {}
954
955func (x *MessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700956 return file_pb2_test_proto_msgTypes[12].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700957}
Joe Tsai8e506a82019-03-16 00:05:34 -0700958
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700959func (m *MessageSetExtension) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700960 return file_pb2_test_proto_msgTypes[12].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700961}
962
Joe Tsai8e506a82019-03-16 00:05:34 -0700963// Deprecated: Use MessageSetExtension.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800964func (*MessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700965 return file_pb2_test_proto_rawDescGZIP(), []int{12}
Herbie Ong8170d692019-02-13 14:13:21 -0800966}
967
Joe Tsai61968ce2019-04-01 12:59:24 -0700968func (x *MessageSetExtension) GetOptString() string {
969 if x != nil && x.OptString != nil {
970 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800971 }
972 return ""
973}
974
975type FakeMessageSet struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700976 XXX_NoUnkeyedLiteral struct{} `json:"-"`
977 XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
978 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
979 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800980}
981
Joe Tsai61968ce2019-04-01 12:59:24 -0700982func (x *FakeMessageSet) Reset() {
983 *x = FakeMessageSet{}
Herbie Ong8170d692019-02-13 14:13:21 -0800984}
Joe Tsai61968ce2019-04-01 12:59:24 -0700985
986func (x *FakeMessageSet) String() string {
987 return protoimpl.X.MessageStringOf(x)
988}
989
990func (*FakeMessageSet) ProtoMessage() {}
991
992func (x *FakeMessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700993 return file_pb2_test_proto_msgTypes[13].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700994}
Joe Tsai8e506a82019-03-16 00:05:34 -0700995
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700996func (m *FakeMessageSet) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700997 return file_pb2_test_proto_msgTypes[13].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700998}
999
Joe Tsai8e506a82019-03-16 00:05:34 -07001000// Deprecated: Use FakeMessageSet.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001001func (*FakeMessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001002 return file_pb2_test_proto_rawDescGZIP(), []int{13}
Herbie Ong8170d692019-02-13 14:13:21 -08001003}
1004
Joe Tsai4fddeba2019-03-20 18:29:32 -07001005var extRange_FakeMessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -08001006 {Start: 4, End: 536870911},
1007}
1008
Joe Tsai8e506a82019-03-16 00:05:34 -07001009// Deprecated: Use FakeMessageSet.ProtoReflect.Type.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -07001010func (*FakeMessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -08001011 return extRange_FakeMessageSet
1012}
1013
Herbie Ong8170d692019-02-13 14:13:21 -08001014type FakeMessageSetExtension struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -07001015 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1016 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1017 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
1018 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -08001019}
1020
Joe Tsai61968ce2019-04-01 12:59:24 -07001021func (x *FakeMessageSetExtension) Reset() {
1022 *x = FakeMessageSetExtension{}
Herbie Ong8170d692019-02-13 14:13:21 -08001023}
Joe Tsai61968ce2019-04-01 12:59:24 -07001024
1025func (x *FakeMessageSetExtension) String() string {
1026 return protoimpl.X.MessageStringOf(x)
1027}
1028
1029func (*FakeMessageSetExtension) ProtoMessage() {}
1030
1031func (x *FakeMessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -07001032 return file_pb2_test_proto_msgTypes[14].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001033}
Joe Tsai8e506a82019-03-16 00:05:34 -07001034
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001035func (m *FakeMessageSetExtension) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001036 return file_pb2_test_proto_msgTypes[14].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001037}
1038
Joe Tsai8e506a82019-03-16 00:05:34 -07001039// Deprecated: Use FakeMessageSetExtension.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001040func (*FakeMessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001041 return file_pb2_test_proto_rawDescGZIP(), []int{14}
Herbie Ong8170d692019-02-13 14:13:21 -08001042}
1043
Joe Tsai61968ce2019-04-01 12:59:24 -07001044func (x *FakeMessageSetExtension) GetOptString() string {
1045 if x != nil && x.OptString != nil {
1046 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001047 }
1048 return ""
1049}
1050
1051// Message contains well-known type fields.
1052type KnownTypes struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -07001053 OptBool *known.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
1054 OptInt32 *known.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
1055 OptInt64 *known.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
1056 OptUint32 *known.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
1057 OptUint64 *known.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
1058 OptFloat *known.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
1059 OptDouble *known.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
1060 OptString *known.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1061 OptBytes *known.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
1062 OptDuration *known.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"`
1063 OptTimestamp *known.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"`
1064 OptStruct *known.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"`
1065 OptList *known.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"`
1066 OptValue *known.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"`
1067 OptNull *known.NullValue `protobuf:"varint,28,opt,name=opt_null,json=optNull,enum=google.protobuf.NullValue" json:"opt_null,omitempty"`
1068 OptEmpty *known.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"`
1069 OptAny *known.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
1070 OptFieldmask *known.FieldMask `protobuf:"bytes,40,opt,name=opt_fieldmask,json=optFieldmask" json:"opt_fieldmask,omitempty"`
1071 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1072 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
1073 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -08001074}
1075
Joe Tsai61968ce2019-04-01 12:59:24 -07001076func (x *KnownTypes) Reset() {
1077 *x = KnownTypes{}
Herbie Ong8170d692019-02-13 14:13:21 -08001078}
Joe Tsai61968ce2019-04-01 12:59:24 -07001079
1080func (x *KnownTypes) String() string {
1081 return protoimpl.X.MessageStringOf(x)
1082}
1083
1084func (*KnownTypes) ProtoMessage() {}
1085
1086func (x *KnownTypes) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -07001087 return file_pb2_test_proto_msgTypes[15].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001088}
Joe Tsai8e506a82019-03-16 00:05:34 -07001089
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001090func (m *KnownTypes) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001091 return file_pb2_test_proto_msgTypes[15].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001092}
1093
Joe Tsai8e506a82019-03-16 00:05:34 -07001094// Deprecated: Use KnownTypes.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001095func (*KnownTypes) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001096 return file_pb2_test_proto_rawDescGZIP(), []int{15}
Herbie Ong8170d692019-02-13 14:13:21 -08001097}
1098
Joe Tsai61968ce2019-04-01 12:59:24 -07001099func (x *KnownTypes) GetOptBool() *known.BoolValue {
1100 if x != nil {
1101 return x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -08001102 }
1103 return nil
1104}
1105
Joe Tsai61968ce2019-04-01 12:59:24 -07001106func (x *KnownTypes) GetOptInt32() *known.Int32Value {
1107 if x != nil {
1108 return x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -08001109 }
1110 return nil
1111}
1112
Joe Tsai61968ce2019-04-01 12:59:24 -07001113func (x *KnownTypes) GetOptInt64() *known.Int64Value {
1114 if x != nil {
1115 return x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -08001116 }
1117 return nil
1118}
1119
Joe Tsai61968ce2019-04-01 12:59:24 -07001120func (x *KnownTypes) GetOptUint32() *known.UInt32Value {
1121 if x != nil {
1122 return x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -08001123 }
1124 return nil
1125}
1126
Joe Tsai61968ce2019-04-01 12:59:24 -07001127func (x *KnownTypes) GetOptUint64() *known.UInt64Value {
1128 if x != nil {
1129 return x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -08001130 }
1131 return nil
1132}
1133
Joe Tsai61968ce2019-04-01 12:59:24 -07001134func (x *KnownTypes) GetOptFloat() *known.FloatValue {
1135 if x != nil {
1136 return x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -08001137 }
1138 return nil
1139}
1140
Joe Tsai61968ce2019-04-01 12:59:24 -07001141func (x *KnownTypes) GetOptDouble() *known.DoubleValue {
1142 if x != nil {
1143 return x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -08001144 }
1145 return nil
1146}
1147
Joe Tsai61968ce2019-04-01 12:59:24 -07001148func (x *KnownTypes) GetOptString() *known.StringValue {
1149 if x != nil {
1150 return x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001151 }
1152 return nil
1153}
1154
Joe Tsai61968ce2019-04-01 12:59:24 -07001155func (x *KnownTypes) GetOptBytes() *known.BytesValue {
1156 if x != nil {
1157 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -08001158 }
1159 return nil
1160}
1161
Joe Tsai61968ce2019-04-01 12:59:24 -07001162func (x *KnownTypes) GetOptDuration() *known.Duration {
1163 if x != nil {
1164 return x.OptDuration
Herbie Ong8170d692019-02-13 14:13:21 -08001165 }
1166 return nil
1167}
1168
Joe Tsai61968ce2019-04-01 12:59:24 -07001169func (x *KnownTypes) GetOptTimestamp() *known.Timestamp {
1170 if x != nil {
1171 return x.OptTimestamp
Herbie Ong8170d692019-02-13 14:13:21 -08001172 }
1173 return nil
1174}
1175
Joe Tsai61968ce2019-04-01 12:59:24 -07001176func (x *KnownTypes) GetOptStruct() *known.Struct {
1177 if x != nil {
1178 return x.OptStruct
Herbie Ong8170d692019-02-13 14:13:21 -08001179 }
1180 return nil
1181}
1182
Joe Tsai61968ce2019-04-01 12:59:24 -07001183func (x *KnownTypes) GetOptList() *known.ListValue {
1184 if x != nil {
1185 return x.OptList
Herbie Ong8170d692019-02-13 14:13:21 -08001186 }
1187 return nil
1188}
1189
Joe Tsai61968ce2019-04-01 12:59:24 -07001190func (x *KnownTypes) GetOptValue() *known.Value {
1191 if x != nil {
1192 return x.OptValue
Herbie Ong8170d692019-02-13 14:13:21 -08001193 }
1194 return nil
1195}
1196
Herbie Ong300b9fe2019-03-29 15:42:20 -07001197func (x *KnownTypes) GetOptNull() known.NullValue {
1198 if x != nil && x.OptNull != nil {
1199 return *x.OptNull
1200 }
1201 return known.NullValue_NULL_VALUE
1202}
1203
Joe Tsai61968ce2019-04-01 12:59:24 -07001204func (x *KnownTypes) GetOptEmpty() *known.Empty {
1205 if x != nil {
1206 return x.OptEmpty
Herbie Ong8170d692019-02-13 14:13:21 -08001207 }
1208 return nil
1209}
1210
Joe Tsai61968ce2019-04-01 12:59:24 -07001211func (x *KnownTypes) GetOptAny() *known.Any {
1212 if x != nil {
1213 return x.OptAny
Herbie Ong8170d692019-02-13 14:13:21 -08001214 }
1215 return nil
1216}
1217
Joe Tsai61968ce2019-04-01 12:59:24 -07001218func (x *KnownTypes) GetOptFieldmask() *known.FieldMask {
1219 if x != nil {
1220 return x.OptFieldmask
Herbie Ong0b0f4032019-03-18 19:06:15 -07001221 }
1222 return nil
1223}
1224
Herbie Ong8170d692019-02-13 14:13:21 -08001225type Nests_OptGroup struct {
1226 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1227 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
1228 Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,3,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
1229 XXX_NoUnkeyedLiteral struct{} `json:"-"`
Joe Tsai5e71dc92019-04-16 13:22:20 -07001230 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
1231 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -08001232}
1233
Joe Tsai61968ce2019-04-01 12:59:24 -07001234func (x *Nests_OptGroup) Reset() {
1235 *x = Nests_OptGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001236}
Joe Tsai61968ce2019-04-01 12:59:24 -07001237
1238func (x *Nests_OptGroup) String() string {
1239 return protoimpl.X.MessageStringOf(x)
1240}
1241
1242func (*Nests_OptGroup) ProtoMessage() {}
1243
1244func (x *Nests_OptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -07001245 return file_pb2_test_proto_msgTypes[16].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001246}
Joe Tsai8e506a82019-03-16 00:05:34 -07001247
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001248func (m *Nests_OptGroup) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001249 return file_pb2_test_proto_msgTypes[16].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001250}
1251
Joe Tsai8e506a82019-03-16 00:05:34 -07001252// Deprecated: Use Nests_OptGroup.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001253func (*Nests_OptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001254 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001255}
1256
Joe Tsai61968ce2019-04-01 12:59:24 -07001257func (x *Nests_OptGroup) GetOptString() string {
1258 if x != nil && x.OptString != nil {
1259 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001260 }
1261 return ""
1262}
1263
Joe Tsai61968ce2019-04-01 12:59:24 -07001264func (x *Nests_OptGroup) GetOptNested() *Nested {
1265 if x != nil {
1266 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -08001267 }
1268 return nil
1269}
1270
Joe Tsai61968ce2019-04-01 12:59:24 -07001271func (x *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup {
1272 if x != nil {
1273 return x.Optnestedgroup
Herbie Ong8170d692019-02-13 14:13:21 -08001274 }
1275 return nil
1276}
1277
1278type Nests_RptGroup struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -07001279 RptString []string `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
1280 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1281 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
1282 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -08001283}
1284
Joe Tsai61968ce2019-04-01 12:59:24 -07001285func (x *Nests_RptGroup) Reset() {
1286 *x = Nests_RptGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001287}
Joe Tsai61968ce2019-04-01 12:59:24 -07001288
1289func (x *Nests_RptGroup) String() string {
1290 return protoimpl.X.MessageStringOf(x)
1291}
1292
1293func (*Nests_RptGroup) ProtoMessage() {}
1294
1295func (x *Nests_RptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -07001296 return file_pb2_test_proto_msgTypes[17].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001297}
Joe Tsai8e506a82019-03-16 00:05:34 -07001298
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001299func (m *Nests_RptGroup) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001300 return file_pb2_test_proto_msgTypes[17].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001301}
1302
Joe Tsai8e506a82019-03-16 00:05:34 -07001303// Deprecated: Use Nests_RptGroup.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001304func (*Nests_RptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001305 return file_pb2_test_proto_rawDescGZIP(), []int{4, 1}
Herbie Ong8170d692019-02-13 14:13:21 -08001306}
1307
Joe Tsai61968ce2019-04-01 12:59:24 -07001308func (x *Nests_RptGroup) GetRptString() []string {
1309 if x != nil {
1310 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -08001311 }
1312 return nil
1313}
1314
1315type Nests_OptGroup_OptNestedGroup struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -07001316 OptFixed32 *uint32 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
1317 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1318 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
1319 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -08001320}
1321
Joe Tsai61968ce2019-04-01 12:59:24 -07001322func (x *Nests_OptGroup_OptNestedGroup) Reset() {
1323 *x = Nests_OptGroup_OptNestedGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001324}
Joe Tsai61968ce2019-04-01 12:59:24 -07001325
1326func (x *Nests_OptGroup_OptNestedGroup) String() string {
1327 return protoimpl.X.MessageStringOf(x)
1328}
1329
1330func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {}
1331
1332func (x *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -07001333 return file_pb2_test_proto_msgTypes[18].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001334}
Joe Tsai8e506a82019-03-16 00:05:34 -07001335
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001336func (m *Nests_OptGroup_OptNestedGroup) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001337 return file_pb2_test_proto_msgTypes[18].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001338}
1339
Joe Tsai8e506a82019-03-16 00:05:34 -07001340// Deprecated: Use Nests_OptGroup_OptNestedGroup.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001341func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001342 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001343}
1344
Joe Tsai61968ce2019-04-01 12:59:24 -07001345func (x *Nests_OptGroup_OptNestedGroup) GetOptFixed32() uint32 {
1346 if x != nil && x.OptFixed32 != nil {
1347 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -08001348 }
1349 return 0
1350}
1351
Joe Tsai7ca70982019-04-15 13:57:56 -07001352var file_pb2_test_proto_extDescs = []protoiface.ExtensionDescV1{
Joe Tsaiafb455e2019-03-14 16:08:22 -07001353 {
1354 ExtendedType: (*Extensions)(nil),
1355 ExtensionType: (*bool)(nil),
1356 Field: 21,
1357 Name: "pb2.opt_ext_bool",
1358 Tag: "varint,21,opt,name=opt_ext_bool",
1359 Filename: "pb2/test.proto",
1360 },
1361 {
1362 ExtendedType: (*Extensions)(nil),
1363 ExtensionType: (*string)(nil),
1364 Field: 22,
1365 Name: "pb2.opt_ext_string",
1366 Tag: "bytes,22,opt,name=opt_ext_string",
1367 Filename: "pb2/test.proto",
1368 },
1369 {
1370 ExtendedType: (*Extensions)(nil),
1371 ExtensionType: (*Enum)(nil),
1372 Field: 23,
1373 Name: "pb2.opt_ext_enum",
1374 Tag: "varint,23,opt,name=opt_ext_enum,enum=pb2.Enum",
1375 Filename: "pb2/test.proto",
1376 },
1377 {
1378 ExtendedType: (*Extensions)(nil),
1379 ExtensionType: (*Nested)(nil),
1380 Field: 24,
1381 Name: "pb2.opt_ext_nested",
1382 Tag: "bytes,24,opt,name=opt_ext_nested",
1383 Filename: "pb2/test.proto",
1384 },
1385 {
1386 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001387 ExtensionType: (*PartialRequired)(nil),
1388 Field: 25,
1389 Name: "pb2.opt_ext_partial",
1390 Tag: "bytes,25,opt,name=opt_ext_partial",
1391 Filename: "pb2/test.proto",
1392 },
1393 {
1394 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001395 ExtensionType: ([]uint32)(nil),
1396 Field: 31,
1397 Name: "pb2.rpt_ext_fixed32",
1398 Tag: "fixed32,31,rep,name=rpt_ext_fixed32",
1399 Filename: "pb2/test.proto",
1400 },
1401 {
1402 ExtendedType: (*Extensions)(nil),
1403 ExtensionType: ([]Enum)(nil),
1404 Field: 32,
1405 Name: "pb2.rpt_ext_enum",
1406 Tag: "varint,32,rep,name=rpt_ext_enum,enum=pb2.Enum",
1407 Filename: "pb2/test.proto",
1408 },
1409 {
1410 ExtendedType: (*Extensions)(nil),
1411 ExtensionType: ([]*Nested)(nil),
1412 Field: 33,
1413 Name: "pb2.rpt_ext_nested",
1414 Tag: "bytes,33,rep,name=rpt_ext_nested",
1415 Filename: "pb2/test.proto",
1416 },
1417 {
1418 ExtendedType: (*MessageSet)(nil),
1419 ExtensionType: (*FakeMessageSetExtension)(nil),
1420 Field: 50,
1421 Name: "pb2.",
1422 Tag: "bytes,50,opt,name=message_set_extension",
1423 Filename: "pb2/test.proto",
1424 },
1425 {
1426 ExtendedType: (*Extensions)(nil),
1427 ExtensionType: (*bool)(nil),
1428 Field: 51,
1429 Name: "pb2.ExtensionsContainer.opt_ext_bool",
1430 Tag: "varint,51,opt,name=opt_ext_bool",
1431 Filename: "pb2/test.proto",
1432 },
1433 {
1434 ExtendedType: (*Extensions)(nil),
1435 ExtensionType: (*string)(nil),
1436 Field: 52,
1437 Name: "pb2.ExtensionsContainer.opt_ext_string",
1438 Tag: "bytes,52,opt,name=opt_ext_string",
1439 Filename: "pb2/test.proto",
1440 },
1441 {
1442 ExtendedType: (*Extensions)(nil),
1443 ExtensionType: (*Enum)(nil),
1444 Field: 53,
1445 Name: "pb2.ExtensionsContainer.opt_ext_enum",
1446 Tag: "varint,53,opt,name=opt_ext_enum,enum=pb2.Enum",
1447 Filename: "pb2/test.proto",
1448 },
1449 {
1450 ExtendedType: (*Extensions)(nil),
1451 ExtensionType: (*Nested)(nil),
1452 Field: 54,
1453 Name: "pb2.ExtensionsContainer.opt_ext_nested",
1454 Tag: "bytes,54,opt,name=opt_ext_nested",
1455 Filename: "pb2/test.proto",
1456 },
1457 {
1458 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001459 ExtensionType: (*PartialRequired)(nil),
1460 Field: 55,
1461 Name: "pb2.ExtensionsContainer.opt_ext_partial",
1462 Tag: "bytes,55,opt,name=opt_ext_partial",
1463 Filename: "pb2/test.proto",
1464 },
1465 {
1466 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001467 ExtensionType: ([]string)(nil),
1468 Field: 61,
1469 Name: "pb2.ExtensionsContainer.rpt_ext_string",
1470 Tag: "bytes,61,rep,name=rpt_ext_string",
1471 Filename: "pb2/test.proto",
1472 },
1473 {
1474 ExtendedType: (*Extensions)(nil),
1475 ExtensionType: ([]Enum)(nil),
1476 Field: 62,
1477 Name: "pb2.ExtensionsContainer.rpt_ext_enum",
1478 Tag: "varint,62,rep,name=rpt_ext_enum,enum=pb2.Enum",
1479 Filename: "pb2/test.proto",
1480 },
1481 {
1482 ExtendedType: (*Extensions)(nil),
1483 ExtensionType: ([]*Nested)(nil),
1484 Field: 63,
1485 Name: "pb2.ExtensionsContainer.rpt_ext_nested",
1486 Tag: "bytes,63,rep,name=rpt_ext_nested",
1487 Filename: "pb2/test.proto",
1488 },
1489 {
1490 ExtendedType: (*MessageSet)(nil),
1491 ExtensionType: (*MessageSetExtension)(nil),
1492 Field: 10,
1493 Name: "pb2.MessageSetExtension",
1494 Tag: "bytes,10,opt,name=message_set_extension",
1495 Filename: "pb2/test.proto",
1496 },
1497 {
1498 ExtendedType: (*MessageSet)(nil),
1499 ExtensionType: (*MessageSetExtension)(nil),
1500 Field: 20,
1501 Name: "pb2.MessageSetExtension.not_message_set_extension",
1502 Tag: "bytes,20,opt,name=not_message_set_extension",
1503 Filename: "pb2/test.proto",
1504 },
1505 {
1506 ExtendedType: (*MessageSet)(nil),
1507 ExtensionType: (*Nested)(nil),
1508 Field: 30,
1509 Name: "pb2.MessageSetExtension.ext_nested",
1510 Tag: "bytes,30,opt,name=ext_nested",
1511 Filename: "pb2/test.proto",
1512 },
1513 {
1514 ExtendedType: (*FakeMessageSet)(nil),
1515 ExtensionType: (*FakeMessageSetExtension)(nil),
1516 Field: 10,
1517 Name: "pb2.FakeMessageSetExtension.message_set_extension",
1518 Tag: "bytes,10,opt,name=message_set_extension",
1519 Filename: "pb2/test.proto",
1520 },
Herbie Ong8170d692019-02-13 14:13:21 -08001521}
Joe Tsaiafb455e2019-03-14 16:08:22 -07001522var (
1523 // extend pb2.Extensions { optional bool opt_ext_bool = 21; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001524 E_OptExtBool = &file_pb2_test_proto_extDescs[0]
Herbie Ong8170d692019-02-13 14:13:21 -08001525
Joe Tsaiafb455e2019-03-14 16:08:22 -07001526 // extend pb2.Extensions { optional string opt_ext_string = 22; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001527 E_OptExtString = &file_pb2_test_proto_extDescs[1]
Herbie Ong8170d692019-02-13 14:13:21 -08001528
Joe Tsaiafb455e2019-03-14 16:08:22 -07001529 // extend pb2.Extensions { optional pb2.Enum opt_ext_enum = 23; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001530 E_OptExtEnum = &file_pb2_test_proto_extDescs[2]
Herbie Ong8170d692019-02-13 14:13:21 -08001531
Joe Tsaiafb455e2019-03-14 16:08:22 -07001532 // extend pb2.Extensions { optional pb2.Nested opt_ext_nested = 24; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001533 E_OptExtNested = &file_pb2_test_proto_extDescs[3]
Herbie Ong8170d692019-02-13 14:13:21 -08001534
Herbie Ong09b28a92019-04-03 15:42:41 -07001535 // extend pb2.Extensions { optional pb2.PartialRequired opt_ext_partial = 25; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001536 E_OptExtPartial = &file_pb2_test_proto_extDescs[4]
Herbie Ong09b28a92019-04-03 15:42:41 -07001537
Joe Tsaiafb455e2019-03-14 16:08:22 -07001538 // extend pb2.Extensions { repeated fixed32 rpt_ext_fixed32 = 31; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001539 E_RptExtFixed32 = &file_pb2_test_proto_extDescs[5]
Herbie Ong8170d692019-02-13 14:13:21 -08001540
Joe Tsaiafb455e2019-03-14 16:08:22 -07001541 // extend pb2.Extensions { repeated pb2.Enum rpt_ext_enum = 32; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001542 E_RptExtEnum = &file_pb2_test_proto_extDescs[6]
Herbie Ong8170d692019-02-13 14:13:21 -08001543
Joe Tsaiafb455e2019-03-14 16:08:22 -07001544 // extend pb2.Extensions { repeated pb2.Nested rpt_ext_nested = 33; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001545 E_RptExtNested = &file_pb2_test_proto_extDescs[7]
Herbie Ong8170d692019-02-13 14:13:21 -08001546
Joe Tsaiafb455e2019-03-14 16:08:22 -07001547 // extend pb2.MessageSet { optional pb2.FakeMessageSetExtension message_set_extension = 50; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001548 E_MessageSetExtension = &file_pb2_test_proto_extDescs[8]
Herbie Ong8170d692019-02-13 14:13:21 -08001549
Joe Tsaiafb455e2019-03-14 16:08:22 -07001550 // extend pb2.Extensions { optional bool opt_ext_bool = 51; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001551 E_ExtensionsContainer_OptExtBool = &file_pb2_test_proto_extDescs[9]
Herbie Ong8170d692019-02-13 14:13:21 -08001552
Joe Tsaiafb455e2019-03-14 16:08:22 -07001553 // extend pb2.Extensions { optional string opt_ext_string = 52; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001554 E_ExtensionsContainer_OptExtString = &file_pb2_test_proto_extDescs[10]
Herbie Ong8170d692019-02-13 14:13:21 -08001555
Joe Tsaiafb455e2019-03-14 16:08:22 -07001556 // extend pb2.Extensions { optional pb2.Enum opt_ext_enum = 53; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001557 E_ExtensionsContainer_OptExtEnum = &file_pb2_test_proto_extDescs[11]
Herbie Ong8170d692019-02-13 14:13:21 -08001558
Joe Tsaiafb455e2019-03-14 16:08:22 -07001559 // extend pb2.Extensions { optional pb2.Nested opt_ext_nested = 54; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001560 E_ExtensionsContainer_OptExtNested = &file_pb2_test_proto_extDescs[12]
Herbie Ong09b28a92019-04-03 15:42:41 -07001561
1562 // extend pb2.Extensions { optional pb2.PartialRequired opt_ext_partial = 55; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001563 E_ExtensionsContainer_OptExtPartial = &file_pb2_test_proto_extDescs[13]
Herbie Ong8170d692019-02-13 14:13:21 -08001564
Joe Tsaiafb455e2019-03-14 16:08:22 -07001565 // extend pb2.Extensions { repeated string rpt_ext_string = 61; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001566 E_ExtensionsContainer_RptExtString = &file_pb2_test_proto_extDescs[14]
Herbie Ong8170d692019-02-13 14:13:21 -08001567
Joe Tsaiafb455e2019-03-14 16:08:22 -07001568 // extend pb2.Extensions { repeated pb2.Enum rpt_ext_enum = 62; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001569 E_ExtensionsContainer_RptExtEnum = &file_pb2_test_proto_extDescs[15]
Herbie Ong8170d692019-02-13 14:13:21 -08001570
Joe Tsaiafb455e2019-03-14 16:08:22 -07001571 // extend pb2.Extensions { repeated pb2.Nested rpt_ext_nested = 63; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001572 E_ExtensionsContainer_RptExtNested = &file_pb2_test_proto_extDescs[16]
Herbie Ong8170d692019-02-13 14:13:21 -08001573
Joe Tsaiafb455e2019-03-14 16:08:22 -07001574 // extend pb2.MessageSet { optional pb2.MessageSetExtension message_set_extension = 10; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001575 E_MessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[17]
Herbie Ong8170d692019-02-13 14:13:21 -08001576
Joe Tsaiafb455e2019-03-14 16:08:22 -07001577 // extend pb2.MessageSet { optional pb2.MessageSetExtension not_message_set_extension = 20; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001578 E_MessageSetExtension_NotMessageSetExtension = &file_pb2_test_proto_extDescs[18]
Herbie Ong8170d692019-02-13 14:13:21 -08001579
Joe Tsaiafb455e2019-03-14 16:08:22 -07001580 // extend pb2.MessageSet { optional pb2.Nested ext_nested = 30; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001581 E_MessageSetExtension_ExtNested = &file_pb2_test_proto_extDescs[19]
Herbie Ong8170d692019-02-13 14:13:21 -08001582
Joe Tsaiafb455e2019-03-14 16:08:22 -07001583 // extend pb2.FakeMessageSet { optional pb2.FakeMessageSetExtension message_set_extension = 10; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001584 E_FakeMessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[20]
Joe Tsaiafb455e2019-03-14 16:08:22 -07001585)
Joe Tsai5d72cc22019-03-28 01:13:26 -07001586var File_pb2_test_proto protoreflect.FileDescriptor
1587
Joe Tsai7ca70982019-04-15 13:57:56 -07001588var file_pb2_test_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -08001589 0x0a, 0x0e, 0x70, 0x62, 0x32, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1590 0x12, 0x03, 0x70, 0x62, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
1591 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1592 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001593 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67,
1594 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66,
1595 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1596 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1597 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1598 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1599 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
1600 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
1601 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e,
1602 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
1603 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda,
1604 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70,
1605 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x70,
1606 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74,
1607 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1608 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
1609 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12,
1610 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20,
1611 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d,
Joe Tsai19058432019-02-27 21:46:29 -08001612 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001613 0x28, 0x04, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a,
1614 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28,
1615 0x11, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a,
1616 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12,
1617 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1f, 0x0a, 0x0b, 0x6f,
1618 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07,
1619 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1f, 0x0a, 0x0b,
1620 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28,
1621 0x06, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x21, 0x0a,
1622 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20,
1623 0x01, 0x28, 0x0f, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1624 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
1625 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65,
1626 0x64, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74,
1627 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74,
1628 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15,
1629 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12,
1630 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01,
1631 0x28, 0x0c, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1632 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09,
1633 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xfb, 0x01, 0x0a, 0x05,
1634 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x24, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75,
1635 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1636 0x75, 0x6d, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x08, 0x72,
1637 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1638 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x70, 0x74, 0x45, 0x6e, 0x75,
1639 0x6d, 0x12, 0x3d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f,
1640 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32,
1641 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75,
1642 0x6d, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1643 0x12, 0x3d, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65,
1644 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1645 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1646 0x52, 0x0d, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22,
1647 0x28, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a,
1648 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12,
1649 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x94, 0x02, 0x0a, 0x07, 0x52, 0x65,
1650 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1651 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x07, 0x72, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c,
1652 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20,
1653 0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1b, 0x0a,
1654 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03,
1655 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70,
1656 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09,
1657 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74,
1658 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72,
1659 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f,
1660 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x02, 0x52, 0x08, 0x72, 0x70, 0x74,
1661 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75,
1662 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x72, 0x70, 0x74, 0x44, 0x6f,
1663 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69,
1664 0x6e, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72,
1665 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73,
1666 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73,
1667 0x22, 0x53, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70,
1668 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
1669 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1670 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1671 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e,
1672 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0xd3, 0x03, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12,
1673 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20,
1674 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1675 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x6f,
1676 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x13, 0x2e,
1677 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f,
1678 0x75, 0x70, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x0a,
1679 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
1680 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72,
1681 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x67,
1682 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x32,
1683 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
1684 0x08, 0x72, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0xd4, 0x01, 0x0a, 0x08, 0x4f, 0x70,
1685 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74,
1686 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53,
1687 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1688 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1689 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65,
1690 0x64, 0x12, 0x4a, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72,
1691 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x22, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1692 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4f,
1693 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0e, 0x6f,
1694 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x31, 0x0a,
1695 0x0e, 0x4f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
1696 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x01,
1697 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1698 0x1a, 0x29, 0x0a, 0x08, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a,
1699 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
1700 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x72, 0x65, 0x73,
1701 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0xd9, 0x01, 0x0a, 0x09,
1702 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x71,
1703 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x71,
1704 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x66, 0x69, 0x78,
1705 0x65, 0x64, 0x36, 0x34, 0x18, 0x02, 0x20, 0x02, 0x28, 0x10, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x53,
1706 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x64,
1707 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71,
1708 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74,
1709 0x72, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53,
1710 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x5f, 0x65, 0x6e, 0x75,
1711 0x6d, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1712 0x75, 0x6d, 0x52, 0x07, 0x72, 0x65, 0x71, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x0a, 0x72,
1713 0x65, 0x71, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0b, 0x32,
1714 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72, 0x65,
1715 0x71, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4f, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x69,
1716 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65,
1717 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09,
1718 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1719 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1720 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x33, 0x0a, 0x12, 0x4e, 0x65, 0x73, 0x74,
1721 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d,
1722 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02,
1723 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xee, 0x02,
1724 0x0a, 0x10, 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
1725 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1726 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73,
1727 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52,
1728 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x72, 0x70,
1729 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17,
1730 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52,
1731 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74,
1732 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73,
1733 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1734 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
1735 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72,
1736 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3c,
1737 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04,
1738 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
1739 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x48, 0x00, 0x52,
1740 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x1a, 0x57, 0x0a, 0x10,
1741 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79,
1742 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
1743 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
1744 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69,
1745 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
1746 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0x69,
1747 0x0a, 0x0a, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1748 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1749 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x6f,
1750 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x65, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f,
1751 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e,
1752 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e,
Herbie Ong09b28a92019-04-03 15:42:41 -07001753 0x74, 0x33, 0x32, 0x2a, 0x04, 0x08, 0x14, 0x10, 0x65, 0x22, 0x89, 0x04, 0x0a, 0x13, 0x45, 0x78,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001754 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
1755 0x72, 0x32, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1756 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1757 0x6e, 0x73, 0x18, 0x33, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1758 0x42, 0x6f, 0x6f, 0x6c, 0x32, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1759 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1760 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x34, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f,
1761 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x6f,
1762 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1763 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x35, 0x20, 0x01,
1764 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f,
1765 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74,
1766 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1767 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x36, 0x20, 0x01,
1768 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
Herbie Ong09b28a92019-04-03 15:42:41 -07001769 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x32, 0x4d, 0x0a,
1770 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1771 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1772 0x73, 0x18, 0x37, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61,
1773 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f,
1774 0x70, 0x74, 0x45, 0x78, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x32, 0x35, 0x0a, 0x0e,
1775 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f,
1776 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
1777 0x3d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72,
1778 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65,
1779 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1780 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32,
1781 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75,
1782 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1783 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1784 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32,
1785 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e,
1786 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
1787 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07, 0x3a, 0x02, 0x08,
1788 0x01, 0x22, 0xb6, 0x02, 0x0a, 0x13, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74,
1789 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1790 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1791 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x5d, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73,
1792 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1793 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
1794 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d,
Herbie Ong300b9fe2019-03-29 15:42:20 -07001795 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1796 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78,
Herbie Ong09b28a92019-04-03 15:42:41 -07001797 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x64, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x5f, 0x6d,
1798 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
1799 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
1800 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62,
1801 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
1802 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x6e, 0x6f, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
1803 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x3b, 0x0a,
1804 0x0a, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1805 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x1e, 0x20, 0x01,
1806 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
1807 0x09, 0x65, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0e, 0x46, 0x61,
1808 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04,
1809 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9f, 0x01, 0x0a, 0x17, 0x46, 0x61, 0x6b, 0x65, 0x4d,
1810 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1811 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
1812 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e,
1813 0x67, 0x32, 0x65, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74,
1814 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x32,
1815 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18,
1816 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65,
1817 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1818 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45,
1819 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x9e, 0x08, 0x0a, 0x0a, 0x4b, 0x6e, 0x6f,
1820 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62,
1821 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1822 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c,
1823 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x38,
1824 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28,
1825 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1826 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08,
1827 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1828 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
1829 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e,
1830 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1831 0x36, 0x34, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32,
1832 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1833 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
1834 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
1835 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20,
1836 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1837 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75,
1838 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x38, 0x0a, 0x09,
1839 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
1840 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1841 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70,
1842 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f,
1843 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
1844 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75,
1845 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75,
1846 0x62, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1847 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1848 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1849 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1850 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20,
1851 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1852 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65,
1853 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x70,
1854 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b,
1855 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1856 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6f, 0x70, 0x74,
1857 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
1858 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
1859 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1860 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6f, 0x70, 0x74,
1861 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1862 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
1863 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
1864 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63,
1865 0x74, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x1a, 0x20,
1866 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1867 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
1868 0x07, 0x6f, 0x70, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1869 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f,
1870 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61,
1871 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x35, 0x0a,
1872 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0e, 0x32,
1873 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1874 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74,
1875 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x74,
1876 0x79, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1877 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52,
1878 0x08, 0x6f, 0x70, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x6f, 0x70, 0x74,
1879 0x5f, 0x61, 0x6e, 0x79, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
1880 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
1881 0x52, 0x06, 0x6f, 0x70, 0x74, 0x41, 0x6e, 0x79, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
1882 0x66, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b, 0x32,
1883 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1884 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x6f, 0x70, 0x74,
1885 0x46, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x2a, 0x21, 0x0a, 0x04, 0x45, 0x6e, 0x75,
1886 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57,
1887 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10, 0x0a, 0x3a, 0x31, 0x0a, 0x0c,
1888 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70,
1889 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15, 0x20,
1890 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x3a,
1891 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1892 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1893 0x6e, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1894 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78,
1895 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1896 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1897 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1898 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1899 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1900 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1901 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45,
1902 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a, 0x4d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f,
1903 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1904 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x19, 0x20, 0x01,
1905 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1906 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1907 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x3a, 0x37, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x65,
1908 0x78, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32,
1909 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28,
1910 0x07, 0x52, 0x0d, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1911 0x3a, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d,
1912 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1913 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1914 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42,
1915 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1916 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1917 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65,
1918 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74,
1919 0x65, 0x64, 0x3a, 0x61, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65,
1920 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1921 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x32, 0x20, 0x01,
1922 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73,
1923 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1924 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
1925 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x37, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
1926 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1927 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f,
1928 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x32,
Herbie Ong8170d692019-02-13 14:13:21 -08001929}
1930
Joe Tsai5d72cc22019-03-28 01:13:26 -07001931var (
Joe Tsai7ca70982019-04-15 13:57:56 -07001932 file_pb2_test_proto_rawDescOnce sync.Once
1933 file_pb2_test_proto_rawDescData = file_pb2_test_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -07001934)
Herbie Ong8170d692019-02-13 14:13:21 -08001935
Joe Tsai7ca70982019-04-15 13:57:56 -07001936func file_pb2_test_proto_rawDescGZIP() []byte {
1937 file_pb2_test_proto_rawDescOnce.Do(func() {
1938 file_pb2_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb2_test_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -07001939 })
Joe Tsai7ca70982019-04-15 13:57:56 -07001940 return file_pb2_test_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -07001941}
Herbie Ong8170d692019-02-13 14:13:21 -08001942
Joe Tsai7ca70982019-04-15 13:57:56 -07001943var file_pb2_test_proto_enumTypes = make([]protoreflect.EnumType, 2)
1944var file_pb2_test_proto_msgTypes = make([]protoimpl.MessageType, 20)
1945var file_pb2_test_proto_goTypes = []interface{}{
Herbie Ong8170d692019-02-13 14:13:21 -08001946 (Enum)(0), // 0: pb2.Enum
1947 (Enums_NestedEnum)(0), // 1: pb2.Enums.NestedEnum
1948 (*Scalars)(nil), // 2: pb2.Scalars
1949 (*Enums)(nil), // 3: pb2.Enums
1950 (*Repeats)(nil), // 4: pb2.Repeats
1951 (*Nested)(nil), // 5: pb2.Nested
1952 (*Nests)(nil), // 6: pb2.Nests
1953 (*Requireds)(nil), // 7: pb2.Requireds
1954 (*PartialRequired)(nil), // 8: pb2.PartialRequired
1955 (*NestedWithRequired)(nil), // 9: pb2.NestedWithRequired
1956 (*IndirectRequired)(nil), // 10: pb2.IndirectRequired
1957 (*Extensions)(nil), // 11: pb2.Extensions
1958 (*ExtensionsContainer)(nil), // 12: pb2.ExtensionsContainer
1959 (*MessageSet)(nil), // 13: pb2.MessageSet
1960 (*MessageSetExtension)(nil), // 14: pb2.MessageSetExtension
1961 (*FakeMessageSet)(nil), // 15: pb2.FakeMessageSet
1962 (*FakeMessageSetExtension)(nil), // 16: pb2.FakeMessageSetExtension
1963 (*KnownTypes)(nil), // 17: pb2.KnownTypes
1964 (*Nests_OptGroup)(nil), // 18: pb2.Nests.OptGroup
1965 (*Nests_RptGroup)(nil), // 19: pb2.Nests.RptGroup
1966 (*Nests_OptGroup_OptNestedGroup)(nil), // 20: pb2.Nests.OptGroup.OptNestedGroup
1967 nil, // 21: pb2.IndirectRequired.StrToNestedEntry
Joe Tsai19058432019-02-27 21:46:29 -08001968 (*known.BoolValue)(nil), // 22: google.protobuf.BoolValue
1969 (*known.Int32Value)(nil), // 23: google.protobuf.Int32Value
1970 (*known.Int64Value)(nil), // 24: google.protobuf.Int64Value
1971 (*known.UInt32Value)(nil), // 25: google.protobuf.UInt32Value
1972 (*known.UInt64Value)(nil), // 26: google.protobuf.UInt64Value
1973 (*known.FloatValue)(nil), // 27: google.protobuf.FloatValue
1974 (*known.DoubleValue)(nil), // 28: google.protobuf.DoubleValue
1975 (*known.StringValue)(nil), // 29: google.protobuf.StringValue
1976 (*known.BytesValue)(nil), // 30: google.protobuf.BytesValue
1977 (*known.Duration)(nil), // 31: google.protobuf.Duration
1978 (*known.Timestamp)(nil), // 32: google.protobuf.Timestamp
1979 (*known.Struct)(nil), // 33: google.protobuf.Struct
1980 (*known.ListValue)(nil), // 34: google.protobuf.ListValue
1981 (*known.Value)(nil), // 35: google.protobuf.Value
Herbie Ong300b9fe2019-03-29 15:42:20 -07001982 (known.NullValue)(0), // 36: google.protobuf.NullValue
1983 (*known.Empty)(nil), // 37: google.protobuf.Empty
1984 (*known.Any)(nil), // 38: google.protobuf.Any
1985 (*known.FieldMask)(nil), // 39: google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08001986}
Joe Tsai7ca70982019-04-15 13:57:56 -07001987var file_pb2_test_proto_depIdxs = []int32{
Herbie Ong8170d692019-02-13 14:13:21 -08001988 11, // pb2.opt_ext_bool:extendee -> pb2.Extensions
1989 11, // pb2.opt_ext_string:extendee -> pb2.Extensions
1990 11, // pb2.opt_ext_enum:extendee -> pb2.Extensions
1991 11, // pb2.opt_ext_nested:extendee -> pb2.Extensions
Herbie Ong09b28a92019-04-03 15:42:41 -07001992 11, // pb2.opt_ext_partial:extendee -> pb2.Extensions
Herbie Ong8170d692019-02-13 14:13:21 -08001993 11, // pb2.rpt_ext_fixed32:extendee -> pb2.Extensions
1994 11, // pb2.rpt_ext_enum:extendee -> pb2.Extensions
1995 11, // pb2.rpt_ext_nested:extendee -> pb2.Extensions
1996 13, // pb2.message_set_extension:extendee -> pb2.MessageSet
1997 11, // pb2.ExtensionsContainer.opt_ext_bool:extendee -> pb2.Extensions
1998 11, // pb2.ExtensionsContainer.opt_ext_string:extendee -> pb2.Extensions
1999 11, // pb2.ExtensionsContainer.opt_ext_enum:extendee -> pb2.Extensions
2000 11, // pb2.ExtensionsContainer.opt_ext_nested:extendee -> pb2.Extensions
Herbie Ong09b28a92019-04-03 15:42:41 -07002001 11, // pb2.ExtensionsContainer.opt_ext_partial:extendee -> pb2.Extensions
Herbie Ong8170d692019-02-13 14:13:21 -08002002 11, // pb2.ExtensionsContainer.rpt_ext_string:extendee -> pb2.Extensions
2003 11, // pb2.ExtensionsContainer.rpt_ext_enum:extendee -> pb2.Extensions
2004 11, // pb2.ExtensionsContainer.rpt_ext_nested:extendee -> pb2.Extensions
2005 13, // pb2.MessageSetExtension.message_set_extension:extendee -> pb2.MessageSet
2006 13, // pb2.MessageSetExtension.not_message_set_extension:extendee -> pb2.MessageSet
2007 13, // pb2.MessageSetExtension.ext_nested:extendee -> pb2.MessageSet
2008 15, // pb2.FakeMessageSetExtension.message_set_extension:extendee -> pb2.FakeMessageSet
2009 0, // pb2.Enums.opt_enum:type_name -> pb2.Enum
2010 0, // pb2.Enums.rpt_enum:type_name -> pb2.Enum
2011 1, // pb2.Enums.opt_nested_enum:type_name -> pb2.Enums.NestedEnum
2012 1, // pb2.Enums.rpt_nested_enum:type_name -> pb2.Enums.NestedEnum
2013 5, // pb2.Nested.opt_nested:type_name -> pb2.Nested
2014 5, // pb2.Nests.opt_nested:type_name -> pb2.Nested
2015 18, // pb2.Nests.optgroup:type_name -> pb2.Nests.OptGroup
2016 5, // pb2.Nests.rpt_nested:type_name -> pb2.Nested
2017 19, // pb2.Nests.rptgroup:type_name -> pb2.Nests.RptGroup
2018 0, // pb2.Requireds.req_enum:type_name -> pb2.Enum
2019 5, // pb2.Requireds.req_nested:type_name -> pb2.Nested
2020 9, // pb2.IndirectRequired.opt_nested:type_name -> pb2.NestedWithRequired
2021 9, // pb2.IndirectRequired.rpt_nested:type_name -> pb2.NestedWithRequired
2022 21, // pb2.IndirectRequired.str_to_nested:type_name -> pb2.IndirectRequired.StrToNestedEntry
2023 9, // pb2.IndirectRequired.oneof_nested:type_name -> pb2.NestedWithRequired
2024 22, // pb2.KnownTypes.opt_bool:type_name -> google.protobuf.BoolValue
2025 23, // pb2.KnownTypes.opt_int32:type_name -> google.protobuf.Int32Value
2026 24, // pb2.KnownTypes.opt_int64:type_name -> google.protobuf.Int64Value
2027 25, // pb2.KnownTypes.opt_uint32:type_name -> google.protobuf.UInt32Value
2028 26, // pb2.KnownTypes.opt_uint64:type_name -> google.protobuf.UInt64Value
2029 27, // pb2.KnownTypes.opt_float:type_name -> google.protobuf.FloatValue
2030 28, // pb2.KnownTypes.opt_double:type_name -> google.protobuf.DoubleValue
2031 29, // pb2.KnownTypes.opt_string:type_name -> google.protobuf.StringValue
2032 30, // pb2.KnownTypes.opt_bytes:type_name -> google.protobuf.BytesValue
2033 31, // pb2.KnownTypes.opt_duration:type_name -> google.protobuf.Duration
2034 32, // pb2.KnownTypes.opt_timestamp:type_name -> google.protobuf.Timestamp
2035 33, // pb2.KnownTypes.opt_struct:type_name -> google.protobuf.Struct
2036 34, // pb2.KnownTypes.opt_list:type_name -> google.protobuf.ListValue
2037 35, // pb2.KnownTypes.opt_value:type_name -> google.protobuf.Value
Herbie Ong300b9fe2019-03-29 15:42:20 -07002038 36, // pb2.KnownTypes.opt_null:type_name -> google.protobuf.NullValue
2039 37, // pb2.KnownTypes.opt_empty:type_name -> google.protobuf.Empty
2040 38, // pb2.KnownTypes.opt_any:type_name -> google.protobuf.Any
2041 39, // pb2.KnownTypes.opt_fieldmask:type_name -> google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08002042 5, // pb2.Nests.OptGroup.opt_nested:type_name -> pb2.Nested
2043 20, // pb2.Nests.OptGroup.optnestedgroup:type_name -> pb2.Nests.OptGroup.OptNestedGroup
2044 9, // pb2.IndirectRequired.StrToNestedEntry.value:type_name -> pb2.NestedWithRequired
2045 0, // pb2.opt_ext_enum:type_name -> pb2.Enum
2046 5, // pb2.opt_ext_nested:type_name -> pb2.Nested
Herbie Ong09b28a92019-04-03 15:42:41 -07002047 8, // pb2.opt_ext_partial:type_name -> pb2.PartialRequired
Herbie Ong8170d692019-02-13 14:13:21 -08002048 0, // pb2.rpt_ext_enum:type_name -> pb2.Enum
2049 5, // pb2.rpt_ext_nested:type_name -> pb2.Nested
2050 16, // pb2.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2051 0, // pb2.ExtensionsContainer.opt_ext_enum:type_name -> pb2.Enum
2052 5, // pb2.ExtensionsContainer.opt_ext_nested:type_name -> pb2.Nested
Herbie Ong09b28a92019-04-03 15:42:41 -07002053 8, // pb2.ExtensionsContainer.opt_ext_partial:type_name -> pb2.PartialRequired
Herbie Ong8170d692019-02-13 14:13:21 -08002054 0, // pb2.ExtensionsContainer.rpt_ext_enum:type_name -> pb2.Enum
2055 5, // pb2.ExtensionsContainer.rpt_ext_nested:type_name -> pb2.Nested
2056 14, // pb2.MessageSetExtension.message_set_extension:type_name -> pb2.MessageSetExtension
2057 14, // pb2.MessageSetExtension.not_message_set_extension:type_name -> pb2.MessageSetExtension
2058 5, // pb2.MessageSetExtension.ext_nested:type_name -> pb2.Nested
2059 16, // pb2.FakeMessageSetExtension.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2060}
2061
Joe Tsai7ca70982019-04-15 13:57:56 -07002062func init() { file_pb2_test_proto_init() }
2063func file_pb2_test_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -08002064 if File_pb2_test_proto != nil {
2065 return
2066 }
Herbie Ong09b28a92019-04-03 15:42:41 -07002067 extensionTypes := make([]protoreflect.ExtensionType, 21)
Joe Tsai19058432019-02-27 21:46:29 -08002068 File_pb2_test_proto = protoimpl.FileBuilder{
Joe Tsai7ca70982019-04-15 13:57:56 -07002069 RawDescriptor: file_pb2_test_proto_rawDesc,
2070 GoTypes: file_pb2_test_proto_goTypes,
2071 DependencyIndexes: file_pb2_test_proto_depIdxs,
2072 LegacyExtensions: file_pb2_test_proto_extDescs,
2073 EnumOutputTypes: file_pb2_test_proto_enumTypes,
2074 MessageOutputTypes: file_pb2_test_proto_msgTypes,
Damien Neil6bb8dec2019-03-01 13:22:30 -08002075 ExtensionOutputTypes: extensionTypes,
Joe Tsai35ec98f2019-03-25 14:41:32 -07002076 FilesRegistry: protoregistry.GlobalFiles,
2077 TypesRegistry: protoregistry.GlobalTypes,
Herbie Ong8170d692019-02-13 14:13:21 -08002078 }.Init()
Joe Tsai7ca70982019-04-15 13:57:56 -07002079 file_pb2_test_proto_rawDesc = nil
2080 file_pb2_test_proto_goTypes = nil
2081 file_pb2_test_proto_depIdxs = nil
Herbie Ong8170d692019-02-13 14:13:21 -08002082}