blob: 9b527fd7abd15cbc5f42a37fffcbbd0ae5ce6396 [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"
Joe Tsaid8881392019-06-06 13:01:53 -070014 prototype "google.golang.org/protobuf/reflect/prototype"
Damien Neile89e6242019-05-13 23:55:40 -070015 protoiface "google.golang.org/protobuf/runtime/protoiface"
16 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
Joe Tsaia95b29f2019-05-16 12:47:20 -070017 anypb "google.golang.org/protobuf/types/known/anypb"
18 durationpb "google.golang.org/protobuf/types/known/durationpb"
19 emptypb "google.golang.org/protobuf/types/known/emptypb"
20 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
21 structpb "google.golang.org/protobuf/types/known/structpb"
22 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
23 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
Joe Tsaiaf570872019-07-14 23:04:40 -070024 reflect "reflect"
Joe Tsai5d72cc22019-03-28 01:13:26 -070025 sync "sync"
Herbie Ong8170d692019-02-13 14:13:21 -080026)
27
Joe Tsai58b42d82019-05-22 16:27:51 -040028const (
29 // Verify that runtime/protoimpl is sufficiently up-to-date.
30 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 0)
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(0 - protoimpl.MinVersion)
33)
Joe Tsai5d72cc22019-03-28 01:13:26 -070034
Herbie Ong8170d692019-02-13 14:13:21 -080035type Enum int32
36
37const (
38 Enum_ONE Enum = 1
39 Enum_TWO Enum = 2
40 Enum_TEN Enum = 10
41)
42
Joe Tsai9b8a4332019-08-05 18:38:48 -070043// Enum value maps for Enum.
44var (
45 Enum_name = map[int32]string{
46 1: "ONE",
47 2: "TWO",
48 10: "TEN",
49 }
50 Enum_value = map[string]int32{
51 "ONE": 1,
52 "TWO": 2,
53 "TEN": 10,
54 }
55)
Herbie Ong8170d692019-02-13 14:13:21 -080056
57func (x Enum) Enum() *Enum {
Joe Tsai09b5b462019-04-10 15:29:01 -070058 p := new(Enum)
59 *p = x
60 return p
Herbie Ong8170d692019-02-13 14:13:21 -080061}
62
63func (x Enum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -070064 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -080065}
66
Joe Tsai0fc49f82019-05-01 12:29:25 -070067func (Enum) Descriptor() protoreflect.EnumDescriptor {
Joe Tsaid8881392019-06-06 13:01:53 -070068 return file_pb2_test_proto_enumTypes[0].EnumDescriptor
Joe Tsai0fc49f82019-05-01 12:29:25 -070069}
70
Joe Tsaid4211502019-07-02 14:58:02 -070071func (Enum) Type() protoreflect.EnumType {
72 return &file_pb2_test_proto_enumTypes[0]
73}
74
Joe Tsai61968ce2019-04-01 12:59:24 -070075func (x Enum) Number() protoreflect.EnumNumber {
76 return protoreflect.EnumNumber(x)
77}
78
Joe Tsai8e506a82019-03-16 00:05:34 -070079// Deprecated: Do not use.
80func (x *Enum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -070081 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -080082 if err != nil {
83 return err
84 }
Joe Tsai8e506a82019-03-16 00:05:34 -070085 *x = Enum(num)
Herbie Ong8170d692019-02-13 14:13:21 -080086 return nil
87}
88
Joe Tsai43761bd2019-07-17 18:06:47 -070089// Deprecated: Use Enum.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -080090func (Enum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -070091 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -080092}
93
94type Enums_NestedEnum int32
95
96const (
97 Enums_UNO Enums_NestedEnum = 1
98 Enums_DOS Enums_NestedEnum = 2
99 Enums_DIEZ Enums_NestedEnum = 10
100)
101
Joe Tsai9b8a4332019-08-05 18:38:48 -0700102// Enum value maps for Enums_NestedEnum.
103var (
104 Enums_NestedEnum_name = map[int32]string{
105 1: "UNO",
106 2: "DOS",
107 10: "DIEZ",
108 }
109 Enums_NestedEnum_value = map[string]int32{
110 "UNO": 1,
111 "DOS": 2,
112 "DIEZ": 10,
113 }
114)
Herbie Ong8170d692019-02-13 14:13:21 -0800115
116func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
Joe Tsai09b5b462019-04-10 15:29:01 -0700117 p := new(Enums_NestedEnum)
118 *p = x
119 return p
Herbie Ong8170d692019-02-13 14:13:21 -0800120}
121
122func (x Enums_NestedEnum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700123 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -0800124}
125
Joe Tsai0fc49f82019-05-01 12:29:25 -0700126func (Enums_NestedEnum) Descriptor() protoreflect.EnumDescriptor {
Joe Tsaid8881392019-06-06 13:01:53 -0700127 return file_pb2_test_proto_enumTypes[1].EnumDescriptor
Joe Tsai0fc49f82019-05-01 12:29:25 -0700128}
129
Joe Tsaid4211502019-07-02 14:58:02 -0700130func (Enums_NestedEnum) Type() protoreflect.EnumType {
131 return &file_pb2_test_proto_enumTypes[1]
132}
133
Joe Tsai61968ce2019-04-01 12:59:24 -0700134func (x Enums_NestedEnum) Number() protoreflect.EnumNumber {
135 return protoreflect.EnumNumber(x)
136}
137
Joe Tsai8e506a82019-03-16 00:05:34 -0700138// Deprecated: Do not use.
139func (x *Enums_NestedEnum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700140 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -0800141 if err != nil {
142 return err
143 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700144 *x = Enums_NestedEnum(num)
Herbie Ong8170d692019-02-13 14:13:21 -0800145 return nil
146}
147
Joe Tsai43761bd2019-07-17 18:06:47 -0700148// Deprecated: Use Enums_NestedEnum.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800149func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700150 return file_pb2_test_proto_rawDescGZIP(), []int{1, 0}
Herbie Ong8170d692019-02-13 14:13:21 -0800151}
152
153// Scalars contains optional scalar fields.
154type Scalars struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700155 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700156 sizeCache protoimpl.SizeCache
157 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700158
159 OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
160 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
161 OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
162 OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
163 OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
164 OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"`
165 OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"`
166 OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
167 OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"`
168 OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"`
169 OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"`
170 OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
171 OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
172 OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
173 OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800174}
175
Joe Tsai61968ce2019-04-01 12:59:24 -0700176func (x *Scalars) Reset() {
177 *x = Scalars{}
Herbie Ong8170d692019-02-13 14:13:21 -0800178}
Joe Tsai61968ce2019-04-01 12:59:24 -0700179
180func (x *Scalars) String() string {
181 return protoimpl.X.MessageStringOf(x)
182}
183
184func (*Scalars) ProtoMessage() {}
185
186func (x *Scalars) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700187 mi := &file_pb2_test_proto_msgTypes[0]
188 if protoimpl.UnsafeEnabled && x != nil {
189 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
190 if ms.LoadMessageInfo() == nil {
191 ms.StoreMessageInfo(mi)
192 }
193 return ms
194 }
195 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700196}
Joe Tsai8e506a82019-03-16 00:05:34 -0700197
Joe Tsai43761bd2019-07-17 18:06:47 -0700198// Deprecated: Use Scalars.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800199func (*Scalars) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700200 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -0800201}
202
Joe Tsai61968ce2019-04-01 12:59:24 -0700203func (x *Scalars) GetOptBool() bool {
204 if x != nil && x.OptBool != nil {
205 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800206 }
207 return false
208}
209
Joe Tsai61968ce2019-04-01 12:59:24 -0700210func (x *Scalars) GetOptInt32() int32 {
211 if x != nil && x.OptInt32 != nil {
212 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800213 }
214 return 0
215}
216
Joe Tsai61968ce2019-04-01 12:59:24 -0700217func (x *Scalars) GetOptInt64() int64 {
218 if x != nil && x.OptInt64 != nil {
219 return *x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800220 }
221 return 0
222}
223
Joe Tsai61968ce2019-04-01 12:59:24 -0700224func (x *Scalars) GetOptUint32() uint32 {
225 if x != nil && x.OptUint32 != nil {
226 return *x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800227 }
228 return 0
229}
230
Joe Tsai61968ce2019-04-01 12:59:24 -0700231func (x *Scalars) GetOptUint64() uint64 {
232 if x != nil && x.OptUint64 != nil {
233 return *x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800234 }
235 return 0
236}
237
Joe Tsai61968ce2019-04-01 12:59:24 -0700238func (x *Scalars) GetOptSint32() int32 {
239 if x != nil && x.OptSint32 != nil {
240 return *x.OptSint32
Herbie Ong8170d692019-02-13 14:13:21 -0800241 }
242 return 0
243}
244
Joe Tsai61968ce2019-04-01 12:59:24 -0700245func (x *Scalars) GetOptSint64() int64 {
246 if x != nil && x.OptSint64 != nil {
247 return *x.OptSint64
Herbie Ong8170d692019-02-13 14:13:21 -0800248 }
249 return 0
250}
251
Joe Tsai61968ce2019-04-01 12:59:24 -0700252func (x *Scalars) GetOptFixed32() uint32 {
253 if x != nil && x.OptFixed32 != nil {
254 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800255 }
256 return 0
257}
258
Joe Tsai61968ce2019-04-01 12:59:24 -0700259func (x *Scalars) GetOptFixed64() uint64 {
260 if x != nil && x.OptFixed64 != nil {
261 return *x.OptFixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800262 }
263 return 0
264}
265
Joe Tsai61968ce2019-04-01 12:59:24 -0700266func (x *Scalars) GetOptSfixed32() int32 {
267 if x != nil && x.OptSfixed32 != nil {
268 return *x.OptSfixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800269 }
270 return 0
271}
272
Joe Tsai61968ce2019-04-01 12:59:24 -0700273func (x *Scalars) GetOptSfixed64() int64 {
274 if x != nil && x.OptSfixed64 != nil {
275 return *x.OptSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800276 }
277 return 0
278}
279
Joe Tsai61968ce2019-04-01 12:59:24 -0700280func (x *Scalars) GetOptFloat() float32 {
281 if x != nil && x.OptFloat != nil {
282 return *x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800283 }
284 return 0
285}
286
Joe Tsai61968ce2019-04-01 12:59:24 -0700287func (x *Scalars) GetOptDouble() float64 {
288 if x != nil && x.OptDouble != nil {
289 return *x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800290 }
291 return 0
292}
293
Joe Tsai61968ce2019-04-01 12:59:24 -0700294func (x *Scalars) GetOptBytes() []byte {
295 if x != nil {
296 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800297 }
298 return nil
299}
300
Joe Tsai61968ce2019-04-01 12:59:24 -0700301func (x *Scalars) GetOptString() string {
302 if x != nil && x.OptString != nil {
303 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800304 }
305 return ""
306}
307
308// Message contains enum fields.
309type Enums struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700310 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700311 sizeCache protoimpl.SizeCache
312 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700313
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700314 OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
315 RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"`
316 OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
317 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 -0800318}
319
Joe Tsai61968ce2019-04-01 12:59:24 -0700320func (x *Enums) Reset() {
321 *x = Enums{}
Herbie Ong8170d692019-02-13 14:13:21 -0800322}
Joe Tsai61968ce2019-04-01 12:59:24 -0700323
324func (x *Enums) String() string {
325 return protoimpl.X.MessageStringOf(x)
326}
327
328func (*Enums) ProtoMessage() {}
329
330func (x *Enums) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700331 mi := &file_pb2_test_proto_msgTypes[1]
332 if protoimpl.UnsafeEnabled && x != nil {
333 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
334 if ms.LoadMessageInfo() == nil {
335 ms.StoreMessageInfo(mi)
336 }
337 return ms
338 }
339 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700340}
Joe Tsai8e506a82019-03-16 00:05:34 -0700341
Joe Tsai43761bd2019-07-17 18:06:47 -0700342// Deprecated: Use Enums.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800343func (*Enums) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700344 return file_pb2_test_proto_rawDescGZIP(), []int{1}
Herbie Ong8170d692019-02-13 14:13:21 -0800345}
346
Joe Tsai61968ce2019-04-01 12:59:24 -0700347func (x *Enums) GetOptEnum() Enum {
348 if x != nil && x.OptEnum != nil {
349 return *x.OptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800350 }
351 return Enum_ONE
352}
353
Joe Tsai61968ce2019-04-01 12:59:24 -0700354func (x *Enums) GetRptEnum() []Enum {
355 if x != nil {
356 return x.RptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800357 }
358 return nil
359}
360
Joe Tsai61968ce2019-04-01 12:59:24 -0700361func (x *Enums) GetOptNestedEnum() Enums_NestedEnum {
362 if x != nil && x.OptNestedEnum != nil {
363 return *x.OptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800364 }
365 return Enums_UNO
366}
367
Joe Tsai61968ce2019-04-01 12:59:24 -0700368func (x *Enums) GetRptNestedEnum() []Enums_NestedEnum {
369 if x != nil {
370 return x.RptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800371 }
372 return nil
373}
374
375// Message contains repeated fields.
376type Repeats struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700377 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700378 sizeCache protoimpl.SizeCache
379 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700380
381 RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
382 RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"`
383 RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"`
384 RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"`
385 RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"`
386 RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"`
387 RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"`
388 RptString []string `protobuf:"bytes,8,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
389 RptBytes [][]byte `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800390}
391
Joe Tsai61968ce2019-04-01 12:59:24 -0700392func (x *Repeats) Reset() {
393 *x = Repeats{}
Herbie Ong8170d692019-02-13 14:13:21 -0800394}
Joe Tsai61968ce2019-04-01 12:59:24 -0700395
396func (x *Repeats) String() string {
397 return protoimpl.X.MessageStringOf(x)
398}
399
400func (*Repeats) ProtoMessage() {}
401
402func (x *Repeats) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700403 mi := &file_pb2_test_proto_msgTypes[2]
404 if protoimpl.UnsafeEnabled && x != nil {
405 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
406 if ms.LoadMessageInfo() == nil {
407 ms.StoreMessageInfo(mi)
408 }
409 return ms
410 }
411 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700412}
Joe Tsai8e506a82019-03-16 00:05:34 -0700413
Joe Tsai43761bd2019-07-17 18:06:47 -0700414// Deprecated: Use Repeats.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800415func (*Repeats) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700416 return file_pb2_test_proto_rawDescGZIP(), []int{2}
Herbie Ong8170d692019-02-13 14:13:21 -0800417}
418
Joe Tsai61968ce2019-04-01 12:59:24 -0700419func (x *Repeats) GetRptBool() []bool {
420 if x != nil {
421 return x.RptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800422 }
423 return nil
424}
425
Joe Tsai61968ce2019-04-01 12:59:24 -0700426func (x *Repeats) GetRptInt32() []int32 {
427 if x != nil {
428 return x.RptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800429 }
430 return nil
431}
432
Joe Tsai61968ce2019-04-01 12:59:24 -0700433func (x *Repeats) GetRptInt64() []int64 {
434 if x != nil {
435 return x.RptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800436 }
437 return nil
438}
439
Joe Tsai61968ce2019-04-01 12:59:24 -0700440func (x *Repeats) GetRptUint32() []uint32 {
441 if x != nil {
442 return x.RptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800443 }
444 return nil
445}
446
Joe Tsai61968ce2019-04-01 12:59:24 -0700447func (x *Repeats) GetRptUint64() []uint64 {
448 if x != nil {
449 return x.RptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800450 }
451 return nil
452}
453
Joe Tsai61968ce2019-04-01 12:59:24 -0700454func (x *Repeats) GetRptFloat() []float32 {
455 if x != nil {
456 return x.RptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800457 }
458 return nil
459}
460
Joe Tsai61968ce2019-04-01 12:59:24 -0700461func (x *Repeats) GetRptDouble() []float64 {
462 if x != nil {
463 return x.RptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800464 }
465 return nil
466}
467
Joe Tsai61968ce2019-04-01 12:59:24 -0700468func (x *Repeats) GetRptString() []string {
469 if x != nil {
470 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -0800471 }
472 return nil
473}
474
Joe Tsai61968ce2019-04-01 12:59:24 -0700475func (x *Repeats) GetRptBytes() [][]byte {
476 if x != nil {
477 return x.RptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800478 }
479 return nil
480}
481
482// Message type used as submessage.
483type Nested struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700484 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700485 sizeCache protoimpl.SizeCache
486 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700487
488 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
489 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800490}
491
Joe Tsai61968ce2019-04-01 12:59:24 -0700492func (x *Nested) Reset() {
493 *x = Nested{}
Herbie Ong8170d692019-02-13 14:13:21 -0800494}
Joe Tsai61968ce2019-04-01 12:59:24 -0700495
496func (x *Nested) String() string {
497 return protoimpl.X.MessageStringOf(x)
498}
499
500func (*Nested) ProtoMessage() {}
501
502func (x *Nested) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700503 mi := &file_pb2_test_proto_msgTypes[3]
504 if protoimpl.UnsafeEnabled && x != nil {
505 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
506 if ms.LoadMessageInfo() == nil {
507 ms.StoreMessageInfo(mi)
508 }
509 return ms
510 }
511 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700512}
Joe Tsai8e506a82019-03-16 00:05:34 -0700513
Joe Tsai43761bd2019-07-17 18:06:47 -0700514// Deprecated: Use Nested.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800515func (*Nested) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700516 return file_pb2_test_proto_rawDescGZIP(), []int{3}
Herbie Ong8170d692019-02-13 14:13:21 -0800517}
518
Joe Tsai61968ce2019-04-01 12:59:24 -0700519func (x *Nested) GetOptString() string {
520 if x != nil && x.OptString != nil {
521 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800522 }
523 return ""
524}
525
Joe Tsai61968ce2019-04-01 12:59:24 -0700526func (x *Nested) GetOptNested() *Nested {
527 if x != nil {
528 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800529 }
530 return nil
531}
532
533// Message contains message and group fields.
534type Nests struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700535 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700536 sizeCache protoimpl.SizeCache
537 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700538
539 OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
540 Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"`
541 RptNested []*Nested `protobuf:"bytes,4,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
542 Rptgroup []*Nests_RptGroup `protobuf:"group,5,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800543}
544
Joe Tsai61968ce2019-04-01 12:59:24 -0700545func (x *Nests) Reset() {
546 *x = Nests{}
Herbie Ong8170d692019-02-13 14:13:21 -0800547}
Joe Tsai61968ce2019-04-01 12:59:24 -0700548
549func (x *Nests) String() string {
550 return protoimpl.X.MessageStringOf(x)
551}
552
553func (*Nests) ProtoMessage() {}
554
555func (x *Nests) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700556 mi := &file_pb2_test_proto_msgTypes[4]
557 if protoimpl.UnsafeEnabled && x != nil {
558 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
559 if ms.LoadMessageInfo() == nil {
560 ms.StoreMessageInfo(mi)
561 }
562 return ms
563 }
564 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700565}
Joe Tsai8e506a82019-03-16 00:05:34 -0700566
Joe Tsai43761bd2019-07-17 18:06:47 -0700567// Deprecated: Use Nests.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800568func (*Nests) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700569 return file_pb2_test_proto_rawDescGZIP(), []int{4}
Herbie Ong8170d692019-02-13 14:13:21 -0800570}
571
Joe Tsai61968ce2019-04-01 12:59:24 -0700572func (x *Nests) GetOptNested() *Nested {
573 if x != nil {
574 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800575 }
576 return nil
577}
578
Joe Tsai61968ce2019-04-01 12:59:24 -0700579func (x *Nests) GetOptgroup() *Nests_OptGroup {
580 if x != nil {
581 return x.Optgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800582 }
583 return nil
584}
585
Joe Tsai61968ce2019-04-01 12:59:24 -0700586func (x *Nests) GetRptNested() []*Nested {
587 if x != nil {
588 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800589 }
590 return nil
591}
592
Joe Tsai61968ce2019-04-01 12:59:24 -0700593func (x *Nests) GetRptgroup() []*Nests_RptGroup {
594 if x != nil {
595 return x.Rptgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800596 }
597 return nil
598}
599
600// Message contains required fields.
601type Requireds struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700602 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700603 sizeCache protoimpl.SizeCache
604 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700605
606 ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"`
607 ReqSfixed64 *int64 `protobuf:"fixed64,2,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"`
608 ReqDouble *float64 `protobuf:"fixed64,3,req,name=req_double,json=reqDouble" json:"req_double,omitempty"`
609 ReqString *string `protobuf:"bytes,4,req,name=req_string,json=reqString" json:"req_string,omitempty"`
610 ReqEnum *Enum `protobuf:"varint,5,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
611 ReqNested *Nested `protobuf:"bytes,6,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800612}
613
Joe Tsai61968ce2019-04-01 12:59:24 -0700614func (x *Requireds) Reset() {
615 *x = Requireds{}
Herbie Ong8170d692019-02-13 14:13:21 -0800616}
Joe Tsai61968ce2019-04-01 12:59:24 -0700617
618func (x *Requireds) String() string {
619 return protoimpl.X.MessageStringOf(x)
620}
621
622func (*Requireds) ProtoMessage() {}
623
624func (x *Requireds) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700625 mi := &file_pb2_test_proto_msgTypes[5]
626 if protoimpl.UnsafeEnabled && x != nil {
627 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
628 if ms.LoadMessageInfo() == nil {
629 ms.StoreMessageInfo(mi)
630 }
631 return ms
632 }
633 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700634}
Joe Tsai8e506a82019-03-16 00:05:34 -0700635
Joe Tsai43761bd2019-07-17 18:06:47 -0700636// Deprecated: Use Requireds.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800637func (*Requireds) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700638 return file_pb2_test_proto_rawDescGZIP(), []int{5}
Herbie Ong8170d692019-02-13 14:13:21 -0800639}
640
Joe Tsai61968ce2019-04-01 12:59:24 -0700641func (x *Requireds) GetReqBool() bool {
642 if x != nil && x.ReqBool != nil {
643 return *x.ReqBool
Herbie Ong8170d692019-02-13 14:13:21 -0800644 }
645 return false
646}
647
Joe Tsai61968ce2019-04-01 12:59:24 -0700648func (x *Requireds) GetReqSfixed64() int64 {
649 if x != nil && x.ReqSfixed64 != nil {
650 return *x.ReqSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800651 }
652 return 0
653}
654
Joe Tsai61968ce2019-04-01 12:59:24 -0700655func (x *Requireds) GetReqDouble() float64 {
656 if x != nil && x.ReqDouble != nil {
657 return *x.ReqDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800658 }
659 return 0
660}
661
Joe Tsai61968ce2019-04-01 12:59:24 -0700662func (x *Requireds) GetReqString() string {
663 if x != nil && x.ReqString != nil {
664 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800665 }
666 return ""
667}
668
Joe Tsai61968ce2019-04-01 12:59:24 -0700669func (x *Requireds) GetReqEnum() Enum {
670 if x != nil && x.ReqEnum != nil {
671 return *x.ReqEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800672 }
673 return Enum_ONE
674}
675
Joe Tsai61968ce2019-04-01 12:59:24 -0700676func (x *Requireds) GetReqNested() *Nested {
677 if x != nil {
678 return x.ReqNested
Herbie Ong8170d692019-02-13 14:13:21 -0800679 }
680 return nil
681}
682
683// Message contains both required and optional fields.
684type PartialRequired struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700685 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700686 sizeCache protoimpl.SizeCache
687 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700688
689 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
690 OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800691}
692
Joe Tsai61968ce2019-04-01 12:59:24 -0700693func (x *PartialRequired) Reset() {
694 *x = PartialRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800695}
Joe Tsai61968ce2019-04-01 12:59:24 -0700696
697func (x *PartialRequired) String() string {
698 return protoimpl.X.MessageStringOf(x)
699}
700
701func (*PartialRequired) ProtoMessage() {}
702
703func (x *PartialRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700704 mi := &file_pb2_test_proto_msgTypes[6]
705 if protoimpl.UnsafeEnabled && x != nil {
706 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
707 if ms.LoadMessageInfo() == nil {
708 ms.StoreMessageInfo(mi)
709 }
710 return ms
711 }
712 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700713}
Joe Tsai8e506a82019-03-16 00:05:34 -0700714
Joe Tsai43761bd2019-07-17 18:06:47 -0700715// Deprecated: Use PartialRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800716func (*PartialRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700717 return file_pb2_test_proto_rawDescGZIP(), []int{6}
Herbie Ong8170d692019-02-13 14:13:21 -0800718}
719
Joe Tsai61968ce2019-04-01 12:59:24 -0700720func (x *PartialRequired) GetReqString() string {
721 if x != nil && x.ReqString != nil {
722 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800723 }
724 return ""
725}
726
Joe Tsai61968ce2019-04-01 12:59:24 -0700727func (x *PartialRequired) GetOptString() string {
728 if x != nil && x.OptString != nil {
729 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800730 }
731 return ""
732}
733
734type NestedWithRequired struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700735 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700736 sizeCache protoimpl.SizeCache
737 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700738
739 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800740}
741
Joe Tsai61968ce2019-04-01 12:59:24 -0700742func (x *NestedWithRequired) Reset() {
743 *x = NestedWithRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800744}
Joe Tsai61968ce2019-04-01 12:59:24 -0700745
746func (x *NestedWithRequired) String() string {
747 return protoimpl.X.MessageStringOf(x)
748}
749
750func (*NestedWithRequired) ProtoMessage() {}
751
752func (x *NestedWithRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700753 mi := &file_pb2_test_proto_msgTypes[7]
754 if protoimpl.UnsafeEnabled && x != nil {
755 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
756 if ms.LoadMessageInfo() == nil {
757 ms.StoreMessageInfo(mi)
758 }
759 return ms
760 }
761 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700762}
Joe Tsai8e506a82019-03-16 00:05:34 -0700763
Joe Tsai43761bd2019-07-17 18:06:47 -0700764// Deprecated: Use NestedWithRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800765func (*NestedWithRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700766 return file_pb2_test_proto_rawDescGZIP(), []int{7}
Herbie Ong8170d692019-02-13 14:13:21 -0800767}
768
Joe Tsai61968ce2019-04-01 12:59:24 -0700769func (x *NestedWithRequired) GetReqString() string {
770 if x != nil && x.ReqString != nil {
771 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800772 }
773 return ""
774}
775
776type IndirectRequired struct {
Joe Tsai38b61962019-08-05 13:09:30 -0700777 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700778 sizeCache protoimpl.SizeCache
779 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700780
781 OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
782 RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
783 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"`
784 // Types that are assignable to Union:
Joe Tsai38b61962019-08-05 13:09:30 -0700785 // *IndirectRequired_OneofNested
786 Union isIndirectRequired_Union `protobuf_oneof:"union"`
Herbie Ong8170d692019-02-13 14:13:21 -0800787}
788
Joe Tsai61968ce2019-04-01 12:59:24 -0700789func (x *IndirectRequired) Reset() {
790 *x = IndirectRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800791}
Joe Tsai61968ce2019-04-01 12:59:24 -0700792
793func (x *IndirectRequired) String() string {
794 return protoimpl.X.MessageStringOf(x)
795}
796
797func (*IndirectRequired) ProtoMessage() {}
798
799func (x *IndirectRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700800 mi := &file_pb2_test_proto_msgTypes[8]
801 if protoimpl.UnsafeEnabled && x != nil {
802 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
803 if ms.LoadMessageInfo() == nil {
804 ms.StoreMessageInfo(mi)
805 }
806 return ms
807 }
808 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700809}
Joe Tsai8e506a82019-03-16 00:05:34 -0700810
Joe Tsai43761bd2019-07-17 18:06:47 -0700811// Deprecated: Use IndirectRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800812func (*IndirectRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700813 return file_pb2_test_proto_rawDescGZIP(), []int{8}
Herbie Ong8170d692019-02-13 14:13:21 -0800814}
815
Joe Tsai61968ce2019-04-01 12:59:24 -0700816func (x *IndirectRequired) GetOptNested() *NestedWithRequired {
817 if x != nil {
818 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800819 }
820 return nil
821}
822
Joe Tsai61968ce2019-04-01 12:59:24 -0700823func (x *IndirectRequired) GetRptNested() []*NestedWithRequired {
824 if x != nil {
825 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800826 }
827 return nil
828}
829
Joe Tsai61968ce2019-04-01 12:59:24 -0700830func (x *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired {
831 if x != nil {
832 return x.StrToNested
Herbie Ong8170d692019-02-13 14:13:21 -0800833 }
834 return nil
835}
836
Herbie Ong8170d692019-02-13 14:13:21 -0800837func (m *IndirectRequired) GetUnion() isIndirectRequired_Union {
838 if m != nil {
839 return m.Union
840 }
841 return nil
842}
843
Joe Tsai61968ce2019-04-01 12:59:24 -0700844func (x *IndirectRequired) GetOneofNested() *NestedWithRequired {
845 if x, ok := x.GetUnion().(*IndirectRequired_OneofNested); ok {
Herbie Ong8170d692019-02-13 14:13:21 -0800846 return x.OneofNested
847 }
848 return nil
849}
850
Joe Tsai872b5002019-04-08 14:03:15 -0700851type isIndirectRequired_Union interface {
852 isIndirectRequired_Union()
853}
854
855type IndirectRequired_OneofNested struct {
856 OneofNested *NestedWithRequired `protobuf:"bytes,4,opt,name=oneof_nested,json=oneofNested,oneof"`
857}
858
859func (*IndirectRequired_OneofNested) isIndirectRequired_Union() {}
860
Herbie Ong8170d692019-02-13 14:13:21 -0800861type Extensions struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700862 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700863 sizeCache protoimpl.SizeCache
864 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -0700865 extensionFields protoimpl.ExtensionFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700866
867 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
868 OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
869 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800870}
871
Joe Tsai61968ce2019-04-01 12:59:24 -0700872func (x *Extensions) Reset() {
873 *x = Extensions{}
Herbie Ong8170d692019-02-13 14:13:21 -0800874}
Joe Tsai61968ce2019-04-01 12:59:24 -0700875
876func (x *Extensions) String() string {
877 return protoimpl.X.MessageStringOf(x)
878}
879
880func (*Extensions) ProtoMessage() {}
881
882func (x *Extensions) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700883 mi := &file_pb2_test_proto_msgTypes[9]
884 if protoimpl.UnsafeEnabled && x != nil {
885 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
886 if ms.LoadMessageInfo() == nil {
887 ms.StoreMessageInfo(mi)
888 }
889 return ms
890 }
891 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700892}
Joe Tsai8e506a82019-03-16 00:05:34 -0700893
Joe Tsai43761bd2019-07-17 18:06:47 -0700894// Deprecated: Use Extensions.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800895func (*Extensions) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700896 return file_pb2_test_proto_rawDescGZIP(), []int{9}
Herbie Ong8170d692019-02-13 14:13:21 -0800897}
898
Joe Tsai4fddeba2019-03-20 18:29:32 -0700899var extRange_Extensions = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800900 {Start: 20, End: 100},
901}
902
Joe Tsai43761bd2019-07-17 18:06:47 -0700903// Deprecated: Use Extensions.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700904func (*Extensions) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -0800905 return extRange_Extensions
906}
907
Joe Tsai61968ce2019-04-01 12:59:24 -0700908func (x *Extensions) GetOptString() string {
909 if x != nil && x.OptString != nil {
910 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800911 }
912 return ""
913}
914
Joe Tsai61968ce2019-04-01 12:59:24 -0700915func (x *Extensions) GetOptBool() bool {
916 if x != nil && x.OptBool != nil {
917 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800918 }
919 return false
920}
921
Joe Tsai61968ce2019-04-01 12:59:24 -0700922func (x *Extensions) GetOptInt32() int32 {
923 if x != nil && x.OptInt32 != nil {
924 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800925 }
926 return 0
927}
928
929type ExtensionsContainer struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700930 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700931 sizeCache protoimpl.SizeCache
932 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800933}
934
Joe Tsai61968ce2019-04-01 12:59:24 -0700935func (x *ExtensionsContainer) Reset() {
936 *x = ExtensionsContainer{}
Herbie Ong8170d692019-02-13 14:13:21 -0800937}
Joe Tsai61968ce2019-04-01 12:59:24 -0700938
939func (x *ExtensionsContainer) String() string {
940 return protoimpl.X.MessageStringOf(x)
941}
942
943func (*ExtensionsContainer) ProtoMessage() {}
944
945func (x *ExtensionsContainer) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700946 mi := &file_pb2_test_proto_msgTypes[10]
947 if protoimpl.UnsafeEnabled && x != nil {
948 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
949 if ms.LoadMessageInfo() == nil {
950 ms.StoreMessageInfo(mi)
951 }
952 return ms
953 }
954 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700955}
Joe Tsai8e506a82019-03-16 00:05:34 -0700956
Joe Tsai43761bd2019-07-17 18:06:47 -0700957// Deprecated: Use ExtensionsContainer.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800958func (*ExtensionsContainer) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700959 return file_pb2_test_proto_rawDescGZIP(), []int{10}
Herbie Ong8170d692019-02-13 14:13:21 -0800960}
961
Herbie Ong8170d692019-02-13 14:13:21 -0800962type MessageSet struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700963 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700964 sizeCache protoimpl.SizeCache
965 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -0700966 extensionFields protoimpl.ExtensionFields
Herbie Ong8170d692019-02-13 14:13:21 -0800967}
968
Joe Tsai61968ce2019-04-01 12:59:24 -0700969func (x *MessageSet) Reset() {
970 *x = MessageSet{}
Herbie Ong8170d692019-02-13 14:13:21 -0800971}
Joe Tsai61968ce2019-04-01 12:59:24 -0700972
973func (x *MessageSet) String() string {
974 return protoimpl.X.MessageStringOf(x)
975}
976
977func (*MessageSet) ProtoMessage() {}
978
979func (x *MessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700980 mi := &file_pb2_test_proto_msgTypes[11]
981 if protoimpl.UnsafeEnabled && x != nil {
982 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
983 if ms.LoadMessageInfo() == nil {
984 ms.StoreMessageInfo(mi)
985 }
986 return ms
987 }
988 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700989}
Joe Tsai8e506a82019-03-16 00:05:34 -0700990
Joe Tsai43761bd2019-07-17 18:06:47 -0700991// Deprecated: Use MessageSet.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800992func (*MessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700993 return file_pb2_test_proto_rawDescGZIP(), []int{11}
Herbie Ong8170d692019-02-13 14:13:21 -0800994}
995
Joe Tsai4fddeba2019-03-20 18:29:32 -0700996var extRange_MessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800997 {Start: 4, End: 2147483646},
998}
999
Joe Tsai43761bd2019-07-17 18:06:47 -07001000// Deprecated: Use MessageSet.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -07001001func (*MessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -08001002 return extRange_MessageSet
1003}
1004
Herbie Ong8170d692019-02-13 14:13:21 -08001005type MessageSetExtension struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001006 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001007 sizeCache protoimpl.SizeCache
1008 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001009
1010 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001011}
1012
Joe Tsai61968ce2019-04-01 12:59:24 -07001013func (x *MessageSetExtension) Reset() {
1014 *x = MessageSetExtension{}
Herbie Ong8170d692019-02-13 14:13:21 -08001015}
Joe Tsai61968ce2019-04-01 12:59:24 -07001016
1017func (x *MessageSetExtension) String() string {
1018 return protoimpl.X.MessageStringOf(x)
1019}
1020
1021func (*MessageSetExtension) ProtoMessage() {}
1022
1023func (x *MessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001024 mi := &file_pb2_test_proto_msgTypes[12]
1025 if protoimpl.UnsafeEnabled && x != nil {
1026 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1027 if ms.LoadMessageInfo() == nil {
1028 ms.StoreMessageInfo(mi)
1029 }
1030 return ms
1031 }
1032 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001033}
Joe Tsai8e506a82019-03-16 00:05:34 -07001034
Joe Tsai43761bd2019-07-17 18:06:47 -07001035// Deprecated: Use MessageSetExtension.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001036func (*MessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001037 return file_pb2_test_proto_rawDescGZIP(), []int{12}
Herbie Ong8170d692019-02-13 14:13:21 -08001038}
1039
Joe Tsai61968ce2019-04-01 12:59:24 -07001040func (x *MessageSetExtension) GetOptString() string {
1041 if x != nil && x.OptString != nil {
1042 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001043 }
1044 return ""
1045}
1046
1047type FakeMessageSet struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001048 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001049 sizeCache protoimpl.SizeCache
1050 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001051 extensionFields protoimpl.ExtensionFields
Herbie Ong8170d692019-02-13 14:13:21 -08001052}
1053
Joe Tsai61968ce2019-04-01 12:59:24 -07001054func (x *FakeMessageSet) Reset() {
1055 *x = FakeMessageSet{}
Herbie Ong8170d692019-02-13 14:13:21 -08001056}
Joe Tsai61968ce2019-04-01 12:59:24 -07001057
1058func (x *FakeMessageSet) String() string {
1059 return protoimpl.X.MessageStringOf(x)
1060}
1061
1062func (*FakeMessageSet) ProtoMessage() {}
1063
1064func (x *FakeMessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001065 mi := &file_pb2_test_proto_msgTypes[13]
1066 if protoimpl.UnsafeEnabled && x != nil {
1067 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1068 if ms.LoadMessageInfo() == nil {
1069 ms.StoreMessageInfo(mi)
1070 }
1071 return ms
1072 }
1073 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001074}
Joe Tsai8e506a82019-03-16 00:05:34 -07001075
Joe Tsai43761bd2019-07-17 18:06:47 -07001076// Deprecated: Use FakeMessageSet.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001077func (*FakeMessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001078 return file_pb2_test_proto_rawDescGZIP(), []int{13}
Herbie Ong8170d692019-02-13 14:13:21 -08001079}
1080
Joe Tsai4fddeba2019-03-20 18:29:32 -07001081var extRange_FakeMessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -08001082 {Start: 4, End: 536870911},
1083}
1084
Joe Tsai43761bd2019-07-17 18:06:47 -07001085// Deprecated: Use FakeMessageSet.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -07001086func (*FakeMessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -08001087 return extRange_FakeMessageSet
1088}
1089
Herbie Ong8170d692019-02-13 14:13:21 -08001090type FakeMessageSetExtension struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001091 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001092 sizeCache protoimpl.SizeCache
1093 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001094
1095 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001096}
1097
Joe Tsai61968ce2019-04-01 12:59:24 -07001098func (x *FakeMessageSetExtension) Reset() {
1099 *x = FakeMessageSetExtension{}
Herbie Ong8170d692019-02-13 14:13:21 -08001100}
Joe Tsai61968ce2019-04-01 12:59:24 -07001101
1102func (x *FakeMessageSetExtension) String() string {
1103 return protoimpl.X.MessageStringOf(x)
1104}
1105
1106func (*FakeMessageSetExtension) ProtoMessage() {}
1107
1108func (x *FakeMessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001109 mi := &file_pb2_test_proto_msgTypes[14]
1110 if protoimpl.UnsafeEnabled && x != nil {
1111 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1112 if ms.LoadMessageInfo() == nil {
1113 ms.StoreMessageInfo(mi)
1114 }
1115 return ms
1116 }
1117 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001118}
Joe Tsai8e506a82019-03-16 00:05:34 -07001119
Joe Tsai43761bd2019-07-17 18:06:47 -07001120// Deprecated: Use FakeMessageSetExtension.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001121func (*FakeMessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001122 return file_pb2_test_proto_rawDescGZIP(), []int{14}
Herbie Ong8170d692019-02-13 14:13:21 -08001123}
1124
Joe Tsai61968ce2019-04-01 12:59:24 -07001125func (x *FakeMessageSetExtension) GetOptString() string {
1126 if x != nil && x.OptString != nil {
1127 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001128 }
1129 return ""
1130}
1131
1132// Message contains well-known type fields.
1133type KnownTypes struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001134 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -07001135 sizeCache protoimpl.SizeCache
1136 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001137
1138 OptBool *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
1139 OptInt32 *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
1140 OptInt64 *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
1141 OptUint32 *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
1142 OptUint64 *wrapperspb.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
1143 OptFloat *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
1144 OptDouble *wrapperspb.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
1145 OptString *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1146 OptBytes *wrapperspb.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
1147 OptDuration *durationpb.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"`
1148 OptTimestamp *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"`
1149 OptStruct *structpb.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"`
1150 OptList *structpb.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"`
1151 OptValue *structpb.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"`
1152 OptNull *structpb.NullValue `protobuf:"varint,28,opt,name=opt_null,json=optNull,enum=google.protobuf.NullValue" json:"opt_null,omitempty"`
1153 OptEmpty *emptypb.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"`
1154 OptAny *anypb.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
1155 OptFieldmask *fieldmaskpb.FieldMask `protobuf:"bytes,40,opt,name=opt_fieldmask,json=optFieldmask" json:"opt_fieldmask,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001156}
1157
Joe Tsai61968ce2019-04-01 12:59:24 -07001158func (x *KnownTypes) Reset() {
1159 *x = KnownTypes{}
Herbie Ong8170d692019-02-13 14:13:21 -08001160}
Joe Tsai61968ce2019-04-01 12:59:24 -07001161
1162func (x *KnownTypes) String() string {
1163 return protoimpl.X.MessageStringOf(x)
1164}
1165
1166func (*KnownTypes) ProtoMessage() {}
1167
1168func (x *KnownTypes) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001169 mi := &file_pb2_test_proto_msgTypes[15]
1170 if protoimpl.UnsafeEnabled && x != nil {
1171 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1172 if ms.LoadMessageInfo() == nil {
1173 ms.StoreMessageInfo(mi)
1174 }
1175 return ms
1176 }
1177 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001178}
Joe Tsai8e506a82019-03-16 00:05:34 -07001179
Joe Tsai43761bd2019-07-17 18:06:47 -07001180// Deprecated: Use KnownTypes.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001181func (*KnownTypes) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001182 return file_pb2_test_proto_rawDescGZIP(), []int{15}
Herbie Ong8170d692019-02-13 14:13:21 -08001183}
1184
Joe Tsaia95b29f2019-05-16 12:47:20 -07001185func (x *KnownTypes) GetOptBool() *wrapperspb.BoolValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001186 if x != nil {
1187 return x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -08001188 }
1189 return nil
1190}
1191
Joe Tsaia95b29f2019-05-16 12:47:20 -07001192func (x *KnownTypes) GetOptInt32() *wrapperspb.Int32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001193 if x != nil {
1194 return x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -08001195 }
1196 return nil
1197}
1198
Joe Tsaia95b29f2019-05-16 12:47:20 -07001199func (x *KnownTypes) GetOptInt64() *wrapperspb.Int64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001200 if x != nil {
1201 return x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -08001202 }
1203 return nil
1204}
1205
Joe Tsaia95b29f2019-05-16 12:47:20 -07001206func (x *KnownTypes) GetOptUint32() *wrapperspb.UInt32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001207 if x != nil {
1208 return x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -08001209 }
1210 return nil
1211}
1212
Joe Tsaia95b29f2019-05-16 12:47:20 -07001213func (x *KnownTypes) GetOptUint64() *wrapperspb.UInt64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001214 if x != nil {
1215 return x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -08001216 }
1217 return nil
1218}
1219
Joe Tsaia95b29f2019-05-16 12:47:20 -07001220func (x *KnownTypes) GetOptFloat() *wrapperspb.FloatValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001221 if x != nil {
1222 return x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -08001223 }
1224 return nil
1225}
1226
Joe Tsaia95b29f2019-05-16 12:47:20 -07001227func (x *KnownTypes) GetOptDouble() *wrapperspb.DoubleValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001228 if x != nil {
1229 return x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -08001230 }
1231 return nil
1232}
1233
Joe Tsaia95b29f2019-05-16 12:47:20 -07001234func (x *KnownTypes) GetOptString() *wrapperspb.StringValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001235 if x != nil {
1236 return x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001237 }
1238 return nil
1239}
1240
Joe Tsaia95b29f2019-05-16 12:47:20 -07001241func (x *KnownTypes) GetOptBytes() *wrapperspb.BytesValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001242 if x != nil {
1243 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -08001244 }
1245 return nil
1246}
1247
Joe Tsaia95b29f2019-05-16 12:47:20 -07001248func (x *KnownTypes) GetOptDuration() *durationpb.Duration {
Joe Tsai61968ce2019-04-01 12:59:24 -07001249 if x != nil {
1250 return x.OptDuration
Herbie Ong8170d692019-02-13 14:13:21 -08001251 }
1252 return nil
1253}
1254
Joe Tsaia95b29f2019-05-16 12:47:20 -07001255func (x *KnownTypes) GetOptTimestamp() *timestamppb.Timestamp {
Joe Tsai61968ce2019-04-01 12:59:24 -07001256 if x != nil {
1257 return x.OptTimestamp
Herbie Ong8170d692019-02-13 14:13:21 -08001258 }
1259 return nil
1260}
1261
Joe Tsaia95b29f2019-05-16 12:47:20 -07001262func (x *KnownTypes) GetOptStruct() *structpb.Struct {
Joe Tsai61968ce2019-04-01 12:59:24 -07001263 if x != nil {
1264 return x.OptStruct
Herbie Ong8170d692019-02-13 14:13:21 -08001265 }
1266 return nil
1267}
1268
Joe Tsaia95b29f2019-05-16 12:47:20 -07001269func (x *KnownTypes) GetOptList() *structpb.ListValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001270 if x != nil {
1271 return x.OptList
Herbie Ong8170d692019-02-13 14:13:21 -08001272 }
1273 return nil
1274}
1275
Joe Tsaia95b29f2019-05-16 12:47:20 -07001276func (x *KnownTypes) GetOptValue() *structpb.Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001277 if x != nil {
1278 return x.OptValue
Herbie Ong8170d692019-02-13 14:13:21 -08001279 }
1280 return nil
1281}
1282
Joe Tsaia95b29f2019-05-16 12:47:20 -07001283func (x *KnownTypes) GetOptNull() structpb.NullValue {
Herbie Ong300b9fe2019-03-29 15:42:20 -07001284 if x != nil && x.OptNull != nil {
1285 return *x.OptNull
1286 }
Joe Tsaia95b29f2019-05-16 12:47:20 -07001287 return structpb.NullValue_NULL_VALUE
Herbie Ong300b9fe2019-03-29 15:42:20 -07001288}
1289
Joe Tsaia95b29f2019-05-16 12:47:20 -07001290func (x *KnownTypes) GetOptEmpty() *emptypb.Empty {
Joe Tsai61968ce2019-04-01 12:59:24 -07001291 if x != nil {
1292 return x.OptEmpty
Herbie Ong8170d692019-02-13 14:13:21 -08001293 }
1294 return nil
1295}
1296
Joe Tsaia95b29f2019-05-16 12:47:20 -07001297func (x *KnownTypes) GetOptAny() *anypb.Any {
Joe Tsai61968ce2019-04-01 12:59:24 -07001298 if x != nil {
1299 return x.OptAny
Herbie Ong8170d692019-02-13 14:13:21 -08001300 }
1301 return nil
1302}
1303
Joe Tsaia95b29f2019-05-16 12:47:20 -07001304func (x *KnownTypes) GetOptFieldmask() *fieldmaskpb.FieldMask {
Joe Tsai61968ce2019-04-01 12:59:24 -07001305 if x != nil {
1306 return x.OptFieldmask
Herbie Ong0b0f4032019-03-18 19:06:15 -07001307 }
1308 return nil
1309}
1310
Herbie Ong8170d692019-02-13 14:13:21 -08001311type Nests_OptGroup struct {
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001312 state protoimpl.MessageState
1313 sizeCache protoimpl.SizeCache
1314 unknownFields protoimpl.UnknownFields
1315
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001316 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1317 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
1318 Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,3,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001319}
1320
Joe Tsai61968ce2019-04-01 12:59:24 -07001321func (x *Nests_OptGroup) Reset() {
1322 *x = Nests_OptGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001323}
Joe Tsai61968ce2019-04-01 12:59:24 -07001324
1325func (x *Nests_OptGroup) String() string {
1326 return protoimpl.X.MessageStringOf(x)
1327}
1328
1329func (*Nests_OptGroup) ProtoMessage() {}
1330
1331func (x *Nests_OptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001332 mi := &file_pb2_test_proto_msgTypes[16]
1333 if protoimpl.UnsafeEnabled && x != nil {
1334 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1335 if ms.LoadMessageInfo() == nil {
1336 ms.StoreMessageInfo(mi)
1337 }
1338 return ms
1339 }
1340 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001341}
Joe Tsai8e506a82019-03-16 00:05:34 -07001342
Joe Tsai43761bd2019-07-17 18:06:47 -07001343// Deprecated: Use Nests_OptGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001344func (*Nests_OptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001345 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001346}
1347
Joe Tsai61968ce2019-04-01 12:59:24 -07001348func (x *Nests_OptGroup) GetOptString() string {
1349 if x != nil && x.OptString != nil {
1350 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001351 }
1352 return ""
1353}
1354
Joe Tsai61968ce2019-04-01 12:59:24 -07001355func (x *Nests_OptGroup) GetOptNested() *Nested {
1356 if x != nil {
1357 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -08001358 }
1359 return nil
1360}
1361
Joe Tsai61968ce2019-04-01 12:59:24 -07001362func (x *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup {
1363 if x != nil {
1364 return x.Optnestedgroup
Herbie Ong8170d692019-02-13 14:13:21 -08001365 }
1366 return nil
1367}
1368
1369type Nests_RptGroup struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001370 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001371 sizeCache protoimpl.SizeCache
1372 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001373
1374 RptString []string `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001375}
1376
Joe Tsai61968ce2019-04-01 12:59:24 -07001377func (x *Nests_RptGroup) Reset() {
1378 *x = Nests_RptGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001379}
Joe Tsai61968ce2019-04-01 12:59:24 -07001380
1381func (x *Nests_RptGroup) String() string {
1382 return protoimpl.X.MessageStringOf(x)
1383}
1384
1385func (*Nests_RptGroup) ProtoMessage() {}
1386
1387func (x *Nests_RptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001388 mi := &file_pb2_test_proto_msgTypes[17]
1389 if protoimpl.UnsafeEnabled && x != nil {
1390 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1391 if ms.LoadMessageInfo() == nil {
1392 ms.StoreMessageInfo(mi)
1393 }
1394 return ms
1395 }
1396 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001397}
Joe Tsai8e506a82019-03-16 00:05:34 -07001398
Joe Tsai43761bd2019-07-17 18:06:47 -07001399// Deprecated: Use Nests_RptGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001400func (*Nests_RptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001401 return file_pb2_test_proto_rawDescGZIP(), []int{4, 1}
Herbie Ong8170d692019-02-13 14:13:21 -08001402}
1403
Joe Tsai61968ce2019-04-01 12:59:24 -07001404func (x *Nests_RptGroup) GetRptString() []string {
1405 if x != nil {
1406 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -08001407 }
1408 return nil
1409}
1410
1411type Nests_OptGroup_OptNestedGroup struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001412 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001413 sizeCache protoimpl.SizeCache
1414 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001415
1416 OptFixed32 *uint32 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001417}
1418
Joe Tsai61968ce2019-04-01 12:59:24 -07001419func (x *Nests_OptGroup_OptNestedGroup) Reset() {
1420 *x = Nests_OptGroup_OptNestedGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001421}
Joe Tsai61968ce2019-04-01 12:59:24 -07001422
1423func (x *Nests_OptGroup_OptNestedGroup) String() string {
1424 return protoimpl.X.MessageStringOf(x)
1425}
1426
1427func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {}
1428
1429func (x *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001430 mi := &file_pb2_test_proto_msgTypes[18]
1431 if protoimpl.UnsafeEnabled && x != nil {
1432 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1433 if ms.LoadMessageInfo() == nil {
1434 ms.StoreMessageInfo(mi)
1435 }
1436 return ms
1437 }
1438 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001439}
Joe Tsai8e506a82019-03-16 00:05:34 -07001440
Joe Tsai43761bd2019-07-17 18:06:47 -07001441// Deprecated: Use Nests_OptGroup_OptNestedGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001442func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001443 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001444}
1445
Joe Tsai61968ce2019-04-01 12:59:24 -07001446func (x *Nests_OptGroup_OptNestedGroup) GetOptFixed32() uint32 {
1447 if x != nil && x.OptFixed32 != nil {
1448 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -08001449 }
1450 return 0
1451}
1452
Joe Tsai7ca70982019-04-15 13:57:56 -07001453var file_pb2_test_proto_extDescs = []protoiface.ExtensionDescV1{
Joe Tsaiafb455e2019-03-14 16:08:22 -07001454 {
1455 ExtendedType: (*Extensions)(nil),
1456 ExtensionType: (*bool)(nil),
1457 Field: 21,
1458 Name: "pb2.opt_ext_bool",
1459 Tag: "varint,21,opt,name=opt_ext_bool",
1460 Filename: "pb2/test.proto",
1461 },
1462 {
1463 ExtendedType: (*Extensions)(nil),
1464 ExtensionType: (*string)(nil),
1465 Field: 22,
1466 Name: "pb2.opt_ext_string",
1467 Tag: "bytes,22,opt,name=opt_ext_string",
1468 Filename: "pb2/test.proto",
1469 },
1470 {
1471 ExtendedType: (*Extensions)(nil),
1472 ExtensionType: (*Enum)(nil),
1473 Field: 23,
1474 Name: "pb2.opt_ext_enum",
1475 Tag: "varint,23,opt,name=opt_ext_enum,enum=pb2.Enum",
1476 Filename: "pb2/test.proto",
1477 },
1478 {
1479 ExtendedType: (*Extensions)(nil),
1480 ExtensionType: (*Nested)(nil),
1481 Field: 24,
1482 Name: "pb2.opt_ext_nested",
1483 Tag: "bytes,24,opt,name=opt_ext_nested",
1484 Filename: "pb2/test.proto",
1485 },
1486 {
1487 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001488 ExtensionType: (*PartialRequired)(nil),
1489 Field: 25,
1490 Name: "pb2.opt_ext_partial",
1491 Tag: "bytes,25,opt,name=opt_ext_partial",
1492 Filename: "pb2/test.proto",
1493 },
1494 {
1495 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001496 ExtensionType: ([]uint32)(nil),
1497 Field: 31,
1498 Name: "pb2.rpt_ext_fixed32",
1499 Tag: "fixed32,31,rep,name=rpt_ext_fixed32",
1500 Filename: "pb2/test.proto",
1501 },
1502 {
1503 ExtendedType: (*Extensions)(nil),
1504 ExtensionType: ([]Enum)(nil),
1505 Field: 32,
1506 Name: "pb2.rpt_ext_enum",
1507 Tag: "varint,32,rep,name=rpt_ext_enum,enum=pb2.Enum",
1508 Filename: "pb2/test.proto",
1509 },
1510 {
1511 ExtendedType: (*Extensions)(nil),
1512 ExtensionType: ([]*Nested)(nil),
1513 Field: 33,
1514 Name: "pb2.rpt_ext_nested",
1515 Tag: "bytes,33,rep,name=rpt_ext_nested",
1516 Filename: "pb2/test.proto",
1517 },
1518 {
1519 ExtendedType: (*MessageSet)(nil),
1520 ExtensionType: (*FakeMessageSetExtension)(nil),
1521 Field: 50,
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001522 Name: "pb2.message_set_extension",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001523 Tag: "bytes,50,opt,name=message_set_extension",
1524 Filename: "pb2/test.proto",
1525 },
1526 {
1527 ExtendedType: (*Extensions)(nil),
1528 ExtensionType: (*bool)(nil),
1529 Field: 51,
1530 Name: "pb2.ExtensionsContainer.opt_ext_bool",
1531 Tag: "varint,51,opt,name=opt_ext_bool",
1532 Filename: "pb2/test.proto",
1533 },
1534 {
1535 ExtendedType: (*Extensions)(nil),
1536 ExtensionType: (*string)(nil),
1537 Field: 52,
1538 Name: "pb2.ExtensionsContainer.opt_ext_string",
1539 Tag: "bytes,52,opt,name=opt_ext_string",
1540 Filename: "pb2/test.proto",
1541 },
1542 {
1543 ExtendedType: (*Extensions)(nil),
1544 ExtensionType: (*Enum)(nil),
1545 Field: 53,
1546 Name: "pb2.ExtensionsContainer.opt_ext_enum",
1547 Tag: "varint,53,opt,name=opt_ext_enum,enum=pb2.Enum",
1548 Filename: "pb2/test.proto",
1549 },
1550 {
1551 ExtendedType: (*Extensions)(nil),
1552 ExtensionType: (*Nested)(nil),
1553 Field: 54,
1554 Name: "pb2.ExtensionsContainer.opt_ext_nested",
1555 Tag: "bytes,54,opt,name=opt_ext_nested",
1556 Filename: "pb2/test.proto",
1557 },
1558 {
1559 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001560 ExtensionType: (*PartialRequired)(nil),
1561 Field: 55,
1562 Name: "pb2.ExtensionsContainer.opt_ext_partial",
1563 Tag: "bytes,55,opt,name=opt_ext_partial",
1564 Filename: "pb2/test.proto",
1565 },
1566 {
1567 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001568 ExtensionType: ([]string)(nil),
1569 Field: 61,
1570 Name: "pb2.ExtensionsContainer.rpt_ext_string",
1571 Tag: "bytes,61,rep,name=rpt_ext_string",
1572 Filename: "pb2/test.proto",
1573 },
1574 {
1575 ExtendedType: (*Extensions)(nil),
1576 ExtensionType: ([]Enum)(nil),
1577 Field: 62,
1578 Name: "pb2.ExtensionsContainer.rpt_ext_enum",
1579 Tag: "varint,62,rep,name=rpt_ext_enum,enum=pb2.Enum",
1580 Filename: "pb2/test.proto",
1581 },
1582 {
1583 ExtendedType: (*Extensions)(nil),
1584 ExtensionType: ([]*Nested)(nil),
1585 Field: 63,
1586 Name: "pb2.ExtensionsContainer.rpt_ext_nested",
1587 Tag: "bytes,63,rep,name=rpt_ext_nested",
1588 Filename: "pb2/test.proto",
1589 },
1590 {
1591 ExtendedType: (*MessageSet)(nil),
1592 ExtensionType: (*MessageSetExtension)(nil),
1593 Field: 10,
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001594 Name: "pb2.MessageSetExtension.message_set_extension",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001595 Tag: "bytes,10,opt,name=message_set_extension",
1596 Filename: "pb2/test.proto",
1597 },
1598 {
1599 ExtendedType: (*MessageSet)(nil),
1600 ExtensionType: (*MessageSetExtension)(nil),
1601 Field: 20,
1602 Name: "pb2.MessageSetExtension.not_message_set_extension",
1603 Tag: "bytes,20,opt,name=not_message_set_extension",
1604 Filename: "pb2/test.proto",
1605 },
1606 {
1607 ExtendedType: (*MessageSet)(nil),
1608 ExtensionType: (*Nested)(nil),
1609 Field: 30,
1610 Name: "pb2.MessageSetExtension.ext_nested",
1611 Tag: "bytes,30,opt,name=ext_nested",
1612 Filename: "pb2/test.proto",
1613 },
1614 {
1615 ExtendedType: (*FakeMessageSet)(nil),
1616 ExtensionType: (*FakeMessageSetExtension)(nil),
1617 Field: 10,
1618 Name: "pb2.FakeMessageSetExtension.message_set_extension",
1619 Tag: "bytes,10,opt,name=message_set_extension",
1620 Filename: "pb2/test.proto",
1621 },
Herbie Ong8170d692019-02-13 14:13:21 -08001622}
Joe Tsai4a7d6332019-08-06 16:45:11 -07001623
1624// Extension fields to Extensions.
Joe Tsaiafb455e2019-03-14 16:08:22 -07001625var (
Joe Tsai4a7d6332019-08-06 16:45:11 -07001626 // optional bool opt_ext_bool = 21;
Joe Tsai7ca70982019-04-15 13:57:56 -07001627 E_OptExtBool = &file_pb2_test_proto_extDescs[0]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001628 // optional string opt_ext_string = 22;
Joe Tsai7ca70982019-04-15 13:57:56 -07001629 E_OptExtString = &file_pb2_test_proto_extDescs[1]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001630 // optional pb2.Enum opt_ext_enum = 23;
Joe Tsai7ca70982019-04-15 13:57:56 -07001631 E_OptExtEnum = &file_pb2_test_proto_extDescs[2]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001632 // optional pb2.Nested opt_ext_nested = 24;
Joe Tsai7ca70982019-04-15 13:57:56 -07001633 E_OptExtNested = &file_pb2_test_proto_extDescs[3]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001634 // optional pb2.PartialRequired opt_ext_partial = 25;
Joe Tsai7ca70982019-04-15 13:57:56 -07001635 E_OptExtPartial = &file_pb2_test_proto_extDescs[4]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001636 // repeated fixed32 rpt_ext_fixed32 = 31;
Joe Tsai7ca70982019-04-15 13:57:56 -07001637 E_RptExtFixed32 = &file_pb2_test_proto_extDescs[5]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001638 // repeated pb2.Enum rpt_ext_enum = 32;
Joe Tsai7ca70982019-04-15 13:57:56 -07001639 E_RptExtEnum = &file_pb2_test_proto_extDescs[6]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001640 // repeated pb2.Nested rpt_ext_nested = 33;
Joe Tsai7ca70982019-04-15 13:57:56 -07001641 E_RptExtNested = &file_pb2_test_proto_extDescs[7]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001642 // optional bool opt_ext_bool = 51;
Joe Tsai7ca70982019-04-15 13:57:56 -07001643 E_ExtensionsContainer_OptExtBool = &file_pb2_test_proto_extDescs[9]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001644 // optional string opt_ext_string = 52;
Joe Tsai7ca70982019-04-15 13:57:56 -07001645 E_ExtensionsContainer_OptExtString = &file_pb2_test_proto_extDescs[10]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001646 // optional pb2.Enum opt_ext_enum = 53;
Joe Tsai7ca70982019-04-15 13:57:56 -07001647 E_ExtensionsContainer_OptExtEnum = &file_pb2_test_proto_extDescs[11]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001648 // optional pb2.Nested opt_ext_nested = 54;
Joe Tsai7ca70982019-04-15 13:57:56 -07001649 E_ExtensionsContainer_OptExtNested = &file_pb2_test_proto_extDescs[12]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001650 // optional pb2.PartialRequired opt_ext_partial = 55;
Joe Tsai7ca70982019-04-15 13:57:56 -07001651 E_ExtensionsContainer_OptExtPartial = &file_pb2_test_proto_extDescs[13]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001652 // repeated string rpt_ext_string = 61;
Joe Tsai7ca70982019-04-15 13:57:56 -07001653 E_ExtensionsContainer_RptExtString = &file_pb2_test_proto_extDescs[14]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001654 // repeated pb2.Enum rpt_ext_enum = 62;
Joe Tsai7ca70982019-04-15 13:57:56 -07001655 E_ExtensionsContainer_RptExtEnum = &file_pb2_test_proto_extDescs[15]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001656 // repeated pb2.Nested rpt_ext_nested = 63;
Joe Tsai7ca70982019-04-15 13:57:56 -07001657 E_ExtensionsContainer_RptExtNested = &file_pb2_test_proto_extDescs[16]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001658)
Herbie Ong8170d692019-02-13 14:13:21 -08001659
Joe Tsai4a7d6332019-08-06 16:45:11 -07001660// Extension fields to MessageSet.
1661var (
1662 // optional pb2.FakeMessageSetExtension message_set_extension = 50;
1663 E_MessageSetExtension = &file_pb2_test_proto_extDescs[8]
1664 // optional pb2.MessageSetExtension message_set_extension = 10;
Joe Tsai7ca70982019-04-15 13:57:56 -07001665 E_MessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[17]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001666 // optional pb2.MessageSetExtension not_message_set_extension = 20;
Joe Tsai7ca70982019-04-15 13:57:56 -07001667 E_MessageSetExtension_NotMessageSetExtension = &file_pb2_test_proto_extDescs[18]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001668 // optional pb2.Nested ext_nested = 30;
Joe Tsai7ca70982019-04-15 13:57:56 -07001669 E_MessageSetExtension_ExtNested = &file_pb2_test_proto_extDescs[19]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001670)
Herbie Ong8170d692019-02-13 14:13:21 -08001671
Joe Tsai4a7d6332019-08-06 16:45:11 -07001672// Extension fields to FakeMessageSet.
1673var (
1674 // optional pb2.FakeMessageSetExtension message_set_extension = 10;
Joe Tsai7ca70982019-04-15 13:57:56 -07001675 E_FakeMessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[20]
Joe Tsaiafb455e2019-03-14 16:08:22 -07001676)
Joe Tsai4a7d6332019-08-06 16:45:11 -07001677
Joe Tsai5d72cc22019-03-28 01:13:26 -07001678var File_pb2_test_proto protoreflect.FileDescriptor
1679
Joe Tsai7ca70982019-04-15 13:57:56 -07001680var file_pb2_test_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -08001681 0x0a, 0x0e, 0x70, 0x62, 0x32, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1682 0x12, 0x03, 0x70, 0x62, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
1683 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1684 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001685 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67,
1686 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66,
1687 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1688 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1689 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1690 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1691 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
1692 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
1693 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e,
1694 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
1695 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda,
1696 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70,
1697 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x70,
1698 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74,
1699 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1700 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
1701 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12,
1702 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20,
1703 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d,
Joe Tsai19058432019-02-27 21:46:29 -08001704 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001705 0x28, 0x04, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a,
1706 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28,
1707 0x11, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a,
1708 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12,
1709 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1f, 0x0a, 0x0b, 0x6f,
1710 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07,
1711 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1f, 0x0a, 0x0b,
1712 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28,
1713 0x06, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x21, 0x0a,
1714 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20,
1715 0x01, 0x28, 0x0f, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1716 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
1717 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65,
1718 0x64, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74,
1719 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74,
1720 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15,
1721 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12,
1722 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01,
1723 0x28, 0x0c, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1724 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09,
1725 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xfb, 0x01, 0x0a, 0x05,
1726 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x24, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75,
1727 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1728 0x75, 0x6d, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x08, 0x72,
1729 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1730 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x70, 0x74, 0x45, 0x6e, 0x75,
1731 0x6d, 0x12, 0x3d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f,
1732 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32,
1733 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75,
1734 0x6d, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1735 0x12, 0x3d, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65,
1736 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1737 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1738 0x52, 0x0d, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22,
1739 0x28, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a,
1740 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12,
1741 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x94, 0x02, 0x0a, 0x07, 0x52, 0x65,
1742 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1743 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x07, 0x72, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c,
1744 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20,
1745 0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1b, 0x0a,
1746 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03,
1747 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70,
1748 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09,
1749 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74,
1750 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72,
1751 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f,
1752 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x02, 0x52, 0x08, 0x72, 0x70, 0x74,
1753 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75,
1754 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x72, 0x70, 0x74, 0x44, 0x6f,
1755 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69,
1756 0x6e, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72,
1757 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73,
1758 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73,
1759 0x22, 0x53, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70,
1760 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
1761 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1762 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1763 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e,
1764 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0xd3, 0x03, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12,
1765 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20,
1766 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1767 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x6f,
1768 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x13, 0x2e,
1769 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f,
1770 0x75, 0x70, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x0a,
1771 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
1772 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72,
1773 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x67,
1774 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x32,
1775 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
1776 0x08, 0x72, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0xd4, 0x01, 0x0a, 0x08, 0x4f, 0x70,
1777 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74,
1778 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53,
1779 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1780 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1781 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65,
1782 0x64, 0x12, 0x4a, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72,
1783 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x22, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1784 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4f,
1785 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0e, 0x6f,
1786 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x31, 0x0a,
1787 0x0e, 0x4f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
1788 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x01,
1789 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1790 0x1a, 0x29, 0x0a, 0x08, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a,
1791 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
1792 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x72, 0x65, 0x73,
1793 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0xd9, 0x01, 0x0a, 0x09,
1794 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x71,
1795 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x71,
1796 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x66, 0x69, 0x78,
1797 0x65, 0x64, 0x36, 0x34, 0x18, 0x02, 0x20, 0x02, 0x28, 0x10, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x53,
1798 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x64,
1799 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71,
1800 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74,
1801 0x72, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53,
1802 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x5f, 0x65, 0x6e, 0x75,
1803 0x6d, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1804 0x75, 0x6d, 0x52, 0x07, 0x72, 0x65, 0x71, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x0a, 0x72,
1805 0x65, 0x71, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0b, 0x32,
1806 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72, 0x65,
1807 0x71, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4f, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x69,
1808 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65,
1809 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09,
1810 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1811 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1812 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x33, 0x0a, 0x12, 0x4e, 0x65, 0x73, 0x74,
1813 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d,
1814 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02,
1815 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xee, 0x02,
1816 0x0a, 0x10, 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
1817 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1818 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73,
1819 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52,
1820 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x72, 0x70,
1821 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17,
1822 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52,
1823 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74,
1824 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73,
1825 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1826 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
1827 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72,
1828 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3c,
1829 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04,
1830 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
1831 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x48, 0x00, 0x52,
1832 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x1a, 0x57, 0x0a, 0x10,
1833 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79,
1834 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
1835 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
1836 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69,
1837 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
1838 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0x69,
1839 0x0a, 0x0a, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1840 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1841 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x6f,
1842 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x65, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f,
1843 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e,
1844 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e,
Herbie Ong09b28a92019-04-03 15:42:41 -07001845 0x74, 0x33, 0x32, 0x2a, 0x04, 0x08, 0x14, 0x10, 0x65, 0x22, 0x89, 0x04, 0x0a, 0x13, 0x45, 0x78,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001846 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
1847 0x72, 0x32, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1848 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1849 0x6e, 0x73, 0x18, 0x33, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1850 0x42, 0x6f, 0x6f, 0x6c, 0x32, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1851 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1852 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x34, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f,
1853 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x6f,
1854 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1855 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x35, 0x20, 0x01,
1856 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f,
1857 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74,
1858 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1859 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x36, 0x20, 0x01,
1860 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
Herbie Ong09b28a92019-04-03 15:42:41 -07001861 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x32, 0x4d, 0x0a,
1862 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1863 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1864 0x73, 0x18, 0x37, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61,
1865 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f,
1866 0x70, 0x74, 0x45, 0x78, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x32, 0x35, 0x0a, 0x0e,
1867 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f,
1868 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
1869 0x3d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72,
1870 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65,
1871 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1872 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32,
1873 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75,
1874 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1875 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1876 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32,
1877 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e,
1878 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
1879 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07, 0x3a, 0x02, 0x08,
1880 0x01, 0x22, 0xb6, 0x02, 0x0a, 0x13, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74,
1881 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1882 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1883 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x5d, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73,
1884 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1885 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
1886 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d,
Herbie Ong300b9fe2019-03-29 15:42:20 -07001887 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1888 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78,
Herbie Ong09b28a92019-04-03 15:42:41 -07001889 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x64, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x5f, 0x6d,
1890 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
1891 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
1892 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62,
1893 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
1894 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x6e, 0x6f, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
1895 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x3b, 0x0a,
1896 0x0a, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1897 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x1e, 0x20, 0x01,
1898 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
1899 0x09, 0x65, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0e, 0x46, 0x61,
1900 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04,
1901 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9f, 0x01, 0x0a, 0x17, 0x46, 0x61, 0x6b, 0x65, 0x4d,
1902 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1903 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
1904 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e,
1905 0x67, 0x32, 0x65, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74,
1906 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x32,
1907 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18,
1908 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65,
1909 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1910 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45,
1911 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x9e, 0x08, 0x0a, 0x0a, 0x4b, 0x6e, 0x6f,
1912 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62,
1913 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1914 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c,
1915 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x38,
1916 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28,
1917 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1918 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08,
1919 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1920 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
1921 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e,
1922 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1923 0x36, 0x34, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32,
1924 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1925 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
1926 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
1927 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20,
1928 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1929 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75,
1930 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x38, 0x0a, 0x09,
1931 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
1932 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1933 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70,
1934 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f,
1935 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
1936 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75,
1937 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75,
1938 0x62, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1939 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1940 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1941 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1942 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20,
1943 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1944 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65,
1945 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x70,
1946 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b,
1947 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1948 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6f, 0x70, 0x74,
1949 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
1950 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
1951 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1952 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6f, 0x70, 0x74,
1953 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1954 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
1955 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
1956 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63,
1957 0x74, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x1a, 0x20,
1958 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1959 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
1960 0x07, 0x6f, 0x70, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1961 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f,
1962 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61,
1963 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x35, 0x0a,
1964 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0e, 0x32,
1965 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1966 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74,
1967 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x74,
1968 0x79, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1969 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52,
1970 0x08, 0x6f, 0x70, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x6f, 0x70, 0x74,
1971 0x5f, 0x61, 0x6e, 0x79, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
1972 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
1973 0x52, 0x06, 0x6f, 0x70, 0x74, 0x41, 0x6e, 0x79, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
1974 0x66, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b, 0x32,
1975 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1976 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x6f, 0x70, 0x74,
1977 0x46, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x2a, 0x21, 0x0a, 0x04, 0x45, 0x6e, 0x75,
1978 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57,
1979 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10, 0x0a, 0x3a, 0x31, 0x0a, 0x0c,
1980 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70,
1981 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15, 0x20,
1982 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x3a,
1983 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1984 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1985 0x6e, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1986 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78,
1987 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1988 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1989 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1990 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1991 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1992 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1993 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45,
1994 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a, 0x4d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f,
1995 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1996 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x19, 0x20, 0x01,
1997 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1998 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1999 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x3a, 0x37, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x65,
2000 0x78, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32,
2001 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28,
2002 0x07, 0x52, 0x0d, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
2003 0x3a, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d,
2004 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
2005 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
2006 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42,
2007 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
2008 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
2009 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65,
2010 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74,
2011 0x65, 0x64, 0x3a, 0x61, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65,
2012 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62,
2013 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x32, 0x20, 0x01,
2014 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73,
2015 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
2016 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
Damien Neile89e6242019-05-13 23:55:40 -07002017 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2018 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
2019 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73,
2020 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x32,
Herbie Ong8170d692019-02-13 14:13:21 -08002021}
2022
Joe Tsai5d72cc22019-03-28 01:13:26 -07002023var (
Joe Tsai7ca70982019-04-15 13:57:56 -07002024 file_pb2_test_proto_rawDescOnce sync.Once
2025 file_pb2_test_proto_rawDescData = file_pb2_test_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -07002026)
Herbie Ong8170d692019-02-13 14:13:21 -08002027
Joe Tsai7ca70982019-04-15 13:57:56 -07002028func file_pb2_test_proto_rawDescGZIP() []byte {
2029 file_pb2_test_proto_rawDescOnce.Do(func() {
2030 file_pb2_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb2_test_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -07002031 })
Joe Tsai7ca70982019-04-15 13:57:56 -07002032 return file_pb2_test_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -07002033}
Herbie Ong8170d692019-02-13 14:13:21 -08002034
Joe Tsaid8881392019-06-06 13:01:53 -07002035var file_pb2_test_proto_enumTypes = make([]prototype.Enum, 2)
Joe Tsai4fe96632019-05-22 05:12:36 -04002036var file_pb2_test_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
Joe Tsai7ca70982019-04-15 13:57:56 -07002037var file_pb2_test_proto_goTypes = []interface{}{
Herbie Ong8170d692019-02-13 14:13:21 -08002038 (Enum)(0), // 0: pb2.Enum
2039 (Enums_NestedEnum)(0), // 1: pb2.Enums.NestedEnum
2040 (*Scalars)(nil), // 2: pb2.Scalars
2041 (*Enums)(nil), // 3: pb2.Enums
2042 (*Repeats)(nil), // 4: pb2.Repeats
2043 (*Nested)(nil), // 5: pb2.Nested
2044 (*Nests)(nil), // 6: pb2.Nests
2045 (*Requireds)(nil), // 7: pb2.Requireds
2046 (*PartialRequired)(nil), // 8: pb2.PartialRequired
2047 (*NestedWithRequired)(nil), // 9: pb2.NestedWithRequired
2048 (*IndirectRequired)(nil), // 10: pb2.IndirectRequired
2049 (*Extensions)(nil), // 11: pb2.Extensions
2050 (*ExtensionsContainer)(nil), // 12: pb2.ExtensionsContainer
2051 (*MessageSet)(nil), // 13: pb2.MessageSet
2052 (*MessageSetExtension)(nil), // 14: pb2.MessageSetExtension
2053 (*FakeMessageSet)(nil), // 15: pb2.FakeMessageSet
2054 (*FakeMessageSetExtension)(nil), // 16: pb2.FakeMessageSetExtension
2055 (*KnownTypes)(nil), // 17: pb2.KnownTypes
2056 (*Nests_OptGroup)(nil), // 18: pb2.Nests.OptGroup
2057 (*Nests_RptGroup)(nil), // 19: pb2.Nests.RptGroup
2058 (*Nests_OptGroup_OptNestedGroup)(nil), // 20: pb2.Nests.OptGroup.OptNestedGroup
2059 nil, // 21: pb2.IndirectRequired.StrToNestedEntry
Joe Tsaia95b29f2019-05-16 12:47:20 -07002060 (*wrapperspb.BoolValue)(nil), // 22: google.protobuf.BoolValue
2061 (*wrapperspb.Int32Value)(nil), // 23: google.protobuf.Int32Value
2062 (*wrapperspb.Int64Value)(nil), // 24: google.protobuf.Int64Value
2063 (*wrapperspb.UInt32Value)(nil), // 25: google.protobuf.UInt32Value
2064 (*wrapperspb.UInt64Value)(nil), // 26: google.protobuf.UInt64Value
2065 (*wrapperspb.FloatValue)(nil), // 27: google.protobuf.FloatValue
2066 (*wrapperspb.DoubleValue)(nil), // 28: google.protobuf.DoubleValue
2067 (*wrapperspb.StringValue)(nil), // 29: google.protobuf.StringValue
2068 (*wrapperspb.BytesValue)(nil), // 30: google.protobuf.BytesValue
2069 (*durationpb.Duration)(nil), // 31: google.protobuf.Duration
2070 (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp
2071 (*structpb.Struct)(nil), // 33: google.protobuf.Struct
2072 (*structpb.ListValue)(nil), // 34: google.protobuf.ListValue
2073 (*structpb.Value)(nil), // 35: google.protobuf.Value
2074 (structpb.NullValue)(0), // 36: google.protobuf.NullValue
2075 (*emptypb.Empty)(nil), // 37: google.protobuf.Empty
2076 (*anypb.Any)(nil), // 38: google.protobuf.Any
2077 (*fieldmaskpb.FieldMask)(nil), // 39: google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08002078}
Joe Tsai7ca70982019-04-15 13:57:56 -07002079var file_pb2_test_proto_depIdxs = []int32{
Herbie Ong8170d692019-02-13 14:13:21 -08002080 0, // pb2.Enums.opt_enum:type_name -> pb2.Enum
2081 0, // pb2.Enums.rpt_enum:type_name -> pb2.Enum
2082 1, // pb2.Enums.opt_nested_enum:type_name -> pb2.Enums.NestedEnum
2083 1, // pb2.Enums.rpt_nested_enum:type_name -> pb2.Enums.NestedEnum
2084 5, // pb2.Nested.opt_nested:type_name -> pb2.Nested
2085 5, // pb2.Nests.opt_nested:type_name -> pb2.Nested
2086 18, // pb2.Nests.optgroup:type_name -> pb2.Nests.OptGroup
2087 5, // pb2.Nests.rpt_nested:type_name -> pb2.Nested
2088 19, // pb2.Nests.rptgroup:type_name -> pb2.Nests.RptGroup
2089 0, // pb2.Requireds.req_enum:type_name -> pb2.Enum
2090 5, // pb2.Requireds.req_nested:type_name -> pb2.Nested
2091 9, // pb2.IndirectRequired.opt_nested:type_name -> pb2.NestedWithRequired
2092 9, // pb2.IndirectRequired.rpt_nested:type_name -> pb2.NestedWithRequired
2093 21, // pb2.IndirectRequired.str_to_nested:type_name -> pb2.IndirectRequired.StrToNestedEntry
2094 9, // pb2.IndirectRequired.oneof_nested:type_name -> pb2.NestedWithRequired
2095 22, // pb2.KnownTypes.opt_bool:type_name -> google.protobuf.BoolValue
2096 23, // pb2.KnownTypes.opt_int32:type_name -> google.protobuf.Int32Value
2097 24, // pb2.KnownTypes.opt_int64:type_name -> google.protobuf.Int64Value
2098 25, // pb2.KnownTypes.opt_uint32:type_name -> google.protobuf.UInt32Value
2099 26, // pb2.KnownTypes.opt_uint64:type_name -> google.protobuf.UInt64Value
2100 27, // pb2.KnownTypes.opt_float:type_name -> google.protobuf.FloatValue
2101 28, // pb2.KnownTypes.opt_double:type_name -> google.protobuf.DoubleValue
2102 29, // pb2.KnownTypes.opt_string:type_name -> google.protobuf.StringValue
2103 30, // pb2.KnownTypes.opt_bytes:type_name -> google.protobuf.BytesValue
2104 31, // pb2.KnownTypes.opt_duration:type_name -> google.protobuf.Duration
2105 32, // pb2.KnownTypes.opt_timestamp:type_name -> google.protobuf.Timestamp
2106 33, // pb2.KnownTypes.opt_struct:type_name -> google.protobuf.Struct
2107 34, // pb2.KnownTypes.opt_list:type_name -> google.protobuf.ListValue
2108 35, // pb2.KnownTypes.opt_value:type_name -> google.protobuf.Value
Herbie Ong300b9fe2019-03-29 15:42:20 -07002109 36, // pb2.KnownTypes.opt_null:type_name -> google.protobuf.NullValue
2110 37, // pb2.KnownTypes.opt_empty:type_name -> google.protobuf.Empty
2111 38, // pb2.KnownTypes.opt_any:type_name -> google.protobuf.Any
2112 39, // pb2.KnownTypes.opt_fieldmask:type_name -> google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08002113 5, // pb2.Nests.OptGroup.opt_nested:type_name -> pb2.Nested
2114 20, // pb2.Nests.OptGroup.optnestedgroup:type_name -> pb2.Nests.OptGroup.OptNestedGroup
2115 9, // pb2.IndirectRequired.StrToNestedEntry.value:type_name -> pb2.NestedWithRequired
Joe Tsaid8881392019-06-06 13:01:53 -07002116 11, // pb2.opt_ext_bool:extendee -> pb2.Extensions
2117 11, // pb2.opt_ext_string:extendee -> pb2.Extensions
2118 11, // pb2.opt_ext_enum:extendee -> pb2.Extensions
2119 11, // pb2.opt_ext_nested:extendee -> pb2.Extensions
2120 11, // pb2.opt_ext_partial:extendee -> pb2.Extensions
2121 11, // pb2.rpt_ext_fixed32:extendee -> pb2.Extensions
2122 11, // pb2.rpt_ext_enum:extendee -> pb2.Extensions
2123 11, // pb2.rpt_ext_nested:extendee -> pb2.Extensions
2124 13, // pb2.message_set_extension:extendee -> pb2.MessageSet
2125 11, // pb2.ExtensionsContainer.opt_ext_bool:extendee -> pb2.Extensions
2126 11, // pb2.ExtensionsContainer.opt_ext_string:extendee -> pb2.Extensions
2127 11, // pb2.ExtensionsContainer.opt_ext_enum:extendee -> pb2.Extensions
2128 11, // pb2.ExtensionsContainer.opt_ext_nested:extendee -> pb2.Extensions
2129 11, // pb2.ExtensionsContainer.opt_ext_partial:extendee -> pb2.Extensions
2130 11, // pb2.ExtensionsContainer.rpt_ext_string:extendee -> pb2.Extensions
2131 11, // pb2.ExtensionsContainer.rpt_ext_enum:extendee -> pb2.Extensions
2132 11, // pb2.ExtensionsContainer.rpt_ext_nested:extendee -> pb2.Extensions
2133 13, // pb2.MessageSetExtension.message_set_extension:extendee -> pb2.MessageSet
2134 13, // pb2.MessageSetExtension.not_message_set_extension:extendee -> pb2.MessageSet
2135 13, // pb2.MessageSetExtension.ext_nested:extendee -> pb2.MessageSet
2136 15, // pb2.FakeMessageSetExtension.message_set_extension:extendee -> pb2.FakeMessageSet
Herbie Ong8170d692019-02-13 14:13:21 -08002137 0, // pb2.opt_ext_enum:type_name -> pb2.Enum
2138 5, // pb2.opt_ext_nested:type_name -> pb2.Nested
Herbie Ong09b28a92019-04-03 15:42:41 -07002139 8, // pb2.opt_ext_partial:type_name -> pb2.PartialRequired
Herbie Ong8170d692019-02-13 14:13:21 -08002140 0, // pb2.rpt_ext_enum:type_name -> pb2.Enum
2141 5, // pb2.rpt_ext_nested:type_name -> pb2.Nested
2142 16, // pb2.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2143 0, // pb2.ExtensionsContainer.opt_ext_enum:type_name -> pb2.Enum
2144 5, // pb2.ExtensionsContainer.opt_ext_nested:type_name -> pb2.Nested
Herbie Ong09b28a92019-04-03 15:42:41 -07002145 8, // pb2.ExtensionsContainer.opt_ext_partial:type_name -> pb2.PartialRequired
Herbie Ong8170d692019-02-13 14:13:21 -08002146 0, // pb2.ExtensionsContainer.rpt_ext_enum:type_name -> pb2.Enum
2147 5, // pb2.ExtensionsContainer.rpt_ext_nested:type_name -> pb2.Nested
2148 14, // pb2.MessageSetExtension.message_set_extension:type_name -> pb2.MessageSetExtension
2149 14, // pb2.MessageSetExtension.not_message_set_extension:type_name -> pb2.MessageSetExtension
2150 5, // pb2.MessageSetExtension.ext_nested:type_name -> pb2.Nested
2151 16, // pb2.FakeMessageSetExtension.message_set_extension:type_name -> pb2.FakeMessageSetExtension
Joe Tsaid8881392019-06-06 13:01:53 -07002152 72, // starting offset of method output_type sub-list
2153 72, // starting offset of method input_type sub-list
2154 57, // starting offset of extension type_name sub-list
2155 36, // starting offset of extension extendee sub-list
2156 0, // starting offset of field type_name sub-list
Herbie Ong8170d692019-02-13 14:13:21 -08002157}
2158
Joe Tsai7ca70982019-04-15 13:57:56 -07002159func init() { file_pb2_test_proto_init() }
2160func file_pb2_test_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -08002161 if File_pb2_test_proto != nil {
2162 return
2163 }
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002164 if !protoimpl.UnsafeEnabled {
2165 file_pb2_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2166 switch v := v.(*Scalars); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002167 case 0:
2168 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002169 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002170 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002171 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002172 return &v.unknownFields
2173 default:
2174 return nil
2175 }
2176 }
2177 file_pb2_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2178 switch v := v.(*Enums); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002179 case 0:
2180 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002181 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002182 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002183 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002184 return &v.unknownFields
2185 default:
2186 return nil
2187 }
2188 }
2189 file_pb2_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2190 switch v := v.(*Repeats); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002191 case 0:
2192 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002193 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002194 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002195 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002196 return &v.unknownFields
2197 default:
2198 return nil
2199 }
2200 }
2201 file_pb2_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2202 switch v := v.(*Nested); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002203 case 0:
2204 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002205 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002206 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002207 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002208 return &v.unknownFields
2209 default:
2210 return nil
2211 }
2212 }
2213 file_pb2_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2214 switch v := v.(*Nests); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002215 case 0:
2216 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002217 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002218 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002219 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002220 return &v.unknownFields
2221 default:
2222 return nil
2223 }
2224 }
2225 file_pb2_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2226 switch v := v.(*Requireds); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002227 case 0:
2228 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002229 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002230 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002231 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002232 return &v.unknownFields
2233 default:
2234 return nil
2235 }
2236 }
2237 file_pb2_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
2238 switch v := v.(*PartialRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002239 case 0:
2240 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002241 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002242 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002243 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002244 return &v.unknownFields
2245 default:
2246 return nil
2247 }
2248 }
2249 file_pb2_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2250 switch v := v.(*NestedWithRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002251 case 0:
2252 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002253 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002254 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002255 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002256 return &v.unknownFields
2257 default:
2258 return nil
2259 }
2260 }
2261 file_pb2_test_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
2262 switch v := v.(*IndirectRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002263 case 0:
2264 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002265 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002266 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002267 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002268 return &v.unknownFields
2269 default:
2270 return nil
2271 }
2272 }
2273 file_pb2_test_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
2274 switch v := v.(*Extensions); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002275 case 0:
2276 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002277 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002278 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002279 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002280 return &v.unknownFields
Joe Tsai38b61962019-08-05 13:09:30 -07002281 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002282 return &v.extensionFields
2283 default:
2284 return nil
2285 }
2286 }
2287 file_pb2_test_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2288 switch v := v.(*ExtensionsContainer); i {
2289 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002290 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002291 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002292 return &v.sizeCache
2293 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002294 return &v.unknownFields
2295 default:
2296 return nil
2297 }
2298 }
2299 file_pb2_test_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2300 switch v := v.(*MessageSet); i {
2301 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002302 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002303 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002304 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002305 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002306 return &v.unknownFields
2307 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002308 return &v.extensionFields
2309 default:
2310 return nil
2311 }
2312 }
2313 file_pb2_test_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2314 switch v := v.(*MessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002315 case 0:
2316 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002317 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002318 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002319 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002320 return &v.unknownFields
2321 default:
2322 return nil
2323 }
2324 }
2325 file_pb2_test_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
2326 switch v := v.(*FakeMessageSet); i {
2327 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002328 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002329 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002330 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002331 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002332 return &v.unknownFields
2333 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002334 return &v.extensionFields
2335 default:
2336 return nil
2337 }
2338 }
2339 file_pb2_test_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
2340 switch v := v.(*FakeMessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002341 case 0:
2342 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002343 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002344 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002345 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002346 return &v.unknownFields
2347 default:
2348 return nil
2349 }
2350 }
2351 file_pb2_test_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
2352 switch v := v.(*KnownTypes); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002353 case 0:
2354 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002355 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002356 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002357 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002358 return &v.unknownFields
2359 default:
2360 return nil
2361 }
2362 }
2363 file_pb2_test_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
2364 switch v := v.(*Nests_OptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002365 case 0:
2366 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002367 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002368 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002369 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002370 return &v.unknownFields
2371 default:
2372 return nil
2373 }
2374 }
2375 file_pb2_test_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
2376 switch v := v.(*Nests_RptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002377 case 0:
2378 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002379 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002380 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002381 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002382 return &v.unknownFields
2383 default:
2384 return nil
2385 }
2386 }
2387 file_pb2_test_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
2388 switch v := v.(*Nests_OptGroup_OptNestedGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002389 case 0:
2390 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002391 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002392 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002393 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002394 return &v.unknownFields
2395 default:
2396 return nil
2397 }
2398 }
2399 }
Joe Tsai09912272019-07-08 10:38:11 -07002400 file_pb2_test_proto_msgTypes[8].OneofWrappers = []interface{}{
2401 (*IndirectRequired_OneofNested)(nil),
2402 }
Joe Tsaiaf570872019-07-14 23:04:40 -07002403 type x struct{}
Joe Tsaid8881392019-06-06 13:01:53 -07002404 out := protoimpl.TypeBuilder{
2405 File: protoimpl.DescBuilder{
Joe Tsaiaf570872019-07-14 23:04:40 -07002406 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
Joe Tsaid8881392019-06-06 13:01:53 -07002407 RawDescriptor: file_pb2_test_proto_rawDesc,
2408 NumEnums: 2,
2409 NumMessages: 20,
2410 NumExtensions: 21,
2411 NumServices: 0,
2412 },
2413 GoTypes: file_pb2_test_proto_goTypes,
2414 DependencyIndexes: file_pb2_test_proto_depIdxs,
2415 MessageInfos: file_pb2_test_proto_msgTypes,
2416 LegacyExtensions: file_pb2_test_proto_extDescs,
2417 }.Build()
2418 File_pb2_test_proto = out.File
2419 file_pb2_test_proto_enumTypes = out.Enums
Joe Tsai7ca70982019-04-15 13:57:56 -07002420 file_pb2_test_proto_rawDesc = nil
2421 file_pb2_test_proto_goTypes = nil
2422 file_pb2_test_proto_depIdxs = nil
Herbie Ong8170d692019-02-13 14:13:21 -08002423}