blob: 1925bc481df36cfb7bc3c4c57e45abea6266480c [file] [log] [blame]
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001// Copyright 2019 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// Test Protobuf definitions with proto2 syntax.
6
Herbie Ong8170d692019-02-13 14:13:21 -08007// Code generated by protoc-gen-go. DO NOT EDIT.
Joe Tsai19058432019-02-27 21:46:29 -08008// source: pb2/test.proto
Herbie Ong8170d692019-02-13 14:13:21 -08009
10package pb2
11
12import (
Damien Neile89e6242019-05-13 23:55:40 -070013 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
Damien Neile89e6242019-05-13 23:55:40 -070014 protoiface "google.golang.org/protobuf/runtime/protoiface"
15 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
Joe Tsaia95b29f2019-05-16 12:47:20 -070016 anypb "google.golang.org/protobuf/types/known/anypb"
17 durationpb "google.golang.org/protobuf/types/known/durationpb"
18 emptypb "google.golang.org/protobuf/types/known/emptypb"
19 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
20 structpb "google.golang.org/protobuf/types/known/structpb"
21 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
22 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
Joe Tsaiaf570872019-07-14 23:04:40 -070023 reflect "reflect"
Joe Tsai5d72cc22019-03-28 01:13:26 -070024 sync "sync"
Herbie Ong8170d692019-02-13 14:13:21 -080025)
26
Herbie Ong8170d692019-02-13 14:13:21 -080027type Enum int32
28
29const (
30 Enum_ONE Enum = 1
31 Enum_TWO Enum = 2
32 Enum_TEN Enum = 10
33)
34
Joe Tsai9b8a4332019-08-05 18:38:48 -070035// Enum value maps for Enum.
36var (
37 Enum_name = map[int32]string{
38 1: "ONE",
39 2: "TWO",
40 10: "TEN",
41 }
42 Enum_value = map[string]int32{
43 "ONE": 1,
44 "TWO": 2,
45 "TEN": 10,
46 }
47)
Herbie Ong8170d692019-02-13 14:13:21 -080048
49func (x Enum) Enum() *Enum {
Joe Tsai09b5b462019-04-10 15:29:01 -070050 p := new(Enum)
51 *p = x
52 return p
Herbie Ong8170d692019-02-13 14:13:21 -080053}
54
55func (x Enum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -070056 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -080057}
58
Joe Tsai0fc49f82019-05-01 12:29:25 -070059func (Enum) Descriptor() protoreflect.EnumDescriptor {
Damien Neil4401a0d2019-08-06 15:26:36 -070060 return file_pb2_test_proto_enumTypes[0].Descriptor()
Joe Tsai0fc49f82019-05-01 12:29:25 -070061}
62
Joe Tsaid4211502019-07-02 14:58:02 -070063func (Enum) Type() protoreflect.EnumType {
64 return &file_pb2_test_proto_enumTypes[0]
65}
66
Joe Tsai61968ce2019-04-01 12:59:24 -070067func (x Enum) Number() protoreflect.EnumNumber {
68 return protoreflect.EnumNumber(x)
69}
70
Joe Tsai8e506a82019-03-16 00:05:34 -070071// Deprecated: Do not use.
72func (x *Enum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -070073 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -080074 if err != nil {
75 return err
76 }
Joe Tsai8e506a82019-03-16 00:05:34 -070077 *x = Enum(num)
Herbie Ong8170d692019-02-13 14:13:21 -080078 return nil
79}
80
Joe Tsai43761bd2019-07-17 18:06:47 -070081// Deprecated: Use Enum.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -080082func (Enum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -070083 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -080084}
85
86type Enums_NestedEnum int32
87
88const (
89 Enums_UNO Enums_NestedEnum = 1
90 Enums_DOS Enums_NestedEnum = 2
91 Enums_DIEZ Enums_NestedEnum = 10
92)
93
Joe Tsai9b8a4332019-08-05 18:38:48 -070094// Enum value maps for Enums_NestedEnum.
95var (
96 Enums_NestedEnum_name = map[int32]string{
97 1: "UNO",
98 2: "DOS",
99 10: "DIEZ",
100 }
101 Enums_NestedEnum_value = map[string]int32{
102 "UNO": 1,
103 "DOS": 2,
104 "DIEZ": 10,
105 }
106)
Herbie Ong8170d692019-02-13 14:13:21 -0800107
108func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
Joe Tsai09b5b462019-04-10 15:29:01 -0700109 p := new(Enums_NestedEnum)
110 *p = x
111 return p
Herbie Ong8170d692019-02-13 14:13:21 -0800112}
113
114func (x Enums_NestedEnum) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700115 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -0800116}
117
Joe Tsai0fc49f82019-05-01 12:29:25 -0700118func (Enums_NestedEnum) Descriptor() protoreflect.EnumDescriptor {
Damien Neil4401a0d2019-08-06 15:26:36 -0700119 return file_pb2_test_proto_enumTypes[1].Descriptor()
Joe Tsai0fc49f82019-05-01 12:29:25 -0700120}
121
Joe Tsaid4211502019-07-02 14:58:02 -0700122func (Enums_NestedEnum) Type() protoreflect.EnumType {
123 return &file_pb2_test_proto_enumTypes[1]
124}
125
Joe Tsai61968ce2019-04-01 12:59:24 -0700126func (x Enums_NestedEnum) Number() protoreflect.EnumNumber {
127 return protoreflect.EnumNumber(x)
128}
129
Joe Tsai8e506a82019-03-16 00:05:34 -0700130// Deprecated: Do not use.
131func (x *Enums_NestedEnum) UnmarshalJSON(b []byte) error {
Joe Tsai0fc49f82019-05-01 12:29:25 -0700132 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
Herbie Ong8170d692019-02-13 14:13:21 -0800133 if err != nil {
134 return err
135 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700136 *x = Enums_NestedEnum(num)
Herbie Ong8170d692019-02-13 14:13:21 -0800137 return nil
138}
139
Joe Tsai43761bd2019-07-17 18:06:47 -0700140// Deprecated: Use Enums_NestedEnum.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800141func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700142 return file_pb2_test_proto_rawDescGZIP(), []int{1, 0}
Herbie Ong8170d692019-02-13 14:13:21 -0800143}
144
145// Scalars contains optional scalar fields.
146type Scalars struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700147 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700148 sizeCache protoimpl.SizeCache
149 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700150
151 OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
152 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
153 OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
154 OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
155 OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
156 OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"`
157 OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"`
158 OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
159 OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"`
160 OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"`
161 OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"`
162 OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
163 OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
164 OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
165 OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800166}
167
Joe Tsai61968ce2019-04-01 12:59:24 -0700168func (x *Scalars) Reset() {
169 *x = Scalars{}
Herbie Ong8170d692019-02-13 14:13:21 -0800170}
Joe Tsai61968ce2019-04-01 12:59:24 -0700171
172func (x *Scalars) String() string {
173 return protoimpl.X.MessageStringOf(x)
174}
175
176func (*Scalars) ProtoMessage() {}
177
178func (x *Scalars) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700179 mi := &file_pb2_test_proto_msgTypes[0]
180 if protoimpl.UnsafeEnabled && x != nil {
181 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
182 if ms.LoadMessageInfo() == nil {
183 ms.StoreMessageInfo(mi)
184 }
185 return ms
186 }
187 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700188}
Joe Tsai8e506a82019-03-16 00:05:34 -0700189
Joe Tsai43761bd2019-07-17 18:06:47 -0700190// Deprecated: Use Scalars.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800191func (*Scalars) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700192 return file_pb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -0800193}
194
Joe Tsai61968ce2019-04-01 12:59:24 -0700195func (x *Scalars) GetOptBool() bool {
196 if x != nil && x.OptBool != nil {
197 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800198 }
199 return false
200}
201
Joe Tsai61968ce2019-04-01 12:59:24 -0700202func (x *Scalars) GetOptInt32() int32 {
203 if x != nil && x.OptInt32 != nil {
204 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800205 }
206 return 0
207}
208
Joe Tsai61968ce2019-04-01 12:59:24 -0700209func (x *Scalars) GetOptInt64() int64 {
210 if x != nil && x.OptInt64 != nil {
211 return *x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800212 }
213 return 0
214}
215
Joe Tsai61968ce2019-04-01 12:59:24 -0700216func (x *Scalars) GetOptUint32() uint32 {
217 if x != nil && x.OptUint32 != nil {
218 return *x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800219 }
220 return 0
221}
222
Joe Tsai61968ce2019-04-01 12:59:24 -0700223func (x *Scalars) GetOptUint64() uint64 {
224 if x != nil && x.OptUint64 != nil {
225 return *x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800226 }
227 return 0
228}
229
Joe Tsai61968ce2019-04-01 12:59:24 -0700230func (x *Scalars) GetOptSint32() int32 {
231 if x != nil && x.OptSint32 != nil {
232 return *x.OptSint32
Herbie Ong8170d692019-02-13 14:13:21 -0800233 }
234 return 0
235}
236
Joe Tsai61968ce2019-04-01 12:59:24 -0700237func (x *Scalars) GetOptSint64() int64 {
238 if x != nil && x.OptSint64 != nil {
239 return *x.OptSint64
Herbie Ong8170d692019-02-13 14:13:21 -0800240 }
241 return 0
242}
243
Joe Tsai61968ce2019-04-01 12:59:24 -0700244func (x *Scalars) GetOptFixed32() uint32 {
245 if x != nil && x.OptFixed32 != nil {
246 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800247 }
248 return 0
249}
250
Joe Tsai61968ce2019-04-01 12:59:24 -0700251func (x *Scalars) GetOptFixed64() uint64 {
252 if x != nil && x.OptFixed64 != nil {
253 return *x.OptFixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800254 }
255 return 0
256}
257
Joe Tsai61968ce2019-04-01 12:59:24 -0700258func (x *Scalars) GetOptSfixed32() int32 {
259 if x != nil && x.OptSfixed32 != nil {
260 return *x.OptSfixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800261 }
262 return 0
263}
264
Joe Tsai61968ce2019-04-01 12:59:24 -0700265func (x *Scalars) GetOptSfixed64() int64 {
266 if x != nil && x.OptSfixed64 != nil {
267 return *x.OptSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800268 }
269 return 0
270}
271
Joe Tsai61968ce2019-04-01 12:59:24 -0700272func (x *Scalars) GetOptFloat() float32 {
273 if x != nil && x.OptFloat != nil {
274 return *x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800275 }
276 return 0
277}
278
Joe Tsai61968ce2019-04-01 12:59:24 -0700279func (x *Scalars) GetOptDouble() float64 {
280 if x != nil && x.OptDouble != nil {
281 return *x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800282 }
283 return 0
284}
285
Joe Tsai61968ce2019-04-01 12:59:24 -0700286func (x *Scalars) GetOptBytes() []byte {
287 if x != nil {
288 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800289 }
290 return nil
291}
292
Joe Tsai61968ce2019-04-01 12:59:24 -0700293func (x *Scalars) GetOptString() string {
294 if x != nil && x.OptString != nil {
295 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800296 }
297 return ""
298}
299
300// Message contains enum fields.
301type Enums struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700302 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700303 sizeCache protoimpl.SizeCache
304 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700305
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700306 OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
307 RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"`
308 OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
309 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 -0800310}
311
Joe Tsai61968ce2019-04-01 12:59:24 -0700312func (x *Enums) Reset() {
313 *x = Enums{}
Herbie Ong8170d692019-02-13 14:13:21 -0800314}
Joe Tsai61968ce2019-04-01 12:59:24 -0700315
316func (x *Enums) String() string {
317 return protoimpl.X.MessageStringOf(x)
318}
319
320func (*Enums) ProtoMessage() {}
321
322func (x *Enums) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700323 mi := &file_pb2_test_proto_msgTypes[1]
324 if protoimpl.UnsafeEnabled && x != nil {
325 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
326 if ms.LoadMessageInfo() == nil {
327 ms.StoreMessageInfo(mi)
328 }
329 return ms
330 }
331 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700332}
Joe Tsai8e506a82019-03-16 00:05:34 -0700333
Joe Tsai43761bd2019-07-17 18:06:47 -0700334// Deprecated: Use Enums.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800335func (*Enums) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700336 return file_pb2_test_proto_rawDescGZIP(), []int{1}
Herbie Ong8170d692019-02-13 14:13:21 -0800337}
338
Joe Tsai61968ce2019-04-01 12:59:24 -0700339func (x *Enums) GetOptEnum() Enum {
340 if x != nil && x.OptEnum != nil {
341 return *x.OptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800342 }
343 return Enum_ONE
344}
345
Joe Tsai61968ce2019-04-01 12:59:24 -0700346func (x *Enums) GetRptEnum() []Enum {
347 if x != nil {
348 return x.RptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800349 }
350 return nil
351}
352
Joe Tsai61968ce2019-04-01 12:59:24 -0700353func (x *Enums) GetOptNestedEnum() Enums_NestedEnum {
354 if x != nil && x.OptNestedEnum != nil {
355 return *x.OptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800356 }
357 return Enums_UNO
358}
359
Joe Tsai61968ce2019-04-01 12:59:24 -0700360func (x *Enums) GetRptNestedEnum() []Enums_NestedEnum {
361 if x != nil {
362 return x.RptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800363 }
364 return nil
365}
366
367// Message contains repeated fields.
368type Repeats struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700369 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700370 sizeCache protoimpl.SizeCache
371 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700372
373 RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
374 RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"`
375 RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"`
376 RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"`
377 RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"`
378 RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"`
379 RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"`
380 RptString []string `protobuf:"bytes,8,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
381 RptBytes [][]byte `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800382}
383
Joe Tsai61968ce2019-04-01 12:59:24 -0700384func (x *Repeats) Reset() {
385 *x = Repeats{}
Herbie Ong8170d692019-02-13 14:13:21 -0800386}
Joe Tsai61968ce2019-04-01 12:59:24 -0700387
388func (x *Repeats) String() string {
389 return protoimpl.X.MessageStringOf(x)
390}
391
392func (*Repeats) ProtoMessage() {}
393
394func (x *Repeats) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700395 mi := &file_pb2_test_proto_msgTypes[2]
396 if protoimpl.UnsafeEnabled && x != nil {
397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
398 if ms.LoadMessageInfo() == nil {
399 ms.StoreMessageInfo(mi)
400 }
401 return ms
402 }
403 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700404}
Joe Tsai8e506a82019-03-16 00:05:34 -0700405
Joe Tsai43761bd2019-07-17 18:06:47 -0700406// Deprecated: Use Repeats.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800407func (*Repeats) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700408 return file_pb2_test_proto_rawDescGZIP(), []int{2}
Herbie Ong8170d692019-02-13 14:13:21 -0800409}
410
Joe Tsai61968ce2019-04-01 12:59:24 -0700411func (x *Repeats) GetRptBool() []bool {
412 if x != nil {
413 return x.RptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800414 }
415 return nil
416}
417
Joe Tsai61968ce2019-04-01 12:59:24 -0700418func (x *Repeats) GetRptInt32() []int32 {
419 if x != nil {
420 return x.RptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800421 }
422 return nil
423}
424
Joe Tsai61968ce2019-04-01 12:59:24 -0700425func (x *Repeats) GetRptInt64() []int64 {
426 if x != nil {
427 return x.RptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800428 }
429 return nil
430}
431
Joe Tsai61968ce2019-04-01 12:59:24 -0700432func (x *Repeats) GetRptUint32() []uint32 {
433 if x != nil {
434 return x.RptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800435 }
436 return nil
437}
438
Joe Tsai61968ce2019-04-01 12:59:24 -0700439func (x *Repeats) GetRptUint64() []uint64 {
440 if x != nil {
441 return x.RptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800442 }
443 return nil
444}
445
Joe Tsai61968ce2019-04-01 12:59:24 -0700446func (x *Repeats) GetRptFloat() []float32 {
447 if x != nil {
448 return x.RptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800449 }
450 return nil
451}
452
Joe Tsai61968ce2019-04-01 12:59:24 -0700453func (x *Repeats) GetRptDouble() []float64 {
454 if x != nil {
455 return x.RptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800456 }
457 return nil
458}
459
Joe Tsai61968ce2019-04-01 12:59:24 -0700460func (x *Repeats) GetRptString() []string {
461 if x != nil {
462 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -0800463 }
464 return nil
465}
466
Joe Tsai61968ce2019-04-01 12:59:24 -0700467func (x *Repeats) GetRptBytes() [][]byte {
468 if x != nil {
469 return x.RptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800470 }
471 return nil
472}
473
474// Message type used as submessage.
475type Nested struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700476 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700477 sizeCache protoimpl.SizeCache
478 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700479
480 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
481 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800482}
483
Joe Tsai61968ce2019-04-01 12:59:24 -0700484func (x *Nested) Reset() {
485 *x = Nested{}
Herbie Ong8170d692019-02-13 14:13:21 -0800486}
Joe Tsai61968ce2019-04-01 12:59:24 -0700487
488func (x *Nested) String() string {
489 return protoimpl.X.MessageStringOf(x)
490}
491
492func (*Nested) ProtoMessage() {}
493
494func (x *Nested) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700495 mi := &file_pb2_test_proto_msgTypes[3]
496 if protoimpl.UnsafeEnabled && x != nil {
497 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
498 if ms.LoadMessageInfo() == nil {
499 ms.StoreMessageInfo(mi)
500 }
501 return ms
502 }
503 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700504}
Joe Tsai8e506a82019-03-16 00:05:34 -0700505
Joe Tsai43761bd2019-07-17 18:06:47 -0700506// Deprecated: Use Nested.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800507func (*Nested) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700508 return file_pb2_test_proto_rawDescGZIP(), []int{3}
Herbie Ong8170d692019-02-13 14:13:21 -0800509}
510
Joe Tsai61968ce2019-04-01 12:59:24 -0700511func (x *Nested) GetOptString() string {
512 if x != nil && x.OptString != nil {
513 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800514 }
515 return ""
516}
517
Joe Tsai61968ce2019-04-01 12:59:24 -0700518func (x *Nested) GetOptNested() *Nested {
519 if x != nil {
520 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800521 }
522 return nil
523}
524
525// Message contains message and group fields.
526type Nests struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700527 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700528 sizeCache protoimpl.SizeCache
529 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700530
531 OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
532 Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"`
533 RptNested []*Nested `protobuf:"bytes,4,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
534 Rptgroup []*Nests_RptGroup `protobuf:"group,5,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800535}
536
Joe Tsai61968ce2019-04-01 12:59:24 -0700537func (x *Nests) Reset() {
538 *x = Nests{}
Herbie Ong8170d692019-02-13 14:13:21 -0800539}
Joe Tsai61968ce2019-04-01 12:59:24 -0700540
541func (x *Nests) String() string {
542 return protoimpl.X.MessageStringOf(x)
543}
544
545func (*Nests) ProtoMessage() {}
546
547func (x *Nests) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700548 mi := &file_pb2_test_proto_msgTypes[4]
549 if protoimpl.UnsafeEnabled && x != nil {
550 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
551 if ms.LoadMessageInfo() == nil {
552 ms.StoreMessageInfo(mi)
553 }
554 return ms
555 }
556 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700557}
Joe Tsai8e506a82019-03-16 00:05:34 -0700558
Joe Tsai43761bd2019-07-17 18:06:47 -0700559// Deprecated: Use Nests.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800560func (*Nests) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700561 return file_pb2_test_proto_rawDescGZIP(), []int{4}
Herbie Ong8170d692019-02-13 14:13:21 -0800562}
563
Joe Tsai61968ce2019-04-01 12:59:24 -0700564func (x *Nests) GetOptNested() *Nested {
565 if x != nil {
566 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800567 }
568 return nil
569}
570
Joe Tsai61968ce2019-04-01 12:59:24 -0700571func (x *Nests) GetOptgroup() *Nests_OptGroup {
572 if x != nil {
573 return x.Optgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800574 }
575 return nil
576}
577
Joe Tsai61968ce2019-04-01 12:59:24 -0700578func (x *Nests) GetRptNested() []*Nested {
579 if x != nil {
580 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800581 }
582 return nil
583}
584
Joe Tsai61968ce2019-04-01 12:59:24 -0700585func (x *Nests) GetRptgroup() []*Nests_RptGroup {
586 if x != nil {
587 return x.Rptgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800588 }
589 return nil
590}
591
592// Message contains required fields.
593type Requireds struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700594 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700595 sizeCache protoimpl.SizeCache
596 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700597
598 ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"`
599 ReqSfixed64 *int64 `protobuf:"fixed64,2,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"`
600 ReqDouble *float64 `protobuf:"fixed64,3,req,name=req_double,json=reqDouble" json:"req_double,omitempty"`
601 ReqString *string `protobuf:"bytes,4,req,name=req_string,json=reqString" json:"req_string,omitempty"`
602 ReqEnum *Enum `protobuf:"varint,5,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
603 ReqNested *Nested `protobuf:"bytes,6,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800604}
605
Joe Tsai61968ce2019-04-01 12:59:24 -0700606func (x *Requireds) Reset() {
607 *x = Requireds{}
Herbie Ong8170d692019-02-13 14:13:21 -0800608}
Joe Tsai61968ce2019-04-01 12:59:24 -0700609
610func (x *Requireds) String() string {
611 return protoimpl.X.MessageStringOf(x)
612}
613
614func (*Requireds) ProtoMessage() {}
615
616func (x *Requireds) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700617 mi := &file_pb2_test_proto_msgTypes[5]
618 if protoimpl.UnsafeEnabled && x != nil {
619 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
620 if ms.LoadMessageInfo() == nil {
621 ms.StoreMessageInfo(mi)
622 }
623 return ms
624 }
625 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700626}
Joe Tsai8e506a82019-03-16 00:05:34 -0700627
Joe Tsai43761bd2019-07-17 18:06:47 -0700628// Deprecated: Use Requireds.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800629func (*Requireds) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700630 return file_pb2_test_proto_rawDescGZIP(), []int{5}
Herbie Ong8170d692019-02-13 14:13:21 -0800631}
632
Joe Tsai61968ce2019-04-01 12:59:24 -0700633func (x *Requireds) GetReqBool() bool {
634 if x != nil && x.ReqBool != nil {
635 return *x.ReqBool
Herbie Ong8170d692019-02-13 14:13:21 -0800636 }
637 return false
638}
639
Joe Tsai61968ce2019-04-01 12:59:24 -0700640func (x *Requireds) GetReqSfixed64() int64 {
641 if x != nil && x.ReqSfixed64 != nil {
642 return *x.ReqSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800643 }
644 return 0
645}
646
Joe Tsai61968ce2019-04-01 12:59:24 -0700647func (x *Requireds) GetReqDouble() float64 {
648 if x != nil && x.ReqDouble != nil {
649 return *x.ReqDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800650 }
651 return 0
652}
653
Joe Tsai61968ce2019-04-01 12:59:24 -0700654func (x *Requireds) GetReqString() string {
655 if x != nil && x.ReqString != nil {
656 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800657 }
658 return ""
659}
660
Joe Tsai61968ce2019-04-01 12:59:24 -0700661func (x *Requireds) GetReqEnum() Enum {
662 if x != nil && x.ReqEnum != nil {
663 return *x.ReqEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800664 }
665 return Enum_ONE
666}
667
Joe Tsai61968ce2019-04-01 12:59:24 -0700668func (x *Requireds) GetReqNested() *Nested {
669 if x != nil {
670 return x.ReqNested
Herbie Ong8170d692019-02-13 14:13:21 -0800671 }
672 return nil
673}
674
675// Message contains both required and optional fields.
676type PartialRequired struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700677 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700678 sizeCache protoimpl.SizeCache
679 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700680
681 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
682 OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800683}
684
Joe Tsai61968ce2019-04-01 12:59:24 -0700685func (x *PartialRequired) Reset() {
686 *x = PartialRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800687}
Joe Tsai61968ce2019-04-01 12:59:24 -0700688
689func (x *PartialRequired) String() string {
690 return protoimpl.X.MessageStringOf(x)
691}
692
693func (*PartialRequired) ProtoMessage() {}
694
695func (x *PartialRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700696 mi := &file_pb2_test_proto_msgTypes[6]
697 if protoimpl.UnsafeEnabled && x != nil {
698 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
699 if ms.LoadMessageInfo() == nil {
700 ms.StoreMessageInfo(mi)
701 }
702 return ms
703 }
704 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700705}
Joe Tsai8e506a82019-03-16 00:05:34 -0700706
Joe Tsai43761bd2019-07-17 18:06:47 -0700707// Deprecated: Use PartialRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800708func (*PartialRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700709 return file_pb2_test_proto_rawDescGZIP(), []int{6}
Herbie Ong8170d692019-02-13 14:13:21 -0800710}
711
Joe Tsai61968ce2019-04-01 12:59:24 -0700712func (x *PartialRequired) GetReqString() string {
713 if x != nil && x.ReqString != nil {
714 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800715 }
716 return ""
717}
718
Joe Tsai61968ce2019-04-01 12:59:24 -0700719func (x *PartialRequired) GetOptString() string {
720 if x != nil && x.OptString != nil {
721 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800722 }
723 return ""
724}
725
726type NestedWithRequired struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700727 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700728 sizeCache protoimpl.SizeCache
729 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700730
731 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800732}
733
Joe Tsai61968ce2019-04-01 12:59:24 -0700734func (x *NestedWithRequired) Reset() {
735 *x = NestedWithRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800736}
Joe Tsai61968ce2019-04-01 12:59:24 -0700737
738func (x *NestedWithRequired) String() string {
739 return protoimpl.X.MessageStringOf(x)
740}
741
742func (*NestedWithRequired) ProtoMessage() {}
743
744func (x *NestedWithRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700745 mi := &file_pb2_test_proto_msgTypes[7]
746 if protoimpl.UnsafeEnabled && x != nil {
747 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
748 if ms.LoadMessageInfo() == nil {
749 ms.StoreMessageInfo(mi)
750 }
751 return ms
752 }
753 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700754}
Joe Tsai8e506a82019-03-16 00:05:34 -0700755
Joe Tsai43761bd2019-07-17 18:06:47 -0700756// Deprecated: Use NestedWithRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800757func (*NestedWithRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700758 return file_pb2_test_proto_rawDescGZIP(), []int{7}
Herbie Ong8170d692019-02-13 14:13:21 -0800759}
760
Joe Tsai61968ce2019-04-01 12:59:24 -0700761func (x *NestedWithRequired) GetReqString() string {
762 if x != nil && x.ReqString != nil {
763 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800764 }
765 return ""
766}
767
768type IndirectRequired struct {
Joe Tsai38b61962019-08-05 13:09:30 -0700769 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700770 sizeCache protoimpl.SizeCache
771 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700772
773 OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
774 RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
775 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"`
776 // Types that are assignable to Union:
Joe Tsai38b61962019-08-05 13:09:30 -0700777 // *IndirectRequired_OneofNested
778 Union isIndirectRequired_Union `protobuf_oneof:"union"`
Herbie Ong8170d692019-02-13 14:13:21 -0800779}
780
Joe Tsai61968ce2019-04-01 12:59:24 -0700781func (x *IndirectRequired) Reset() {
782 *x = IndirectRequired{}
Herbie Ong8170d692019-02-13 14:13:21 -0800783}
Joe Tsai61968ce2019-04-01 12:59:24 -0700784
785func (x *IndirectRequired) String() string {
786 return protoimpl.X.MessageStringOf(x)
787}
788
789func (*IndirectRequired) ProtoMessage() {}
790
791func (x *IndirectRequired) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700792 mi := &file_pb2_test_proto_msgTypes[8]
793 if protoimpl.UnsafeEnabled && x != nil {
794 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
795 if ms.LoadMessageInfo() == nil {
796 ms.StoreMessageInfo(mi)
797 }
798 return ms
799 }
800 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700801}
Joe Tsai8e506a82019-03-16 00:05:34 -0700802
Joe Tsai43761bd2019-07-17 18:06:47 -0700803// Deprecated: Use IndirectRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800804func (*IndirectRequired) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700805 return file_pb2_test_proto_rawDescGZIP(), []int{8}
Herbie Ong8170d692019-02-13 14:13:21 -0800806}
807
Joe Tsai61968ce2019-04-01 12:59:24 -0700808func (x *IndirectRequired) GetOptNested() *NestedWithRequired {
809 if x != nil {
810 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800811 }
812 return nil
813}
814
Joe Tsai61968ce2019-04-01 12:59:24 -0700815func (x *IndirectRequired) GetRptNested() []*NestedWithRequired {
816 if x != nil {
817 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800818 }
819 return nil
820}
821
Joe Tsai61968ce2019-04-01 12:59:24 -0700822func (x *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired {
823 if x != nil {
824 return x.StrToNested
Herbie Ong8170d692019-02-13 14:13:21 -0800825 }
826 return nil
827}
828
Herbie Ong8170d692019-02-13 14:13:21 -0800829func (m *IndirectRequired) GetUnion() isIndirectRequired_Union {
830 if m != nil {
831 return m.Union
832 }
833 return nil
834}
835
Joe Tsai61968ce2019-04-01 12:59:24 -0700836func (x *IndirectRequired) GetOneofNested() *NestedWithRequired {
837 if x, ok := x.GetUnion().(*IndirectRequired_OneofNested); ok {
Herbie Ong8170d692019-02-13 14:13:21 -0800838 return x.OneofNested
839 }
840 return nil
841}
842
Joe Tsai872b5002019-04-08 14:03:15 -0700843type isIndirectRequired_Union interface {
844 isIndirectRequired_Union()
845}
846
847type IndirectRequired_OneofNested struct {
848 OneofNested *NestedWithRequired `protobuf:"bytes,4,opt,name=oneof_nested,json=oneofNested,oneof"`
849}
850
851func (*IndirectRequired_OneofNested) isIndirectRequired_Union() {}
852
Herbie Ong8170d692019-02-13 14:13:21 -0800853type Extensions struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700854 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700855 sizeCache protoimpl.SizeCache
856 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -0700857 extensionFields protoimpl.ExtensionFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700858
859 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
860 OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
861 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800862}
863
Joe Tsai61968ce2019-04-01 12:59:24 -0700864func (x *Extensions) Reset() {
865 *x = Extensions{}
Herbie Ong8170d692019-02-13 14:13:21 -0800866}
Joe Tsai61968ce2019-04-01 12:59:24 -0700867
868func (x *Extensions) String() string {
869 return protoimpl.X.MessageStringOf(x)
870}
871
872func (*Extensions) ProtoMessage() {}
873
874func (x *Extensions) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700875 mi := &file_pb2_test_proto_msgTypes[9]
876 if protoimpl.UnsafeEnabled && x != nil {
877 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
878 if ms.LoadMessageInfo() == nil {
879 ms.StoreMessageInfo(mi)
880 }
881 return ms
882 }
883 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700884}
Joe Tsai8e506a82019-03-16 00:05:34 -0700885
Joe Tsai43761bd2019-07-17 18:06:47 -0700886// Deprecated: Use Extensions.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800887func (*Extensions) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700888 return file_pb2_test_proto_rawDescGZIP(), []int{9}
Herbie Ong8170d692019-02-13 14:13:21 -0800889}
890
Joe Tsai4fddeba2019-03-20 18:29:32 -0700891var extRange_Extensions = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800892 {Start: 20, End: 100},
893}
894
Joe Tsai43761bd2019-07-17 18:06:47 -0700895// Deprecated: Use Extensions.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700896func (*Extensions) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -0800897 return extRange_Extensions
898}
899
Joe Tsai61968ce2019-04-01 12:59:24 -0700900func (x *Extensions) GetOptString() string {
901 if x != nil && x.OptString != nil {
902 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800903 }
904 return ""
905}
906
Joe Tsai61968ce2019-04-01 12:59:24 -0700907func (x *Extensions) GetOptBool() bool {
908 if x != nil && x.OptBool != nil {
909 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800910 }
911 return false
912}
913
Joe Tsai61968ce2019-04-01 12:59:24 -0700914func (x *Extensions) GetOptInt32() int32 {
915 if x != nil && x.OptInt32 != nil {
916 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800917 }
918 return 0
919}
920
921type ExtensionsContainer struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700922 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700923 sizeCache protoimpl.SizeCache
924 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800925}
926
Joe Tsai61968ce2019-04-01 12:59:24 -0700927func (x *ExtensionsContainer) Reset() {
928 *x = ExtensionsContainer{}
Herbie Ong8170d692019-02-13 14:13:21 -0800929}
Joe Tsai61968ce2019-04-01 12:59:24 -0700930
931func (x *ExtensionsContainer) String() string {
932 return protoimpl.X.MessageStringOf(x)
933}
934
935func (*ExtensionsContainer) ProtoMessage() {}
936
937func (x *ExtensionsContainer) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700938 mi := &file_pb2_test_proto_msgTypes[10]
939 if protoimpl.UnsafeEnabled && x != nil {
940 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
941 if ms.LoadMessageInfo() == nil {
942 ms.StoreMessageInfo(mi)
943 }
944 return ms
945 }
946 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700947}
Joe Tsai8e506a82019-03-16 00:05:34 -0700948
Joe Tsai43761bd2019-07-17 18:06:47 -0700949// Deprecated: Use ExtensionsContainer.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800950func (*ExtensionsContainer) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700951 return file_pb2_test_proto_rawDescGZIP(), []int{10}
Herbie Ong8170d692019-02-13 14:13:21 -0800952}
953
Herbie Ong8170d692019-02-13 14:13:21 -0800954type MessageSet struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700955 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700956 sizeCache protoimpl.SizeCache
957 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -0700958 extensionFields protoimpl.ExtensionFields
Herbie Ong8170d692019-02-13 14:13:21 -0800959}
960
Joe Tsai61968ce2019-04-01 12:59:24 -0700961func (x *MessageSet) Reset() {
962 *x = MessageSet{}
Herbie Ong8170d692019-02-13 14:13:21 -0800963}
Joe Tsai61968ce2019-04-01 12:59:24 -0700964
965func (x *MessageSet) String() string {
966 return protoimpl.X.MessageStringOf(x)
967}
968
969func (*MessageSet) ProtoMessage() {}
970
971func (x *MessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -0700972 mi := &file_pb2_test_proto_msgTypes[11]
973 if protoimpl.UnsafeEnabled && x != nil {
974 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
975 if ms.LoadMessageInfo() == nil {
976 ms.StoreMessageInfo(mi)
977 }
978 return ms
979 }
980 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700981}
Joe Tsai8e506a82019-03-16 00:05:34 -0700982
Joe Tsai43761bd2019-07-17 18:06:47 -0700983// Deprecated: Use MessageSet.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800984func (*MessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700985 return file_pb2_test_proto_rawDescGZIP(), []int{11}
Herbie Ong8170d692019-02-13 14:13:21 -0800986}
987
Joe Tsai4fddeba2019-03-20 18:29:32 -0700988var extRange_MessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800989 {Start: 4, End: 2147483646},
990}
991
Joe Tsai43761bd2019-07-17 18:06:47 -0700992// Deprecated: Use MessageSet.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700993func (*MessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -0800994 return extRange_MessageSet
995}
996
Herbie Ong8170d692019-02-13 14:13:21 -0800997type MessageSetExtension struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700998 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700999 sizeCache protoimpl.SizeCache
1000 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001001
1002 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001003}
1004
Joe Tsai61968ce2019-04-01 12:59:24 -07001005func (x *MessageSetExtension) Reset() {
1006 *x = MessageSetExtension{}
Herbie Ong8170d692019-02-13 14:13:21 -08001007}
Joe Tsai61968ce2019-04-01 12:59:24 -07001008
1009func (x *MessageSetExtension) String() string {
1010 return protoimpl.X.MessageStringOf(x)
1011}
1012
1013func (*MessageSetExtension) ProtoMessage() {}
1014
1015func (x *MessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001016 mi := &file_pb2_test_proto_msgTypes[12]
1017 if protoimpl.UnsafeEnabled && x != nil {
1018 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1019 if ms.LoadMessageInfo() == nil {
1020 ms.StoreMessageInfo(mi)
1021 }
1022 return ms
1023 }
1024 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001025}
Joe Tsai8e506a82019-03-16 00:05:34 -07001026
Joe Tsai43761bd2019-07-17 18:06:47 -07001027// Deprecated: Use MessageSetExtension.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001028func (*MessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001029 return file_pb2_test_proto_rawDescGZIP(), []int{12}
Herbie Ong8170d692019-02-13 14:13:21 -08001030}
1031
Joe Tsai61968ce2019-04-01 12:59:24 -07001032func (x *MessageSetExtension) GetOptString() string {
1033 if x != nil && x.OptString != nil {
1034 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001035 }
1036 return ""
1037}
1038
1039type FakeMessageSet struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001040 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001041 sizeCache protoimpl.SizeCache
1042 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001043 extensionFields protoimpl.ExtensionFields
Herbie Ong8170d692019-02-13 14:13:21 -08001044}
1045
Joe Tsai61968ce2019-04-01 12:59:24 -07001046func (x *FakeMessageSet) Reset() {
1047 *x = FakeMessageSet{}
Herbie Ong8170d692019-02-13 14:13:21 -08001048}
Joe Tsai61968ce2019-04-01 12:59:24 -07001049
1050func (x *FakeMessageSet) String() string {
1051 return protoimpl.X.MessageStringOf(x)
1052}
1053
1054func (*FakeMessageSet) ProtoMessage() {}
1055
1056func (x *FakeMessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001057 mi := &file_pb2_test_proto_msgTypes[13]
1058 if protoimpl.UnsafeEnabled && x != nil {
1059 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1060 if ms.LoadMessageInfo() == nil {
1061 ms.StoreMessageInfo(mi)
1062 }
1063 return ms
1064 }
1065 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001066}
Joe Tsai8e506a82019-03-16 00:05:34 -07001067
Joe Tsai43761bd2019-07-17 18:06:47 -07001068// Deprecated: Use FakeMessageSet.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001069func (*FakeMessageSet) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001070 return file_pb2_test_proto_rawDescGZIP(), []int{13}
Herbie Ong8170d692019-02-13 14:13:21 -08001071}
1072
Joe Tsai4fddeba2019-03-20 18:29:32 -07001073var extRange_FakeMessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -08001074 {Start: 4, End: 536870911},
1075}
1076
Joe Tsai43761bd2019-07-17 18:06:47 -07001077// Deprecated: Use FakeMessageSet.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -07001078func (*FakeMessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -08001079 return extRange_FakeMessageSet
1080}
1081
Herbie Ong8170d692019-02-13 14:13:21 -08001082type FakeMessageSetExtension struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001083 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001084 sizeCache protoimpl.SizeCache
1085 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001086
1087 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001088}
1089
Joe Tsai61968ce2019-04-01 12:59:24 -07001090func (x *FakeMessageSetExtension) Reset() {
1091 *x = FakeMessageSetExtension{}
Herbie Ong8170d692019-02-13 14:13:21 -08001092}
Joe Tsai61968ce2019-04-01 12:59:24 -07001093
1094func (x *FakeMessageSetExtension) String() string {
1095 return protoimpl.X.MessageStringOf(x)
1096}
1097
1098func (*FakeMessageSetExtension) ProtoMessage() {}
1099
1100func (x *FakeMessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001101 mi := &file_pb2_test_proto_msgTypes[14]
1102 if protoimpl.UnsafeEnabled && x != nil {
1103 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1104 if ms.LoadMessageInfo() == nil {
1105 ms.StoreMessageInfo(mi)
1106 }
1107 return ms
1108 }
1109 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001110}
Joe Tsai8e506a82019-03-16 00:05:34 -07001111
Joe Tsai43761bd2019-07-17 18:06:47 -07001112// Deprecated: Use FakeMessageSetExtension.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001113func (*FakeMessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001114 return file_pb2_test_proto_rawDescGZIP(), []int{14}
Herbie Ong8170d692019-02-13 14:13:21 -08001115}
1116
Joe Tsai61968ce2019-04-01 12:59:24 -07001117func (x *FakeMessageSetExtension) GetOptString() string {
1118 if x != nil && x.OptString != nil {
1119 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001120 }
1121 return ""
1122}
1123
1124// Message contains well-known type fields.
1125type KnownTypes struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001126 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -07001127 sizeCache protoimpl.SizeCache
1128 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001129
1130 OptBool *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
1131 OptInt32 *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
1132 OptInt64 *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
1133 OptUint32 *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
1134 OptUint64 *wrapperspb.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
1135 OptFloat *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
1136 OptDouble *wrapperspb.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
1137 OptString *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1138 OptBytes *wrapperspb.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
1139 OptDuration *durationpb.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"`
1140 OptTimestamp *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"`
1141 OptStruct *structpb.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"`
1142 OptList *structpb.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"`
1143 OptValue *structpb.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"`
1144 OptNull *structpb.NullValue `protobuf:"varint,28,opt,name=opt_null,json=optNull,enum=google.protobuf.NullValue" json:"opt_null,omitempty"`
1145 OptEmpty *emptypb.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"`
1146 OptAny *anypb.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
1147 OptFieldmask *fieldmaskpb.FieldMask `protobuf:"bytes,40,opt,name=opt_fieldmask,json=optFieldmask" json:"opt_fieldmask,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001148}
1149
Joe Tsai61968ce2019-04-01 12:59:24 -07001150func (x *KnownTypes) Reset() {
1151 *x = KnownTypes{}
Herbie Ong8170d692019-02-13 14:13:21 -08001152}
Joe Tsai61968ce2019-04-01 12:59:24 -07001153
1154func (x *KnownTypes) String() string {
1155 return protoimpl.X.MessageStringOf(x)
1156}
1157
1158func (*KnownTypes) ProtoMessage() {}
1159
1160func (x *KnownTypes) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001161 mi := &file_pb2_test_proto_msgTypes[15]
1162 if protoimpl.UnsafeEnabled && x != nil {
1163 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1164 if ms.LoadMessageInfo() == nil {
1165 ms.StoreMessageInfo(mi)
1166 }
1167 return ms
1168 }
1169 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001170}
Joe Tsai8e506a82019-03-16 00:05:34 -07001171
Joe Tsai43761bd2019-07-17 18:06:47 -07001172// Deprecated: Use KnownTypes.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001173func (*KnownTypes) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001174 return file_pb2_test_proto_rawDescGZIP(), []int{15}
Herbie Ong8170d692019-02-13 14:13:21 -08001175}
1176
Joe Tsaia95b29f2019-05-16 12:47:20 -07001177func (x *KnownTypes) GetOptBool() *wrapperspb.BoolValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001178 if x != nil {
1179 return x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -08001180 }
1181 return nil
1182}
1183
Joe Tsaia95b29f2019-05-16 12:47:20 -07001184func (x *KnownTypes) GetOptInt32() *wrapperspb.Int32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001185 if x != nil {
1186 return x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -08001187 }
1188 return nil
1189}
1190
Joe Tsaia95b29f2019-05-16 12:47:20 -07001191func (x *KnownTypes) GetOptInt64() *wrapperspb.Int64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001192 if x != nil {
1193 return x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -08001194 }
1195 return nil
1196}
1197
Joe Tsaia95b29f2019-05-16 12:47:20 -07001198func (x *KnownTypes) GetOptUint32() *wrapperspb.UInt32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001199 if x != nil {
1200 return x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -08001201 }
1202 return nil
1203}
1204
Joe Tsaia95b29f2019-05-16 12:47:20 -07001205func (x *KnownTypes) GetOptUint64() *wrapperspb.UInt64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001206 if x != nil {
1207 return x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -08001208 }
1209 return nil
1210}
1211
Joe Tsaia95b29f2019-05-16 12:47:20 -07001212func (x *KnownTypes) GetOptFloat() *wrapperspb.FloatValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001213 if x != nil {
1214 return x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -08001215 }
1216 return nil
1217}
1218
Joe Tsaia95b29f2019-05-16 12:47:20 -07001219func (x *KnownTypes) GetOptDouble() *wrapperspb.DoubleValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001220 if x != nil {
1221 return x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -08001222 }
1223 return nil
1224}
1225
Joe Tsaia95b29f2019-05-16 12:47:20 -07001226func (x *KnownTypes) GetOptString() *wrapperspb.StringValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001227 if x != nil {
1228 return x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001229 }
1230 return nil
1231}
1232
Joe Tsaia95b29f2019-05-16 12:47:20 -07001233func (x *KnownTypes) GetOptBytes() *wrapperspb.BytesValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001234 if x != nil {
1235 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -08001236 }
1237 return nil
1238}
1239
Joe Tsaia95b29f2019-05-16 12:47:20 -07001240func (x *KnownTypes) GetOptDuration() *durationpb.Duration {
Joe Tsai61968ce2019-04-01 12:59:24 -07001241 if x != nil {
1242 return x.OptDuration
Herbie Ong8170d692019-02-13 14:13:21 -08001243 }
1244 return nil
1245}
1246
Joe Tsaia95b29f2019-05-16 12:47:20 -07001247func (x *KnownTypes) GetOptTimestamp() *timestamppb.Timestamp {
Joe Tsai61968ce2019-04-01 12:59:24 -07001248 if x != nil {
1249 return x.OptTimestamp
Herbie Ong8170d692019-02-13 14:13:21 -08001250 }
1251 return nil
1252}
1253
Joe Tsaia95b29f2019-05-16 12:47:20 -07001254func (x *KnownTypes) GetOptStruct() *structpb.Struct {
Joe Tsai61968ce2019-04-01 12:59:24 -07001255 if x != nil {
1256 return x.OptStruct
Herbie Ong8170d692019-02-13 14:13:21 -08001257 }
1258 return nil
1259}
1260
Joe Tsaia95b29f2019-05-16 12:47:20 -07001261func (x *KnownTypes) GetOptList() *structpb.ListValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001262 if x != nil {
1263 return x.OptList
Herbie Ong8170d692019-02-13 14:13:21 -08001264 }
1265 return nil
1266}
1267
Joe Tsaia95b29f2019-05-16 12:47:20 -07001268func (x *KnownTypes) GetOptValue() *structpb.Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001269 if x != nil {
1270 return x.OptValue
Herbie Ong8170d692019-02-13 14:13:21 -08001271 }
1272 return nil
1273}
1274
Joe Tsaia95b29f2019-05-16 12:47:20 -07001275func (x *KnownTypes) GetOptNull() structpb.NullValue {
Herbie Ong300b9fe2019-03-29 15:42:20 -07001276 if x != nil && x.OptNull != nil {
1277 return *x.OptNull
1278 }
Joe Tsaia95b29f2019-05-16 12:47:20 -07001279 return structpb.NullValue_NULL_VALUE
Herbie Ong300b9fe2019-03-29 15:42:20 -07001280}
1281
Joe Tsaia95b29f2019-05-16 12:47:20 -07001282func (x *KnownTypes) GetOptEmpty() *emptypb.Empty {
Joe Tsai61968ce2019-04-01 12:59:24 -07001283 if x != nil {
1284 return x.OptEmpty
Herbie Ong8170d692019-02-13 14:13:21 -08001285 }
1286 return nil
1287}
1288
Joe Tsaia95b29f2019-05-16 12:47:20 -07001289func (x *KnownTypes) GetOptAny() *anypb.Any {
Joe Tsai61968ce2019-04-01 12:59:24 -07001290 if x != nil {
1291 return x.OptAny
Herbie Ong8170d692019-02-13 14:13:21 -08001292 }
1293 return nil
1294}
1295
Joe Tsaia95b29f2019-05-16 12:47:20 -07001296func (x *KnownTypes) GetOptFieldmask() *fieldmaskpb.FieldMask {
Joe Tsai61968ce2019-04-01 12:59:24 -07001297 if x != nil {
1298 return x.OptFieldmask
Herbie Ong0b0f4032019-03-18 19:06:15 -07001299 }
1300 return nil
1301}
1302
Herbie Ong8170d692019-02-13 14:13:21 -08001303type Nests_OptGroup struct {
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001304 state protoimpl.MessageState
1305 sizeCache protoimpl.SizeCache
1306 unknownFields protoimpl.UnknownFields
1307
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001308 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1309 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
1310 Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,3,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001311}
1312
Joe Tsai61968ce2019-04-01 12:59:24 -07001313func (x *Nests_OptGroup) Reset() {
1314 *x = Nests_OptGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001315}
Joe Tsai61968ce2019-04-01 12:59:24 -07001316
1317func (x *Nests_OptGroup) String() string {
1318 return protoimpl.X.MessageStringOf(x)
1319}
1320
1321func (*Nests_OptGroup) ProtoMessage() {}
1322
1323func (x *Nests_OptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001324 mi := &file_pb2_test_proto_msgTypes[16]
1325 if protoimpl.UnsafeEnabled && x != nil {
1326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1327 if ms.LoadMessageInfo() == nil {
1328 ms.StoreMessageInfo(mi)
1329 }
1330 return ms
1331 }
1332 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001333}
Joe Tsai8e506a82019-03-16 00:05:34 -07001334
Joe Tsai43761bd2019-07-17 18:06:47 -07001335// Deprecated: Use Nests_OptGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001336func (*Nests_OptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001337 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001338}
1339
Joe Tsai61968ce2019-04-01 12:59:24 -07001340func (x *Nests_OptGroup) GetOptString() string {
1341 if x != nil && x.OptString != nil {
1342 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001343 }
1344 return ""
1345}
1346
Joe Tsai61968ce2019-04-01 12:59:24 -07001347func (x *Nests_OptGroup) GetOptNested() *Nested {
1348 if x != nil {
1349 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -08001350 }
1351 return nil
1352}
1353
Joe Tsai61968ce2019-04-01 12:59:24 -07001354func (x *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup {
1355 if x != nil {
1356 return x.Optnestedgroup
Herbie Ong8170d692019-02-13 14:13:21 -08001357 }
1358 return nil
1359}
1360
1361type Nests_RptGroup struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001362 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001363 sizeCache protoimpl.SizeCache
1364 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001365
1366 RptString []string `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001367}
1368
Joe Tsai61968ce2019-04-01 12:59:24 -07001369func (x *Nests_RptGroup) Reset() {
1370 *x = Nests_RptGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001371}
Joe Tsai61968ce2019-04-01 12:59:24 -07001372
1373func (x *Nests_RptGroup) String() string {
1374 return protoimpl.X.MessageStringOf(x)
1375}
1376
1377func (*Nests_RptGroup) ProtoMessage() {}
1378
1379func (x *Nests_RptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001380 mi := &file_pb2_test_proto_msgTypes[17]
1381 if protoimpl.UnsafeEnabled && x != nil {
1382 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1383 if ms.LoadMessageInfo() == nil {
1384 ms.StoreMessageInfo(mi)
1385 }
1386 return ms
1387 }
1388 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001389}
Joe Tsai8e506a82019-03-16 00:05:34 -07001390
Joe Tsai43761bd2019-07-17 18:06:47 -07001391// Deprecated: Use Nests_RptGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001392func (*Nests_RptGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001393 return file_pb2_test_proto_rawDescGZIP(), []int{4, 1}
Herbie Ong8170d692019-02-13 14:13:21 -08001394}
1395
Joe Tsai61968ce2019-04-01 12:59:24 -07001396func (x *Nests_RptGroup) GetRptString() []string {
1397 if x != nil {
1398 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -08001399 }
1400 return nil
1401}
1402
1403type Nests_OptGroup_OptNestedGroup struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001404 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001405 sizeCache protoimpl.SizeCache
1406 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001407
1408 OptFixed32 *uint32 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001409}
1410
Joe Tsai61968ce2019-04-01 12:59:24 -07001411func (x *Nests_OptGroup_OptNestedGroup) Reset() {
1412 *x = Nests_OptGroup_OptNestedGroup{}
Herbie Ong8170d692019-02-13 14:13:21 -08001413}
Joe Tsai61968ce2019-04-01 12:59:24 -07001414
1415func (x *Nests_OptGroup_OptNestedGroup) String() string {
1416 return protoimpl.X.MessageStringOf(x)
1417}
1418
1419func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {}
1420
1421func (x *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -07001422 mi := &file_pb2_test_proto_msgTypes[18]
1423 if protoimpl.UnsafeEnabled && x != nil {
1424 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1425 if ms.LoadMessageInfo() == nil {
1426 ms.StoreMessageInfo(mi)
1427 }
1428 return ms
1429 }
1430 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001431}
Joe Tsai8e506a82019-03-16 00:05:34 -07001432
Joe Tsai43761bd2019-07-17 18:06:47 -07001433// Deprecated: Use Nests_OptGroup_OptNestedGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001434func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -07001435 return file_pb2_test_proto_rawDescGZIP(), []int{4, 0, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001436}
1437
Joe Tsai61968ce2019-04-01 12:59:24 -07001438func (x *Nests_OptGroup_OptNestedGroup) GetOptFixed32() uint32 {
1439 if x != nil && x.OptFixed32 != nil {
1440 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -08001441 }
1442 return 0
1443}
1444
Joe Tsai7ca70982019-04-15 13:57:56 -07001445var file_pb2_test_proto_extDescs = []protoiface.ExtensionDescV1{
Joe Tsaiafb455e2019-03-14 16:08:22 -07001446 {
1447 ExtendedType: (*Extensions)(nil),
1448 ExtensionType: (*bool)(nil),
1449 Field: 21,
1450 Name: "pb2.opt_ext_bool",
1451 Tag: "varint,21,opt,name=opt_ext_bool",
1452 Filename: "pb2/test.proto",
1453 },
1454 {
1455 ExtendedType: (*Extensions)(nil),
1456 ExtensionType: (*string)(nil),
1457 Field: 22,
1458 Name: "pb2.opt_ext_string",
1459 Tag: "bytes,22,opt,name=opt_ext_string",
1460 Filename: "pb2/test.proto",
1461 },
1462 {
1463 ExtendedType: (*Extensions)(nil),
1464 ExtensionType: (*Enum)(nil),
1465 Field: 23,
1466 Name: "pb2.opt_ext_enum",
1467 Tag: "varint,23,opt,name=opt_ext_enum,enum=pb2.Enum",
1468 Filename: "pb2/test.proto",
1469 },
1470 {
1471 ExtendedType: (*Extensions)(nil),
1472 ExtensionType: (*Nested)(nil),
1473 Field: 24,
1474 Name: "pb2.opt_ext_nested",
1475 Tag: "bytes,24,opt,name=opt_ext_nested",
1476 Filename: "pb2/test.proto",
1477 },
1478 {
1479 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001480 ExtensionType: (*PartialRequired)(nil),
1481 Field: 25,
1482 Name: "pb2.opt_ext_partial",
1483 Tag: "bytes,25,opt,name=opt_ext_partial",
1484 Filename: "pb2/test.proto",
1485 },
1486 {
1487 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001488 ExtensionType: ([]uint32)(nil),
1489 Field: 31,
1490 Name: "pb2.rpt_ext_fixed32",
1491 Tag: "fixed32,31,rep,name=rpt_ext_fixed32",
1492 Filename: "pb2/test.proto",
1493 },
1494 {
1495 ExtendedType: (*Extensions)(nil),
1496 ExtensionType: ([]Enum)(nil),
1497 Field: 32,
1498 Name: "pb2.rpt_ext_enum",
1499 Tag: "varint,32,rep,name=rpt_ext_enum,enum=pb2.Enum",
1500 Filename: "pb2/test.proto",
1501 },
1502 {
1503 ExtendedType: (*Extensions)(nil),
1504 ExtensionType: ([]*Nested)(nil),
1505 Field: 33,
1506 Name: "pb2.rpt_ext_nested",
1507 Tag: "bytes,33,rep,name=rpt_ext_nested",
1508 Filename: "pb2/test.proto",
1509 },
1510 {
1511 ExtendedType: (*MessageSet)(nil),
1512 ExtensionType: (*FakeMessageSetExtension)(nil),
1513 Field: 50,
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001514 Name: "pb2.message_set_extension",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001515 Tag: "bytes,50,opt,name=message_set_extension",
1516 Filename: "pb2/test.proto",
1517 },
1518 {
1519 ExtendedType: (*Extensions)(nil),
1520 ExtensionType: (*bool)(nil),
1521 Field: 51,
1522 Name: "pb2.ExtensionsContainer.opt_ext_bool",
1523 Tag: "varint,51,opt,name=opt_ext_bool",
1524 Filename: "pb2/test.proto",
1525 },
1526 {
1527 ExtendedType: (*Extensions)(nil),
1528 ExtensionType: (*string)(nil),
1529 Field: 52,
1530 Name: "pb2.ExtensionsContainer.opt_ext_string",
1531 Tag: "bytes,52,opt,name=opt_ext_string",
1532 Filename: "pb2/test.proto",
1533 },
1534 {
1535 ExtendedType: (*Extensions)(nil),
1536 ExtensionType: (*Enum)(nil),
1537 Field: 53,
1538 Name: "pb2.ExtensionsContainer.opt_ext_enum",
1539 Tag: "varint,53,opt,name=opt_ext_enum,enum=pb2.Enum",
1540 Filename: "pb2/test.proto",
1541 },
1542 {
1543 ExtendedType: (*Extensions)(nil),
1544 ExtensionType: (*Nested)(nil),
1545 Field: 54,
1546 Name: "pb2.ExtensionsContainer.opt_ext_nested",
1547 Tag: "bytes,54,opt,name=opt_ext_nested",
1548 Filename: "pb2/test.proto",
1549 },
1550 {
1551 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001552 ExtensionType: (*PartialRequired)(nil),
1553 Field: 55,
1554 Name: "pb2.ExtensionsContainer.opt_ext_partial",
1555 Tag: "bytes,55,opt,name=opt_ext_partial",
1556 Filename: "pb2/test.proto",
1557 },
1558 {
1559 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001560 ExtensionType: ([]string)(nil),
1561 Field: 61,
1562 Name: "pb2.ExtensionsContainer.rpt_ext_string",
1563 Tag: "bytes,61,rep,name=rpt_ext_string",
1564 Filename: "pb2/test.proto",
1565 },
1566 {
1567 ExtendedType: (*Extensions)(nil),
1568 ExtensionType: ([]Enum)(nil),
1569 Field: 62,
1570 Name: "pb2.ExtensionsContainer.rpt_ext_enum",
1571 Tag: "varint,62,rep,name=rpt_ext_enum,enum=pb2.Enum",
1572 Filename: "pb2/test.proto",
1573 },
1574 {
1575 ExtendedType: (*Extensions)(nil),
1576 ExtensionType: ([]*Nested)(nil),
1577 Field: 63,
1578 Name: "pb2.ExtensionsContainer.rpt_ext_nested",
1579 Tag: "bytes,63,rep,name=rpt_ext_nested",
1580 Filename: "pb2/test.proto",
1581 },
1582 {
1583 ExtendedType: (*MessageSet)(nil),
1584 ExtensionType: (*MessageSetExtension)(nil),
1585 Field: 10,
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001586 Name: "pb2.MessageSetExtension.message_set_extension",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001587 Tag: "bytes,10,opt,name=message_set_extension",
1588 Filename: "pb2/test.proto",
1589 },
1590 {
1591 ExtendedType: (*MessageSet)(nil),
1592 ExtensionType: (*MessageSetExtension)(nil),
1593 Field: 20,
1594 Name: "pb2.MessageSetExtension.not_message_set_extension",
1595 Tag: "bytes,20,opt,name=not_message_set_extension",
1596 Filename: "pb2/test.proto",
1597 },
1598 {
1599 ExtendedType: (*MessageSet)(nil),
1600 ExtensionType: (*Nested)(nil),
1601 Field: 30,
1602 Name: "pb2.MessageSetExtension.ext_nested",
1603 Tag: "bytes,30,opt,name=ext_nested",
1604 Filename: "pb2/test.proto",
1605 },
1606 {
1607 ExtendedType: (*FakeMessageSet)(nil),
1608 ExtensionType: (*FakeMessageSetExtension)(nil),
1609 Field: 10,
1610 Name: "pb2.FakeMessageSetExtension.message_set_extension",
1611 Tag: "bytes,10,opt,name=message_set_extension",
1612 Filename: "pb2/test.proto",
1613 },
Herbie Ong8170d692019-02-13 14:13:21 -08001614}
Joe Tsai4a7d6332019-08-06 16:45:11 -07001615
1616// Extension fields to Extensions.
Joe Tsaiafb455e2019-03-14 16:08:22 -07001617var (
Joe Tsai4a7d6332019-08-06 16:45:11 -07001618 // optional bool opt_ext_bool = 21;
Joe Tsai7ca70982019-04-15 13:57:56 -07001619 E_OptExtBool = &file_pb2_test_proto_extDescs[0]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001620 // optional string opt_ext_string = 22;
Joe Tsai7ca70982019-04-15 13:57:56 -07001621 E_OptExtString = &file_pb2_test_proto_extDescs[1]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001622 // optional pb2.Enum opt_ext_enum = 23;
Joe Tsai7ca70982019-04-15 13:57:56 -07001623 E_OptExtEnum = &file_pb2_test_proto_extDescs[2]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001624 // optional pb2.Nested opt_ext_nested = 24;
Joe Tsai7ca70982019-04-15 13:57:56 -07001625 E_OptExtNested = &file_pb2_test_proto_extDescs[3]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001626 // optional pb2.PartialRequired opt_ext_partial = 25;
Joe Tsai7ca70982019-04-15 13:57:56 -07001627 E_OptExtPartial = &file_pb2_test_proto_extDescs[4]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001628 // repeated fixed32 rpt_ext_fixed32 = 31;
Joe Tsai7ca70982019-04-15 13:57:56 -07001629 E_RptExtFixed32 = &file_pb2_test_proto_extDescs[5]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001630 // repeated pb2.Enum rpt_ext_enum = 32;
Joe Tsai7ca70982019-04-15 13:57:56 -07001631 E_RptExtEnum = &file_pb2_test_proto_extDescs[6]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001632 // repeated pb2.Nested rpt_ext_nested = 33;
Joe Tsai7ca70982019-04-15 13:57:56 -07001633 E_RptExtNested = &file_pb2_test_proto_extDescs[7]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001634 // optional bool opt_ext_bool = 51;
Joe Tsai7ca70982019-04-15 13:57:56 -07001635 E_ExtensionsContainer_OptExtBool = &file_pb2_test_proto_extDescs[9]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001636 // optional string opt_ext_string = 52;
Joe Tsai7ca70982019-04-15 13:57:56 -07001637 E_ExtensionsContainer_OptExtString = &file_pb2_test_proto_extDescs[10]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001638 // optional pb2.Enum opt_ext_enum = 53;
Joe Tsai7ca70982019-04-15 13:57:56 -07001639 E_ExtensionsContainer_OptExtEnum = &file_pb2_test_proto_extDescs[11]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001640 // optional pb2.Nested opt_ext_nested = 54;
Joe Tsai7ca70982019-04-15 13:57:56 -07001641 E_ExtensionsContainer_OptExtNested = &file_pb2_test_proto_extDescs[12]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001642 // optional pb2.PartialRequired opt_ext_partial = 55;
Joe Tsai7ca70982019-04-15 13:57:56 -07001643 E_ExtensionsContainer_OptExtPartial = &file_pb2_test_proto_extDescs[13]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001644 // repeated string rpt_ext_string = 61;
Joe Tsai7ca70982019-04-15 13:57:56 -07001645 E_ExtensionsContainer_RptExtString = &file_pb2_test_proto_extDescs[14]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001646 // repeated pb2.Enum rpt_ext_enum = 62;
Joe Tsai7ca70982019-04-15 13:57:56 -07001647 E_ExtensionsContainer_RptExtEnum = &file_pb2_test_proto_extDescs[15]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001648 // repeated pb2.Nested rpt_ext_nested = 63;
Joe Tsai7ca70982019-04-15 13:57:56 -07001649 E_ExtensionsContainer_RptExtNested = &file_pb2_test_proto_extDescs[16]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001650)
Herbie Ong8170d692019-02-13 14:13:21 -08001651
Joe Tsai4a7d6332019-08-06 16:45:11 -07001652// Extension fields to MessageSet.
1653var (
1654 // optional pb2.FakeMessageSetExtension message_set_extension = 50;
1655 E_MessageSetExtension = &file_pb2_test_proto_extDescs[8]
1656 // optional pb2.MessageSetExtension message_set_extension = 10;
Joe Tsai7ca70982019-04-15 13:57:56 -07001657 E_MessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[17]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001658 // optional pb2.MessageSetExtension not_message_set_extension = 20;
Joe Tsai7ca70982019-04-15 13:57:56 -07001659 E_MessageSetExtension_NotMessageSetExtension = &file_pb2_test_proto_extDescs[18]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001660 // optional pb2.Nested ext_nested = 30;
Joe Tsai7ca70982019-04-15 13:57:56 -07001661 E_MessageSetExtension_ExtNested = &file_pb2_test_proto_extDescs[19]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001662)
Herbie Ong8170d692019-02-13 14:13:21 -08001663
Joe Tsai4a7d6332019-08-06 16:45:11 -07001664// Extension fields to FakeMessageSet.
1665var (
1666 // optional pb2.FakeMessageSetExtension message_set_extension = 10;
Joe Tsai7ca70982019-04-15 13:57:56 -07001667 E_FakeMessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[20]
Joe Tsaiafb455e2019-03-14 16:08:22 -07001668)
Joe Tsai4a7d6332019-08-06 16:45:11 -07001669
Joe Tsai5d72cc22019-03-28 01:13:26 -07001670var File_pb2_test_proto protoreflect.FileDescriptor
1671
Joe Tsai7ca70982019-04-15 13:57:56 -07001672var file_pb2_test_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -08001673 0x0a, 0x0e, 0x70, 0x62, 0x32, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1674 0x12, 0x03, 0x70, 0x62, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
1675 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1676 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001677 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67,
1678 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66,
1679 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1680 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1681 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1682 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1683 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
1684 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
1685 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e,
1686 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
1687 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda,
1688 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70,
1689 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x70,
1690 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74,
1691 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1692 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
1693 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12,
1694 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20,
1695 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d,
Joe Tsai19058432019-02-27 21:46:29 -08001696 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001697 0x28, 0x04, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a,
1698 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28,
1699 0x11, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a,
1700 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12,
1701 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1f, 0x0a, 0x0b, 0x6f,
1702 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07,
1703 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1f, 0x0a, 0x0b,
1704 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28,
1705 0x06, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x21, 0x0a,
1706 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20,
1707 0x01, 0x28, 0x0f, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1708 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
1709 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65,
1710 0x64, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74,
1711 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74,
1712 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15,
1713 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12,
1714 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01,
1715 0x28, 0x0c, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1716 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09,
1717 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xfb, 0x01, 0x0a, 0x05,
1718 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x24, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75,
1719 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1720 0x75, 0x6d, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x08, 0x72,
1721 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1722 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x70, 0x74, 0x45, 0x6e, 0x75,
1723 0x6d, 0x12, 0x3d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f,
1724 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32,
1725 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75,
1726 0x6d, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1727 0x12, 0x3d, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65,
1728 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1729 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
1730 0x52, 0x0d, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22,
1731 0x28, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a,
1732 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12,
1733 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x94, 0x02, 0x0a, 0x07, 0x52, 0x65,
1734 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1735 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x07, 0x72, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c,
1736 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20,
1737 0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1b, 0x0a,
1738 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03,
1739 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70,
1740 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09,
1741 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74,
1742 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72,
1743 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f,
1744 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x02, 0x52, 0x08, 0x72, 0x70, 0x74,
1745 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75,
1746 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x72, 0x70, 0x74, 0x44, 0x6f,
1747 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69,
1748 0x6e, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72,
1749 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73,
1750 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73,
1751 0x22, 0x53, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70,
1752 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
1753 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1754 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1755 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e,
1756 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0xd3, 0x03, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12,
1757 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20,
1758 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1759 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x6f,
1760 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x13, 0x2e,
1761 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f,
1762 0x75, 0x70, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x0a,
1763 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
1764 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72,
1765 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x67,
1766 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x32,
1767 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
1768 0x08, 0x72, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0xd4, 0x01, 0x0a, 0x08, 0x4f, 0x70,
1769 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74,
1770 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53,
1771 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1772 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1773 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65,
1774 0x64, 0x12, 0x4a, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72,
1775 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x22, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1776 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4f,
1777 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0e, 0x6f,
1778 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x31, 0x0a,
1779 0x0e, 0x4f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
1780 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x01,
1781 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1782 0x1a, 0x29, 0x0a, 0x08, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a,
1783 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
1784 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x72, 0x65, 0x73,
1785 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0xd9, 0x01, 0x0a, 0x09,
1786 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x71,
1787 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x71,
1788 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x66, 0x69, 0x78,
1789 0x65, 0x64, 0x36, 0x34, 0x18, 0x02, 0x20, 0x02, 0x28, 0x10, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x53,
1790 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x64,
1791 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71,
1792 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74,
1793 0x72, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53,
1794 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x5f, 0x65, 0x6e, 0x75,
1795 0x6d, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1796 0x75, 0x6d, 0x52, 0x07, 0x72, 0x65, 0x71, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x0a, 0x72,
1797 0x65, 0x71, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0b, 0x32,
1798 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72, 0x65,
1799 0x71, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4f, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x69,
1800 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65,
1801 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09,
1802 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1803 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1804 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x33, 0x0a, 0x12, 0x4e, 0x65, 0x73, 0x74,
1805 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d,
1806 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02,
1807 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xee, 0x02,
1808 0x0a, 0x10, 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
1809 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1810 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73,
1811 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52,
1812 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x72, 0x70,
1813 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17,
1814 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52,
1815 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74,
1816 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73,
1817 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1818 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
1819 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72,
1820 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3c,
1821 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04,
1822 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
1823 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x48, 0x00, 0x52,
1824 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x1a, 0x57, 0x0a, 0x10,
1825 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79,
1826 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
1827 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
1828 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69,
1829 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
1830 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0x69,
1831 0x0a, 0x0a, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
1832 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1833 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x6f,
1834 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x65, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f,
1835 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e,
1836 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e,
Herbie Ong09b28a92019-04-03 15:42:41 -07001837 0x74, 0x33, 0x32, 0x2a, 0x04, 0x08, 0x14, 0x10, 0x65, 0x22, 0x89, 0x04, 0x0a, 0x13, 0x45, 0x78,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001838 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
1839 0x72, 0x32, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
1840 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1841 0x6e, 0x73, 0x18, 0x33, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1842 0x42, 0x6f, 0x6f, 0x6c, 0x32, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1843 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1844 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x34, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f,
1845 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x6f,
1846 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1847 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x35, 0x20, 0x01,
1848 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f,
1849 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74,
1850 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1851 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x36, 0x20, 0x01,
1852 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
Herbie Ong09b28a92019-04-03 15:42:41 -07001853 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x32, 0x4d, 0x0a,
1854 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1855 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1856 0x73, 0x18, 0x37, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61,
1857 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f,
1858 0x70, 0x74, 0x45, 0x78, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x32, 0x35, 0x0a, 0x0e,
1859 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f,
1860 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
1861 0x3d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72,
1862 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65,
1863 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1864 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32,
1865 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75,
1866 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1867 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1868 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32,
1869 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e,
1870 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
1871 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07, 0x3a, 0x02, 0x08,
1872 0x01, 0x22, 0xb6, 0x02, 0x0a, 0x13, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74,
1873 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1874 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
1875 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x5d, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73,
1876 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1877 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
1878 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d,
Herbie Ong300b9fe2019-03-29 15:42:20 -07001879 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1880 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78,
Herbie Ong09b28a92019-04-03 15:42:41 -07001881 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x64, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x5f, 0x6d,
1882 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
1883 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
1884 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62,
1885 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
1886 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x6e, 0x6f, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
1887 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x3b, 0x0a,
1888 0x0a, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1889 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x1e, 0x20, 0x01,
1890 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
1891 0x09, 0x65, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0e, 0x46, 0x61,
1892 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04,
1893 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9f, 0x01, 0x0a, 0x17, 0x46, 0x61, 0x6b, 0x65, 0x4d,
1894 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1895 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
1896 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e,
1897 0x67, 0x32, 0x65, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74,
1898 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x32,
1899 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18,
1900 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65,
1901 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1902 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45,
1903 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x9e, 0x08, 0x0a, 0x0a, 0x4b, 0x6e, 0x6f,
1904 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62,
1905 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1906 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c,
1907 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x38,
1908 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28,
1909 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1910 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08,
1911 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1912 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
1913 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e,
1914 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
1915 0x36, 0x34, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32,
1916 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1917 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
1918 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
1919 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20,
1920 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1921 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75,
1922 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x38, 0x0a, 0x09,
1923 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
1924 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1925 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70,
1926 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f,
1927 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
1928 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75,
1929 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75,
1930 0x62, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1931 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1932 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1933 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1934 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20,
1935 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1936 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65,
1937 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x70,
1938 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b,
1939 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1940 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6f, 0x70, 0x74,
1941 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
1942 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
1943 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1944 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6f, 0x70, 0x74,
1945 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1946 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
1947 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
1948 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63,
1949 0x74, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x1a, 0x20,
1950 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1951 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
1952 0x07, 0x6f, 0x70, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
1953 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f,
1954 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61,
1955 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x35, 0x0a,
1956 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0e, 0x32,
1957 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1958 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74,
1959 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x74,
1960 0x79, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1961 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52,
1962 0x08, 0x6f, 0x70, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x6f, 0x70, 0x74,
1963 0x5f, 0x61, 0x6e, 0x79, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
1964 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
1965 0x52, 0x06, 0x6f, 0x70, 0x74, 0x41, 0x6e, 0x79, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f,
1966 0x66, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b, 0x32,
1967 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1968 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x6f, 0x70, 0x74,
1969 0x46, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x2a, 0x21, 0x0a, 0x04, 0x45, 0x6e, 0x75,
1970 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57,
1971 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10, 0x0a, 0x3a, 0x31, 0x0a, 0x0c,
1972 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70,
1973 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15, 0x20,
1974 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x3a,
1975 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
1976 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1977 0x6e, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1978 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78,
1979 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1980 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e,
1981 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1982 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1983 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1984 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1985 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45,
1986 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a, 0x4d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f,
1987 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1988 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x19, 0x20, 0x01,
1989 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1990 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74,
1991 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x3a, 0x37, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x65,
1992 0x78, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32,
1993 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28,
1994 0x07, 0x52, 0x0d, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1995 0x3a, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d,
1996 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1997 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
1998 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42,
1999 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
2000 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
2001 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65,
2002 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74,
2003 0x65, 0x64, 0x3a, 0x61, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65,
2004 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62,
2005 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x32, 0x20, 0x01,
2006 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73,
2007 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
2008 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
Damien Neile89e6242019-05-13 23:55:40 -07002009 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2010 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
2011 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73,
2012 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x32,
Herbie Ong8170d692019-02-13 14:13:21 -08002013}
2014
Joe Tsai5d72cc22019-03-28 01:13:26 -07002015var (
Joe Tsai7ca70982019-04-15 13:57:56 -07002016 file_pb2_test_proto_rawDescOnce sync.Once
2017 file_pb2_test_proto_rawDescData = file_pb2_test_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -07002018)
Herbie Ong8170d692019-02-13 14:13:21 -08002019
Joe Tsai7ca70982019-04-15 13:57:56 -07002020func file_pb2_test_proto_rawDescGZIP() []byte {
2021 file_pb2_test_proto_rawDescOnce.Do(func() {
2022 file_pb2_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb2_test_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -07002023 })
Joe Tsai7ca70982019-04-15 13:57:56 -07002024 return file_pb2_test_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -07002025}
Herbie Ong8170d692019-02-13 14:13:21 -08002026
Damien Neil4401a0d2019-08-06 15:26:36 -07002027var file_pb2_test_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
Joe Tsai4fe96632019-05-22 05:12:36 -04002028var file_pb2_test_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
Joe Tsai7ca70982019-04-15 13:57:56 -07002029var file_pb2_test_proto_goTypes = []interface{}{
Herbie Ong8170d692019-02-13 14:13:21 -08002030 (Enum)(0), // 0: pb2.Enum
2031 (Enums_NestedEnum)(0), // 1: pb2.Enums.NestedEnum
2032 (*Scalars)(nil), // 2: pb2.Scalars
2033 (*Enums)(nil), // 3: pb2.Enums
2034 (*Repeats)(nil), // 4: pb2.Repeats
2035 (*Nested)(nil), // 5: pb2.Nested
2036 (*Nests)(nil), // 6: pb2.Nests
2037 (*Requireds)(nil), // 7: pb2.Requireds
2038 (*PartialRequired)(nil), // 8: pb2.PartialRequired
2039 (*NestedWithRequired)(nil), // 9: pb2.NestedWithRequired
2040 (*IndirectRequired)(nil), // 10: pb2.IndirectRequired
2041 (*Extensions)(nil), // 11: pb2.Extensions
2042 (*ExtensionsContainer)(nil), // 12: pb2.ExtensionsContainer
2043 (*MessageSet)(nil), // 13: pb2.MessageSet
2044 (*MessageSetExtension)(nil), // 14: pb2.MessageSetExtension
2045 (*FakeMessageSet)(nil), // 15: pb2.FakeMessageSet
2046 (*FakeMessageSetExtension)(nil), // 16: pb2.FakeMessageSetExtension
2047 (*KnownTypes)(nil), // 17: pb2.KnownTypes
2048 (*Nests_OptGroup)(nil), // 18: pb2.Nests.OptGroup
2049 (*Nests_RptGroup)(nil), // 19: pb2.Nests.RptGroup
2050 (*Nests_OptGroup_OptNestedGroup)(nil), // 20: pb2.Nests.OptGroup.OptNestedGroup
2051 nil, // 21: pb2.IndirectRequired.StrToNestedEntry
Joe Tsaia95b29f2019-05-16 12:47:20 -07002052 (*wrapperspb.BoolValue)(nil), // 22: google.protobuf.BoolValue
2053 (*wrapperspb.Int32Value)(nil), // 23: google.protobuf.Int32Value
2054 (*wrapperspb.Int64Value)(nil), // 24: google.protobuf.Int64Value
2055 (*wrapperspb.UInt32Value)(nil), // 25: google.protobuf.UInt32Value
2056 (*wrapperspb.UInt64Value)(nil), // 26: google.protobuf.UInt64Value
2057 (*wrapperspb.FloatValue)(nil), // 27: google.protobuf.FloatValue
2058 (*wrapperspb.DoubleValue)(nil), // 28: google.protobuf.DoubleValue
2059 (*wrapperspb.StringValue)(nil), // 29: google.protobuf.StringValue
2060 (*wrapperspb.BytesValue)(nil), // 30: google.protobuf.BytesValue
2061 (*durationpb.Duration)(nil), // 31: google.protobuf.Duration
2062 (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp
2063 (*structpb.Struct)(nil), // 33: google.protobuf.Struct
2064 (*structpb.ListValue)(nil), // 34: google.protobuf.ListValue
2065 (*structpb.Value)(nil), // 35: google.protobuf.Value
2066 (structpb.NullValue)(0), // 36: google.protobuf.NullValue
2067 (*emptypb.Empty)(nil), // 37: google.protobuf.Empty
2068 (*anypb.Any)(nil), // 38: google.protobuf.Any
2069 (*fieldmaskpb.FieldMask)(nil), // 39: google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08002070}
Joe Tsai7ca70982019-04-15 13:57:56 -07002071var file_pb2_test_proto_depIdxs = []int32{
Joe Tsai73288392019-08-14 11:55:31 -07002072 0, // 0: pb2.Enums.opt_enum:type_name -> pb2.Enum
2073 0, // 1: pb2.Enums.rpt_enum:type_name -> pb2.Enum
2074 1, // 2: pb2.Enums.opt_nested_enum:type_name -> pb2.Enums.NestedEnum
2075 1, // 3: pb2.Enums.rpt_nested_enum:type_name -> pb2.Enums.NestedEnum
2076 5, // 4: pb2.Nested.opt_nested:type_name -> pb2.Nested
2077 5, // 5: pb2.Nests.opt_nested:type_name -> pb2.Nested
2078 18, // 6: pb2.Nests.optgroup:type_name -> pb2.Nests.OptGroup
2079 5, // 7: pb2.Nests.rpt_nested:type_name -> pb2.Nested
2080 19, // 8: pb2.Nests.rptgroup:type_name -> pb2.Nests.RptGroup
2081 0, // 9: pb2.Requireds.req_enum:type_name -> pb2.Enum
2082 5, // 10: pb2.Requireds.req_nested:type_name -> pb2.Nested
2083 9, // 11: pb2.IndirectRequired.opt_nested:type_name -> pb2.NestedWithRequired
2084 9, // 12: pb2.IndirectRequired.rpt_nested:type_name -> pb2.NestedWithRequired
2085 21, // 13: pb2.IndirectRequired.str_to_nested:type_name -> pb2.IndirectRequired.StrToNestedEntry
2086 9, // 14: pb2.IndirectRequired.oneof_nested:type_name -> pb2.NestedWithRequired
2087 22, // 15: pb2.KnownTypes.opt_bool:type_name -> google.protobuf.BoolValue
2088 23, // 16: pb2.KnownTypes.opt_int32:type_name -> google.protobuf.Int32Value
2089 24, // 17: pb2.KnownTypes.opt_int64:type_name -> google.protobuf.Int64Value
2090 25, // 18: pb2.KnownTypes.opt_uint32:type_name -> google.protobuf.UInt32Value
2091 26, // 19: pb2.KnownTypes.opt_uint64:type_name -> google.protobuf.UInt64Value
2092 27, // 20: pb2.KnownTypes.opt_float:type_name -> google.protobuf.FloatValue
2093 28, // 21: pb2.KnownTypes.opt_double:type_name -> google.protobuf.DoubleValue
2094 29, // 22: pb2.KnownTypes.opt_string:type_name -> google.protobuf.StringValue
2095 30, // 23: pb2.KnownTypes.opt_bytes:type_name -> google.protobuf.BytesValue
2096 31, // 24: pb2.KnownTypes.opt_duration:type_name -> google.protobuf.Duration
2097 32, // 25: pb2.KnownTypes.opt_timestamp:type_name -> google.protobuf.Timestamp
2098 33, // 26: pb2.KnownTypes.opt_struct:type_name -> google.protobuf.Struct
2099 34, // 27: pb2.KnownTypes.opt_list:type_name -> google.protobuf.ListValue
2100 35, // 28: pb2.KnownTypes.opt_value:type_name -> google.protobuf.Value
2101 36, // 29: pb2.KnownTypes.opt_null:type_name -> google.protobuf.NullValue
2102 37, // 30: pb2.KnownTypes.opt_empty:type_name -> google.protobuf.Empty
2103 38, // 31: pb2.KnownTypes.opt_any:type_name -> google.protobuf.Any
2104 39, // 32: pb2.KnownTypes.opt_fieldmask:type_name -> google.protobuf.FieldMask
2105 5, // 33: pb2.Nests.OptGroup.opt_nested:type_name -> pb2.Nested
2106 20, // 34: pb2.Nests.OptGroup.optnestedgroup:type_name -> pb2.Nests.OptGroup.OptNestedGroup
2107 9, // 35: pb2.IndirectRequired.StrToNestedEntry.value:type_name -> pb2.NestedWithRequired
2108 11, // 36: pb2.opt_ext_bool:extendee -> pb2.Extensions
2109 11, // 37: pb2.opt_ext_string:extendee -> pb2.Extensions
2110 11, // 38: pb2.opt_ext_enum:extendee -> pb2.Extensions
2111 11, // 39: pb2.opt_ext_nested:extendee -> pb2.Extensions
2112 11, // 40: pb2.opt_ext_partial:extendee -> pb2.Extensions
2113 11, // 41: pb2.rpt_ext_fixed32:extendee -> pb2.Extensions
2114 11, // 42: pb2.rpt_ext_enum:extendee -> pb2.Extensions
2115 11, // 43: pb2.rpt_ext_nested:extendee -> pb2.Extensions
2116 13, // 44: pb2.message_set_extension:extendee -> pb2.MessageSet
2117 11, // 45: pb2.ExtensionsContainer.opt_ext_bool:extendee -> pb2.Extensions
2118 11, // 46: pb2.ExtensionsContainer.opt_ext_string:extendee -> pb2.Extensions
2119 11, // 47: pb2.ExtensionsContainer.opt_ext_enum:extendee -> pb2.Extensions
2120 11, // 48: pb2.ExtensionsContainer.opt_ext_nested:extendee -> pb2.Extensions
2121 11, // 49: pb2.ExtensionsContainer.opt_ext_partial:extendee -> pb2.Extensions
2122 11, // 50: pb2.ExtensionsContainer.rpt_ext_string:extendee -> pb2.Extensions
2123 11, // 51: pb2.ExtensionsContainer.rpt_ext_enum:extendee -> pb2.Extensions
2124 11, // 52: pb2.ExtensionsContainer.rpt_ext_nested:extendee -> pb2.Extensions
2125 13, // 53: pb2.MessageSetExtension.message_set_extension:extendee -> pb2.MessageSet
2126 13, // 54: pb2.MessageSetExtension.not_message_set_extension:extendee -> pb2.MessageSet
2127 13, // 55: pb2.MessageSetExtension.ext_nested:extendee -> pb2.MessageSet
2128 15, // 56: pb2.FakeMessageSetExtension.message_set_extension:extendee -> pb2.FakeMessageSet
2129 0, // 57: pb2.opt_ext_enum:type_name -> pb2.Enum
2130 5, // 58: pb2.opt_ext_nested:type_name -> pb2.Nested
2131 8, // 59: pb2.opt_ext_partial:type_name -> pb2.PartialRequired
2132 0, // 60: pb2.rpt_ext_enum:type_name -> pb2.Enum
2133 5, // 61: pb2.rpt_ext_nested:type_name -> pb2.Nested
2134 16, // 62: pb2.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2135 0, // 63: pb2.ExtensionsContainer.opt_ext_enum:type_name -> pb2.Enum
2136 5, // 64: pb2.ExtensionsContainer.opt_ext_nested:type_name -> pb2.Nested
2137 8, // 65: pb2.ExtensionsContainer.opt_ext_partial:type_name -> pb2.PartialRequired
2138 0, // 66: pb2.ExtensionsContainer.rpt_ext_enum:type_name -> pb2.Enum
2139 5, // 67: pb2.ExtensionsContainer.rpt_ext_nested:type_name -> pb2.Nested
2140 14, // 68: pb2.MessageSetExtension.message_set_extension:type_name -> pb2.MessageSetExtension
2141 14, // 69: pb2.MessageSetExtension.not_message_set_extension:type_name -> pb2.MessageSetExtension
2142 5, // 70: pb2.MessageSetExtension.ext_nested:type_name -> pb2.Nested
2143 16, // 71: pb2.FakeMessageSetExtension.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2144 72, // [72:72] is the sub-list for method output_type
2145 72, // [72:72] is the sub-list for method input_type
2146 57, // [57:72] is the sub-list for extension type_name
2147 36, // [36:57] is the sub-list for extension extendee
2148 0, // [0:36] is the sub-list for field type_name
Herbie Ong8170d692019-02-13 14:13:21 -08002149}
2150
Joe Tsai7ca70982019-04-15 13:57:56 -07002151func init() { file_pb2_test_proto_init() }
2152func file_pb2_test_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -08002153 if File_pb2_test_proto != nil {
2154 return
2155 }
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002156 if !protoimpl.UnsafeEnabled {
2157 file_pb2_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2158 switch v := v.(*Scalars); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002159 case 0:
2160 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002161 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002162 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002163 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002164 return &v.unknownFields
2165 default:
2166 return nil
2167 }
2168 }
2169 file_pb2_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2170 switch v := v.(*Enums); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002171 case 0:
2172 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002173 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002174 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002175 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002176 return &v.unknownFields
2177 default:
2178 return nil
2179 }
2180 }
2181 file_pb2_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2182 switch v := v.(*Repeats); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002183 case 0:
2184 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002185 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002186 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002187 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002188 return &v.unknownFields
2189 default:
2190 return nil
2191 }
2192 }
2193 file_pb2_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2194 switch v := v.(*Nested); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002195 case 0:
2196 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002197 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002198 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002199 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002200 return &v.unknownFields
2201 default:
2202 return nil
2203 }
2204 }
2205 file_pb2_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2206 switch v := v.(*Nests); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002207 case 0:
2208 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002209 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002210 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002211 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002212 return &v.unknownFields
2213 default:
2214 return nil
2215 }
2216 }
2217 file_pb2_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2218 switch v := v.(*Requireds); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002219 case 0:
2220 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002221 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002222 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002223 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002224 return &v.unknownFields
2225 default:
2226 return nil
2227 }
2228 }
2229 file_pb2_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
2230 switch v := v.(*PartialRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002231 case 0:
2232 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002233 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002234 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002235 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002236 return &v.unknownFields
2237 default:
2238 return nil
2239 }
2240 }
2241 file_pb2_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2242 switch v := v.(*NestedWithRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002243 case 0:
2244 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002245 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002246 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002247 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002248 return &v.unknownFields
2249 default:
2250 return nil
2251 }
2252 }
2253 file_pb2_test_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
2254 switch v := v.(*IndirectRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002255 case 0:
2256 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002257 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002258 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002259 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002260 return &v.unknownFields
2261 default:
2262 return nil
2263 }
2264 }
2265 file_pb2_test_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
2266 switch v := v.(*Extensions); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002267 case 0:
2268 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002269 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002270 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002271 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002272 return &v.unknownFields
Joe Tsai38b61962019-08-05 13:09:30 -07002273 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002274 return &v.extensionFields
2275 default:
2276 return nil
2277 }
2278 }
2279 file_pb2_test_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2280 switch v := v.(*ExtensionsContainer); i {
2281 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002282 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002283 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002284 return &v.sizeCache
2285 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002286 return &v.unknownFields
2287 default:
2288 return nil
2289 }
2290 }
2291 file_pb2_test_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2292 switch v := v.(*MessageSet); i {
2293 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002294 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002295 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002296 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002297 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002298 return &v.unknownFields
2299 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002300 return &v.extensionFields
2301 default:
2302 return nil
2303 }
2304 }
2305 file_pb2_test_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2306 switch v := v.(*MessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002307 case 0:
2308 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002309 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002310 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002311 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002312 return &v.unknownFields
2313 default:
2314 return nil
2315 }
2316 }
2317 file_pb2_test_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
2318 switch v := v.(*FakeMessageSet); i {
2319 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002320 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002321 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002322 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002323 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002324 return &v.unknownFields
2325 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002326 return &v.extensionFields
2327 default:
2328 return nil
2329 }
2330 }
2331 file_pb2_test_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
2332 switch v := v.(*FakeMessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002333 case 0:
2334 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002335 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002336 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002337 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002338 return &v.unknownFields
2339 default:
2340 return nil
2341 }
2342 }
2343 file_pb2_test_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
2344 switch v := v.(*KnownTypes); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002345 case 0:
2346 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002347 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002348 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002349 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002350 return &v.unknownFields
2351 default:
2352 return nil
2353 }
2354 }
2355 file_pb2_test_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
2356 switch v := v.(*Nests_OptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002357 case 0:
2358 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002359 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002360 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002361 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002362 return &v.unknownFields
2363 default:
2364 return nil
2365 }
2366 }
2367 file_pb2_test_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
2368 switch v := v.(*Nests_RptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002369 case 0:
2370 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002371 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002372 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002373 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002374 return &v.unknownFields
2375 default:
2376 return nil
2377 }
2378 }
2379 file_pb2_test_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
2380 switch v := v.(*Nests_OptGroup_OptNestedGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002381 case 0:
2382 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002383 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002384 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002385 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002386 return &v.unknownFields
2387 default:
2388 return nil
2389 }
2390 }
2391 }
Joe Tsai09912272019-07-08 10:38:11 -07002392 file_pb2_test_proto_msgTypes[8].OneofWrappers = []interface{}{
2393 (*IndirectRequired_OneofNested)(nil),
2394 }
Joe Tsaiaf570872019-07-14 23:04:40 -07002395 type x struct{}
Joe Tsaid8881392019-06-06 13:01:53 -07002396 out := protoimpl.TypeBuilder{
2397 File: protoimpl.DescBuilder{
Joe Tsaiaf570872019-07-14 23:04:40 -07002398 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
Joe Tsaid8881392019-06-06 13:01:53 -07002399 RawDescriptor: file_pb2_test_proto_rawDesc,
2400 NumEnums: 2,
2401 NumMessages: 20,
2402 NumExtensions: 21,
2403 NumServices: 0,
2404 },
2405 GoTypes: file_pb2_test_proto_goTypes,
2406 DependencyIndexes: file_pb2_test_proto_depIdxs,
Damien Neil4401a0d2019-08-06 15:26:36 -07002407 EnumInfos: file_pb2_test_proto_enumTypes,
Joe Tsaid8881392019-06-06 13:01:53 -07002408 MessageInfos: file_pb2_test_proto_msgTypes,
2409 LegacyExtensions: file_pb2_test_proto_extDescs,
2410 }.Build()
2411 File_pb2_test_proto = out.File
Joe Tsai7ca70982019-04-15 13:57:56 -07002412 file_pb2_test_proto_rawDesc = nil
2413 file_pb2_test_proto_goTypes = nil
2414 file_pb2_test_proto_depIdxs = nil
Herbie Ong8170d692019-02-13 14:13:21 -08002415}