blob: a0ad1e201bf6fe5dde64367eca1a32144b410edd [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
Herbie Ong8170d692019-02-13 14:13:21 -080028type Enum int32
29
30const (
31 Enum_ONE Enum = 1
32 Enum_TWO Enum = 2
33 Enum_TEN Enum = 10
34)
35
Joe Tsai9b8a4332019-08-05 18:38:48 -070036// Enum value maps for Enum.
37var (
38 Enum_name = map[int32]string{
39 1: "ONE",
40 2: "TWO",
41 10: "TEN",
42 }
43 Enum_value = map[string]int32{
44 "ONE": 1,
45 "TWO": 2,
46 "TEN": 10,
47 }
48)
Herbie Ong8170d692019-02-13 14:13:21 -080049
50func (x Enum) Enum() *Enum {
Joe Tsai09b5b462019-04-10 15:29:01 -070051 p := new(Enum)
52 *p = x
53 return p
Herbie Ong8170d692019-02-13 14:13:21 -080054}
55
56func (x Enum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -070057 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -080058}
59
Joe Tsai0fc49f82019-05-01 12:29:25 -070060func (Enum) Descriptor() protoreflect.EnumDescriptor {
Joe Tsaid8881392019-06-06 13:01:53 -070061 return file_pb2_test_proto_enumTypes[0].EnumDescriptor
Joe Tsai0fc49f82019-05-01 12:29:25 -070062}
63
Joe Tsaid4211502019-07-02 14:58:02 -070064func (Enum) Type() protoreflect.EnumType {
65 return &file_pb2_test_proto_enumTypes[0]
66}
67
Joe Tsai61968ce2019-04-01 12:59:24 -070068func (x Enum) Number() protoreflect.EnumNumber {
69 return protoreflect.EnumNumber(x)
70}
71
Joe Tsai8e506a82019-03-16 00:05:34 -070072// Deprecated: Do not use.
73func (x *Enum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -070074 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -080075 if err != nil {
76 return err
77 }
Joe Tsai8e506a82019-03-16 00:05:34 -070078 *x = Enum(num)
Herbie Ong8170d692019-02-13 14:13:21 -080079 return nil
80}
81
Joe Tsai43761bd2019-07-17 18:06:47 -070082// Deprecated: Use Enum.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -080083func (Enum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -070084 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -080085}
86
87type Enums_NestedEnum int32
88
89const (
90 Enums_UNO Enums_NestedEnum = 1
91 Enums_DOS Enums_NestedEnum = 2
92 Enums_DIEZ Enums_NestedEnum = 10
93)
94
Joe Tsai9b8a4332019-08-05 18:38:48 -070095// Enum value maps for Enums_NestedEnum.
96var (
97 Enums_NestedEnum_name = map[int32]string{
98 1: "UNO",
99 2: "DOS",
100 10: "DIEZ",
101 }
102 Enums_NestedEnum_value = map[string]int32{
103 "UNO": 1,
104 "DOS": 2,
105 "DIEZ": 10,
106 }
107)
Herbie Ong8170d692019-02-13 14:13:21 -0800108
109func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
Joe Tsai09b5b462019-04-10 15:29:01 -0700110 p := new(Enums_NestedEnum)
111 *p = x
112 return p
Herbie Ong8170d692019-02-13 14:13:21 -0800113}
114
115func (x Enums_NestedEnum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700116 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -0800117}
118
Joe Tsai0fc49f82019-05-01 12:29:25 -0700119func (Enums_NestedEnum) Descriptor() protoreflect.EnumDescriptor {
Joe Tsaid8881392019-06-06 13:01:53 -0700120 return file_pb2_test_proto_enumTypes[1].EnumDescriptor
Joe Tsai0fc49f82019-05-01 12:29:25 -0700121}
122
Joe Tsaid4211502019-07-02 14:58:02 -0700123func (Enums_NestedEnum) Type() protoreflect.EnumType {
124 return &file_pb2_test_proto_enumTypes[1]
125}
126
Joe Tsai61968ce2019-04-01 12:59:24 -0700127func (x Enums_NestedEnum) Number() protoreflect.EnumNumber {
128 return protoreflect.EnumNumber(x)
129}
130
Joe Tsai8e506a82019-03-16 00:05:34 -0700131// Deprecated: Do not use.
132func (x *Enums_NestedEnum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700133 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -0800134 if err != nil {
135 return err
136 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700137 *x = Enums_NestedEnum(num)
Herbie Ong8170d692019-02-13 14:13:21 -0800138 return nil
139}
140
Joe Tsai43761bd2019-07-17 18:06:47 -0700141// Deprecated: Use Enums_NestedEnum.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800142func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700143 return file_pb2_test_proto_rawDescGZIP(), []int{1, 0}
Herbie Ong8170d692019-02-13 14:13:21 -0800144}
145
146// Scalars contains optional scalar fields.
147type Scalars struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700148 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700149 sizeCache protoimpl.SizeCache
150 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700151
152 OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
153 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
154 OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
155 OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
156 OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
157 OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"`
158 OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"`
159 OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
160 OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"`
161 OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"`
162 OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"`
163 OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
164 OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
165 OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
166 OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800167}
168
Joe Tsai61968ce2019-04-01 12:59:24 -0700169func (x *Scalars) Reset() {
170 *x = Scalars{}
Herbie Ong8170d692019-02-13 14:13:21 -0800171}
Joe Tsai61968ce2019-04-01 12:59:24 -0700172
173func (x *Scalars) String() string {
174 return protoimpl.X.MessageStringOf(x)
175}
176
177func (*Scalars) ProtoMessage() {}
178
179func (x *Scalars) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700180 mi := &file_pb2_test_proto_msgTypes[0]
181 if protoimpl.UnsafeEnabled && x != nil {
182 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
183 if ms.LoadMessageInfo() == nil {
184 ms.StoreMessageInfo(mi)
185 }
186 return ms
187 }
188 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700189}
Joe Tsai8e506a82019-03-16 00:05:34 -0700190
Joe Tsai43761bd2019-07-17 18:06:47 -0700191// Deprecated: Use Scalars.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800192func (*Scalars) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700193 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -0800194}
195
Joe Tsai61968ce2019-04-01 12:59:24 -0700196func (x *Scalars) GetOptBool() bool {
197 if x != nil && x.OptBool != nil {
198 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800199 }
200 return false
201}
202
Joe Tsai61968ce2019-04-01 12:59:24 -0700203func (x *Scalars) GetOptInt32() int32 {
204 if x != nil && x.OptInt32 != nil {
205 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800206 }
207 return 0
208}
209
Joe Tsai61968ce2019-04-01 12:59:24 -0700210func (x *Scalars) GetOptInt64() int64 {
211 if x != nil && x.OptInt64 != nil {
212 return *x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800213 }
214 return 0
215}
216
Joe Tsai61968ce2019-04-01 12:59:24 -0700217func (x *Scalars) GetOptUint32() uint32 {
218 if x != nil && x.OptUint32 != nil {
219 return *x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800220 }
221 return 0
222}
223
Joe Tsai61968ce2019-04-01 12:59:24 -0700224func (x *Scalars) GetOptUint64() uint64 {
225 if x != nil && x.OptUint64 != nil {
226 return *x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800227 }
228 return 0
229}
230
Joe Tsai61968ce2019-04-01 12:59:24 -0700231func (x *Scalars) GetOptSint32() int32 {
232 if x != nil && x.OptSint32 != nil {
233 return *x.OptSint32
Herbie Ong8170d692019-02-13 14:13:21 -0800234 }
235 return 0
236}
237
Joe Tsai61968ce2019-04-01 12:59:24 -0700238func (x *Scalars) GetOptSint64() int64 {
239 if x != nil && x.OptSint64 != nil {
240 return *x.OptSint64
Herbie Ong8170d692019-02-13 14:13:21 -0800241 }
242 return 0
243}
244
Joe Tsai61968ce2019-04-01 12:59:24 -0700245func (x *Scalars) GetOptFixed32() uint32 {
246 if x != nil && x.OptFixed32 != nil {
247 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800248 }
249 return 0
250}
251
Joe Tsai61968ce2019-04-01 12:59:24 -0700252func (x *Scalars) GetOptFixed64() uint64 {
253 if x != nil && x.OptFixed64 != nil {
254 return *x.OptFixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800255 }
256 return 0
257}
258
Joe Tsai61968ce2019-04-01 12:59:24 -0700259func (x *Scalars) GetOptSfixed32() int32 {
260 if x != nil && x.OptSfixed32 != nil {
261 return *x.OptSfixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800262 }
263 return 0
264}
265
Joe Tsai61968ce2019-04-01 12:59:24 -0700266func (x *Scalars) GetOptSfixed64() int64 {
267 if x != nil && x.OptSfixed64 != nil {
268 return *x.OptSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800269 }
270 return 0
271}
272
Joe Tsai61968ce2019-04-01 12:59:24 -0700273func (x *Scalars) GetOptFloat() float32 {
274 if x != nil && x.OptFloat != nil {
275 return *x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800276 }
277 return 0
278}
279
Joe Tsai61968ce2019-04-01 12:59:24 -0700280func (x *Scalars) GetOptDouble() float64 {
281 if x != nil && x.OptDouble != nil {
282 return *x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800283 }
284 return 0
285}
286
Joe Tsai61968ce2019-04-01 12:59:24 -0700287func (x *Scalars) GetOptBytes() []byte {
288 if x != nil {
289 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800290 }
291 return nil
292}
293
Joe Tsai61968ce2019-04-01 12:59:24 -0700294func (x *Scalars) GetOptString() string {
295 if x != nil && x.OptString != nil {
296 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800297 }
298 return ""
299}
300
301// Message contains enum fields.
302type Enums struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700303 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700304 sizeCache protoimpl.SizeCache
305 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700306
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700307 OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
308 RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"`
309 OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
310 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 -0800311}
312
Joe Tsai61968ce2019-04-01 12:59:24 -0700313func (x *Enums) Reset() {
314 *x = Enums{}
Herbie Ong8170d692019-02-13 14:13:21 -0800315}
Joe Tsai61968ce2019-04-01 12:59:24 -0700316
317func (x *Enums) String() string {
318 return protoimpl.X.MessageStringOf(x)
319}
320
321func (*Enums) ProtoMessage() {}
322
323func (x *Enums) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700324 mi := &file_pb2_test_proto_msgTypes[1]
325 if protoimpl.UnsafeEnabled && x != nil {
326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
327 if ms.LoadMessageInfo() == nil {
328 ms.StoreMessageInfo(mi)
329 }
330 return ms
331 }
332 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700333}
Joe Tsai8e506a82019-03-16 00:05:34 -0700334
Joe Tsai43761bd2019-07-17 18:06:47 -0700335// Deprecated: Use Enums.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800336func (*Enums) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700337 return file_pb2_test_proto_rawDescGZIP(), []int{1}
Herbie Ong8170d692019-02-13 14:13:21 -0800338}
339
Joe Tsai61968ce2019-04-01 12:59:24 -0700340func (x *Enums) GetOptEnum() Enum {
341 if x != nil && x.OptEnum != nil {
342 return *x.OptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800343 }
344 return Enum_ONE
345}
346
Joe Tsai61968ce2019-04-01 12:59:24 -0700347func (x *Enums) GetRptEnum() []Enum {
348 if x != nil {
349 return x.RptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800350 }
351 return nil
352}
353
Joe Tsai61968ce2019-04-01 12:59:24 -0700354func (x *Enums) GetOptNestedEnum() Enums_NestedEnum {
355 if x != nil && x.OptNestedEnum != nil {
356 return *x.OptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800357 }
358 return Enums_UNO
359}
360
Joe Tsai61968ce2019-04-01 12:59:24 -0700361func (x *Enums) GetRptNestedEnum() []Enums_NestedEnum {
362 if x != nil {
363 return x.RptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800364 }
365 return nil
366}
367
368// Message contains repeated fields.
369type Repeats struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700370 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700371 sizeCache protoimpl.SizeCache
372 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700373
374 RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
375 RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"`
376 RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"`
377 RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"`
378 RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"`
379 RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"`
380 RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"`
381 RptString []string `protobuf:"bytes,8,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
382 RptBytes [][]byte `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800383}
384
Joe Tsai61968ce2019-04-01 12:59:24 -0700385func (x *Repeats) Reset() {
386 *x = Repeats{}
Herbie Ong8170d692019-02-13 14:13:21 -0800387}
Joe Tsai61968ce2019-04-01 12:59:24 -0700388
389func (x *Repeats) String() string {
390 return protoimpl.X.MessageStringOf(x)
391}
392
393func (*Repeats) ProtoMessage() {}
394
395func (x *Repeats) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700396 mi := &file_pb2_test_proto_msgTypes[2]
397 if protoimpl.UnsafeEnabled && x != nil {
398 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
399 if ms.LoadMessageInfo() == nil {
400 ms.StoreMessageInfo(mi)
401 }
402 return ms
403 }
404 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700405}
Joe Tsai8e506a82019-03-16 00:05:34 -0700406
Joe Tsai43761bd2019-07-17 18:06:47 -0700407// Deprecated: Use Repeats.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800408func (*Repeats) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700409 return file_pb2_test_proto_rawDescGZIP(), []int{2}
Herbie Ong8170d692019-02-13 14:13:21 -0800410}
411
Joe Tsai61968ce2019-04-01 12:59:24 -0700412func (x *Repeats) GetRptBool() []bool {
413 if x != nil {
414 return x.RptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800415 }
416 return nil
417}
418
Joe Tsai61968ce2019-04-01 12:59:24 -0700419func (x *Repeats) GetRptInt32() []int32 {
420 if x != nil {
421 return x.RptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800422 }
423 return nil
424}
425
Joe Tsai61968ce2019-04-01 12:59:24 -0700426func (x *Repeats) GetRptInt64() []int64 {
427 if x != nil {
428 return x.RptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800429 }
430 return nil
431}
432
Joe Tsai61968ce2019-04-01 12:59:24 -0700433func (x *Repeats) GetRptUint32() []uint32 {
434 if x != nil {
435 return x.RptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800436 }
437 return nil
438}
439
Joe Tsai61968ce2019-04-01 12:59:24 -0700440func (x *Repeats) GetRptUint64() []uint64 {
441 if x != nil {
442 return x.RptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800443 }
444 return nil
445}
446
Joe Tsai61968ce2019-04-01 12:59:24 -0700447func (x *Repeats) GetRptFloat() []float32 {
448 if x != nil {
449 return x.RptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800450 }
451 return nil
452}
453
Joe Tsai61968ce2019-04-01 12:59:24 -0700454func (x *Repeats) GetRptDouble() []float64 {
455 if x != nil {
456 return x.RptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800457 }
458 return nil
459}
460
Joe Tsai61968ce2019-04-01 12:59:24 -0700461func (x *Repeats) GetRptString() []string {
462 if x != nil {
463 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -0800464 }
465 return nil
466}
467
Joe Tsai61968ce2019-04-01 12:59:24 -0700468func (x *Repeats) GetRptBytes() [][]byte {
469 if x != nil {
470 return x.RptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800471 }
472 return nil
473}
474
475// Message type used as submessage.
476type Nested struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700477 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700478 sizeCache protoimpl.SizeCache
479 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700480
481 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
482 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800483}
484
Joe Tsai61968ce2019-04-01 12:59:24 -0700485func (x *Nested) Reset() {
486 *x = Nested{}
Herbie Ong8170d692019-02-13 14:13:21 -0800487}
Joe Tsai61968ce2019-04-01 12:59:24 -0700488
489func (x *Nested) String() string {
490 return protoimpl.X.MessageStringOf(x)
491}
492
493func (*Nested) ProtoMessage() {}
494
495func (x *Nested) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700496 mi := &file_pb2_test_proto_msgTypes[3]
497 if protoimpl.UnsafeEnabled && x != nil {
498 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
499 if ms.LoadMessageInfo() == nil {
500 ms.StoreMessageInfo(mi)
501 }
502 return ms
503 }
504 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700505}
Joe Tsai8e506a82019-03-16 00:05:34 -0700506
Joe Tsai43761bd2019-07-17 18:06:47 -0700507// Deprecated: Use Nested.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800508func (*Nested) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700509 return file_pb2_test_proto_rawDescGZIP(), []int{3}
Herbie Ong8170d692019-02-13 14:13:21 -0800510}
511
Joe Tsai61968ce2019-04-01 12:59:24 -0700512func (x *Nested) GetOptString() string {
513 if x != nil && x.OptString != nil {
514 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800515 }
516 return ""
517}
518
Joe Tsai61968ce2019-04-01 12:59:24 -0700519func (x *Nested) GetOptNested() *Nested {
520 if x != nil {
521 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800522 }
523 return nil
524}
525
526// Message contains message and group fields.
527type Nests struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700528 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700529 sizeCache protoimpl.SizeCache
530 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700531
532 OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
533 Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"`
534 RptNested []*Nested `protobuf:"bytes,4,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
535 Rptgroup []*Nests_RptGroup `protobuf:"group,5,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800536}
537
Joe Tsai61968ce2019-04-01 12:59:24 -0700538func (x *Nests) Reset() {
539 *x = Nests{}
Herbie Ong8170d692019-02-13 14:13:21 -0800540}
Joe Tsai61968ce2019-04-01 12:59:24 -0700541
542func (x *Nests) String() string {
543 return protoimpl.X.MessageStringOf(x)
544}
545
546func (*Nests) ProtoMessage() {}
547
548func (x *Nests) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700549 mi := &file_pb2_test_proto_msgTypes[4]
550 if protoimpl.UnsafeEnabled && x != nil {
551 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
552 if ms.LoadMessageInfo() == nil {
553 ms.StoreMessageInfo(mi)
554 }
555 return ms
556 }
557 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700558}
Joe Tsai8e506a82019-03-16 00:05:34 -0700559
Joe Tsai43761bd2019-07-17 18:06:47 -0700560// Deprecated: Use Nests.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800561func (*Nests) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700562 return file_pb2_test_proto_rawDescGZIP(), []int{4}
Herbie Ong8170d692019-02-13 14:13:21 -0800563}
564
Joe Tsai61968ce2019-04-01 12:59:24 -0700565func (x *Nests) GetOptNested() *Nested {
566 if x != nil {
567 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800568 }
569 return nil
570}
571
Joe Tsai61968ce2019-04-01 12:59:24 -0700572func (x *Nests) GetOptgroup() *Nests_OptGroup {
573 if x != nil {
574 return x.Optgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800575 }
576 return nil
577}
578
Joe Tsai61968ce2019-04-01 12:59:24 -0700579func (x *Nests) GetRptNested() []*Nested {
580 if x != nil {
581 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800582 }
583 return nil
584}
585
Joe Tsai61968ce2019-04-01 12:59:24 -0700586func (x *Nests) GetRptgroup() []*Nests_RptGroup {
587 if x != nil {
588 return x.Rptgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800589 }
590 return nil
591}
592
593// Message contains required fields.
594type Requireds struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700595 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700596 sizeCache protoimpl.SizeCache
597 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700598
599 ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"`
600 ReqSfixed64 *int64 `protobuf:"fixed64,2,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"`
601 ReqDouble *float64 `protobuf:"fixed64,3,req,name=req_double,json=reqDouble" json:"req_double,omitempty"`
602 ReqString *string `protobuf:"bytes,4,req,name=req_string,json=reqString" json:"req_string,omitempty"`
603 ReqEnum *Enum `protobuf:"varint,5,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
604 ReqNested *Nested `protobuf:"bytes,6,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800605}
606
Joe Tsai61968ce2019-04-01 12:59:24 -0700607func (x *Requireds) Reset() {
608 *x = Requireds{}
Herbie Ong8170d692019-02-13 14:13:21 -0800609}
Joe Tsai61968ce2019-04-01 12:59:24 -0700610
611func (x *Requireds) String() string {
612 return protoimpl.X.MessageStringOf(x)
613}
614
615func (*Requireds) ProtoMessage() {}
616
617func (x *Requireds) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700618 mi := &file_pb2_test_proto_msgTypes[5]
619 if protoimpl.UnsafeEnabled && x != nil {
620 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
621 if ms.LoadMessageInfo() == nil {
622 ms.StoreMessageInfo(mi)
623 }
624 return ms
625 }
626 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700627}
Joe Tsai8e506a82019-03-16 00:05:34 -0700628
Joe Tsai43761bd2019-07-17 18:06:47 -0700629// Deprecated: Use Requireds.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800630func (*Requireds) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700631 return file_pb2_test_proto_rawDescGZIP(), []int{5}
Herbie Ong8170d692019-02-13 14:13:21 -0800632}
633
Joe Tsai61968ce2019-04-01 12:59:24 -0700634func (x *Requireds) GetReqBool() bool {
635 if x != nil && x.ReqBool != nil {
636 return *x.ReqBool
Herbie Ong8170d692019-02-13 14:13:21 -0800637 }
638 return false
639}
640
Joe Tsai61968ce2019-04-01 12:59:24 -0700641func (x *Requireds) GetReqSfixed64() int64 {
642 if x != nil && x.ReqSfixed64 != nil {
643 return *x.ReqSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800644 }
645 return 0
646}
647
Joe Tsai61968ce2019-04-01 12:59:24 -0700648func (x *Requireds) GetReqDouble() float64 {
649 if x != nil && x.ReqDouble != nil {
650 return *x.ReqDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800651 }
652 return 0
653}
654
Joe Tsai61968ce2019-04-01 12:59:24 -0700655func (x *Requireds) GetReqString() string {
656 if x != nil && x.ReqString != nil {
657 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800658 }
659 return ""
660}
661
Joe Tsai61968ce2019-04-01 12:59:24 -0700662func (x *Requireds) GetReqEnum() Enum {
663 if x != nil && x.ReqEnum != nil {
664 return *x.ReqEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800665 }
666 return Enum_ONE
667}
668
Joe Tsai61968ce2019-04-01 12:59:24 -0700669func (x *Requireds) GetReqNested() *Nested {
670 if x != nil {
671 return x.ReqNested
Herbie Ong8170d692019-02-13 14:13:21 -0800672 }
673 return nil
674}
675
676// Message contains both required and optional fields.
677type PartialRequired struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700678 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700679 sizeCache protoimpl.SizeCache
680 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700681
682 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
683 OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800684}
685
Joe Tsai61968ce2019-04-01 12:59:24 -0700686func (x *PartialRequired) Reset() {
687 *x = PartialRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800688}
Joe Tsai61968ce2019-04-01 12:59:24 -0700689
690func (x *PartialRequired) String() string {
691 return protoimpl.X.MessageStringOf(x)
692}
693
694func (*PartialRequired) ProtoMessage() {}
695
696func (x *PartialRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700697 mi := &file_pb2_test_proto_msgTypes[6]
698 if protoimpl.UnsafeEnabled && x != nil {
699 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
700 if ms.LoadMessageInfo() == nil {
701 ms.StoreMessageInfo(mi)
702 }
703 return ms
704 }
705 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700706}
Joe Tsai8e506a82019-03-16 00:05:34 -0700707
Joe Tsai43761bd2019-07-17 18:06:47 -0700708// Deprecated: Use PartialRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800709func (*PartialRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700710 return file_pb2_test_proto_rawDescGZIP(), []int{6}
Herbie Ong8170d692019-02-13 14:13:21 -0800711}
712
Joe Tsai61968ce2019-04-01 12:59:24 -0700713func (x *PartialRequired) GetReqString() string {
714 if x != nil && x.ReqString != nil {
715 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800716 }
717 return ""
718}
719
Joe Tsai61968ce2019-04-01 12:59:24 -0700720func (x *PartialRequired) GetOptString() string {
721 if x != nil && x.OptString != nil {
722 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800723 }
724 return ""
725}
726
727type NestedWithRequired struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700728 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700729 sizeCache protoimpl.SizeCache
730 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700731
732 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800733}
734
Joe Tsai61968ce2019-04-01 12:59:24 -0700735func (x *NestedWithRequired) Reset() {
736 *x = NestedWithRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800737}
Joe Tsai61968ce2019-04-01 12:59:24 -0700738
739func (x *NestedWithRequired) String() string {
740 return protoimpl.X.MessageStringOf(x)
741}
742
743func (*NestedWithRequired) ProtoMessage() {}
744
745func (x *NestedWithRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700746 mi := &file_pb2_test_proto_msgTypes[7]
747 if protoimpl.UnsafeEnabled && x != nil {
748 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
749 if ms.LoadMessageInfo() == nil {
750 ms.StoreMessageInfo(mi)
751 }
752 return ms
753 }
754 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700755}
Joe Tsai8e506a82019-03-16 00:05:34 -0700756
Joe Tsai43761bd2019-07-17 18:06:47 -0700757// Deprecated: Use NestedWithRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800758func (*NestedWithRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700759 return file_pb2_test_proto_rawDescGZIP(), []int{7}
Herbie Ong8170d692019-02-13 14:13:21 -0800760}
761
Joe Tsai61968ce2019-04-01 12:59:24 -0700762func (x *NestedWithRequired) GetReqString() string {
763 if x != nil && x.ReqString != nil {
764 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800765 }
766 return ""
767}
768
769type IndirectRequired struct {
Joe Tsai38b61962019-08-05 13:09:30 -0700770 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700771 sizeCache protoimpl.SizeCache
772 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700773
774 OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
775 RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
776 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"`
777 // Types that are assignable to Union:
Joe Tsai38b61962019-08-05 13:09:30 -0700778 // *IndirectRequired_OneofNested
779 Union isIndirectRequired_Union `protobuf_oneof:"union"`
Herbie Ong8170d692019-02-13 14:13:21 -0800780}
781
Joe Tsai61968ce2019-04-01 12:59:24 -0700782func (x *IndirectRequired) Reset() {
783 *x = IndirectRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800784}
Joe Tsai61968ce2019-04-01 12:59:24 -0700785
786func (x *IndirectRequired) String() string {
787 return protoimpl.X.MessageStringOf(x)
788}
789
790func (*IndirectRequired) ProtoMessage() {}
791
792func (x *IndirectRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700793 mi := &file_pb2_test_proto_msgTypes[8]
794 if protoimpl.UnsafeEnabled && x != nil {
795 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
796 if ms.LoadMessageInfo() == nil {
797 ms.StoreMessageInfo(mi)
798 }
799 return ms
800 }
801 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700802}
Joe Tsai8e506a82019-03-16 00:05:34 -0700803
Joe Tsai43761bd2019-07-17 18:06:47 -0700804// Deprecated: Use IndirectRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800805func (*IndirectRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700806 return file_pb2_test_proto_rawDescGZIP(), []int{8}
Herbie Ong8170d692019-02-13 14:13:21 -0800807}
808
Joe Tsai61968ce2019-04-01 12:59:24 -0700809func (x *IndirectRequired) GetOptNested() *NestedWithRequired {
810 if x != nil {
811 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800812 }
813 return nil
814}
815
Joe Tsai61968ce2019-04-01 12:59:24 -0700816func (x *IndirectRequired) GetRptNested() []*NestedWithRequired {
817 if x != nil {
818 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800819 }
820 return nil
821}
822
Joe Tsai61968ce2019-04-01 12:59:24 -0700823func (x *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired {
824 if x != nil {
825 return x.StrToNested
Herbie Ong8170d692019-02-13 14:13:21 -0800826 }
827 return nil
828}
829
Herbie Ong8170d692019-02-13 14:13:21 -0800830func (m *IndirectRequired) GetUnion() isIndirectRequired_Union {
831 if m != nil {
832 return m.Union
833 }
834 return nil
835}
836
Joe Tsai61968ce2019-04-01 12:59:24 -0700837func (x *IndirectRequired) GetOneofNested() *NestedWithRequired {
838 if x, ok := x.GetUnion().(*IndirectRequired_OneofNested); ok {
Herbie Ong8170d692019-02-13 14:13:21 -0800839 return x.OneofNested
840 }
841 return nil
842}
843
Joe Tsai872b5002019-04-08 14:03:15 -0700844type isIndirectRequired_Union interface {
845 isIndirectRequired_Union()
846}
847
848type IndirectRequired_OneofNested struct {
849 OneofNested *NestedWithRequired `protobuf:"bytes,4,opt,name=oneof_nested,json=oneofNested,oneof"`
850}
851
852func (*IndirectRequired_OneofNested) isIndirectRequired_Union() {}
853
Herbie Ong8170d692019-02-13 14:13:21 -0800854type Extensions struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700855 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700856 sizeCache protoimpl.SizeCache
857 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -0700858 extensionFields protoimpl.ExtensionFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700859
860 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
861 OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
862 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800863}
864
Joe Tsai61968ce2019-04-01 12:59:24 -0700865func (x *Extensions) Reset() {
866 *x = Extensions{}
Herbie Ong8170d692019-02-13 14:13:21 -0800867}
Joe Tsai61968ce2019-04-01 12:59:24 -0700868
869func (x *Extensions) String() string {
870 return protoimpl.X.MessageStringOf(x)
871}
872
873func (*Extensions) ProtoMessage() {}
874
875func (x *Extensions) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700876 mi := &file_pb2_test_proto_msgTypes[9]
877 if protoimpl.UnsafeEnabled && x != nil {
878 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
879 if ms.LoadMessageInfo() == nil {
880 ms.StoreMessageInfo(mi)
881 }
882 return ms
883 }
884 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700885}
Joe Tsai8e506a82019-03-16 00:05:34 -0700886
Joe Tsai43761bd2019-07-17 18:06:47 -0700887// Deprecated: Use Extensions.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800888func (*Extensions) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700889 return file_pb2_test_proto_rawDescGZIP(), []int{9}
Herbie Ong8170d692019-02-13 14:13:21 -0800890}
891
Joe Tsai4fddeba2019-03-20 18:29:32 -0700892var extRange_Extensions = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800893 {Start: 20, End: 100},
894}
895
Joe Tsai43761bd2019-07-17 18:06:47 -0700896// Deprecated: Use Extensions.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700897func (*Extensions) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -0800898 return extRange_Extensions
899}
900
Joe Tsai61968ce2019-04-01 12:59:24 -0700901func (x *Extensions) GetOptString() string {
902 if x != nil && x.OptString != nil {
903 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800904 }
905 return ""
906}
907
Joe Tsai61968ce2019-04-01 12:59:24 -0700908func (x *Extensions) GetOptBool() bool {
909 if x != nil && x.OptBool != nil {
910 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800911 }
912 return false
913}
914
Joe Tsai61968ce2019-04-01 12:59:24 -0700915func (x *Extensions) GetOptInt32() int32 {
916 if x != nil && x.OptInt32 != nil {
917 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800918 }
919 return 0
920}
921
922type ExtensionsContainer struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700923 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700924 sizeCache protoimpl.SizeCache
925 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800926}
927
Joe Tsai61968ce2019-04-01 12:59:24 -0700928func (x *ExtensionsContainer) Reset() {
929 *x = ExtensionsContainer{}
Herbie Ong8170d692019-02-13 14:13:21 -0800930}
Joe Tsai61968ce2019-04-01 12:59:24 -0700931
932func (x *ExtensionsContainer) String() string {
933 return protoimpl.X.MessageStringOf(x)
934}
935
936func (*ExtensionsContainer) ProtoMessage() {}
937
938func (x *ExtensionsContainer) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700939 mi := &file_pb2_test_proto_msgTypes[10]
940 if protoimpl.UnsafeEnabled && x != nil {
941 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
942 if ms.LoadMessageInfo() == nil {
943 ms.StoreMessageInfo(mi)
944 }
945 return ms
946 }
947 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700948}
Joe Tsai8e506a82019-03-16 00:05:34 -0700949
Joe Tsai43761bd2019-07-17 18:06:47 -0700950// Deprecated: Use ExtensionsContainer.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800951func (*ExtensionsContainer) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700952 return file_pb2_test_proto_rawDescGZIP(), []int{10}
Herbie Ong8170d692019-02-13 14:13:21 -0800953}
954
Herbie Ong8170d692019-02-13 14:13:21 -0800955type MessageSet struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700956 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700957 sizeCache protoimpl.SizeCache
958 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -0700959 extensionFields protoimpl.ExtensionFields
Herbie Ong8170d692019-02-13 14:13:21 -0800960}
961
Joe Tsai61968ce2019-04-01 12:59:24 -0700962func (x *MessageSet) Reset() {
963 *x = MessageSet{}
Herbie Ong8170d692019-02-13 14:13:21 -0800964}
Joe Tsai61968ce2019-04-01 12:59:24 -0700965
966func (x *MessageSet) String() string {
967 return protoimpl.X.MessageStringOf(x)
968}
969
970func (*MessageSet) ProtoMessage() {}
971
972func (x *MessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700973 mi := &file_pb2_test_proto_msgTypes[11]
974 if protoimpl.UnsafeEnabled && x != nil {
975 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
976 if ms.LoadMessageInfo() == nil {
977 ms.StoreMessageInfo(mi)
978 }
979 return ms
980 }
981 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700982}
Joe Tsai8e506a82019-03-16 00:05:34 -0700983
Joe Tsai43761bd2019-07-17 18:06:47 -0700984// Deprecated: Use MessageSet.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800985func (*MessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700986 return file_pb2_test_proto_rawDescGZIP(), []int{11}
Herbie Ong8170d692019-02-13 14:13:21 -0800987}
988
Joe Tsai4fddeba2019-03-20 18:29:32 -0700989var extRange_MessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800990 {Start: 4, End: 2147483646},
991}
992
Joe Tsai43761bd2019-07-17 18:06:47 -0700993// Deprecated: Use MessageSet.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700994func (*MessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -0800995 return extRange_MessageSet
996}
997
Herbie Ong8170d692019-02-13 14:13:21 -0800998type MessageSetExtension struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700999 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001000 sizeCache protoimpl.SizeCache
1001 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001002
1003 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001004}
1005
Joe Tsai61968ce2019-04-01 12:59:24 -07001006func (x *MessageSetExtension) Reset() {
1007 *x = MessageSetExtension{}
Herbie Ong8170d692019-02-13 14:13:21 -08001008}
Joe Tsai61968ce2019-04-01 12:59:24 -07001009
1010func (x *MessageSetExtension) String() string {
1011 return protoimpl.X.MessageStringOf(x)
1012}
1013
1014func (*MessageSetExtension) ProtoMessage() {}
1015
1016func (x *MessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001017 mi := &file_pb2_test_proto_msgTypes[12]
1018 if protoimpl.UnsafeEnabled && x != nil {
1019 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1020 if ms.LoadMessageInfo() == nil {
1021 ms.StoreMessageInfo(mi)
1022 }
1023 return ms
1024 }
1025 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001026}
Joe Tsai8e506a82019-03-16 00:05:34 -07001027
Joe Tsai43761bd2019-07-17 18:06:47 -07001028// Deprecated: Use MessageSetExtension.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001029func (*MessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001030 return file_pb2_test_proto_rawDescGZIP(), []int{12}
Herbie Ong8170d692019-02-13 14:13:21 -08001031}
1032
Joe Tsai61968ce2019-04-01 12:59:24 -07001033func (x *MessageSetExtension) GetOptString() string {
1034 if x != nil && x.OptString != nil {
1035 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001036 }
1037 return ""
1038}
1039
1040type FakeMessageSet struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001041 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001042 sizeCache protoimpl.SizeCache
1043 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001044 extensionFields protoimpl.ExtensionFields
Herbie Ong8170d692019-02-13 14:13:21 -08001045}
1046
Joe Tsai61968ce2019-04-01 12:59:24 -07001047func (x *FakeMessageSet) Reset() {
1048 *x = FakeMessageSet{}
Herbie Ong8170d692019-02-13 14:13:21 -08001049}
Joe Tsai61968ce2019-04-01 12:59:24 -07001050
1051func (x *FakeMessageSet) String() string {
1052 return protoimpl.X.MessageStringOf(x)
1053}
1054
1055func (*FakeMessageSet) ProtoMessage() {}
1056
1057func (x *FakeMessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001058 mi := &file_pb2_test_proto_msgTypes[13]
1059 if protoimpl.UnsafeEnabled && x != nil {
1060 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1061 if ms.LoadMessageInfo() == nil {
1062 ms.StoreMessageInfo(mi)
1063 }
1064 return ms
1065 }
1066 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001067}
Joe Tsai8e506a82019-03-16 00:05:34 -07001068
Joe Tsai43761bd2019-07-17 18:06:47 -07001069// Deprecated: Use FakeMessageSet.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001070func (*FakeMessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001071 return file_pb2_test_proto_rawDescGZIP(), []int{13}
Herbie Ong8170d692019-02-13 14:13:21 -08001072}
1073
Joe Tsai4fddeba2019-03-20 18:29:32 -07001074var extRange_FakeMessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -08001075 {Start: 4, End: 536870911},
1076}
1077
Joe Tsai43761bd2019-07-17 18:06:47 -07001078// Deprecated: Use FakeMessageSet.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -07001079func (*FakeMessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -08001080 return extRange_FakeMessageSet
1081}
1082
Herbie Ong8170d692019-02-13 14:13:21 -08001083type FakeMessageSetExtension struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001084 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001085 sizeCache protoimpl.SizeCache
1086 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001087
1088 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001089}
1090
Joe Tsai61968ce2019-04-01 12:59:24 -07001091func (x *FakeMessageSetExtension) Reset() {
1092 *x = FakeMessageSetExtension{}
Herbie Ong8170d692019-02-13 14:13:21 -08001093}
Joe Tsai61968ce2019-04-01 12:59:24 -07001094
1095func (x *FakeMessageSetExtension) String() string {
1096 return protoimpl.X.MessageStringOf(x)
1097}
1098
1099func (*FakeMessageSetExtension) ProtoMessage() {}
1100
1101func (x *FakeMessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001102 mi := &file_pb2_test_proto_msgTypes[14]
1103 if protoimpl.UnsafeEnabled && x != nil {
1104 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1105 if ms.LoadMessageInfo() == nil {
1106 ms.StoreMessageInfo(mi)
1107 }
1108 return ms
1109 }
1110 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001111}
Joe Tsai8e506a82019-03-16 00:05:34 -07001112
Joe Tsai43761bd2019-07-17 18:06:47 -07001113// Deprecated: Use FakeMessageSetExtension.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001114func (*FakeMessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001115 return file_pb2_test_proto_rawDescGZIP(), []int{14}
Herbie Ong8170d692019-02-13 14:13:21 -08001116}
1117
Joe Tsai61968ce2019-04-01 12:59:24 -07001118func (x *FakeMessageSetExtension) GetOptString() string {
1119 if x != nil && x.OptString != nil {
1120 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001121 }
1122 return ""
1123}
1124
1125// Message contains well-known type fields.
1126type KnownTypes struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001127 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -07001128 sizeCache protoimpl.SizeCache
1129 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001130
1131 OptBool *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
1132 OptInt32 *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
1133 OptInt64 *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
1134 OptUint32 *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
1135 OptUint64 *wrapperspb.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
1136 OptFloat *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
1137 OptDouble *wrapperspb.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
1138 OptString *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1139 OptBytes *wrapperspb.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
1140 OptDuration *durationpb.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"`
1141 OptTimestamp *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"`
1142 OptStruct *structpb.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"`
1143 OptList *structpb.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"`
1144 OptValue *structpb.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"`
1145 OptNull *structpb.NullValue `protobuf:"varint,28,opt,name=opt_null,json=optNull,enum=google.protobuf.NullValue" json:"opt_null,omitempty"`
1146 OptEmpty *emptypb.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"`
1147 OptAny *anypb.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
1148 OptFieldmask *fieldmaskpb.FieldMask `protobuf:"bytes,40,opt,name=opt_fieldmask,json=optFieldmask" json:"opt_fieldmask,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001149}
1150
Joe Tsai61968ce2019-04-01 12:59:24 -07001151func (x *KnownTypes) Reset() {
1152 *x = KnownTypes{}
Herbie Ong8170d692019-02-13 14:13:21 -08001153}
Joe Tsai61968ce2019-04-01 12:59:24 -07001154
1155func (x *KnownTypes) String() string {
1156 return protoimpl.X.MessageStringOf(x)
1157}
1158
1159func (*KnownTypes) ProtoMessage() {}
1160
1161func (x *KnownTypes) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001162 mi := &file_pb2_test_proto_msgTypes[15]
1163 if protoimpl.UnsafeEnabled && x != nil {
1164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1165 if ms.LoadMessageInfo() == nil {
1166 ms.StoreMessageInfo(mi)
1167 }
1168 return ms
1169 }
1170 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001171}
Joe Tsai8e506a82019-03-16 00:05:34 -07001172
Joe Tsai43761bd2019-07-17 18:06:47 -07001173// Deprecated: Use KnownTypes.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001174func (*KnownTypes) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001175 return file_pb2_test_proto_rawDescGZIP(), []int{15}
Herbie Ong8170d692019-02-13 14:13:21 -08001176}
1177
Joe Tsaia95b29f2019-05-16 12:47:20 -07001178func (x *KnownTypes) GetOptBool() *wrapperspb.BoolValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001179 if x != nil {
1180 return x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -08001181 }
1182 return nil
1183}
1184
Joe Tsaia95b29f2019-05-16 12:47:20 -07001185func (x *KnownTypes) GetOptInt32() *wrapperspb.Int32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001186 if x != nil {
1187 return x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -08001188 }
1189 return nil
1190}
1191
Joe Tsaia95b29f2019-05-16 12:47:20 -07001192func (x *KnownTypes) GetOptInt64() *wrapperspb.Int64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001193 if x != nil {
1194 return x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -08001195 }
1196 return nil
1197}
1198
Joe Tsaia95b29f2019-05-16 12:47:20 -07001199func (x *KnownTypes) GetOptUint32() *wrapperspb.UInt32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001200 if x != nil {
1201 return x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -08001202 }
1203 return nil
1204}
1205
Joe Tsaia95b29f2019-05-16 12:47:20 -07001206func (x *KnownTypes) GetOptUint64() *wrapperspb.UInt64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001207 if x != nil {
1208 return x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -08001209 }
1210 return nil
1211}
1212
Joe Tsaia95b29f2019-05-16 12:47:20 -07001213func (x *KnownTypes) GetOptFloat() *wrapperspb.FloatValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001214 if x != nil {
1215 return x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -08001216 }
1217 return nil
1218}
1219
Joe Tsaia95b29f2019-05-16 12:47:20 -07001220func (x *KnownTypes) GetOptDouble() *wrapperspb.DoubleValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001221 if x != nil {
1222 return x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -08001223 }
1224 return nil
1225}
1226
Joe Tsaia95b29f2019-05-16 12:47:20 -07001227func (x *KnownTypes) GetOptString() *wrapperspb.StringValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001228 if x != nil {
1229 return x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001230 }
1231 return nil
1232}
1233
Joe Tsaia95b29f2019-05-16 12:47:20 -07001234func (x *KnownTypes) GetOptBytes() *wrapperspb.BytesValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001235 if x != nil {
1236 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -08001237 }
1238 return nil
1239}
1240
Joe Tsaia95b29f2019-05-16 12:47:20 -07001241func (x *KnownTypes) GetOptDuration() *durationpb.Duration {
Joe Tsai61968ce2019-04-01 12:59:24 -07001242 if x != nil {
1243 return x.OptDuration
Herbie Ong8170d692019-02-13 14:13:21 -08001244 }
1245 return nil
1246}
1247
Joe Tsaia95b29f2019-05-16 12:47:20 -07001248func (x *KnownTypes) GetOptTimestamp() *timestamppb.Timestamp {
Joe Tsai61968ce2019-04-01 12:59:24 -07001249 if x != nil {
1250 return x.OptTimestamp
Herbie Ong8170d692019-02-13 14:13:21 -08001251 }
1252 return nil
1253}
1254
Joe Tsaia95b29f2019-05-16 12:47:20 -07001255func (x *KnownTypes) GetOptStruct() *structpb.Struct {
Joe Tsai61968ce2019-04-01 12:59:24 -07001256 if x != nil {
1257 return x.OptStruct
Herbie Ong8170d692019-02-13 14:13:21 -08001258 }
1259 return nil
1260}
1261
Joe Tsaia95b29f2019-05-16 12:47:20 -07001262func (x *KnownTypes) GetOptList() *structpb.ListValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001263 if x != nil {
1264 return x.OptList
Herbie Ong8170d692019-02-13 14:13:21 -08001265 }
1266 return nil
1267}
1268
Joe Tsaia95b29f2019-05-16 12:47:20 -07001269func (x *KnownTypes) GetOptValue() *structpb.Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001270 if x != nil {
1271 return x.OptValue
Herbie Ong8170d692019-02-13 14:13:21 -08001272 }
1273 return nil
1274}
1275
Joe Tsaia95b29f2019-05-16 12:47:20 -07001276func (x *KnownTypes) GetOptNull() structpb.NullValue {
Herbie Ong300b9fe2019-03-29 15:42:20 -07001277 if x != nil && x.OptNull != nil {
1278 return *x.OptNull
1279 }
Joe Tsaia95b29f2019-05-16 12:47:20 -07001280 return structpb.NullValue_NULL_VALUE
Herbie Ong300b9fe2019-03-29 15:42:20 -07001281}
1282
Joe Tsaia95b29f2019-05-16 12:47:20 -07001283func (x *KnownTypes) GetOptEmpty() *emptypb.Empty {
Joe Tsai61968ce2019-04-01 12:59:24 -07001284 if x != nil {
1285 return x.OptEmpty
Herbie Ong8170d692019-02-13 14:13:21 -08001286 }
1287 return nil
1288}
1289
Joe Tsaia95b29f2019-05-16 12:47:20 -07001290func (x *KnownTypes) GetOptAny() *anypb.Any {
Joe Tsai61968ce2019-04-01 12:59:24 -07001291 if x != nil {
1292 return x.OptAny
Herbie Ong8170d692019-02-13 14:13:21 -08001293 }
1294 return nil
1295}
1296
Joe Tsaia95b29f2019-05-16 12:47:20 -07001297func (x *KnownTypes) GetOptFieldmask() *fieldmaskpb.FieldMask {
Joe Tsai61968ce2019-04-01 12:59:24 -07001298 if x != nil {
1299 return x.OptFieldmask
Herbie Ong0b0f4032019-03-18 19:06:15 -07001300 }
1301 return nil
1302}
1303
Herbie Ong8170d692019-02-13 14:13:21 -08001304type Nests_OptGroup struct {
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001305 state protoimpl.MessageState
1306 sizeCache protoimpl.SizeCache
1307 unknownFields protoimpl.UnknownFields
1308
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001309 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1310 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
1311 Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,3,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001312}
1313
Joe Tsai61968ce2019-04-01 12:59:24 -07001314func (x *Nests_OptGroup) Reset() {
1315 *x = Nests_OptGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001316}
Joe Tsai61968ce2019-04-01 12:59:24 -07001317
1318func (x *Nests_OptGroup) String() string {
1319 return protoimpl.X.MessageStringOf(x)
1320}
1321
1322func (*Nests_OptGroup) ProtoMessage() {}
1323
1324func (x *Nests_OptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001325 mi := &file_pb2_test_proto_msgTypes[16]
1326 if protoimpl.UnsafeEnabled && x != nil {
1327 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1328 if ms.LoadMessageInfo() == nil {
1329 ms.StoreMessageInfo(mi)
1330 }
1331 return ms
1332 }
1333 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001334}
Joe Tsai8e506a82019-03-16 00:05:34 -07001335
Joe Tsai43761bd2019-07-17 18:06:47 -07001336// Deprecated: Use Nests_OptGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001337func (*Nests_OptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001338 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001339}
1340
Joe Tsai61968ce2019-04-01 12:59:24 -07001341func (x *Nests_OptGroup) GetOptString() string {
1342 if x != nil && x.OptString != nil {
1343 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001344 }
1345 return ""
1346}
1347
Joe Tsai61968ce2019-04-01 12:59:24 -07001348func (x *Nests_OptGroup) GetOptNested() *Nested {
1349 if x != nil {
1350 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -08001351 }
1352 return nil
1353}
1354
Joe Tsai61968ce2019-04-01 12:59:24 -07001355func (x *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup {
1356 if x != nil {
1357 return x.Optnestedgroup
Herbie Ong8170d692019-02-13 14:13:21 -08001358 }
1359 return nil
1360}
1361
1362type Nests_RptGroup struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001363 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001364 sizeCache protoimpl.SizeCache
1365 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001366
1367 RptString []string `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001368}
1369
Joe Tsai61968ce2019-04-01 12:59:24 -07001370func (x *Nests_RptGroup) Reset() {
1371 *x = Nests_RptGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001372}
Joe Tsai61968ce2019-04-01 12:59:24 -07001373
1374func (x *Nests_RptGroup) String() string {
1375 return protoimpl.X.MessageStringOf(x)
1376}
1377
1378func (*Nests_RptGroup) ProtoMessage() {}
1379
1380func (x *Nests_RptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001381 mi := &file_pb2_test_proto_msgTypes[17]
1382 if protoimpl.UnsafeEnabled && x != nil {
1383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1384 if ms.LoadMessageInfo() == nil {
1385 ms.StoreMessageInfo(mi)
1386 }
1387 return ms
1388 }
1389 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001390}
Joe Tsai8e506a82019-03-16 00:05:34 -07001391
Joe Tsai43761bd2019-07-17 18:06:47 -07001392// Deprecated: Use Nests_RptGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001393func (*Nests_RptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001394 return file_pb2_test_proto_rawDescGZIP(), []int{4, 1}
Herbie Ong8170d692019-02-13 14:13:21 -08001395}
1396
Joe Tsai61968ce2019-04-01 12:59:24 -07001397func (x *Nests_RptGroup) GetRptString() []string {
1398 if x != nil {
1399 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -08001400 }
1401 return nil
1402}
1403
1404type Nests_OptGroup_OptNestedGroup struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001405 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001406 sizeCache protoimpl.SizeCache
1407 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001408
1409 OptFixed32 *uint32 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001410}
1411
Joe Tsai61968ce2019-04-01 12:59:24 -07001412func (x *Nests_OptGroup_OptNestedGroup) Reset() {
1413 *x = Nests_OptGroup_OptNestedGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001414}
Joe Tsai61968ce2019-04-01 12:59:24 -07001415
1416func (x *Nests_OptGroup_OptNestedGroup) String() string {
1417 return protoimpl.X.MessageStringOf(x)
1418}
1419
1420func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {}
1421
1422func (x *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001423 mi := &file_pb2_test_proto_msgTypes[18]
1424 if protoimpl.UnsafeEnabled && x != nil {
1425 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1426 if ms.LoadMessageInfo() == nil {
1427 ms.StoreMessageInfo(mi)
1428 }
1429 return ms
1430 }
1431 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001432}
Joe Tsai8e506a82019-03-16 00:05:34 -07001433
Joe Tsai43761bd2019-07-17 18:06:47 -07001434// Deprecated: Use Nests_OptGroup_OptNestedGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001435func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001436 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001437}
1438
Joe Tsai61968ce2019-04-01 12:59:24 -07001439func (x *Nests_OptGroup_OptNestedGroup) GetOptFixed32() uint32 {
1440 if x != nil && x.OptFixed32 != nil {
1441 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -08001442 }
1443 return 0
1444}
1445
Joe Tsai7ca70982019-04-15 13:57:56 -07001446var file_pb2_test_proto_extDescs = []protoiface.ExtensionDescV1{
Joe Tsaiafb455e2019-03-14 16:08:22 -07001447 {
1448 ExtendedType: (*Extensions)(nil),
1449 ExtensionType: (*bool)(nil),
1450 Field: 21,
1451 Name: "pb2.opt_ext_bool",
1452 Tag: "varint,21,opt,name=opt_ext_bool",
1453 Filename: "pb2/test.proto",
1454 },
1455 {
1456 ExtendedType: (*Extensions)(nil),
1457 ExtensionType: (*string)(nil),
1458 Field: 22,
1459 Name: "pb2.opt_ext_string",
1460 Tag: "bytes,22,opt,name=opt_ext_string",
1461 Filename: "pb2/test.proto",
1462 },
1463 {
1464 ExtendedType: (*Extensions)(nil),
1465 ExtensionType: (*Enum)(nil),
1466 Field: 23,
1467 Name: "pb2.opt_ext_enum",
1468 Tag: "varint,23,opt,name=opt_ext_enum,enum=pb2.Enum",
1469 Filename: "pb2/test.proto",
1470 },
1471 {
1472 ExtendedType: (*Extensions)(nil),
1473 ExtensionType: (*Nested)(nil),
1474 Field: 24,
1475 Name: "pb2.opt_ext_nested",
1476 Tag: "bytes,24,opt,name=opt_ext_nested",
1477 Filename: "pb2/test.proto",
1478 },
1479 {
1480 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001481 ExtensionType: (*PartialRequired)(nil),
1482 Field: 25,
1483 Name: "pb2.opt_ext_partial",
1484 Tag: "bytes,25,opt,name=opt_ext_partial",
1485 Filename: "pb2/test.proto",
1486 },
1487 {
1488 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001489 ExtensionType: ([]uint32)(nil),
1490 Field: 31,
1491 Name: "pb2.rpt_ext_fixed32",
1492 Tag: "fixed32,31,rep,name=rpt_ext_fixed32",
1493 Filename: "pb2/test.proto",
1494 },
1495 {
1496 ExtendedType: (*Extensions)(nil),
1497 ExtensionType: ([]Enum)(nil),
1498 Field: 32,
1499 Name: "pb2.rpt_ext_enum",
1500 Tag: "varint,32,rep,name=rpt_ext_enum,enum=pb2.Enum",
1501 Filename: "pb2/test.proto",
1502 },
1503 {
1504 ExtendedType: (*Extensions)(nil),
1505 ExtensionType: ([]*Nested)(nil),
1506 Field: 33,
1507 Name: "pb2.rpt_ext_nested",
1508 Tag: "bytes,33,rep,name=rpt_ext_nested",
1509 Filename: "pb2/test.proto",
1510 },
1511 {
1512 ExtendedType: (*MessageSet)(nil),
1513 ExtensionType: (*FakeMessageSetExtension)(nil),
1514 Field: 50,
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001515 Name: "pb2.message_set_extension",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001516 Tag: "bytes,50,opt,name=message_set_extension",
1517 Filename: "pb2/test.proto",
1518 },
1519 {
1520 ExtendedType: (*Extensions)(nil),
1521 ExtensionType: (*bool)(nil),
1522 Field: 51,
1523 Name: "pb2.ExtensionsContainer.opt_ext_bool",
1524 Tag: "varint,51,opt,name=opt_ext_bool",
1525 Filename: "pb2/test.proto",
1526 },
1527 {
1528 ExtendedType: (*Extensions)(nil),
1529 ExtensionType: (*string)(nil),
1530 Field: 52,
1531 Name: "pb2.ExtensionsContainer.opt_ext_string",
1532 Tag: "bytes,52,opt,name=opt_ext_string",
1533 Filename: "pb2/test.proto",
1534 },
1535 {
1536 ExtendedType: (*Extensions)(nil),
1537 ExtensionType: (*Enum)(nil),
1538 Field: 53,
1539 Name: "pb2.ExtensionsContainer.opt_ext_enum",
1540 Tag: "varint,53,opt,name=opt_ext_enum,enum=pb2.Enum",
1541 Filename: "pb2/test.proto",
1542 },
1543 {
1544 ExtendedType: (*Extensions)(nil),
1545 ExtensionType: (*Nested)(nil),
1546 Field: 54,
1547 Name: "pb2.ExtensionsContainer.opt_ext_nested",
1548 Tag: "bytes,54,opt,name=opt_ext_nested",
1549 Filename: "pb2/test.proto",
1550 },
1551 {
1552 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001553 ExtensionType: (*PartialRequired)(nil),
1554 Field: 55,
1555 Name: "pb2.ExtensionsContainer.opt_ext_partial",
1556 Tag: "bytes,55,opt,name=opt_ext_partial",
1557 Filename: "pb2/test.proto",
1558 },
1559 {
1560 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001561 ExtensionType: ([]string)(nil),
1562 Field: 61,
1563 Name: "pb2.ExtensionsContainer.rpt_ext_string",
1564 Tag: "bytes,61,rep,name=rpt_ext_string",
1565 Filename: "pb2/test.proto",
1566 },
1567 {
1568 ExtendedType: (*Extensions)(nil),
1569 ExtensionType: ([]Enum)(nil),
1570 Field: 62,
1571 Name: "pb2.ExtensionsContainer.rpt_ext_enum",
1572 Tag: "varint,62,rep,name=rpt_ext_enum,enum=pb2.Enum",
1573 Filename: "pb2/test.proto",
1574 },
1575 {
1576 ExtendedType: (*Extensions)(nil),
1577 ExtensionType: ([]*Nested)(nil),
1578 Field: 63,
1579 Name: "pb2.ExtensionsContainer.rpt_ext_nested",
1580 Tag: "bytes,63,rep,name=rpt_ext_nested",
1581 Filename: "pb2/test.proto",
1582 },
1583 {
1584 ExtendedType: (*MessageSet)(nil),
1585 ExtensionType: (*MessageSetExtension)(nil),
1586 Field: 10,
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001587 Name: "pb2.MessageSetExtension.message_set_extension",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001588 Tag: "bytes,10,opt,name=message_set_extension",
1589 Filename: "pb2/test.proto",
1590 },
1591 {
1592 ExtendedType: (*MessageSet)(nil),
1593 ExtensionType: (*MessageSetExtension)(nil),
1594 Field: 20,
1595 Name: "pb2.MessageSetExtension.not_message_set_extension",
1596 Tag: "bytes,20,opt,name=not_message_set_extension",
1597 Filename: "pb2/test.proto",
1598 },
1599 {
1600 ExtendedType: (*MessageSet)(nil),
1601 ExtensionType: (*Nested)(nil),
1602 Field: 30,
1603 Name: "pb2.MessageSetExtension.ext_nested",
1604 Tag: "bytes,30,opt,name=ext_nested",
1605 Filename: "pb2/test.proto",
1606 },
1607 {
1608 ExtendedType: (*FakeMessageSet)(nil),
1609 ExtensionType: (*FakeMessageSetExtension)(nil),
1610 Field: 10,
1611 Name: "pb2.FakeMessageSetExtension.message_set_extension",
1612 Tag: "bytes,10,opt,name=message_set_extension",
1613 Filename: "pb2/test.proto",
1614 },
Herbie Ong8170d692019-02-13 14:13:21 -08001615}
Joe Tsai4a7d6332019-08-06 16:45:11 -07001616
1617// Extension fields to Extensions.
Joe Tsaiafb455e2019-03-14 16:08:22 -07001618var (
Joe Tsai4a7d6332019-08-06 16:45:11 -07001619 // optional bool opt_ext_bool = 21;
Joe Tsai7ca70982019-04-15 13:57:56 -07001620 E_OptExtBool = &file_pb2_test_proto_extDescs[0]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001621 // optional string opt_ext_string = 22;
Joe Tsai7ca70982019-04-15 13:57:56 -07001622 E_OptExtString = &file_pb2_test_proto_extDescs[1]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001623 // optional pb2.Enum opt_ext_enum = 23;
Joe Tsai7ca70982019-04-15 13:57:56 -07001624 E_OptExtEnum = &file_pb2_test_proto_extDescs[2]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001625 // optional pb2.Nested opt_ext_nested = 24;
Joe Tsai7ca70982019-04-15 13:57:56 -07001626 E_OptExtNested = &file_pb2_test_proto_extDescs[3]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001627 // optional pb2.PartialRequired opt_ext_partial = 25;
Joe Tsai7ca70982019-04-15 13:57:56 -07001628 E_OptExtPartial = &file_pb2_test_proto_extDescs[4]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001629 // repeated fixed32 rpt_ext_fixed32 = 31;
Joe Tsai7ca70982019-04-15 13:57:56 -07001630 E_RptExtFixed32 = &file_pb2_test_proto_extDescs[5]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001631 // repeated pb2.Enum rpt_ext_enum = 32;
Joe Tsai7ca70982019-04-15 13:57:56 -07001632 E_RptExtEnum = &file_pb2_test_proto_extDescs[6]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001633 // repeated pb2.Nested rpt_ext_nested = 33;
Joe Tsai7ca70982019-04-15 13:57:56 -07001634 E_RptExtNested = &file_pb2_test_proto_extDescs[7]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001635 // optional bool opt_ext_bool = 51;
Joe Tsai7ca70982019-04-15 13:57:56 -07001636 E_ExtensionsContainer_OptExtBool = &file_pb2_test_proto_extDescs[9]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001637 // optional string opt_ext_string = 52;
Joe Tsai7ca70982019-04-15 13:57:56 -07001638 E_ExtensionsContainer_OptExtString = &file_pb2_test_proto_extDescs[10]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001639 // optional pb2.Enum opt_ext_enum = 53;
Joe Tsai7ca70982019-04-15 13:57:56 -07001640 E_ExtensionsContainer_OptExtEnum = &file_pb2_test_proto_extDescs[11]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001641 // optional pb2.Nested opt_ext_nested = 54;
Joe Tsai7ca70982019-04-15 13:57:56 -07001642 E_ExtensionsContainer_OptExtNested = &file_pb2_test_proto_extDescs[12]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001643 // optional pb2.PartialRequired opt_ext_partial = 55;
Joe Tsai7ca70982019-04-15 13:57:56 -07001644 E_ExtensionsContainer_OptExtPartial = &file_pb2_test_proto_extDescs[13]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001645 // repeated string rpt_ext_string = 61;
Joe Tsai7ca70982019-04-15 13:57:56 -07001646 E_ExtensionsContainer_RptExtString = &file_pb2_test_proto_extDescs[14]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001647 // repeated pb2.Enum rpt_ext_enum = 62;
Joe Tsai7ca70982019-04-15 13:57:56 -07001648 E_ExtensionsContainer_RptExtEnum = &file_pb2_test_proto_extDescs[15]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001649 // repeated pb2.Nested rpt_ext_nested = 63;
Joe Tsai7ca70982019-04-15 13:57:56 -07001650 E_ExtensionsContainer_RptExtNested = &file_pb2_test_proto_extDescs[16]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001651)
Herbie Ong8170d692019-02-13 14:13:21 -08001652
Joe Tsai4a7d6332019-08-06 16:45:11 -07001653// Extension fields to MessageSet.
1654var (
1655 // optional pb2.FakeMessageSetExtension message_set_extension = 50;
1656 E_MessageSetExtension = &file_pb2_test_proto_extDescs[8]
1657 // optional pb2.MessageSetExtension message_set_extension = 10;
Joe Tsai7ca70982019-04-15 13:57:56 -07001658 E_MessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[17]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001659 // optional pb2.MessageSetExtension not_message_set_extension = 20;
Joe Tsai7ca70982019-04-15 13:57:56 -07001660 E_MessageSetExtension_NotMessageSetExtension = &file_pb2_test_proto_extDescs[18]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001661 // optional pb2.Nested ext_nested = 30;
Joe Tsai7ca70982019-04-15 13:57:56 -07001662 E_MessageSetExtension_ExtNested = &file_pb2_test_proto_extDescs[19]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001663)
Herbie Ong8170d692019-02-13 14:13:21 -08001664
Joe Tsai4a7d6332019-08-06 16:45:11 -07001665// Extension fields to FakeMessageSet.
1666var (
1667 // optional pb2.FakeMessageSetExtension message_set_extension = 10;
Joe Tsai7ca70982019-04-15 13:57:56 -07001668 E_FakeMessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[20]
Joe Tsaiafb455e2019-03-14 16:08:22 -07001669)
Joe Tsai4a7d6332019-08-06 16:45:11 -07001670
Joe Tsai5d72cc22019-03-28 01:13:26 -07001671var File_pb2_test_proto protoreflect.FileDescriptor
1672
Joe Tsai7ca70982019-04-15 13:57:56 -07001673var file_pb2_test_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -08001674 0x0a, 0x0e, 0x70, 0x62, 0x32, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1675 0x12, 0x03, 0x70, 0x62, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
1676 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1677 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001678 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67,
1679 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66,
1680 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1681 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1682 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1683 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1684 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
1685 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
1686 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e,
1687 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
1688 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda,
1689 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70,
1690 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x70,
1691 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74,
1692 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1693 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
1694 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12,
1695 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20,
1696 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d,
Joe Tsai19058432019-02-27 21:46:29 -08001697 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001698 0x28, 0x04, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a,
1699 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28,
1700 0x11, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a,
1701 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12,
1702 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1f, 0x0a, 0x0b, 0x6f,
1703 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07,
1704 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1f, 0x0a, 0x0b,
1705 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28,
1706 0x06, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x21, 0x0a,
1707 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20,
1708 0x01, 0x28, 0x0f, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1709 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
1710 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65,
1711 0x64, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74,
1712 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74,
1713 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15,
1714 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12,
1715 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01,
1716 0x28, 0x0c, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1717 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09,
1718 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xfb, 0x01, 0x0a, 0x05,
1719 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x24, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75,
1720 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1721 0x75, 0x6d, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x08, 0x72,
1722 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1723 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x70, 0x74, 0x45, 0x6e, 0x75,
1724 0x6d, 0x12, 0x3d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f,
1725 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32,
1726 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75,
1727 0x6d, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1728 0x12, 0x3d, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65,
1729 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1730 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1731 0x52, 0x0d, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22,
1732 0x28, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a,
1733 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12,
1734 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x94, 0x02, 0x0a, 0x07, 0x52, 0x65,
1735 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1736 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x07, 0x72, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c,
1737 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20,
1738 0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1b, 0x0a,
1739 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03,
1740 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70,
1741 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09,
1742 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74,
1743 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72,
1744 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f,
1745 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x02, 0x52, 0x08, 0x72, 0x70, 0x74,
1746 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75,
1747 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x72, 0x70, 0x74, 0x44, 0x6f,
1748 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69,
1749 0x6e, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72,
1750 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73,
1751 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73,
1752 0x22, 0x53, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70,
1753 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
1754 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1755 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1756 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e,
1757 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0xd3, 0x03, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12,
1758 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20,
1759 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1760 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x6f,
1761 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x13, 0x2e,
1762 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f,
1763 0x75, 0x70, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x0a,
1764 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
1765 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72,
1766 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x67,
1767 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x32,
1768 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
1769 0x08, 0x72, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0xd4, 0x01, 0x0a, 0x08, 0x4f, 0x70,
1770 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74,
1771 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53,
1772 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1773 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1774 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65,
1775 0x64, 0x12, 0x4a, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72,
1776 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x22, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1777 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4f,
1778 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0e, 0x6f,
1779 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x31, 0x0a,
1780 0x0e, 0x4f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
1781 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x01,
1782 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1783 0x1a, 0x29, 0x0a, 0x08, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a,
1784 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
1785 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x72, 0x65, 0x73,
1786 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0xd9, 0x01, 0x0a, 0x09,
1787 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x71,
1788 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x71,
1789 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x66, 0x69, 0x78,
1790 0x65, 0x64, 0x36, 0x34, 0x18, 0x02, 0x20, 0x02, 0x28, 0x10, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x53,
1791 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x64,
1792 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71,
1793 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74,
1794 0x72, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53,
1795 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x5f, 0x65, 0x6e, 0x75,
1796 0x6d, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1797 0x75, 0x6d, 0x52, 0x07, 0x72, 0x65, 0x71, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x0a, 0x72,
1798 0x65, 0x71, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0b, 0x32,
1799 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72, 0x65,
1800 0x71, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4f, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x69,
1801 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65,
1802 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09,
1803 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1804 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1805 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x33, 0x0a, 0x12, 0x4e, 0x65, 0x73, 0x74,
1806 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d,
1807 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02,
1808 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xee, 0x02,
1809 0x0a, 0x10, 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
1810 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1811 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73,
1812 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52,
1813 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x72, 0x70,
1814 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17,
1815 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52,
1816 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74,
1817 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73,
1818 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1819 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
1820 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72,
1821 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3c,
1822 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04,
1823 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
1824 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x48, 0x00, 0x52,
1825 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x1a, 0x57, 0x0a, 0x10,
1826 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79,
1827 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
1828 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
1829 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69,
1830 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
1831 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0x69,
1832 0x0a, 0x0a, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1833 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1834 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x6f,
1835 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x65, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f,
1836 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e,
1837 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e,
Herbie Ong09b28a92019-04-03 15:42:41 -07001838 0x74, 0x33, 0x32, 0x2a, 0x04, 0x08, 0x14, 0x10, 0x65, 0x22, 0x89, 0x04, 0x0a, 0x13, 0x45, 0x78,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001839 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
1840 0x72, 0x32, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1841 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1842 0x6e, 0x73, 0x18, 0x33, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1843 0x42, 0x6f, 0x6f, 0x6c, 0x32, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1844 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1845 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x34, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f,
1846 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x6f,
1847 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1848 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x35, 0x20, 0x01,
1849 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f,
1850 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74,
1851 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1852 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x36, 0x20, 0x01,
1853 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
Herbie Ong09b28a92019-04-03 15:42:41 -07001854 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x32, 0x4d, 0x0a,
1855 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1856 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1857 0x73, 0x18, 0x37, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61,
1858 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f,
1859 0x70, 0x74, 0x45, 0x78, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x32, 0x35, 0x0a, 0x0e,
1860 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f,
1861 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
1862 0x3d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72,
1863 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65,
1864 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1865 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32,
1866 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75,
1867 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1868 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1869 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32,
1870 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e,
1871 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
1872 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07, 0x3a, 0x02, 0x08,
1873 0x01, 0x22, 0xb6, 0x02, 0x0a, 0x13, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74,
1874 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1875 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1876 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x5d, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73,
1877 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1878 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
1879 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d,
Herbie Ong300b9fe2019-03-29 15:42:20 -07001880 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1881 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78,
Herbie Ong09b28a92019-04-03 15:42:41 -07001882 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x64, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x5f, 0x6d,
1883 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
1884 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
1885 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62,
1886 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
1887 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x6e, 0x6f, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
1888 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x3b, 0x0a,
1889 0x0a, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1890 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x1e, 0x20, 0x01,
1891 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
1892 0x09, 0x65, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0e, 0x46, 0x61,
1893 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04,
1894 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9f, 0x01, 0x0a, 0x17, 0x46, 0x61, 0x6b, 0x65, 0x4d,
1895 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1896 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
1897 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e,
1898 0x67, 0x32, 0x65, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74,
1899 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x32,
1900 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18,
1901 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65,
1902 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1903 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45,
1904 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x9e, 0x08, 0x0a, 0x0a, 0x4b, 0x6e, 0x6f,
1905 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62,
1906 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1907 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c,
1908 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x38,
1909 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28,
1910 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1911 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08,
1912 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1913 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
1914 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e,
1915 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1916 0x36, 0x34, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32,
1917 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1918 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
1919 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
1920 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20,
1921 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1922 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75,
1923 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x38, 0x0a, 0x09,
1924 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
1925 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1926 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70,
1927 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f,
1928 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
1929 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75,
1930 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75,
1931 0x62, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1932 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1933 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1934 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1935 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20,
1936 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1937 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65,
1938 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x70,
1939 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b,
1940 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1941 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6f, 0x70, 0x74,
1942 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
1943 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
1944 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1945 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6f, 0x70, 0x74,
1946 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1947 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
1948 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
1949 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63,
1950 0x74, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x1a, 0x20,
1951 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1952 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
1953 0x07, 0x6f, 0x70, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1954 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f,
1955 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61,
1956 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x35, 0x0a,
1957 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0e, 0x32,
1958 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1959 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74,
1960 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x74,
1961 0x79, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1962 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52,
1963 0x08, 0x6f, 0x70, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x6f, 0x70, 0x74,
1964 0x5f, 0x61, 0x6e, 0x79, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
1965 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
1966 0x52, 0x06, 0x6f, 0x70, 0x74, 0x41, 0x6e, 0x79, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
1967 0x66, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b, 0x32,
1968 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1969 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x6f, 0x70, 0x74,
1970 0x46, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x2a, 0x21, 0x0a, 0x04, 0x45, 0x6e, 0x75,
1971 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57,
1972 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10, 0x0a, 0x3a, 0x31, 0x0a, 0x0c,
1973 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70,
1974 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15, 0x20,
1975 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x3a,
1976 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1977 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1978 0x6e, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1979 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78,
1980 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1981 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1982 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1983 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1984 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1985 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1986 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45,
1987 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a, 0x4d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f,
1988 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1989 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x19, 0x20, 0x01,
1990 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1991 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1992 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x3a, 0x37, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x65,
1993 0x78, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32,
1994 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28,
1995 0x07, 0x52, 0x0d, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1996 0x3a, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d,
1997 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1998 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1999 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42,
2000 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
2001 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
2002 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65,
2003 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74,
2004 0x65, 0x64, 0x3a, 0x61, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65,
2005 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62,
2006 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x32, 0x20, 0x01,
2007 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73,
2008 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
2009 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
Damien Neile89e6242019-05-13 23:55:40 -07002010 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2011 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
2012 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73,
2013 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x32,
Herbie Ong8170d692019-02-13 14:13:21 -08002014}
2015
Joe Tsai5d72cc22019-03-28 01:13:26 -07002016var (
Joe Tsai7ca70982019-04-15 13:57:56 -07002017 file_pb2_test_proto_rawDescOnce sync.Once
2018 file_pb2_test_proto_rawDescData = file_pb2_test_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -07002019)
Herbie Ong8170d692019-02-13 14:13:21 -08002020
Joe Tsai7ca70982019-04-15 13:57:56 -07002021func file_pb2_test_proto_rawDescGZIP() []byte {
2022 file_pb2_test_proto_rawDescOnce.Do(func() {
2023 file_pb2_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb2_test_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -07002024 })
Joe Tsai7ca70982019-04-15 13:57:56 -07002025 return file_pb2_test_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -07002026}
Herbie Ong8170d692019-02-13 14:13:21 -08002027
Joe Tsaid8881392019-06-06 13:01:53 -07002028var file_pb2_test_proto_enumTypes = make([]prototype.Enum, 2)
Joe Tsai4fe96632019-05-22 05:12:36 -04002029var file_pb2_test_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
Joe Tsai7ca70982019-04-15 13:57:56 -07002030var file_pb2_test_proto_goTypes = []interface{}{
Herbie Ong8170d692019-02-13 14:13:21 -08002031 (Enum)(0), // 0: pb2.Enum
2032 (Enums_NestedEnum)(0), // 1: pb2.Enums.NestedEnum
2033 (*Scalars)(nil), // 2: pb2.Scalars
2034 (*Enums)(nil), // 3: pb2.Enums
2035 (*Repeats)(nil), // 4: pb2.Repeats
2036 (*Nested)(nil), // 5: pb2.Nested
2037 (*Nests)(nil), // 6: pb2.Nests
2038 (*Requireds)(nil), // 7: pb2.Requireds
2039 (*PartialRequired)(nil), // 8: pb2.PartialRequired
2040 (*NestedWithRequired)(nil), // 9: pb2.NestedWithRequired
2041 (*IndirectRequired)(nil), // 10: pb2.IndirectRequired
2042 (*Extensions)(nil), // 11: pb2.Extensions
2043 (*ExtensionsContainer)(nil), // 12: pb2.ExtensionsContainer
2044 (*MessageSet)(nil), // 13: pb2.MessageSet
2045 (*MessageSetExtension)(nil), // 14: pb2.MessageSetExtension
2046 (*FakeMessageSet)(nil), // 15: pb2.FakeMessageSet
2047 (*FakeMessageSetExtension)(nil), // 16: pb2.FakeMessageSetExtension
2048 (*KnownTypes)(nil), // 17: pb2.KnownTypes
2049 (*Nests_OptGroup)(nil), // 18: pb2.Nests.OptGroup
2050 (*Nests_RptGroup)(nil), // 19: pb2.Nests.RptGroup
2051 (*Nests_OptGroup_OptNestedGroup)(nil), // 20: pb2.Nests.OptGroup.OptNestedGroup
2052 nil, // 21: pb2.IndirectRequired.StrToNestedEntry
Joe Tsaia95b29f2019-05-16 12:47:20 -07002053 (*wrapperspb.BoolValue)(nil), // 22: google.protobuf.BoolValue
2054 (*wrapperspb.Int32Value)(nil), // 23: google.protobuf.Int32Value
2055 (*wrapperspb.Int64Value)(nil), // 24: google.protobuf.Int64Value
2056 (*wrapperspb.UInt32Value)(nil), // 25: google.protobuf.UInt32Value
2057 (*wrapperspb.UInt64Value)(nil), // 26: google.protobuf.UInt64Value
2058 (*wrapperspb.FloatValue)(nil), // 27: google.protobuf.FloatValue
2059 (*wrapperspb.DoubleValue)(nil), // 28: google.protobuf.DoubleValue
2060 (*wrapperspb.StringValue)(nil), // 29: google.protobuf.StringValue
2061 (*wrapperspb.BytesValue)(nil), // 30: google.protobuf.BytesValue
2062 (*durationpb.Duration)(nil), // 31: google.protobuf.Duration
2063 (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp
2064 (*structpb.Struct)(nil), // 33: google.protobuf.Struct
2065 (*structpb.ListValue)(nil), // 34: google.protobuf.ListValue
2066 (*structpb.Value)(nil), // 35: google.protobuf.Value
2067 (structpb.NullValue)(0), // 36: google.protobuf.NullValue
2068 (*emptypb.Empty)(nil), // 37: google.protobuf.Empty
2069 (*anypb.Any)(nil), // 38: google.protobuf.Any
2070 (*fieldmaskpb.FieldMask)(nil), // 39: google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08002071}
Joe Tsai7ca70982019-04-15 13:57:56 -07002072var file_pb2_test_proto_depIdxs = []int32{
Herbie Ong8170d692019-02-13 14:13:21 -08002073 0, // pb2.Enums.opt_enum:type_name -> pb2.Enum
2074 0, // pb2.Enums.rpt_enum:type_name -> pb2.Enum
2075 1, // pb2.Enums.opt_nested_enum:type_name -> pb2.Enums.NestedEnum
2076 1, // pb2.Enums.rpt_nested_enum:type_name -> pb2.Enums.NestedEnum
2077 5, // pb2.Nested.opt_nested:type_name -> pb2.Nested
2078 5, // pb2.Nests.opt_nested:type_name -> pb2.Nested
2079 18, // pb2.Nests.optgroup:type_name -> pb2.Nests.OptGroup
2080 5, // pb2.Nests.rpt_nested:type_name -> pb2.Nested
2081 19, // pb2.Nests.rptgroup:type_name -> pb2.Nests.RptGroup
2082 0, // pb2.Requireds.req_enum:type_name -> pb2.Enum
2083 5, // pb2.Requireds.req_nested:type_name -> pb2.Nested
2084 9, // pb2.IndirectRequired.opt_nested:type_name -> pb2.NestedWithRequired
2085 9, // pb2.IndirectRequired.rpt_nested:type_name -> pb2.NestedWithRequired
2086 21, // pb2.IndirectRequired.str_to_nested:type_name -> pb2.IndirectRequired.StrToNestedEntry
2087 9, // pb2.IndirectRequired.oneof_nested:type_name -> pb2.NestedWithRequired
2088 22, // pb2.KnownTypes.opt_bool:type_name -> google.protobuf.BoolValue
2089 23, // pb2.KnownTypes.opt_int32:type_name -> google.protobuf.Int32Value
2090 24, // pb2.KnownTypes.opt_int64:type_name -> google.protobuf.Int64Value
2091 25, // pb2.KnownTypes.opt_uint32:type_name -> google.protobuf.UInt32Value
2092 26, // pb2.KnownTypes.opt_uint64:type_name -> google.protobuf.UInt64Value
2093 27, // pb2.KnownTypes.opt_float:type_name -> google.protobuf.FloatValue
2094 28, // pb2.KnownTypes.opt_double:type_name -> google.protobuf.DoubleValue
2095 29, // pb2.KnownTypes.opt_string:type_name -> google.protobuf.StringValue
2096 30, // pb2.KnownTypes.opt_bytes:type_name -> google.protobuf.BytesValue
2097 31, // pb2.KnownTypes.opt_duration:type_name -> google.protobuf.Duration
2098 32, // pb2.KnownTypes.opt_timestamp:type_name -> google.protobuf.Timestamp
2099 33, // pb2.KnownTypes.opt_struct:type_name -> google.protobuf.Struct
2100 34, // pb2.KnownTypes.opt_list:type_name -> google.protobuf.ListValue
2101 35, // pb2.KnownTypes.opt_value:type_name -> google.protobuf.Value
Herbie Ong300b9fe2019-03-29 15:42:20 -07002102 36, // pb2.KnownTypes.opt_null:type_name -> google.protobuf.NullValue
2103 37, // pb2.KnownTypes.opt_empty:type_name -> google.protobuf.Empty
2104 38, // pb2.KnownTypes.opt_any:type_name -> google.protobuf.Any
2105 39, // pb2.KnownTypes.opt_fieldmask:type_name -> google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08002106 5, // pb2.Nests.OptGroup.opt_nested:type_name -> pb2.Nested
2107 20, // pb2.Nests.OptGroup.optnestedgroup:type_name -> pb2.Nests.OptGroup.OptNestedGroup
2108 9, // pb2.IndirectRequired.StrToNestedEntry.value:type_name -> pb2.NestedWithRequired
Joe Tsaid8881392019-06-06 13:01:53 -07002109 11, // pb2.opt_ext_bool:extendee -> pb2.Extensions
2110 11, // pb2.opt_ext_string:extendee -> pb2.Extensions
2111 11, // pb2.opt_ext_enum:extendee -> pb2.Extensions
2112 11, // pb2.opt_ext_nested:extendee -> pb2.Extensions
2113 11, // pb2.opt_ext_partial:extendee -> pb2.Extensions
2114 11, // pb2.rpt_ext_fixed32:extendee -> pb2.Extensions
2115 11, // pb2.rpt_ext_enum:extendee -> pb2.Extensions
2116 11, // pb2.rpt_ext_nested:extendee -> pb2.Extensions
2117 13, // pb2.message_set_extension:extendee -> pb2.MessageSet
2118 11, // pb2.ExtensionsContainer.opt_ext_bool:extendee -> pb2.Extensions
2119 11, // pb2.ExtensionsContainer.opt_ext_string:extendee -> pb2.Extensions
2120 11, // pb2.ExtensionsContainer.opt_ext_enum:extendee -> pb2.Extensions
2121 11, // pb2.ExtensionsContainer.opt_ext_nested:extendee -> pb2.Extensions
2122 11, // pb2.ExtensionsContainer.opt_ext_partial:extendee -> pb2.Extensions
2123 11, // pb2.ExtensionsContainer.rpt_ext_string:extendee -> pb2.Extensions
2124 11, // pb2.ExtensionsContainer.rpt_ext_enum:extendee -> pb2.Extensions
2125 11, // pb2.ExtensionsContainer.rpt_ext_nested:extendee -> pb2.Extensions
2126 13, // pb2.MessageSetExtension.message_set_extension:extendee -> pb2.MessageSet
2127 13, // pb2.MessageSetExtension.not_message_set_extension:extendee -> pb2.MessageSet
2128 13, // pb2.MessageSetExtension.ext_nested:extendee -> pb2.MessageSet
2129 15, // pb2.FakeMessageSetExtension.message_set_extension:extendee -> pb2.FakeMessageSet
Herbie Ong8170d692019-02-13 14:13:21 -08002130 0, // pb2.opt_ext_enum:type_name -> pb2.Enum
2131 5, // pb2.opt_ext_nested:type_name -> pb2.Nested
Herbie Ong09b28a92019-04-03 15:42:41 -07002132 8, // pb2.opt_ext_partial:type_name -> pb2.PartialRequired
Herbie Ong8170d692019-02-13 14:13:21 -08002133 0, // pb2.rpt_ext_enum:type_name -> pb2.Enum
2134 5, // pb2.rpt_ext_nested:type_name -> pb2.Nested
2135 16, // pb2.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2136 0, // pb2.ExtensionsContainer.opt_ext_enum:type_name -> pb2.Enum
2137 5, // pb2.ExtensionsContainer.opt_ext_nested:type_name -> pb2.Nested
Herbie Ong09b28a92019-04-03 15:42:41 -07002138 8, // pb2.ExtensionsContainer.opt_ext_partial:type_name -> pb2.PartialRequired
Herbie Ong8170d692019-02-13 14:13:21 -08002139 0, // pb2.ExtensionsContainer.rpt_ext_enum:type_name -> pb2.Enum
2140 5, // pb2.ExtensionsContainer.rpt_ext_nested:type_name -> pb2.Nested
2141 14, // pb2.MessageSetExtension.message_set_extension:type_name -> pb2.MessageSetExtension
2142 14, // pb2.MessageSetExtension.not_message_set_extension:type_name -> pb2.MessageSetExtension
2143 5, // pb2.MessageSetExtension.ext_nested:type_name -> pb2.Nested
2144 16, // pb2.FakeMessageSetExtension.message_set_extension:type_name -> pb2.FakeMessageSetExtension
Joe Tsaid8881392019-06-06 13:01:53 -07002145 72, // starting offset of method output_type sub-list
2146 72, // starting offset of method input_type sub-list
2147 57, // starting offset of extension type_name sub-list
2148 36, // starting offset of extension extendee sub-list
2149 0, // starting offset of field type_name sub-list
Herbie Ong8170d692019-02-13 14:13:21 -08002150}
2151
Joe Tsai7ca70982019-04-15 13:57:56 -07002152func init() { file_pb2_test_proto_init() }
2153func file_pb2_test_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -08002154 if File_pb2_test_proto != nil {
2155 return
2156 }
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002157 if !protoimpl.UnsafeEnabled {
2158 file_pb2_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2159 switch v := v.(*Scalars); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002160 case 0:
2161 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002162 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002163 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002164 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002165 return &v.unknownFields
2166 default:
2167 return nil
2168 }
2169 }
2170 file_pb2_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2171 switch v := v.(*Enums); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002172 case 0:
2173 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002174 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002175 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002176 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002177 return &v.unknownFields
2178 default:
2179 return nil
2180 }
2181 }
2182 file_pb2_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2183 switch v := v.(*Repeats); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002184 case 0:
2185 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002186 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002187 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002188 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002189 return &v.unknownFields
2190 default:
2191 return nil
2192 }
2193 }
2194 file_pb2_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2195 switch v := v.(*Nested); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002196 case 0:
2197 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002198 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002199 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002200 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002201 return &v.unknownFields
2202 default:
2203 return nil
2204 }
2205 }
2206 file_pb2_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2207 switch v := v.(*Nests); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002208 case 0:
2209 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002210 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002211 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002212 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002213 return &v.unknownFields
2214 default:
2215 return nil
2216 }
2217 }
2218 file_pb2_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2219 switch v := v.(*Requireds); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002220 case 0:
2221 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002222 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002223 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002224 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002225 return &v.unknownFields
2226 default:
2227 return nil
2228 }
2229 }
2230 file_pb2_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
2231 switch v := v.(*PartialRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002232 case 0:
2233 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002234 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002235 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002236 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002237 return &v.unknownFields
2238 default:
2239 return nil
2240 }
2241 }
2242 file_pb2_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2243 switch v := v.(*NestedWithRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002244 case 0:
2245 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002246 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002247 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002248 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002249 return &v.unknownFields
2250 default:
2251 return nil
2252 }
2253 }
2254 file_pb2_test_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
2255 switch v := v.(*IndirectRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002256 case 0:
2257 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002258 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002259 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002260 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002261 return &v.unknownFields
2262 default:
2263 return nil
2264 }
2265 }
2266 file_pb2_test_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
2267 switch v := v.(*Extensions); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002268 case 0:
2269 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002270 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002271 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002272 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002273 return &v.unknownFields
Joe Tsai38b61962019-08-05 13:09:30 -07002274 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002275 return &v.extensionFields
2276 default:
2277 return nil
2278 }
2279 }
2280 file_pb2_test_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2281 switch v := v.(*ExtensionsContainer); i {
2282 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002283 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002284 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002285 return &v.sizeCache
2286 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002287 return &v.unknownFields
2288 default:
2289 return nil
2290 }
2291 }
2292 file_pb2_test_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2293 switch v := v.(*MessageSet); i {
2294 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002295 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002296 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002297 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002298 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002299 return &v.unknownFields
2300 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002301 return &v.extensionFields
2302 default:
2303 return nil
2304 }
2305 }
2306 file_pb2_test_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2307 switch v := v.(*MessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002308 case 0:
2309 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002310 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002311 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002312 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002313 return &v.unknownFields
2314 default:
2315 return nil
2316 }
2317 }
2318 file_pb2_test_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
2319 switch v := v.(*FakeMessageSet); i {
2320 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002321 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002322 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002323 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002324 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002325 return &v.unknownFields
2326 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002327 return &v.extensionFields
2328 default:
2329 return nil
2330 }
2331 }
2332 file_pb2_test_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
2333 switch v := v.(*FakeMessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002334 case 0:
2335 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002336 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002337 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002338 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002339 return &v.unknownFields
2340 default:
2341 return nil
2342 }
2343 }
2344 file_pb2_test_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
2345 switch v := v.(*KnownTypes); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002346 case 0:
2347 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002348 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002349 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002350 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002351 return &v.unknownFields
2352 default:
2353 return nil
2354 }
2355 }
2356 file_pb2_test_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
2357 switch v := v.(*Nests_OptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002358 case 0:
2359 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002360 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002361 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002362 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002363 return &v.unknownFields
2364 default:
2365 return nil
2366 }
2367 }
2368 file_pb2_test_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
2369 switch v := v.(*Nests_RptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002370 case 0:
2371 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002372 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002373 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002374 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002375 return &v.unknownFields
2376 default:
2377 return nil
2378 }
2379 }
2380 file_pb2_test_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
2381 switch v := v.(*Nests_OptGroup_OptNestedGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002382 case 0:
2383 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002384 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002385 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002386 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002387 return &v.unknownFields
2388 default:
2389 return nil
2390 }
2391 }
2392 }
Joe Tsai09912272019-07-08 10:38:11 -07002393 file_pb2_test_proto_msgTypes[8].OneofWrappers = []interface{}{
2394 (*IndirectRequired_OneofNested)(nil),
2395 }
Joe Tsaiaf570872019-07-14 23:04:40 -07002396 type x struct{}
Joe Tsaid8881392019-06-06 13:01:53 -07002397 out := protoimpl.TypeBuilder{
2398 File: protoimpl.DescBuilder{
Joe Tsaiaf570872019-07-14 23:04:40 -07002399 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
Joe Tsaid8881392019-06-06 13:01:53 -07002400 RawDescriptor: file_pb2_test_proto_rawDesc,
2401 NumEnums: 2,
2402 NumMessages: 20,
2403 NumExtensions: 21,
2404 NumServices: 0,
2405 },
2406 GoTypes: file_pb2_test_proto_goTypes,
2407 DependencyIndexes: file_pb2_test_proto_depIdxs,
2408 MessageInfos: file_pb2_test_proto_msgTypes,
2409 LegacyExtensions: file_pb2_test_proto_extDescs,
2410 }.Build()
2411 File_pb2_test_proto = out.File
2412 file_pb2_test_proto_enumTypes = out.Enums
Joe Tsai7ca70982019-04-15 13:57:56 -07002413 file_pb2_test_proto_rawDesc = nil
2414 file_pb2_test_proto_goTypes = nil
2415 file_pb2_test_proto_depIdxs = nil
Herbie Ong8170d692019-02-13 14:13:21 -08002416}