blob: 841ef58738fdea716643bea8fc2d500774c9623f [file] [log] [blame]
Herbie Ong8170d692019-02-13 14:13:21 -08001// Code generated by protoc-gen-go. DO NOT EDIT.
Joe Tsai19058432019-02-27 21:46:29 -08002// source: pb2/test.proto
Herbie Ong8170d692019-02-13 14:13:21 -08003
4package pb2
5
6import (
Damien Neile89e6242019-05-13 23:55:40 -07007 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
8 protoregistry "google.golang.org/protobuf/reflect/protoregistry"
9 protoiface "google.golang.org/protobuf/runtime/protoiface"
10 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
Joe Tsaia95b29f2019-05-16 12:47:20 -070011 anypb "google.golang.org/protobuf/types/known/anypb"
12 durationpb "google.golang.org/protobuf/types/known/durationpb"
13 emptypb "google.golang.org/protobuf/types/known/emptypb"
14 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
15 structpb "google.golang.org/protobuf/types/known/structpb"
16 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
17 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
Joe Tsai5d72cc22019-03-28 01:13:26 -070018 sync "sync"
Herbie Ong8170d692019-02-13 14:13:21 -080019)
20
Joe Tsai5d72cc22019-03-28 01:13:26 -070021const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
22
Herbie Ong8170d692019-02-13 14:13:21 -080023type Enum int32
24
25const (
26 Enum_ONE Enum = 1
27 Enum_TWO Enum = 2
28 Enum_TEN Enum = 10
29)
30
Joe Tsai8e506a82019-03-16 00:05:34 -070031// Deprecated: Use Enum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080032var Enum_name = map[int32]string{
33 1: "ONE",
34 2: "TWO",
35 10: "TEN",
36}
37
Joe Tsai8e506a82019-03-16 00:05:34 -070038// Deprecated: Use Enum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080039var Enum_value = map[string]int32{
40 "ONE": 1,
41 "TWO": 2,
42 "TEN": 10,
43}
44
45func (x Enum) Enum() *Enum {
Joe Tsai09b5b462019-04-10 15:29:01 -070046 p := new(Enum)
47 *p = x
48 return p
Herbie Ong8170d692019-02-13 14:13:21 -080049}
50
51func (x Enum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -070052 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -080053}
54
Joe Tsai0fc49f82019-05-01 12:29:25 -070055func (Enum) Descriptor() protoreflect.EnumDescriptor {
56 return file_pb2_test_proto_enumTypes[0].Descriptor()
57}
58
59// Deprecated: Use Descriptor instead.
Joe Tsai61968ce2019-04-01 12:59:24 -070060func (Enum) Type() protoreflect.EnumType {
Joe Tsai7ca70982019-04-15 13:57:56 -070061 return file_pb2_test_proto_enumTypes[0]
Joe Tsai61968ce2019-04-01 12:59:24 -070062}
63
64func (x Enum) Number() protoreflect.EnumNumber {
65 return protoreflect.EnumNumber(x)
66}
67
Joe Tsai8e506a82019-03-16 00:05:34 -070068// Deprecated: Do not use.
69func (x *Enum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -070070 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -080071 if err != nil {
72 return err
73 }
Joe Tsai8e506a82019-03-16 00:05:34 -070074 *x = Enum(num)
Herbie Ong8170d692019-02-13 14:13:21 -080075 return nil
76}
77
Joe Tsai8e506a82019-03-16 00:05:34 -070078// Deprecated: Use Enum.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -080079func (Enum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -070080 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -080081}
82
83type Enums_NestedEnum int32
84
85const (
86 Enums_UNO Enums_NestedEnum = 1
87 Enums_DOS Enums_NestedEnum = 2
88 Enums_DIEZ Enums_NestedEnum = 10
89)
90
Joe Tsai8e506a82019-03-16 00:05:34 -070091// Deprecated: Use Enums_NestedEnum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080092var Enums_NestedEnum_name = map[int32]string{
93 1: "UNO",
94 2: "DOS",
95 10: "DIEZ",
96}
97
Joe Tsai8e506a82019-03-16 00:05:34 -070098// Deprecated: Use Enums_NestedEnum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080099var Enums_NestedEnum_value = map[string]int32{
100 "UNO": 1,
101 "DOS": 2,
102 "DIEZ": 10,
103}
104
105func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
Joe Tsai09b5b462019-04-10 15:29:01 -0700106 p := new(Enums_NestedEnum)
107 *p = x
108 return p
Herbie Ong8170d692019-02-13 14:13:21 -0800109}
110
111func (x Enums_NestedEnum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700112 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -0800113}
114
Joe Tsai0fc49f82019-05-01 12:29:25 -0700115func (Enums_NestedEnum) Descriptor() protoreflect.EnumDescriptor {
116 return file_pb2_test_proto_enumTypes[1].Descriptor()
117}
118
119// Deprecated: Use Descriptor instead.
Joe Tsai61968ce2019-04-01 12:59:24 -0700120func (Enums_NestedEnum) Type() protoreflect.EnumType {
Joe Tsai7ca70982019-04-15 13:57:56 -0700121 return file_pb2_test_proto_enumTypes[1]
Joe Tsai61968ce2019-04-01 12:59:24 -0700122}
123
124func (x Enums_NestedEnum) Number() protoreflect.EnumNumber {
125 return protoreflect.EnumNumber(x)
126}
127
Joe Tsai8e506a82019-03-16 00:05:34 -0700128// Deprecated: Do not use.
129func (x *Enums_NestedEnum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700130 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -0800131 if err != nil {
132 return err
133 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700134 *x = Enums_NestedEnum(num)
Herbie Ong8170d692019-02-13 14:13:21 -0800135 return nil
136}
137
Joe Tsai8e506a82019-03-16 00:05:34 -0700138// Deprecated: Use Enums_NestedEnum.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800139func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700140 return file_pb2_test_proto_rawDescGZIP(), []int{1, 0}
Herbie Ong8170d692019-02-13 14:13:21 -0800141}
142
143// Scalars contains optional scalar fields.
144type Scalars struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700145 OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
146 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
147 OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
148 OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
149 OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
150 OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"`
151 OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"`
152 OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
153 OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"`
154 OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"`
155 OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"`
156 OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
157 OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
158 OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
159 OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
160 XXX_NoUnkeyedLiteral struct{} `json:"-"`
161 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
162 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800163}
164
Joe Tsai61968ce2019-04-01 12:59:24 -0700165func (x *Scalars) Reset() {
166 *x = Scalars{}
Herbie Ong8170d692019-02-13 14:13:21 -0800167}
Joe Tsai61968ce2019-04-01 12:59:24 -0700168
169func (x *Scalars) String() string {
170 return protoimpl.X.MessageStringOf(x)
171}
172
173func (*Scalars) ProtoMessage() {}
174
175func (x *Scalars) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700176 return file_pb2_test_proto_msgTypes[0].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700177}
Joe Tsai8e506a82019-03-16 00:05:34 -0700178
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700179func (m *Scalars) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700180 return file_pb2_test_proto_msgTypes[0].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700181}
182
Joe Tsai8e506a82019-03-16 00:05:34 -0700183// Deprecated: Use Scalars.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800184func (*Scalars) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700185 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -0800186}
187
Joe Tsai61968ce2019-04-01 12:59:24 -0700188func (x *Scalars) GetOptBool() bool {
189 if x != nil && x.OptBool != nil {
190 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800191 }
192 return false
193}
194
Joe Tsai61968ce2019-04-01 12:59:24 -0700195func (x *Scalars) GetOptInt32() int32 {
196 if x != nil && x.OptInt32 != nil {
197 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800198 }
199 return 0
200}
201
Joe Tsai61968ce2019-04-01 12:59:24 -0700202func (x *Scalars) GetOptInt64() int64 {
203 if x != nil && x.OptInt64 != nil {
204 return *x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800205 }
206 return 0
207}
208
Joe Tsai61968ce2019-04-01 12:59:24 -0700209func (x *Scalars) GetOptUint32() uint32 {
210 if x != nil && x.OptUint32 != nil {
211 return *x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800212 }
213 return 0
214}
215
Joe Tsai61968ce2019-04-01 12:59:24 -0700216func (x *Scalars) GetOptUint64() uint64 {
217 if x != nil && x.OptUint64 != nil {
218 return *x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800219 }
220 return 0
221}
222
Joe Tsai61968ce2019-04-01 12:59:24 -0700223func (x *Scalars) GetOptSint32() int32 {
224 if x != nil && x.OptSint32 != nil {
225 return *x.OptSint32
Herbie Ong8170d692019-02-13 14:13:21 -0800226 }
227 return 0
228}
229
Joe Tsai61968ce2019-04-01 12:59:24 -0700230func (x *Scalars) GetOptSint64() int64 {
231 if x != nil && x.OptSint64 != nil {
232 return *x.OptSint64
Herbie Ong8170d692019-02-13 14:13:21 -0800233 }
234 return 0
235}
236
Joe Tsai61968ce2019-04-01 12:59:24 -0700237func (x *Scalars) GetOptFixed32() uint32 {
238 if x != nil && x.OptFixed32 != nil {
239 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800240 }
241 return 0
242}
243
Joe Tsai61968ce2019-04-01 12:59:24 -0700244func (x *Scalars) GetOptFixed64() uint64 {
245 if x != nil && x.OptFixed64 != nil {
246 return *x.OptFixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800247 }
248 return 0
249}
250
Joe Tsai61968ce2019-04-01 12:59:24 -0700251func (x *Scalars) GetOptSfixed32() int32 {
252 if x != nil && x.OptSfixed32 != nil {
253 return *x.OptSfixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800254 }
255 return 0
256}
257
Joe Tsai61968ce2019-04-01 12:59:24 -0700258func (x *Scalars) GetOptSfixed64() int64 {
259 if x != nil && x.OptSfixed64 != nil {
260 return *x.OptSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800261 }
262 return 0
263}
264
Joe Tsai61968ce2019-04-01 12:59:24 -0700265func (x *Scalars) GetOptFloat() float32 {
266 if x != nil && x.OptFloat != nil {
267 return *x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800268 }
269 return 0
270}
271
Joe Tsai61968ce2019-04-01 12:59:24 -0700272func (x *Scalars) GetOptDouble() float64 {
273 if x != nil && x.OptDouble != nil {
274 return *x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800275 }
276 return 0
277}
278
Joe Tsai61968ce2019-04-01 12:59:24 -0700279func (x *Scalars) GetOptBytes() []byte {
280 if x != nil {
281 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800282 }
283 return nil
284}
285
Joe Tsai61968ce2019-04-01 12:59:24 -0700286func (x *Scalars) GetOptString() string {
287 if x != nil && x.OptString != nil {
288 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800289 }
290 return ""
291}
292
293// Message contains enum fields.
294type Enums struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700295 OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
296 RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"`
297 OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
298 RptNestedEnum []Enums_NestedEnum `protobuf:"varint,4,rep,name=rpt_nested_enum,json=rptNestedEnum,enum=pb2.Enums_NestedEnum" json:"rpt_nested_enum,omitempty"`
299 XXX_NoUnkeyedLiteral struct{} `json:"-"`
300 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
301 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800302}
303
Joe Tsai61968ce2019-04-01 12:59:24 -0700304func (x *Enums) Reset() {
305 *x = Enums{}
Herbie Ong8170d692019-02-13 14:13:21 -0800306}
Joe Tsai61968ce2019-04-01 12:59:24 -0700307
308func (x *Enums) String() string {
309 return protoimpl.X.MessageStringOf(x)
310}
311
312func (*Enums) ProtoMessage() {}
313
314func (x *Enums) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700315 return file_pb2_test_proto_msgTypes[1].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700316}
Joe Tsai8e506a82019-03-16 00:05:34 -0700317
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700318func (m *Enums) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700319 return file_pb2_test_proto_msgTypes[1].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700320}
321
Joe Tsai8e506a82019-03-16 00:05:34 -0700322// Deprecated: Use Enums.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800323func (*Enums) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700324 return file_pb2_test_proto_rawDescGZIP(), []int{1}
Herbie Ong8170d692019-02-13 14:13:21 -0800325}
326
Joe Tsai61968ce2019-04-01 12:59:24 -0700327func (x *Enums) GetOptEnum() Enum {
328 if x != nil && x.OptEnum != nil {
329 return *x.OptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800330 }
331 return Enum_ONE
332}
333
Joe Tsai61968ce2019-04-01 12:59:24 -0700334func (x *Enums) GetRptEnum() []Enum {
335 if x != nil {
336 return x.RptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800337 }
338 return nil
339}
340
Joe Tsai61968ce2019-04-01 12:59:24 -0700341func (x *Enums) GetOptNestedEnum() Enums_NestedEnum {
342 if x != nil && x.OptNestedEnum != nil {
343 return *x.OptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800344 }
345 return Enums_UNO
346}
347
Joe Tsai61968ce2019-04-01 12:59:24 -0700348func (x *Enums) GetRptNestedEnum() []Enums_NestedEnum {
349 if x != nil {
350 return x.RptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800351 }
352 return nil
353}
354
355// Message contains repeated fields.
356type Repeats struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700357 RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
358 RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"`
359 RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"`
360 RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"`
361 RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"`
362 RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"`
363 RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"`
364 RptString []string `protobuf:"bytes,8,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
365 RptBytes [][]byte `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
366 XXX_NoUnkeyedLiteral struct{} `json:"-"`
367 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
368 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800369}
370
Joe Tsai61968ce2019-04-01 12:59:24 -0700371func (x *Repeats) Reset() {
372 *x = Repeats{}
Herbie Ong8170d692019-02-13 14:13:21 -0800373}
Joe Tsai61968ce2019-04-01 12:59:24 -0700374
375func (x *Repeats) String() string {
376 return protoimpl.X.MessageStringOf(x)
377}
378
379func (*Repeats) ProtoMessage() {}
380
381func (x *Repeats) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700382 return file_pb2_test_proto_msgTypes[2].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700383}
Joe Tsai8e506a82019-03-16 00:05:34 -0700384
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700385func (m *Repeats) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700386 return file_pb2_test_proto_msgTypes[2].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700387}
388
Joe Tsai8e506a82019-03-16 00:05:34 -0700389// Deprecated: Use Repeats.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800390func (*Repeats) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700391 return file_pb2_test_proto_rawDescGZIP(), []int{2}
Herbie Ong8170d692019-02-13 14:13:21 -0800392}
393
Joe Tsai61968ce2019-04-01 12:59:24 -0700394func (x *Repeats) GetRptBool() []bool {
395 if x != nil {
396 return x.RptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800397 }
398 return nil
399}
400
Joe Tsai61968ce2019-04-01 12:59:24 -0700401func (x *Repeats) GetRptInt32() []int32 {
402 if x != nil {
403 return x.RptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800404 }
405 return nil
406}
407
Joe Tsai61968ce2019-04-01 12:59:24 -0700408func (x *Repeats) GetRptInt64() []int64 {
409 if x != nil {
410 return x.RptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800411 }
412 return nil
413}
414
Joe Tsai61968ce2019-04-01 12:59:24 -0700415func (x *Repeats) GetRptUint32() []uint32 {
416 if x != nil {
417 return x.RptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800418 }
419 return nil
420}
421
Joe Tsai61968ce2019-04-01 12:59:24 -0700422func (x *Repeats) GetRptUint64() []uint64 {
423 if x != nil {
424 return x.RptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800425 }
426 return nil
427}
428
Joe Tsai61968ce2019-04-01 12:59:24 -0700429func (x *Repeats) GetRptFloat() []float32 {
430 if x != nil {
431 return x.RptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800432 }
433 return nil
434}
435
Joe Tsai61968ce2019-04-01 12:59:24 -0700436func (x *Repeats) GetRptDouble() []float64 {
437 if x != nil {
438 return x.RptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800439 }
440 return nil
441}
442
Joe Tsai61968ce2019-04-01 12:59:24 -0700443func (x *Repeats) GetRptString() []string {
444 if x != nil {
445 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -0800446 }
447 return nil
448}
449
Joe Tsai61968ce2019-04-01 12:59:24 -0700450func (x *Repeats) GetRptBytes() [][]byte {
451 if x != nil {
452 return x.RptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800453 }
454 return nil
455}
456
457// Message type used as submessage.
458type Nested struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700459 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
460 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
461 XXX_NoUnkeyedLiteral struct{} `json:"-"`
462 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
463 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800464}
465
Joe Tsai61968ce2019-04-01 12:59:24 -0700466func (x *Nested) Reset() {
467 *x = Nested{}
Herbie Ong8170d692019-02-13 14:13:21 -0800468}
Joe Tsai61968ce2019-04-01 12:59:24 -0700469
470func (x *Nested) String() string {
471 return protoimpl.X.MessageStringOf(x)
472}
473
474func (*Nested) ProtoMessage() {}
475
476func (x *Nested) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700477 return file_pb2_test_proto_msgTypes[3].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700478}
Joe Tsai8e506a82019-03-16 00:05:34 -0700479
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700480func (m *Nested) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700481 return file_pb2_test_proto_msgTypes[3].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700482}
483
Joe Tsai8e506a82019-03-16 00:05:34 -0700484// Deprecated: Use Nested.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800485func (*Nested) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700486 return file_pb2_test_proto_rawDescGZIP(), []int{3}
Herbie Ong8170d692019-02-13 14:13:21 -0800487}
488
Joe Tsai61968ce2019-04-01 12:59:24 -0700489func (x *Nested) GetOptString() string {
490 if x != nil && x.OptString != nil {
491 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800492 }
493 return ""
494}
495
Joe Tsai61968ce2019-04-01 12:59:24 -0700496func (x *Nested) GetOptNested() *Nested {
497 if x != nil {
498 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800499 }
500 return nil
501}
502
503// Message contains message and group fields.
504type Nests struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700505 OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
506 Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"`
507 RptNested []*Nested `protobuf:"bytes,4,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
508 Rptgroup []*Nests_RptGroup `protobuf:"group,5,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
509 XXX_NoUnkeyedLiteral struct{} `json:"-"`
510 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
511 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800512}
513
Joe Tsai61968ce2019-04-01 12:59:24 -0700514func (x *Nests) Reset() {
515 *x = Nests{}
Herbie Ong8170d692019-02-13 14:13:21 -0800516}
Joe Tsai61968ce2019-04-01 12:59:24 -0700517
518func (x *Nests) String() string {
519 return protoimpl.X.MessageStringOf(x)
520}
521
522func (*Nests) ProtoMessage() {}
523
524func (x *Nests) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700525 return file_pb2_test_proto_msgTypes[4].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700526}
Joe Tsai8e506a82019-03-16 00:05:34 -0700527
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700528func (m *Nests) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700529 return file_pb2_test_proto_msgTypes[4].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700530}
531
Joe Tsai8e506a82019-03-16 00:05:34 -0700532// Deprecated: Use Nests.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800533func (*Nests) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700534 return file_pb2_test_proto_rawDescGZIP(), []int{4}
Herbie Ong8170d692019-02-13 14:13:21 -0800535}
536
Joe Tsai61968ce2019-04-01 12:59:24 -0700537func (x *Nests) GetOptNested() *Nested {
538 if x != nil {
539 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800540 }
541 return nil
542}
543
Joe Tsai61968ce2019-04-01 12:59:24 -0700544func (x *Nests) GetOptgroup() *Nests_OptGroup {
545 if x != nil {
546 return x.Optgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800547 }
548 return nil
549}
550
Joe Tsai61968ce2019-04-01 12:59:24 -0700551func (x *Nests) GetRptNested() []*Nested {
552 if x != nil {
553 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800554 }
555 return nil
556}
557
Joe Tsai61968ce2019-04-01 12:59:24 -0700558func (x *Nests) GetRptgroup() []*Nests_RptGroup {
559 if x != nil {
560 return x.Rptgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800561 }
562 return nil
563}
564
565// Message contains required fields.
566type Requireds struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700567 ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"`
568 ReqSfixed64 *int64 `protobuf:"fixed64,2,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"`
569 ReqDouble *float64 `protobuf:"fixed64,3,req,name=req_double,json=reqDouble" json:"req_double,omitempty"`
570 ReqString *string `protobuf:"bytes,4,req,name=req_string,json=reqString" json:"req_string,omitempty"`
571 ReqEnum *Enum `protobuf:"varint,5,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
572 ReqNested *Nested `protobuf:"bytes,6,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
573 XXX_NoUnkeyedLiteral struct{} `json:"-"`
574 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
575 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800576}
577
Joe Tsai61968ce2019-04-01 12:59:24 -0700578func (x *Requireds) Reset() {
579 *x = Requireds{}
Herbie Ong8170d692019-02-13 14:13:21 -0800580}
Joe Tsai61968ce2019-04-01 12:59:24 -0700581
582func (x *Requireds) String() string {
583 return protoimpl.X.MessageStringOf(x)
584}
585
586func (*Requireds) ProtoMessage() {}
587
588func (x *Requireds) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700589 return file_pb2_test_proto_msgTypes[5].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700590}
Joe Tsai8e506a82019-03-16 00:05:34 -0700591
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700592func (m *Requireds) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700593 return file_pb2_test_proto_msgTypes[5].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700594}
595
Joe Tsai8e506a82019-03-16 00:05:34 -0700596// Deprecated: Use Requireds.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800597func (*Requireds) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700598 return file_pb2_test_proto_rawDescGZIP(), []int{5}
Herbie Ong8170d692019-02-13 14:13:21 -0800599}
600
Joe Tsai61968ce2019-04-01 12:59:24 -0700601func (x *Requireds) GetReqBool() bool {
602 if x != nil && x.ReqBool != nil {
603 return *x.ReqBool
Herbie Ong8170d692019-02-13 14:13:21 -0800604 }
605 return false
606}
607
Joe Tsai61968ce2019-04-01 12:59:24 -0700608func (x *Requireds) GetReqSfixed64() int64 {
609 if x != nil && x.ReqSfixed64 != nil {
610 return *x.ReqSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800611 }
612 return 0
613}
614
Joe Tsai61968ce2019-04-01 12:59:24 -0700615func (x *Requireds) GetReqDouble() float64 {
616 if x != nil && x.ReqDouble != nil {
617 return *x.ReqDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800618 }
619 return 0
620}
621
Joe Tsai61968ce2019-04-01 12:59:24 -0700622func (x *Requireds) GetReqString() string {
623 if x != nil && x.ReqString != nil {
624 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800625 }
626 return ""
627}
628
Joe Tsai61968ce2019-04-01 12:59:24 -0700629func (x *Requireds) GetReqEnum() Enum {
630 if x != nil && x.ReqEnum != nil {
631 return *x.ReqEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800632 }
633 return Enum_ONE
634}
635
Joe Tsai61968ce2019-04-01 12:59:24 -0700636func (x *Requireds) GetReqNested() *Nested {
637 if x != nil {
638 return x.ReqNested
Herbie Ong8170d692019-02-13 14:13:21 -0800639 }
640 return nil
641}
642
643// Message contains both required and optional fields.
644type PartialRequired struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700645 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
646 OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
647 XXX_NoUnkeyedLiteral struct{} `json:"-"`
648 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
649 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800650}
651
Joe Tsai61968ce2019-04-01 12:59:24 -0700652func (x *PartialRequired) Reset() {
653 *x = PartialRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800654}
Joe Tsai61968ce2019-04-01 12:59:24 -0700655
656func (x *PartialRequired) String() string {
657 return protoimpl.X.MessageStringOf(x)
658}
659
660func (*PartialRequired) ProtoMessage() {}
661
662func (x *PartialRequired) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700663 return file_pb2_test_proto_msgTypes[6].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700664}
Joe Tsai8e506a82019-03-16 00:05:34 -0700665
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700666func (m *PartialRequired) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700667 return file_pb2_test_proto_msgTypes[6].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700668}
669
Joe Tsai8e506a82019-03-16 00:05:34 -0700670// Deprecated: Use PartialRequired.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800671func (*PartialRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700672 return file_pb2_test_proto_rawDescGZIP(), []int{6}
Herbie Ong8170d692019-02-13 14:13:21 -0800673}
674
Joe Tsai61968ce2019-04-01 12:59:24 -0700675func (x *PartialRequired) GetReqString() string {
676 if x != nil && x.ReqString != nil {
677 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800678 }
679 return ""
680}
681
Joe Tsai61968ce2019-04-01 12:59:24 -0700682func (x *PartialRequired) GetOptString() string {
683 if x != nil && x.OptString != nil {
684 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800685 }
686 return ""
687}
688
689type NestedWithRequired struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700690 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
691 XXX_NoUnkeyedLiteral struct{} `json:"-"`
692 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
693 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800694}
695
Joe Tsai61968ce2019-04-01 12:59:24 -0700696func (x *NestedWithRequired) Reset() {
697 *x = NestedWithRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800698}
Joe Tsai61968ce2019-04-01 12:59:24 -0700699
700func (x *NestedWithRequired) String() string {
701 return protoimpl.X.MessageStringOf(x)
702}
703
704func (*NestedWithRequired) ProtoMessage() {}
705
706func (x *NestedWithRequired) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700707 return file_pb2_test_proto_msgTypes[7].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700708}
Joe Tsai8e506a82019-03-16 00:05:34 -0700709
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700710func (m *NestedWithRequired) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700711 return file_pb2_test_proto_msgTypes[7].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700712}
713
Joe Tsai8e506a82019-03-16 00:05:34 -0700714// Deprecated: Use NestedWithRequired.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800715func (*NestedWithRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700716 return file_pb2_test_proto_rawDescGZIP(), []int{7}
Herbie Ong8170d692019-02-13 14:13:21 -0800717}
718
Joe Tsai61968ce2019-04-01 12:59:24 -0700719func (x *NestedWithRequired) GetReqString() string {
720 if x != nil && x.ReqString != nil {
721 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800722 }
723 return ""
724}
725
726type IndirectRequired struct {
727 OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
728 RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
729 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"`
730 // Types that are valid to be assigned to Union:
731 // *IndirectRequired_OneofNested
732 Union isIndirectRequired_Union `protobuf_oneof:"union"`
733 XXX_NoUnkeyedLiteral struct{} `json:"-"`
Joe Tsai5e71dc92019-04-16 13:22:20 -0700734 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
735 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800736}
737
Joe Tsai61968ce2019-04-01 12:59:24 -0700738func (x *IndirectRequired) Reset() {
739 *x = IndirectRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800740}
Joe Tsai61968ce2019-04-01 12:59:24 -0700741
742func (x *IndirectRequired) String() string {
743 return protoimpl.X.MessageStringOf(x)
744}
745
746func (*IndirectRequired) ProtoMessage() {}
747
748func (x *IndirectRequired) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700749 return file_pb2_test_proto_msgTypes[8].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700750}
Joe Tsai8e506a82019-03-16 00:05:34 -0700751
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700752func (m *IndirectRequired) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700753 return file_pb2_test_proto_msgTypes[8].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700754}
755
Joe Tsai8e506a82019-03-16 00:05:34 -0700756// Deprecated: Use IndirectRequired.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800757func (*IndirectRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700758 return file_pb2_test_proto_rawDescGZIP(), []int{8}
Herbie Ong8170d692019-02-13 14:13:21 -0800759}
760
Joe Tsai61968ce2019-04-01 12:59:24 -0700761func (x *IndirectRequired) GetOptNested() *NestedWithRequired {
762 if x != nil {
763 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800764 }
765 return nil
766}
767
Joe Tsai61968ce2019-04-01 12:59:24 -0700768func (x *IndirectRequired) GetRptNested() []*NestedWithRequired {
769 if x != nil {
770 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800771 }
772 return nil
773}
774
Joe Tsai61968ce2019-04-01 12:59:24 -0700775func (x *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired {
776 if x != nil {
777 return x.StrToNested
Herbie Ong8170d692019-02-13 14:13:21 -0800778 }
779 return nil
780}
781
Herbie Ong8170d692019-02-13 14:13:21 -0800782func (m *IndirectRequired) GetUnion() isIndirectRequired_Union {
783 if m != nil {
784 return m.Union
785 }
786 return nil
787}
788
Joe Tsai61968ce2019-04-01 12:59:24 -0700789func (x *IndirectRequired) GetOneofNested() *NestedWithRequired {
790 if x, ok := x.GetUnion().(*IndirectRequired_OneofNested); ok {
Herbie Ong8170d692019-02-13 14:13:21 -0800791 return x.OneofNested
792 }
793 return nil
794}
795
796// XXX_OneofWrappers is for the internal use of the proto package.
797func (*IndirectRequired) XXX_OneofWrappers() []interface{} {
798 return []interface{}{
799 (*IndirectRequired_OneofNested)(nil),
800 }
801}
802
Joe Tsai872b5002019-04-08 14:03:15 -0700803type isIndirectRequired_Union interface {
804 isIndirectRequired_Union()
805}
806
807type IndirectRequired_OneofNested struct {
808 OneofNested *NestedWithRequired `protobuf:"bytes,4,opt,name=oneof_nested,json=oneofNested,oneof"`
809}
810
811func (*IndirectRequired_OneofNested) isIndirectRequired_Union() {}
812
Herbie Ong8170d692019-02-13 14:13:21 -0800813type Extensions struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700814 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
815 OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
816 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
817 XXX_NoUnkeyedLiteral struct{} `json:"-"`
818 XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
819 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
820 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800821}
822
Joe Tsai61968ce2019-04-01 12:59:24 -0700823func (x *Extensions) Reset() {
824 *x = Extensions{}
Herbie Ong8170d692019-02-13 14:13:21 -0800825}
Joe Tsai61968ce2019-04-01 12:59:24 -0700826
827func (x *Extensions) String() string {
828 return protoimpl.X.MessageStringOf(x)
829}
830
831func (*Extensions) ProtoMessage() {}
832
833func (x *Extensions) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700834 return file_pb2_test_proto_msgTypes[9].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700835}
Joe Tsai8e506a82019-03-16 00:05:34 -0700836
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700837func (m *Extensions) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700838 return file_pb2_test_proto_msgTypes[9].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700839}
840
Joe Tsai8e506a82019-03-16 00:05:34 -0700841// Deprecated: Use Extensions.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800842func (*Extensions) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700843 return file_pb2_test_proto_rawDescGZIP(), []int{9}
Herbie Ong8170d692019-02-13 14:13:21 -0800844}
845
Joe Tsai4fddeba2019-03-20 18:29:32 -0700846var extRange_Extensions = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800847 {Start: 20, End: 100},
848}
849
Joe Tsai8e506a82019-03-16 00:05:34 -0700850// Deprecated: Use Extensions.ProtoReflect.Type.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700851func (*Extensions) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -0800852 return extRange_Extensions
853}
854
Joe Tsai61968ce2019-04-01 12:59:24 -0700855func (x *Extensions) GetOptString() string {
856 if x != nil && x.OptString != nil {
857 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800858 }
859 return ""
860}
861
Joe Tsai61968ce2019-04-01 12:59:24 -0700862func (x *Extensions) GetOptBool() bool {
863 if x != nil && x.OptBool != nil {
864 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800865 }
866 return false
867}
868
Joe Tsai61968ce2019-04-01 12:59:24 -0700869func (x *Extensions) GetOptInt32() int32 {
870 if x != nil && x.OptInt32 != nil {
871 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800872 }
873 return 0
874}
875
876type ExtensionsContainer struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700877 XXX_NoUnkeyedLiteral struct{} `json:"-"`
878 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
879 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800880}
881
Joe Tsai61968ce2019-04-01 12:59:24 -0700882func (x *ExtensionsContainer) Reset() {
883 *x = ExtensionsContainer{}
Herbie Ong8170d692019-02-13 14:13:21 -0800884}
Joe Tsai61968ce2019-04-01 12:59:24 -0700885
886func (x *ExtensionsContainer) String() string {
887 return protoimpl.X.MessageStringOf(x)
888}
889
890func (*ExtensionsContainer) ProtoMessage() {}
891
892func (x *ExtensionsContainer) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700893 return file_pb2_test_proto_msgTypes[10].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700894}
Joe Tsai8e506a82019-03-16 00:05:34 -0700895
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700896func (m *ExtensionsContainer) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700897 return file_pb2_test_proto_msgTypes[10].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700898}
899
Joe Tsai8e506a82019-03-16 00:05:34 -0700900// Deprecated: Use ExtensionsContainer.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800901func (*ExtensionsContainer) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700902 return file_pb2_test_proto_rawDescGZIP(), []int{10}
Herbie Ong8170d692019-02-13 14:13:21 -0800903}
904
Herbie Ong8170d692019-02-13 14:13:21 -0800905type MessageSet struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700906 XXX_NoUnkeyedLiteral struct{} `json:"-"`
907 XXX_InternalExtensions protoimpl.ExtensionFields `protobuf_messageset:"1" json:"-"`
908 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
909 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800910}
911
Joe Tsai61968ce2019-04-01 12:59:24 -0700912func (x *MessageSet) Reset() {
913 *x = MessageSet{}
Herbie Ong8170d692019-02-13 14:13:21 -0800914}
Joe Tsai61968ce2019-04-01 12:59:24 -0700915
916func (x *MessageSet) String() string {
917 return protoimpl.X.MessageStringOf(x)
918}
919
920func (*MessageSet) ProtoMessage() {}
921
922func (x *MessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700923 return file_pb2_test_proto_msgTypes[11].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700924}
Joe Tsai8e506a82019-03-16 00:05:34 -0700925
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700926func (m *MessageSet) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700927 return file_pb2_test_proto_msgTypes[11].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700928}
929
Joe Tsai8e506a82019-03-16 00:05:34 -0700930// Deprecated: Use MessageSet.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800931func (*MessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700932 return file_pb2_test_proto_rawDescGZIP(), []int{11}
Herbie Ong8170d692019-02-13 14:13:21 -0800933}
934
Joe Tsai4fddeba2019-03-20 18:29:32 -0700935var extRange_MessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800936 {Start: 4, End: 2147483646},
937}
938
Joe Tsai8e506a82019-03-16 00:05:34 -0700939// Deprecated: Use MessageSet.ProtoReflect.Type.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700940func (*MessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -0800941 return extRange_MessageSet
942}
943
Herbie Ong8170d692019-02-13 14:13:21 -0800944type MessageSetExtension struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700945 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
946 XXX_NoUnkeyedLiteral struct{} `json:"-"`
947 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
948 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800949}
950
Joe Tsai61968ce2019-04-01 12:59:24 -0700951func (x *MessageSetExtension) Reset() {
952 *x = MessageSetExtension{}
Herbie Ong8170d692019-02-13 14:13:21 -0800953}
Joe Tsai61968ce2019-04-01 12:59:24 -0700954
955func (x *MessageSetExtension) String() string {
956 return protoimpl.X.MessageStringOf(x)
957}
958
959func (*MessageSetExtension) ProtoMessage() {}
960
961func (x *MessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700962 return file_pb2_test_proto_msgTypes[12].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700963}
Joe Tsai8e506a82019-03-16 00:05:34 -0700964
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700965func (m *MessageSetExtension) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700966 return file_pb2_test_proto_msgTypes[12].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700967}
968
Joe Tsai8e506a82019-03-16 00:05:34 -0700969// Deprecated: Use MessageSetExtension.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800970func (*MessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700971 return file_pb2_test_proto_rawDescGZIP(), []int{12}
Herbie Ong8170d692019-02-13 14:13:21 -0800972}
973
Joe Tsai61968ce2019-04-01 12:59:24 -0700974func (x *MessageSetExtension) GetOptString() string {
975 if x != nil && x.OptString != nil {
976 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800977 }
978 return ""
979}
980
981type FakeMessageSet struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -0700982 XXX_NoUnkeyedLiteral struct{} `json:"-"`
983 XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
984 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
985 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -0800986}
987
Joe Tsai61968ce2019-04-01 12:59:24 -0700988func (x *FakeMessageSet) Reset() {
989 *x = FakeMessageSet{}
Herbie Ong8170d692019-02-13 14:13:21 -0800990}
Joe Tsai61968ce2019-04-01 12:59:24 -0700991
992func (x *FakeMessageSet) String() string {
993 return protoimpl.X.MessageStringOf(x)
994}
995
996func (*FakeMessageSet) ProtoMessage() {}
997
998func (x *FakeMessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700999 return file_pb2_test_proto_msgTypes[13].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001000}
Joe Tsai8e506a82019-03-16 00:05:34 -07001001
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001002func (m *FakeMessageSet) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001003 return file_pb2_test_proto_msgTypes[13].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001004}
1005
Joe Tsai8e506a82019-03-16 00:05:34 -07001006// Deprecated: Use FakeMessageSet.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001007func (*FakeMessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001008 return file_pb2_test_proto_rawDescGZIP(), []int{13}
Herbie Ong8170d692019-02-13 14:13:21 -08001009}
1010
Joe Tsai4fddeba2019-03-20 18:29:32 -07001011var extRange_FakeMessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -08001012 {Start: 4, End: 536870911},
1013}
1014
Joe Tsai8e506a82019-03-16 00:05:34 -07001015// Deprecated: Use FakeMessageSet.ProtoReflect.Type.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -07001016func (*FakeMessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -08001017 return extRange_FakeMessageSet
1018}
1019
Herbie Ong8170d692019-02-13 14:13:21 -08001020type FakeMessageSetExtension struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -07001021 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1022 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1023 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
1024 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -08001025}
1026
Joe Tsai61968ce2019-04-01 12:59:24 -07001027func (x *FakeMessageSetExtension) Reset() {
1028 *x = FakeMessageSetExtension{}
Herbie Ong8170d692019-02-13 14:13:21 -08001029}
Joe Tsai61968ce2019-04-01 12:59:24 -07001030
1031func (x *FakeMessageSetExtension) String() string {
1032 return protoimpl.X.MessageStringOf(x)
1033}
1034
1035func (*FakeMessageSetExtension) ProtoMessage() {}
1036
1037func (x *FakeMessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -07001038 return file_pb2_test_proto_msgTypes[14].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001039}
Joe Tsai8e506a82019-03-16 00:05:34 -07001040
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001041func (m *FakeMessageSetExtension) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001042 return file_pb2_test_proto_msgTypes[14].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001043}
1044
Joe Tsai8e506a82019-03-16 00:05:34 -07001045// Deprecated: Use FakeMessageSetExtension.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001046func (*FakeMessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001047 return file_pb2_test_proto_rawDescGZIP(), []int{14}
Herbie Ong8170d692019-02-13 14:13:21 -08001048}
1049
Joe Tsai61968ce2019-04-01 12:59:24 -07001050func (x *FakeMessageSetExtension) GetOptString() string {
1051 if x != nil && x.OptString != nil {
1052 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001053 }
1054 return ""
1055}
1056
1057// Message contains well-known type fields.
1058type KnownTypes struct {
Joe Tsaia95b29f2019-05-16 12:47:20 -07001059 OptBool *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
1060 OptInt32 *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
1061 OptInt64 *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
1062 OptUint32 *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
1063 OptUint64 *wrapperspb.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
1064 OptFloat *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
1065 OptDouble *wrapperspb.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
1066 OptString *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1067 OptBytes *wrapperspb.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
1068 OptDuration *durationpb.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"`
1069 OptTimestamp *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"`
1070 OptStruct *structpb.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"`
1071 OptList *structpb.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"`
1072 OptValue *structpb.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"`
1073 OptNull *structpb.NullValue `protobuf:"varint,28,opt,name=opt_null,json=optNull,enum=google.protobuf.NullValue" json:"opt_null,omitempty"`
1074 OptEmpty *emptypb.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"`
1075 OptAny *anypb.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
1076 OptFieldmask *fieldmaskpb.FieldMask `protobuf:"bytes,40,opt,name=opt_fieldmask,json=optFieldmask" json:"opt_fieldmask,omitempty"`
Joe Tsai5e71dc92019-04-16 13:22:20 -07001077 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1078 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
1079 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -08001080}
1081
Joe Tsai61968ce2019-04-01 12:59:24 -07001082func (x *KnownTypes) Reset() {
1083 *x = KnownTypes{}
Herbie Ong8170d692019-02-13 14:13:21 -08001084}
Joe Tsai61968ce2019-04-01 12:59:24 -07001085
1086func (x *KnownTypes) String() string {
1087 return protoimpl.X.MessageStringOf(x)
1088}
1089
1090func (*KnownTypes) ProtoMessage() {}
1091
1092func (x *KnownTypes) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -07001093 return file_pb2_test_proto_msgTypes[15].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001094}
Joe Tsai8e506a82019-03-16 00:05:34 -07001095
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001096func (m *KnownTypes) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001097 return file_pb2_test_proto_msgTypes[15].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001098}
1099
Joe Tsai8e506a82019-03-16 00:05:34 -07001100// Deprecated: Use KnownTypes.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001101func (*KnownTypes) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001102 return file_pb2_test_proto_rawDescGZIP(), []int{15}
Herbie Ong8170d692019-02-13 14:13:21 -08001103}
1104
Joe Tsaia95b29f2019-05-16 12:47:20 -07001105func (x *KnownTypes) GetOptBool() *wrapperspb.BoolValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001106 if x != nil {
1107 return x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -08001108 }
1109 return nil
1110}
1111
Joe Tsaia95b29f2019-05-16 12:47:20 -07001112func (x *KnownTypes) GetOptInt32() *wrapperspb.Int32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001113 if x != nil {
1114 return x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -08001115 }
1116 return nil
1117}
1118
Joe Tsaia95b29f2019-05-16 12:47:20 -07001119func (x *KnownTypes) GetOptInt64() *wrapperspb.Int64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001120 if x != nil {
1121 return x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -08001122 }
1123 return nil
1124}
1125
Joe Tsaia95b29f2019-05-16 12:47:20 -07001126func (x *KnownTypes) GetOptUint32() *wrapperspb.UInt32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001127 if x != nil {
1128 return x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -08001129 }
1130 return nil
1131}
1132
Joe Tsaia95b29f2019-05-16 12:47:20 -07001133func (x *KnownTypes) GetOptUint64() *wrapperspb.UInt64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001134 if x != nil {
1135 return x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -08001136 }
1137 return nil
1138}
1139
Joe Tsaia95b29f2019-05-16 12:47:20 -07001140func (x *KnownTypes) GetOptFloat() *wrapperspb.FloatValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001141 if x != nil {
1142 return x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -08001143 }
1144 return nil
1145}
1146
Joe Tsaia95b29f2019-05-16 12:47:20 -07001147func (x *KnownTypes) GetOptDouble() *wrapperspb.DoubleValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001148 if x != nil {
1149 return x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -08001150 }
1151 return nil
1152}
1153
Joe Tsaia95b29f2019-05-16 12:47:20 -07001154func (x *KnownTypes) GetOptString() *wrapperspb.StringValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001155 if x != nil {
1156 return x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001157 }
1158 return nil
1159}
1160
Joe Tsaia95b29f2019-05-16 12:47:20 -07001161func (x *KnownTypes) GetOptBytes() *wrapperspb.BytesValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001162 if x != nil {
1163 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -08001164 }
1165 return nil
1166}
1167
Joe Tsaia95b29f2019-05-16 12:47:20 -07001168func (x *KnownTypes) GetOptDuration() *durationpb.Duration {
Joe Tsai61968ce2019-04-01 12:59:24 -07001169 if x != nil {
1170 return x.OptDuration
Herbie Ong8170d692019-02-13 14:13:21 -08001171 }
1172 return nil
1173}
1174
Joe Tsaia95b29f2019-05-16 12:47:20 -07001175func (x *KnownTypes) GetOptTimestamp() *timestamppb.Timestamp {
Joe Tsai61968ce2019-04-01 12:59:24 -07001176 if x != nil {
1177 return x.OptTimestamp
Herbie Ong8170d692019-02-13 14:13:21 -08001178 }
1179 return nil
1180}
1181
Joe Tsaia95b29f2019-05-16 12:47:20 -07001182func (x *KnownTypes) GetOptStruct() *structpb.Struct {
Joe Tsai61968ce2019-04-01 12:59:24 -07001183 if x != nil {
1184 return x.OptStruct
Herbie Ong8170d692019-02-13 14:13:21 -08001185 }
1186 return nil
1187}
1188
Joe Tsaia95b29f2019-05-16 12:47:20 -07001189func (x *KnownTypes) GetOptList() *structpb.ListValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001190 if x != nil {
1191 return x.OptList
Herbie Ong8170d692019-02-13 14:13:21 -08001192 }
1193 return nil
1194}
1195
Joe Tsaia95b29f2019-05-16 12:47:20 -07001196func (x *KnownTypes) GetOptValue() *structpb.Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001197 if x != nil {
1198 return x.OptValue
Herbie Ong8170d692019-02-13 14:13:21 -08001199 }
1200 return nil
1201}
1202
Joe Tsaia95b29f2019-05-16 12:47:20 -07001203func (x *KnownTypes) GetOptNull() structpb.NullValue {
Herbie Ong300b9fe2019-03-29 15:42:20 -07001204 if x != nil && x.OptNull != nil {
1205 return *x.OptNull
1206 }
Joe Tsaia95b29f2019-05-16 12:47:20 -07001207 return structpb.NullValue_NULL_VALUE
Herbie Ong300b9fe2019-03-29 15:42:20 -07001208}
1209
Joe Tsaia95b29f2019-05-16 12:47:20 -07001210func (x *KnownTypes) GetOptEmpty() *emptypb.Empty {
Joe Tsai61968ce2019-04-01 12:59:24 -07001211 if x != nil {
1212 return x.OptEmpty
Herbie Ong8170d692019-02-13 14:13:21 -08001213 }
1214 return nil
1215}
1216
Joe Tsaia95b29f2019-05-16 12:47:20 -07001217func (x *KnownTypes) GetOptAny() *anypb.Any {
Joe Tsai61968ce2019-04-01 12:59:24 -07001218 if x != nil {
1219 return x.OptAny
Herbie Ong8170d692019-02-13 14:13:21 -08001220 }
1221 return nil
1222}
1223
Joe Tsaia95b29f2019-05-16 12:47:20 -07001224func (x *KnownTypes) GetOptFieldmask() *fieldmaskpb.FieldMask {
Joe Tsai61968ce2019-04-01 12:59:24 -07001225 if x != nil {
1226 return x.OptFieldmask
Herbie Ong0b0f4032019-03-18 19:06:15 -07001227 }
1228 return nil
1229}
1230
Herbie Ong8170d692019-02-13 14:13:21 -08001231type Nests_OptGroup struct {
1232 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1233 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
1234 Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,3,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
1235 XXX_NoUnkeyedLiteral struct{} `json:"-"`
Joe Tsai5e71dc92019-04-16 13:22:20 -07001236 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
1237 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -08001238}
1239
Joe Tsai61968ce2019-04-01 12:59:24 -07001240func (x *Nests_OptGroup) Reset() {
1241 *x = Nests_OptGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001242}
Joe Tsai61968ce2019-04-01 12:59:24 -07001243
1244func (x *Nests_OptGroup) String() string {
1245 return protoimpl.X.MessageStringOf(x)
1246}
1247
1248func (*Nests_OptGroup) ProtoMessage() {}
1249
1250func (x *Nests_OptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -07001251 return file_pb2_test_proto_msgTypes[16].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001252}
Joe Tsai8e506a82019-03-16 00:05:34 -07001253
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001254func (m *Nests_OptGroup) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001255 return file_pb2_test_proto_msgTypes[16].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001256}
1257
Joe Tsai8e506a82019-03-16 00:05:34 -07001258// Deprecated: Use Nests_OptGroup.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001259func (*Nests_OptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001260 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001261}
1262
Joe Tsai61968ce2019-04-01 12:59:24 -07001263func (x *Nests_OptGroup) GetOptString() string {
1264 if x != nil && x.OptString != nil {
1265 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001266 }
1267 return ""
1268}
1269
Joe Tsai61968ce2019-04-01 12:59:24 -07001270func (x *Nests_OptGroup) GetOptNested() *Nested {
1271 if x != nil {
1272 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -08001273 }
1274 return nil
1275}
1276
Joe Tsai61968ce2019-04-01 12:59:24 -07001277func (x *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup {
1278 if x != nil {
1279 return x.Optnestedgroup
Herbie Ong8170d692019-02-13 14:13:21 -08001280 }
1281 return nil
1282}
1283
1284type Nests_RptGroup struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -07001285 RptString []string `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
1286 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1287 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
1288 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -08001289}
1290
Joe Tsai61968ce2019-04-01 12:59:24 -07001291func (x *Nests_RptGroup) Reset() {
1292 *x = Nests_RptGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001293}
Joe Tsai61968ce2019-04-01 12:59:24 -07001294
1295func (x *Nests_RptGroup) String() string {
1296 return protoimpl.X.MessageStringOf(x)
1297}
1298
1299func (*Nests_RptGroup) ProtoMessage() {}
1300
1301func (x *Nests_RptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -07001302 return file_pb2_test_proto_msgTypes[17].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001303}
Joe Tsai8e506a82019-03-16 00:05:34 -07001304
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001305func (m *Nests_RptGroup) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001306 return file_pb2_test_proto_msgTypes[17].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001307}
1308
Joe Tsai8e506a82019-03-16 00:05:34 -07001309// Deprecated: Use Nests_RptGroup.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001310func (*Nests_RptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001311 return file_pb2_test_proto_rawDescGZIP(), []int{4, 1}
Herbie Ong8170d692019-02-13 14:13:21 -08001312}
1313
Joe Tsai61968ce2019-04-01 12:59:24 -07001314func (x *Nests_RptGroup) GetRptString() []string {
1315 if x != nil {
1316 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -08001317 }
1318 return nil
1319}
1320
1321type Nests_OptGroup_OptNestedGroup struct {
Joe Tsai5e71dc92019-04-16 13:22:20 -07001322 OptFixed32 *uint32 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
1323 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1324 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
1325 XXX_sizecache protoimpl.SizeCache `json:"-"`
Herbie Ong8170d692019-02-13 14:13:21 -08001326}
1327
Joe Tsai61968ce2019-04-01 12:59:24 -07001328func (x *Nests_OptGroup_OptNestedGroup) Reset() {
1329 *x = Nests_OptGroup_OptNestedGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001330}
Joe Tsai61968ce2019-04-01 12:59:24 -07001331
1332func (x *Nests_OptGroup_OptNestedGroup) String() string {
1333 return protoimpl.X.MessageStringOf(x)
1334}
1335
1336func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {}
1337
1338func (x *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -07001339 return file_pb2_test_proto_msgTypes[18].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001340}
Joe Tsai8e506a82019-03-16 00:05:34 -07001341
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001342func (m *Nests_OptGroup_OptNestedGroup) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -07001343 return file_pb2_test_proto_msgTypes[18].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -07001344}
1345
Joe Tsai8e506a82019-03-16 00:05:34 -07001346// Deprecated: Use Nests_OptGroup_OptNestedGroup.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001347func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001348 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001349}
1350
Joe Tsai61968ce2019-04-01 12:59:24 -07001351func (x *Nests_OptGroup_OptNestedGroup) GetOptFixed32() uint32 {
1352 if x != nil && x.OptFixed32 != nil {
1353 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -08001354 }
1355 return 0
1356}
1357
Joe Tsai7ca70982019-04-15 13:57:56 -07001358var file_pb2_test_proto_extDescs = []protoiface.ExtensionDescV1{
Joe Tsaiafb455e2019-03-14 16:08:22 -07001359 {
1360 ExtendedType: (*Extensions)(nil),
1361 ExtensionType: (*bool)(nil),
1362 Field: 21,
1363 Name: "pb2.opt_ext_bool",
1364 Tag: "varint,21,opt,name=opt_ext_bool",
1365 Filename: "pb2/test.proto",
1366 },
1367 {
1368 ExtendedType: (*Extensions)(nil),
1369 ExtensionType: (*string)(nil),
1370 Field: 22,
1371 Name: "pb2.opt_ext_string",
1372 Tag: "bytes,22,opt,name=opt_ext_string",
1373 Filename: "pb2/test.proto",
1374 },
1375 {
1376 ExtendedType: (*Extensions)(nil),
1377 ExtensionType: (*Enum)(nil),
1378 Field: 23,
1379 Name: "pb2.opt_ext_enum",
1380 Tag: "varint,23,opt,name=opt_ext_enum,enum=pb2.Enum",
1381 Filename: "pb2/test.proto",
1382 },
1383 {
1384 ExtendedType: (*Extensions)(nil),
1385 ExtensionType: (*Nested)(nil),
1386 Field: 24,
1387 Name: "pb2.opt_ext_nested",
1388 Tag: "bytes,24,opt,name=opt_ext_nested",
1389 Filename: "pb2/test.proto",
1390 },
1391 {
1392 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001393 ExtensionType: (*PartialRequired)(nil),
1394 Field: 25,
1395 Name: "pb2.opt_ext_partial",
1396 Tag: "bytes,25,opt,name=opt_ext_partial",
1397 Filename: "pb2/test.proto",
1398 },
1399 {
1400 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001401 ExtensionType: ([]uint32)(nil),
1402 Field: 31,
1403 Name: "pb2.rpt_ext_fixed32",
1404 Tag: "fixed32,31,rep,name=rpt_ext_fixed32",
1405 Filename: "pb2/test.proto",
1406 },
1407 {
1408 ExtendedType: (*Extensions)(nil),
1409 ExtensionType: ([]Enum)(nil),
1410 Field: 32,
1411 Name: "pb2.rpt_ext_enum",
1412 Tag: "varint,32,rep,name=rpt_ext_enum,enum=pb2.Enum",
1413 Filename: "pb2/test.proto",
1414 },
1415 {
1416 ExtendedType: (*Extensions)(nil),
1417 ExtensionType: ([]*Nested)(nil),
1418 Field: 33,
1419 Name: "pb2.rpt_ext_nested",
1420 Tag: "bytes,33,rep,name=rpt_ext_nested",
1421 Filename: "pb2/test.proto",
1422 },
1423 {
1424 ExtendedType: (*MessageSet)(nil),
1425 ExtensionType: (*FakeMessageSetExtension)(nil),
1426 Field: 50,
1427 Name: "pb2.",
1428 Tag: "bytes,50,opt,name=message_set_extension",
1429 Filename: "pb2/test.proto",
1430 },
1431 {
1432 ExtendedType: (*Extensions)(nil),
1433 ExtensionType: (*bool)(nil),
1434 Field: 51,
1435 Name: "pb2.ExtensionsContainer.opt_ext_bool",
1436 Tag: "varint,51,opt,name=opt_ext_bool",
1437 Filename: "pb2/test.proto",
1438 },
1439 {
1440 ExtendedType: (*Extensions)(nil),
1441 ExtensionType: (*string)(nil),
1442 Field: 52,
1443 Name: "pb2.ExtensionsContainer.opt_ext_string",
1444 Tag: "bytes,52,opt,name=opt_ext_string",
1445 Filename: "pb2/test.proto",
1446 },
1447 {
1448 ExtendedType: (*Extensions)(nil),
1449 ExtensionType: (*Enum)(nil),
1450 Field: 53,
1451 Name: "pb2.ExtensionsContainer.opt_ext_enum",
1452 Tag: "varint,53,opt,name=opt_ext_enum,enum=pb2.Enum",
1453 Filename: "pb2/test.proto",
1454 },
1455 {
1456 ExtendedType: (*Extensions)(nil),
1457 ExtensionType: (*Nested)(nil),
1458 Field: 54,
1459 Name: "pb2.ExtensionsContainer.opt_ext_nested",
1460 Tag: "bytes,54,opt,name=opt_ext_nested",
1461 Filename: "pb2/test.proto",
1462 },
1463 {
1464 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001465 ExtensionType: (*PartialRequired)(nil),
1466 Field: 55,
1467 Name: "pb2.ExtensionsContainer.opt_ext_partial",
1468 Tag: "bytes,55,opt,name=opt_ext_partial",
1469 Filename: "pb2/test.proto",
1470 },
1471 {
1472 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001473 ExtensionType: ([]string)(nil),
1474 Field: 61,
1475 Name: "pb2.ExtensionsContainer.rpt_ext_string",
1476 Tag: "bytes,61,rep,name=rpt_ext_string",
1477 Filename: "pb2/test.proto",
1478 },
1479 {
1480 ExtendedType: (*Extensions)(nil),
1481 ExtensionType: ([]Enum)(nil),
1482 Field: 62,
1483 Name: "pb2.ExtensionsContainer.rpt_ext_enum",
1484 Tag: "varint,62,rep,name=rpt_ext_enum,enum=pb2.Enum",
1485 Filename: "pb2/test.proto",
1486 },
1487 {
1488 ExtendedType: (*Extensions)(nil),
1489 ExtensionType: ([]*Nested)(nil),
1490 Field: 63,
1491 Name: "pb2.ExtensionsContainer.rpt_ext_nested",
1492 Tag: "bytes,63,rep,name=rpt_ext_nested",
1493 Filename: "pb2/test.proto",
1494 },
1495 {
1496 ExtendedType: (*MessageSet)(nil),
1497 ExtensionType: (*MessageSetExtension)(nil),
1498 Field: 10,
1499 Name: "pb2.MessageSetExtension",
1500 Tag: "bytes,10,opt,name=message_set_extension",
1501 Filename: "pb2/test.proto",
1502 },
1503 {
1504 ExtendedType: (*MessageSet)(nil),
1505 ExtensionType: (*MessageSetExtension)(nil),
1506 Field: 20,
1507 Name: "pb2.MessageSetExtension.not_message_set_extension",
1508 Tag: "bytes,20,opt,name=not_message_set_extension",
1509 Filename: "pb2/test.proto",
1510 },
1511 {
1512 ExtendedType: (*MessageSet)(nil),
1513 ExtensionType: (*Nested)(nil),
1514 Field: 30,
1515 Name: "pb2.MessageSetExtension.ext_nested",
1516 Tag: "bytes,30,opt,name=ext_nested",
1517 Filename: "pb2/test.proto",
1518 },
1519 {
1520 ExtendedType: (*FakeMessageSet)(nil),
1521 ExtensionType: (*FakeMessageSetExtension)(nil),
1522 Field: 10,
1523 Name: "pb2.FakeMessageSetExtension.message_set_extension",
1524 Tag: "bytes,10,opt,name=message_set_extension",
1525 Filename: "pb2/test.proto",
1526 },
Herbie Ong8170d692019-02-13 14:13:21 -08001527}
Joe Tsaiafb455e2019-03-14 16:08:22 -07001528var (
1529 // extend pb2.Extensions { optional bool opt_ext_bool = 21; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001530 E_OptExtBool = &file_pb2_test_proto_extDescs[0]
Herbie Ong8170d692019-02-13 14:13:21 -08001531
Joe Tsaiafb455e2019-03-14 16:08:22 -07001532 // extend pb2.Extensions { optional string opt_ext_string = 22; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001533 E_OptExtString = &file_pb2_test_proto_extDescs[1]
Herbie Ong8170d692019-02-13 14:13:21 -08001534
Joe Tsaiafb455e2019-03-14 16:08:22 -07001535 // extend pb2.Extensions { optional pb2.Enum opt_ext_enum = 23; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001536 E_OptExtEnum = &file_pb2_test_proto_extDescs[2]
Herbie Ong8170d692019-02-13 14:13:21 -08001537
Joe Tsaiafb455e2019-03-14 16:08:22 -07001538 // extend pb2.Extensions { optional pb2.Nested opt_ext_nested = 24; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001539 E_OptExtNested = &file_pb2_test_proto_extDescs[3]
Herbie Ong8170d692019-02-13 14:13:21 -08001540
Herbie Ong09b28a92019-04-03 15:42:41 -07001541 // extend pb2.Extensions { optional pb2.PartialRequired opt_ext_partial = 25; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001542 E_OptExtPartial = &file_pb2_test_proto_extDescs[4]
Herbie Ong09b28a92019-04-03 15:42:41 -07001543
Joe Tsaiafb455e2019-03-14 16:08:22 -07001544 // extend pb2.Extensions { repeated fixed32 rpt_ext_fixed32 = 31; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001545 E_RptExtFixed32 = &file_pb2_test_proto_extDescs[5]
Herbie Ong8170d692019-02-13 14:13:21 -08001546
Joe Tsaiafb455e2019-03-14 16:08:22 -07001547 // extend pb2.Extensions { repeated pb2.Enum rpt_ext_enum = 32; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001548 E_RptExtEnum = &file_pb2_test_proto_extDescs[6]
Herbie Ong8170d692019-02-13 14:13:21 -08001549
Joe Tsaiafb455e2019-03-14 16:08:22 -07001550 // extend pb2.Extensions { repeated pb2.Nested rpt_ext_nested = 33; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001551 E_RptExtNested = &file_pb2_test_proto_extDescs[7]
Herbie Ong8170d692019-02-13 14:13:21 -08001552
Joe Tsaiafb455e2019-03-14 16:08:22 -07001553 // extend pb2.MessageSet { optional pb2.FakeMessageSetExtension message_set_extension = 50; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001554 E_MessageSetExtension = &file_pb2_test_proto_extDescs[8]
Herbie Ong8170d692019-02-13 14:13:21 -08001555
Joe Tsaiafb455e2019-03-14 16:08:22 -07001556 // extend pb2.Extensions { optional bool opt_ext_bool = 51; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001557 E_ExtensionsContainer_OptExtBool = &file_pb2_test_proto_extDescs[9]
Herbie Ong8170d692019-02-13 14:13:21 -08001558
Joe Tsaiafb455e2019-03-14 16:08:22 -07001559 // extend pb2.Extensions { optional string opt_ext_string = 52; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001560 E_ExtensionsContainer_OptExtString = &file_pb2_test_proto_extDescs[10]
Herbie Ong8170d692019-02-13 14:13:21 -08001561
Joe Tsaiafb455e2019-03-14 16:08:22 -07001562 // extend pb2.Extensions { optional pb2.Enum opt_ext_enum = 53; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001563 E_ExtensionsContainer_OptExtEnum = &file_pb2_test_proto_extDescs[11]
Herbie Ong8170d692019-02-13 14:13:21 -08001564
Joe Tsaiafb455e2019-03-14 16:08:22 -07001565 // extend pb2.Extensions { optional pb2.Nested opt_ext_nested = 54; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001566 E_ExtensionsContainer_OptExtNested = &file_pb2_test_proto_extDescs[12]
Herbie Ong09b28a92019-04-03 15:42:41 -07001567
1568 // extend pb2.Extensions { optional pb2.PartialRequired opt_ext_partial = 55; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001569 E_ExtensionsContainer_OptExtPartial = &file_pb2_test_proto_extDescs[13]
Herbie Ong8170d692019-02-13 14:13:21 -08001570
Joe Tsaiafb455e2019-03-14 16:08:22 -07001571 // extend pb2.Extensions { repeated string rpt_ext_string = 61; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001572 E_ExtensionsContainer_RptExtString = &file_pb2_test_proto_extDescs[14]
Herbie Ong8170d692019-02-13 14:13:21 -08001573
Joe Tsaiafb455e2019-03-14 16:08:22 -07001574 // extend pb2.Extensions { repeated pb2.Enum rpt_ext_enum = 62; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001575 E_ExtensionsContainer_RptExtEnum = &file_pb2_test_proto_extDescs[15]
Herbie Ong8170d692019-02-13 14:13:21 -08001576
Joe Tsaiafb455e2019-03-14 16:08:22 -07001577 // extend pb2.Extensions { repeated pb2.Nested rpt_ext_nested = 63; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001578 E_ExtensionsContainer_RptExtNested = &file_pb2_test_proto_extDescs[16]
Herbie Ong8170d692019-02-13 14:13:21 -08001579
Joe Tsaiafb455e2019-03-14 16:08:22 -07001580 // extend pb2.MessageSet { optional pb2.MessageSetExtension message_set_extension = 10; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001581 E_MessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[17]
Herbie Ong8170d692019-02-13 14:13:21 -08001582
Joe Tsaiafb455e2019-03-14 16:08:22 -07001583 // extend pb2.MessageSet { optional pb2.MessageSetExtension not_message_set_extension = 20; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001584 E_MessageSetExtension_NotMessageSetExtension = &file_pb2_test_proto_extDescs[18]
Herbie Ong8170d692019-02-13 14:13:21 -08001585
Joe Tsaiafb455e2019-03-14 16:08:22 -07001586 // extend pb2.MessageSet { optional pb2.Nested ext_nested = 30; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001587 E_MessageSetExtension_ExtNested = &file_pb2_test_proto_extDescs[19]
Herbie Ong8170d692019-02-13 14:13:21 -08001588
Joe Tsaiafb455e2019-03-14 16:08:22 -07001589 // extend pb2.FakeMessageSet { optional pb2.FakeMessageSetExtension message_set_extension = 10; }
Joe Tsai7ca70982019-04-15 13:57:56 -07001590 E_FakeMessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[20]
Joe Tsaiafb455e2019-03-14 16:08:22 -07001591)
Joe Tsai5d72cc22019-03-28 01:13:26 -07001592var File_pb2_test_proto protoreflect.FileDescriptor
1593
Joe Tsai7ca70982019-04-15 13:57:56 -07001594var file_pb2_test_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -08001595 0x0a, 0x0e, 0x70, 0x62, 0x32, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1596 0x12, 0x03, 0x70, 0x62, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
1597 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1598 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001599 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67,
1600 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66,
1601 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1602 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1603 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1604 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1605 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
1606 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
1607 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e,
1608 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
1609 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda,
1610 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70,
1611 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x70,
1612 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74,
1613 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1614 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
1615 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12,
1616 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20,
1617 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d,
Joe Tsai19058432019-02-27 21:46:29 -08001618 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001619 0x28, 0x04, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a,
1620 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28,
1621 0x11, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a,
1622 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12,
1623 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1f, 0x0a, 0x0b, 0x6f,
1624 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07,
1625 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1f, 0x0a, 0x0b,
1626 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28,
1627 0x06, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x21, 0x0a,
1628 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20,
1629 0x01, 0x28, 0x0f, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1630 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
1631 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65,
1632 0x64, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74,
1633 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74,
1634 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15,
1635 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12,
1636 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01,
1637 0x28, 0x0c, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1638 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09,
1639 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xfb, 0x01, 0x0a, 0x05,
1640 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x24, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75,
1641 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1642 0x75, 0x6d, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x08, 0x72,
1643 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1644 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x70, 0x74, 0x45, 0x6e, 0x75,
1645 0x6d, 0x12, 0x3d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f,
1646 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32,
1647 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75,
1648 0x6d, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1649 0x12, 0x3d, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65,
1650 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1651 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1652 0x52, 0x0d, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22,
1653 0x28, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a,
1654 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12,
1655 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x94, 0x02, 0x0a, 0x07, 0x52, 0x65,
1656 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1657 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x07, 0x72, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c,
1658 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20,
1659 0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1b, 0x0a,
1660 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03,
1661 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70,
1662 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09,
1663 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74,
1664 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72,
1665 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f,
1666 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x02, 0x52, 0x08, 0x72, 0x70, 0x74,
1667 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75,
1668 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x72, 0x70, 0x74, 0x44, 0x6f,
1669 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69,
1670 0x6e, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72,
1671 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73,
1672 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73,
1673 0x22, 0x53, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70,
1674 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
1675 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1676 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1677 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e,
1678 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0xd3, 0x03, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12,
1679 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20,
1680 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1681 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x6f,
1682 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x13, 0x2e,
1683 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f,
1684 0x75, 0x70, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x0a,
1685 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
1686 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72,
1687 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x67,
1688 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x32,
1689 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
1690 0x08, 0x72, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0xd4, 0x01, 0x0a, 0x08, 0x4f, 0x70,
1691 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74,
1692 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53,
1693 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1694 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1695 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65,
1696 0x64, 0x12, 0x4a, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72,
1697 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x22, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1698 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4f,
1699 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0e, 0x6f,
1700 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x31, 0x0a,
1701 0x0e, 0x4f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
1702 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x01,
1703 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1704 0x1a, 0x29, 0x0a, 0x08, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a,
1705 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
1706 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x72, 0x65, 0x73,
1707 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0xd9, 0x01, 0x0a, 0x09,
1708 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x71,
1709 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x71,
1710 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x66, 0x69, 0x78,
1711 0x65, 0x64, 0x36, 0x34, 0x18, 0x02, 0x20, 0x02, 0x28, 0x10, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x53,
1712 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x64,
1713 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71,
1714 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74,
1715 0x72, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53,
1716 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x5f, 0x65, 0x6e, 0x75,
1717 0x6d, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1718 0x75, 0x6d, 0x52, 0x07, 0x72, 0x65, 0x71, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x0a, 0x72,
1719 0x65, 0x71, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0b, 0x32,
1720 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72, 0x65,
1721 0x71, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4f, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x69,
1722 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65,
1723 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09,
1724 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1725 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1726 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x33, 0x0a, 0x12, 0x4e, 0x65, 0x73, 0x74,
1727 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d,
1728 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02,
1729 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xee, 0x02,
1730 0x0a, 0x10, 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
1731 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1732 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73,
1733 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52,
1734 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x72, 0x70,
1735 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17,
1736 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52,
1737 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74,
1738 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73,
1739 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1740 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
1741 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72,
1742 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3c,
1743 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04,
1744 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
1745 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x48, 0x00, 0x52,
1746 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x1a, 0x57, 0x0a, 0x10,
1747 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79,
1748 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
1749 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
1750 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69,
1751 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
1752 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0x69,
1753 0x0a, 0x0a, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1754 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1755 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x6f,
1756 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x65, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f,
1757 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e,
1758 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e,
Herbie Ong09b28a92019-04-03 15:42:41 -07001759 0x74, 0x33, 0x32, 0x2a, 0x04, 0x08, 0x14, 0x10, 0x65, 0x22, 0x89, 0x04, 0x0a, 0x13, 0x45, 0x78,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001760 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
1761 0x72, 0x32, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1762 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1763 0x6e, 0x73, 0x18, 0x33, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1764 0x42, 0x6f, 0x6f, 0x6c, 0x32, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1765 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1766 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x34, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f,
1767 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x6f,
1768 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1769 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x35, 0x20, 0x01,
1770 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f,
1771 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74,
1772 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1773 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x36, 0x20, 0x01,
1774 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
Herbie Ong09b28a92019-04-03 15:42:41 -07001775 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x32, 0x4d, 0x0a,
1776 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1777 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1778 0x73, 0x18, 0x37, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61,
1779 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f,
1780 0x70, 0x74, 0x45, 0x78, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x32, 0x35, 0x0a, 0x0e,
1781 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f,
1782 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
1783 0x3d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72,
1784 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65,
1785 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1786 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32,
1787 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75,
1788 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1789 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1790 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32,
1791 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e,
1792 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
1793 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07, 0x3a, 0x02, 0x08,
1794 0x01, 0x22, 0xb6, 0x02, 0x0a, 0x13, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74,
1795 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1796 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1797 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x5d, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73,
1798 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1799 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
1800 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d,
Herbie Ong300b9fe2019-03-29 15:42:20 -07001801 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1802 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78,
Herbie Ong09b28a92019-04-03 15:42:41 -07001803 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x64, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x5f, 0x6d,
1804 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
1805 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
1806 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62,
1807 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
1808 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x6e, 0x6f, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
1809 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x3b, 0x0a,
1810 0x0a, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1811 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x1e, 0x20, 0x01,
1812 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
1813 0x09, 0x65, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0e, 0x46, 0x61,
1814 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04,
1815 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9f, 0x01, 0x0a, 0x17, 0x46, 0x61, 0x6b, 0x65, 0x4d,
1816 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1817 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
1818 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e,
1819 0x67, 0x32, 0x65, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74,
1820 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x32,
1821 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18,
1822 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65,
1823 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1824 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45,
1825 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x9e, 0x08, 0x0a, 0x0a, 0x4b, 0x6e, 0x6f,
1826 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62,
1827 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1828 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c,
1829 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x38,
1830 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28,
1831 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1832 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08,
1833 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1834 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
1835 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e,
1836 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1837 0x36, 0x34, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32,
1838 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1839 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
1840 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
1841 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20,
1842 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1843 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75,
1844 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x38, 0x0a, 0x09,
1845 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
1846 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1847 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70,
1848 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f,
1849 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
1850 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75,
1851 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75,
1852 0x62, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1853 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1854 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1855 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1856 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20,
1857 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1858 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65,
1859 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x70,
1860 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b,
1861 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1862 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6f, 0x70, 0x74,
1863 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
1864 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
1865 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1866 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6f, 0x70, 0x74,
1867 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1868 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
1869 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
1870 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63,
1871 0x74, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x1a, 0x20,
1872 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1873 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
1874 0x07, 0x6f, 0x70, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1875 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f,
1876 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61,
1877 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x35, 0x0a,
1878 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0e, 0x32,
1879 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1880 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74,
1881 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x74,
1882 0x79, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1883 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52,
1884 0x08, 0x6f, 0x70, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x6f, 0x70, 0x74,
1885 0x5f, 0x61, 0x6e, 0x79, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
1886 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
1887 0x52, 0x06, 0x6f, 0x70, 0x74, 0x41, 0x6e, 0x79, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
1888 0x66, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b, 0x32,
1889 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1890 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x6f, 0x70, 0x74,
1891 0x46, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x2a, 0x21, 0x0a, 0x04, 0x45, 0x6e, 0x75,
1892 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57,
1893 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10, 0x0a, 0x3a, 0x31, 0x0a, 0x0c,
1894 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70,
1895 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15, 0x20,
1896 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x3a,
1897 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1898 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1899 0x6e, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1900 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78,
1901 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1902 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1903 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1904 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1905 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1906 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1907 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45,
1908 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a, 0x4d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f,
1909 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1910 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x19, 0x20, 0x01,
1911 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1912 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1913 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x3a, 0x37, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x65,
1914 0x78, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32,
1915 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28,
1916 0x07, 0x52, 0x0d, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1917 0x3a, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d,
1918 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1919 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1920 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42,
1921 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1922 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1923 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65,
1924 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74,
1925 0x65, 0x64, 0x3a, 0x61, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65,
1926 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1927 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x32, 0x20, 0x01,
1928 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73,
1929 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1930 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
Damien Neile89e6242019-05-13 23:55:40 -07001931 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1932 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1933 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73,
1934 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x32,
Herbie Ong8170d692019-02-13 14:13:21 -08001935}
1936
Joe Tsai5d72cc22019-03-28 01:13:26 -07001937var (
Joe Tsai7ca70982019-04-15 13:57:56 -07001938 file_pb2_test_proto_rawDescOnce sync.Once
1939 file_pb2_test_proto_rawDescData = file_pb2_test_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -07001940)
Herbie Ong8170d692019-02-13 14:13:21 -08001941
Joe Tsai7ca70982019-04-15 13:57:56 -07001942func file_pb2_test_proto_rawDescGZIP() []byte {
1943 file_pb2_test_proto_rawDescOnce.Do(func() {
1944 file_pb2_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb2_test_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -07001945 })
Joe Tsai7ca70982019-04-15 13:57:56 -07001946 return file_pb2_test_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -07001947}
Herbie Ong8170d692019-02-13 14:13:21 -08001948
Joe Tsai7ca70982019-04-15 13:57:56 -07001949var file_pb2_test_proto_enumTypes = make([]protoreflect.EnumType, 2)
Joe Tsai4fe96632019-05-22 05:12:36 -04001950var file_pb2_test_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
Joe Tsai7ca70982019-04-15 13:57:56 -07001951var file_pb2_test_proto_goTypes = []interface{}{
Herbie Ong8170d692019-02-13 14:13:21 -08001952 (Enum)(0), // 0: pb2.Enum
1953 (Enums_NestedEnum)(0), // 1: pb2.Enums.NestedEnum
1954 (*Scalars)(nil), // 2: pb2.Scalars
1955 (*Enums)(nil), // 3: pb2.Enums
1956 (*Repeats)(nil), // 4: pb2.Repeats
1957 (*Nested)(nil), // 5: pb2.Nested
1958 (*Nests)(nil), // 6: pb2.Nests
1959 (*Requireds)(nil), // 7: pb2.Requireds
1960 (*PartialRequired)(nil), // 8: pb2.PartialRequired
1961 (*NestedWithRequired)(nil), // 9: pb2.NestedWithRequired
1962 (*IndirectRequired)(nil), // 10: pb2.IndirectRequired
1963 (*Extensions)(nil), // 11: pb2.Extensions
1964 (*ExtensionsContainer)(nil), // 12: pb2.ExtensionsContainer
1965 (*MessageSet)(nil), // 13: pb2.MessageSet
1966 (*MessageSetExtension)(nil), // 14: pb2.MessageSetExtension
1967 (*FakeMessageSet)(nil), // 15: pb2.FakeMessageSet
1968 (*FakeMessageSetExtension)(nil), // 16: pb2.FakeMessageSetExtension
1969 (*KnownTypes)(nil), // 17: pb2.KnownTypes
1970 (*Nests_OptGroup)(nil), // 18: pb2.Nests.OptGroup
1971 (*Nests_RptGroup)(nil), // 19: pb2.Nests.RptGroup
1972 (*Nests_OptGroup_OptNestedGroup)(nil), // 20: pb2.Nests.OptGroup.OptNestedGroup
1973 nil, // 21: pb2.IndirectRequired.StrToNestedEntry
Joe Tsaia95b29f2019-05-16 12:47:20 -07001974 (*wrapperspb.BoolValue)(nil), // 22: google.protobuf.BoolValue
1975 (*wrapperspb.Int32Value)(nil), // 23: google.protobuf.Int32Value
1976 (*wrapperspb.Int64Value)(nil), // 24: google.protobuf.Int64Value
1977 (*wrapperspb.UInt32Value)(nil), // 25: google.protobuf.UInt32Value
1978 (*wrapperspb.UInt64Value)(nil), // 26: google.protobuf.UInt64Value
1979 (*wrapperspb.FloatValue)(nil), // 27: google.protobuf.FloatValue
1980 (*wrapperspb.DoubleValue)(nil), // 28: google.protobuf.DoubleValue
1981 (*wrapperspb.StringValue)(nil), // 29: google.protobuf.StringValue
1982 (*wrapperspb.BytesValue)(nil), // 30: google.protobuf.BytesValue
1983 (*durationpb.Duration)(nil), // 31: google.protobuf.Duration
1984 (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp
1985 (*structpb.Struct)(nil), // 33: google.protobuf.Struct
1986 (*structpb.ListValue)(nil), // 34: google.protobuf.ListValue
1987 (*structpb.Value)(nil), // 35: google.protobuf.Value
1988 (structpb.NullValue)(0), // 36: google.protobuf.NullValue
1989 (*emptypb.Empty)(nil), // 37: google.protobuf.Empty
1990 (*anypb.Any)(nil), // 38: google.protobuf.Any
1991 (*fieldmaskpb.FieldMask)(nil), // 39: google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08001992}
Joe Tsai7ca70982019-04-15 13:57:56 -07001993var file_pb2_test_proto_depIdxs = []int32{
Herbie Ong8170d692019-02-13 14:13:21 -08001994 11, // pb2.opt_ext_bool:extendee -> pb2.Extensions
1995 11, // pb2.opt_ext_string:extendee -> pb2.Extensions
1996 11, // pb2.opt_ext_enum:extendee -> pb2.Extensions
1997 11, // pb2.opt_ext_nested:extendee -> pb2.Extensions
Herbie Ong09b28a92019-04-03 15:42:41 -07001998 11, // pb2.opt_ext_partial:extendee -> pb2.Extensions
Herbie Ong8170d692019-02-13 14:13:21 -08001999 11, // pb2.rpt_ext_fixed32:extendee -> pb2.Extensions
2000 11, // pb2.rpt_ext_enum:extendee -> pb2.Extensions
2001 11, // pb2.rpt_ext_nested:extendee -> pb2.Extensions
2002 13, // pb2.message_set_extension:extendee -> pb2.MessageSet
2003 11, // pb2.ExtensionsContainer.opt_ext_bool:extendee -> pb2.Extensions
2004 11, // pb2.ExtensionsContainer.opt_ext_string:extendee -> pb2.Extensions
2005 11, // pb2.ExtensionsContainer.opt_ext_enum:extendee -> pb2.Extensions
2006 11, // pb2.ExtensionsContainer.opt_ext_nested:extendee -> pb2.Extensions
Herbie Ong09b28a92019-04-03 15:42:41 -07002007 11, // pb2.ExtensionsContainer.opt_ext_partial:extendee -> pb2.Extensions
Herbie Ong8170d692019-02-13 14:13:21 -08002008 11, // pb2.ExtensionsContainer.rpt_ext_string:extendee -> pb2.Extensions
2009 11, // pb2.ExtensionsContainer.rpt_ext_enum:extendee -> pb2.Extensions
2010 11, // pb2.ExtensionsContainer.rpt_ext_nested:extendee -> pb2.Extensions
2011 13, // pb2.MessageSetExtension.message_set_extension:extendee -> pb2.MessageSet
2012 13, // pb2.MessageSetExtension.not_message_set_extension:extendee -> pb2.MessageSet
2013 13, // pb2.MessageSetExtension.ext_nested:extendee -> pb2.MessageSet
2014 15, // pb2.FakeMessageSetExtension.message_set_extension:extendee -> pb2.FakeMessageSet
2015 0, // pb2.Enums.opt_enum:type_name -> pb2.Enum
2016 0, // pb2.Enums.rpt_enum:type_name -> pb2.Enum
2017 1, // pb2.Enums.opt_nested_enum:type_name -> pb2.Enums.NestedEnum
2018 1, // pb2.Enums.rpt_nested_enum:type_name -> pb2.Enums.NestedEnum
2019 5, // pb2.Nested.opt_nested:type_name -> pb2.Nested
2020 5, // pb2.Nests.opt_nested:type_name -> pb2.Nested
2021 18, // pb2.Nests.optgroup:type_name -> pb2.Nests.OptGroup
2022 5, // pb2.Nests.rpt_nested:type_name -> pb2.Nested
2023 19, // pb2.Nests.rptgroup:type_name -> pb2.Nests.RptGroup
2024 0, // pb2.Requireds.req_enum:type_name -> pb2.Enum
2025 5, // pb2.Requireds.req_nested:type_name -> pb2.Nested
2026 9, // pb2.IndirectRequired.opt_nested:type_name -> pb2.NestedWithRequired
2027 9, // pb2.IndirectRequired.rpt_nested:type_name -> pb2.NestedWithRequired
2028 21, // pb2.IndirectRequired.str_to_nested:type_name -> pb2.IndirectRequired.StrToNestedEntry
2029 9, // pb2.IndirectRequired.oneof_nested:type_name -> pb2.NestedWithRequired
2030 22, // pb2.KnownTypes.opt_bool:type_name -> google.protobuf.BoolValue
2031 23, // pb2.KnownTypes.opt_int32:type_name -> google.protobuf.Int32Value
2032 24, // pb2.KnownTypes.opt_int64:type_name -> google.protobuf.Int64Value
2033 25, // pb2.KnownTypes.opt_uint32:type_name -> google.protobuf.UInt32Value
2034 26, // pb2.KnownTypes.opt_uint64:type_name -> google.protobuf.UInt64Value
2035 27, // pb2.KnownTypes.opt_float:type_name -> google.protobuf.FloatValue
2036 28, // pb2.KnownTypes.opt_double:type_name -> google.protobuf.DoubleValue
2037 29, // pb2.KnownTypes.opt_string:type_name -> google.protobuf.StringValue
2038 30, // pb2.KnownTypes.opt_bytes:type_name -> google.protobuf.BytesValue
2039 31, // pb2.KnownTypes.opt_duration:type_name -> google.protobuf.Duration
2040 32, // pb2.KnownTypes.opt_timestamp:type_name -> google.protobuf.Timestamp
2041 33, // pb2.KnownTypes.opt_struct:type_name -> google.protobuf.Struct
2042 34, // pb2.KnownTypes.opt_list:type_name -> google.protobuf.ListValue
2043 35, // pb2.KnownTypes.opt_value:type_name -> google.protobuf.Value
Herbie Ong300b9fe2019-03-29 15:42:20 -07002044 36, // pb2.KnownTypes.opt_null:type_name -> google.protobuf.NullValue
2045 37, // pb2.KnownTypes.opt_empty:type_name -> google.protobuf.Empty
2046 38, // pb2.KnownTypes.opt_any:type_name -> google.protobuf.Any
2047 39, // pb2.KnownTypes.opt_fieldmask:type_name -> google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08002048 5, // pb2.Nests.OptGroup.opt_nested:type_name -> pb2.Nested
2049 20, // pb2.Nests.OptGroup.optnestedgroup:type_name -> pb2.Nests.OptGroup.OptNestedGroup
2050 9, // pb2.IndirectRequired.StrToNestedEntry.value:type_name -> pb2.NestedWithRequired
2051 0, // pb2.opt_ext_enum:type_name -> pb2.Enum
2052 5, // pb2.opt_ext_nested:type_name -> pb2.Nested
Herbie Ong09b28a92019-04-03 15:42:41 -07002053 8, // pb2.opt_ext_partial:type_name -> pb2.PartialRequired
Herbie Ong8170d692019-02-13 14:13:21 -08002054 0, // pb2.rpt_ext_enum:type_name -> pb2.Enum
2055 5, // pb2.rpt_ext_nested:type_name -> pb2.Nested
2056 16, // pb2.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2057 0, // pb2.ExtensionsContainer.opt_ext_enum:type_name -> pb2.Enum
2058 5, // pb2.ExtensionsContainer.opt_ext_nested:type_name -> pb2.Nested
Herbie Ong09b28a92019-04-03 15:42:41 -07002059 8, // pb2.ExtensionsContainer.opt_ext_partial:type_name -> pb2.PartialRequired
Herbie Ong8170d692019-02-13 14:13:21 -08002060 0, // pb2.ExtensionsContainer.rpt_ext_enum:type_name -> pb2.Enum
2061 5, // pb2.ExtensionsContainer.rpt_ext_nested:type_name -> pb2.Nested
2062 14, // pb2.MessageSetExtension.message_set_extension:type_name -> pb2.MessageSetExtension
2063 14, // pb2.MessageSetExtension.not_message_set_extension:type_name -> pb2.MessageSetExtension
2064 5, // pb2.MessageSetExtension.ext_nested:type_name -> pb2.Nested
2065 16, // pb2.FakeMessageSetExtension.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2066}
2067
Joe Tsai7ca70982019-04-15 13:57:56 -07002068func init() { file_pb2_test_proto_init() }
2069func file_pb2_test_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -08002070 if File_pb2_test_proto != nil {
2071 return
2072 }
Herbie Ong09b28a92019-04-03 15:42:41 -07002073 extensionTypes := make([]protoreflect.ExtensionType, 21)
Joe Tsai19058432019-02-27 21:46:29 -08002074 File_pb2_test_proto = protoimpl.FileBuilder{
Joe Tsai7ca70982019-04-15 13:57:56 -07002075 RawDescriptor: file_pb2_test_proto_rawDesc,
2076 GoTypes: file_pb2_test_proto_goTypes,
2077 DependencyIndexes: file_pb2_test_proto_depIdxs,
2078 LegacyExtensions: file_pb2_test_proto_extDescs,
2079 EnumOutputTypes: file_pb2_test_proto_enumTypes,
2080 MessageOutputTypes: file_pb2_test_proto_msgTypes,
Damien Neil6bb8dec2019-03-01 13:22:30 -08002081 ExtensionOutputTypes: extensionTypes,
Joe Tsai35ec98f2019-03-25 14:41:32 -07002082 FilesRegistry: protoregistry.GlobalFiles,
2083 TypesRegistry: protoregistry.GlobalTypes,
Herbie Ong8170d692019-02-13 14:13:21 -08002084 }.Init()
Joe Tsai7ca70982019-04-15 13:57:56 -07002085 file_pb2_test_proto_rawDesc = nil
2086 file_pb2_test_proto_goTypes = nil
2087 file_pb2_test_proto_depIdxs = nil
Herbie Ong8170d692019-02-13 14:13:21 -08002088}