Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 1 | // 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 Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 7 | // Code generated by protoc-gen-go. DO NOT EDIT. |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 8 | // source: internal/testprotos/textpb2/test.proto |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 9 | |
Joe Tsai | 94e730b | 2020-01-10 23:31:25 -0800 | [diff] [blame] | 10 | package textpb2 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 11 | |
| 12 | import ( |
Damien Neil | e89e624 | 2019-05-13 23:55:40 -0700 | [diff] [blame] | 13 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
Damien Neil | e89e624 | 2019-05-13 23:55:40 -0700 | [diff] [blame] | 14 | protoiface "google.golang.org/protobuf/runtime/protoiface" |
| 15 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 16 | 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 Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 23 | reflect "reflect" |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 24 | sync "sync" |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 25 | ) |
| 26 | |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 27 | type Enum int32 |
| 28 | |
| 29 | const ( |
| 30 | Enum_ONE Enum = 1 |
| 31 | Enum_TWO Enum = 2 |
| 32 | Enum_TEN Enum = 10 |
| 33 | ) |
| 34 | |
Joe Tsai | 9b8a433 | 2019-08-05 18:38:48 -0700 | [diff] [blame] | 35 | // Enum value maps for Enum. |
| 36 | var ( |
| 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 Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 48 | |
| 49 | func (x Enum) Enum() *Enum { |
Joe Tsai | 09b5b46 | 2019-04-10 15:29:01 -0700 | [diff] [blame] | 50 | p := new(Enum) |
| 51 | *p = x |
| 52 | return p |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 53 | } |
| 54 | |
| 55 | func (x Enum) String() string { |
Joe Tsai | 0fc49f8 | 2019-05-01 12:29:25 -0700 | [diff] [blame] | 56 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 57 | } |
| 58 | |
Joe Tsai | 0fc49f8 | 2019-05-01 12:29:25 -0700 | [diff] [blame] | 59 | func (Enum) Descriptor() protoreflect.EnumDescriptor { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 60 | return file_internal_testprotos_textpb2_test_proto_enumTypes[0].Descriptor() |
Joe Tsai | 0fc49f8 | 2019-05-01 12:29:25 -0700 | [diff] [blame] | 61 | } |
| 62 | |
Joe Tsai | d421150 | 2019-07-02 14:58:02 -0700 | [diff] [blame] | 63 | func (Enum) Type() protoreflect.EnumType { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 64 | return &file_internal_testprotos_textpb2_test_proto_enumTypes[0] |
Joe Tsai | d421150 | 2019-07-02 14:58:02 -0700 | [diff] [blame] | 65 | } |
| 66 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 67 | func (x Enum) Number() protoreflect.EnumNumber { |
| 68 | return protoreflect.EnumNumber(x) |
| 69 | } |
| 70 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 71 | // Deprecated: Do not use. |
| 72 | func (x *Enum) UnmarshalJSON(b []byte) error { |
Joe Tsai | 0fc49f8 | 2019-05-01 12:29:25 -0700 | [diff] [blame] | 73 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 74 | if err != nil { |
| 75 | return err |
| 76 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 77 | *x = Enum(num) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 78 | return nil |
| 79 | } |
| 80 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 81 | // Deprecated: Use Enum.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 82 | func (Enum) EnumDescriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 83 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{0} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 84 | } |
| 85 | |
| 86 | type Enums_NestedEnum int32 |
| 87 | |
| 88 | const ( |
| 89 | Enums_UNO Enums_NestedEnum = 1 |
| 90 | Enums_DOS Enums_NestedEnum = 2 |
| 91 | Enums_DIEZ Enums_NestedEnum = 10 |
| 92 | ) |
| 93 | |
Joe Tsai | 9b8a433 | 2019-08-05 18:38:48 -0700 | [diff] [blame] | 94 | // Enum value maps for Enums_NestedEnum. |
| 95 | var ( |
| 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 Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 107 | |
| 108 | func (x Enums_NestedEnum) Enum() *Enums_NestedEnum { |
Joe Tsai | 09b5b46 | 2019-04-10 15:29:01 -0700 | [diff] [blame] | 109 | p := new(Enums_NestedEnum) |
| 110 | *p = x |
| 111 | return p |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 112 | } |
| 113 | |
| 114 | func (x Enums_NestedEnum) String() string { |
Joe Tsai | 0fc49f8 | 2019-05-01 12:29:25 -0700 | [diff] [blame] | 115 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 116 | } |
| 117 | |
Joe Tsai | 0fc49f8 | 2019-05-01 12:29:25 -0700 | [diff] [blame] | 118 | func (Enums_NestedEnum) Descriptor() protoreflect.EnumDescriptor { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 119 | return file_internal_testprotos_textpb2_test_proto_enumTypes[1].Descriptor() |
Joe Tsai | 0fc49f8 | 2019-05-01 12:29:25 -0700 | [diff] [blame] | 120 | } |
| 121 | |
Joe Tsai | d421150 | 2019-07-02 14:58:02 -0700 | [diff] [blame] | 122 | func (Enums_NestedEnum) Type() protoreflect.EnumType { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 123 | return &file_internal_testprotos_textpb2_test_proto_enumTypes[1] |
Joe Tsai | d421150 | 2019-07-02 14:58:02 -0700 | [diff] [blame] | 124 | } |
| 125 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 126 | func (x Enums_NestedEnum) Number() protoreflect.EnumNumber { |
| 127 | return protoreflect.EnumNumber(x) |
| 128 | } |
| 129 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 130 | // Deprecated: Do not use. |
| 131 | func (x *Enums_NestedEnum) UnmarshalJSON(b []byte) error { |
Joe Tsai | 0fc49f8 | 2019-05-01 12:29:25 -0700 | [diff] [blame] | 132 | num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 133 | if err != nil { |
| 134 | return err |
| 135 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 136 | *x = Enums_NestedEnum(num) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 137 | return nil |
| 138 | } |
| 139 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 140 | // Deprecated: Use Enums_NestedEnum.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 141 | func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 142 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{1, 0} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 143 | } |
| 144 | |
| 145 | // Scalars contains optional scalar fields. |
| 146 | type Scalars struct { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 147 | state protoimpl.MessageState |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 148 | sizeCache protoimpl.SizeCache |
| 149 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 150 | |
| 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 Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 166 | } |
| 167 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 168 | func (x *Scalars) Reset() { |
| 169 | *x = Scalars{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 170 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 171 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[0] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 172 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 173 | ms.StoreMessageInfo(mi) |
| 174 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 175 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 176 | |
| 177 | func (x *Scalars) String() string { |
| 178 | return protoimpl.X.MessageStringOf(x) |
| 179 | } |
| 180 | |
| 181 | func (*Scalars) ProtoMessage() {} |
| 182 | |
| 183 | func (x *Scalars) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 184 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[0] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 185 | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 193 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 194 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 195 | // Deprecated: Use Scalars.ProtoReflect.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 196 | func (*Scalars) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 197 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{0} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 198 | } |
| 199 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 200 | func (x *Scalars) GetOptBool() bool { |
| 201 | if x != nil && x.OptBool != nil { |
| 202 | return *x.OptBool |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 203 | } |
| 204 | return false |
| 205 | } |
| 206 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 207 | func (x *Scalars) GetOptInt32() int32 { |
| 208 | if x != nil && x.OptInt32 != nil { |
| 209 | return *x.OptInt32 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 210 | } |
| 211 | return 0 |
| 212 | } |
| 213 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 214 | func (x *Scalars) GetOptInt64() int64 { |
| 215 | if x != nil && x.OptInt64 != nil { |
| 216 | return *x.OptInt64 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 217 | } |
| 218 | return 0 |
| 219 | } |
| 220 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 221 | func (x *Scalars) GetOptUint32() uint32 { |
| 222 | if x != nil && x.OptUint32 != nil { |
| 223 | return *x.OptUint32 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 224 | } |
| 225 | return 0 |
| 226 | } |
| 227 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 228 | func (x *Scalars) GetOptUint64() uint64 { |
| 229 | if x != nil && x.OptUint64 != nil { |
| 230 | return *x.OptUint64 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 231 | } |
| 232 | return 0 |
| 233 | } |
| 234 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 235 | func (x *Scalars) GetOptSint32() int32 { |
| 236 | if x != nil && x.OptSint32 != nil { |
| 237 | return *x.OptSint32 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 238 | } |
| 239 | return 0 |
| 240 | } |
| 241 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 242 | func (x *Scalars) GetOptSint64() int64 { |
| 243 | if x != nil && x.OptSint64 != nil { |
| 244 | return *x.OptSint64 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 245 | } |
| 246 | return 0 |
| 247 | } |
| 248 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 249 | func (x *Scalars) GetOptFixed32() uint32 { |
| 250 | if x != nil && x.OptFixed32 != nil { |
| 251 | return *x.OptFixed32 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 252 | } |
| 253 | return 0 |
| 254 | } |
| 255 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 256 | func (x *Scalars) GetOptFixed64() uint64 { |
| 257 | if x != nil && x.OptFixed64 != nil { |
| 258 | return *x.OptFixed64 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 259 | } |
| 260 | return 0 |
| 261 | } |
| 262 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 263 | func (x *Scalars) GetOptSfixed32() int32 { |
| 264 | if x != nil && x.OptSfixed32 != nil { |
| 265 | return *x.OptSfixed32 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 266 | } |
| 267 | return 0 |
| 268 | } |
| 269 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 270 | func (x *Scalars) GetOptSfixed64() int64 { |
| 271 | if x != nil && x.OptSfixed64 != nil { |
| 272 | return *x.OptSfixed64 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 273 | } |
| 274 | return 0 |
| 275 | } |
| 276 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 277 | func (x *Scalars) GetOptFloat() float32 { |
| 278 | if x != nil && x.OptFloat != nil { |
| 279 | return *x.OptFloat |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 280 | } |
| 281 | return 0 |
| 282 | } |
| 283 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 284 | func (x *Scalars) GetOptDouble() float64 { |
| 285 | if x != nil && x.OptDouble != nil { |
| 286 | return *x.OptDouble |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 287 | } |
| 288 | return 0 |
| 289 | } |
| 290 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 291 | func (x *Scalars) GetOptBytes() []byte { |
| 292 | if x != nil { |
| 293 | return x.OptBytes |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 294 | } |
| 295 | return nil |
| 296 | } |
| 297 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 298 | func (x *Scalars) GetOptString() string { |
| 299 | if x != nil && x.OptString != nil { |
| 300 | return *x.OptString |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 301 | } |
| 302 | return "" |
| 303 | } |
| 304 | |
| 305 | // Message contains enum fields. |
| 306 | type Enums struct { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 307 | state protoimpl.MessageState |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 308 | sizeCache protoimpl.SizeCache |
| 309 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 310 | |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 311 | 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 Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 315 | } |
| 316 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 317 | func (x *Enums) Reset() { |
| 318 | *x = Enums{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 319 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 320 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[1] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 321 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 322 | ms.StoreMessageInfo(mi) |
| 323 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 324 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 325 | |
| 326 | func (x *Enums) String() string { |
| 327 | return protoimpl.X.MessageStringOf(x) |
| 328 | } |
| 329 | |
| 330 | func (*Enums) ProtoMessage() {} |
| 331 | |
| 332 | func (x *Enums) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 333 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[1] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 334 | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 342 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 343 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 344 | // Deprecated: Use Enums.ProtoReflect.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 345 | func (*Enums) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 346 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{1} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 347 | } |
| 348 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 349 | func (x *Enums) GetOptEnum() Enum { |
| 350 | if x != nil && x.OptEnum != nil { |
| 351 | return *x.OptEnum |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 352 | } |
| 353 | return Enum_ONE |
| 354 | } |
| 355 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 356 | func (x *Enums) GetRptEnum() []Enum { |
| 357 | if x != nil { |
| 358 | return x.RptEnum |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 359 | } |
| 360 | return nil |
| 361 | } |
| 362 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 363 | func (x *Enums) GetOptNestedEnum() Enums_NestedEnum { |
| 364 | if x != nil && x.OptNestedEnum != nil { |
| 365 | return *x.OptNestedEnum |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 366 | } |
| 367 | return Enums_UNO |
| 368 | } |
| 369 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 370 | func (x *Enums) GetRptNestedEnum() []Enums_NestedEnum { |
| 371 | if x != nil { |
| 372 | return x.RptNestedEnum |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 373 | } |
| 374 | return nil |
| 375 | } |
| 376 | |
| 377 | // Message contains repeated fields. |
| 378 | type Repeats struct { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 379 | state protoimpl.MessageState |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 380 | sizeCache protoimpl.SizeCache |
| 381 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 382 | |
| 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 Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 392 | } |
| 393 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 394 | func (x *Repeats) Reset() { |
| 395 | *x = Repeats{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 396 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 397 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[2] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 398 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 399 | ms.StoreMessageInfo(mi) |
| 400 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 401 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 402 | |
| 403 | func (x *Repeats) String() string { |
| 404 | return protoimpl.X.MessageStringOf(x) |
| 405 | } |
| 406 | |
| 407 | func (*Repeats) ProtoMessage() {} |
| 408 | |
| 409 | func (x *Repeats) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 410 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[2] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 411 | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 419 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 420 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 421 | // Deprecated: Use Repeats.ProtoReflect.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 422 | func (*Repeats) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 423 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{2} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 424 | } |
| 425 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 426 | func (x *Repeats) GetRptBool() []bool { |
| 427 | if x != nil { |
| 428 | return x.RptBool |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 429 | } |
| 430 | return nil |
| 431 | } |
| 432 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 433 | func (x *Repeats) GetRptInt32() []int32 { |
| 434 | if x != nil { |
| 435 | return x.RptInt32 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 436 | } |
| 437 | return nil |
| 438 | } |
| 439 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 440 | func (x *Repeats) GetRptInt64() []int64 { |
| 441 | if x != nil { |
| 442 | return x.RptInt64 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 443 | } |
| 444 | return nil |
| 445 | } |
| 446 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 447 | func (x *Repeats) GetRptUint32() []uint32 { |
| 448 | if x != nil { |
| 449 | return x.RptUint32 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 450 | } |
| 451 | return nil |
| 452 | } |
| 453 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 454 | func (x *Repeats) GetRptUint64() []uint64 { |
| 455 | if x != nil { |
| 456 | return x.RptUint64 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 457 | } |
| 458 | return nil |
| 459 | } |
| 460 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 461 | func (x *Repeats) GetRptFloat() []float32 { |
| 462 | if x != nil { |
| 463 | return x.RptFloat |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 464 | } |
| 465 | return nil |
| 466 | } |
| 467 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 468 | func (x *Repeats) GetRptDouble() []float64 { |
| 469 | if x != nil { |
| 470 | return x.RptDouble |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 471 | } |
| 472 | return nil |
| 473 | } |
| 474 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 475 | func (x *Repeats) GetRptString() []string { |
| 476 | if x != nil { |
| 477 | return x.RptString |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 478 | } |
| 479 | return nil |
| 480 | } |
| 481 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 482 | func (x *Repeats) GetRptBytes() [][]byte { |
| 483 | if x != nil { |
| 484 | return x.RptBytes |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 485 | } |
| 486 | return nil |
| 487 | } |
| 488 | |
| 489 | // Message type used as submessage. |
| 490 | type Nested struct { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 491 | state protoimpl.MessageState |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 492 | sizeCache protoimpl.SizeCache |
| 493 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 494 | |
| 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 Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 497 | } |
| 498 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 499 | func (x *Nested) Reset() { |
| 500 | *x = Nested{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 501 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 502 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[3] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 503 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 504 | ms.StoreMessageInfo(mi) |
| 505 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 506 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 507 | |
| 508 | func (x *Nested) String() string { |
| 509 | return protoimpl.X.MessageStringOf(x) |
| 510 | } |
| 511 | |
| 512 | func (*Nested) ProtoMessage() {} |
| 513 | |
| 514 | func (x *Nested) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 515 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[3] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 516 | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 524 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 525 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 526 | // Deprecated: Use Nested.ProtoReflect.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 527 | func (*Nested) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 528 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{3} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 529 | } |
| 530 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 531 | func (x *Nested) GetOptString() string { |
| 532 | if x != nil && x.OptString != nil { |
| 533 | return *x.OptString |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 534 | } |
| 535 | return "" |
| 536 | } |
| 537 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 538 | func (x *Nested) GetOptNested() *Nested { |
| 539 | if x != nil { |
| 540 | return x.OptNested |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 541 | } |
| 542 | return nil |
| 543 | } |
| 544 | |
| 545 | // Message contains message and group fields. |
| 546 | type Nests struct { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 547 | state protoimpl.MessageState |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 548 | sizeCache protoimpl.SizeCache |
| 549 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 550 | |
| 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 Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 555 | } |
| 556 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 557 | func (x *Nests) Reset() { |
| 558 | *x = Nests{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 559 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 560 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[4] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 561 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 562 | ms.StoreMessageInfo(mi) |
| 563 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 564 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 565 | |
| 566 | func (x *Nests) String() string { |
| 567 | return protoimpl.X.MessageStringOf(x) |
| 568 | } |
| 569 | |
| 570 | func (*Nests) ProtoMessage() {} |
| 571 | |
| 572 | func (x *Nests) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 573 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[4] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 574 | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 582 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 583 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 584 | // Deprecated: Use Nests.ProtoReflect.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 585 | func (*Nests) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 586 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{4} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 587 | } |
| 588 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 589 | func (x *Nests) GetOptNested() *Nested { |
| 590 | if x != nil { |
| 591 | return x.OptNested |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 592 | } |
| 593 | return nil |
| 594 | } |
| 595 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 596 | func (x *Nests) GetOptgroup() *Nests_OptGroup { |
| 597 | if x != nil { |
| 598 | return x.Optgroup |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 599 | } |
| 600 | return nil |
| 601 | } |
| 602 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 603 | func (x *Nests) GetRptNested() []*Nested { |
| 604 | if x != nil { |
| 605 | return x.RptNested |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 606 | } |
| 607 | return nil |
| 608 | } |
| 609 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 610 | func (x *Nests) GetRptgroup() []*Nests_RptGroup { |
| 611 | if x != nil { |
| 612 | return x.Rptgroup |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 613 | } |
| 614 | return nil |
| 615 | } |
| 616 | |
| 617 | // Message contains required fields. |
| 618 | type Requireds struct { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 619 | state protoimpl.MessageState |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 620 | sizeCache protoimpl.SizeCache |
| 621 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 622 | |
| 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 Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 629 | } |
| 630 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 631 | func (x *Requireds) Reset() { |
| 632 | *x = Requireds{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 633 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 634 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[5] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 635 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 636 | ms.StoreMessageInfo(mi) |
| 637 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 638 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 639 | |
| 640 | func (x *Requireds) String() string { |
| 641 | return protoimpl.X.MessageStringOf(x) |
| 642 | } |
| 643 | |
| 644 | func (*Requireds) ProtoMessage() {} |
| 645 | |
| 646 | func (x *Requireds) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 647 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[5] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 648 | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 656 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 657 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 658 | // Deprecated: Use Requireds.ProtoReflect.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 659 | func (*Requireds) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 660 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{5} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 661 | } |
| 662 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 663 | func (x *Requireds) GetReqBool() bool { |
| 664 | if x != nil && x.ReqBool != nil { |
| 665 | return *x.ReqBool |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 666 | } |
| 667 | return false |
| 668 | } |
| 669 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 670 | func (x *Requireds) GetReqSfixed64() int64 { |
| 671 | if x != nil && x.ReqSfixed64 != nil { |
| 672 | return *x.ReqSfixed64 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 673 | } |
| 674 | return 0 |
| 675 | } |
| 676 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 677 | func (x *Requireds) GetReqDouble() float64 { |
| 678 | if x != nil && x.ReqDouble != nil { |
| 679 | return *x.ReqDouble |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 680 | } |
| 681 | return 0 |
| 682 | } |
| 683 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 684 | func (x *Requireds) GetReqString() string { |
| 685 | if x != nil && x.ReqString != nil { |
| 686 | return *x.ReqString |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 687 | } |
| 688 | return "" |
| 689 | } |
| 690 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 691 | func (x *Requireds) GetReqEnum() Enum { |
| 692 | if x != nil && x.ReqEnum != nil { |
| 693 | return *x.ReqEnum |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 694 | } |
| 695 | return Enum_ONE |
| 696 | } |
| 697 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 698 | func (x *Requireds) GetReqNested() *Nested { |
| 699 | if x != nil { |
| 700 | return x.ReqNested |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 701 | } |
| 702 | return nil |
| 703 | } |
| 704 | |
| 705 | // Message contains both required and optional fields. |
| 706 | type PartialRequired struct { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 707 | state protoimpl.MessageState |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 708 | sizeCache protoimpl.SizeCache |
| 709 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 710 | |
| 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 Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 713 | } |
| 714 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 715 | func (x *PartialRequired) Reset() { |
| 716 | *x = PartialRequired{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 717 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 718 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[6] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 719 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 720 | ms.StoreMessageInfo(mi) |
| 721 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 722 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 723 | |
| 724 | func (x *PartialRequired) String() string { |
| 725 | return protoimpl.X.MessageStringOf(x) |
| 726 | } |
| 727 | |
| 728 | func (*PartialRequired) ProtoMessage() {} |
| 729 | |
| 730 | func (x *PartialRequired) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 731 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[6] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 732 | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 740 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 741 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 742 | // Deprecated: Use PartialRequired.ProtoReflect.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 743 | func (*PartialRequired) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 744 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{6} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 745 | } |
| 746 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 747 | func (x *PartialRequired) GetReqString() string { |
| 748 | if x != nil && x.ReqString != nil { |
| 749 | return *x.ReqString |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 750 | } |
| 751 | return "" |
| 752 | } |
| 753 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 754 | func (x *PartialRequired) GetOptString() string { |
| 755 | if x != nil && x.OptString != nil { |
| 756 | return *x.OptString |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 757 | } |
| 758 | return "" |
| 759 | } |
| 760 | |
| 761 | type NestedWithRequired struct { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 762 | state protoimpl.MessageState |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 763 | sizeCache protoimpl.SizeCache |
| 764 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 765 | |
| 766 | ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"` |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 767 | } |
| 768 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 769 | func (x *NestedWithRequired) Reset() { |
| 770 | *x = NestedWithRequired{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 771 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 772 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[7] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 773 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 774 | ms.StoreMessageInfo(mi) |
| 775 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 776 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 777 | |
| 778 | func (x *NestedWithRequired) String() string { |
| 779 | return protoimpl.X.MessageStringOf(x) |
| 780 | } |
| 781 | |
| 782 | func (*NestedWithRequired) ProtoMessage() {} |
| 783 | |
| 784 | func (x *NestedWithRequired) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 785 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[7] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 786 | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 794 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 795 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 796 | // Deprecated: Use NestedWithRequired.ProtoReflect.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 797 | func (*NestedWithRequired) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 798 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{7} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 799 | } |
| 800 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 801 | func (x *NestedWithRequired) GetReqString() string { |
| 802 | if x != nil && x.ReqString != nil { |
| 803 | return *x.ReqString |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 804 | } |
| 805 | return "" |
| 806 | } |
| 807 | |
| 808 | type IndirectRequired struct { |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 809 | state protoimpl.MessageState |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 810 | sizeCache protoimpl.SizeCache |
| 811 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 812 | |
| 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 Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 817 | // *IndirectRequired_OneofNested |
| 818 | Union isIndirectRequired_Union `protobuf_oneof:"union"` |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 819 | } |
| 820 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 821 | func (x *IndirectRequired) Reset() { |
| 822 | *x = IndirectRequired{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 823 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 824 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[8] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 825 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 826 | ms.StoreMessageInfo(mi) |
| 827 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 828 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 829 | |
| 830 | func (x *IndirectRequired) String() string { |
| 831 | return protoimpl.X.MessageStringOf(x) |
| 832 | } |
| 833 | |
| 834 | func (*IndirectRequired) ProtoMessage() {} |
| 835 | |
| 836 | func (x *IndirectRequired) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 837 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[8] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 838 | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 846 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 847 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 848 | // Deprecated: Use IndirectRequired.ProtoReflect.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 849 | func (*IndirectRequired) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 850 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{8} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 851 | } |
| 852 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 853 | func (x *IndirectRequired) GetOptNested() *NestedWithRequired { |
| 854 | if x != nil { |
| 855 | return x.OptNested |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 856 | } |
| 857 | return nil |
| 858 | } |
| 859 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 860 | func (x *IndirectRequired) GetRptNested() []*NestedWithRequired { |
| 861 | if x != nil { |
| 862 | return x.RptNested |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 863 | } |
| 864 | return nil |
| 865 | } |
| 866 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 867 | func (x *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired { |
| 868 | if x != nil { |
| 869 | return x.StrToNested |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 870 | } |
| 871 | return nil |
| 872 | } |
| 873 | |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 874 | func (m *IndirectRequired) GetUnion() isIndirectRequired_Union { |
| 875 | if m != nil { |
| 876 | return m.Union |
| 877 | } |
| 878 | return nil |
| 879 | } |
| 880 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 881 | func (x *IndirectRequired) GetOneofNested() *NestedWithRequired { |
| 882 | if x, ok := x.GetUnion().(*IndirectRequired_OneofNested); ok { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 883 | return x.OneofNested |
| 884 | } |
| 885 | return nil |
| 886 | } |
| 887 | |
Joe Tsai | 872b500 | 2019-04-08 14:03:15 -0700 | [diff] [blame] | 888 | type isIndirectRequired_Union interface { |
| 889 | isIndirectRequired_Union() |
| 890 | } |
| 891 | |
| 892 | type IndirectRequired_OneofNested struct { |
| 893 | OneofNested *NestedWithRequired `protobuf:"bytes,4,opt,name=oneof_nested,json=oneofNested,oneof"` |
| 894 | } |
| 895 | |
| 896 | func (*IndirectRequired_OneofNested) isIndirectRequired_Union() {} |
| 897 | |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 898 | type Extensions struct { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 899 | state protoimpl.MessageState |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 900 | sizeCache protoimpl.SizeCache |
| 901 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 6ceeaab | 2019-07-08 12:31:21 -0700 | [diff] [blame] | 902 | extensionFields protoimpl.ExtensionFields |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 903 | |
| 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 Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 907 | } |
| 908 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 909 | func (x *Extensions) Reset() { |
| 910 | *x = Extensions{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 911 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 912 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[9] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 913 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 914 | ms.StoreMessageInfo(mi) |
| 915 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 916 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 917 | |
| 918 | func (x *Extensions) String() string { |
| 919 | return protoimpl.X.MessageStringOf(x) |
| 920 | } |
| 921 | |
| 922 | func (*Extensions) ProtoMessage() {} |
| 923 | |
| 924 | func (x *Extensions) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 925 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[9] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 926 | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 934 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 935 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 936 | // Deprecated: Use Extensions.ProtoReflect.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 937 | func (*Extensions) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 938 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{9} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 939 | } |
| 940 | |
Joe Tsai | 4fddeba | 2019-03-20 18:29:32 -0700 | [diff] [blame] | 941 | var extRange_Extensions = []protoiface.ExtensionRangeV1{ |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 942 | {Start: 20, End: 100}, |
| 943 | } |
| 944 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 945 | // Deprecated: Use Extensions.ProtoReflect.Descriptor.ExtensionRanges instead. |
Joe Tsai | 4fddeba | 2019-03-20 18:29:32 -0700 | [diff] [blame] | 946 | func (*Extensions) ExtensionRangeArray() []protoiface.ExtensionRangeV1 { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 947 | return extRange_Extensions |
| 948 | } |
| 949 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 950 | func (x *Extensions) GetOptString() string { |
| 951 | if x != nil && x.OptString != nil { |
| 952 | return *x.OptString |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 953 | } |
| 954 | return "" |
| 955 | } |
| 956 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 957 | func (x *Extensions) GetOptBool() bool { |
| 958 | if x != nil && x.OptBool != nil { |
| 959 | return *x.OptBool |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 960 | } |
| 961 | return false |
| 962 | } |
| 963 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 964 | func (x *Extensions) GetOptInt32() int32 { |
| 965 | if x != nil && x.OptInt32 != nil { |
| 966 | return *x.OptInt32 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 967 | } |
| 968 | return 0 |
| 969 | } |
| 970 | |
| 971 | type ExtensionsContainer struct { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 972 | state protoimpl.MessageState |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 973 | sizeCache protoimpl.SizeCache |
| 974 | unknownFields protoimpl.UnknownFields |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 975 | } |
| 976 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 977 | func (x *ExtensionsContainer) Reset() { |
| 978 | *x = ExtensionsContainer{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 979 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 980 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[10] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 981 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 982 | ms.StoreMessageInfo(mi) |
| 983 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 984 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 985 | |
| 986 | func (x *ExtensionsContainer) String() string { |
| 987 | return protoimpl.X.MessageStringOf(x) |
| 988 | } |
| 989 | |
| 990 | func (*ExtensionsContainer) ProtoMessage() {} |
| 991 | |
| 992 | func (x *ExtensionsContainer) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 993 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[10] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 994 | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1002 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 1003 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 1004 | // Deprecated: Use ExtensionsContainer.ProtoReflect.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1005 | func (*ExtensionsContainer) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1006 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{10} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1007 | } |
| 1008 | |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1009 | type MessageSet struct { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 1010 | state protoimpl.MessageState |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 1011 | sizeCache protoimpl.SizeCache |
| 1012 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 6ceeaab | 2019-07-08 12:31:21 -0700 | [diff] [blame] | 1013 | extensionFields protoimpl.ExtensionFields |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1014 | } |
| 1015 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1016 | func (x *MessageSet) Reset() { |
| 1017 | *x = MessageSet{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 1018 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1019 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[11] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 1020 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1021 | ms.StoreMessageInfo(mi) |
| 1022 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1023 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1024 | |
| 1025 | func (x *MessageSet) String() string { |
| 1026 | return protoimpl.X.MessageStringOf(x) |
| 1027 | } |
| 1028 | |
| 1029 | func (*MessageSet) ProtoMessage() {} |
| 1030 | |
| 1031 | func (x *MessageSet) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1032 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[11] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 1033 | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1041 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 1042 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 1043 | // Deprecated: Use MessageSet.ProtoReflect.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1044 | func (*MessageSet) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1045 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{11} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1046 | } |
| 1047 | |
Joe Tsai | 4fddeba | 2019-03-20 18:29:32 -0700 | [diff] [blame] | 1048 | var extRange_MessageSet = []protoiface.ExtensionRangeV1{ |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1049 | {Start: 4, End: 2147483646}, |
| 1050 | } |
| 1051 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 1052 | // Deprecated: Use MessageSet.ProtoReflect.Descriptor.ExtensionRanges instead. |
Joe Tsai | 4fddeba | 2019-03-20 18:29:32 -0700 | [diff] [blame] | 1053 | func (*MessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1054 | return extRange_MessageSet |
| 1055 | } |
| 1056 | |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1057 | type MessageSetExtension struct { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 1058 | state protoimpl.MessageState |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 1059 | sizeCache protoimpl.SizeCache |
| 1060 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 1061 | |
| 1062 | OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"` |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1063 | } |
| 1064 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1065 | func (x *MessageSetExtension) Reset() { |
| 1066 | *x = MessageSetExtension{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 1067 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1068 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[12] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 1069 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1070 | ms.StoreMessageInfo(mi) |
| 1071 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1072 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1073 | |
| 1074 | func (x *MessageSetExtension) String() string { |
| 1075 | return protoimpl.X.MessageStringOf(x) |
| 1076 | } |
| 1077 | |
| 1078 | func (*MessageSetExtension) ProtoMessage() {} |
| 1079 | |
| 1080 | func (x *MessageSetExtension) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1081 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[12] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 1082 | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1090 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 1091 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 1092 | // Deprecated: Use MessageSetExtension.ProtoReflect.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1093 | func (*MessageSetExtension) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1094 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{12} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1095 | } |
| 1096 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1097 | func (x *MessageSetExtension) GetOptString() string { |
| 1098 | if x != nil && x.OptString != nil { |
| 1099 | return *x.OptString |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1100 | } |
| 1101 | return "" |
| 1102 | } |
| 1103 | |
| 1104 | type FakeMessageSet struct { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 1105 | state protoimpl.MessageState |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 1106 | sizeCache protoimpl.SizeCache |
| 1107 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 6ceeaab | 2019-07-08 12:31:21 -0700 | [diff] [blame] | 1108 | extensionFields protoimpl.ExtensionFields |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1109 | } |
| 1110 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1111 | func (x *FakeMessageSet) Reset() { |
| 1112 | *x = FakeMessageSet{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 1113 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1114 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[13] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 1115 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1116 | ms.StoreMessageInfo(mi) |
| 1117 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1118 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1119 | |
| 1120 | func (x *FakeMessageSet) String() string { |
| 1121 | return protoimpl.X.MessageStringOf(x) |
| 1122 | } |
| 1123 | |
| 1124 | func (*FakeMessageSet) ProtoMessage() {} |
| 1125 | |
| 1126 | func (x *FakeMessageSet) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1127 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[13] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 1128 | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1136 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 1137 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 1138 | // Deprecated: Use FakeMessageSet.ProtoReflect.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1139 | func (*FakeMessageSet) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1140 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{13} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1141 | } |
| 1142 | |
Joe Tsai | 4fddeba | 2019-03-20 18:29:32 -0700 | [diff] [blame] | 1143 | var extRange_FakeMessageSet = []protoiface.ExtensionRangeV1{ |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1144 | {Start: 4, End: 536870911}, |
| 1145 | } |
| 1146 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 1147 | // Deprecated: Use FakeMessageSet.ProtoReflect.Descriptor.ExtensionRanges instead. |
Joe Tsai | 4fddeba | 2019-03-20 18:29:32 -0700 | [diff] [blame] | 1148 | func (*FakeMessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1 { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1149 | return extRange_FakeMessageSet |
| 1150 | } |
| 1151 | |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1152 | type FakeMessageSetExtension struct { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 1153 | state protoimpl.MessageState |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 1154 | sizeCache protoimpl.SizeCache |
| 1155 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 1156 | |
| 1157 | OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"` |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1158 | } |
| 1159 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1160 | func (x *FakeMessageSetExtension) Reset() { |
| 1161 | *x = FakeMessageSetExtension{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 1162 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1163 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[14] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 1164 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1165 | ms.StoreMessageInfo(mi) |
| 1166 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1167 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1168 | |
| 1169 | func (x *FakeMessageSetExtension) String() string { |
| 1170 | return protoimpl.X.MessageStringOf(x) |
| 1171 | } |
| 1172 | |
| 1173 | func (*FakeMessageSetExtension) ProtoMessage() {} |
| 1174 | |
| 1175 | func (x *FakeMessageSetExtension) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1176 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[14] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 1177 | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1185 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 1186 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 1187 | // Deprecated: Use FakeMessageSetExtension.ProtoReflect.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1188 | func (*FakeMessageSetExtension) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1189 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{14} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1190 | } |
| 1191 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1192 | func (x *FakeMessageSetExtension) GetOptString() string { |
| 1193 | if x != nil && x.OptString != nil { |
| 1194 | return *x.OptString |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1195 | } |
| 1196 | return "" |
| 1197 | } |
| 1198 | |
| 1199 | // Message contains well-known type fields. |
| 1200 | type KnownTypes struct { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 1201 | state protoimpl.MessageState |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 1202 | sizeCache protoimpl.SizeCache |
| 1203 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 1204 | |
| 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 Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1223 | } |
| 1224 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1225 | func (x *KnownTypes) Reset() { |
| 1226 | *x = KnownTypes{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 1227 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1228 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[15] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 1229 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1230 | ms.StoreMessageInfo(mi) |
| 1231 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1232 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1233 | |
| 1234 | func (x *KnownTypes) String() string { |
| 1235 | return protoimpl.X.MessageStringOf(x) |
| 1236 | } |
| 1237 | |
| 1238 | func (*KnownTypes) ProtoMessage() {} |
| 1239 | |
| 1240 | func (x *KnownTypes) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1241 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[15] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 1242 | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1250 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 1251 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 1252 | // Deprecated: Use KnownTypes.ProtoReflect.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1253 | func (*KnownTypes) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1254 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{15} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1255 | } |
| 1256 | |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 1257 | func (x *KnownTypes) GetOptBool() *wrapperspb.BoolValue { |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1258 | if x != nil { |
| 1259 | return x.OptBool |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1260 | } |
| 1261 | return nil |
| 1262 | } |
| 1263 | |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 1264 | func (x *KnownTypes) GetOptInt32() *wrapperspb.Int32Value { |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1265 | if x != nil { |
| 1266 | return x.OptInt32 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1267 | } |
| 1268 | return nil |
| 1269 | } |
| 1270 | |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 1271 | func (x *KnownTypes) GetOptInt64() *wrapperspb.Int64Value { |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1272 | if x != nil { |
| 1273 | return x.OptInt64 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1274 | } |
| 1275 | return nil |
| 1276 | } |
| 1277 | |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 1278 | func (x *KnownTypes) GetOptUint32() *wrapperspb.UInt32Value { |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1279 | if x != nil { |
| 1280 | return x.OptUint32 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1281 | } |
| 1282 | return nil |
| 1283 | } |
| 1284 | |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 1285 | func (x *KnownTypes) GetOptUint64() *wrapperspb.UInt64Value { |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1286 | if x != nil { |
| 1287 | return x.OptUint64 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1288 | } |
| 1289 | return nil |
| 1290 | } |
| 1291 | |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 1292 | func (x *KnownTypes) GetOptFloat() *wrapperspb.FloatValue { |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1293 | if x != nil { |
| 1294 | return x.OptFloat |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1295 | } |
| 1296 | return nil |
| 1297 | } |
| 1298 | |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 1299 | func (x *KnownTypes) GetOptDouble() *wrapperspb.DoubleValue { |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1300 | if x != nil { |
| 1301 | return x.OptDouble |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1302 | } |
| 1303 | return nil |
| 1304 | } |
| 1305 | |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 1306 | func (x *KnownTypes) GetOptString() *wrapperspb.StringValue { |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1307 | if x != nil { |
| 1308 | return x.OptString |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1309 | } |
| 1310 | return nil |
| 1311 | } |
| 1312 | |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 1313 | func (x *KnownTypes) GetOptBytes() *wrapperspb.BytesValue { |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1314 | if x != nil { |
| 1315 | return x.OptBytes |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1316 | } |
| 1317 | return nil |
| 1318 | } |
| 1319 | |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 1320 | func (x *KnownTypes) GetOptDuration() *durationpb.Duration { |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1321 | if x != nil { |
| 1322 | return x.OptDuration |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1323 | } |
| 1324 | return nil |
| 1325 | } |
| 1326 | |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 1327 | func (x *KnownTypes) GetOptTimestamp() *timestamppb.Timestamp { |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1328 | if x != nil { |
| 1329 | return x.OptTimestamp |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1330 | } |
| 1331 | return nil |
| 1332 | } |
| 1333 | |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 1334 | func (x *KnownTypes) GetOptStruct() *structpb.Struct { |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1335 | if x != nil { |
| 1336 | return x.OptStruct |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1337 | } |
| 1338 | return nil |
| 1339 | } |
| 1340 | |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 1341 | func (x *KnownTypes) GetOptList() *structpb.ListValue { |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1342 | if x != nil { |
| 1343 | return x.OptList |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1344 | } |
| 1345 | return nil |
| 1346 | } |
| 1347 | |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 1348 | func (x *KnownTypes) GetOptValue() *structpb.Value { |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1349 | if x != nil { |
| 1350 | return x.OptValue |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1351 | } |
| 1352 | return nil |
| 1353 | } |
| 1354 | |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 1355 | func (x *KnownTypes) GetOptNull() structpb.NullValue { |
Herbie Ong | 300b9fe | 2019-03-29 15:42:20 -0700 | [diff] [blame] | 1356 | if x != nil && x.OptNull != nil { |
| 1357 | return *x.OptNull |
| 1358 | } |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 1359 | return structpb.NullValue_NULL_VALUE |
Herbie Ong | 300b9fe | 2019-03-29 15:42:20 -0700 | [diff] [blame] | 1360 | } |
| 1361 | |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 1362 | func (x *KnownTypes) GetOptEmpty() *emptypb.Empty { |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1363 | if x != nil { |
| 1364 | return x.OptEmpty |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1365 | } |
| 1366 | return nil |
| 1367 | } |
| 1368 | |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 1369 | func (x *KnownTypes) GetOptAny() *anypb.Any { |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1370 | if x != nil { |
| 1371 | return x.OptAny |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1372 | } |
| 1373 | return nil |
| 1374 | } |
| 1375 | |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 1376 | func (x *KnownTypes) GetOptFieldmask() *fieldmaskpb.FieldMask { |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1377 | if x != nil { |
| 1378 | return x.OptFieldmask |
Herbie Ong | 0b0f403 | 2019-03-18 19:06:15 -0700 | [diff] [blame] | 1379 | } |
| 1380 | return nil |
| 1381 | } |
| 1382 | |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1383 | type Nests_OptGroup struct { |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 1384 | state protoimpl.MessageState |
| 1385 | sizeCache protoimpl.SizeCache |
| 1386 | unknownFields protoimpl.UnknownFields |
| 1387 | |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 1388 | 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 Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1391 | } |
| 1392 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1393 | func (x *Nests_OptGroup) Reset() { |
| 1394 | *x = Nests_OptGroup{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 1395 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1396 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[16] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 1397 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1398 | ms.StoreMessageInfo(mi) |
| 1399 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1400 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1401 | |
| 1402 | func (x *Nests_OptGroup) String() string { |
| 1403 | return protoimpl.X.MessageStringOf(x) |
| 1404 | } |
| 1405 | |
| 1406 | func (*Nests_OptGroup) ProtoMessage() {} |
| 1407 | |
| 1408 | func (x *Nests_OptGroup) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1409 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[16] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 1410 | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1418 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 1419 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 1420 | // Deprecated: Use Nests_OptGroup.ProtoReflect.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1421 | func (*Nests_OptGroup) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1422 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{4, 0} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1423 | } |
| 1424 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1425 | func (x *Nests_OptGroup) GetOptString() string { |
| 1426 | if x != nil && x.OptString != nil { |
| 1427 | return *x.OptString |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1428 | } |
| 1429 | return "" |
| 1430 | } |
| 1431 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1432 | func (x *Nests_OptGroup) GetOptNested() *Nested { |
| 1433 | if x != nil { |
| 1434 | return x.OptNested |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1435 | } |
| 1436 | return nil |
| 1437 | } |
| 1438 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1439 | func (x *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup { |
| 1440 | if x != nil { |
| 1441 | return x.Optnestedgroup |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1442 | } |
| 1443 | return nil |
| 1444 | } |
| 1445 | |
| 1446 | type Nests_RptGroup struct { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 1447 | state protoimpl.MessageState |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 1448 | sizeCache protoimpl.SizeCache |
| 1449 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 1450 | |
| 1451 | RptString []string `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"` |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1452 | } |
| 1453 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1454 | func (x *Nests_RptGroup) Reset() { |
| 1455 | *x = Nests_RptGroup{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 1456 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1457 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[17] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 1458 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1459 | ms.StoreMessageInfo(mi) |
| 1460 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1461 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1462 | |
| 1463 | func (x *Nests_RptGroup) String() string { |
| 1464 | return protoimpl.X.MessageStringOf(x) |
| 1465 | } |
| 1466 | |
| 1467 | func (*Nests_RptGroup) ProtoMessage() {} |
| 1468 | |
| 1469 | func (x *Nests_RptGroup) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1470 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[17] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 1471 | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1479 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 1480 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 1481 | // Deprecated: Use Nests_RptGroup.ProtoReflect.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1482 | func (*Nests_RptGroup) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1483 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{4, 1} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1484 | } |
| 1485 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1486 | func (x *Nests_RptGroup) GetRptString() []string { |
| 1487 | if x != nil { |
| 1488 | return x.RptString |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1489 | } |
| 1490 | return nil |
| 1491 | } |
| 1492 | |
| 1493 | type Nests_OptGroup_OptNestedGroup struct { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 1494 | state protoimpl.MessageState |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 1495 | sizeCache protoimpl.SizeCache |
| 1496 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 1497 | |
| 1498 | OptFixed32 *uint32 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"` |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1499 | } |
| 1500 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1501 | func (x *Nests_OptGroup_OptNestedGroup) Reset() { |
| 1502 | *x = Nests_OptGroup_OptNestedGroup{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 1503 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1504 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[18] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 1505 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1506 | ms.StoreMessageInfo(mi) |
| 1507 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1508 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1509 | |
| 1510 | func (x *Nests_OptGroup_OptNestedGroup) String() string { |
| 1511 | return protoimpl.X.MessageStringOf(x) |
| 1512 | } |
| 1513 | |
| 1514 | func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {} |
| 1515 | |
| 1516 | func (x *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1517 | mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[18] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 1518 | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1526 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 1527 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 1528 | // Deprecated: Use Nests_OptGroup_OptNestedGroup.ProtoReflect.Descriptor instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1529 | func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1530 | return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{4, 0, 0} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1531 | } |
| 1532 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 1533 | func (x *Nests_OptGroup_OptNestedGroup) GetOptFixed32() uint32 { |
| 1534 | if x != nil && x.OptFixed32 != nil { |
| 1535 | return *x.OptFixed32 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1536 | } |
| 1537 | return 0 |
| 1538 | } |
| 1539 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1540 | var file_internal_testprotos_textpb2_test_proto_extTypes = []protoimpl.ExtensionInfo{ |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1541 | { |
| 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 Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1547 | Filename: "internal/testprotos/textpb2/test.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1548 | }, |
| 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 Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1555 | Filename: "internal/testprotos/textpb2/test.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1556 | }, |
| 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 Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1563 | Filename: "internal/testprotos/textpb2/test.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1564 | }, |
| 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 Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1571 | Filename: "internal/testprotos/textpb2/test.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1572 | }, |
| 1573 | { |
| 1574 | ExtendedType: (*Extensions)(nil), |
Herbie Ong | 09b28a9 | 2019-04-03 15:42:41 -0700 | [diff] [blame] | 1575 | ExtensionType: (*PartialRequired)(nil), |
| 1576 | Field: 25, |
| 1577 | Name: "pb2.opt_ext_partial", |
| 1578 | Tag: "bytes,25,opt,name=opt_ext_partial", |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1579 | Filename: "internal/testprotos/textpb2/test.proto", |
Herbie Ong | 09b28a9 | 2019-04-03 15:42:41 -0700 | [diff] [blame] | 1580 | }, |
| 1581 | { |
| 1582 | ExtendedType: (*Extensions)(nil), |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1583 | ExtensionType: ([]uint32)(nil), |
| 1584 | Field: 31, |
| 1585 | Name: "pb2.rpt_ext_fixed32", |
| 1586 | Tag: "fixed32,31,rep,name=rpt_ext_fixed32", |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1587 | Filename: "internal/testprotos/textpb2/test.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1588 | }, |
| 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 Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1595 | Filename: "internal/testprotos/textpb2/test.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1596 | }, |
| 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 Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1603 | Filename: "internal/testprotos/textpb2/test.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1604 | }, |
| 1605 | { |
| 1606 | ExtendedType: (*MessageSet)(nil), |
| 1607 | ExtensionType: (*FakeMessageSetExtension)(nil), |
| 1608 | Field: 50, |
Joe Tsai | 6ceeaab | 2019-07-08 12:31:21 -0700 | [diff] [blame] | 1609 | Name: "pb2.message_set_extension", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1610 | Tag: "bytes,50,opt,name=message_set_extension", |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1611 | Filename: "internal/testprotos/textpb2/test.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1612 | }, |
| 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 Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1619 | Filename: "internal/testprotos/textpb2/test.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1620 | }, |
| 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 Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1627 | Filename: "internal/testprotos/textpb2/test.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1628 | }, |
| 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 Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1635 | Filename: "internal/testprotos/textpb2/test.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1636 | }, |
| 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 Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1643 | Filename: "internal/testprotos/textpb2/test.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1644 | }, |
| 1645 | { |
| 1646 | ExtendedType: (*Extensions)(nil), |
Herbie Ong | 09b28a9 | 2019-04-03 15:42:41 -0700 | [diff] [blame] | 1647 | ExtensionType: (*PartialRequired)(nil), |
| 1648 | Field: 55, |
| 1649 | Name: "pb2.ExtensionsContainer.opt_ext_partial", |
| 1650 | Tag: "bytes,55,opt,name=opt_ext_partial", |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1651 | Filename: "internal/testprotos/textpb2/test.proto", |
Herbie Ong | 09b28a9 | 2019-04-03 15:42:41 -0700 | [diff] [blame] | 1652 | }, |
| 1653 | { |
| 1654 | ExtendedType: (*Extensions)(nil), |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1655 | ExtensionType: ([]string)(nil), |
| 1656 | Field: 61, |
| 1657 | Name: "pb2.ExtensionsContainer.rpt_ext_string", |
| 1658 | Tag: "bytes,61,rep,name=rpt_ext_string", |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1659 | Filename: "internal/testprotos/textpb2/test.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1660 | }, |
| 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 Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1667 | Filename: "internal/testprotos/textpb2/test.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1668 | }, |
| 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 Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1675 | Filename: "internal/testprotos/textpb2/test.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1676 | }, |
| 1677 | { |
| 1678 | ExtendedType: (*MessageSet)(nil), |
| 1679 | ExtensionType: (*MessageSetExtension)(nil), |
| 1680 | Field: 10, |
Joe Tsai | 945a170 | 2019-07-20 14:57:56 -0700 | [diff] [blame] | 1681 | Name: "pb2.MessageSetExtension", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1682 | Tag: "bytes,10,opt,name=message_set_extension", |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1683 | Filename: "internal/testprotos/textpb2/test.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1684 | }, |
| 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 Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1691 | Filename: "internal/testprotos/textpb2/test.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1692 | }, |
| 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 Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1699 | Filename: "internal/testprotos/textpb2/test.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1700 | }, |
| 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 Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1707 | Filename: "internal/testprotos/textpb2/test.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1708 | }, |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1709 | } |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1710 | |
| 1711 | // Extension fields to Extensions. |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1712 | var ( |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1713 | // optional bool opt_ext_bool = 21; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1714 | E_OptExtBool = &file_internal_testprotos_textpb2_test_proto_extTypes[0] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1715 | // optional string opt_ext_string = 22; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1716 | E_OptExtString = &file_internal_testprotos_textpb2_test_proto_extTypes[1] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1717 | // optional pb2.Enum opt_ext_enum = 23; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1718 | E_OptExtEnum = &file_internal_testprotos_textpb2_test_proto_extTypes[2] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1719 | // optional pb2.Nested opt_ext_nested = 24; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1720 | E_OptExtNested = &file_internal_testprotos_textpb2_test_proto_extTypes[3] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1721 | // optional pb2.PartialRequired opt_ext_partial = 25; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1722 | E_OptExtPartial = &file_internal_testprotos_textpb2_test_proto_extTypes[4] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1723 | // repeated fixed32 rpt_ext_fixed32 = 31; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1724 | E_RptExtFixed32 = &file_internal_testprotos_textpb2_test_proto_extTypes[5] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1725 | // repeated pb2.Enum rpt_ext_enum = 32; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1726 | E_RptExtEnum = &file_internal_testprotos_textpb2_test_proto_extTypes[6] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1727 | // repeated pb2.Nested rpt_ext_nested = 33; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1728 | E_RptExtNested = &file_internal_testprotos_textpb2_test_proto_extTypes[7] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1729 | // optional bool opt_ext_bool = 51; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1730 | E_ExtensionsContainer_OptExtBool = &file_internal_testprotos_textpb2_test_proto_extTypes[9] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1731 | // optional string opt_ext_string = 52; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1732 | E_ExtensionsContainer_OptExtString = &file_internal_testprotos_textpb2_test_proto_extTypes[10] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1733 | // optional pb2.Enum opt_ext_enum = 53; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1734 | E_ExtensionsContainer_OptExtEnum = &file_internal_testprotos_textpb2_test_proto_extTypes[11] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1735 | // optional pb2.Nested opt_ext_nested = 54; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1736 | E_ExtensionsContainer_OptExtNested = &file_internal_testprotos_textpb2_test_proto_extTypes[12] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1737 | // optional pb2.PartialRequired opt_ext_partial = 55; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1738 | E_ExtensionsContainer_OptExtPartial = &file_internal_testprotos_textpb2_test_proto_extTypes[13] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1739 | // repeated string rpt_ext_string = 61; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1740 | E_ExtensionsContainer_RptExtString = &file_internal_testprotos_textpb2_test_proto_extTypes[14] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1741 | // repeated pb2.Enum rpt_ext_enum = 62; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1742 | E_ExtensionsContainer_RptExtEnum = &file_internal_testprotos_textpb2_test_proto_extTypes[15] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1743 | // repeated pb2.Nested rpt_ext_nested = 63; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1744 | E_ExtensionsContainer_RptExtNested = &file_internal_testprotos_textpb2_test_proto_extTypes[16] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1745 | ) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1746 | |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1747 | // Extension fields to MessageSet. |
| 1748 | var ( |
| 1749 | // optional pb2.FakeMessageSetExtension message_set_extension = 50; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1750 | E_MessageSetExtension = &file_internal_testprotos_textpb2_test_proto_extTypes[8] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1751 | // optional pb2.MessageSetExtension message_set_extension = 10; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1752 | E_MessageSetExtension_MessageSetExtension = &file_internal_testprotos_textpb2_test_proto_extTypes[17] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1753 | // optional pb2.MessageSetExtension not_message_set_extension = 20; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1754 | E_MessageSetExtension_NotMessageSetExtension = &file_internal_testprotos_textpb2_test_proto_extTypes[18] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1755 | // optional pb2.Nested ext_nested = 30; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1756 | E_MessageSetExtension_ExtNested = &file_internal_testprotos_textpb2_test_proto_extTypes[19] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1757 | ) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1758 | |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1759 | // Extension fields to FakeMessageSet. |
| 1760 | var ( |
| 1761 | // optional pb2.FakeMessageSetExtension message_set_extension = 10; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1762 | E_FakeMessageSetExtension_MessageSetExtension = &file_internal_testprotos_textpb2_test_proto_extTypes[20] |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 1763 | ) |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 1764 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1765 | var File_internal_testprotos_textpb2_test_proto protoreflect.FileDescriptor |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 1766 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1767 | var 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 Tsai | 94e730b | 2020-01-10 23:31:25 -0800 | [diff] [blame] | 1866 | 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 Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1870 | 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 Tsai | 94e730b | 2020-01-10 23:31:25 -0800 | [diff] [blame] | 1897 | 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 Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1899 | 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 Tsai | 94e730b | 2020-01-10 23:31:25 -0800 | [diff] [blame] | 1940 | 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 1941 | 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 Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 2110 | } |
| 2111 | |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 2112 | var ( |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2113 | 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 Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 2115 | ) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 2116 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2117 | func 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 Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 2120 | }) |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2121 | return file_internal_testprotos_textpb2_test_proto_rawDescData |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 2122 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 2123 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2124 | var file_internal_testprotos_textpb2_test_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| 2125 | var file_internal_testprotos_textpb2_test_proto_msgTypes = make([]protoimpl.MessageInfo, 20) |
| 2126 | var file_internal_testprotos_textpb2_test_proto_goTypes = []interface{}{ |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 2127 | (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 Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 2149 | (*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 Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 2167 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2168 | var file_internal_testprotos_textpb2_test_proto_depIdxs = []int32{ |
Joe Tsai | 7328839 | 2019-08-14 11:55:31 -0700 | [diff] [blame] | 2169 | 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 Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 2246 | } |
| 2247 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2248 | func init() { file_internal_testprotos_textpb2_test_proto_init() } |
| 2249 | func file_internal_testprotos_textpb2_test_proto_init() { |
| 2250 | if File_internal_testprotos_textpb2_test_proto != nil { |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 2251 | return |
| 2252 | } |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2253 | if !protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2254 | file_internal_testprotos_textpb2_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2255 | switch v := v.(*Scalars); i { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2256 | case 0: |
| 2257 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2258 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2259 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2260 | case 2: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2261 | return &v.unknownFields |
| 2262 | default: |
| 2263 | return nil |
| 2264 | } |
| 2265 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2266 | file_internal_testprotos_textpb2_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2267 | switch v := v.(*Enums); i { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2268 | case 0: |
| 2269 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2270 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2271 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2272 | case 2: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2273 | return &v.unknownFields |
| 2274 | default: |
| 2275 | return nil |
| 2276 | } |
| 2277 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2278 | file_internal_testprotos_textpb2_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2279 | switch v := v.(*Repeats); i { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2280 | case 0: |
| 2281 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2282 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2283 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2284 | case 2: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2285 | return &v.unknownFields |
| 2286 | default: |
| 2287 | return nil |
| 2288 | } |
| 2289 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2290 | file_internal_testprotos_textpb2_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2291 | switch v := v.(*Nested); i { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2292 | case 0: |
| 2293 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2294 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2295 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2296 | case 2: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2297 | return &v.unknownFields |
| 2298 | default: |
| 2299 | return nil |
| 2300 | } |
| 2301 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2302 | file_internal_testprotos_textpb2_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2303 | switch v := v.(*Nests); i { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2304 | case 0: |
| 2305 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2306 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2307 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2308 | case 2: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2309 | return &v.unknownFields |
| 2310 | default: |
| 2311 | return nil |
| 2312 | } |
| 2313 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2314 | file_internal_testprotos_textpb2_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2315 | switch v := v.(*Requireds); i { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2316 | case 0: |
| 2317 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2318 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2319 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2320 | case 2: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2321 | return &v.unknownFields |
| 2322 | default: |
| 2323 | return nil |
| 2324 | } |
| 2325 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2326 | file_internal_testprotos_textpb2_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2327 | switch v := v.(*PartialRequired); i { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2328 | case 0: |
| 2329 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2330 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2331 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2332 | case 2: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2333 | return &v.unknownFields |
| 2334 | default: |
| 2335 | return nil |
| 2336 | } |
| 2337 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2338 | file_internal_testprotos_textpb2_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2339 | switch v := v.(*NestedWithRequired); i { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2340 | case 0: |
| 2341 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2342 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2343 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2344 | case 2: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2345 | return &v.unknownFields |
| 2346 | default: |
| 2347 | return nil |
| 2348 | } |
| 2349 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2350 | file_internal_testprotos_textpb2_test_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2351 | switch v := v.(*IndirectRequired); i { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2352 | case 0: |
| 2353 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2354 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2355 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2356 | case 2: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2357 | return &v.unknownFields |
| 2358 | default: |
| 2359 | return nil |
| 2360 | } |
| 2361 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2362 | file_internal_testprotos_textpb2_test_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2363 | switch v := v.(*Extensions); i { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2364 | case 0: |
| 2365 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2366 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2367 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2368 | case 2: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2369 | return &v.unknownFields |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2370 | case 3: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2371 | return &v.extensionFields |
| 2372 | default: |
| 2373 | return nil |
| 2374 | } |
| 2375 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2376 | file_internal_testprotos_textpb2_test_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2377 | switch v := v.(*ExtensionsContainer); i { |
| 2378 | case 0: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2379 | return &v.state |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2380 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2381 | return &v.sizeCache |
| 2382 | case 2: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2383 | return &v.unknownFields |
| 2384 | default: |
| 2385 | return nil |
| 2386 | } |
| 2387 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2388 | file_internal_testprotos_textpb2_test_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2389 | switch v := v.(*MessageSet); i { |
| 2390 | case 0: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2391 | return &v.state |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2392 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2393 | return &v.sizeCache |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2394 | case 2: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2395 | return &v.unknownFields |
| 2396 | case 3: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2397 | return &v.extensionFields |
| 2398 | default: |
| 2399 | return nil |
| 2400 | } |
| 2401 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2402 | file_internal_testprotos_textpb2_test_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2403 | switch v := v.(*MessageSetExtension); i { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2404 | case 0: |
| 2405 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2406 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2407 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2408 | case 2: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2409 | return &v.unknownFields |
| 2410 | default: |
| 2411 | return nil |
| 2412 | } |
| 2413 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2414 | file_internal_testprotos_textpb2_test_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2415 | switch v := v.(*FakeMessageSet); i { |
| 2416 | case 0: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2417 | return &v.state |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2418 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2419 | return &v.sizeCache |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2420 | case 2: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2421 | return &v.unknownFields |
| 2422 | case 3: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2423 | return &v.extensionFields |
| 2424 | default: |
| 2425 | return nil |
| 2426 | } |
| 2427 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2428 | file_internal_testprotos_textpb2_test_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2429 | switch v := v.(*FakeMessageSetExtension); i { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2430 | case 0: |
| 2431 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2432 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2433 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2434 | case 2: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2435 | return &v.unknownFields |
| 2436 | default: |
| 2437 | return nil |
| 2438 | } |
| 2439 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2440 | file_internal_testprotos_textpb2_test_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2441 | switch v := v.(*KnownTypes); i { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2442 | case 0: |
| 2443 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2444 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2445 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2446 | case 2: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2447 | return &v.unknownFields |
| 2448 | default: |
| 2449 | return nil |
| 2450 | } |
| 2451 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2452 | file_internal_testprotos_textpb2_test_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2453 | switch v := v.(*Nests_OptGroup); i { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2454 | case 0: |
| 2455 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2456 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2457 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2458 | case 2: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2459 | return &v.unknownFields |
| 2460 | default: |
| 2461 | return nil |
| 2462 | } |
| 2463 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2464 | file_internal_testprotos_textpb2_test_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2465 | switch v := v.(*Nests_RptGroup); i { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2466 | case 0: |
| 2467 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2468 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2469 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2470 | case 2: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2471 | return &v.unknownFields |
| 2472 | default: |
| 2473 | return nil |
| 2474 | } |
| 2475 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2476 | file_internal_testprotos_textpb2_test_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2477 | switch v := v.(*Nests_OptGroup_OptNestedGroup); i { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2478 | case 0: |
| 2479 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2480 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 2481 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 2482 | case 2: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 2483 | return &v.unknownFields |
| 2484 | default: |
| 2485 | return nil |
| 2486 | } |
| 2487 | } |
| 2488 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2489 | file_internal_testprotos_textpb2_test_proto_msgTypes[8].OneofWrappers = []interface{}{ |
Joe Tsai | 0991227 | 2019-07-08 10:38:11 -0700 | [diff] [blame] | 2490 | (*IndirectRequired_OneofNested)(nil), |
| 2491 | } |
Joe Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 2492 | type x struct{} |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 2493 | out := protoimpl.TypeBuilder{ |
| 2494 | File: protoimpl.DescBuilder{ |
Joe Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 2495 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2496 | RawDescriptor: file_internal_testprotos_textpb2_test_proto_rawDesc, |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 2497 | NumEnums: 2, |
| 2498 | NumMessages: 20, |
| 2499 | NumExtensions: 21, |
| 2500 | NumServices: 0, |
| 2501 | }, |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2502 | 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 Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 2507 | }.Build() |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 2508 | 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 Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 2512 | } |