blob: f13503a29e2de94557c5cf1245781f4a4a50cb71 [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.
Damien Neil3c5fb5f2020-02-04 15:03:30 -08008// source: internal/testprotos/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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -080060 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -080064 return &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -080083 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800119 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800123 return &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800142 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800171 mi := &file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800184 mi := &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800197 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800320 mi := &file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800333 mi := &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800346 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800397 mi := &file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800410 mi := &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800423 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800502 mi := &file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800515 mi := &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800528 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800560 mi := &file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800573 mi := &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800586 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800634 mi := &file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800647 mi := &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800660 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800718 mi := &file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800731 mi := &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800744 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800772 mi := &file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800785 mi := &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800798 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800824 mi := &file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800837 mi := &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800850 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800912 mi := &file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800925 mi := &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800938 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800980 mi := &file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -0800993 mi := &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001006 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001019 mi := &file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001032 mi := &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001045 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001068 mi := &file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001081 mi := &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001094 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001114 mi := &file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001127 mi := &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001140 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001163 mi := &file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001176 mi := &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001189 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001228 mi := &file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001241 mi := &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001254 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001396 mi := &file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001409 mi := &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001422 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001457 mi := &file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001470 mi := &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001483 return file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001504 mi := &file_internal_testprotos_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 {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001517 mi := &file_internal_testprotos_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) {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001530 return file_internal_testprotos_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
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001540var file_internal_testprotos_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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001547 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001555 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001563 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001571 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001579 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001587 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001595 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001603 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001611 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001619 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001627 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001635 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001643 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001651 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001659 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001667 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001675 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001683 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001691 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001699 Filename: "internal/testprotos/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",
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001707 Filename: "internal/testprotos/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;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001714 E_OptExtBool = &file_internal_testprotos_textpb2_test_proto_extTypes[0]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001715 // optional string opt_ext_string = 22;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001716 E_OptExtString = &file_internal_testprotos_textpb2_test_proto_extTypes[1]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001717 // optional pb2.Enum opt_ext_enum = 23;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001718 E_OptExtEnum = &file_internal_testprotos_textpb2_test_proto_extTypes[2]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001719 // optional pb2.Nested opt_ext_nested = 24;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001720 E_OptExtNested = &file_internal_testprotos_textpb2_test_proto_extTypes[3]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001721 // optional pb2.PartialRequired opt_ext_partial = 25;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001722 E_OptExtPartial = &file_internal_testprotos_textpb2_test_proto_extTypes[4]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001723 // repeated fixed32 rpt_ext_fixed32 = 31;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001724 E_RptExtFixed32 = &file_internal_testprotos_textpb2_test_proto_extTypes[5]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001725 // repeated pb2.Enum rpt_ext_enum = 32;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001726 E_RptExtEnum = &file_internal_testprotos_textpb2_test_proto_extTypes[6]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001727 // repeated pb2.Nested rpt_ext_nested = 33;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001728 E_RptExtNested = &file_internal_testprotos_textpb2_test_proto_extTypes[7]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001729 // optional bool opt_ext_bool = 51;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001730 E_ExtensionsContainer_OptExtBool = &file_internal_testprotos_textpb2_test_proto_extTypes[9]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001731 // optional string opt_ext_string = 52;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001732 E_ExtensionsContainer_OptExtString = &file_internal_testprotos_textpb2_test_proto_extTypes[10]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001733 // optional pb2.Enum opt_ext_enum = 53;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001734 E_ExtensionsContainer_OptExtEnum = &file_internal_testprotos_textpb2_test_proto_extTypes[11]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001735 // optional pb2.Nested opt_ext_nested = 54;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001736 E_ExtensionsContainer_OptExtNested = &file_internal_testprotos_textpb2_test_proto_extTypes[12]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001737 // optional pb2.PartialRequired opt_ext_partial = 55;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001738 E_ExtensionsContainer_OptExtPartial = &file_internal_testprotos_textpb2_test_proto_extTypes[13]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001739 // repeated string rpt_ext_string = 61;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001740 E_ExtensionsContainer_RptExtString = &file_internal_testprotos_textpb2_test_proto_extTypes[14]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001741 // repeated pb2.Enum rpt_ext_enum = 62;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001742 E_ExtensionsContainer_RptExtEnum = &file_internal_testprotos_textpb2_test_proto_extTypes[15]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001743 // repeated pb2.Nested rpt_ext_nested = 63;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001744 E_ExtensionsContainer_RptExtNested = &file_internal_testprotos_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;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001750 E_MessageSetExtension = &file_internal_testprotos_textpb2_test_proto_extTypes[8]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001751 // optional pb2.MessageSetExtension message_set_extension = 10;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001752 E_MessageSetExtension_MessageSetExtension = &file_internal_testprotos_textpb2_test_proto_extTypes[17]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001753 // optional pb2.MessageSetExtension not_message_set_extension = 20;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001754 E_MessageSetExtension_NotMessageSetExtension = &file_internal_testprotos_textpb2_test_proto_extTypes[18]
Joe Tsai4a7d6332019-08-06 16:45:11 -07001755 // optional pb2.Nested ext_nested = 30;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001756 E_MessageSetExtension_ExtNested = &file_internal_testprotos_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;
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001762 E_FakeMessageSetExtension_MessageSetExtension = &file_internal_testprotos_textpb2_test_proto_extTypes[20]
Joe Tsaiafb455e2019-03-14 16:08:22 -07001763)
Joe Tsai4a7d6332019-08-06 16:45:11 -07001764
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001765var File_internal_testprotos_textpb2_test_proto protoreflect.FileDescriptor
Joe Tsai5d72cc22019-03-28 01:13:26 -07001766
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001767var file_internal_testprotos_textpb2_test_proto_rawDesc = []byte{
1768 0x0a, 0x26, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
1769 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x32, 0x2f, 0x74, 0x65,
1770 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x70, 0x62, 0x32, 0x1a, 0x19, 0x67,
1771 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61,
1772 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1773 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e,
1774 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
1775 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73,
1776 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
1777 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
1778 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
1779 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e,
1780 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
1781 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
1782 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
1783 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73,
1784 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61,
1785 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01,
1786 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a,
1787 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
1788 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70,
1789 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f,
1790 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75,
1791 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74,
1792 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69,
1793 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55,
1794 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e,
1795 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69,
1796 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74,
1797 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e,
1798 0x74, 0x36, 0x34, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64,
1799 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78,
1800 0x65, 0x64, 0x33, 0x32, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65,
1801 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28, 0x06, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69,
1802 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69,
1803 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x0b, 0x6f, 0x70, 0x74,
1804 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f,
1805 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x0b,
1806 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x6f,
1807 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08,
1808 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f,
1809 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6f, 0x70,
1810 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62,
1811 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42,
1812 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69,
1813 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72,
1814 0x69, 0x6e, 0x67, 0x22, 0xfb, 0x01, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x24, 0x0a,
1815 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
1816 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x45,
1817 0x6e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18,
1818 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d,
1819 0x52, 0x07, 0x72, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x3d, 0x0a, 0x0f, 0x6f, 0x70, 0x74,
1820 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01,
1821 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e,
1822 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x4e, 0x65,
1823 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x3d, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f,
1824 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28,
1825 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65,
1826 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0d, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73,
1827 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22, 0x28, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65,
1828 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07,
1829 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10,
1830 0x0a, 0x22, 0x94, 0x02, 0x0a, 0x07, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a,
1831 0x08, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52,
1832 0x07, 0x72, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f,
1833 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x70, 0x74,
1834 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74,
1835 0x36, 0x34, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74,
1836 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32,
1837 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33,
1838 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
1839 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34,
1840 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20,
1841 0x03, 0x28, 0x02, 0x52, 0x08, 0x72, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a,
1842 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28,
1843 0x01, 0x52, 0x09, 0x72, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
1844 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09,
1845 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72,
1846 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08,
1847 0x72, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x53, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74,
1848 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
1849 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e,
1850 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18,
1851 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74,
1852 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0xd3, 0x03,
1853 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e,
1854 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62,
1855 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73,
1856 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18,
1857 0x02, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74,
1858 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x67,
1859 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74,
1860 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e,
1861 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1862 0x12, 0x2f, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x03,
1863 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x52,
1864 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x08, 0x72, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75,
1865 0x70, 0x1a, 0xd4, 0x01, 0x0a, 0x08, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d,
Joe Tsai94e730b2020-01-10 23:31:25 -08001866 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01,
1867 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a,
1868 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
1869 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09,
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001870 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0e, 0x6f, 0x70, 0x74,
1871 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28,
1872 0x0a, 0x32, 0x22, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70,
1873 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
1874 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1875 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x31, 0x0a, 0x0e, 0x4f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74,
1876 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66,
1877 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x01, 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70,
1878 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x1a, 0x29, 0x0a, 0x08, 0x52, 0x70, 0x74, 0x47,
1879 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69,
1880 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72,
1881 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x69,
1882 0x65, 0x6c, 0x64, 0x22, 0xd9, 0x01, 0x0a, 0x09, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
1883 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20,
1884 0x02, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x71, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c,
1885 0x72, 0x65, 0x71, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x02, 0x20, 0x02,
1886 0x28, 0x10, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12,
1887 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20,
1888 0x02, 0x28, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d,
1889 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x02,
1890 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a,
1891 0x08, 0x72, 0x65, 0x71, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0e, 0x32,
1892 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x65, 0x71, 0x45,
1893 0x6e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65,
1894 0x64, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65,
1895 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72, 0x65, 0x71, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22,
1896 0x4f, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
Joe Tsai94e730b2020-01-10 23:31:25 -08001897 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
1898 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e,
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001899 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18,
1900 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1901 0x22, 0x33, 0x0a, 0x12, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65,
1902 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74,
1903 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53,
1904 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xee, 0x02, 0x0a, 0x10, 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65,
1905 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70,
1906 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
1907 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52,
1908 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74,
1909 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
1910 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73,
1911 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52,
1912 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0d, 0x73, 0x74,
1913 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28,
1914 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
1915 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65,
1916 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f,
1917 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f,
1918 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70,
1919 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71,
1920 0x75, 0x69, 0x72, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65,
1921 0x73, 0x74, 0x65, 0x64, 0x1a, 0x57, 0x0a, 0x10, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73,
1922 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
1923 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61,
1924 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1925 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
1926 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x07, 0x0a,
1927 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0x69, 0x0a, 0x0a, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1928 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69,
1929 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72,
1930 0x69, 0x6e, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18,
1931 0x65, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b,
1932 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28,
1933 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x2a, 0x04, 0x08, 0x14, 0x10,
1934 0x65, 0x22, 0x89, 0x04, 0x0a, 0x13, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
1935 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x32, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74,
1936 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1937 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x33, 0x20, 0x01, 0x28, 0x08,
1938 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x32, 0x35, 0x0a, 0x0e,
1939 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f,
Joe Tsai94e730b2020-01-10 23:31:25 -08001940 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
Damien Neil3c5fb5f2020-02-04 15:03:30 -08001941 0x34, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72,
1942 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65,
1943 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1944 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x35, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32,
1945 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75,
1946 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1947 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
1948 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x36, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32,
1949 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e,
1950 0x65, 0x73, 0x74, 0x65, 0x64, 0x32, 0x4d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74,
1951 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45,
1952 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x37, 0x20, 0x01, 0x28, 0x0b, 0x32,
1953 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71,
1954 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x50, 0x61, 0x72,
1955 0x74, 0x69, 0x61, 0x6c, 0x32, 0x35, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
1956 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
1957 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72,
1958 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x72,
1959 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1960 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3e, 0x20, 0x03,
1961 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72,
1962 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74,
1963 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62,
1964 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3f, 0x20, 0x03,
1965 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
1966 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a,
1967 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10,
1968 0xff, 0xff, 0xff, 0xff, 0x07, 0x3a, 0x02, 0x08, 0x01, 0x22, 0xb6, 0x02, 0x0a, 0x13, 0x4d, 0x65,
1969 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1970 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18,
1971 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
1972 0x32, 0x5d, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f,
1973 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e,
1974 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b,
1975 0x32, 0x18, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65,
1976 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73,
1977 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32,
1978 0x64, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73,
1979 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70,
1980 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x14, 0x20,
1981 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
1982 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x6e,
1983 0x6f, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65,
1984 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x3b, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73,
1985 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
1986 0x65, 0x53, 0x65, 0x74, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32,
1987 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x65, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74,
1988 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
1989 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9f,
1990 0x01, 0x0a, 0x17, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65,
1991 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70,
1992 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
1993 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x65, 0x0a, 0x15, 0x6d, 0x65, 0x73,
1994 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
1995 0x6f, 0x6e, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73,
1996 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
1997 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
1998 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73,
1999 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
2000 0x22, 0x9e, 0x08, 0x0a, 0x0a, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12,
2001 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,
2002 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
2003 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f,
2004 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e,
2005 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2006 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33,
2007 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32,
2008 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20,
2009 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
2010 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65,
2011 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70,
2012 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c,
2013 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
2014 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70,
2015 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75,
2016 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f,
2017 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49,
2018 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69,
2019 0x6e, 0x74, 0x36, 0x34, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61,
2020 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2021 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56,
2022 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x3b,
2023 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01,
2024 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
2025 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65,
2026 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6f,
2027 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,
2028 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
2029 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f,
2030 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
2031 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
2032 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79,
2033 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74,
2034 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69,
2035 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2036 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74,
2037 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
2038 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
2039 0x70, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2040 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
2041 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
2042 0x70, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18,
2043 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
2044 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09,
2045 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74,
2046 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
2047 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69,
2048 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x4c, 0x69, 0x73, 0x74,
2049 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1b, 0x20,
2050 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
2051 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74,
2052 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x75, 0x6c,
2053 0x6c, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2054 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61,
2055 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x33, 0x0a, 0x09,
2056 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32,
2057 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
2058 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x45, 0x6d, 0x70, 0x74,
2059 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x5f, 0x61, 0x6e, 0x79, 0x18, 0x20, 0x20, 0x01,
2060 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
2061 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x06, 0x6f, 0x70, 0x74, 0x41, 0x6e, 0x79,
2062 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73,
2063 0x6b, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2064 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d,
2065 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x6d, 0x61, 0x73,
2066 0x6b, 0x2a, 0x21, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45,
2067 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57, 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54,
2068 0x45, 0x4e, 0x10, 0x0a, 0x3a, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f,
2069 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e,
2070 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74,
2071 0x45, 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x3a, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65,
2072 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e,
2073 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09,
2074 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3c,
2075 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f,
2076 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
2077 0x17, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d,
2078 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e,
2079 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f,
2080 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
2081 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74,
2082 0x65, 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
2083 0x3a, 0x4d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74,
2084 0x69, 0x61, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
2085 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32,
2086 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
2087 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x3a,
2088 0x37, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64,
2089 0x33, 0x32, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
2090 0x6f, 0x6e, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28, 0x07, 0x52, 0x0d, 0x72, 0x70, 0x74, 0x45, 0x78,
2091 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x3a, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f,
2092 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45,
2093 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0e, 0x32,
2094 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45,
2095 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78,
2096 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45,
2097 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32,
2098 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70,
2099 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a, 0x61, 0x0a, 0x15, 0x6d, 0x65,
2100 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73,
2101 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
2102 0x65, 0x53, 0x65, 0x74, 0x18, 0x32, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32,
2103 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45,
2104 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
2105 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x38, 0x5a,
2106 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
2107 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65,
2108 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f,
2109 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x32,
Herbie Ong8170d692019-02-13 14:13:21 -08002110}
2111
Joe Tsai5d72cc22019-03-28 01:13:26 -07002112var (
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002113 file_internal_testprotos_textpb2_test_proto_rawDescOnce sync.Once
2114 file_internal_testprotos_textpb2_test_proto_rawDescData = file_internal_testprotos_textpb2_test_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -07002115)
Herbie Ong8170d692019-02-13 14:13:21 -08002116
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002117func file_internal_testprotos_textpb2_test_proto_rawDescGZIP() []byte {
2118 file_internal_testprotos_textpb2_test_proto_rawDescOnce.Do(func() {
2119 file_internal_testprotos_textpb2_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_textpb2_test_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -07002120 })
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002121 return file_internal_testprotos_textpb2_test_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -07002122}
Herbie Ong8170d692019-02-13 14:13:21 -08002123
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002124var file_internal_testprotos_textpb2_test_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
2125var file_internal_testprotos_textpb2_test_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
2126var file_internal_testprotos_textpb2_test_proto_goTypes = []interface{}{
Herbie Ong8170d692019-02-13 14:13:21 -08002127 (Enum)(0), // 0: pb2.Enum
2128 (Enums_NestedEnum)(0), // 1: pb2.Enums.NestedEnum
2129 (*Scalars)(nil), // 2: pb2.Scalars
2130 (*Enums)(nil), // 3: pb2.Enums
2131 (*Repeats)(nil), // 4: pb2.Repeats
2132 (*Nested)(nil), // 5: pb2.Nested
2133 (*Nests)(nil), // 6: pb2.Nests
2134 (*Requireds)(nil), // 7: pb2.Requireds
2135 (*PartialRequired)(nil), // 8: pb2.PartialRequired
2136 (*NestedWithRequired)(nil), // 9: pb2.NestedWithRequired
2137 (*IndirectRequired)(nil), // 10: pb2.IndirectRequired
2138 (*Extensions)(nil), // 11: pb2.Extensions
2139 (*ExtensionsContainer)(nil), // 12: pb2.ExtensionsContainer
2140 (*MessageSet)(nil), // 13: pb2.MessageSet
2141 (*MessageSetExtension)(nil), // 14: pb2.MessageSetExtension
2142 (*FakeMessageSet)(nil), // 15: pb2.FakeMessageSet
2143 (*FakeMessageSetExtension)(nil), // 16: pb2.FakeMessageSetExtension
2144 (*KnownTypes)(nil), // 17: pb2.KnownTypes
2145 (*Nests_OptGroup)(nil), // 18: pb2.Nests.OptGroup
2146 (*Nests_RptGroup)(nil), // 19: pb2.Nests.RptGroup
2147 (*Nests_OptGroup_OptNestedGroup)(nil), // 20: pb2.Nests.OptGroup.OptNestedGroup
2148 nil, // 21: pb2.IndirectRequired.StrToNestedEntry
Joe Tsaia95b29f2019-05-16 12:47:20 -07002149 (*wrapperspb.BoolValue)(nil), // 22: google.protobuf.BoolValue
2150 (*wrapperspb.Int32Value)(nil), // 23: google.protobuf.Int32Value
2151 (*wrapperspb.Int64Value)(nil), // 24: google.protobuf.Int64Value
2152 (*wrapperspb.UInt32Value)(nil), // 25: google.protobuf.UInt32Value
2153 (*wrapperspb.UInt64Value)(nil), // 26: google.protobuf.UInt64Value
2154 (*wrapperspb.FloatValue)(nil), // 27: google.protobuf.FloatValue
2155 (*wrapperspb.DoubleValue)(nil), // 28: google.protobuf.DoubleValue
2156 (*wrapperspb.StringValue)(nil), // 29: google.protobuf.StringValue
2157 (*wrapperspb.BytesValue)(nil), // 30: google.protobuf.BytesValue
2158 (*durationpb.Duration)(nil), // 31: google.protobuf.Duration
2159 (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp
2160 (*structpb.Struct)(nil), // 33: google.protobuf.Struct
2161 (*structpb.ListValue)(nil), // 34: google.protobuf.ListValue
2162 (*structpb.Value)(nil), // 35: google.protobuf.Value
2163 (structpb.NullValue)(0), // 36: google.protobuf.NullValue
2164 (*emptypb.Empty)(nil), // 37: google.protobuf.Empty
2165 (*anypb.Any)(nil), // 38: google.protobuf.Any
2166 (*fieldmaskpb.FieldMask)(nil), // 39: google.protobuf.FieldMask
Herbie Ong8170d692019-02-13 14:13:21 -08002167}
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002168var file_internal_testprotos_textpb2_test_proto_depIdxs = []int32{
Joe Tsai73288392019-08-14 11:55:31 -07002169 0, // 0: pb2.Enums.opt_enum:type_name -> pb2.Enum
2170 0, // 1: pb2.Enums.rpt_enum:type_name -> pb2.Enum
2171 1, // 2: pb2.Enums.opt_nested_enum:type_name -> pb2.Enums.NestedEnum
2172 1, // 3: pb2.Enums.rpt_nested_enum:type_name -> pb2.Enums.NestedEnum
2173 5, // 4: pb2.Nested.opt_nested:type_name -> pb2.Nested
2174 5, // 5: pb2.Nests.opt_nested:type_name -> pb2.Nested
2175 18, // 6: pb2.Nests.optgroup:type_name -> pb2.Nests.OptGroup
2176 5, // 7: pb2.Nests.rpt_nested:type_name -> pb2.Nested
2177 19, // 8: pb2.Nests.rptgroup:type_name -> pb2.Nests.RptGroup
2178 0, // 9: pb2.Requireds.req_enum:type_name -> pb2.Enum
2179 5, // 10: pb2.Requireds.req_nested:type_name -> pb2.Nested
2180 9, // 11: pb2.IndirectRequired.opt_nested:type_name -> pb2.NestedWithRequired
2181 9, // 12: pb2.IndirectRequired.rpt_nested:type_name -> pb2.NestedWithRequired
2182 21, // 13: pb2.IndirectRequired.str_to_nested:type_name -> pb2.IndirectRequired.StrToNestedEntry
2183 9, // 14: pb2.IndirectRequired.oneof_nested:type_name -> pb2.NestedWithRequired
2184 22, // 15: pb2.KnownTypes.opt_bool:type_name -> google.protobuf.BoolValue
2185 23, // 16: pb2.KnownTypes.opt_int32:type_name -> google.protobuf.Int32Value
2186 24, // 17: pb2.KnownTypes.opt_int64:type_name -> google.protobuf.Int64Value
2187 25, // 18: pb2.KnownTypes.opt_uint32:type_name -> google.protobuf.UInt32Value
2188 26, // 19: pb2.KnownTypes.opt_uint64:type_name -> google.protobuf.UInt64Value
2189 27, // 20: pb2.KnownTypes.opt_float:type_name -> google.protobuf.FloatValue
2190 28, // 21: pb2.KnownTypes.opt_double:type_name -> google.protobuf.DoubleValue
2191 29, // 22: pb2.KnownTypes.opt_string:type_name -> google.protobuf.StringValue
2192 30, // 23: pb2.KnownTypes.opt_bytes:type_name -> google.protobuf.BytesValue
2193 31, // 24: pb2.KnownTypes.opt_duration:type_name -> google.protobuf.Duration
2194 32, // 25: pb2.KnownTypes.opt_timestamp:type_name -> google.protobuf.Timestamp
2195 33, // 26: pb2.KnownTypes.opt_struct:type_name -> google.protobuf.Struct
2196 34, // 27: pb2.KnownTypes.opt_list:type_name -> google.protobuf.ListValue
2197 35, // 28: pb2.KnownTypes.opt_value:type_name -> google.protobuf.Value
2198 36, // 29: pb2.KnownTypes.opt_null:type_name -> google.protobuf.NullValue
2199 37, // 30: pb2.KnownTypes.opt_empty:type_name -> google.protobuf.Empty
2200 38, // 31: pb2.KnownTypes.opt_any:type_name -> google.protobuf.Any
2201 39, // 32: pb2.KnownTypes.opt_fieldmask:type_name -> google.protobuf.FieldMask
2202 5, // 33: pb2.Nests.OptGroup.opt_nested:type_name -> pb2.Nested
2203 20, // 34: pb2.Nests.OptGroup.optnestedgroup:type_name -> pb2.Nests.OptGroup.OptNestedGroup
2204 9, // 35: pb2.IndirectRequired.StrToNestedEntry.value:type_name -> pb2.NestedWithRequired
2205 11, // 36: pb2.opt_ext_bool:extendee -> pb2.Extensions
2206 11, // 37: pb2.opt_ext_string:extendee -> pb2.Extensions
2207 11, // 38: pb2.opt_ext_enum:extendee -> pb2.Extensions
2208 11, // 39: pb2.opt_ext_nested:extendee -> pb2.Extensions
2209 11, // 40: pb2.opt_ext_partial:extendee -> pb2.Extensions
2210 11, // 41: pb2.rpt_ext_fixed32:extendee -> pb2.Extensions
2211 11, // 42: pb2.rpt_ext_enum:extendee -> pb2.Extensions
2212 11, // 43: pb2.rpt_ext_nested:extendee -> pb2.Extensions
2213 13, // 44: pb2.message_set_extension:extendee -> pb2.MessageSet
2214 11, // 45: pb2.ExtensionsContainer.opt_ext_bool:extendee -> pb2.Extensions
2215 11, // 46: pb2.ExtensionsContainer.opt_ext_string:extendee -> pb2.Extensions
2216 11, // 47: pb2.ExtensionsContainer.opt_ext_enum:extendee -> pb2.Extensions
2217 11, // 48: pb2.ExtensionsContainer.opt_ext_nested:extendee -> pb2.Extensions
2218 11, // 49: pb2.ExtensionsContainer.opt_ext_partial:extendee -> pb2.Extensions
2219 11, // 50: pb2.ExtensionsContainer.rpt_ext_string:extendee -> pb2.Extensions
2220 11, // 51: pb2.ExtensionsContainer.rpt_ext_enum:extendee -> pb2.Extensions
2221 11, // 52: pb2.ExtensionsContainer.rpt_ext_nested:extendee -> pb2.Extensions
2222 13, // 53: pb2.MessageSetExtension.message_set_extension:extendee -> pb2.MessageSet
2223 13, // 54: pb2.MessageSetExtension.not_message_set_extension:extendee -> pb2.MessageSet
2224 13, // 55: pb2.MessageSetExtension.ext_nested:extendee -> pb2.MessageSet
2225 15, // 56: pb2.FakeMessageSetExtension.message_set_extension:extendee -> pb2.FakeMessageSet
2226 0, // 57: pb2.opt_ext_enum:type_name -> pb2.Enum
2227 5, // 58: pb2.opt_ext_nested:type_name -> pb2.Nested
2228 8, // 59: pb2.opt_ext_partial:type_name -> pb2.PartialRequired
2229 0, // 60: pb2.rpt_ext_enum:type_name -> pb2.Enum
2230 5, // 61: pb2.rpt_ext_nested:type_name -> pb2.Nested
2231 16, // 62: pb2.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2232 0, // 63: pb2.ExtensionsContainer.opt_ext_enum:type_name -> pb2.Enum
2233 5, // 64: pb2.ExtensionsContainer.opt_ext_nested:type_name -> pb2.Nested
2234 8, // 65: pb2.ExtensionsContainer.opt_ext_partial:type_name -> pb2.PartialRequired
2235 0, // 66: pb2.ExtensionsContainer.rpt_ext_enum:type_name -> pb2.Enum
2236 5, // 67: pb2.ExtensionsContainer.rpt_ext_nested:type_name -> pb2.Nested
2237 14, // 68: pb2.MessageSetExtension.message_set_extension:type_name -> pb2.MessageSetExtension
2238 14, // 69: pb2.MessageSetExtension.not_message_set_extension:type_name -> pb2.MessageSetExtension
2239 5, // 70: pb2.MessageSetExtension.ext_nested:type_name -> pb2.Nested
2240 16, // 71: pb2.FakeMessageSetExtension.message_set_extension:type_name -> pb2.FakeMessageSetExtension
2241 72, // [72:72] is the sub-list for method output_type
2242 72, // [72:72] is the sub-list for method input_type
2243 57, // [57:72] is the sub-list for extension type_name
2244 36, // [36:57] is the sub-list for extension extendee
2245 0, // [0:36] is the sub-list for field type_name
Herbie Ong8170d692019-02-13 14:13:21 -08002246}
2247
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002248func init() { file_internal_testprotos_textpb2_test_proto_init() }
2249func file_internal_testprotos_textpb2_test_proto_init() {
2250 if File_internal_testprotos_textpb2_test_proto != nil {
Damien Neil0fc22452019-03-08 17:18:11 -08002251 return
2252 }
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002253 if !protoimpl.UnsafeEnabled {
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002254 file_internal_testprotos_textpb2_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002255 switch v := v.(*Scalars); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002256 case 0:
2257 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002258 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002259 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002260 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002261 return &v.unknownFields
2262 default:
2263 return nil
2264 }
2265 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002266 file_internal_testprotos_textpb2_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002267 switch v := v.(*Enums); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002268 case 0:
2269 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002270 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002271 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002272 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002273 return &v.unknownFields
2274 default:
2275 return nil
2276 }
2277 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002278 file_internal_testprotos_textpb2_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002279 switch v := v.(*Repeats); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002280 case 0:
2281 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002282 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002283 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002284 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002285 return &v.unknownFields
2286 default:
2287 return nil
2288 }
2289 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002290 file_internal_testprotos_textpb2_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002291 switch v := v.(*Nested); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002292 case 0:
2293 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002294 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002295 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002296 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002297 return &v.unknownFields
2298 default:
2299 return nil
2300 }
2301 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002302 file_internal_testprotos_textpb2_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002303 switch v := v.(*Nests); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002304 case 0:
2305 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002306 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002307 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002308 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002309 return &v.unknownFields
2310 default:
2311 return nil
2312 }
2313 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002314 file_internal_testprotos_textpb2_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002315 switch v := v.(*Requireds); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002316 case 0:
2317 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002318 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002319 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002320 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002321 return &v.unknownFields
2322 default:
2323 return nil
2324 }
2325 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002326 file_internal_testprotos_textpb2_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002327 switch v := v.(*PartialRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002328 case 0:
2329 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002330 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002331 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002332 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002333 return &v.unknownFields
2334 default:
2335 return nil
2336 }
2337 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002338 file_internal_testprotos_textpb2_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002339 switch v := v.(*NestedWithRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002340 case 0:
2341 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002342 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002343 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002344 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002345 return &v.unknownFields
2346 default:
2347 return nil
2348 }
2349 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002350 file_internal_testprotos_textpb2_test_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002351 switch v := v.(*IndirectRequired); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002352 case 0:
2353 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002354 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002355 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002356 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002357 return &v.unknownFields
2358 default:
2359 return nil
2360 }
2361 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002362 file_internal_testprotos_textpb2_test_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002363 switch v := v.(*Extensions); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002364 case 0:
2365 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002366 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002367 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002368 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002369 return &v.unknownFields
Joe Tsai38b61962019-08-05 13:09:30 -07002370 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002371 return &v.extensionFields
2372 default:
2373 return nil
2374 }
2375 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002376 file_internal_testprotos_textpb2_test_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002377 switch v := v.(*ExtensionsContainer); i {
2378 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002379 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002380 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002381 return &v.sizeCache
2382 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002383 return &v.unknownFields
2384 default:
2385 return nil
2386 }
2387 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002388 file_internal_testprotos_textpb2_test_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002389 switch v := v.(*MessageSet); i {
2390 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002391 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002392 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002393 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002394 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002395 return &v.unknownFields
2396 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002397 return &v.extensionFields
2398 default:
2399 return nil
2400 }
2401 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002402 file_internal_testprotos_textpb2_test_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002403 switch v := v.(*MessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002404 case 0:
2405 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002406 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002407 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002408 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002409 return &v.unknownFields
2410 default:
2411 return nil
2412 }
2413 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002414 file_internal_testprotos_textpb2_test_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002415 switch v := v.(*FakeMessageSet); i {
2416 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -07002417 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002418 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002419 return &v.sizeCache
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002420 case 2:
Joe Tsai82760ce2019-06-20 03:09:57 -07002421 return &v.unknownFields
2422 case 3:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002423 return &v.extensionFields
2424 default:
2425 return nil
2426 }
2427 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002428 file_internal_testprotos_textpb2_test_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002429 switch v := v.(*FakeMessageSetExtension); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002430 case 0:
2431 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002432 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002433 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002434 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002435 return &v.unknownFields
2436 default:
2437 return nil
2438 }
2439 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002440 file_internal_testprotos_textpb2_test_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002441 switch v := v.(*KnownTypes); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002442 case 0:
2443 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002444 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002445 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002446 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002447 return &v.unknownFields
2448 default:
2449 return nil
2450 }
2451 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002452 file_internal_testprotos_textpb2_test_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002453 switch v := v.(*Nests_OptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002454 case 0:
2455 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002456 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002457 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002458 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002459 return &v.unknownFields
2460 default:
2461 return nil
2462 }
2463 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002464 file_internal_testprotos_textpb2_test_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002465 switch v := v.(*Nests_RptGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002466 case 0:
2467 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002468 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002469 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002470 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002471 return &v.unknownFields
2472 default:
2473 return nil
2474 }
2475 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002476 file_internal_testprotos_textpb2_test_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002477 switch v := v.(*Nests_OptGroup_OptNestedGroup); i {
Joe Tsai82760ce2019-06-20 03:09:57 -07002478 case 0:
2479 return &v.state
Joe Tsai38b61962019-08-05 13:09:30 -07002480 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -07002481 return &v.sizeCache
Joe Tsai38b61962019-08-05 13:09:30 -07002482 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -07002483 return &v.unknownFields
2484 default:
2485 return nil
2486 }
2487 }
2488 }
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002489 file_internal_testprotos_textpb2_test_proto_msgTypes[8].OneofWrappers = []interface{}{
Joe Tsai09912272019-07-08 10:38:11 -07002490 (*IndirectRequired_OneofNested)(nil),
2491 }
Joe Tsaiaf570872019-07-14 23:04:40 -07002492 type x struct{}
Joe Tsaid8881392019-06-06 13:01:53 -07002493 out := protoimpl.TypeBuilder{
2494 File: protoimpl.DescBuilder{
Joe Tsaiaf570872019-07-14 23:04:40 -07002495 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002496 RawDescriptor: file_internal_testprotos_textpb2_test_proto_rawDesc,
Joe Tsaid8881392019-06-06 13:01:53 -07002497 NumEnums: 2,
2498 NumMessages: 20,
2499 NumExtensions: 21,
2500 NumServices: 0,
2501 },
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002502 GoTypes: file_internal_testprotos_textpb2_test_proto_goTypes,
2503 DependencyIndexes: file_internal_testprotos_textpb2_test_proto_depIdxs,
2504 EnumInfos: file_internal_testprotos_textpb2_test_proto_enumTypes,
2505 MessageInfos: file_internal_testprotos_textpb2_test_proto_msgTypes,
2506 ExtensionInfos: file_internal_testprotos_textpb2_test_proto_extTypes,
Joe Tsaid8881392019-06-06 13:01:53 -07002507 }.Build()
Damien Neil3c5fb5f2020-02-04 15:03:30 -08002508 File_internal_testprotos_textpb2_test_proto = out.File
2509 file_internal_testprotos_textpb2_test_proto_rawDesc = nil
2510 file_internal_testprotos_textpb2_test_proto_goTypes = nil
2511 file_internal_testprotos_textpb2_test_proto_depIdxs = nil
Herbie Ong8170d692019-02-13 14:13:21 -08002512}