blob: cd8c2db676ab295376cffd35e27b9599b1fcf6a4 [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 Tsai94e730b2020-01-10 23:31:25 -08008// source: textpb2/test.proto
Herbie Ong8170d692019-02-13 14:13:21 -08009
Joe Tsai94e730b2020-01-10 23:31:25 -080010package textpb2
Herbie Ong8170d692019-02-13 14:13:21 -080011
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 {
Joe Tsai94e730b2020-01-10 23:31:25 -080060 return file_textpb2_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 {
Joe Tsai94e730b2020-01-10 23:31:25 -080064 return &file_textpb2_test_proto_enumTypes[0]
Joe Tsaid4211502019-07-02 14:58:02 -070065}
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 Tsai94e730b2020-01-10 23:31:25 -080083 return file_textpb2_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 {
Joe Tsai94e730b2020-01-10 23:31:25 -0800119 return file_textpb2_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 {
Joe Tsai94e730b2020-01-10 23:31:25 -0800123 return &file_textpb2_test_proto_enumTypes[1]
Joe Tsaid4211502019-07-02 14:58:02 -0700124}
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 Tsai94e730b2020-01-10 23:31:25 -0800142 return file_textpb2_test_proto_rawDescGZIP(), []int{1, 0}
Herbie Ong8170d692019-02-13 14:13:21 -0800143}
144
145// Scalars contains optional scalar fields.
146type Scalars struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700147 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700148 sizeCache protoimpl.SizeCache
149 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700150
151 OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
152 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
153 OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
154 OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
155 OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
156 OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"`
157 OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"`
158 OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
159 OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"`
160 OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"`
161 OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"`
162 OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
163 OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
164 OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
165 OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800166}
167
Joe Tsai61968ce2019-04-01 12:59:24 -0700168func (x *Scalars) Reset() {
169 *x = Scalars{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700170 if protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -0800171 mi := &file_textpb2_test_proto_msgTypes[0]
Joe Tsaiae313d42019-10-16 10:25:54 -0700172 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
173 ms.StoreMessageInfo(mi)
174 }
Herbie Ong8170d692019-02-13 14:13:21 -0800175}
Joe Tsai61968ce2019-04-01 12:59:24 -0700176
177func (x *Scalars) String() string {
178 return protoimpl.X.MessageStringOf(x)
179}
180
181func (*Scalars) ProtoMessage() {}
182
183func (x *Scalars) ProtoReflect() protoreflect.Message {
Joe Tsai94e730b2020-01-10 23:31:25 -0800184 mi := &file_textpb2_test_proto_msgTypes[0]
Joe Tsai82760ce2019-06-20 03:09:57 -0700185 if protoimpl.UnsafeEnabled && x != nil {
186 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
187 if ms.LoadMessageInfo() == nil {
188 ms.StoreMessageInfo(mi)
189 }
190 return ms
191 }
192 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700193}
Joe Tsai8e506a82019-03-16 00:05:34 -0700194
Joe Tsai43761bd2019-07-17 18:06:47 -0700195// Deprecated: Use Scalars.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800196func (*Scalars) Descriptor() ([]byte, []int) {
Joe Tsai94e730b2020-01-10 23:31:25 -0800197 return file_textpb2_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -0800198}
199
Joe Tsai61968ce2019-04-01 12:59:24 -0700200func (x *Scalars) GetOptBool() bool {
201 if x != nil && x.OptBool != nil {
202 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800203 }
204 return false
205}
206
Joe Tsai61968ce2019-04-01 12:59:24 -0700207func (x *Scalars) GetOptInt32() int32 {
208 if x != nil && x.OptInt32 != nil {
209 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800210 }
211 return 0
212}
213
Joe Tsai61968ce2019-04-01 12:59:24 -0700214func (x *Scalars) GetOptInt64() int64 {
215 if x != nil && x.OptInt64 != nil {
216 return *x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800217 }
218 return 0
219}
220
Joe Tsai61968ce2019-04-01 12:59:24 -0700221func (x *Scalars) GetOptUint32() uint32 {
222 if x != nil && x.OptUint32 != nil {
223 return *x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800224 }
225 return 0
226}
227
Joe Tsai61968ce2019-04-01 12:59:24 -0700228func (x *Scalars) GetOptUint64() uint64 {
229 if x != nil && x.OptUint64 != nil {
230 return *x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800231 }
232 return 0
233}
234
Joe Tsai61968ce2019-04-01 12:59:24 -0700235func (x *Scalars) GetOptSint32() int32 {
236 if x != nil && x.OptSint32 != nil {
237 return *x.OptSint32
Herbie Ong8170d692019-02-13 14:13:21 -0800238 }
239 return 0
240}
241
Joe Tsai61968ce2019-04-01 12:59:24 -0700242func (x *Scalars) GetOptSint64() int64 {
243 if x != nil && x.OptSint64 != nil {
244 return *x.OptSint64
Herbie Ong8170d692019-02-13 14:13:21 -0800245 }
246 return 0
247}
248
Joe Tsai61968ce2019-04-01 12:59:24 -0700249func (x *Scalars) GetOptFixed32() uint32 {
250 if x != nil && x.OptFixed32 != nil {
251 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800252 }
253 return 0
254}
255
Joe Tsai61968ce2019-04-01 12:59:24 -0700256func (x *Scalars) GetOptFixed64() uint64 {
257 if x != nil && x.OptFixed64 != nil {
258 return *x.OptFixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800259 }
260 return 0
261}
262
Joe Tsai61968ce2019-04-01 12:59:24 -0700263func (x *Scalars) GetOptSfixed32() int32 {
264 if x != nil && x.OptSfixed32 != nil {
265 return *x.OptSfixed32
Herbie Ong8170d692019-02-13 14:13:21 -0800266 }
267 return 0
268}
269
Joe Tsai61968ce2019-04-01 12:59:24 -0700270func (x *Scalars) GetOptSfixed64() int64 {
271 if x != nil && x.OptSfixed64 != nil {
272 return *x.OptSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800273 }
274 return 0
275}
276
Joe Tsai61968ce2019-04-01 12:59:24 -0700277func (x *Scalars) GetOptFloat() float32 {
278 if x != nil && x.OptFloat != nil {
279 return *x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800280 }
281 return 0
282}
283
Joe Tsai61968ce2019-04-01 12:59:24 -0700284func (x *Scalars) GetOptDouble() float64 {
285 if x != nil && x.OptDouble != nil {
286 return *x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800287 }
288 return 0
289}
290
Joe Tsai61968ce2019-04-01 12:59:24 -0700291func (x *Scalars) GetOptBytes() []byte {
292 if x != nil {
293 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800294 }
295 return nil
296}
297
Joe Tsai61968ce2019-04-01 12:59:24 -0700298func (x *Scalars) GetOptString() string {
299 if x != nil && x.OptString != nil {
300 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800301 }
302 return ""
303}
304
305// Message contains enum fields.
306type Enums struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700307 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700308 sizeCache protoimpl.SizeCache
309 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700310
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700311 OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
312 RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"`
313 OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
314 RptNestedEnum []Enums_NestedEnum `protobuf:"varint,4,rep,name=rpt_nested_enum,json=rptNestedEnum,enum=pb2.Enums_NestedEnum" json:"rpt_nested_enum,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800315}
316
Joe Tsai61968ce2019-04-01 12:59:24 -0700317func (x *Enums) Reset() {
318 *x = Enums{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700319 if protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -0800320 mi := &file_textpb2_test_proto_msgTypes[1]
Joe Tsaiae313d42019-10-16 10:25:54 -0700321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
322 ms.StoreMessageInfo(mi)
323 }
Herbie Ong8170d692019-02-13 14:13:21 -0800324}
Joe Tsai61968ce2019-04-01 12:59:24 -0700325
326func (x *Enums) String() string {
327 return protoimpl.X.MessageStringOf(x)
328}
329
330func (*Enums) ProtoMessage() {}
331
332func (x *Enums) ProtoReflect() protoreflect.Message {
Joe Tsai94e730b2020-01-10 23:31:25 -0800333 mi := &file_textpb2_test_proto_msgTypes[1]
Joe Tsai82760ce2019-06-20 03:09:57 -0700334 if protoimpl.UnsafeEnabled && x != nil {
335 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
336 if ms.LoadMessageInfo() == nil {
337 ms.StoreMessageInfo(mi)
338 }
339 return ms
340 }
341 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700342}
Joe Tsai8e506a82019-03-16 00:05:34 -0700343
Joe Tsai43761bd2019-07-17 18:06:47 -0700344// Deprecated: Use Enums.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800345func (*Enums) Descriptor() ([]byte, []int) {
Joe Tsai94e730b2020-01-10 23:31:25 -0800346 return file_textpb2_test_proto_rawDescGZIP(), []int{1}
Herbie Ong8170d692019-02-13 14:13:21 -0800347}
348
Joe Tsai61968ce2019-04-01 12:59:24 -0700349func (x *Enums) GetOptEnum() Enum {
350 if x != nil && x.OptEnum != nil {
351 return *x.OptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800352 }
353 return Enum_ONE
354}
355
Joe Tsai61968ce2019-04-01 12:59:24 -0700356func (x *Enums) GetRptEnum() []Enum {
357 if x != nil {
358 return x.RptEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800359 }
360 return nil
361}
362
Joe Tsai61968ce2019-04-01 12:59:24 -0700363func (x *Enums) GetOptNestedEnum() Enums_NestedEnum {
364 if x != nil && x.OptNestedEnum != nil {
365 return *x.OptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800366 }
367 return Enums_UNO
368}
369
Joe Tsai61968ce2019-04-01 12:59:24 -0700370func (x *Enums) GetRptNestedEnum() []Enums_NestedEnum {
371 if x != nil {
372 return x.RptNestedEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800373 }
374 return nil
375}
376
377// Message contains repeated fields.
378type Repeats struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700379 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700380 sizeCache protoimpl.SizeCache
381 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700382
383 RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
384 RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"`
385 RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"`
386 RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"`
387 RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"`
388 RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"`
389 RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"`
390 RptString []string `protobuf:"bytes,8,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
391 RptBytes [][]byte `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800392}
393
Joe Tsai61968ce2019-04-01 12:59:24 -0700394func (x *Repeats) Reset() {
395 *x = Repeats{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700396 if protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -0800397 mi := &file_textpb2_test_proto_msgTypes[2]
Joe Tsaiae313d42019-10-16 10:25:54 -0700398 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
399 ms.StoreMessageInfo(mi)
400 }
Herbie Ong8170d692019-02-13 14:13:21 -0800401}
Joe Tsai61968ce2019-04-01 12:59:24 -0700402
403func (x *Repeats) String() string {
404 return protoimpl.X.MessageStringOf(x)
405}
406
407func (*Repeats) ProtoMessage() {}
408
409func (x *Repeats) ProtoReflect() protoreflect.Message {
Joe Tsai94e730b2020-01-10 23:31:25 -0800410 mi := &file_textpb2_test_proto_msgTypes[2]
Joe Tsai82760ce2019-06-20 03:09:57 -0700411 if protoimpl.UnsafeEnabled && x != nil {
412 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
413 if ms.LoadMessageInfo() == nil {
414 ms.StoreMessageInfo(mi)
415 }
416 return ms
417 }
418 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700419}
Joe Tsai8e506a82019-03-16 00:05:34 -0700420
Joe Tsai43761bd2019-07-17 18:06:47 -0700421// Deprecated: Use Repeats.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800422func (*Repeats) Descriptor() ([]byte, []int) {
Joe Tsai94e730b2020-01-10 23:31:25 -0800423 return file_textpb2_test_proto_rawDescGZIP(), []int{2}
Herbie Ong8170d692019-02-13 14:13:21 -0800424}
425
Joe Tsai61968ce2019-04-01 12:59:24 -0700426func (x *Repeats) GetRptBool() []bool {
427 if x != nil {
428 return x.RptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800429 }
430 return nil
431}
432
Joe Tsai61968ce2019-04-01 12:59:24 -0700433func (x *Repeats) GetRptInt32() []int32 {
434 if x != nil {
435 return x.RptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800436 }
437 return nil
438}
439
Joe Tsai61968ce2019-04-01 12:59:24 -0700440func (x *Repeats) GetRptInt64() []int64 {
441 if x != nil {
442 return x.RptInt64
Herbie Ong8170d692019-02-13 14:13:21 -0800443 }
444 return nil
445}
446
Joe Tsai61968ce2019-04-01 12:59:24 -0700447func (x *Repeats) GetRptUint32() []uint32 {
448 if x != nil {
449 return x.RptUint32
Herbie Ong8170d692019-02-13 14:13:21 -0800450 }
451 return nil
452}
453
Joe Tsai61968ce2019-04-01 12:59:24 -0700454func (x *Repeats) GetRptUint64() []uint64 {
455 if x != nil {
456 return x.RptUint64
Herbie Ong8170d692019-02-13 14:13:21 -0800457 }
458 return nil
459}
460
Joe Tsai61968ce2019-04-01 12:59:24 -0700461func (x *Repeats) GetRptFloat() []float32 {
462 if x != nil {
463 return x.RptFloat
Herbie Ong8170d692019-02-13 14:13:21 -0800464 }
465 return nil
466}
467
Joe Tsai61968ce2019-04-01 12:59:24 -0700468func (x *Repeats) GetRptDouble() []float64 {
469 if x != nil {
470 return x.RptDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800471 }
472 return nil
473}
474
Joe Tsai61968ce2019-04-01 12:59:24 -0700475func (x *Repeats) GetRptString() []string {
476 if x != nil {
477 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -0800478 }
479 return nil
480}
481
Joe Tsai61968ce2019-04-01 12:59:24 -0700482func (x *Repeats) GetRptBytes() [][]byte {
483 if x != nil {
484 return x.RptBytes
Herbie Ong8170d692019-02-13 14:13:21 -0800485 }
486 return nil
487}
488
489// Message type used as submessage.
490type Nested struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700491 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700492 sizeCache protoimpl.SizeCache
493 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700494
495 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
496 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800497}
498
Joe Tsai61968ce2019-04-01 12:59:24 -0700499func (x *Nested) Reset() {
500 *x = Nested{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700501 if protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -0800502 mi := &file_textpb2_test_proto_msgTypes[3]
Joe Tsaiae313d42019-10-16 10:25:54 -0700503 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
504 ms.StoreMessageInfo(mi)
505 }
Herbie Ong8170d692019-02-13 14:13:21 -0800506}
Joe Tsai61968ce2019-04-01 12:59:24 -0700507
508func (x *Nested) String() string {
509 return protoimpl.X.MessageStringOf(x)
510}
511
512func (*Nested) ProtoMessage() {}
513
514func (x *Nested) ProtoReflect() protoreflect.Message {
Joe Tsai94e730b2020-01-10 23:31:25 -0800515 mi := &file_textpb2_test_proto_msgTypes[3]
Joe Tsai82760ce2019-06-20 03:09:57 -0700516 if protoimpl.UnsafeEnabled && x != nil {
517 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
518 if ms.LoadMessageInfo() == nil {
519 ms.StoreMessageInfo(mi)
520 }
521 return ms
522 }
523 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700524}
Joe Tsai8e506a82019-03-16 00:05:34 -0700525
Joe Tsai43761bd2019-07-17 18:06:47 -0700526// Deprecated: Use Nested.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800527func (*Nested) Descriptor() ([]byte, []int) {
Joe Tsai94e730b2020-01-10 23:31:25 -0800528 return file_textpb2_test_proto_rawDescGZIP(), []int{3}
Herbie Ong8170d692019-02-13 14:13:21 -0800529}
530
Joe Tsai61968ce2019-04-01 12:59:24 -0700531func (x *Nested) GetOptString() string {
532 if x != nil && x.OptString != nil {
533 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800534 }
535 return ""
536}
537
Joe Tsai61968ce2019-04-01 12:59:24 -0700538func (x *Nested) GetOptNested() *Nested {
539 if x != nil {
540 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800541 }
542 return nil
543}
544
545// Message contains message and group fields.
546type Nests struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700547 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700548 sizeCache protoimpl.SizeCache
549 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700550
551 OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
552 Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"`
553 RptNested []*Nested `protobuf:"bytes,4,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
554 Rptgroup []*Nests_RptGroup `protobuf:"group,5,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800555}
556
Joe Tsai61968ce2019-04-01 12:59:24 -0700557func (x *Nests) Reset() {
558 *x = Nests{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700559 if protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -0800560 mi := &file_textpb2_test_proto_msgTypes[4]
Joe Tsaiae313d42019-10-16 10:25:54 -0700561 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
562 ms.StoreMessageInfo(mi)
563 }
Herbie Ong8170d692019-02-13 14:13:21 -0800564}
Joe Tsai61968ce2019-04-01 12:59:24 -0700565
566func (x *Nests) String() string {
567 return protoimpl.X.MessageStringOf(x)
568}
569
570func (*Nests) ProtoMessage() {}
571
572func (x *Nests) ProtoReflect() protoreflect.Message {
Joe Tsai94e730b2020-01-10 23:31:25 -0800573 mi := &file_textpb2_test_proto_msgTypes[4]
Joe Tsai82760ce2019-06-20 03:09:57 -0700574 if protoimpl.UnsafeEnabled && x != nil {
575 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
576 if ms.LoadMessageInfo() == nil {
577 ms.StoreMessageInfo(mi)
578 }
579 return ms
580 }
581 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700582}
Joe Tsai8e506a82019-03-16 00:05:34 -0700583
Joe Tsai43761bd2019-07-17 18:06:47 -0700584// Deprecated: Use Nests.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800585func (*Nests) Descriptor() ([]byte, []int) {
Joe Tsai94e730b2020-01-10 23:31:25 -0800586 return file_textpb2_test_proto_rawDescGZIP(), []int{4}
Herbie Ong8170d692019-02-13 14:13:21 -0800587}
588
Joe Tsai61968ce2019-04-01 12:59:24 -0700589func (x *Nests) GetOptNested() *Nested {
590 if x != nil {
591 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800592 }
593 return nil
594}
595
Joe Tsai61968ce2019-04-01 12:59:24 -0700596func (x *Nests) GetOptgroup() *Nests_OptGroup {
597 if x != nil {
598 return x.Optgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800599 }
600 return nil
601}
602
Joe Tsai61968ce2019-04-01 12:59:24 -0700603func (x *Nests) GetRptNested() []*Nested {
604 if x != nil {
605 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800606 }
607 return nil
608}
609
Joe Tsai61968ce2019-04-01 12:59:24 -0700610func (x *Nests) GetRptgroup() []*Nests_RptGroup {
611 if x != nil {
612 return x.Rptgroup
Herbie Ong8170d692019-02-13 14:13:21 -0800613 }
614 return nil
615}
616
617// Message contains required fields.
618type Requireds struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700619 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -0700620 sizeCache protoimpl.SizeCache
621 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700622
623 ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"`
624 ReqSfixed64 *int64 `protobuf:"fixed64,2,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"`
625 ReqDouble *float64 `protobuf:"fixed64,3,req,name=req_double,json=reqDouble" json:"req_double,omitempty"`
626 ReqString *string `protobuf:"bytes,4,req,name=req_string,json=reqString" json:"req_string,omitempty"`
627 ReqEnum *Enum `protobuf:"varint,5,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
628 ReqNested *Nested `protobuf:"bytes,6,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800629}
630
Joe Tsai61968ce2019-04-01 12:59:24 -0700631func (x *Requireds) Reset() {
632 *x = Requireds{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700633 if protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -0800634 mi := &file_textpb2_test_proto_msgTypes[5]
Joe Tsaiae313d42019-10-16 10:25:54 -0700635 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
636 ms.StoreMessageInfo(mi)
637 }
Herbie Ong8170d692019-02-13 14:13:21 -0800638}
Joe Tsai61968ce2019-04-01 12:59:24 -0700639
640func (x *Requireds) String() string {
641 return protoimpl.X.MessageStringOf(x)
642}
643
644func (*Requireds) ProtoMessage() {}
645
646func (x *Requireds) ProtoReflect() protoreflect.Message {
Joe Tsai94e730b2020-01-10 23:31:25 -0800647 mi := &file_textpb2_test_proto_msgTypes[5]
Joe Tsai82760ce2019-06-20 03:09:57 -0700648 if protoimpl.UnsafeEnabled && x != nil {
649 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
650 if ms.LoadMessageInfo() == nil {
651 ms.StoreMessageInfo(mi)
652 }
653 return ms
654 }
655 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700656}
Joe Tsai8e506a82019-03-16 00:05:34 -0700657
Joe Tsai43761bd2019-07-17 18:06:47 -0700658// Deprecated: Use Requireds.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800659func (*Requireds) Descriptor() ([]byte, []int) {
Joe Tsai94e730b2020-01-10 23:31:25 -0800660 return file_textpb2_test_proto_rawDescGZIP(), []int{5}
Herbie Ong8170d692019-02-13 14:13:21 -0800661}
662
Joe Tsai61968ce2019-04-01 12:59:24 -0700663func (x *Requireds) GetReqBool() bool {
664 if x != nil && x.ReqBool != nil {
665 return *x.ReqBool
Herbie Ong8170d692019-02-13 14:13:21 -0800666 }
667 return false
668}
669
Joe Tsai61968ce2019-04-01 12:59:24 -0700670func (x *Requireds) GetReqSfixed64() int64 {
671 if x != nil && x.ReqSfixed64 != nil {
672 return *x.ReqSfixed64
Herbie Ong8170d692019-02-13 14:13:21 -0800673 }
674 return 0
675}
676
Joe Tsai61968ce2019-04-01 12:59:24 -0700677func (x *Requireds) GetReqDouble() float64 {
678 if x != nil && x.ReqDouble != nil {
679 return *x.ReqDouble
Herbie Ong8170d692019-02-13 14:13:21 -0800680 }
681 return 0
682}
683
Joe Tsai61968ce2019-04-01 12:59:24 -0700684func (x *Requireds) GetReqString() string {
685 if x != nil && x.ReqString != nil {
686 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800687 }
688 return ""
689}
690
Joe Tsai61968ce2019-04-01 12:59:24 -0700691func (x *Requireds) GetReqEnum() Enum {
692 if x != nil && x.ReqEnum != nil {
693 return *x.ReqEnum
Herbie Ong8170d692019-02-13 14:13:21 -0800694 }
695 return Enum_ONE
696}
697
Joe Tsai61968ce2019-04-01 12:59:24 -0700698func (x *Requireds) GetReqNested() *Nested {
699 if x != nil {
700 return x.ReqNested
Herbie Ong8170d692019-02-13 14:13:21 -0800701 }
702 return nil
703}
704
705// Message contains both required and optional fields.
706type PartialRequired struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700707 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700708 sizeCache protoimpl.SizeCache
709 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700710
711 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
712 OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800713}
714
Joe Tsai61968ce2019-04-01 12:59:24 -0700715func (x *PartialRequired) Reset() {
716 *x = PartialRequired{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700717 if protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -0800718 mi := &file_textpb2_test_proto_msgTypes[6]
Joe Tsaiae313d42019-10-16 10:25:54 -0700719 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
720 ms.StoreMessageInfo(mi)
721 }
Herbie Ong8170d692019-02-13 14:13:21 -0800722}
Joe Tsai61968ce2019-04-01 12:59:24 -0700723
724func (x *PartialRequired) String() string {
725 return protoimpl.X.MessageStringOf(x)
726}
727
728func (*PartialRequired) ProtoMessage() {}
729
730func (x *PartialRequired) ProtoReflect() protoreflect.Message {
Joe Tsai94e730b2020-01-10 23:31:25 -0800731 mi := &file_textpb2_test_proto_msgTypes[6]
Joe Tsai82760ce2019-06-20 03:09:57 -0700732 if protoimpl.UnsafeEnabled && x != nil {
733 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
734 if ms.LoadMessageInfo() == nil {
735 ms.StoreMessageInfo(mi)
736 }
737 return ms
738 }
739 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700740}
Joe Tsai8e506a82019-03-16 00:05:34 -0700741
Joe Tsai43761bd2019-07-17 18:06:47 -0700742// Deprecated: Use PartialRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800743func (*PartialRequired) Descriptor() ([]byte, []int) {
Joe Tsai94e730b2020-01-10 23:31:25 -0800744 return file_textpb2_test_proto_rawDescGZIP(), []int{6}
Herbie Ong8170d692019-02-13 14:13:21 -0800745}
746
Joe Tsai61968ce2019-04-01 12:59:24 -0700747func (x *PartialRequired) GetReqString() string {
748 if x != nil && x.ReqString != nil {
749 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800750 }
751 return ""
752}
753
Joe Tsai61968ce2019-04-01 12:59:24 -0700754func (x *PartialRequired) GetOptString() string {
755 if x != nil && x.OptString != nil {
756 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800757 }
758 return ""
759}
760
761type NestedWithRequired struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700762 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700763 sizeCache protoimpl.SizeCache
764 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700765
766 ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800767}
768
Joe Tsai61968ce2019-04-01 12:59:24 -0700769func (x *NestedWithRequired) Reset() {
770 *x = NestedWithRequired{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700771 if protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -0800772 mi := &file_textpb2_test_proto_msgTypes[7]
Joe Tsaiae313d42019-10-16 10:25:54 -0700773 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
774 ms.StoreMessageInfo(mi)
775 }
Herbie Ong8170d692019-02-13 14:13:21 -0800776}
Joe Tsai61968ce2019-04-01 12:59:24 -0700777
778func (x *NestedWithRequired) String() string {
779 return protoimpl.X.MessageStringOf(x)
780}
781
782func (*NestedWithRequired) ProtoMessage() {}
783
784func (x *NestedWithRequired) ProtoReflect() protoreflect.Message {
Joe Tsai94e730b2020-01-10 23:31:25 -0800785 mi := &file_textpb2_test_proto_msgTypes[7]
Joe Tsai82760ce2019-06-20 03:09:57 -0700786 if protoimpl.UnsafeEnabled && x != nil {
787 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
788 if ms.LoadMessageInfo() == nil {
789 ms.StoreMessageInfo(mi)
790 }
791 return ms
792 }
793 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700794}
Joe Tsai8e506a82019-03-16 00:05:34 -0700795
Joe Tsai43761bd2019-07-17 18:06:47 -0700796// Deprecated: Use NestedWithRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800797func (*NestedWithRequired) Descriptor() ([]byte, []int) {
Joe Tsai94e730b2020-01-10 23:31:25 -0800798 return file_textpb2_test_proto_rawDescGZIP(), []int{7}
Herbie Ong8170d692019-02-13 14:13:21 -0800799}
800
Joe Tsai61968ce2019-04-01 12:59:24 -0700801func (x *NestedWithRequired) GetReqString() string {
802 if x != nil && x.ReqString != nil {
803 return *x.ReqString
Herbie Ong8170d692019-02-13 14:13:21 -0800804 }
805 return ""
806}
807
808type IndirectRequired struct {
Joe Tsai38b61962019-08-05 13:09:30 -0700809 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700810 sizeCache protoimpl.SizeCache
811 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700812
813 OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
814 RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
815 StrToNested map[string]*NestedWithRequired `protobuf:"bytes,3,rep,name=str_to_nested,json=strToNested" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
816 // Types that are assignable to Union:
Joe Tsai38b61962019-08-05 13:09:30 -0700817 // *IndirectRequired_OneofNested
818 Union isIndirectRequired_Union `protobuf_oneof:"union"`
Herbie Ong8170d692019-02-13 14:13:21 -0800819}
820
Joe Tsai61968ce2019-04-01 12:59:24 -0700821func (x *IndirectRequired) Reset() {
822 *x = IndirectRequired{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700823 if protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -0800824 mi := &file_textpb2_test_proto_msgTypes[8]
Joe Tsaiae313d42019-10-16 10:25:54 -0700825 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
826 ms.StoreMessageInfo(mi)
827 }
Herbie Ong8170d692019-02-13 14:13:21 -0800828}
Joe Tsai61968ce2019-04-01 12:59:24 -0700829
830func (x *IndirectRequired) String() string {
831 return protoimpl.X.MessageStringOf(x)
832}
833
834func (*IndirectRequired) ProtoMessage() {}
835
836func (x *IndirectRequired) ProtoReflect() protoreflect.Message {
Joe Tsai94e730b2020-01-10 23:31:25 -0800837 mi := &file_textpb2_test_proto_msgTypes[8]
Joe Tsai82760ce2019-06-20 03:09:57 -0700838 if protoimpl.UnsafeEnabled && x != nil {
839 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
840 if ms.LoadMessageInfo() == nil {
841 ms.StoreMessageInfo(mi)
842 }
843 return ms
844 }
845 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700846}
Joe Tsai8e506a82019-03-16 00:05:34 -0700847
Joe Tsai43761bd2019-07-17 18:06:47 -0700848// Deprecated: Use IndirectRequired.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800849func (*IndirectRequired) Descriptor() ([]byte, []int) {
Joe Tsai94e730b2020-01-10 23:31:25 -0800850 return file_textpb2_test_proto_rawDescGZIP(), []int{8}
Herbie Ong8170d692019-02-13 14:13:21 -0800851}
852
Joe Tsai61968ce2019-04-01 12:59:24 -0700853func (x *IndirectRequired) GetOptNested() *NestedWithRequired {
854 if x != nil {
855 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800856 }
857 return nil
858}
859
Joe Tsai61968ce2019-04-01 12:59:24 -0700860func (x *IndirectRequired) GetRptNested() []*NestedWithRequired {
861 if x != nil {
862 return x.RptNested
Herbie Ong8170d692019-02-13 14:13:21 -0800863 }
864 return nil
865}
866
Joe Tsai61968ce2019-04-01 12:59:24 -0700867func (x *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired {
868 if x != nil {
869 return x.StrToNested
Herbie Ong8170d692019-02-13 14:13:21 -0800870 }
871 return nil
872}
873
Herbie Ong8170d692019-02-13 14:13:21 -0800874func (m *IndirectRequired) GetUnion() isIndirectRequired_Union {
875 if m != nil {
876 return m.Union
877 }
878 return nil
879}
880
Joe Tsai61968ce2019-04-01 12:59:24 -0700881func (x *IndirectRequired) GetOneofNested() *NestedWithRequired {
882 if x, ok := x.GetUnion().(*IndirectRequired_OneofNested); ok {
Herbie Ong8170d692019-02-13 14:13:21 -0800883 return x.OneofNested
884 }
885 return nil
886}
887
Joe Tsai872b5002019-04-08 14:03:15 -0700888type isIndirectRequired_Union interface {
889 isIndirectRequired_Union()
890}
891
892type IndirectRequired_OneofNested struct {
893 OneofNested *NestedWithRequired `protobuf:"bytes,4,opt,name=oneof_nested,json=oneofNested,oneof"`
894}
895
896func (*IndirectRequired_OneofNested) isIndirectRequired_Union() {}
897
Herbie Ong8170d692019-02-13 14:13:21 -0800898type Extensions struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700899 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700900 sizeCache protoimpl.SizeCache
901 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -0700902 extensionFields protoimpl.ExtensionFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -0700903
904 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
905 OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
906 OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -0800907}
908
Joe Tsai61968ce2019-04-01 12:59:24 -0700909func (x *Extensions) Reset() {
910 *x = Extensions{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700911 if protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -0800912 mi := &file_textpb2_test_proto_msgTypes[9]
Joe Tsaiae313d42019-10-16 10:25:54 -0700913 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
914 ms.StoreMessageInfo(mi)
915 }
Herbie Ong8170d692019-02-13 14:13:21 -0800916}
Joe Tsai61968ce2019-04-01 12:59:24 -0700917
918func (x *Extensions) String() string {
919 return protoimpl.X.MessageStringOf(x)
920}
921
922func (*Extensions) ProtoMessage() {}
923
924func (x *Extensions) ProtoReflect() protoreflect.Message {
Joe Tsai94e730b2020-01-10 23:31:25 -0800925 mi := &file_textpb2_test_proto_msgTypes[9]
Joe Tsai82760ce2019-06-20 03:09:57 -0700926 if protoimpl.UnsafeEnabled && x != nil {
927 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
928 if ms.LoadMessageInfo() == nil {
929 ms.StoreMessageInfo(mi)
930 }
931 return ms
932 }
933 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700934}
Joe Tsai8e506a82019-03-16 00:05:34 -0700935
Joe Tsai43761bd2019-07-17 18:06:47 -0700936// Deprecated: Use Extensions.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800937func (*Extensions) Descriptor() ([]byte, []int) {
Joe Tsai94e730b2020-01-10 23:31:25 -0800938 return file_textpb2_test_proto_rawDescGZIP(), []int{9}
Herbie Ong8170d692019-02-13 14:13:21 -0800939}
940
Joe Tsai4fddeba2019-03-20 18:29:32 -0700941var extRange_Extensions = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -0800942 {Start: 20, End: 100},
943}
944
Joe Tsai43761bd2019-07-17 18:06:47 -0700945// Deprecated: Use Extensions.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700946func (*Extensions) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -0800947 return extRange_Extensions
948}
949
Joe Tsai61968ce2019-04-01 12:59:24 -0700950func (x *Extensions) GetOptString() string {
951 if x != nil && x.OptString != nil {
952 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -0800953 }
954 return ""
955}
956
Joe Tsai61968ce2019-04-01 12:59:24 -0700957func (x *Extensions) GetOptBool() bool {
958 if x != nil && x.OptBool != nil {
959 return *x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -0800960 }
961 return false
962}
963
Joe Tsai61968ce2019-04-01 12:59:24 -0700964func (x *Extensions) GetOptInt32() int32 {
965 if x != nil && x.OptInt32 != nil {
966 return *x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -0800967 }
968 return 0
969}
970
971type ExtensionsContainer struct {
Joe Tsai82760ce2019-06-20 03:09:57 -0700972 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700973 sizeCache protoimpl.SizeCache
974 unknownFields protoimpl.UnknownFields
Herbie Ong8170d692019-02-13 14:13:21 -0800975}
976
Joe Tsai61968ce2019-04-01 12:59:24 -0700977func (x *ExtensionsContainer) Reset() {
978 *x = ExtensionsContainer{}
Joe Tsaiae313d42019-10-16 10:25:54 -0700979 if protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -0800980 mi := &file_textpb2_test_proto_msgTypes[10]
Joe Tsaiae313d42019-10-16 10:25:54 -0700981 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
982 ms.StoreMessageInfo(mi)
983 }
Herbie Ong8170d692019-02-13 14:13:21 -0800984}
Joe Tsai61968ce2019-04-01 12:59:24 -0700985
986func (x *ExtensionsContainer) String() string {
987 return protoimpl.X.MessageStringOf(x)
988}
989
990func (*ExtensionsContainer) ProtoMessage() {}
991
992func (x *ExtensionsContainer) ProtoReflect() protoreflect.Message {
Joe Tsai94e730b2020-01-10 23:31:25 -0800993 mi := &file_textpb2_test_proto_msgTypes[10]
Joe Tsai82760ce2019-06-20 03:09:57 -0700994 if protoimpl.UnsafeEnabled && x != nil {
995 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
996 if ms.LoadMessageInfo() == nil {
997 ms.StoreMessageInfo(mi)
998 }
999 return ms
1000 }
1001 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001002}
Joe Tsai8e506a82019-03-16 00:05:34 -07001003
Joe Tsai43761bd2019-07-17 18:06:47 -07001004// Deprecated: Use ExtensionsContainer.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001005func (*ExtensionsContainer) Descriptor() ([]byte, []int) {
Joe Tsai94e730b2020-01-10 23:31:25 -08001006 return file_textpb2_test_proto_rawDescGZIP(), []int{10}
Herbie Ong8170d692019-02-13 14:13:21 -08001007}
1008
Herbie Ong8170d692019-02-13 14:13:21 -08001009type MessageSet struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001010 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001011 sizeCache protoimpl.SizeCache
1012 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001013 extensionFields protoimpl.ExtensionFields
Herbie Ong8170d692019-02-13 14:13:21 -08001014}
1015
Joe Tsai61968ce2019-04-01 12:59:24 -07001016func (x *MessageSet) Reset() {
1017 *x = MessageSet{}
Joe Tsaiae313d42019-10-16 10:25:54 -07001018 if protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -08001019 mi := &file_textpb2_test_proto_msgTypes[11]
Joe Tsaiae313d42019-10-16 10:25:54 -07001020 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1021 ms.StoreMessageInfo(mi)
1022 }
Herbie Ong8170d692019-02-13 14:13:21 -08001023}
Joe Tsai61968ce2019-04-01 12:59:24 -07001024
1025func (x *MessageSet) String() string {
1026 return protoimpl.X.MessageStringOf(x)
1027}
1028
1029func (*MessageSet) ProtoMessage() {}
1030
1031func (x *MessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai94e730b2020-01-10 23:31:25 -08001032 mi := &file_textpb2_test_proto_msgTypes[11]
Joe Tsai82760ce2019-06-20 03:09:57 -07001033 if protoimpl.UnsafeEnabled && x != nil {
1034 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1035 if ms.LoadMessageInfo() == nil {
1036 ms.StoreMessageInfo(mi)
1037 }
1038 return ms
1039 }
1040 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001041}
Joe Tsai8e506a82019-03-16 00:05:34 -07001042
Joe Tsai43761bd2019-07-17 18:06:47 -07001043// Deprecated: Use MessageSet.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001044func (*MessageSet) Descriptor() ([]byte, []int) {
Joe Tsai94e730b2020-01-10 23:31:25 -08001045 return file_textpb2_test_proto_rawDescGZIP(), []int{11}
Herbie Ong8170d692019-02-13 14:13:21 -08001046}
1047
Joe Tsai4fddeba2019-03-20 18:29:32 -07001048var extRange_MessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -08001049 {Start: 4, End: 2147483646},
1050}
1051
Joe Tsai43761bd2019-07-17 18:06:47 -07001052// Deprecated: Use MessageSet.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -07001053func (*MessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -08001054 return extRange_MessageSet
1055}
1056
Herbie Ong8170d692019-02-13 14:13:21 -08001057type MessageSetExtension struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001058 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001059 sizeCache protoimpl.SizeCache
1060 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001061
1062 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001063}
1064
Joe Tsai61968ce2019-04-01 12:59:24 -07001065func (x *MessageSetExtension) Reset() {
1066 *x = MessageSetExtension{}
Joe Tsaiae313d42019-10-16 10:25:54 -07001067 if protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -08001068 mi := &file_textpb2_test_proto_msgTypes[12]
Joe Tsaiae313d42019-10-16 10:25:54 -07001069 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1070 ms.StoreMessageInfo(mi)
1071 }
Herbie Ong8170d692019-02-13 14:13:21 -08001072}
Joe Tsai61968ce2019-04-01 12:59:24 -07001073
1074func (x *MessageSetExtension) String() string {
1075 return protoimpl.X.MessageStringOf(x)
1076}
1077
1078func (*MessageSetExtension) ProtoMessage() {}
1079
1080func (x *MessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai94e730b2020-01-10 23:31:25 -08001081 mi := &file_textpb2_test_proto_msgTypes[12]
Joe Tsai82760ce2019-06-20 03:09:57 -07001082 if protoimpl.UnsafeEnabled && x != nil {
1083 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1084 if ms.LoadMessageInfo() == nil {
1085 ms.StoreMessageInfo(mi)
1086 }
1087 return ms
1088 }
1089 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001090}
Joe Tsai8e506a82019-03-16 00:05:34 -07001091
Joe Tsai43761bd2019-07-17 18:06:47 -07001092// Deprecated: Use MessageSetExtension.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001093func (*MessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai94e730b2020-01-10 23:31:25 -08001094 return file_textpb2_test_proto_rawDescGZIP(), []int{12}
Herbie Ong8170d692019-02-13 14:13:21 -08001095}
1096
Joe Tsai61968ce2019-04-01 12:59:24 -07001097func (x *MessageSetExtension) GetOptString() string {
1098 if x != nil && x.OptString != nil {
1099 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001100 }
1101 return ""
1102}
1103
1104type FakeMessageSet struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001105 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001106 sizeCache protoimpl.SizeCache
1107 unknownFields protoimpl.UnknownFields
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001108 extensionFields protoimpl.ExtensionFields
Herbie Ong8170d692019-02-13 14:13:21 -08001109}
1110
Joe Tsai61968ce2019-04-01 12:59:24 -07001111func (x *FakeMessageSet) Reset() {
1112 *x = FakeMessageSet{}
Joe Tsaiae313d42019-10-16 10:25:54 -07001113 if protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -08001114 mi := &file_textpb2_test_proto_msgTypes[13]
Joe Tsaiae313d42019-10-16 10:25:54 -07001115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1116 ms.StoreMessageInfo(mi)
1117 }
Herbie Ong8170d692019-02-13 14:13:21 -08001118}
Joe Tsai61968ce2019-04-01 12:59:24 -07001119
1120func (x *FakeMessageSet) String() string {
1121 return protoimpl.X.MessageStringOf(x)
1122}
1123
1124func (*FakeMessageSet) ProtoMessage() {}
1125
1126func (x *FakeMessageSet) ProtoReflect() protoreflect.Message {
Joe Tsai94e730b2020-01-10 23:31:25 -08001127 mi := &file_textpb2_test_proto_msgTypes[13]
Joe Tsai82760ce2019-06-20 03:09:57 -07001128 if protoimpl.UnsafeEnabled && x != nil {
1129 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1130 if ms.LoadMessageInfo() == nil {
1131 ms.StoreMessageInfo(mi)
1132 }
1133 return ms
1134 }
1135 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001136}
Joe Tsai8e506a82019-03-16 00:05:34 -07001137
Joe Tsai43761bd2019-07-17 18:06:47 -07001138// Deprecated: Use FakeMessageSet.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001139func (*FakeMessageSet) Descriptor() ([]byte, []int) {
Joe Tsai94e730b2020-01-10 23:31:25 -08001140 return file_textpb2_test_proto_rawDescGZIP(), []int{13}
Herbie Ong8170d692019-02-13 14:13:21 -08001141}
1142
Joe Tsai4fddeba2019-03-20 18:29:32 -07001143var extRange_FakeMessageSet = []protoiface.ExtensionRangeV1{
Herbie Ong8170d692019-02-13 14:13:21 -08001144 {Start: 4, End: 536870911},
1145}
1146
Joe Tsai43761bd2019-07-17 18:06:47 -07001147// Deprecated: Use FakeMessageSet.ProtoReflect.Descriptor.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -07001148func (*FakeMessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong8170d692019-02-13 14:13:21 -08001149 return extRange_FakeMessageSet
1150}
1151
Herbie Ong8170d692019-02-13 14:13:21 -08001152type FakeMessageSetExtension struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001153 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001154 sizeCache protoimpl.SizeCache
1155 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001156
1157 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001158}
1159
Joe Tsai61968ce2019-04-01 12:59:24 -07001160func (x *FakeMessageSetExtension) Reset() {
1161 *x = FakeMessageSetExtension{}
Joe Tsaiae313d42019-10-16 10:25:54 -07001162 if protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -08001163 mi := &file_textpb2_test_proto_msgTypes[14]
Joe Tsaiae313d42019-10-16 10:25:54 -07001164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1165 ms.StoreMessageInfo(mi)
1166 }
Herbie Ong8170d692019-02-13 14:13:21 -08001167}
Joe Tsai61968ce2019-04-01 12:59:24 -07001168
1169func (x *FakeMessageSetExtension) String() string {
1170 return protoimpl.X.MessageStringOf(x)
1171}
1172
1173func (*FakeMessageSetExtension) ProtoMessage() {}
1174
1175func (x *FakeMessageSetExtension) ProtoReflect() protoreflect.Message {
Joe Tsai94e730b2020-01-10 23:31:25 -08001176 mi := &file_textpb2_test_proto_msgTypes[14]
Joe Tsai82760ce2019-06-20 03:09:57 -07001177 if protoimpl.UnsafeEnabled && x != nil {
1178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1179 if ms.LoadMessageInfo() == nil {
1180 ms.StoreMessageInfo(mi)
1181 }
1182 return ms
1183 }
1184 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001185}
Joe Tsai8e506a82019-03-16 00:05:34 -07001186
Joe Tsai43761bd2019-07-17 18:06:47 -07001187// Deprecated: Use FakeMessageSetExtension.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001188func (*FakeMessageSetExtension) Descriptor() ([]byte, []int) {
Joe Tsai94e730b2020-01-10 23:31:25 -08001189 return file_textpb2_test_proto_rawDescGZIP(), []int{14}
Herbie Ong8170d692019-02-13 14:13:21 -08001190}
1191
Joe Tsai61968ce2019-04-01 12:59:24 -07001192func (x *FakeMessageSetExtension) GetOptString() string {
1193 if x != nil && x.OptString != nil {
1194 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001195 }
1196 return ""
1197}
1198
1199// Message contains well-known type fields.
1200type KnownTypes struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001201 state protoimpl.MessageState
Joe Tsai38b61962019-08-05 13:09:30 -07001202 sizeCache protoimpl.SizeCache
1203 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001204
1205 OptBool *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
1206 OptInt32 *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
1207 OptInt64 *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
1208 OptUint32 *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
1209 OptUint64 *wrapperspb.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
1210 OptFloat *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
1211 OptDouble *wrapperspb.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
1212 OptString *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1213 OptBytes *wrapperspb.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
1214 OptDuration *durationpb.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"`
1215 OptTimestamp *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"`
1216 OptStruct *structpb.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"`
1217 OptList *structpb.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"`
1218 OptValue *structpb.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"`
1219 OptNull *structpb.NullValue `protobuf:"varint,28,opt,name=opt_null,json=optNull,enum=google.protobuf.NullValue" json:"opt_null,omitempty"`
1220 OptEmpty *emptypb.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"`
1221 OptAny *anypb.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
1222 OptFieldmask *fieldmaskpb.FieldMask `protobuf:"bytes,40,opt,name=opt_fieldmask,json=optFieldmask" json:"opt_fieldmask,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001223}
1224
Joe Tsai61968ce2019-04-01 12:59:24 -07001225func (x *KnownTypes) Reset() {
1226 *x = KnownTypes{}
Joe Tsaiae313d42019-10-16 10:25:54 -07001227 if protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -08001228 mi := &file_textpb2_test_proto_msgTypes[15]
Joe Tsaiae313d42019-10-16 10:25:54 -07001229 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1230 ms.StoreMessageInfo(mi)
1231 }
Herbie Ong8170d692019-02-13 14:13:21 -08001232}
Joe Tsai61968ce2019-04-01 12:59:24 -07001233
1234func (x *KnownTypes) String() string {
1235 return protoimpl.X.MessageStringOf(x)
1236}
1237
1238func (*KnownTypes) ProtoMessage() {}
1239
1240func (x *KnownTypes) ProtoReflect() protoreflect.Message {
Joe Tsai94e730b2020-01-10 23:31:25 -08001241 mi := &file_textpb2_test_proto_msgTypes[15]
Joe Tsai82760ce2019-06-20 03:09:57 -07001242 if protoimpl.UnsafeEnabled && x != nil {
1243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1244 if ms.LoadMessageInfo() == nil {
1245 ms.StoreMessageInfo(mi)
1246 }
1247 return ms
1248 }
1249 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001250}
Joe Tsai8e506a82019-03-16 00:05:34 -07001251
Joe Tsai43761bd2019-07-17 18:06:47 -07001252// Deprecated: Use KnownTypes.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001253func (*KnownTypes) Descriptor() ([]byte, []int) {
Joe Tsai94e730b2020-01-10 23:31:25 -08001254 return file_textpb2_test_proto_rawDescGZIP(), []int{15}
Herbie Ong8170d692019-02-13 14:13:21 -08001255}
1256
Joe Tsaia95b29f2019-05-16 12:47:20 -07001257func (x *KnownTypes) GetOptBool() *wrapperspb.BoolValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001258 if x != nil {
1259 return x.OptBool
Herbie Ong8170d692019-02-13 14:13:21 -08001260 }
1261 return nil
1262}
1263
Joe Tsaia95b29f2019-05-16 12:47:20 -07001264func (x *KnownTypes) GetOptInt32() *wrapperspb.Int32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001265 if x != nil {
1266 return x.OptInt32
Herbie Ong8170d692019-02-13 14:13:21 -08001267 }
1268 return nil
1269}
1270
Joe Tsaia95b29f2019-05-16 12:47:20 -07001271func (x *KnownTypes) GetOptInt64() *wrapperspb.Int64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001272 if x != nil {
1273 return x.OptInt64
Herbie Ong8170d692019-02-13 14:13:21 -08001274 }
1275 return nil
1276}
1277
Joe Tsaia95b29f2019-05-16 12:47:20 -07001278func (x *KnownTypes) GetOptUint32() *wrapperspb.UInt32Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001279 if x != nil {
1280 return x.OptUint32
Herbie Ong8170d692019-02-13 14:13:21 -08001281 }
1282 return nil
1283}
1284
Joe Tsaia95b29f2019-05-16 12:47:20 -07001285func (x *KnownTypes) GetOptUint64() *wrapperspb.UInt64Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001286 if x != nil {
1287 return x.OptUint64
Herbie Ong8170d692019-02-13 14:13:21 -08001288 }
1289 return nil
1290}
1291
Joe Tsaia95b29f2019-05-16 12:47:20 -07001292func (x *KnownTypes) GetOptFloat() *wrapperspb.FloatValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001293 if x != nil {
1294 return x.OptFloat
Herbie Ong8170d692019-02-13 14:13:21 -08001295 }
1296 return nil
1297}
1298
Joe Tsaia95b29f2019-05-16 12:47:20 -07001299func (x *KnownTypes) GetOptDouble() *wrapperspb.DoubleValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001300 if x != nil {
1301 return x.OptDouble
Herbie Ong8170d692019-02-13 14:13:21 -08001302 }
1303 return nil
1304}
1305
Joe Tsaia95b29f2019-05-16 12:47:20 -07001306func (x *KnownTypes) GetOptString() *wrapperspb.StringValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001307 if x != nil {
1308 return x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001309 }
1310 return nil
1311}
1312
Joe Tsaia95b29f2019-05-16 12:47:20 -07001313func (x *KnownTypes) GetOptBytes() *wrapperspb.BytesValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001314 if x != nil {
1315 return x.OptBytes
Herbie Ong8170d692019-02-13 14:13:21 -08001316 }
1317 return nil
1318}
1319
Joe Tsaia95b29f2019-05-16 12:47:20 -07001320func (x *KnownTypes) GetOptDuration() *durationpb.Duration {
Joe Tsai61968ce2019-04-01 12:59:24 -07001321 if x != nil {
1322 return x.OptDuration
Herbie Ong8170d692019-02-13 14:13:21 -08001323 }
1324 return nil
1325}
1326
Joe Tsaia95b29f2019-05-16 12:47:20 -07001327func (x *KnownTypes) GetOptTimestamp() *timestamppb.Timestamp {
Joe Tsai61968ce2019-04-01 12:59:24 -07001328 if x != nil {
1329 return x.OptTimestamp
Herbie Ong8170d692019-02-13 14:13:21 -08001330 }
1331 return nil
1332}
1333
Joe Tsaia95b29f2019-05-16 12:47:20 -07001334func (x *KnownTypes) GetOptStruct() *structpb.Struct {
Joe Tsai61968ce2019-04-01 12:59:24 -07001335 if x != nil {
1336 return x.OptStruct
Herbie Ong8170d692019-02-13 14:13:21 -08001337 }
1338 return nil
1339}
1340
Joe Tsaia95b29f2019-05-16 12:47:20 -07001341func (x *KnownTypes) GetOptList() *structpb.ListValue {
Joe Tsai61968ce2019-04-01 12:59:24 -07001342 if x != nil {
1343 return x.OptList
Herbie Ong8170d692019-02-13 14:13:21 -08001344 }
1345 return nil
1346}
1347
Joe Tsaia95b29f2019-05-16 12:47:20 -07001348func (x *KnownTypes) GetOptValue() *structpb.Value {
Joe Tsai61968ce2019-04-01 12:59:24 -07001349 if x != nil {
1350 return x.OptValue
Herbie Ong8170d692019-02-13 14:13:21 -08001351 }
1352 return nil
1353}
1354
Joe Tsaia95b29f2019-05-16 12:47:20 -07001355func (x *KnownTypes) GetOptNull() structpb.NullValue {
Herbie Ong300b9fe2019-03-29 15:42:20 -07001356 if x != nil && x.OptNull != nil {
1357 return *x.OptNull
1358 }
Joe Tsaia95b29f2019-05-16 12:47:20 -07001359 return structpb.NullValue_NULL_VALUE
Herbie Ong300b9fe2019-03-29 15:42:20 -07001360}
1361
Joe Tsaia95b29f2019-05-16 12:47:20 -07001362func (x *KnownTypes) GetOptEmpty() *emptypb.Empty {
Joe Tsai61968ce2019-04-01 12:59:24 -07001363 if x != nil {
1364 return x.OptEmpty
Herbie Ong8170d692019-02-13 14:13:21 -08001365 }
1366 return nil
1367}
1368
Joe Tsaia95b29f2019-05-16 12:47:20 -07001369func (x *KnownTypes) GetOptAny() *anypb.Any {
Joe Tsai61968ce2019-04-01 12:59:24 -07001370 if x != nil {
1371 return x.OptAny
Herbie Ong8170d692019-02-13 14:13:21 -08001372 }
1373 return nil
1374}
1375
Joe Tsaia95b29f2019-05-16 12:47:20 -07001376func (x *KnownTypes) GetOptFieldmask() *fieldmaskpb.FieldMask {
Joe Tsai61968ce2019-04-01 12:59:24 -07001377 if x != nil {
1378 return x.OptFieldmask
Herbie Ong0b0f4032019-03-18 19:06:15 -07001379 }
1380 return nil
1381}
1382
Herbie Ong8170d692019-02-13 14:13:21 -08001383type Nests_OptGroup struct {
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001384 state protoimpl.MessageState
1385 sizeCache protoimpl.SizeCache
1386 unknownFields protoimpl.UnknownFields
1387
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001388 OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
1389 OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
1390 Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,3,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001391}
1392
Joe Tsai61968ce2019-04-01 12:59:24 -07001393func (x *Nests_OptGroup) Reset() {
1394 *x = Nests_OptGroup{}
Joe Tsaiae313d42019-10-16 10:25:54 -07001395 if protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -08001396 mi := &file_textpb2_test_proto_msgTypes[16]
Joe Tsaiae313d42019-10-16 10:25:54 -07001397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1398 ms.StoreMessageInfo(mi)
1399 }
Herbie Ong8170d692019-02-13 14:13:21 -08001400}
Joe Tsai61968ce2019-04-01 12:59:24 -07001401
1402func (x *Nests_OptGroup) String() string {
1403 return protoimpl.X.MessageStringOf(x)
1404}
1405
1406func (*Nests_OptGroup) ProtoMessage() {}
1407
1408func (x *Nests_OptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai94e730b2020-01-10 23:31:25 -08001409 mi := &file_textpb2_test_proto_msgTypes[16]
Joe Tsai82760ce2019-06-20 03:09:57 -07001410 if protoimpl.UnsafeEnabled && x != nil {
1411 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1412 if ms.LoadMessageInfo() == nil {
1413 ms.StoreMessageInfo(mi)
1414 }
1415 return ms
1416 }
1417 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001418}
Joe Tsai8e506a82019-03-16 00:05:34 -07001419
Joe Tsai43761bd2019-07-17 18:06:47 -07001420// Deprecated: Use Nests_OptGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001421func (*Nests_OptGroup) Descriptor() ([]byte, []int) {
Joe Tsai94e730b2020-01-10 23:31:25 -08001422 return file_textpb2_test_proto_rawDescGZIP(), []int{4, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001423}
1424
Joe Tsai61968ce2019-04-01 12:59:24 -07001425func (x *Nests_OptGroup) GetOptString() string {
1426 if x != nil && x.OptString != nil {
1427 return *x.OptString
Herbie Ong8170d692019-02-13 14:13:21 -08001428 }
1429 return ""
1430}
1431
Joe Tsai61968ce2019-04-01 12:59:24 -07001432func (x *Nests_OptGroup) GetOptNested() *Nested {
1433 if x != nil {
1434 return x.OptNested
Herbie Ong8170d692019-02-13 14:13:21 -08001435 }
1436 return nil
1437}
1438
Joe Tsai61968ce2019-04-01 12:59:24 -07001439func (x *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup {
1440 if x != nil {
1441 return x.Optnestedgroup
Herbie Ong8170d692019-02-13 14:13:21 -08001442 }
1443 return nil
1444}
1445
1446type Nests_RptGroup struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001447 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001448 sizeCache protoimpl.SizeCache
1449 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001450
1451 RptString []string `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001452}
1453
Joe Tsai61968ce2019-04-01 12:59:24 -07001454func (x *Nests_RptGroup) Reset() {
1455 *x = Nests_RptGroup{}
Joe Tsaiae313d42019-10-16 10:25:54 -07001456 if protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -08001457 mi := &file_textpb2_test_proto_msgTypes[17]
Joe Tsaiae313d42019-10-16 10:25:54 -07001458 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1459 ms.StoreMessageInfo(mi)
1460 }
Herbie Ong8170d692019-02-13 14:13:21 -08001461}
Joe Tsai61968ce2019-04-01 12:59:24 -07001462
1463func (x *Nests_RptGroup) String() string {
1464 return protoimpl.X.MessageStringOf(x)
1465}
1466
1467func (*Nests_RptGroup) ProtoMessage() {}
1468
1469func (x *Nests_RptGroup) ProtoReflect() protoreflect.Message {
Joe Tsai94e730b2020-01-10 23:31:25 -08001470 mi := &file_textpb2_test_proto_msgTypes[17]
Joe Tsai82760ce2019-06-20 03:09:57 -07001471 if protoimpl.UnsafeEnabled && x != nil {
1472 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1473 if ms.LoadMessageInfo() == nil {
1474 ms.StoreMessageInfo(mi)
1475 }
1476 return ms
1477 }
1478 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001479}
Joe Tsai8e506a82019-03-16 00:05:34 -07001480
Joe Tsai43761bd2019-07-17 18:06:47 -07001481// Deprecated: Use Nests_RptGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001482func (*Nests_RptGroup) Descriptor() ([]byte, []int) {
Joe Tsai94e730b2020-01-10 23:31:25 -08001483 return file_textpb2_test_proto_rawDescGZIP(), []int{4, 1}
Herbie Ong8170d692019-02-13 14:13:21 -08001484}
1485
Joe Tsai61968ce2019-04-01 12:59:24 -07001486func (x *Nests_RptGroup) GetRptString() []string {
1487 if x != nil {
1488 return x.RptString
Herbie Ong8170d692019-02-13 14:13:21 -08001489 }
1490 return nil
1491}
1492
1493type Nests_OptGroup_OptNestedGroup struct {
Joe Tsai82760ce2019-06-20 03:09:57 -07001494 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -07001495 sizeCache protoimpl.SizeCache
1496 unknownFields protoimpl.UnknownFields
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001497
1498 OptFixed32 *uint32 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
Herbie Ong8170d692019-02-13 14:13:21 -08001499}
1500
Joe Tsai61968ce2019-04-01 12:59:24 -07001501func (x *Nests_OptGroup_OptNestedGroup) Reset() {
1502 *x = Nests_OptGroup_OptNestedGroup{}
Joe Tsaiae313d42019-10-16 10:25:54 -07001503 if protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -08001504 mi := &file_textpb2_test_proto_msgTypes[18]
Joe Tsaiae313d42019-10-16 10:25:54 -07001505 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1506 ms.StoreMessageInfo(mi)
1507 }
Herbie Ong8170d692019-02-13 14:13:21 -08001508}
Joe Tsai61968ce2019-04-01 12:59:24 -07001509
1510func (x *Nests_OptGroup_OptNestedGroup) String() string {
1511 return protoimpl.X.MessageStringOf(x)
1512}
1513
1514func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {}
1515
1516func (x *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message {
Joe Tsai94e730b2020-01-10 23:31:25 -08001517 mi := &file_textpb2_test_proto_msgTypes[18]
Joe Tsai82760ce2019-06-20 03:09:57 -07001518 if protoimpl.UnsafeEnabled && x != nil {
1519 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1520 if ms.LoadMessageInfo() == nil {
1521 ms.StoreMessageInfo(mi)
1522 }
1523 return ms
1524 }
1525 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -07001526}
Joe Tsai8e506a82019-03-16 00:05:34 -07001527
Joe Tsai43761bd2019-07-17 18:06:47 -07001528// Deprecated: Use Nests_OptGroup_OptNestedGroup.ProtoReflect.Descriptor instead.
Herbie Ong8170d692019-02-13 14:13:21 -08001529func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) {
Joe Tsai94e730b2020-01-10 23:31:25 -08001530 return file_textpb2_test_proto_rawDescGZIP(), []int{4, 0, 0}
Herbie Ong8170d692019-02-13 14:13:21 -08001531}
1532
Joe Tsai61968ce2019-04-01 12:59:24 -07001533func (x *Nests_OptGroup_OptNestedGroup) GetOptFixed32() uint32 {
1534 if x != nil && x.OptFixed32 != nil {
1535 return *x.OptFixed32
Herbie Ong8170d692019-02-13 14:13:21 -08001536 }
1537 return 0
1538}
1539
Joe Tsai94e730b2020-01-10 23:31:25 -08001540var file_textpb2_test_proto_extTypes = []protoimpl.ExtensionInfo{
Joe Tsaiafb455e2019-03-14 16:08:22 -07001541 {
1542 ExtendedType: (*Extensions)(nil),
1543 ExtensionType: (*bool)(nil),
1544 Field: 21,
1545 Name: "pb2.opt_ext_bool",
1546 Tag: "varint,21,opt,name=opt_ext_bool",
Joe Tsai94e730b2020-01-10 23:31:25 -08001547 Filename: "textpb2/test.proto",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001548 },
1549 {
1550 ExtendedType: (*Extensions)(nil),
1551 ExtensionType: (*string)(nil),
1552 Field: 22,
1553 Name: "pb2.opt_ext_string",
1554 Tag: "bytes,22,opt,name=opt_ext_string",
Joe Tsai94e730b2020-01-10 23:31:25 -08001555 Filename: "textpb2/test.proto",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001556 },
1557 {
1558 ExtendedType: (*Extensions)(nil),
1559 ExtensionType: (*Enum)(nil),
1560 Field: 23,
1561 Name: "pb2.opt_ext_enum",
1562 Tag: "varint,23,opt,name=opt_ext_enum,enum=pb2.Enum",
Joe Tsai94e730b2020-01-10 23:31:25 -08001563 Filename: "textpb2/test.proto",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001564 },
1565 {
1566 ExtendedType: (*Extensions)(nil),
1567 ExtensionType: (*Nested)(nil),
1568 Field: 24,
1569 Name: "pb2.opt_ext_nested",
1570 Tag: "bytes,24,opt,name=opt_ext_nested",
Joe Tsai94e730b2020-01-10 23:31:25 -08001571 Filename: "textpb2/test.proto",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001572 },
1573 {
1574 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001575 ExtensionType: (*PartialRequired)(nil),
1576 Field: 25,
1577 Name: "pb2.opt_ext_partial",
1578 Tag: "bytes,25,opt,name=opt_ext_partial",
Joe Tsai94e730b2020-01-10 23:31:25 -08001579 Filename: "textpb2/test.proto",
Herbie Ong09b28a92019-04-03 15:42:41 -07001580 },
1581 {
1582 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001583 ExtensionType: ([]uint32)(nil),
1584 Field: 31,
1585 Name: "pb2.rpt_ext_fixed32",
1586 Tag: "fixed32,31,rep,name=rpt_ext_fixed32",
Joe Tsai94e730b2020-01-10 23:31:25 -08001587 Filename: "textpb2/test.proto",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001588 },
1589 {
1590 ExtendedType: (*Extensions)(nil),
1591 ExtensionType: ([]Enum)(nil),
1592 Field: 32,
1593 Name: "pb2.rpt_ext_enum",
1594 Tag: "varint,32,rep,name=rpt_ext_enum,enum=pb2.Enum",
Joe Tsai94e730b2020-01-10 23:31:25 -08001595 Filename: "textpb2/test.proto",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001596 },
1597 {
1598 ExtendedType: (*Extensions)(nil),
1599 ExtensionType: ([]*Nested)(nil),
1600 Field: 33,
1601 Name: "pb2.rpt_ext_nested",
1602 Tag: "bytes,33,rep,name=rpt_ext_nested",
Joe Tsai94e730b2020-01-10 23:31:25 -08001603 Filename: "textpb2/test.proto",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001604 },
1605 {
1606 ExtendedType: (*MessageSet)(nil),
1607 ExtensionType: (*FakeMessageSetExtension)(nil),
1608 Field: 50,
Joe Tsai6ceeaab2019-07-08 12:31:21 -07001609 Name: "pb2.message_set_extension",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001610 Tag: "bytes,50,opt,name=message_set_extension",
Joe Tsai94e730b2020-01-10 23:31:25 -08001611 Filename: "textpb2/test.proto",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001612 },
1613 {
1614 ExtendedType: (*Extensions)(nil),
1615 ExtensionType: (*bool)(nil),
1616 Field: 51,
1617 Name: "pb2.ExtensionsContainer.opt_ext_bool",
1618 Tag: "varint,51,opt,name=opt_ext_bool",
Joe Tsai94e730b2020-01-10 23:31:25 -08001619 Filename: "textpb2/test.proto",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001620 },
1621 {
1622 ExtendedType: (*Extensions)(nil),
1623 ExtensionType: (*string)(nil),
1624 Field: 52,
1625 Name: "pb2.ExtensionsContainer.opt_ext_string",
1626 Tag: "bytes,52,opt,name=opt_ext_string",
Joe Tsai94e730b2020-01-10 23:31:25 -08001627 Filename: "textpb2/test.proto",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001628 },
1629 {
1630 ExtendedType: (*Extensions)(nil),
1631 ExtensionType: (*Enum)(nil),
1632 Field: 53,
1633 Name: "pb2.ExtensionsContainer.opt_ext_enum",
1634 Tag: "varint,53,opt,name=opt_ext_enum,enum=pb2.Enum",
Joe Tsai94e730b2020-01-10 23:31:25 -08001635 Filename: "textpb2/test.proto",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001636 },
1637 {
1638 ExtendedType: (*Extensions)(nil),
1639 ExtensionType: (*Nested)(nil),
1640 Field: 54,
1641 Name: "pb2.ExtensionsContainer.opt_ext_nested",
1642 Tag: "bytes,54,opt,name=opt_ext_nested",
Joe Tsai94e730b2020-01-10 23:31:25 -08001643 Filename: "textpb2/test.proto",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001644 },
1645 {
1646 ExtendedType: (*Extensions)(nil),
Herbie Ong09b28a92019-04-03 15:42:41 -07001647 ExtensionType: (*PartialRequired)(nil),
1648 Field: 55,
1649 Name: "pb2.ExtensionsContainer.opt_ext_partial",
1650 Tag: "bytes,55,opt,name=opt_ext_partial",
Joe Tsai94e730b2020-01-10 23:31:25 -08001651 Filename: "textpb2/test.proto",
Herbie Ong09b28a92019-04-03 15:42:41 -07001652 },
1653 {
1654 ExtendedType: (*Extensions)(nil),
Joe Tsaiafb455e2019-03-14 16:08:22 -07001655 ExtensionType: ([]string)(nil),
1656 Field: 61,
1657 Name: "pb2.ExtensionsContainer.rpt_ext_string",
1658 Tag: "bytes,61,rep,name=rpt_ext_string",
Joe Tsai94e730b2020-01-10 23:31:25 -08001659 Filename: "textpb2/test.proto",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001660 },
1661 {
1662 ExtendedType: (*Extensions)(nil),
1663 ExtensionType: ([]Enum)(nil),
1664 Field: 62,
1665 Name: "pb2.ExtensionsContainer.rpt_ext_enum",
1666 Tag: "varint,62,rep,name=rpt_ext_enum,enum=pb2.Enum",
Joe Tsai94e730b2020-01-10 23:31:25 -08001667 Filename: "textpb2/test.proto",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001668 },
1669 {
1670 ExtendedType: (*Extensions)(nil),
1671 ExtensionType: ([]*Nested)(nil),
1672 Field: 63,
1673 Name: "pb2.ExtensionsContainer.rpt_ext_nested",
1674 Tag: "bytes,63,rep,name=rpt_ext_nested",
Joe Tsai94e730b2020-01-10 23:31:25 -08001675 Filename: "textpb2/test.proto",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001676 },
1677 {
1678 ExtendedType: (*MessageSet)(nil),
1679 ExtensionType: (*MessageSetExtension)(nil),
1680 Field: 10,
Joe Tsai945a1702019-07-20 14:57:56 -07001681 Name: "pb2.MessageSetExtension",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001682 Tag: "bytes,10,opt,name=message_set_extension",
Joe Tsai94e730b2020-01-10 23:31:25 -08001683 Filename: "textpb2/test.proto",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001684 },
1685 {
1686 ExtendedType: (*MessageSet)(nil),
1687 ExtensionType: (*MessageSetExtension)(nil),
1688 Field: 20,
1689 Name: "pb2.MessageSetExtension.not_message_set_extension",
1690 Tag: "bytes,20,opt,name=not_message_set_extension",
Joe Tsai94e730b2020-01-10 23:31:25 -08001691 Filename: "textpb2/test.proto",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001692 },
1693 {
1694 ExtendedType: (*MessageSet)(nil),
1695 ExtensionType: (*Nested)(nil),
1696 Field: 30,
1697 Name: "pb2.MessageSetExtension.ext_nested",
1698 Tag: "bytes,30,opt,name=ext_nested",
Joe Tsai94e730b2020-01-10 23:31:25 -08001699 Filename: "textpb2/test.proto",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001700 },
1701 {
1702 ExtendedType: (*FakeMessageSet)(nil),
1703 ExtensionType: (*FakeMessageSetExtension)(nil),
1704 Field: 10,
1705 Name: "pb2.FakeMessageSetExtension.message_set_extension",
1706 Tag: "bytes,10,opt,name=message_set_extension",
Joe Tsai94e730b2020-01-10 23:31:25 -08001707 Filename: "textpb2/test.proto",
Joe Tsaiafb455e2019-03-14 16:08:22 -07001708 },
Herbie Ong8170d692019-02-13 14:13:21 -08001709}
Joe Tsai4a7d6332019-08-06 16:45:11 -07001710
1711// Extension fields to Extensions.
Joe Tsaiafb455e2019-03-14 16:08:22 -07001712var (
Joe Tsai4a7d6332019-08-06 16:45:11 -07001713 // optional bool opt_ext_bool = 21;
Joe Tsai94e730b2020-01-10 23:31:25 -08001714 E_OptExtBool = &file_textpb2_test_proto_extTypes[0]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001715 // optional string opt_ext_string = 22;
Joe Tsai94e730b2020-01-10 23:31:25 -08001716 E_OptExtString = &file_textpb2_test_proto_extTypes[1]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001717 // optional pb2.Enum opt_ext_enum = 23;
Joe Tsai94e730b2020-01-10 23:31:25 -08001718 E_OptExtEnum = &file_textpb2_test_proto_extTypes[2]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001719 // optional pb2.Nested opt_ext_nested = 24;
Joe Tsai94e730b2020-01-10 23:31:25 -08001720 E_OptExtNested = &file_textpb2_test_proto_extTypes[3]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001721 // optional pb2.PartialRequired opt_ext_partial = 25;
Joe Tsai94e730b2020-01-10 23:31:25 -08001722 E_OptExtPartial = &file_textpb2_test_proto_extTypes[4]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001723 // repeated fixed32 rpt_ext_fixed32 = 31;
Joe Tsai94e730b2020-01-10 23:31:25 -08001724 E_RptExtFixed32 = &file_textpb2_test_proto_extTypes[5]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001725 // repeated pb2.Enum rpt_ext_enum = 32;
Joe Tsai94e730b2020-01-10 23:31:25 -08001726 E_RptExtEnum = &file_textpb2_test_proto_extTypes[6]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001727 // repeated pb2.Nested rpt_ext_nested = 33;
Joe Tsai94e730b2020-01-10 23:31:25 -08001728 E_RptExtNested = &file_textpb2_test_proto_extTypes[7]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001729 // optional bool opt_ext_bool = 51;
Joe Tsai94e730b2020-01-10 23:31:25 -08001730 E_ExtensionsContainer_OptExtBool = &file_textpb2_test_proto_extTypes[9]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001731 // optional string opt_ext_string = 52;
Joe Tsai94e730b2020-01-10 23:31:25 -08001732 E_ExtensionsContainer_OptExtString = &file_textpb2_test_proto_extTypes[10]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001733 // optional pb2.Enum opt_ext_enum = 53;
Joe Tsai94e730b2020-01-10 23:31:25 -08001734 E_ExtensionsContainer_OptExtEnum = &file_textpb2_test_proto_extTypes[11]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001735 // optional pb2.Nested opt_ext_nested = 54;
Joe Tsai94e730b2020-01-10 23:31:25 -08001736 E_ExtensionsContainer_OptExtNested = &file_textpb2_test_proto_extTypes[12]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001737 // optional pb2.PartialRequired opt_ext_partial = 55;
Joe Tsai94e730b2020-01-10 23:31:25 -08001738 E_ExtensionsContainer_OptExtPartial = &file_textpb2_test_proto_extTypes[13]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001739 // repeated string rpt_ext_string = 61;
Joe Tsai94e730b2020-01-10 23:31:25 -08001740 E_ExtensionsContainer_RptExtString = &file_textpb2_test_proto_extTypes[14]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001741 // repeated pb2.Enum rpt_ext_enum = 62;
Joe Tsai94e730b2020-01-10 23:31:25 -08001742 E_ExtensionsContainer_RptExtEnum = &file_textpb2_test_proto_extTypes[15]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001743 // repeated pb2.Nested rpt_ext_nested = 63;
Joe Tsai94e730b2020-01-10 23:31:25 -08001744 E_ExtensionsContainer_RptExtNested = &file_textpb2_test_proto_extTypes[16]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001745)
Herbie Ong8170d692019-02-13 14:13:21 -08001746
Joe Tsai4a7d6332019-08-06 16:45:11 -07001747// Extension fields to MessageSet.
1748var (
1749 // optional pb2.FakeMessageSetExtension message_set_extension = 50;
Joe Tsai94e730b2020-01-10 23:31:25 -08001750 E_MessageSetExtension = &file_textpb2_test_proto_extTypes[8]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001751 // optional pb2.MessageSetExtension message_set_extension = 10;
Joe Tsai94e730b2020-01-10 23:31:25 -08001752 E_MessageSetExtension_MessageSetExtension = &file_textpb2_test_proto_extTypes[17]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001753 // optional pb2.MessageSetExtension not_message_set_extension = 20;
Joe Tsai94e730b2020-01-10 23:31:25 -08001754 E_MessageSetExtension_NotMessageSetExtension = &file_textpb2_test_proto_extTypes[18]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001755 // optional pb2.Nested ext_nested = 30;
Joe Tsai94e730b2020-01-10 23:31:25 -08001756 E_MessageSetExtension_ExtNested = &file_textpb2_test_proto_extTypes[19]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001757)
Herbie Ong8170d692019-02-13 14:13:21 -08001758
Joe Tsai4a7d6332019-08-06 16:45:11 -07001759// Extension fields to FakeMessageSet.
1760var (
1761 // optional pb2.FakeMessageSetExtension message_set_extension = 10;
Joe Tsai94e730b2020-01-10 23:31:25 -08001762 E_FakeMessageSetExtension_MessageSetExtension = &file_textpb2_test_proto_extTypes[20]
Joe Tsaiafb455e2019-03-14 16:08:22 -07001763)
Joe Tsai4a7d6332019-08-06 16:45:11 -07001764
Joe Tsai94e730b2020-01-10 23:31:25 -08001765var File_textpb2_test_proto protoreflect.FileDescriptor
Joe Tsai5d72cc22019-03-28 01:13:26 -07001766
Joe Tsai94e730b2020-01-10 23:31:25 -08001767var file_textpb2_test_proto_rawDesc = []byte{
1768 0x0a, 0x12, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x32, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70,
1769 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x70, 0x62, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1770 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70,
1771 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
1772 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1773 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1774 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72,
1775 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
1776 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
1777 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
1778 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1779 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1780 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
1781 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1782 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f,
1783 0x74, 0x6f, 0x22, 0xda, 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x19,
1784 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
1785 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74,
1786 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70,
1787 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e,
1788 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e,
1789 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33,
1790 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74,
1791 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34,
1792 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36,
1793 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18,
1794 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32,
1795 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07,
1796 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12,
1797 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08,
1798 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
1799 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18,
1800 0x09, 0x20, 0x01, 0x28, 0x06, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36,
1801 0x34, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33,
1802 0x32, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78,
1803 0x65, 0x64, 0x33, 0x32, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78,
1804 0x65, 0x64, 0x36, 0x34, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53,
1805 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66,
1806 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46,
1807 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62,
1808 0x6c, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75,
1809 0x62, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73,
1810 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73,
1811 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d,
1812 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22,
1813 0xfb, 0x01, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x24, 0x0a, 0x08, 0x6f, 0x70, 0x74,
1814 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62,
1815 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12,
1816 0x24, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28,
1817 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x70,
1818 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x3d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1819 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15,
1820 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
1821 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1822 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x3d, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74,
1823 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x15, 0x2e,
1824 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1825 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0d, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45,
1826 0x6e, 0x75, 0x6d, 0x22, 0x28, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75,
1827 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f,
1828 0x53, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x94, 0x02,
1829 0x0a, 0x07, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70, 0x74,
1830 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x07, 0x72, 0x70, 0x74,
1831 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33,
1832 0x32, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33,
1833 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03,
1834 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d,
1835 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x03,
1836 0x28, 0x0d, 0x52, 0x09, 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a,
1837 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x03, 0x28,
1838 0x04, 0x52, 0x09, 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09,
1839 0x72, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x02, 0x52,
1840 0x08, 0x72, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74,
1841 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x72,
1842 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f,
1843 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x70,
1844 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x62,
1845 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x70, 0x74, 0x42,
1846 0x79, 0x74, 0x65, 0x73, 0x22, 0x53, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x1d,
1847 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01,
1848 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a,
1849 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
1850 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09,
1851 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0xd3, 0x03, 0x0a, 0x05, 0x4e, 0x65,
1852 0x73, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65,
1853 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65,
1854 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12,
1855 0x2f, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28,
1856 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70,
1857 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70,
1858 0x12, 0x2a, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04,
1859 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
1860 0x64, 0x52, 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08,
1861 0x72, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0a, 0x32, 0x13,
1862 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x52, 0x70, 0x74, 0x47, 0x72,
1863 0x6f, 0x75, 0x70, 0x52, 0x08, 0x72, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0xd4, 0x01,
1864 0x0a, 0x08, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001865 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
1866 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
1867 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
1868 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e,
Joe Tsai94e730b2020-01-10 23:31:25 -08001869 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74,
1870 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x22, 0x2e,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001871 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f,
Joe Tsai94e730b2020-01-10 23:31:25 -08001872 0x75, 0x70, 0x2e, 0x4f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75,
1873 0x70, 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75,
1874 0x70, 0x1a, 0x31, 0x0a, 0x0e, 0x4f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72,
1875 0x6f, 0x75, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64,
1876 0x33, 0x32, 0x18, 0x01, 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78,
1877 0x65, 0x64, 0x33, 0x32, 0x1a, 0x29, 0x0a, 0x08, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70,
1878 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01,
1879 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52,
1880 0x0e, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22,
1881 0xd9, 0x01, 0x0a, 0x09, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x73, 0x12, 0x19, 0x0a,
1882 0x08, 0x72, 0x65, 0x71, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52,
1883 0x07, 0x72, 0x65, 0x71, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x5f,
1884 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x02, 0x20, 0x02, 0x28, 0x10, 0x52, 0x0b,
1885 0x72, 0x65, 0x71, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72,
1886 0x65, 0x71, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x01, 0x52,
1887 0x09, 0x72, 0x65, 0x71, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65,
1888 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09,
1889 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x08, 0x72, 0x65, 0x71,
1890 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62,
1891 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x65, 0x71, 0x45, 0x6e, 0x75, 0x6d, 0x12,
1892 0x2a, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20,
1893 0x02, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1894 0x52, 0x09, 0x72, 0x65, 0x71, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4f, 0x0a, 0x0f, 0x50,
1895 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d,
Herbie Ong0b0f4032019-03-18 19:06:15 -07001896 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02,
Joe Tsai94e730b2020-01-10 23:31:25 -08001897 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a,
1898 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28,
1899 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x33, 0x0a, 0x12,
1900 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
1901 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
1902 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e,
1903 0x67, 0x22, 0xee, 0x02, 0x0a, 0x10, 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65,
1904 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65,
1905 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32,
1906 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69,
1907 0x72, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x36,
1908 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03,
1909 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57,
1910 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x09, 0x72, 0x70, 0x74,
1911 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f,
1912 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e,
1913 0x70, 0x62, 0x32, 0x2e, 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75,
1914 0x69, 0x72, 0x65, 0x64, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1915 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74,
1916 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74,
1917 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e,
1918 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
1919 0x64, 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1920 0x1a, 0x57, 0x0a, 0x10, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45,
1921 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
1922 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
1923 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74,
1924 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x05,
1925 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69,
1926 0x6f, 0x6e, 0x22, 0x69, 0x0a, 0x0a, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
1927 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01,
1928 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12,
1929 0x19, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x65, 0x20, 0x01, 0x28,
1930 0x08, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70,
1931 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f,
1932 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x2a, 0x04, 0x08, 0x14, 0x10, 0x65, 0x22, 0x89, 0x04,
1933 0x0a, 0x13, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x74,
1934 0x61, 0x69, 0x6e, 0x65, 0x72, 0x32, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74,
1935 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65,
1936 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x33, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70,
1937 0x74, 0x45, 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x32, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f,
1938 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32,
1939 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x34, 0x20, 0x01, 0x28,
1940 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32,
1941 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12,
1942 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
1943 0x18, 0x35, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75,
1944 0x6d, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a,
1945 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12,
1946 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
1947 0x18, 0x36, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73,
1948 0x74, 0x65, 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65,
1949 0x64, 0x32, 0x4d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72,
1950 0x74, 0x69, 0x61, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e,
1951 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x37, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62,
1952 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
1953 0x64, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
1954 0x32, 0x35, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69,
1955 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1956 0x6f, 0x6e, 0x73, 0x18, 0x3d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78,
1957 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65,
1958 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78,
1959 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09,
1960 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78,
1961 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74,
1962 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78,
1963 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b,
1964 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74,
1965 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0a, 0x4d, 0x65, 0x73,
1966 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, 0xff, 0xff, 0xff, 0xff,
1967 0x07, 0x3a, 0x02, 0x08, 0x01, 0x22, 0xb6, 0x02, 0x0a, 0x13, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
1968 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a,
1969 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28,
1970 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x5d, 0x0a, 0x15,
1971 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65,
1972 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73,
1973 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70,
1974 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74,
1975 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
1976 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x64, 0x0a, 0x19, 0x6e,
1977 0x6f, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65,
1978 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d,
1979 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32,
1980 0x18, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74,
1981 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x6e, 0x6f, 0x74, 0x4d, 0x65,
1982 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1983 0x6e, 0x32, 0x3b, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12,
1984 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74,
1985 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73,
1986 0x74, 0x65, 0x64, 0x52, 0x09, 0x65, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a,
1987 0x0a, 0x0e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74,
1988 0x2a, 0x08, 0x08, 0x04, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9f, 0x01, 0x0a, 0x17, 0x46,
1989 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74,
1990 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74,
1991 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53,
1992 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x65, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
1993 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13,
1994 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
1995 0x53, 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1996 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78,
1997 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
1998 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x9e, 0x08, 0x0a,
1999 0x0a, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x6f,
2000 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
Herbie Ong09b28a92019-04-03 15:42:41 -07002001 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
Joe Tsai94e730b2020-01-10 23:31:25 -08002002 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f,
2003 0x6f, 0x6c, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18,
2004 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
2005 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c,
2006 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x38, 0x0a, 0x09,
2007 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
2008 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
2009 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70,
2010 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69,
2011 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
2012 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e,
2013 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e,
2014 0x74, 0x33, 0x32, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36,
2015 0x34, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2016 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34,
2017 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34,
2018 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20,
2019 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
2020 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65,
2021 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70,
2022 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c,
2023 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
2024 0x2e, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70,
2025 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73,
2026 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f,
2027 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74,
2028 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74,
2029 0x72, 0x69, 0x6e, 0x67, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65,
2030 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2031 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56,
2032 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3c,
2033 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14,
2034 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
2035 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
2036 0x0b, 0x6f, 0x70, 0x74, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0d,
2037 0x6f, 0x70, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x15, 0x20,
Herbie Ong09b28a92019-04-03 15:42:41 -07002038 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
Joe Tsai94e730b2020-01-10 23:31:25 -08002039 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
2040 0x0c, 0x6f, 0x70, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x36, 0x0a,
2041 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28,
2042 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
2043 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53,
2044 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6c, 0x69, 0x73,
2045 0x74, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2046 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61,
2047 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x09,
2048 0x6f, 0x70, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32,
2049 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
2050 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x56, 0x61, 0x6c, 0x75,
2051 0x65, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x1c, 0x20,
2052 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
2053 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
2054 0x07, 0x6f, 0x70, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
2055 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f,
2056 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
2057 0x70, 0x74, 0x79, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a,
2058 0x07, 0x6f, 0x70, 0x74, 0x5f, 0x61, 0x6e, 0x79, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
2059 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
2060 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x06, 0x6f, 0x70, 0x74, 0x41, 0x6e, 0x79, 0x12, 0x3f, 0x0a, 0x0d,
2061 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x28, 0x20,
2062 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
2063 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52,
2064 0x0c, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73, 0x6b, 0x2a, 0x21, 0x0a,
2065 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07,
2066 0x0a, 0x03, 0x54, 0x57, 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10, 0x0a,
2067 0x3a, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c,
Herbie Ong09b28a92019-04-03 15:42:41 -07002068 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
Joe Tsai94e730b2020-01-10 23:31:25 -08002069 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x42,
2070 0x6f, 0x6f, 0x6c, 0x3a, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73,
2071 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65,
2072 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70,
2073 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3c, 0x0a, 0x0c, 0x6f, 0x70,
2074 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32,
2075 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28,
2076 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f, 0x70,
2077 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f,
2078 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32,
2079 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28,
2080 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c,
2081 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a, 0x4d, 0x0a, 0x0f,
2082 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x12,
2083 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
2084 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61, 0x72,
2085 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f, 0x70,
2086 0x74, 0x45, 0x78, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x3a, 0x37, 0x0a, 0x0f, 0x72,
2087 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x0f,
2088 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
2089 0x1f, 0x20, 0x03, 0x28, 0x07, 0x52, 0x0d, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x46, 0x69, 0x78,
2090 0x65, 0x64, 0x33, 0x32, 0x3a, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
2091 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e,
2092 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62,
2093 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e,
2094 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65,
2095 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e,
2096 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62,
2097 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74,
2098 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a, 0x61, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
2099 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12,
2100 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74,
2101 0x18, 0x32, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b,
2102 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e,
2103 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74,
2104 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x6f, 0x6f,
2105 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70,
2106 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
2107 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x78, 0x74,
2108 0x70, 0x62, 0x32,
Herbie Ong8170d692019-02-13 14:13:21 -08002109}
2110
Joe Tsai5d72cc22019-03-28 01:13:26 -07002111var (
Joe Tsai94e730b2020-01-10 23:31:25 -08002112 file_textpb2_test_proto_rawDescOnce sync.Once
2113 file_textpb2_test_proto_rawDescData = file_textpb2_test_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -07002114)
Herbie Ong8170d692019-02-13 14:13:21 -08002115
Joe Tsai94e730b2020-01-10 23:31:25 -08002116func file_textpb2_test_proto_rawDescGZIP() []byte {
2117 file_textpb2_test_proto_rawDescOnce.Do(func() {
2118 file_textpb2_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_textpb2_test_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -07002119 })
Joe Tsai94e730b2020-01-10 23:31:25 -08002120 return file_textpb2_test_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -07002121}
Herbie Ong8170d692019-02-13 14:13:21 -08002122
Joe Tsai94e730b2020-01-10 23:31:25 -08002123var file_textpb2_test_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
2124var file_textpb2_test_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
2125var file_textpb2_test_proto_goTypes = []interface{}{
Herbie Ong8170d692019-02-13 14:13:21 -08002126 (Enum)(0), // 0: pb2.Enum
2127 (Enums_NestedEnum)(0), // 1: pb2.Enums.NestedEnum
2128 (*Scalars)(nil), // 2: pb2.Scalars
2129 (*Enums)(nil), // 3: pb2.Enums
2130 (*Repeats)(nil), // 4: pb2.Repeats
2131 (*Nested)(nil), // 5: pb2.Nested
2132 (*Nests)(nil), // 6: pb2.Nests
2133 (*Requireds)(nil), // 7: pb2.Requireds
2134 (*PartialRequired)(nil), // 8: pb2.PartialRequired
2135 (*NestedWithRequired)(nil), // 9: pb2.NestedWithRequired
2136 (*IndirectRequired)(nil), // 10: pb2.IndirectRequired
2137 (*Extensions)(nil), // 11: pb2.Extensions
2138 (*ExtensionsContainer)(nil), // 12: pb2.ExtensionsContainer
2139 (*MessageSet)(nil), // 13: pb2.MessageSet
2140 (*MessageSetExtension)(nil), // 14: pb2.MessageSetExtension
2141 (*FakeMessageSet)(nil), // 15: pb2.FakeMessageSet
2142 (*FakeMessageSetExtension)(nil), // 16: pb2.FakeMessageSetExtension
2143 (*KnownTypes)(nil), // 17: pb2.KnownTypes
2144 (*Nests_OptGroup)(nil), // 18: pb2.Nests.OptGroup
2145 (*Nests_RptGroup)(nil), // 19: pb2.Nests.RptGroup
2146 (*Nests_OptGroup_OptNestedGroup)(nil), // 20: pb2.Nests.OptGroup.OptNestedGroup
2147 nil, // 21: pb2.IndirectRequired.StrToNestedEntry
Joe Tsaia95b29f2019-05-16 12:47:20 -07002148 (*wrapperspb.BoolValue)(nil), // 22: google.protobuf.BoolValue
2149 (*wrapperspb.Int32Value)(nil), // 23: google.protobuf.Int32Value
2150 (*wrapperspb.Int64Value)(nil), // 24: google.protobuf.Int64Value
2151 (*wrapperspb.UInt32Value)(nil), // 25: google.protobuf.UInt32Value
2152 (*wrapperspb.UInt64Value)(nil), // 26: google.protobuf.UInt64Value
2153 (*wrapperspb.FloatValue)(nil), // 27: google.protobuf.FloatValue
2154 (*wrapperspb.DoubleValue)(nil), // 28: google.protobuf.DoubleValue
2155 (*wrapperspb.StringValue)(nil), // 29: google.protobuf.StringValue
2156 (*wrapperspb.BytesValue)(nil), // 30: google.protobuf.BytesValue
2157 (*durationpb.Duration)(nil), // 31: google.protobuf.Duration
2158 (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp
2159 (*structpb.Struct)(nil), // 33: google.protobuf.Struct
2160 (*structpb.ListValue)(nil), // 34: google.protobuf.ListValue
2161 (*structpb.Value)(nil), // 35: google.protobuf.Value
2162 (structpb.NullValue)(0), // 36: google.protobuf.NullValue
2163 (*emptypb.Empty)(nil), // 37: google.protobuf.Empty
2164 (*anypb.Any)(nil), // 38: google.protobuf.Any
2165 (*fieldmaskpb.FieldMask)(nil), // 39: google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08002166}
Joe Tsai94e730b2020-01-10 23:31:25 -08002167var file_textpb2_test_proto_depIdxs = []int32{
Joe Tsai73288392019-08-14 11:55:31 -07002168 0, // 0: pb2.Enums.opt_enum:type_name -> pb2.Enum
2169 0, // 1: pb2.Enums.rpt_enum:type_name -> pb2.Enum
2170 1, // 2: pb2.Enums.opt_nested_enum:type_name -> pb2.Enums.NestedEnum
2171 1, // 3: pb2.Enums.rpt_nested_enum:type_name -> pb2.Enums.NestedEnum
2172 5, // 4: pb2.Nested.opt_nested:type_name -> pb2.Nested
2173 5, // 5: pb2.Nests.opt_nested:type_name -> pb2.Nested
2174 18, // 6: pb2.Nests.optgroup:type_name -> pb2.Nests.OptGroup
2175 5, // 7: pb2.Nests.rpt_nested:type_name -> pb2.Nested
2176 19, // 8: pb2.Nests.rptgroup:type_name -> pb2.Nests.RptGroup
2177 0, // 9: pb2.Requireds.req_enum:type_name -> pb2.Enum
2178 5, // 10: pb2.Requireds.req_nested:type_name -> pb2.Nested
2179 9, // 11: pb2.IndirectRequired.opt_nested:type_name -> pb2.NestedWithRequired
2180 9, // 12: pb2.IndirectRequired.rpt_nested:type_name -> pb2.NestedWithRequired
2181 21, // 13: pb2.IndirectRequired.str_to_nested:type_name -> pb2.IndirectRequired.StrToNestedEntry
2182 9, // 14: pb2.IndirectRequired.oneof_nested:type_name -> pb2.NestedWithRequired
2183 22, // 15: pb2.KnownTypes.opt_bool:type_name -> google.protobuf.BoolValue
2184 23, // 16: pb2.KnownTypes.opt_int32:type_name -> google.protobuf.Int32Value
2185 24, // 17: pb2.KnownTypes.opt_int64:type_name -> google.protobuf.Int64Value
2186 25, // 18: pb2.KnownTypes.opt_uint32:type_name -> google.protobuf.UInt32Value
2187 26, // 19: pb2.KnownTypes.opt_uint64:type_name -> google.protobuf.UInt64Value
2188 27, // 20: pb2.KnownTypes.opt_float:type_name -> google.protobuf.FloatValue
2189 28, // 21: pb2.KnownTypes.opt_double:type_name -> google.protobuf.DoubleValue
2190 29, // 22: pb2.KnownTypes.opt_string:type_name -> google.protobuf.StringValue
2191 30, // 23: pb2.KnownTypes.opt_bytes:type_name -> google.protobuf.BytesValue
2192 31, // 24: pb2.KnownTypes.opt_duration:type_name -> google.protobuf.Duration
2193 32, // 25: pb2.KnownTypes.opt_timestamp:type_name -> google.protobuf.Timestamp
2194 33, // 26: pb2.KnownTypes.opt_struct:type_name -> google.protobuf.Struct
2195 34, // 27: pb2.KnownTypes.opt_list:type_name -> google.protobuf.ListValue
2196 35, // 28: pb2.KnownTypes.opt_value:type_name -> google.protobuf.Value
2197 36, // 29: pb2.KnownTypes.opt_null:type_name -> google.protobuf.NullValue
2198 37, // 30: pb2.KnownTypes.opt_empty:type_name -> google.protobuf.Empty
2199 38, // 31: pb2.KnownTypes.opt_any:type_name -> google.protobuf.Any
2200 39, // 32: pb2.KnownTypes.opt_fieldmask:type_name -> google.protobuf.FieldMask
2201 5, // 33: pb2.Nests.OptGroup.opt_nested:type_name -> pb2.Nested
2202 20, // 34: pb2.Nests.OptGroup.optnestedgroup:type_name -> pb2.Nests.OptGroup.OptNestedGroup
2203 9, // 35: pb2.IndirectRequired.StrToNestedEntry.value:type_name -> pb2.NestedWithRequired
2204 11, // 36: pb2.opt_ext_bool:extendee -> pb2.Extensions
2205 11, // 37: pb2.opt_ext_string:extendee -> pb2.Extensions
2206 11, // 38: pb2.opt_ext_enum:extendee -> pb2.Extensions
2207 11, // 39: pb2.opt_ext_nested:extendee -> pb2.Extensions
2208 11, // 40: pb2.opt_ext_partial:extendee -> pb2.Extensions
2209 11, // 41: pb2.rpt_ext_fixed32:extendee -> pb2.Extensions
2210 11, // 42: pb2.rpt_ext_enum:extendee -> pb2.Extensions
2211 11, // 43: pb2.rpt_ext_nested:extendee -> pb2.Extensions
2212 13, // 44: pb2.message_set_extension:extendee -> pb2.MessageSet
2213 11, // 45: pb2.ExtensionsContainer.opt_ext_bool:extendee -> pb2.Extensions
2214 11, // 46: pb2.ExtensionsContainer.opt_ext_string:extendee -> pb2.Extensions
2215 11, // 47: pb2.ExtensionsContainer.opt_ext_enum:extendee -> pb2.Extensions
2216 11, // 48: pb2.ExtensionsContainer.opt_ext_nested:extendee -> pb2.Extensions
2217 11, // 49: pb2.ExtensionsContainer.opt_ext_partial:extendee -> pb2.Extensions
2218 11, // 50: pb2.ExtensionsContainer.rpt_ext_string:extendee -> pb2.Extensions
2219 11, // 51: pb2.ExtensionsContainer.rpt_ext_enum:extendee -> pb2.Extensions
2220 11, // 52: pb2.ExtensionsContainer.rpt_ext_nested:extendee -> pb2.Extensions
2221 13, // 53: pb2.MessageSetExtension.message_set_extension:extendee -> pb2.MessageSet
2222 13, // 54: pb2.MessageSetExtension.not_message_set_extension:extendee -> pb2.MessageSet
2223 13, // 55: pb2.MessageSetExtension.ext_nested:extendee -> pb2.MessageSet
2224 15, // 56: pb2.FakeMessageSetExtension.message_set_extension:extendee -> pb2.FakeMessageSet
2225 0, // 57: pb2.opt_ext_enum:type_name -> pb2.Enum
2226 5, // 58: pb2.opt_ext_nested:type_name -> pb2.Nested
2227 8, // 59: pb2.opt_ext_partial:type_name -> pb2.PartialRequired
2228 0, // 60: pb2.rpt_ext_enum:type_name -> pb2.Enum
2229 5, // 61: pb2.rpt_ext_nested:type_name -> pb2.Nested
2230 16, // 62: pb2.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2231 0, // 63: pb2.ExtensionsContainer.opt_ext_enum:type_name -> pb2.Enum
2232 5, // 64: pb2.ExtensionsContainer.opt_ext_nested:type_name -> pb2.Nested
2233 8, // 65: pb2.ExtensionsContainer.opt_ext_partial:type_name -> pb2.PartialRequired
2234 0, // 66: pb2.ExtensionsContainer.rpt_ext_enum:type_name -> pb2.Enum
2235 5, // 67: pb2.ExtensionsContainer.rpt_ext_nested:type_name -> pb2.Nested
2236 14, // 68: pb2.MessageSetExtension.message_set_extension:type_name -> pb2.MessageSetExtension
2237 14, // 69: pb2.MessageSetExtension.not_message_set_extension:type_name -> pb2.MessageSetExtension
2238 5, // 70: pb2.MessageSetExtension.ext_nested:type_name -> pb2.Nested
2239 16, // 71: pb2.FakeMessageSetExtension.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2240 72, // [72:72] is the sub-list for method output_type
2241 72, // [72:72] is the sub-list for method input_type
2242 57, // [57:72] is the sub-list for extension type_name
2243 36, // [36:57] is the sub-list for extension extendee
2244 0, // [0:36] is the sub-list for field type_name
Herbie Ong8170d692019-02-13 14:13:21 -08002245}
2246
Joe Tsai94e730b2020-01-10 23:31:25 -08002247func init() { file_textpb2_test_proto_init() }
2248func file_textpb2_test_proto_init() {
2249 if File_textpb2_test_proto != nil {
Damien Neil0fc22452019-03-08 17:18:11 -08002250 return
2251 }
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002252 if !protoimpl.UnsafeEnabled {
Joe Tsai94e730b2020-01-10 23:31:25 -08002253 file_textpb2_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002254 switch v := v.(*Scalars); 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 }
Joe Tsai94e730b2020-01-10 23:31:25 -08002265 file_textpb2_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002266 switch v := v.(*Enums); 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 Tsaic0e4bb22019-07-06 13:05:11 -07002272 return &v.unknownFields
2273 default:
2274 return nil
2275 }
2276 }
Joe Tsai94e730b2020-01-10 23:31:25 -08002277 file_textpb2_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002278 switch v := v.(*Repeats); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002279 case 0:
2280 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002281 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002282 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002283 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002284 return &v.unknownFields
2285 default:
2286 return nil
2287 }
2288 }
Joe Tsai94e730b2020-01-10 23:31:25 -08002289 file_textpb2_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002290 switch v := v.(*Nested); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002291 case 0:
2292 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002293 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002294 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002295 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002296 return &v.unknownFields
2297 default:
2298 return nil
2299 }
2300 }
Joe Tsai94e730b2020-01-10 23:31:25 -08002301 file_textpb2_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002302 switch v := v.(*Nests); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002303 case 0:
2304 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002305 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002306 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002307 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002308 return &v.unknownFields
2309 default:
2310 return nil
2311 }
2312 }
Joe Tsai94e730b2020-01-10 23:31:25 -08002313 file_textpb2_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002314 switch v := v.(*Requireds); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002315 case 0:
2316 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002317 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002318 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002319 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002320 return &v.unknownFields
2321 default:
2322 return nil
2323 }
2324 }
Joe Tsai94e730b2020-01-10 23:31:25 -08002325 file_textpb2_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002326 switch v := v.(*PartialRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002327 case 0:
2328 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002329 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002330 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002331 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002332 return &v.unknownFields
2333 default:
2334 return nil
2335 }
2336 }
Joe Tsai94e730b2020-01-10 23:31:25 -08002337 file_textpb2_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002338 switch v := v.(*NestedWithRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002339 case 0:
2340 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002341 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002342 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002343 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002344 return &v.unknownFields
2345 default:
2346 return nil
2347 }
2348 }
Joe Tsai94e730b2020-01-10 23:31:25 -08002349 file_textpb2_test_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002350 switch v := v.(*IndirectRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002351 case 0:
2352 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002353 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002354 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002355 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002356 return &v.unknownFields
2357 default:
2358 return nil
2359 }
2360 }
Joe Tsai94e730b2020-01-10 23:31:25 -08002361 file_textpb2_test_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002362 switch v := v.(*Extensions); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002363 case 0:
2364 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002365 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002366 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002367 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002368 return &v.unknownFields
Joe Tsai38b61962019-08-05 13:09:30 -07002369 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002370 return &v.extensionFields
2371 default:
2372 return nil
2373 }
2374 }
Joe Tsai94e730b2020-01-10 23:31:25 -08002375 file_textpb2_test_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002376 switch v := v.(*ExtensionsContainer); i {
2377 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002378 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002379 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002380 return &v.sizeCache
2381 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002382 return &v.unknownFields
2383 default:
2384 return nil
2385 }
2386 }
Joe Tsai94e730b2020-01-10 23:31:25 -08002387 file_textpb2_test_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002388 switch v := v.(*MessageSet); i {
2389 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002390 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002391 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002392 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002393 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002394 return &v.unknownFields
2395 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002396 return &v.extensionFields
2397 default:
2398 return nil
2399 }
2400 }
Joe Tsai94e730b2020-01-10 23:31:25 -08002401 file_textpb2_test_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002402 switch v := v.(*MessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002403 case 0:
2404 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002405 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002406 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002407 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002408 return &v.unknownFields
2409 default:
2410 return nil
2411 }
2412 }
Joe Tsai94e730b2020-01-10 23:31:25 -08002413 file_textpb2_test_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002414 switch v := v.(*FakeMessageSet); i {
2415 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002416 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002417 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002418 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002419 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002420 return &v.unknownFields
2421 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002422 return &v.extensionFields
2423 default:
2424 return nil
2425 }
2426 }
Joe Tsai94e730b2020-01-10 23:31:25 -08002427 file_textpb2_test_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002428 switch v := v.(*FakeMessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002429 case 0:
2430 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002431 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002432 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002433 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002434 return &v.unknownFields
2435 default:
2436 return nil
2437 }
2438 }
Joe Tsai94e730b2020-01-10 23:31:25 -08002439 file_textpb2_test_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002440 switch v := v.(*KnownTypes); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002441 case 0:
2442 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002443 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002444 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002445 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002446 return &v.unknownFields
2447 default:
2448 return nil
2449 }
2450 }
Joe Tsai94e730b2020-01-10 23:31:25 -08002451 file_textpb2_test_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002452 switch v := v.(*Nests_OptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002453 case 0:
2454 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002455 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002456 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002457 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002458 return &v.unknownFields
2459 default:
2460 return nil
2461 }
2462 }
Joe Tsai94e730b2020-01-10 23:31:25 -08002463 file_textpb2_test_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002464 switch v := v.(*Nests_RptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002465 case 0:
2466 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002467 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002468 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002469 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002470 return &v.unknownFields
2471 default:
2472 return nil
2473 }
2474 }
Joe Tsai94e730b2020-01-10 23:31:25 -08002475 file_textpb2_test_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002476 switch v := v.(*Nests_OptGroup_OptNestedGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002477 case 0:
2478 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002479 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002480 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002481 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002482 return &v.unknownFields
2483 default:
2484 return nil
2485 }
2486 }
2487 }
Joe Tsai94e730b2020-01-10 23:31:25 -08002488 file_textpb2_test_proto_msgTypes[8].OneofWrappers = []interface{}{
Joe Tsai09912272019-07-08 10:38:11 -07002489 (*IndirectRequired_OneofNested)(nil),
2490 }
Joe Tsaiaf570872019-07-14 23:04:40 -07002491 type x struct{}
Joe Tsaid8881392019-06-06 13:01:53 -07002492 out := protoimpl.TypeBuilder{
2493 File: protoimpl.DescBuilder{
Joe Tsaiaf570872019-07-14 23:04:40 -07002494 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
Joe Tsai94e730b2020-01-10 23:31:25 -08002495 RawDescriptor: file_textpb2_test_proto_rawDesc,
Joe Tsaid8881392019-06-06 13:01:53 -07002496 NumEnums: 2,
2497 NumMessages: 20,
2498 NumExtensions: 21,
2499 NumServices: 0,
2500 },
Joe Tsai94e730b2020-01-10 23:31:25 -08002501 GoTypes: file_textpb2_test_proto_goTypes,
2502 DependencyIndexes: file_textpb2_test_proto_depIdxs,
2503 EnumInfos: file_textpb2_test_proto_enumTypes,
2504 MessageInfos: file_textpb2_test_proto_msgTypes,
2505 ExtensionInfos: file_textpb2_test_proto_extTypes,
Joe Tsaid8881392019-06-06 13:01:53 -07002506 }.Build()
Joe Tsai94e730b2020-01-10 23:31:25 -08002507 File_textpb2_test_proto = out.File
2508 file_textpb2_test_proto_rawDesc = nil
2509 file_textpb2_test_proto_goTypes = nil
2510 file_textpb2_test_proto_depIdxs = nil
Herbie Ong8170d692019-02-13 14:13:21 -08002511}