blob: 0662b2f2c03f0097138475dbe2697a7ee1163ee8 [file] [log] [blame]
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001// Copyright 2019 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// Test Protobuf definitions with proto2 syntax.
6
Herbie Ong8170d692019-02-13 14:13:21 -08007// Code generated by protoc-gen-go. DO NOT EDIT.
Joe Tsai19058432019-02-27 21:46:29 -08008// source: pb2/test.proto
Herbie Ong8170d692019-02-13 14:13:21 -08009
10package pb2
11
12import (
Damien Neile89e6242019-05-13 23:55:40 -070013 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
Damien Neile89e6242019-05-13 23:55:40 -070014 protoiface "google.golang.org/protobuf/runtime/protoiface"
15 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
Joe Tsaia95b29f2019-05-16 12:47:20 -070016 anypb "google.golang.org/protobuf/types/known/anypb"
17 durationpb "google.golang.org/protobuf/types/known/durationpb"
18 emptypb "google.golang.org/protobuf/types/known/emptypb"
19 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
20 structpb "google.golang.org/protobuf/types/known/structpb"
21 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
22 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
Joe Tsaiaf570872019-07-14 23:04:40 -070023 reflect "reflect"
Joe Tsai5d72cc22019-03-28 01:13:26 -070024 sync "sync"
Herbie Ong8170d692019-02-13 14:13:21 -080025)
26
Herbie Ong8170d692019-02-13 14:13:21 -080027type Enum int32
28
29const (
30 Enum_ONE Enum = 1
31 Enum_TWO Enum = 2
32 Enum_TEN Enum = 10
33)
34
Joe Tsai9b8a4332019-08-05 18:38:48 -070035// Enum value maps for Enum.
36var (
37 Enum_name = map[int32]string{
38 1: "ONE",
39 2: "TWO",
40 10: "TEN",
41 }
42 Enum_value = map[string]int32{
43 "ONE": 1,
44 "TWO": 2,
45 "TEN": 10,
46 }
47)
Herbie Ong8170d692019-02-13 14:13:21 -080048
49func (x Enum) Enum() *Enum {
Joe Tsai09b5b462019-04-10 15:29:01 -070050 p := new(Enum)
51 *p = x
52 return p
Herbie Ong8170d692019-02-13 14:13:21 -080053}
54
55func (x Enum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -070056 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -080057}
58
Joe Tsai0fc49f82019-05-01 12:29:25 -070059func (Enum) Descriptor() protoreflect.EnumDescriptor {
Damien Neil4401a0d2019-08-06 15:26:36 -070060 return file_pb2_test_proto_enumTypes[0].Descriptor()
Joe Tsai0fc49f82019-05-01 12:29:25 -070061}
62
Joe Tsaid4211502019-07-02 14:58:02 -070063func (Enum) Type() protoreflect.EnumType {
64 return &file_pb2_test_proto_enumTypes[0]
65}
66
Joe Tsai61968ce2019-04-01 12:59:24 -070067func (x Enum) Number() protoreflect.EnumNumber {
68 return protoreflect.EnumNumber(x)
69}
70
Joe Tsai8e506a82019-03-16 00:05:34 -070071// Deprecated: Do not use.
72func (x *Enum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -070073 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -080074 if err != nil {
75 return err
76 }
Joe Tsai8e506a82019-03-16 00:05:34 -070077 *x = Enum(num)
Herbie Ong8170d692019-02-13 14:13:21 -080078 return nil
79}
80
Joe Tsai43761bd2019-07-17 18:06:47 -070081// Deprecated: Use Enum.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -080082func (Enum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -070083 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -080084}
85
86type Enums_NestedEnum int32
87
88const (
89 Enums_UNO Enums_NestedEnum = 1
90 Enums_DOS Enums_NestedEnum = 2
91 Enums_DIEZ Enums_NestedEnum = 10
92)
93
Joe Tsai9b8a4332019-08-05 18:38:48 -070094// Enum value maps for Enums_NestedEnum.
95var (
96 Enums_NestedEnum_name = map[int32]string{
97 1: "UNO",
98 2: "DOS",
99 10: "DIEZ",
100 }
101 Enums_NestedEnum_value = map[string]int32{
102 "UNO": 1,
103 "DOS": 2,
104 "DIEZ": 10,
105 }
106)
Herbie Ong8170d692019-02-13 14:13:21 -0800107
108func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
Joe Tsai09b5b462019-04-10 15:29:01 -0700109 p := new(Enums_NestedEnum)
110 *p = x
111 return p
Herbie Ong8170d692019-02-13 14:13:21 -0800112}
113
114func (x Enums_NestedEnum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700115 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -0800116}
117
Joe Tsai0fc49f82019-05-01 12:29:25 -0700118func (Enums_NestedEnum) Descriptor() protoreflect.EnumDescriptor {
Damien Neil4401a0d2019-08-06 15:26:36 -0700119 return file_pb2_test_proto_enumTypes[1].Descriptor()
Joe Tsai0fc49f82019-05-01 12:29:25 -0700120}
121
Joe Tsaid4211502019-07-02 14:58:02 -0700122func (Enums_NestedEnum) Type() protoreflect.EnumType {
123 return &file_pb2_test_proto_enumTypes[1]
124}
125
Joe Tsai61968ce2019-04-01 12:59:24 -0700126func (x Enums_NestedEnum) Number() protoreflect.EnumNumber {
127 return protoreflect.EnumNumber(x)
128}
129
Joe Tsai8e506a82019-03-16 00:05:34 -0700130// Deprecated: Do not use.
131func (x *Enums_NestedEnum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700132 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -0800133 if err != nil {
134 return err
135 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700136 *x = Enums_NestedEnum(num)
Herbie Ong8170d692019-02-13 14:13:21 -0800137 return nil
138}
139
Joe Tsai43761bd2019-07-17 18:06:47 -0700140// Deprecated: Use Enums_NestedEnum.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800141func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700142 return file_pb2_test_proto_rawDescGZIP(), []int{1, 0}
Herbie Ong8170d692019-02-13 14:13:21 -0800143}
144
145// Scalars contains optional scalar fields.
146type Scalars struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700147 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700148 sizeCache protoimpl.SizeCache
149 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700150
151 OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
152 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
153 OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
154 OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
155 OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
156 OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"`
157 OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"`
158 OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
159 OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"`
160 OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"`
161 OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"`
162 OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
163 OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
164 OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
165 OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800166}
167
Joe Tsai61968ce2019-04-01 12:59:24 -0700168func (x *Scalars) Reset() {
169 *x = Scalars{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700170 if protoimpl.UnsafeEnabled {
171 mi := &file_pb2_test_proto_msgTypes[0]
172 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
173 ms.StoreMessageInfo(mi)
174 }
Herbie Ong8170d692019-02-13 14:13:21 -0800175}
Joe Tsai61968ce2019-04-01 12:59:24 -0700176
177func (x *Scalars) String() string {
178 return protoimpl.X.MessageStringOf(x)
179}
180
181func (*Scalars) ProtoMessage() {}
182
183func (x *Scalars) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700184 mi := &file_pb2_test_proto_msgTypes[0]
185 if protoimpl.UnsafeEnabled && x != nil {
186 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
187 if ms.LoadMessageInfo() == nil {
188 ms.StoreMessageInfo(mi)
189 }
190 return ms
191 }
192 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700193}
Joe Tsai8e506a82019-03-16 00:05:34 -0700194
Joe Tsai43761bd2019-07-17 18:06:47 -0700195// Deprecated: Use Scalars.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800196func (*Scalars) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700197 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -0800198}
199
Joe Tsai61968ce2019-04-01 12:59:24 -0700200func (x *Scalars) GetOptBool() bool {
201 if x != nil && x.OptBool != nil {
202 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800203 }
204 return false
205}
206
Joe Tsai61968ce2019-04-01 12:59:24 -0700207func (x *Scalars) GetOptInt32() int32 {
208 if x != nil && x.OptInt32 != nil {
209 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800210 }
211 return 0
212}
213
Joe Tsai61968ce2019-04-01 12:59:24 -0700214func (x *Scalars) GetOptInt64() int64 {
215 if x != nil && x.OptInt64 != nil {
216 return *x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800217 }
218 return 0
219}
220
Joe Tsai61968ce2019-04-01 12:59:24 -0700221func (x *Scalars) GetOptUint32() uint32 {
222 if x != nil && x.OptUint32 != nil {
223 return *x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800224 }
225 return 0
226}
227
Joe Tsai61968ce2019-04-01 12:59:24 -0700228func (x *Scalars) GetOptUint64() uint64 {
229 if x != nil && x.OptUint64 != nil {
230 return *x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800231 }
232 return 0
233}
234
Joe Tsai61968ce2019-04-01 12:59:24 -0700235func (x *Scalars) GetOptSint32() int32 {
236 if x != nil && x.OptSint32 != nil {
237 return *x.OptSint32
Herbie Ong8170d692019-02-13 14:13:21 -0800238 }
239 return 0
240}
241
Joe Tsai61968ce2019-04-01 12:59:24 -0700242func (x *Scalars) GetOptSint64() int64 {
243 if x != nil && x.OptSint64 != nil {
244 return *x.OptSint64
Herbie Ong8170d692019-02-13 14:13:21 -0800245 }
246 return 0
247}
248
Joe Tsai61968ce2019-04-01 12:59:24 -0700249func (x *Scalars) GetOptFixed32() uint32 {
250 if x != nil && x.OptFixed32 != nil {
251 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800252 }
253 return 0
254}
255
Joe Tsai61968ce2019-04-01 12:59:24 -0700256func (x *Scalars) GetOptFixed64() uint64 {
257 if x != nil && x.OptFixed64 != nil {
258 return *x.OptFixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800259 }
260 return 0
261}
262
Joe Tsai61968ce2019-04-01 12:59:24 -0700263func (x *Scalars) GetOptSfixed32() int32 {
264 if x != nil && x.OptSfixed32 != nil {
265 return *x.OptSfixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800266 }
267 return 0
268}
269
Joe Tsai61968ce2019-04-01 12:59:24 -0700270func (x *Scalars) GetOptSfixed64() int64 {
271 if x != nil && x.OptSfixed64 != nil {
272 return *x.OptSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800273 }
274 return 0
275}
276
Joe Tsai61968ce2019-04-01 12:59:24 -0700277func (x *Scalars) GetOptFloat() float32 {
278 if x != nil && x.OptFloat != nil {
279 return *x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800280 }
281 return 0
282}
283
Joe Tsai61968ce2019-04-01 12:59:24 -0700284func (x *Scalars) GetOptDouble() float64 {
285 if x != nil && x.OptDouble != nil {
286 return *x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800287 }
288 return 0
289}
290
Joe Tsai61968ce2019-04-01 12:59:24 -0700291func (x *Scalars) GetOptBytes() []byte {
292 if x != nil {
293 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800294 }
295 return nil
296}
297
Joe Tsai61968ce2019-04-01 12:59:24 -0700298func (x *Scalars) GetOptString() string {
299 if x != nil && x.OptString != nil {
300 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800301 }
302 return ""
303}
304
305// Message contains enum fields.
306type Enums struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700307 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700308 sizeCache protoimpl.SizeCache
309 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700310
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700311 OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
312 RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"`
313 OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
314 RptNestedEnum []Enums_NestedEnum `protobuf:"varint,4,rep,name=rpt_nested_enum,json=rptNestedEnum,enum=pb2.Enums_NestedEnum" json:"rpt_nested_enum,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800315}
316
Joe Tsai61968ce2019-04-01 12:59:24 -0700317func (x *Enums) Reset() {
318 *x = Enums{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700319 if protoimpl.UnsafeEnabled {
320 mi := &file_pb2_test_proto_msgTypes[1]
321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
322 ms.StoreMessageInfo(mi)
323 }
Herbie Ong8170d692019-02-13 14:13:21 -0800324}
Joe Tsai61968ce2019-04-01 12:59:24 -0700325
326func (x *Enums) String() string {
327 return protoimpl.X.MessageStringOf(x)
328}
329
330func (*Enums) ProtoMessage() {}
331
332func (x *Enums) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700333 mi := &file_pb2_test_proto_msgTypes[1]
334 if protoimpl.UnsafeEnabled && x != nil {
335 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
336 if ms.LoadMessageInfo() == nil {
337 ms.StoreMessageInfo(mi)
338 }
339 return ms
340 }
341 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700342}
Joe Tsai8e506a82019-03-16 00:05:34 -0700343
Joe Tsai43761bd2019-07-17 18:06:47 -0700344// Deprecated: Use Enums.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800345func (*Enums) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700346 return file_pb2_test_proto_rawDescGZIP(), []int{1}
Herbie Ong8170d692019-02-13 14:13:21 -0800347}
348
Joe Tsai61968ce2019-04-01 12:59:24 -0700349func (x *Enums) GetOptEnum() Enum {
350 if x != nil && x.OptEnum != nil {
351 return *x.OptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800352 }
353 return Enum_ONE
354}
355
Joe Tsai61968ce2019-04-01 12:59:24 -0700356func (x *Enums) GetRptEnum() []Enum {
357 if x != nil {
358 return x.RptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800359 }
360 return nil
361}
362
Joe Tsai61968ce2019-04-01 12:59:24 -0700363func (x *Enums) GetOptNestedEnum() Enums_NestedEnum {
364 if x != nil && x.OptNestedEnum != nil {
365 return *x.OptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800366 }
367 return Enums_UNO
368}
369
Joe Tsai61968ce2019-04-01 12:59:24 -0700370func (x *Enums) GetRptNestedEnum() []Enums_NestedEnum {
371 if x != nil {
372 return x.RptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800373 }
374 return nil
375}
376
377// Message contains repeated fields.
378type Repeats struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700379 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700380 sizeCache protoimpl.SizeCache
381 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700382
383 RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
384 RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"`
385 RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"`
386 RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"`
387 RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"`
388 RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"`
389 RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"`
390 RptString []string `protobuf:"bytes,8,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
391 RptBytes [][]byte `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800392}
393
Joe Tsai61968ce2019-04-01 12:59:24 -0700394func (x *Repeats) Reset() {
395 *x = Repeats{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700396 if protoimpl.UnsafeEnabled {
397 mi := &file_pb2_test_proto_msgTypes[2]
398 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
399 ms.StoreMessageInfo(mi)
400 }
Herbie Ong8170d692019-02-13 14:13:21 -0800401}
Joe Tsai61968ce2019-04-01 12:59:24 -0700402
403func (x *Repeats) String() string {
404 return protoimpl.X.MessageStringOf(x)
405}
406
407func (*Repeats) ProtoMessage() {}
408
409func (x *Repeats) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700410 mi := &file_pb2_test_proto_msgTypes[2]
411 if protoimpl.UnsafeEnabled && x != nil {
412 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
413 if ms.LoadMessageInfo() == nil {
414 ms.StoreMessageInfo(mi)
415 }
416 return ms
417 }
418 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700419}
Joe Tsai8e506a82019-03-16 00:05:34 -0700420
Joe Tsai43761bd2019-07-17 18:06:47 -0700421// Deprecated: Use Repeats.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800422func (*Repeats) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700423 return file_pb2_test_proto_rawDescGZIP(), []int{2}
Herbie Ong8170d692019-02-13 14:13:21 -0800424}
425
Joe Tsai61968ce2019-04-01 12:59:24 -0700426func (x *Repeats) GetRptBool() []bool {
427 if x != nil {
428 return x.RptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800429 }
430 return nil
431}
432
Joe Tsai61968ce2019-04-01 12:59:24 -0700433func (x *Repeats) GetRptInt32() []int32 {
434 if x != nil {
435 return x.RptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800436 }
437 return nil
438}
439
Joe Tsai61968ce2019-04-01 12:59:24 -0700440func (x *Repeats) GetRptInt64() []int64 {
441 if x != nil {
442 return x.RptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800443 }
444 return nil
445}
446
Joe Tsai61968ce2019-04-01 12:59:24 -0700447func (x *Repeats) GetRptUint32() []uint32 {
448 if x != nil {
449 return x.RptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800450 }
451 return nil
452}
453
Joe Tsai61968ce2019-04-01 12:59:24 -0700454func (x *Repeats) GetRptUint64() []uint64 {
455 if x != nil {
456 return x.RptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800457 }
458 return nil
459}
460
Joe Tsai61968ce2019-04-01 12:59:24 -0700461func (x *Repeats) GetRptFloat() []float32 {
462 if x != nil {
463 return x.RptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800464 }
465 return nil
466}
467
Joe Tsai61968ce2019-04-01 12:59:24 -0700468func (x *Repeats) GetRptDouble() []float64 {
469 if x != nil {
470 return x.RptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800471 }
472 return nil
473}
474
Joe Tsai61968ce2019-04-01 12:59:24 -0700475func (x *Repeats) GetRptString() []string {
476 if x != nil {
477 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -0800478 }
479 return nil
480}
481
Joe Tsai61968ce2019-04-01 12:59:24 -0700482func (x *Repeats) GetRptBytes() [][]byte {
483 if x != nil {
484 return x.RptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800485 }
486 return nil
487}
488
489// Message type used as submessage.
490type Nested struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700491 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700492 sizeCache protoimpl.SizeCache
493 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700494
495 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
496 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800497}
498
Joe Tsai61968ce2019-04-01 12:59:24 -0700499func (x *Nested) Reset() {
500 *x = Nested{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700501 if protoimpl.UnsafeEnabled {
502 mi := &file_pb2_test_proto_msgTypes[3]
503 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
504 ms.StoreMessageInfo(mi)
505 }
Herbie Ong8170d692019-02-13 14:13:21 -0800506}
Joe Tsai61968ce2019-04-01 12:59:24 -0700507
508func (x *Nested) String() string {
509 return protoimpl.X.MessageStringOf(x)
510}
511
512func (*Nested) ProtoMessage() {}
513
514func (x *Nested) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700515 mi := &file_pb2_test_proto_msgTypes[3]
516 if protoimpl.UnsafeEnabled && x != nil {
517 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
518 if ms.LoadMessageInfo() == nil {
519 ms.StoreMessageInfo(mi)
520 }
521 return ms
522 }
523 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700524}
Joe Tsai8e506a82019-03-16 00:05:34 -0700525
Joe Tsai43761bd2019-07-17 18:06:47 -0700526// Deprecated: Use Nested.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800527func (*Nested) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700528 return file_pb2_test_proto_rawDescGZIP(), []int{3}
Herbie Ong8170d692019-02-13 14:13:21 -0800529}
530
Joe Tsai61968ce2019-04-01 12:59:24 -0700531func (x *Nested) GetOptString() string {
532 if x != nil && x.OptString != nil {
533 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800534 }
535 return ""
536}
537
Joe Tsai61968ce2019-04-01 12:59:24 -0700538func (x *Nested) GetOptNested() *Nested {
539 if x != nil {
540 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800541 }
542 return nil
543}
544
545// Message contains message and group fields.
546type Nests struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700547 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700548 sizeCache protoimpl.SizeCache
549 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700550
551 OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
552 Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"`
553 RptNested []*Nested `protobuf:"bytes,4,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
554 Rptgroup []*Nests_RptGroup `protobuf:"group,5,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800555}
556
Joe Tsai61968ce2019-04-01 12:59:24 -0700557func (x *Nests) Reset() {
558 *x = Nests{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700559 if protoimpl.UnsafeEnabled {
560 mi := &file_pb2_test_proto_msgTypes[4]
561 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
562 ms.StoreMessageInfo(mi)
563 }
Herbie Ong8170d692019-02-13 14:13:21 -0800564}
Joe Tsai61968ce2019-04-01 12:59:24 -0700565
566func (x *Nests) String() string {
567 return protoimpl.X.MessageStringOf(x)
568}
569
570func (*Nests) ProtoMessage() {}
571
572func (x *Nests) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700573 mi := &file_pb2_test_proto_msgTypes[4]
574 if protoimpl.UnsafeEnabled && x != nil {
575 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
576 if ms.LoadMessageInfo() == nil {
577 ms.StoreMessageInfo(mi)
578 }
579 return ms
580 }
581 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700582}
Joe Tsai8e506a82019-03-16 00:05:34 -0700583
Joe Tsai43761bd2019-07-17 18:06:47 -0700584// Deprecated: Use Nests.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800585func (*Nests) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700586 return file_pb2_test_proto_rawDescGZIP(), []int{4}
Herbie Ong8170d692019-02-13 14:13:21 -0800587}
588
Joe Tsai61968ce2019-04-01 12:59:24 -0700589func (x *Nests) GetOptNested() *Nested {
590 if x != nil {
591 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800592 }
593 return nil
594}
595
Joe Tsai61968ce2019-04-01 12:59:24 -0700596func (x *Nests) GetOptgroup() *Nests_OptGroup {
597 if x != nil {
598 return x.Optgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800599 }
600 return nil
601}
602
Joe Tsai61968ce2019-04-01 12:59:24 -0700603func (x *Nests) GetRptNested() []*Nested {
604 if x != nil {
605 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800606 }
607 return nil
608}
609
Joe Tsai61968ce2019-04-01 12:59:24 -0700610func (x *Nests) GetRptgroup() []*Nests_RptGroup {
611 if x != nil {
612 return x.Rptgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800613 }
614 return nil
615}
616
617// Message contains required fields.
618type Requireds struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700619 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700620 sizeCache protoimpl.SizeCache
621 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700622
623 ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"`
624 ReqSfixed64 *int64 `protobuf:"fixed64,2,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"`
625 ReqDouble *float64 `protobuf:"fixed64,3,req,name=req_double,json=reqDouble" json:"req_double,omitempty"`
626 ReqString *string `protobuf:"bytes,4,req,name=req_string,json=reqString" json:"req_string,omitempty"`
627 ReqEnum *Enum `protobuf:"varint,5,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
628 ReqNested *Nested `protobuf:"bytes,6,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800629}
630
Joe Tsai61968ce2019-04-01 12:59:24 -0700631func (x *Requireds) Reset() {
632 *x = Requireds{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700633 if protoimpl.UnsafeEnabled {
634 mi := &file_pb2_test_proto_msgTypes[5]
635 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
636 ms.StoreMessageInfo(mi)
637 }
Herbie Ong8170d692019-02-13 14:13:21 -0800638}
Joe Tsai61968ce2019-04-01 12:59:24 -0700639
640func (x *Requireds) String() string {
641 return protoimpl.X.MessageStringOf(x)
642}
643
644func (*Requireds) ProtoMessage() {}
645
646func (x *Requireds) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700647 mi := &file_pb2_test_proto_msgTypes[5]
648 if protoimpl.UnsafeEnabled && x != nil {
649 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
650 if ms.LoadMessageInfo() == nil {
651 ms.StoreMessageInfo(mi)
652 }
653 return ms
654 }
655 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700656}
Joe Tsai8e506a82019-03-16 00:05:34 -0700657
Joe Tsai43761bd2019-07-17 18:06:47 -0700658// Deprecated: Use Requireds.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800659func (*Requireds) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700660 return file_pb2_test_proto_rawDescGZIP(), []int{5}
Herbie Ong8170d692019-02-13 14:13:21 -0800661}
662
Joe Tsai61968ce2019-04-01 12:59:24 -0700663func (x *Requireds) GetReqBool() bool {
664 if x != nil && x.ReqBool != nil {
665 return *x.ReqBool
Herbie Ong8170d692019-02-13 14:13:21 -0800666 }
667 return false
668}
669
Joe Tsai61968ce2019-04-01 12:59:24 -0700670func (x *Requireds) GetReqSfixed64() int64 {
671 if x != nil && x.ReqSfixed64 != nil {
672 return *x.ReqSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800673 }
674 return 0
675}
676
Joe Tsai61968ce2019-04-01 12:59:24 -0700677func (x *Requireds) GetReqDouble() float64 {
678 if x != nil && x.ReqDouble != nil {
679 return *x.ReqDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800680 }
681 return 0
682}
683
Joe Tsai61968ce2019-04-01 12:59:24 -0700684func (x *Requireds) GetReqString() string {
685 if x != nil && x.ReqString != nil {
686 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800687 }
688 return ""
689}
690
Joe Tsai61968ce2019-04-01 12:59:24 -0700691func (x *Requireds) GetReqEnum() Enum {
692 if x != nil && x.ReqEnum != nil {
693 return *x.ReqEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800694 }
695 return Enum_ONE
696}
697
Joe Tsai61968ce2019-04-01 12:59:24 -0700698func (x *Requireds) GetReqNested() *Nested {
699 if x != nil {
700 return x.ReqNested
Herbie Ong8170d692019-02-13 14:13:21 -0800701 }
702 return nil
703}
704
705// Message contains both required and optional fields.
706type PartialRequired struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700707 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700708 sizeCache protoimpl.SizeCache
709 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700710
711 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
712 OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800713}
714
Joe Tsai61968ce2019-04-01 12:59:24 -0700715func (x *PartialRequired) Reset() {
716 *x = PartialRequired{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700717 if protoimpl.UnsafeEnabled {
718 mi := &file_pb2_test_proto_msgTypes[6]
719 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
720 ms.StoreMessageInfo(mi)
721 }
Herbie Ong8170d692019-02-13 14:13:21 -0800722}
Joe Tsai61968ce2019-04-01 12:59:24 -0700723
724func (x *PartialRequired) String() string {
725 return protoimpl.X.MessageStringOf(x)
726}
727
728func (*PartialRequired) ProtoMessage() {}
729
730func (x *PartialRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700731 mi := &file_pb2_test_proto_msgTypes[6]
732 if protoimpl.UnsafeEnabled && x != nil {
733 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
734 if ms.LoadMessageInfo() == nil {
735 ms.StoreMessageInfo(mi)
736 }
737 return ms
738 }
739 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700740}
Joe Tsai8e506a82019-03-16 00:05:34 -0700741
Joe Tsai43761bd2019-07-17 18:06:47 -0700742// Deprecated: Use PartialRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800743func (*PartialRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700744 return file_pb2_test_proto_rawDescGZIP(), []int{6}
Herbie Ong8170d692019-02-13 14:13:21 -0800745}
746
Joe Tsai61968ce2019-04-01 12:59:24 -0700747func (x *PartialRequired) GetReqString() string {
748 if x != nil && x.ReqString != nil {
749 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800750 }
751 return ""
752}
753
Joe Tsai61968ce2019-04-01 12:59:24 -0700754func (x *PartialRequired) GetOptString() string {
755 if x != nil && x.OptString != nil {
756 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800757 }
758 return ""
759}
760
761type NestedWithRequired struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700762 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700763 sizeCache protoimpl.SizeCache
764 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700765
766 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800767}
768
Joe Tsai61968ce2019-04-01 12:59:24 -0700769func (x *NestedWithRequired) Reset() {
770 *x = NestedWithRequired{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700771 if protoimpl.UnsafeEnabled {
772 mi := &file_pb2_test_proto_msgTypes[7]
773 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
774 ms.StoreMessageInfo(mi)
775 }
Herbie Ong8170d692019-02-13 14:13:21 -0800776}
Joe Tsai61968ce2019-04-01 12:59:24 -0700777
778func (x *NestedWithRequired) String() string {
779 return protoimpl.X.MessageStringOf(x)
780}
781
782func (*NestedWithRequired) ProtoMessage() {}
783
784func (x *NestedWithRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700785 mi := &file_pb2_test_proto_msgTypes[7]
786 if protoimpl.UnsafeEnabled && x != nil {
787 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
788 if ms.LoadMessageInfo() == nil {
789 ms.StoreMessageInfo(mi)
790 }
791 return ms
792 }
793 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700794}
Joe Tsai8e506a82019-03-16 00:05:34 -0700795
Joe Tsai43761bd2019-07-17 18:06:47 -0700796// Deprecated: Use NestedWithRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800797func (*NestedWithRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700798 return file_pb2_test_proto_rawDescGZIP(), []int{7}
Herbie Ong8170d692019-02-13 14:13:21 -0800799}
800
Joe Tsai61968ce2019-04-01 12:59:24 -0700801func (x *NestedWithRequired) GetReqString() string {
802 if x != nil && x.ReqString != nil {
803 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800804 }
805 return ""
806}
807
808type IndirectRequired struct {
Joe Tsai38b61962019-08-05 13:09:30 -0700809 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700810 sizeCache protoimpl.SizeCache
811 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700812
813 OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
814 RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
815 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"`
816 // Types that are assignable to Union:
Joe Tsai38b61962019-08-05 13:09:30 -0700817 // *IndirectRequired_OneofNested
818 Union isIndirectRequired_Union `protobuf_oneof:"union"`
Herbie Ong8170d692019-02-13 14:13:21 -0800819}
820
Joe Tsai61968ce2019-04-01 12:59:24 -0700821func (x *IndirectRequired) Reset() {
822 *x = IndirectRequired{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700823 if protoimpl.UnsafeEnabled {
824 mi := &file_pb2_test_proto_msgTypes[8]
825 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
826 ms.StoreMessageInfo(mi)
827 }
Herbie Ong8170d692019-02-13 14:13:21 -0800828}
Joe Tsai61968ce2019-04-01 12:59:24 -0700829
830func (x *IndirectRequired) String() string {
831 return protoimpl.X.MessageStringOf(x)
832}
833
834func (*IndirectRequired) ProtoMessage() {}
835
836func (x *IndirectRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700837 mi := &file_pb2_test_proto_msgTypes[8]
838 if protoimpl.UnsafeEnabled && x != nil {
839 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
840 if ms.LoadMessageInfo() == nil {
841 ms.StoreMessageInfo(mi)
842 }
843 return ms
844 }
845 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700846}
Joe Tsai8e506a82019-03-16 00:05:34 -0700847
Joe Tsai43761bd2019-07-17 18:06:47 -0700848// Deprecated: Use IndirectRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800849func (*IndirectRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700850 return file_pb2_test_proto_rawDescGZIP(), []int{8}
Herbie Ong8170d692019-02-13 14:13:21 -0800851}
852
Joe Tsai61968ce2019-04-01 12:59:24 -0700853func (x *IndirectRequired) GetOptNested() *NestedWithRequired {
854 if x != nil {
855 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800856 }
857 return nil
858}
859
Joe Tsai61968ce2019-04-01 12:59:24 -0700860func (x *IndirectRequired) GetRptNested() []*NestedWithRequired {
861 if x != nil {
862 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800863 }
864 return nil
865}
866
Joe Tsai61968ce2019-04-01 12:59:24 -0700867func (x *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired {
868 if x != nil {
869 return x.StrToNested
Herbie Ong8170d692019-02-13 14:13:21 -0800870 }
871 return nil
872}
873
Herbie Ong8170d692019-02-13 14:13:21 -0800874func (m *IndirectRequired) GetUnion() isIndirectRequired_Union {
875 if m != nil {
876 return m.Union
877 }
878 return nil
879}
880
Joe Tsai61968ce2019-04-01 12:59:24 -0700881func (x *IndirectRequired) GetOneofNested() *NestedWithRequired {
882 if x, ok := x.GetUnion().(*IndirectRequired_OneofNested); ok {
Herbie Ong8170d692019-02-13 14:13:21 -0800883 return x.OneofNested
884 }
885 return nil
886}
887
Joe Tsai872b5002019-04-08 14:03:15 -0700888type isIndirectRequired_Union interface {
889 isIndirectRequired_Union()
890}
891
892type IndirectRequired_OneofNested struct {
893 OneofNested *NestedWithRequired `protobuf:"bytes,4,opt,name=oneof_nested,json=oneofNested,oneof"`
894}
895
896func (*IndirectRequired_OneofNested) isIndirectRequired_Union() {}
897
Herbie Ong8170d692019-02-13 14:13:21 -0800898type Extensions struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700899 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700900 sizeCache protoimpl.SizeCache
901 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -0700902 extensionFields protoimpl.ExtensionFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700903
904 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
905 OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
906 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800907}
908
Joe Tsai61968ce2019-04-01 12:59:24 -0700909func (x *Extensions) Reset() {
910 *x = Extensions{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700911 if protoimpl.UnsafeEnabled {
912 mi := &file_pb2_test_proto_msgTypes[9]
913 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
914 ms.StoreMessageInfo(mi)
915 }
Herbie Ong8170d692019-02-13 14:13:21 -0800916}
Joe Tsai61968ce2019-04-01 12:59:24 -0700917
918func (x *Extensions) String() string {
919 return protoimpl.X.MessageStringOf(x)
920}
921
922func (*Extensions) ProtoMessage() {}
923
924func (x *Extensions) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700925 mi := &file_pb2_test_proto_msgTypes[9]
926 if protoimpl.UnsafeEnabled && x != nil {
927 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
928 if ms.LoadMessageInfo() == nil {
929 ms.StoreMessageInfo(mi)
930 }
931 return ms
932 }
933 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700934}
Joe Tsai8e506a82019-03-16 00:05:34 -0700935
Joe Tsai43761bd2019-07-17 18:06:47 -0700936// Deprecated: Use Extensions.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800937func (*Extensions) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700938 return file_pb2_test_proto_rawDescGZIP(), []int{9}
Herbie Ong8170d692019-02-13 14:13:21 -0800939}
940
Joe Tsai4fddeba2019-03-20 18:29:32 -0700941var extRange_Extensions = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800942 {Start: 20, End: 100},
943}
944
Joe Tsai43761bd2019-07-17 18:06:47 -0700945// Deprecated: Use Extensions.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700946func (*Extensions) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -0800947 return extRange_Extensions
948}
949
Joe Tsai61968ce2019-04-01 12:59:24 -0700950func (x *Extensions) GetOptString() string {
951 if x != nil && x.OptString != nil {
952 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800953 }
954 return ""
955}
956
Joe Tsai61968ce2019-04-01 12:59:24 -0700957func (x *Extensions) GetOptBool() bool {
958 if x != nil && x.OptBool != nil {
959 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800960 }
961 return false
962}
963
Joe Tsai61968ce2019-04-01 12:59:24 -0700964func (x *Extensions) GetOptInt32() int32 {
965 if x != nil && x.OptInt32 != nil {
966 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800967 }
968 return 0
969}
970
971type ExtensionsContainer struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700972 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700973 sizeCache protoimpl.SizeCache
974 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800975}
976
Joe Tsai61968ce2019-04-01 12:59:24 -0700977func (x *ExtensionsContainer) Reset() {
978 *x = ExtensionsContainer{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700979 if protoimpl.UnsafeEnabled {
980 mi := &file_pb2_test_proto_msgTypes[10]
981 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
982 ms.StoreMessageInfo(mi)
983 }
Herbie Ong8170d692019-02-13 14:13:21 -0800984}
Joe Tsai61968ce2019-04-01 12:59:24 -0700985
986func (x *ExtensionsContainer) String() string {
987 return protoimpl.X.MessageStringOf(x)
988}
989
990func (*ExtensionsContainer) ProtoMessage() {}
991
992func (x *ExtensionsContainer) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700993 mi := &file_pb2_test_proto_msgTypes[10]
994 if protoimpl.UnsafeEnabled && x != nil {
995 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
996 if ms.LoadMessageInfo() == nil {
997 ms.StoreMessageInfo(mi)
998 }
999 return ms
1000 }
1001 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001002}
Joe Tsai8e506a82019-03-16 00:05:34 -07001003
Joe Tsai43761bd2019-07-17 18:06:47 -07001004// Deprecated: Use ExtensionsContainer.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001005func (*ExtensionsContainer) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001006 return file_pb2_test_proto_rawDescGZIP(), []int{10}
Herbie Ong8170d692019-02-13 14:13:21 -08001007}
1008
Herbie Ong8170d692019-02-13 14:13:21 -08001009type MessageSet struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001010 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001011 sizeCache protoimpl.SizeCache
1012 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001013 extensionFields protoimpl.ExtensionFields
Herbie Ong8170d692019-02-13 14:13:21 -08001014}
1015
Joe Tsai61968ce2019-04-01 12:59:24 -07001016func (x *MessageSet) Reset() {
1017 *x = MessageSet{}
Joe Tsaiae313d42019-10-16 10:25:54 -07001018 if protoimpl.UnsafeEnabled {
1019 mi := &file_pb2_test_proto_msgTypes[11]
1020 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1021 ms.StoreMessageInfo(mi)
1022 }
Herbie Ong8170d692019-02-13 14:13:21 -08001023}
Joe Tsai61968ce2019-04-01 12:59:24 -07001024
1025func (x *MessageSet) String() string {
1026 return protoimpl.X.MessageStringOf(x)
1027}
1028
1029func (*MessageSet) ProtoMessage() {}
1030
1031func (x *MessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001032 mi := &file_pb2_test_proto_msgTypes[11]
1033 if protoimpl.UnsafeEnabled && x != nil {
1034 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1035 if ms.LoadMessageInfo() == nil {
1036 ms.StoreMessageInfo(mi)
1037 }
1038 return ms
1039 }
1040 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001041}
Joe Tsai8e506a82019-03-16 00:05:34 -07001042
Joe Tsai43761bd2019-07-17 18:06:47 -07001043// Deprecated: Use MessageSet.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001044func (*MessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001045 return file_pb2_test_proto_rawDescGZIP(), []int{11}
Herbie Ong8170d692019-02-13 14:13:21 -08001046}
1047
Joe Tsai4fddeba2019-03-20 18:29:32 -07001048var extRange_MessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -08001049 {Start: 4, End: 2147483646},
1050}
1051
Joe Tsai43761bd2019-07-17 18:06:47 -07001052// Deprecated: Use MessageSet.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -07001053func (*MessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -08001054 return extRange_MessageSet
1055}
1056
Herbie Ong8170d692019-02-13 14:13:21 -08001057type MessageSetExtension struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001058 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001059 sizeCache protoimpl.SizeCache
1060 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001061
1062 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001063}
1064
Joe Tsai61968ce2019-04-01 12:59:24 -07001065func (x *MessageSetExtension) Reset() {
1066 *x = MessageSetExtension{}
Joe Tsaiae313d42019-10-16 10:25:54 -07001067 if protoimpl.UnsafeEnabled {
1068 mi := &file_pb2_test_proto_msgTypes[12]
1069 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1070 ms.StoreMessageInfo(mi)
1071 }
Herbie Ong8170d692019-02-13 14:13:21 -08001072}
Joe Tsai61968ce2019-04-01 12:59:24 -07001073
1074func (x *MessageSetExtension) String() string {
1075 return protoimpl.X.MessageStringOf(x)
1076}
1077
1078func (*MessageSetExtension) ProtoMessage() {}
1079
1080func (x *MessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001081 mi := &file_pb2_test_proto_msgTypes[12]
1082 if protoimpl.UnsafeEnabled && x != nil {
1083 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1084 if ms.LoadMessageInfo() == nil {
1085 ms.StoreMessageInfo(mi)
1086 }
1087 return ms
1088 }
1089 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001090}
Joe Tsai8e506a82019-03-16 00:05:34 -07001091
Joe Tsai43761bd2019-07-17 18:06:47 -07001092// Deprecated: Use MessageSetExtension.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001093func (*MessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001094 return file_pb2_test_proto_rawDescGZIP(), []int{12}
Herbie Ong8170d692019-02-13 14:13:21 -08001095}
1096
Joe Tsai61968ce2019-04-01 12:59:24 -07001097func (x *MessageSetExtension) GetOptString() string {
1098 if x != nil && x.OptString != nil {
1099 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001100 }
1101 return ""
1102}
1103
1104type FakeMessageSet struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001105 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001106 sizeCache protoimpl.SizeCache
1107 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001108 extensionFields protoimpl.ExtensionFields
Herbie Ong8170d692019-02-13 14:13:21 -08001109}
1110
Joe Tsai61968ce2019-04-01 12:59:24 -07001111func (x *FakeMessageSet) Reset() {
1112 *x = FakeMessageSet{}
Joe Tsaiae313d42019-10-16 10:25:54 -07001113 if protoimpl.UnsafeEnabled {
1114 mi := &file_pb2_test_proto_msgTypes[13]
1115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1116 ms.StoreMessageInfo(mi)
1117 }
Herbie Ong8170d692019-02-13 14:13:21 -08001118}
Joe Tsai61968ce2019-04-01 12:59:24 -07001119
1120func (x *FakeMessageSet) String() string {
1121 return protoimpl.X.MessageStringOf(x)
1122}
1123
1124func (*FakeMessageSet) ProtoMessage() {}
1125
1126func (x *FakeMessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001127 mi := &file_pb2_test_proto_msgTypes[13]
1128 if protoimpl.UnsafeEnabled && x != nil {
1129 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1130 if ms.LoadMessageInfo() == nil {
1131 ms.StoreMessageInfo(mi)
1132 }
1133 return ms
1134 }
1135 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001136}
Joe Tsai8e506a82019-03-16 00:05:34 -07001137
Joe Tsai43761bd2019-07-17 18:06:47 -07001138// Deprecated: Use FakeMessageSet.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001139func (*FakeMessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001140 return file_pb2_test_proto_rawDescGZIP(), []int{13}
Herbie Ong8170d692019-02-13 14:13:21 -08001141}
1142
Joe Tsai4fddeba2019-03-20 18:29:32 -07001143var extRange_FakeMessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -08001144 {Start: 4, End: 536870911},
1145}
1146
Joe Tsai43761bd2019-07-17 18:06:47 -07001147// Deprecated: Use FakeMessageSet.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -07001148func (*FakeMessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -08001149 return extRange_FakeMessageSet
1150}
1151
Herbie Ong8170d692019-02-13 14:13:21 -08001152type FakeMessageSetExtension struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001153 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001154 sizeCache protoimpl.SizeCache
1155 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001156
1157 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001158}
1159
Joe Tsai61968ce2019-04-01 12:59:24 -07001160func (x *FakeMessageSetExtension) Reset() {
1161 *x = FakeMessageSetExtension{}
Joe Tsaiae313d42019-10-16 10:25:54 -07001162 if protoimpl.UnsafeEnabled {
1163 mi := &file_pb2_test_proto_msgTypes[14]
1164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1165 ms.StoreMessageInfo(mi)
1166 }
Herbie Ong8170d692019-02-13 14:13:21 -08001167}
Joe Tsai61968ce2019-04-01 12:59:24 -07001168
1169func (x *FakeMessageSetExtension) String() string {
1170 return protoimpl.X.MessageStringOf(x)
1171}
1172
1173func (*FakeMessageSetExtension) ProtoMessage() {}
1174
1175func (x *FakeMessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001176 mi := &file_pb2_test_proto_msgTypes[14]
1177 if protoimpl.UnsafeEnabled && x != nil {
1178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1179 if ms.LoadMessageInfo() == nil {
1180 ms.StoreMessageInfo(mi)
1181 }
1182 return ms
1183 }
1184 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001185}
Joe Tsai8e506a82019-03-16 00:05:34 -07001186
Joe Tsai43761bd2019-07-17 18:06:47 -07001187// Deprecated: Use FakeMessageSetExtension.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001188func (*FakeMessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001189 return file_pb2_test_proto_rawDescGZIP(), []int{14}
Herbie Ong8170d692019-02-13 14:13:21 -08001190}
1191
Joe Tsai61968ce2019-04-01 12:59:24 -07001192func (x *FakeMessageSetExtension) GetOptString() string {
1193 if x != nil && x.OptString != nil {
1194 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001195 }
1196 return ""
1197}
1198
1199// Message contains well-known type fields.
1200type KnownTypes struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001201 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -07001202 sizeCache protoimpl.SizeCache
1203 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001204
1205 OptBool *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
1206 OptInt32 *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
1207 OptInt64 *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
1208 OptUint32 *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
1209 OptUint64 *wrapperspb.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
1210 OptFloat *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
1211 OptDouble *wrapperspb.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
1212 OptString *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1213 OptBytes *wrapperspb.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
1214 OptDuration *durationpb.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"`
1215 OptTimestamp *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"`
1216 OptStruct *structpb.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"`
1217 OptList *structpb.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"`
1218 OptValue *structpb.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"`
1219 OptNull *structpb.NullValue `protobuf:"varint,28,opt,name=opt_null,json=optNull,enum=google.protobuf.NullValue" json:"opt_null,omitempty"`
1220 OptEmpty *emptypb.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"`
1221 OptAny *anypb.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
1222 OptFieldmask *fieldmaskpb.FieldMask `protobuf:"bytes,40,opt,name=opt_fieldmask,json=optFieldmask" json:"opt_fieldmask,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001223}
1224
Joe Tsai61968ce2019-04-01 12:59:24 -07001225func (x *KnownTypes) Reset() {
1226 *x = KnownTypes{}
Joe Tsaiae313d42019-10-16 10:25:54 -07001227 if protoimpl.UnsafeEnabled {
1228 mi := &file_pb2_test_proto_msgTypes[15]
1229 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1230 ms.StoreMessageInfo(mi)
1231 }
Herbie Ong8170d692019-02-13 14:13:21 -08001232}
Joe Tsai61968ce2019-04-01 12:59:24 -07001233
1234func (x *KnownTypes) String() string {
1235 return protoimpl.X.MessageStringOf(x)
1236}
1237
1238func (*KnownTypes) ProtoMessage() {}
1239
1240func (x *KnownTypes) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001241 mi := &file_pb2_test_proto_msgTypes[15]
1242 if protoimpl.UnsafeEnabled && x != nil {
1243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1244 if ms.LoadMessageInfo() == nil {
1245 ms.StoreMessageInfo(mi)
1246 }
1247 return ms
1248 }
1249 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001250}
Joe Tsai8e506a82019-03-16 00:05:34 -07001251
Joe Tsai43761bd2019-07-17 18:06:47 -07001252// Deprecated: Use KnownTypes.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001253func (*KnownTypes) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001254 return file_pb2_test_proto_rawDescGZIP(), []int{15}
Herbie Ong8170d692019-02-13 14:13:21 -08001255}
1256
Joe Tsaia95b29f2019-05-16 12:47:20 -07001257func (x *KnownTypes) GetOptBool() *wrapperspb.BoolValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001258 if x != nil {
1259 return x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -08001260 }
1261 return nil
1262}
1263
Joe Tsaia95b29f2019-05-16 12:47:20 -07001264func (x *KnownTypes) GetOptInt32() *wrapperspb.Int32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001265 if x != nil {
1266 return x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -08001267 }
1268 return nil
1269}
1270
Joe Tsaia95b29f2019-05-16 12:47:20 -07001271func (x *KnownTypes) GetOptInt64() *wrapperspb.Int64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001272 if x != nil {
1273 return x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -08001274 }
1275 return nil
1276}
1277
Joe Tsaia95b29f2019-05-16 12:47:20 -07001278func (x *KnownTypes) GetOptUint32() *wrapperspb.UInt32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001279 if x != nil {
1280 return x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -08001281 }
1282 return nil
1283}
1284
Joe Tsaia95b29f2019-05-16 12:47:20 -07001285func (x *KnownTypes) GetOptUint64() *wrapperspb.UInt64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001286 if x != nil {
1287 return x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -08001288 }
1289 return nil
1290}
1291
Joe Tsaia95b29f2019-05-16 12:47:20 -07001292func (x *KnownTypes) GetOptFloat() *wrapperspb.FloatValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001293 if x != nil {
1294 return x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -08001295 }
1296 return nil
1297}
1298
Joe Tsaia95b29f2019-05-16 12:47:20 -07001299func (x *KnownTypes) GetOptDouble() *wrapperspb.DoubleValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001300 if x != nil {
1301 return x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -08001302 }
1303 return nil
1304}
1305
Joe Tsaia95b29f2019-05-16 12:47:20 -07001306func (x *KnownTypes) GetOptString() *wrapperspb.StringValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001307 if x != nil {
1308 return x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001309 }
1310 return nil
1311}
1312
Joe Tsaia95b29f2019-05-16 12:47:20 -07001313func (x *KnownTypes) GetOptBytes() *wrapperspb.BytesValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001314 if x != nil {
1315 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -08001316 }
1317 return nil
1318}
1319
Joe Tsaia95b29f2019-05-16 12:47:20 -07001320func (x *KnownTypes) GetOptDuration() *durationpb.Duration {
Joe Tsai61968ce2019-04-01 12:59:24 -07001321 if x != nil {
1322 return x.OptDuration
Herbie Ong8170d692019-02-13 14:13:21 -08001323 }
1324 return nil
1325}
1326
Joe Tsaia95b29f2019-05-16 12:47:20 -07001327func (x *KnownTypes) GetOptTimestamp() *timestamppb.Timestamp {
Joe Tsai61968ce2019-04-01 12:59:24 -07001328 if x != nil {
1329 return x.OptTimestamp
Herbie Ong8170d692019-02-13 14:13:21 -08001330 }
1331 return nil
1332}
1333
Joe Tsaia95b29f2019-05-16 12:47:20 -07001334func (x *KnownTypes) GetOptStruct() *structpb.Struct {
Joe Tsai61968ce2019-04-01 12:59:24 -07001335 if x != nil {
1336 return x.OptStruct
Herbie Ong8170d692019-02-13 14:13:21 -08001337 }
1338 return nil
1339}
1340
Joe Tsaia95b29f2019-05-16 12:47:20 -07001341func (x *KnownTypes) GetOptList() *structpb.ListValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001342 if x != nil {
1343 return x.OptList
Herbie Ong8170d692019-02-13 14:13:21 -08001344 }
1345 return nil
1346}
1347
Joe Tsaia95b29f2019-05-16 12:47:20 -07001348func (x *KnownTypes) GetOptValue() *structpb.Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001349 if x != nil {
1350 return x.OptValue
Herbie Ong8170d692019-02-13 14:13:21 -08001351 }
1352 return nil
1353}
1354
Joe Tsaia95b29f2019-05-16 12:47:20 -07001355func (x *KnownTypes) GetOptNull() structpb.NullValue {
Herbie Ong300b9fe2019-03-29 15:42:20 -07001356 if x != nil && x.OptNull != nil {
1357 return *x.OptNull
1358 }
Joe Tsaia95b29f2019-05-16 12:47:20 -07001359 return structpb.NullValue_NULL_VALUE
Herbie Ong300b9fe2019-03-29 15:42:20 -07001360}
1361
Joe Tsaia95b29f2019-05-16 12:47:20 -07001362func (x *KnownTypes) GetOptEmpty() *emptypb.Empty {
Joe Tsai61968ce2019-04-01 12:59:24 -07001363 if x != nil {
1364 return x.OptEmpty
Herbie Ong8170d692019-02-13 14:13:21 -08001365 }
1366 return nil
1367}
1368
Joe Tsaia95b29f2019-05-16 12:47:20 -07001369func (x *KnownTypes) GetOptAny() *anypb.Any {
Joe Tsai61968ce2019-04-01 12:59:24 -07001370 if x != nil {
1371 return x.OptAny
Herbie Ong8170d692019-02-13 14:13:21 -08001372 }
1373 return nil
1374}
1375
Joe Tsaia95b29f2019-05-16 12:47:20 -07001376func (x *KnownTypes) GetOptFieldmask() *fieldmaskpb.FieldMask {
Joe Tsai61968ce2019-04-01 12:59:24 -07001377 if x != nil {
1378 return x.OptFieldmask
Herbie Ong0b0f4032019-03-18 19:06:15 -07001379 }
1380 return nil
1381}
1382
Herbie Ong8170d692019-02-13 14:13:21 -08001383type Nests_OptGroup struct {
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001384 state protoimpl.MessageState
1385 sizeCache protoimpl.SizeCache
1386 unknownFields protoimpl.UnknownFields
1387
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001388 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1389 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
1390 Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,3,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001391}
1392
Joe Tsai61968ce2019-04-01 12:59:24 -07001393func (x *Nests_OptGroup) Reset() {
1394 *x = Nests_OptGroup{}
Joe Tsaiae313d42019-10-16 10:25:54 -07001395 if protoimpl.UnsafeEnabled {
1396 mi := &file_pb2_test_proto_msgTypes[16]
1397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1398 ms.StoreMessageInfo(mi)
1399 }
Herbie Ong8170d692019-02-13 14:13:21 -08001400}
Joe Tsai61968ce2019-04-01 12:59:24 -07001401
1402func (x *Nests_OptGroup) String() string {
1403 return protoimpl.X.MessageStringOf(x)
1404}
1405
1406func (*Nests_OptGroup) ProtoMessage() {}
1407
1408func (x *Nests_OptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001409 mi := &file_pb2_test_proto_msgTypes[16]
1410 if protoimpl.UnsafeEnabled && x != nil {
1411 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1412 if ms.LoadMessageInfo() == nil {
1413 ms.StoreMessageInfo(mi)
1414 }
1415 return ms
1416 }
1417 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001418}
Joe Tsai8e506a82019-03-16 00:05:34 -07001419
Joe Tsai43761bd2019-07-17 18:06:47 -07001420// Deprecated: Use Nests_OptGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001421func (*Nests_OptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001422 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001423}
1424
Joe Tsai61968ce2019-04-01 12:59:24 -07001425func (x *Nests_OptGroup) GetOptString() string {
1426 if x != nil && x.OptString != nil {
1427 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001428 }
1429 return ""
1430}
1431
Joe Tsai61968ce2019-04-01 12:59:24 -07001432func (x *Nests_OptGroup) GetOptNested() *Nested {
1433 if x != nil {
1434 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -08001435 }
1436 return nil
1437}
1438
Joe Tsai61968ce2019-04-01 12:59:24 -07001439func (x *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup {
1440 if x != nil {
1441 return x.Optnestedgroup
Herbie Ong8170d692019-02-13 14:13:21 -08001442 }
1443 return nil
1444}
1445
1446type Nests_RptGroup struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001447 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001448 sizeCache protoimpl.SizeCache
1449 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001450
1451 RptString []string `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001452}
1453
Joe Tsai61968ce2019-04-01 12:59:24 -07001454func (x *Nests_RptGroup) Reset() {
1455 *x = Nests_RptGroup{}
Joe Tsaiae313d42019-10-16 10:25:54 -07001456 if protoimpl.UnsafeEnabled {
1457 mi := &file_pb2_test_proto_msgTypes[17]
1458 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1459 ms.StoreMessageInfo(mi)
1460 }
Herbie Ong8170d692019-02-13 14:13:21 -08001461}
Joe Tsai61968ce2019-04-01 12:59:24 -07001462
1463func (x *Nests_RptGroup) String() string {
1464 return protoimpl.X.MessageStringOf(x)
1465}
1466
1467func (*Nests_RptGroup) ProtoMessage() {}
1468
1469func (x *Nests_RptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001470 mi := &file_pb2_test_proto_msgTypes[17]
1471 if protoimpl.UnsafeEnabled && x != nil {
1472 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1473 if ms.LoadMessageInfo() == nil {
1474 ms.StoreMessageInfo(mi)
1475 }
1476 return ms
1477 }
1478 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001479}
Joe Tsai8e506a82019-03-16 00:05:34 -07001480
Joe Tsai43761bd2019-07-17 18:06:47 -07001481// Deprecated: Use Nests_RptGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001482func (*Nests_RptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001483 return file_pb2_test_proto_rawDescGZIP(), []int{4, 1}
Herbie Ong8170d692019-02-13 14:13:21 -08001484}
1485
Joe Tsai61968ce2019-04-01 12:59:24 -07001486func (x *Nests_RptGroup) GetRptString() []string {
1487 if x != nil {
1488 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -08001489 }
1490 return nil
1491}
1492
1493type Nests_OptGroup_OptNestedGroup struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001494 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001495 sizeCache protoimpl.SizeCache
1496 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001497
1498 OptFixed32 *uint32 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001499}
1500
Joe Tsai61968ce2019-04-01 12:59:24 -07001501func (x *Nests_OptGroup_OptNestedGroup) Reset() {
1502 *x = Nests_OptGroup_OptNestedGroup{}
Joe Tsaiae313d42019-10-16 10:25:54 -07001503 if protoimpl.UnsafeEnabled {
1504 mi := &file_pb2_test_proto_msgTypes[18]
1505 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1506 ms.StoreMessageInfo(mi)
1507 }
Herbie Ong8170d692019-02-13 14:13:21 -08001508}
Joe Tsai61968ce2019-04-01 12:59:24 -07001509
1510func (x *Nests_OptGroup_OptNestedGroup) String() string {
1511 return protoimpl.X.MessageStringOf(x)
1512}
1513
1514func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {}
1515
1516func (x *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001517 mi := &file_pb2_test_proto_msgTypes[18]
1518 if protoimpl.UnsafeEnabled && x != nil {
1519 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1520 if ms.LoadMessageInfo() == nil {
1521 ms.StoreMessageInfo(mi)
1522 }
1523 return ms
1524 }
1525 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001526}
Joe Tsai8e506a82019-03-16 00:05:34 -07001527
Joe Tsai43761bd2019-07-17 18:06:47 -07001528// Deprecated: Use Nests_OptGroup_OptNestedGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001529func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001530 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001531}
1532
Joe Tsai61968ce2019-04-01 12:59:24 -07001533func (x *Nests_OptGroup_OptNestedGroup) GetOptFixed32() uint32 {
1534 if x != nil && x.OptFixed32 != nil {
1535 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -08001536 }
1537 return 0
1538}
1539
Damien Neilf1e905b2019-08-08 15:45:59 -07001540var file_pb2_test_proto_extTypes = []protoimpl.ExtensionInfo{
Joe Tsaiafb455e2019-03-14 16:08:22 -07001541 {
1542 ExtendedType: (*Extensions)(nil),
1543 ExtensionType: (*bool)(nil),
1544 Field: 21,
1545 Name: "pb2.opt_ext_bool",
1546 Tag: "varint,21,opt,name=opt_ext_bool",
1547 Filename: "pb2/test.proto",
1548 },
1549 {
1550 ExtendedType: (*Extensions)(nil),
1551 ExtensionType: (*string)(nil),
1552 Field: 22,
1553 Name: "pb2.opt_ext_string",
1554 Tag: "bytes,22,opt,name=opt_ext_string",
1555 Filename: "pb2/test.proto",
1556 },
1557 {
1558 ExtendedType: (*Extensions)(nil),
1559 ExtensionType: (*Enum)(nil),
1560 Field: 23,
1561 Name: "pb2.opt_ext_enum",
1562 Tag: "varint,23,opt,name=opt_ext_enum,enum=pb2.Enum",
1563 Filename: "pb2/test.proto",
1564 },
1565 {
1566 ExtendedType: (*Extensions)(nil),
1567 ExtensionType: (*Nested)(nil),
1568 Field: 24,
1569 Name: "pb2.opt_ext_nested",
1570 Tag: "bytes,24,opt,name=opt_ext_nested",
1571 Filename: "pb2/test.proto",
1572 },
1573 {
1574 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001575 ExtensionType: (*PartialRequired)(nil),
1576 Field: 25,
1577 Name: "pb2.opt_ext_partial",
1578 Tag: "bytes,25,opt,name=opt_ext_partial",
1579 Filename: "pb2/test.proto",
1580 },
1581 {
1582 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001583 ExtensionType: ([]uint32)(nil),
1584 Field: 31,
1585 Name: "pb2.rpt_ext_fixed32",
1586 Tag: "fixed32,31,rep,name=rpt_ext_fixed32",
1587 Filename: "pb2/test.proto",
1588 },
1589 {
1590 ExtendedType: (*Extensions)(nil),
1591 ExtensionType: ([]Enum)(nil),
1592 Field: 32,
1593 Name: "pb2.rpt_ext_enum",
1594 Tag: "varint,32,rep,name=rpt_ext_enum,enum=pb2.Enum",
1595 Filename: "pb2/test.proto",
1596 },
1597 {
1598 ExtendedType: (*Extensions)(nil),
1599 ExtensionType: ([]*Nested)(nil),
1600 Field: 33,
1601 Name: "pb2.rpt_ext_nested",
1602 Tag: "bytes,33,rep,name=rpt_ext_nested",
1603 Filename: "pb2/test.proto",
1604 },
1605 {
1606 ExtendedType: (*MessageSet)(nil),
1607 ExtensionType: (*FakeMessageSetExtension)(nil),
1608 Field: 50,
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001609 Name: "pb2.message_set_extension",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001610 Tag: "bytes,50,opt,name=message_set_extension",
1611 Filename: "pb2/test.proto",
1612 },
1613 {
1614 ExtendedType: (*Extensions)(nil),
1615 ExtensionType: (*bool)(nil),
1616 Field: 51,
1617 Name: "pb2.ExtensionsContainer.opt_ext_bool",
1618 Tag: "varint,51,opt,name=opt_ext_bool",
1619 Filename: "pb2/test.proto",
1620 },
1621 {
1622 ExtendedType: (*Extensions)(nil),
1623 ExtensionType: (*string)(nil),
1624 Field: 52,
1625 Name: "pb2.ExtensionsContainer.opt_ext_string",
1626 Tag: "bytes,52,opt,name=opt_ext_string",
1627 Filename: "pb2/test.proto",
1628 },
1629 {
1630 ExtendedType: (*Extensions)(nil),
1631 ExtensionType: (*Enum)(nil),
1632 Field: 53,
1633 Name: "pb2.ExtensionsContainer.opt_ext_enum",
1634 Tag: "varint,53,opt,name=opt_ext_enum,enum=pb2.Enum",
1635 Filename: "pb2/test.proto",
1636 },
1637 {
1638 ExtendedType: (*Extensions)(nil),
1639 ExtensionType: (*Nested)(nil),
1640 Field: 54,
1641 Name: "pb2.ExtensionsContainer.opt_ext_nested",
1642 Tag: "bytes,54,opt,name=opt_ext_nested",
1643 Filename: "pb2/test.proto",
1644 },
1645 {
1646 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001647 ExtensionType: (*PartialRequired)(nil),
1648 Field: 55,
1649 Name: "pb2.ExtensionsContainer.opt_ext_partial",
1650 Tag: "bytes,55,opt,name=opt_ext_partial",
1651 Filename: "pb2/test.proto",
1652 },
1653 {
1654 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001655 ExtensionType: ([]string)(nil),
1656 Field: 61,
1657 Name: "pb2.ExtensionsContainer.rpt_ext_string",
1658 Tag: "bytes,61,rep,name=rpt_ext_string",
1659 Filename: "pb2/test.proto",
1660 },
1661 {
1662 ExtendedType: (*Extensions)(nil),
1663 ExtensionType: ([]Enum)(nil),
1664 Field: 62,
1665 Name: "pb2.ExtensionsContainer.rpt_ext_enum",
1666 Tag: "varint,62,rep,name=rpt_ext_enum,enum=pb2.Enum",
1667 Filename: "pb2/test.proto",
1668 },
1669 {
1670 ExtendedType: (*Extensions)(nil),
1671 ExtensionType: ([]*Nested)(nil),
1672 Field: 63,
1673 Name: "pb2.ExtensionsContainer.rpt_ext_nested",
1674 Tag: "bytes,63,rep,name=rpt_ext_nested",
1675 Filename: "pb2/test.proto",
1676 },
1677 {
1678 ExtendedType: (*MessageSet)(nil),
1679 ExtensionType: (*MessageSetExtension)(nil),
1680 Field: 10,
Joe Tsai945a1702019-07-20 14:57:56 -07001681 Name: "pb2.MessageSetExtension",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001682 Tag: "bytes,10,opt,name=message_set_extension",
1683 Filename: "pb2/test.proto",
1684 },
1685 {
1686 ExtendedType: (*MessageSet)(nil),
1687 ExtensionType: (*MessageSetExtension)(nil),
1688 Field: 20,
1689 Name: "pb2.MessageSetExtension.not_message_set_extension",
1690 Tag: "bytes,20,opt,name=not_message_set_extension",
1691 Filename: "pb2/test.proto",
1692 },
1693 {
1694 ExtendedType: (*MessageSet)(nil),
1695 ExtensionType: (*Nested)(nil),
1696 Field: 30,
1697 Name: "pb2.MessageSetExtension.ext_nested",
1698 Tag: "bytes,30,opt,name=ext_nested",
1699 Filename: "pb2/test.proto",
1700 },
1701 {
1702 ExtendedType: (*FakeMessageSet)(nil),
1703 ExtensionType: (*FakeMessageSetExtension)(nil),
1704 Field: 10,
1705 Name: "pb2.FakeMessageSetExtension.message_set_extension",
1706 Tag: "bytes,10,opt,name=message_set_extension",
1707 Filename: "pb2/test.proto",
1708 },
Herbie Ong8170d692019-02-13 14:13:21 -08001709}
Joe Tsai4a7d6332019-08-06 16:45:11 -07001710
1711// Extension fields to Extensions.
Joe Tsaiafb455e2019-03-14 16:08:22 -07001712var (
Joe Tsai4a7d6332019-08-06 16:45:11 -07001713 // optional bool opt_ext_bool = 21;
Damien Neilf1e905b2019-08-08 15:45:59 -07001714 E_OptExtBool = &file_pb2_test_proto_extTypes[0]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001715 // optional string opt_ext_string = 22;
Damien Neilf1e905b2019-08-08 15:45:59 -07001716 E_OptExtString = &file_pb2_test_proto_extTypes[1]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001717 // optional pb2.Enum opt_ext_enum = 23;
Damien Neilf1e905b2019-08-08 15:45:59 -07001718 E_OptExtEnum = &file_pb2_test_proto_extTypes[2]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001719 // optional pb2.Nested opt_ext_nested = 24;
Damien Neilf1e905b2019-08-08 15:45:59 -07001720 E_OptExtNested = &file_pb2_test_proto_extTypes[3]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001721 // optional pb2.PartialRequired opt_ext_partial = 25;
Damien Neilf1e905b2019-08-08 15:45:59 -07001722 E_OptExtPartial = &file_pb2_test_proto_extTypes[4]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001723 // repeated fixed32 rpt_ext_fixed32 = 31;
Damien Neilf1e905b2019-08-08 15:45:59 -07001724 E_RptExtFixed32 = &file_pb2_test_proto_extTypes[5]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001725 // repeated pb2.Enum rpt_ext_enum = 32;
Damien Neilf1e905b2019-08-08 15:45:59 -07001726 E_RptExtEnum = &file_pb2_test_proto_extTypes[6]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001727 // repeated pb2.Nested rpt_ext_nested = 33;
Damien Neilf1e905b2019-08-08 15:45:59 -07001728 E_RptExtNested = &file_pb2_test_proto_extTypes[7]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001729 // optional bool opt_ext_bool = 51;
Damien Neilf1e905b2019-08-08 15:45:59 -07001730 E_ExtensionsContainer_OptExtBool = &file_pb2_test_proto_extTypes[9]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001731 // optional string opt_ext_string = 52;
Damien Neilf1e905b2019-08-08 15:45:59 -07001732 E_ExtensionsContainer_OptExtString = &file_pb2_test_proto_extTypes[10]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001733 // optional pb2.Enum opt_ext_enum = 53;
Damien Neilf1e905b2019-08-08 15:45:59 -07001734 E_ExtensionsContainer_OptExtEnum = &file_pb2_test_proto_extTypes[11]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001735 // optional pb2.Nested opt_ext_nested = 54;
Damien Neilf1e905b2019-08-08 15:45:59 -07001736 E_ExtensionsContainer_OptExtNested = &file_pb2_test_proto_extTypes[12]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001737 // optional pb2.PartialRequired opt_ext_partial = 55;
Damien Neilf1e905b2019-08-08 15:45:59 -07001738 E_ExtensionsContainer_OptExtPartial = &file_pb2_test_proto_extTypes[13]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001739 // repeated string rpt_ext_string = 61;
Damien Neilf1e905b2019-08-08 15:45:59 -07001740 E_ExtensionsContainer_RptExtString = &file_pb2_test_proto_extTypes[14]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001741 // repeated pb2.Enum rpt_ext_enum = 62;
Damien Neilf1e905b2019-08-08 15:45:59 -07001742 E_ExtensionsContainer_RptExtEnum = &file_pb2_test_proto_extTypes[15]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001743 // repeated pb2.Nested rpt_ext_nested = 63;
Damien Neilf1e905b2019-08-08 15:45:59 -07001744 E_ExtensionsContainer_RptExtNested = &file_pb2_test_proto_extTypes[16]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001745)
Herbie Ong8170d692019-02-13 14:13:21 -08001746
Joe Tsai4a7d6332019-08-06 16:45:11 -07001747// Extension fields to MessageSet.
1748var (
1749 // optional pb2.FakeMessageSetExtension message_set_extension = 50;
Damien Neilf1e905b2019-08-08 15:45:59 -07001750 E_MessageSetExtension = &file_pb2_test_proto_extTypes[8]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001751 // optional pb2.MessageSetExtension message_set_extension = 10;
Damien Neilf1e905b2019-08-08 15:45:59 -07001752 E_MessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extTypes[17]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001753 // optional pb2.MessageSetExtension not_message_set_extension = 20;
Damien Neilf1e905b2019-08-08 15:45:59 -07001754 E_MessageSetExtension_NotMessageSetExtension = &file_pb2_test_proto_extTypes[18]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001755 // optional pb2.Nested ext_nested = 30;
Damien Neilf1e905b2019-08-08 15:45:59 -07001756 E_MessageSetExtension_ExtNested = &file_pb2_test_proto_extTypes[19]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001757)
Herbie Ong8170d692019-02-13 14:13:21 -08001758
Joe Tsai4a7d6332019-08-06 16:45:11 -07001759// Extension fields to FakeMessageSet.
1760var (
1761 // optional pb2.FakeMessageSetExtension message_set_extension = 10;
Damien Neilf1e905b2019-08-08 15:45:59 -07001762 E_FakeMessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extTypes[20]
Joe Tsaiafb455e2019-03-14 16:08:22 -07001763)
Joe Tsai4a7d6332019-08-06 16:45:11 -07001764
Joe Tsai5d72cc22019-03-28 01:13:26 -07001765var File_pb2_test_proto protoreflect.FileDescriptor
1766
Joe Tsai7ca70982019-04-15 13:57:56 -07001767var file_pb2_test_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -08001768 0x0a, 0x0e, 0x70, 0x62, 0x32, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1769 0x12, 0x03, 0x70, 0x62, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
1770 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1771 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001772 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67,
1773 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66,
1774 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1775 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1776 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1777 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1778 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
1779 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
1780 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e,
1781 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
1782 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda,
1783 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70,
1784 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x70,
1785 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74,
1786 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1787 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
1788 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12,
1789 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20,
1790 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d,
Joe Tsai19058432019-02-27 21:46:29 -08001791 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001792 0x28, 0x04, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a,
1793 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28,
1794 0x11, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a,
1795 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12,
1796 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1f, 0x0a, 0x0b, 0x6f,
1797 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07,
1798 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1f, 0x0a, 0x0b,
1799 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28,
1800 0x06, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x21, 0x0a,
1801 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20,
1802 0x01, 0x28, 0x0f, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1803 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
1804 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65,
1805 0x64, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74,
1806 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74,
1807 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15,
1808 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12,
1809 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01,
1810 0x28, 0x0c, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1811 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09,
1812 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xfb, 0x01, 0x0a, 0x05,
1813 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x24, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75,
1814 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1815 0x75, 0x6d, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x08, 0x72,
1816 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1817 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x70, 0x74, 0x45, 0x6e, 0x75,
1818 0x6d, 0x12, 0x3d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f,
1819 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32,
1820 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75,
1821 0x6d, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1822 0x12, 0x3d, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65,
1823 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1824 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1825 0x52, 0x0d, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22,
1826 0x28, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a,
1827 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12,
1828 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x94, 0x02, 0x0a, 0x07, 0x52, 0x65,
1829 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1830 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x07, 0x72, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c,
1831 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20,
1832 0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1b, 0x0a,
1833 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03,
1834 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70,
1835 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09,
1836 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74,
1837 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72,
1838 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f,
1839 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x02, 0x52, 0x08, 0x72, 0x70, 0x74,
1840 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75,
1841 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x72, 0x70, 0x74, 0x44, 0x6f,
1842 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69,
1843 0x6e, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72,
1844 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73,
1845 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73,
1846 0x22, 0x53, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70,
1847 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
1848 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1849 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1850 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e,
1851 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0xd3, 0x03, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12,
1852 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20,
1853 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1854 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x6f,
1855 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x13, 0x2e,
1856 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f,
1857 0x75, 0x70, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x0a,
1858 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
1859 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72,
1860 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x67,
1861 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x32,
1862 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
1863 0x08, 0x72, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0xd4, 0x01, 0x0a, 0x08, 0x4f, 0x70,
1864 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74,
1865 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53,
1866 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1867 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1868 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65,
1869 0x64, 0x12, 0x4a, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72,
1870 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x22, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1871 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4f,
1872 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0e, 0x6f,
1873 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x31, 0x0a,
1874 0x0e, 0x4f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
1875 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x01,
1876 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1877 0x1a, 0x29, 0x0a, 0x08, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a,
1878 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
1879 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x72, 0x65, 0x73,
1880 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0xd9, 0x01, 0x0a, 0x09,
1881 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x71,
1882 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x71,
1883 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x66, 0x69, 0x78,
1884 0x65, 0x64, 0x36, 0x34, 0x18, 0x02, 0x20, 0x02, 0x28, 0x10, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x53,
1885 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x64,
1886 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71,
1887 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74,
1888 0x72, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53,
1889 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x5f, 0x65, 0x6e, 0x75,
1890 0x6d, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1891 0x75, 0x6d, 0x52, 0x07, 0x72, 0x65, 0x71, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x0a, 0x72,
1892 0x65, 0x71, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0b, 0x32,
1893 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72, 0x65,
1894 0x71, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4f, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x69,
1895 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65,
1896 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09,
1897 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1898 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1899 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x33, 0x0a, 0x12, 0x4e, 0x65, 0x73, 0x74,
1900 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d,
1901 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02,
1902 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xee, 0x02,
1903 0x0a, 0x10, 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
1904 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1905 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73,
1906 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52,
1907 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x72, 0x70,
1908 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17,
1909 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52,
1910 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74,
1911 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73,
1912 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1913 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
1914 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72,
1915 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3c,
1916 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04,
1917 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
1918 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x48, 0x00, 0x52,
1919 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x1a, 0x57, 0x0a, 0x10,
1920 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79,
1921 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
1922 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
1923 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69,
1924 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
1925 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0x69,
1926 0x0a, 0x0a, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1927 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1928 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x6f,
1929 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x65, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f,
1930 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e,
1931 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e,
Herbie Ong09b28a92019-04-03 15:42:41 -07001932 0x74, 0x33, 0x32, 0x2a, 0x04, 0x08, 0x14, 0x10, 0x65, 0x22, 0x89, 0x04, 0x0a, 0x13, 0x45, 0x78,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001933 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
1934 0x72, 0x32, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1935 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1936 0x6e, 0x73, 0x18, 0x33, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1937 0x42, 0x6f, 0x6f, 0x6c, 0x32, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1938 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1939 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x34, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f,
1940 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x6f,
1941 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1942 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x35, 0x20, 0x01,
1943 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f,
1944 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74,
1945 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1946 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x36, 0x20, 0x01,
1947 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
Herbie Ong09b28a92019-04-03 15:42:41 -07001948 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x32, 0x4d, 0x0a,
1949 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1950 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1951 0x73, 0x18, 0x37, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61,
1952 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f,
1953 0x70, 0x74, 0x45, 0x78, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x32, 0x35, 0x0a, 0x0e,
1954 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f,
1955 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
1956 0x3d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72,
1957 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65,
1958 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1959 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32,
1960 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75,
1961 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1962 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1963 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32,
1964 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e,
1965 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
1966 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07, 0x3a, 0x02, 0x08,
1967 0x01, 0x22, 0xb6, 0x02, 0x0a, 0x13, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74,
1968 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1969 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1970 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x5d, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73,
1971 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1972 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
1973 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d,
Herbie Ong300b9fe2019-03-29 15:42:20 -07001974 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1975 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78,
Herbie Ong09b28a92019-04-03 15:42:41 -07001976 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x64, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x5f, 0x6d,
1977 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
1978 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
1979 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62,
1980 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
1981 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x6e, 0x6f, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
1982 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x3b, 0x0a,
1983 0x0a, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1984 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x1e, 0x20, 0x01,
1985 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
1986 0x09, 0x65, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0e, 0x46, 0x61,
1987 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04,
1988 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9f, 0x01, 0x0a, 0x17, 0x46, 0x61, 0x6b, 0x65, 0x4d,
1989 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1990 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
1991 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e,
1992 0x67, 0x32, 0x65, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74,
1993 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x32,
1994 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18,
1995 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65,
1996 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1997 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45,
1998 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x9e, 0x08, 0x0a, 0x0a, 0x4b, 0x6e, 0x6f,
1999 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62,
2000 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2001 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c,
2002 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x38,
2003 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28,
2004 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
2005 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08,
2006 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
2007 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
2008 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e,
2009 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
2010 0x36, 0x34, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32,
2011 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2012 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
2013 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
2014 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20,
2015 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
2016 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75,
2017 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x38, 0x0a, 0x09,
2018 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
2019 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
2020 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70,
2021 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f,
2022 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
2023 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75,
2024 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75,
2025 0x62, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
2026 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2027 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
2028 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
2029 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20,
2030 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
2031 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65,
2032 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x70,
2033 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b,
2034 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
2035 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6f, 0x70, 0x74,
2036 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
2037 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
2038 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
2039 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6f, 0x70, 0x74,
2040 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
2041 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
2042 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
2043 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63,
2044 0x74, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x1a, 0x20,
2045 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
2046 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
2047 0x07, 0x6f, 0x70, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
2048 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f,
2049 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61,
2050 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x35, 0x0a,
2051 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0e, 0x32,
2052 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
2053 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74,
2054 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x74,
2055 0x79, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2056 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52,
2057 0x08, 0x6f, 0x70, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x6f, 0x70, 0x74,
2058 0x5f, 0x61, 0x6e, 0x79, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
2059 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
2060 0x52, 0x06, 0x6f, 0x70, 0x74, 0x41, 0x6e, 0x79, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
2061 0x66, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b, 0x32,
2062 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
2063 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x6f, 0x70, 0x74,
2064 0x46, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x2a, 0x21, 0x0a, 0x04, 0x45, 0x6e, 0x75,
2065 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57,
2066 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10, 0x0a, 0x3a, 0x31, 0x0a, 0x0c,
2067 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70,
2068 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15, 0x20,
2069 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x3a,
2070 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
2071 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
2072 0x6e, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
2073 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78,
2074 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
2075 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e,
2076 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
2077 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
2078 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
2079 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
2080 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45,
2081 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a, 0x4d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f,
2082 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62,
2083 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x19, 0x20, 0x01,
2084 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
2085 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
2086 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x3a, 0x37, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x65,
2087 0x78, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32,
2088 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28,
2089 0x07, 0x52, 0x0d, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
2090 0x3a, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d,
2091 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
2092 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
2093 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42,
2094 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
2095 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
2096 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65,
2097 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74,
2098 0x65, 0x64, 0x3a, 0x61, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65,
2099 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62,
2100 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x32, 0x20, 0x01,
2101 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73,
2102 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
2103 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
Damien Neile89e6242019-05-13 23:55:40 -07002104 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2105 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
2106 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73,
2107 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x32,
Herbie Ong8170d692019-02-13 14:13:21 -08002108}
2109
Joe Tsai5d72cc22019-03-28 01:13:26 -07002110var (
Joe Tsai7ca70982019-04-15 13:57:56 -07002111 file_pb2_test_proto_rawDescOnce sync.Once
2112 file_pb2_test_proto_rawDescData = file_pb2_test_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -07002113)
Herbie Ong8170d692019-02-13 14:13:21 -08002114
Joe Tsai7ca70982019-04-15 13:57:56 -07002115func file_pb2_test_proto_rawDescGZIP() []byte {
2116 file_pb2_test_proto_rawDescOnce.Do(func() {
2117 file_pb2_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb2_test_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -07002118 })
Joe Tsai7ca70982019-04-15 13:57:56 -07002119 return file_pb2_test_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -07002120}
Herbie Ong8170d692019-02-13 14:13:21 -08002121
Damien Neil4401a0d2019-08-06 15:26:36 -07002122var file_pb2_test_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
Joe Tsai4fe96632019-05-22 05:12:36 -04002123var file_pb2_test_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
Joe Tsai7ca70982019-04-15 13:57:56 -07002124var file_pb2_test_proto_goTypes = []interface{}{
Herbie Ong8170d692019-02-13 14:13:21 -08002125 (Enum)(0), // 0: pb2.Enum
2126 (Enums_NestedEnum)(0), // 1: pb2.Enums.NestedEnum
2127 (*Scalars)(nil), // 2: pb2.Scalars
2128 (*Enums)(nil), // 3: pb2.Enums
2129 (*Repeats)(nil), // 4: pb2.Repeats
2130 (*Nested)(nil), // 5: pb2.Nested
2131 (*Nests)(nil), // 6: pb2.Nests
2132 (*Requireds)(nil), // 7: pb2.Requireds
2133 (*PartialRequired)(nil), // 8: pb2.PartialRequired
2134 (*NestedWithRequired)(nil), // 9: pb2.NestedWithRequired
2135 (*IndirectRequired)(nil), // 10: pb2.IndirectRequired
2136 (*Extensions)(nil), // 11: pb2.Extensions
2137 (*ExtensionsContainer)(nil), // 12: pb2.ExtensionsContainer
2138 (*MessageSet)(nil), // 13: pb2.MessageSet
2139 (*MessageSetExtension)(nil), // 14: pb2.MessageSetExtension
2140 (*FakeMessageSet)(nil), // 15: pb2.FakeMessageSet
2141 (*FakeMessageSetExtension)(nil), // 16: pb2.FakeMessageSetExtension
2142 (*KnownTypes)(nil), // 17: pb2.KnownTypes
2143 (*Nests_OptGroup)(nil), // 18: pb2.Nests.OptGroup
2144 (*Nests_RptGroup)(nil), // 19: pb2.Nests.RptGroup
2145 (*Nests_OptGroup_OptNestedGroup)(nil), // 20: pb2.Nests.OptGroup.OptNestedGroup
2146 nil, // 21: pb2.IndirectRequired.StrToNestedEntry
Joe Tsaia95b29f2019-05-16 12:47:20 -07002147 (*wrapperspb.BoolValue)(nil), // 22: google.protobuf.BoolValue
2148 (*wrapperspb.Int32Value)(nil), // 23: google.protobuf.Int32Value
2149 (*wrapperspb.Int64Value)(nil), // 24: google.protobuf.Int64Value
2150 (*wrapperspb.UInt32Value)(nil), // 25: google.protobuf.UInt32Value
2151 (*wrapperspb.UInt64Value)(nil), // 26: google.protobuf.UInt64Value
2152 (*wrapperspb.FloatValue)(nil), // 27: google.protobuf.FloatValue
2153 (*wrapperspb.DoubleValue)(nil), // 28: google.protobuf.DoubleValue
2154 (*wrapperspb.StringValue)(nil), // 29: google.protobuf.StringValue
2155 (*wrapperspb.BytesValue)(nil), // 30: google.protobuf.BytesValue
2156 (*durationpb.Duration)(nil), // 31: google.protobuf.Duration
2157 (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp
2158 (*structpb.Struct)(nil), // 33: google.protobuf.Struct
2159 (*structpb.ListValue)(nil), // 34: google.protobuf.ListValue
2160 (*structpb.Value)(nil), // 35: google.protobuf.Value
2161 (structpb.NullValue)(0), // 36: google.protobuf.NullValue
2162 (*emptypb.Empty)(nil), // 37: google.protobuf.Empty
2163 (*anypb.Any)(nil), // 38: google.protobuf.Any
2164 (*fieldmaskpb.FieldMask)(nil), // 39: google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08002165}
Joe Tsai7ca70982019-04-15 13:57:56 -07002166var file_pb2_test_proto_depIdxs = []int32{
Joe Tsai73288392019-08-14 11:55:31 -07002167 0, // 0: pb2.Enums.opt_enum:type_name -> pb2.Enum
2168 0, // 1: pb2.Enums.rpt_enum:type_name -> pb2.Enum
2169 1, // 2: pb2.Enums.opt_nested_enum:type_name -> pb2.Enums.NestedEnum
2170 1, // 3: pb2.Enums.rpt_nested_enum:type_name -> pb2.Enums.NestedEnum
2171 5, // 4: pb2.Nested.opt_nested:type_name -> pb2.Nested
2172 5, // 5: pb2.Nests.opt_nested:type_name -> pb2.Nested
2173 18, // 6: pb2.Nests.optgroup:type_name -> pb2.Nests.OptGroup
2174 5, // 7: pb2.Nests.rpt_nested:type_name -> pb2.Nested
2175 19, // 8: pb2.Nests.rptgroup:type_name -> pb2.Nests.RptGroup
2176 0, // 9: pb2.Requireds.req_enum:type_name -> pb2.Enum
2177 5, // 10: pb2.Requireds.req_nested:type_name -> pb2.Nested
2178 9, // 11: pb2.IndirectRequired.opt_nested:type_name -> pb2.NestedWithRequired
2179 9, // 12: pb2.IndirectRequired.rpt_nested:type_name -> pb2.NestedWithRequired
2180 21, // 13: pb2.IndirectRequired.str_to_nested:type_name -> pb2.IndirectRequired.StrToNestedEntry
2181 9, // 14: pb2.IndirectRequired.oneof_nested:type_name -> pb2.NestedWithRequired
2182 22, // 15: pb2.KnownTypes.opt_bool:type_name -> google.protobuf.BoolValue
2183 23, // 16: pb2.KnownTypes.opt_int32:type_name -> google.protobuf.Int32Value
2184 24, // 17: pb2.KnownTypes.opt_int64:type_name -> google.protobuf.Int64Value
2185 25, // 18: pb2.KnownTypes.opt_uint32:type_name -> google.protobuf.UInt32Value
2186 26, // 19: pb2.KnownTypes.opt_uint64:type_name -> google.protobuf.UInt64Value
2187 27, // 20: pb2.KnownTypes.opt_float:type_name -> google.protobuf.FloatValue
2188 28, // 21: pb2.KnownTypes.opt_double:type_name -> google.protobuf.DoubleValue
2189 29, // 22: pb2.KnownTypes.opt_string:type_name -> google.protobuf.StringValue
2190 30, // 23: pb2.KnownTypes.opt_bytes:type_name -> google.protobuf.BytesValue
2191 31, // 24: pb2.KnownTypes.opt_duration:type_name -> google.protobuf.Duration
2192 32, // 25: pb2.KnownTypes.opt_timestamp:type_name -> google.protobuf.Timestamp
2193 33, // 26: pb2.KnownTypes.opt_struct:type_name -> google.protobuf.Struct
2194 34, // 27: pb2.KnownTypes.opt_list:type_name -> google.protobuf.ListValue
2195 35, // 28: pb2.KnownTypes.opt_value:type_name -> google.protobuf.Value
2196 36, // 29: pb2.KnownTypes.opt_null:type_name -> google.protobuf.NullValue
2197 37, // 30: pb2.KnownTypes.opt_empty:type_name -> google.protobuf.Empty
2198 38, // 31: pb2.KnownTypes.opt_any:type_name -> google.protobuf.Any
2199 39, // 32: pb2.KnownTypes.opt_fieldmask:type_name -> google.protobuf.FieldMask
2200 5, // 33: pb2.Nests.OptGroup.opt_nested:type_name -> pb2.Nested
2201 20, // 34: pb2.Nests.OptGroup.optnestedgroup:type_name -> pb2.Nests.OptGroup.OptNestedGroup
2202 9, // 35: pb2.IndirectRequired.StrToNestedEntry.value:type_name -> pb2.NestedWithRequired
2203 11, // 36: pb2.opt_ext_bool:extendee -> pb2.Extensions
2204 11, // 37: pb2.opt_ext_string:extendee -> pb2.Extensions
2205 11, // 38: pb2.opt_ext_enum:extendee -> pb2.Extensions
2206 11, // 39: pb2.opt_ext_nested:extendee -> pb2.Extensions
2207 11, // 40: pb2.opt_ext_partial:extendee -> pb2.Extensions
2208 11, // 41: pb2.rpt_ext_fixed32:extendee -> pb2.Extensions
2209 11, // 42: pb2.rpt_ext_enum:extendee -> pb2.Extensions
2210 11, // 43: pb2.rpt_ext_nested:extendee -> pb2.Extensions
2211 13, // 44: pb2.message_set_extension:extendee -> pb2.MessageSet
2212 11, // 45: pb2.ExtensionsContainer.opt_ext_bool:extendee -> pb2.Extensions
2213 11, // 46: pb2.ExtensionsContainer.opt_ext_string:extendee -> pb2.Extensions
2214 11, // 47: pb2.ExtensionsContainer.opt_ext_enum:extendee -> pb2.Extensions
2215 11, // 48: pb2.ExtensionsContainer.opt_ext_nested:extendee -> pb2.Extensions
2216 11, // 49: pb2.ExtensionsContainer.opt_ext_partial:extendee -> pb2.Extensions
2217 11, // 50: pb2.ExtensionsContainer.rpt_ext_string:extendee -> pb2.Extensions
2218 11, // 51: pb2.ExtensionsContainer.rpt_ext_enum:extendee -> pb2.Extensions
2219 11, // 52: pb2.ExtensionsContainer.rpt_ext_nested:extendee -> pb2.Extensions
2220 13, // 53: pb2.MessageSetExtension.message_set_extension:extendee -> pb2.MessageSet
2221 13, // 54: pb2.MessageSetExtension.not_message_set_extension:extendee -> pb2.MessageSet
2222 13, // 55: pb2.MessageSetExtension.ext_nested:extendee -> pb2.MessageSet
2223 15, // 56: pb2.FakeMessageSetExtension.message_set_extension:extendee -> pb2.FakeMessageSet
2224 0, // 57: pb2.opt_ext_enum:type_name -> pb2.Enum
2225 5, // 58: pb2.opt_ext_nested:type_name -> pb2.Nested
2226 8, // 59: pb2.opt_ext_partial:type_name -> pb2.PartialRequired
2227 0, // 60: pb2.rpt_ext_enum:type_name -> pb2.Enum
2228 5, // 61: pb2.rpt_ext_nested:type_name -> pb2.Nested
2229 16, // 62: pb2.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2230 0, // 63: pb2.ExtensionsContainer.opt_ext_enum:type_name -> pb2.Enum
2231 5, // 64: pb2.ExtensionsContainer.opt_ext_nested:type_name -> pb2.Nested
2232 8, // 65: pb2.ExtensionsContainer.opt_ext_partial:type_name -> pb2.PartialRequired
2233 0, // 66: pb2.ExtensionsContainer.rpt_ext_enum:type_name -> pb2.Enum
2234 5, // 67: pb2.ExtensionsContainer.rpt_ext_nested:type_name -> pb2.Nested
2235 14, // 68: pb2.MessageSetExtension.message_set_extension:type_name -> pb2.MessageSetExtension
2236 14, // 69: pb2.MessageSetExtension.not_message_set_extension:type_name -> pb2.MessageSetExtension
2237 5, // 70: pb2.MessageSetExtension.ext_nested:type_name -> pb2.Nested
2238 16, // 71: pb2.FakeMessageSetExtension.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2239 72, // [72:72] is the sub-list for method output_type
2240 72, // [72:72] is the sub-list for method input_type
2241 57, // [57:72] is the sub-list for extension type_name
2242 36, // [36:57] is the sub-list for extension extendee
2243 0, // [0:36] is the sub-list for field type_name
Herbie Ong8170d692019-02-13 14:13:21 -08002244}
2245
Joe Tsai7ca70982019-04-15 13:57:56 -07002246func init() { file_pb2_test_proto_init() }
2247func file_pb2_test_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -08002248 if File_pb2_test_proto != nil {
2249 return
2250 }
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002251 if !protoimpl.UnsafeEnabled {
2252 file_pb2_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2253 switch v := v.(*Scalars); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002254 case 0:
2255 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002256 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002257 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002258 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002259 return &v.unknownFields
2260 default:
2261 return nil
2262 }
2263 }
2264 file_pb2_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2265 switch v := v.(*Enums); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002266 case 0:
2267 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002268 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002269 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002270 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002271 return &v.unknownFields
2272 default:
2273 return nil
2274 }
2275 }
2276 file_pb2_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2277 switch v := v.(*Repeats); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002278 case 0:
2279 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002280 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002281 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002282 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002283 return &v.unknownFields
2284 default:
2285 return nil
2286 }
2287 }
2288 file_pb2_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2289 switch v := v.(*Nested); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002290 case 0:
2291 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002292 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002293 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002294 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002295 return &v.unknownFields
2296 default:
2297 return nil
2298 }
2299 }
2300 file_pb2_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2301 switch v := v.(*Nests); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002302 case 0:
2303 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002304 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002305 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002306 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002307 return &v.unknownFields
2308 default:
2309 return nil
2310 }
2311 }
2312 file_pb2_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2313 switch v := v.(*Requireds); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002314 case 0:
2315 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002316 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002317 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002318 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002319 return &v.unknownFields
2320 default:
2321 return nil
2322 }
2323 }
2324 file_pb2_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
2325 switch v := v.(*PartialRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002326 case 0:
2327 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002328 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002329 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002330 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002331 return &v.unknownFields
2332 default:
2333 return nil
2334 }
2335 }
2336 file_pb2_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2337 switch v := v.(*NestedWithRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002338 case 0:
2339 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002340 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002341 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002342 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002343 return &v.unknownFields
2344 default:
2345 return nil
2346 }
2347 }
2348 file_pb2_test_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
2349 switch v := v.(*IndirectRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002350 case 0:
2351 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002352 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002353 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002354 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002355 return &v.unknownFields
2356 default:
2357 return nil
2358 }
2359 }
2360 file_pb2_test_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
2361 switch v := v.(*Extensions); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002362 case 0:
2363 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002364 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002365 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002366 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002367 return &v.unknownFields
Joe Tsai38b61962019-08-05 13:09:30 -07002368 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002369 return &v.extensionFields
2370 default:
2371 return nil
2372 }
2373 }
2374 file_pb2_test_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2375 switch v := v.(*ExtensionsContainer); i {
2376 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002377 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002378 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002379 return &v.sizeCache
2380 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002381 return &v.unknownFields
2382 default:
2383 return nil
2384 }
2385 }
2386 file_pb2_test_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2387 switch v := v.(*MessageSet); i {
2388 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002389 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002390 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002391 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002392 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002393 return &v.unknownFields
2394 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002395 return &v.extensionFields
2396 default:
2397 return nil
2398 }
2399 }
2400 file_pb2_test_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2401 switch v := v.(*MessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002402 case 0:
2403 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002404 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002405 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002406 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002407 return &v.unknownFields
2408 default:
2409 return nil
2410 }
2411 }
2412 file_pb2_test_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
2413 switch v := v.(*FakeMessageSet); i {
2414 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002415 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002416 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002417 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002418 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002419 return &v.unknownFields
2420 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002421 return &v.extensionFields
2422 default:
2423 return nil
2424 }
2425 }
2426 file_pb2_test_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
2427 switch v := v.(*FakeMessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002428 case 0:
2429 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002430 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002431 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002432 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002433 return &v.unknownFields
2434 default:
2435 return nil
2436 }
2437 }
2438 file_pb2_test_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
2439 switch v := v.(*KnownTypes); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002440 case 0:
2441 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002442 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002443 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002444 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002445 return &v.unknownFields
2446 default:
2447 return nil
2448 }
2449 }
2450 file_pb2_test_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
2451 switch v := v.(*Nests_OptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002452 case 0:
2453 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002454 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002455 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002456 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002457 return &v.unknownFields
2458 default:
2459 return nil
2460 }
2461 }
2462 file_pb2_test_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
2463 switch v := v.(*Nests_RptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002464 case 0:
2465 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002466 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002467 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002468 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002469 return &v.unknownFields
2470 default:
2471 return nil
2472 }
2473 }
2474 file_pb2_test_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
2475 switch v := v.(*Nests_OptGroup_OptNestedGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002476 case 0:
2477 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002478 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002479 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002480 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002481 return &v.unknownFields
2482 default:
2483 return nil
2484 }
2485 }
2486 }
Joe Tsai09912272019-07-08 10:38:11 -07002487 file_pb2_test_proto_msgTypes[8].OneofWrappers = []interface{}{
2488 (*IndirectRequired_OneofNested)(nil),
2489 }
Joe Tsaiaf570872019-07-14 23:04:40 -07002490 type x struct{}
Joe Tsaid8881392019-06-06 13:01:53 -07002491 out := protoimpl.TypeBuilder{
2492 File: protoimpl.DescBuilder{
Joe Tsaiaf570872019-07-14 23:04:40 -07002493 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
Joe Tsaid8881392019-06-06 13:01:53 -07002494 RawDescriptor: file_pb2_test_proto_rawDesc,
2495 NumEnums: 2,
2496 NumMessages: 20,
2497 NumExtensions: 21,
2498 NumServices: 0,
2499 },
2500 GoTypes: file_pb2_test_proto_goTypes,
2501 DependencyIndexes: file_pb2_test_proto_depIdxs,
Damien Neil4401a0d2019-08-06 15:26:36 -07002502 EnumInfos: file_pb2_test_proto_enumTypes,
Joe Tsaid8881392019-06-06 13:01:53 -07002503 MessageInfos: file_pb2_test_proto_msgTypes,
Damien Neilf1e905b2019-08-08 15:45:59 -07002504 ExtensionInfos: file_pb2_test_proto_extTypes,
Joe Tsaid8881392019-06-06 13:01:53 -07002505 }.Build()
2506 File_pb2_test_proto = out.File
Joe Tsai7ca70982019-04-15 13:57:56 -07002507 file_pb2_test_proto_rawDesc = nil
2508 file_pb2_test_proto_goTypes = nil
2509 file_pb2_test_proto_depIdxs = nil
Herbie Ong8170d692019-02-13 14:13:21 -08002510}