| 1 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 |
// versions: |
| 3 |
// protoc-gen-go v1.28.1 |
| 4 |
// protoc v3.21.5 |
| 5 |
// source: test/proto2pb/test_all_types.proto |
| 6 |
|
| 7 |
package proto2pb |
| 8 |
|
| 9 |
import ( |
| 10 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 11 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 12 |
anypb "google.golang.org/protobuf/types/known/anypb" |
| 13 |
durationpb "google.golang.org/protobuf/types/known/durationpb" |
| 14 |
structpb "google.golang.org/protobuf/types/known/structpb" |
| 15 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 16 |
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" |
| 17 |
reflect "reflect" |
| 18 |
sync "sync" |
| 19 |
) |
| 20 |
|
| 21 |
const ( |
| 22 |
// Verify that this generated code is sufficiently up-to-date. |
| 23 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 24 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 25 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 26 |
) |
| 27 |
|
| 28 |
type GlobalEnum int32 |
| 29 |
|
| 30 |
const ( |
| 31 |
GlobalEnum_GOO GlobalEnum = 0 |
| 32 |
GlobalEnum_GAR GlobalEnum = 1 |
| 33 |
GlobalEnum_GAZ GlobalEnum = 2 |
| 34 |
) |
| 35 |
|
| 36 |
// Enum value maps for GlobalEnum. |
| 37 |
var ( |
| 38 |
GlobalEnum_name = map[int32]string{ |
| 39 |
0: "GOO", |
| 40 |
1: "GAR", |
| 41 |
2: "GAZ", |
| 42 |
} |
| 43 |
GlobalEnum_value = map[string]int32{ |
| 44 |
"GOO": 0, |
| 45 |
"GAR": 1, |
| 46 |
"GAZ": 2, |
| 47 |
} |
| 48 |
) |
| 49 |
|
| 50 |
func (x GlobalEnum) Enum() *GlobalEnum { |
| 51 |
p := new(GlobalEnum) |
| 52 |
*p = x |
| 53 |
return p |
| 54 |
} |
| 55 |
|
| 56 |
func (x GlobalEnum) String() string { |
| 57 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 58 |
} |
| 59 |
|
| 60 |
func (GlobalEnum) Descriptor() protoreflect.EnumDescriptor { |
| 61 |
return file_test_proto2pb_test_all_types_proto_enumTypes[0].Descriptor() |
| 62 |
} |
| 63 |
|
| 64 |
func (GlobalEnum) Type() protoreflect.EnumType { |
| 65 |
return &file_test_proto2pb_test_all_types_proto_enumTypes[0] |
| 66 |
} |
| 67 |
|
| 68 |
func (x GlobalEnum) Number() protoreflect.EnumNumber { |
| 69 |
return protoreflect.EnumNumber(x) |
| 70 |
} |
| 71 |
|
| 72 |
// Deprecated: Do not use. |
| 73 |
func (x *GlobalEnum) UnmarshalJSON(b []byte) error { |
| 74 |
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| 75 |
if err != nil { |
| 76 |
return err |
| 77 |
} |
| 78 |
*x = GlobalEnum(num) |
| 79 |
return nil |
| 80 |
} |
| 81 |
|
| 82 |
// Deprecated: Use GlobalEnum.Descriptor instead. |
| 83 |
func (GlobalEnum) EnumDescriptor() ([]byte, []int) { |
| 84 |
return file_test_proto2pb_test_all_types_proto_rawDescGZIP(), []int{0} |
| 85 |
} |
| 86 |
|
| 87 |
type TestAllTypes_NestedEnum int32 |
| 88 |
|
| 89 |
const ( |
| 90 |
TestAllTypes_FOO TestAllTypes_NestedEnum = 0 |
| 91 |
TestAllTypes_BAR TestAllTypes_NestedEnum = 1 |
| 92 |
TestAllTypes_BAZ TestAllTypes_NestedEnum = 2 |
| 93 |
) |
| 94 |
|
| 95 |
// Enum value maps for TestAllTypes_NestedEnum. |
| 96 |
var ( |
| 97 |
TestAllTypes_NestedEnum_name = map[int32]string{ |
| 98 |
0: "FOO", |
| 99 |
1: "BAR", |
| 100 |
2: "BAZ", |
| 101 |
} |
| 102 |
TestAllTypes_NestedEnum_value = map[string]int32{ |
| 103 |
"FOO": 0, |
| 104 |
"BAR": 1, |
| 105 |
"BAZ": 2, |
| 106 |
} |
| 107 |
) |
| 108 |
|
| 109 |
func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum { |
| 110 |
p := new(TestAllTypes_NestedEnum) |
| 111 |
*p = x |
| 112 |
return p |
| 113 |
} |
| 114 |
|
| 115 |
func (x TestAllTypes_NestedEnum) String() string { |
| 116 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 117 |
} |
| 118 |
|
| 119 |
func (TestAllTypes_NestedEnum) Descriptor() protoreflect.EnumDescriptor { |
| 120 |
return file_test_proto2pb_test_all_types_proto_enumTypes[1].Descriptor() |
| 121 |
} |
| 122 |
|
| 123 |
func (TestAllTypes_NestedEnum) Type() protoreflect.EnumType { |
| 124 |
return &file_test_proto2pb_test_all_types_proto_enumTypes[1] |
| 125 |
} |
| 126 |
|
| 127 |
func (x TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber { |
| 128 |
return protoreflect.EnumNumber(x) |
| 129 |
} |
| 130 |
|
| 131 |
// Deprecated: Do not use. |
| 132 |
func (x *TestAllTypes_NestedEnum) UnmarshalJSON(b []byte) error { |
| 133 |
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) |
| 134 |
if err != nil { |
| 135 |
return err |
| 136 |
} |
| 137 |
*x = TestAllTypes_NestedEnum(num) |
| 138 |
return nil |
| 139 |
} |
| 140 |
|
| 141 |
// Deprecated: Use TestAllTypes_NestedEnum.Descriptor instead. |
| 142 |
func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int) { |
| 143 |
return file_test_proto2pb_test_all_types_proto_rawDescGZIP(), []int{0, 0} |
| 144 |
} |
| 145 |
|
| 146 |
type TestAllTypes struct { |
| 147 |
state protoimpl.MessageState |
| 148 |
sizeCache protoimpl.SizeCache |
| 149 |
unknownFields protoimpl.UnknownFields |
| 150 |
|
| 151 |
SingleInt32 *int32 `protobuf:"varint,1,opt,name=single_int32,json=singleInt32,def=-32" json:"single_int32,omitempty"` |
| 152 |
SingleInt64 *int64 `protobuf:"varint,2,opt,name=single_int64,json=singleInt64,def=-64" json:"single_int64,omitempty"` |
| 153 |
SingleUint32 *uint32 `protobuf:"varint,3,opt,name=single_uint32,json=singleUint32,def=32" json:"single_uint32,omitempty"` |
| 154 |
SingleUint64 *uint64 `protobuf:"varint,4,opt,name=single_uint64,json=singleUint64,def=64" json:"single_uint64,omitempty"` |
| 155 |
SingleSint32 *int32 `protobuf:"zigzag32,5,opt,name=single_sint32,json=singleSint32" json:"single_sint32,omitempty"` |
| 156 |
SingleSint64 *int64 `protobuf:"zigzag64,6,opt,name=single_sint64,json=singleSint64" json:"single_sint64,omitempty"` |
| 157 |
SingleFixed32 *uint32 `protobuf:"fixed32,7,opt,name=single_fixed32,json=singleFixed32" json:"single_fixed32,omitempty"` |
| 158 |
SingleFixed64 *uint64 `protobuf:"fixed64,8,opt,name=single_fixed64,json=singleFixed64" json:"single_fixed64,omitempty"` |
| 159 |
SingleSfixed32 *int32 `protobuf:"fixed32,9,opt,name=single_sfixed32,json=singleSfixed32" json:"single_sfixed32,omitempty"` |
| 160 |
SingleSfixed64 *int64 `protobuf:"fixed64,10,opt,name=single_sfixed64,json=singleSfixed64" json:"single_sfixed64,omitempty"` |
| 161 |
SingleFloat *float32 `protobuf:"fixed32,11,opt,name=single_float,json=singleFloat,def=3" json:"single_float,omitempty"` |
| 162 |
SingleDouble *float64 `protobuf:"fixed64,12,opt,name=single_double,json=singleDouble,def=6.4" json:"single_double,omitempty"` |
| 163 |
SingleBool *bool `protobuf:"varint,13,opt,name=single_bool,json=singleBool,def=1" json:"single_bool,omitempty"` |
| 164 |
SingleString *string `protobuf:"bytes,14,opt,name=single_string,json=singleString,def=empty" json:"single_string,omitempty"` |
| 165 |
SingleBytes []byte `protobuf:"bytes,15,opt,name=single_bytes,json=singleBytes,def=none" json:"single_bytes,omitempty"` |
| 166 |
StandaloneEnum *TestAllTypes_NestedEnum `protobuf:"varint,22,opt,name=standalone_enum,json=standaloneEnum,enum=google.expr.proto2.test.TestAllTypes_NestedEnum" json:"standalone_enum,omitempty"` |
| 167 |
Nestedgroup *TestAllTypes_NestedGroup `protobuf:"group,23,opt,name=NestedGroup,json=nestedgroup" json:"nestedgroup,omitempty"` |
| 168 |
SingleAny *anypb.Any `protobuf:"bytes,100,opt,name=single_any,json=singleAny" json:"single_any,omitempty"` |
| 169 |
SingleDuration *durationpb.Duration `protobuf:"bytes,101,opt,name=single_duration,json=singleDuration" json:"single_duration,omitempty"` |
| 170 |
SingleTimestamp *timestamppb.Timestamp `protobuf:"bytes,102,opt,name=single_timestamp,json=singleTimestamp" json:"single_timestamp,omitempty"` |
| 171 |
SingleStruct *structpb.Struct `protobuf:"bytes,103,opt,name=single_struct,json=singleStruct" json:"single_struct,omitempty"` |
| 172 |
SingleValue *structpb.Value `protobuf:"bytes,104,opt,name=single_value,json=singleValue" json:"single_value,omitempty"` |
| 173 |
SingleInt64Wrapper *wrapperspb.Int64Value `protobuf:"bytes,105,opt,name=single_int64_wrapper,json=singleInt64Wrapper" json:"single_int64_wrapper,omitempty"` |
| 174 |
SingleInt32Wrapper *wrapperspb.Int32Value `protobuf:"bytes,106,opt,name=single_int32_wrapper,json=singleInt32Wrapper" json:"single_int32_wrapper,omitempty"` |
| 175 |
SingleDoubleWrapper *wrapperspb.DoubleValue `protobuf:"bytes,107,opt,name=single_double_wrapper,json=singleDoubleWrapper" json:"single_double_wrapper,omitempty"` |
| 176 |
SingleFloatWrapper *wrapperspb.FloatValue `protobuf:"bytes,108,opt,name=single_float_wrapper,json=singleFloatWrapper" json:"single_float_wrapper,omitempty"` |
| 177 |
SingleUint64Wrapper *wrapperspb.UInt64Value `protobuf:"bytes,109,opt,name=single_uint64_wrapper,json=singleUint64Wrapper" json:"single_uint64_wrapper,omitempty"` |
| 178 |
SingleUint32Wrapper *wrapperspb.UInt32Value `protobuf:"bytes,110,opt,name=single_uint32_wrapper,json=singleUint32Wrapper" json:"single_uint32_wrapper,omitempty"` |
| 179 |
SingleStringWrapper *wrapperspb.StringValue `protobuf:"bytes,111,opt,name=single_string_wrapper,json=singleStringWrapper" json:"single_string_wrapper,omitempty"` |
| 180 |
SingleBoolWrapper *wrapperspb.BoolValue `protobuf:"bytes,112,opt,name=single_bool_wrapper,json=singleBoolWrapper" json:"single_bool_wrapper,omitempty"` |
| 181 |
SingleBytesWrapper *wrapperspb.BytesValue `protobuf:"bytes,113,opt,name=single_bytes_wrapper,json=singleBytesWrapper" json:"single_bytes_wrapper,omitempty"` |
| 182 |
// Types that are assignable to NestedType: |
| 183 |
// |
| 184 |
// *TestAllTypes_SingleNestedMessage |
| 185 |
// *TestAllTypes_SingleNestedEnum |
| 186 |
NestedType isTestAllTypes_NestedType `protobuf_oneof:"nested_type"` |
| 187 |
RepeatedInt32 []int32 `protobuf:"varint,31,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"` |
| 188 |
RepeatedInt64 []int64 `protobuf:"varint,32,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"` |
| 189 |
RepeatedUint32 []uint32 `protobuf:"varint,33,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"` |
| 190 |
RepeatedUint64 []uint64 `protobuf:"varint,34,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"` |
| 191 |
RepeatedSint32 []int32 `protobuf:"zigzag32,35,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"` |
| 192 |
RepeatedSint64 []int64 `protobuf:"zigzag64,36,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"` |
| 193 |
RepeatedFixed32 []uint32 `protobuf:"fixed32,37,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"` |
| 194 |
RepeatedFixed64 []uint64 `protobuf:"fixed64,38,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"` |
| 195 |
RepeatedSfixed32 []int32 `protobuf:"fixed32,39,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"` |
| 196 |
RepeatedSfixed64 []int64 `protobuf:"fixed64,40,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"` |
| 197 |
RepeatedFloat []float32 `protobuf:"fixed32,41,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"` |
| 198 |
RepeatedDouble []float64 `protobuf:"fixed64,42,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"` |
| 199 |
RepeatedBool []bool `protobuf:"varint,43,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"` |
| 200 |
RepeatedString []string `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"` |
| 201 |
RepeatedBytes [][]byte `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"` |
| 202 |
RepeatedNestedMessage []*TestAllTypes_NestedMessage `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage" json:"repeated_nested_message,omitempty"` |
| 203 |
RepeatedNestedEnum []TestAllTypes_NestedEnum `protobuf:"varint,51,rep,name=repeated_nested_enum,json=repeatedNestedEnum,enum=google.expr.proto2.test.TestAllTypes_NestedEnum" json:"repeated_nested_enum,omitempty"` |
| 204 |
RepeatedStringPiece []string `protobuf:"bytes,54,rep,name=repeated_string_piece,json=repeatedStringPiece" json:"repeated_string_piece,omitempty"` |
| 205 |
RepeatedCord []string `protobuf:"bytes,55,rep,name=repeated_cord,json=repeatedCord" json:"repeated_cord,omitempty"` |
| 206 |
RepeatedLazyMessage []*TestAllTypes_NestedMessage `protobuf:"bytes,57,rep,name=repeated_lazy_message,json=repeatedLazyMessage" json:"repeated_lazy_message,omitempty"` |
| 207 |
MapStringString map[string]string `protobuf:"bytes,58,rep,name=map_string_string,json=mapStringString" json:"map_string_string,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` |
| 208 |
MapInt64NestedType map[int64]*NestedTestAllTypes `protobuf:"bytes,59,rep,name=map_int64_nested_type,json=mapInt64NestedType" json:"map_int64_nested_type,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` |
| 209 |
} |
| 210 |
|
| 211 |
// Default values for TestAllTypes fields. |
| 212 |
const ( |
| 213 |
Default_TestAllTypes_SingleInt32 = int32(-32) |
| 214 |
Default_TestAllTypes_SingleInt64 = int64(-64) |
| 215 |
Default_TestAllTypes_SingleUint32 = uint32(32) |
| 216 |
Default_TestAllTypes_SingleUint64 = uint64(64) |
| 217 |
Default_TestAllTypes_SingleFloat = float32(3) |
| 218 |
Default_TestAllTypes_SingleDouble = float64(6.4) |
| 219 |
Default_TestAllTypes_SingleBool = bool(true) |
| 220 |
Default_TestAllTypes_SingleString = string("empty") |
| 221 |
Default_TestAllTypes_SingleNestedEnum = TestAllTypes_BAR |
| 222 |
) |
| 223 |
|
| 224 |
// Default values for TestAllTypes fields. |
| 225 |
var ( |
| 226 |
Default_TestAllTypes_SingleBytes = []byte("none") |
| 227 |
) |
| 228 |
|
| 229 |
func (x *TestAllTypes) Reset() { |
| 230 |
*x = TestAllTypes{} |
| 231 |
if protoimpl.UnsafeEnabled { |
| 232 |
mi := &file_test_proto2pb_test_all_types_proto_msgTypes[0] |
| 233 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 234 |
ms.StoreMessageInfo(mi) |
| 235 |
} |
| 236 |
} |
| 237 |
|
| 238 |
func (x *TestAllTypes) String() string { |
| 239 |
return protoimpl.X.MessageStringOf(x) |
| 240 |
} |
| 241 |
|
| 242 |
func (*TestAllTypes) ProtoMessage() {} |
| 243 |
|
| 244 |
func (x *TestAllTypes) ProtoReflect() protoreflect.Message { |
| 245 |
mi := &file_test_proto2pb_test_all_types_proto_msgTypes[0] |
| 246 |
if protoimpl.UnsafeEnabled && x != nil { |
| 247 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 248 |
if ms.LoadMessageInfo() == nil { |
| 249 |
ms.StoreMessageInfo(mi) |
| 250 |
} |
| 251 |
return ms |
| 252 |
} |
| 253 |
return mi.MessageOf(x) |
| 254 |
} |
| 255 |
|
| 256 |
// Deprecated: Use TestAllTypes.ProtoReflect.Descriptor instead. |
| 257 |
func (*TestAllTypes) Descriptor() ([]byte, []int) { |
| 258 |
return file_test_proto2pb_test_all_types_proto_rawDescGZIP(), []int{0} |
| 259 |
} |
| 260 |
|
| 261 |
func (x *TestAllTypes) GetSingleInt32() int32 { |
| 262 |
if x != nil && x.SingleInt32 != nil { |
| 263 |
return *x.SingleInt32 |
| 264 |
} |
| 265 |
return Default_TestAllTypes_SingleInt32 |
| 266 |
} |
| 267 |
|
| 268 |
func (x *TestAllTypes) GetSingleInt64() int64 { |
| 269 |
if x != nil && x.SingleInt64 != nil { |
| 270 |
return *x.SingleInt64 |
| 271 |
} |
| 272 |
return Default_TestAllTypes_SingleInt64 |
| 273 |
} |
| 274 |
|
| 275 |
func (x *TestAllTypes) GetSingleUint32() uint32 { |
| 276 |
if x != nil && x.SingleUint32 != nil { |
| 277 |
return *x.SingleUint32 |
| 278 |
} |
| 279 |
return Default_TestAllTypes_SingleUint32 |
| 280 |
} |
| 281 |
|
| 282 |
func (x *TestAllTypes) GetSingleUint64() uint64 { |
| 283 |
if x != nil && x.SingleUint64 != nil { |
| 284 |
return *x.SingleUint64 |
| 285 |
} |
| 286 |
return Default_TestAllTypes_SingleUint64 |
| 287 |
} |
| 288 |
|
| 289 |
func (x *TestAllTypes) GetSingleSint32() int32 { |
| 290 |
if x != nil && x.SingleSint32 != nil { |
| 291 |
return *x.SingleSint32 |
| 292 |
} |
| 293 |
return 0 |
| 294 |
} |
| 295 |
|
| 296 |
func (x *TestAllTypes) GetSingleSint64() int64 { |
| 297 |
if x != nil && x.SingleSint64 != nil { |
| 298 |
return *x.SingleSint64 |
| 299 |
} |
| 300 |
return 0 |
| 301 |
} |
| 302 |
|
| 303 |
func (x *TestAllTypes) GetSingleFixed32() uint32 { |
| 304 |
if x != nil && x.SingleFixed32 != nil { |
| 305 |
return *x.SingleFixed32 |
| 306 |
} |
| 307 |
return 0 |
| 308 |
} |
| 309 |
|
| 310 |
func (x *TestAllTypes) GetSingleFixed64() uint64 { |
| 311 |
if x != nil && x.SingleFixed64 != nil { |
| 312 |
return *x.SingleFixed64 |
| 313 |
} |
| 314 |
return 0 |
| 315 |
} |
| 316 |
|
| 317 |
func (x *TestAllTypes) GetSingleSfixed32() int32 { |
| 318 |
if x != nil && x.SingleSfixed32 != nil { |
| 319 |
return *x.SingleSfixed32 |
| 320 |
} |
| 321 |
return 0 |
| 322 |
} |
| 323 |
|
| 324 |
func (x *TestAllTypes) GetSingleSfixed64() int64 { |
| 325 |
if x != nil && x.SingleSfixed64 != nil { |
| 326 |
return *x.SingleSfixed64 |
| 327 |
} |
| 328 |
return 0 |
| 329 |
} |
| 330 |
|
| 331 |
func (x *TestAllTypes) GetSingleFloat() float32 { |
| 332 |
if x != nil && x.SingleFloat != nil { |
| 333 |
return *x.SingleFloat |
| 334 |
} |
| 335 |
return Default_TestAllTypes_SingleFloat |
| 336 |
} |
| 337 |
|
| 338 |
func (x *TestAllTypes) GetSingleDouble() float64 { |
| 339 |
if x != nil && x.SingleDouble != nil { |
| 340 |
return *x.SingleDouble |
| 341 |
} |
| 342 |
return Default_TestAllTypes_SingleDouble |
| 343 |
} |
| 344 |
|
| 345 |
func (x *TestAllTypes) GetSingleBool() bool { |
| 346 |
if x != nil && x.SingleBool != nil { |
| 347 |
return *x.SingleBool |
| 348 |
} |
| 349 |
return Default_TestAllTypes_SingleBool |
| 350 |
} |
| 351 |
|
| 352 |
func (x *TestAllTypes) GetSingleString() string { |
| 353 |
if x != nil && x.SingleString != nil { |
| 354 |
return *x.SingleString |
| 355 |
} |
| 356 |
return Default_TestAllTypes_SingleString |
| 357 |
} |
| 358 |
|
| 359 |
func (x *TestAllTypes) GetSingleBytes() []byte { |
| 360 |
if x != nil && x.SingleBytes != nil { |
| 361 |
return x.SingleBytes |
| 362 |
} |
| 363 |
return append([]byte(nil), Default_TestAllTypes_SingleBytes...) |
| 364 |
} |
| 365 |
|
| 366 |
func (x *TestAllTypes) GetStandaloneEnum() TestAllTypes_NestedEnum { |
| 367 |
if x != nil && x.StandaloneEnum != nil { |
| 368 |
return *x.StandaloneEnum |
| 369 |
} |
| 370 |
return TestAllTypes_FOO |
| 371 |
} |
| 372 |
|
| 373 |
func (x *TestAllTypes) GetNestedgroup() *TestAllTypes_NestedGroup { |
| 374 |
if x != nil { |
| 375 |
return x.Nestedgroup |
| 376 |
} |
| 377 |
return nil |
| 378 |
} |
| 379 |
|
| 380 |
func (x *TestAllTypes) GetSingleAny() *anypb.Any { |
| 381 |
if x != nil { |
| 382 |
return x.SingleAny |
| 383 |
} |
| 384 |
return nil |
| 385 |
} |
| 386 |
|
| 387 |
func (x *TestAllTypes) GetSingleDuration() *durationpb.Duration { |
| 388 |
if x != nil { |
| 389 |
return x.SingleDuration |
| 390 |
} |
| 391 |
return nil |
| 392 |
} |
| 393 |
|
| 394 |
func (x *TestAllTypes) GetSingleTimestamp() *timestamppb.Timestamp { |
| 395 |
if x != nil { |
| 396 |
return x.SingleTimestamp |
| 397 |
} |
| 398 |
return nil |
| 399 |
} |
| 400 |
|
| 401 |
func (x *TestAllTypes) GetSingleStruct() *structpb.Struct { |
| 402 |
if x != nil { |
| 403 |
return x.SingleStruct |
| 404 |
} |
| 405 |
return nil |
| 406 |
} |
| 407 |
|
| 408 |
func (x *TestAllTypes) GetSingleValue() *structpb.Value { |
| 409 |
if x != nil { |
| 410 |
return x.SingleValue |
| 411 |
} |
| 412 |
return nil |
| 413 |
} |
| 414 |
|
| 415 |
func (x *TestAllTypes) GetSingleInt64Wrapper() *wrapperspb.Int64Value { |
| 416 |
if x != nil { |
| 417 |
return x.SingleInt64Wrapper |
| 418 |
} |
| 419 |
return nil |
| 420 |
} |
| 421 |
|
| 422 |
func (x *TestAllTypes) GetSingleInt32Wrapper() *wrapperspb.Int32Value { |
| 423 |
if x != nil { |
| 424 |
return x.SingleInt32Wrapper |
| 425 |
} |
| 426 |
return nil |
| 427 |
} |
| 428 |
|
| 429 |
func (x *TestAllTypes) GetSingleDoubleWrapper() *wrapperspb.DoubleValue { |
| 430 |
if x != nil { |
| 431 |
return x.SingleDoubleWrapper |
| 432 |
} |
| 433 |
return nil |
| 434 |
} |
| 435 |
|
| 436 |
func (x *TestAllTypes) GetSingleFloatWrapper() *wrapperspb.FloatValue { |
| 437 |
if x != nil { |
| 438 |
return x.SingleFloatWrapper |
| 439 |
} |
| 440 |
return nil |
| 441 |
} |
| 442 |
|
| 443 |
func (x *TestAllTypes) GetSingleUint64Wrapper() *wrapperspb.UInt64Value { |
| 444 |
if x != nil { |
| 445 |
return x.SingleUint64Wrapper |
| 446 |
} |
| 447 |
return nil |
| 448 |
} |
| 449 |
|
| 450 |
func (x *TestAllTypes) GetSingleUint32Wrapper() *wrapperspb.UInt32Value { |
| 451 |
if x != nil { |
| 452 |
return x.SingleUint32Wrapper |
| 453 |
} |
| 454 |
return nil |
| 455 |
} |
| 456 |
|
| 457 |
func (x *TestAllTypes) GetSingleStringWrapper() *wrapperspb.StringValue { |
| 458 |
if x != nil { |
| 459 |
return x.SingleStringWrapper |
| 460 |
} |
| 461 |
return nil |
| 462 |
} |
| 463 |
|
| 464 |
func (x *TestAllTypes) GetSingleBoolWrapper() *wrapperspb.BoolValue { |
| 465 |
if x != nil { |
| 466 |
return x.SingleBoolWrapper |
| 467 |
} |
| 468 |
return nil |
| 469 |
} |
| 470 |
|
| 471 |
func (x *TestAllTypes) GetSingleBytesWrapper() *wrapperspb.BytesValue { |
| 472 |
if x != nil { |
| 473 |
return x.SingleBytesWrapper |
| 474 |
} |
| 475 |
return nil |
| 476 |
} |
| 477 |
|
| 478 |
func (m *TestAllTypes) GetNestedType() isTestAllTypes_NestedType { |
| 479 |
if m != nil { |
| 480 |
return m.NestedType |
| 481 |
} |
| 482 |
return nil |
| 483 |
} |
| 484 |
|
| 485 |
func (x *TestAllTypes) GetSingleNestedMessage() *TestAllTypes_NestedMessage { |
| 486 |
if x, ok := x.GetNestedType().(*TestAllTypes_SingleNestedMessage); ok { |
| 487 |
return x.SingleNestedMessage |
| 488 |
} |
| 489 |
return nil |
| 490 |
} |
| 491 |
|
| 492 |
func (x *TestAllTypes) GetSingleNestedEnum() TestAllTypes_NestedEnum { |
| 493 |
if x, ok := x.GetNestedType().(*TestAllTypes_SingleNestedEnum); ok { |
| 494 |
return x.SingleNestedEnum |
| 495 |
} |
| 496 |
return Default_TestAllTypes_SingleNestedEnum |
| 497 |
} |
| 498 |
|
| 499 |
func (x *TestAllTypes) GetRepeatedInt32() []int32 { |
| 500 |
if x != nil { |
| 501 |
return x.RepeatedInt32 |
| 502 |
} |
| 503 |
return nil |
| 504 |
} |
| 505 |
|
| 506 |
func (x *TestAllTypes) GetRepeatedInt64() []int64 { |
| 507 |
if x != nil { |
| 508 |
return x.RepeatedInt64 |
| 509 |
} |
| 510 |
return nil |
| 511 |
} |
| 512 |
|
| 513 |
func (x *TestAllTypes) GetRepeatedUint32() []uint32 { |
| 514 |
if x != nil { |
| 515 |
return x.RepeatedUint32 |
| 516 |
} |
| 517 |
return nil |
| 518 |
} |
| 519 |
|
| 520 |
func (x *TestAllTypes) GetRepeatedUint64() []uint64 { |
| 521 |
if x != nil { |
| 522 |
return x.RepeatedUint64 |
| 523 |
} |
| 524 |
return nil |
| 525 |
} |
| 526 |
|
| 527 |
func (x *TestAllTypes) GetRepeatedSint32() []int32 { |
| 528 |
if x != nil { |
| 529 |
return x.RepeatedSint32 |
| 530 |
} |
| 531 |
return nil |
| 532 |
} |
| 533 |
|
| 534 |
func (x *TestAllTypes) GetRepeatedSint64() []int64 { |
| 535 |
if x != nil { |
| 536 |
return x.RepeatedSint64 |
| 537 |
} |
| 538 |
return nil |
| 539 |
} |
| 540 |
|
| 541 |
func (x *TestAllTypes) GetRepeatedFixed32() []uint32 { |
| 542 |
if x != nil { |
| 543 |
return x.RepeatedFixed32 |
| 544 |
} |
| 545 |
return nil |
| 546 |
} |
| 547 |
|
| 548 |
func (x *TestAllTypes) GetRepeatedFixed64() []uint64 { |
| 549 |
if x != nil { |
| 550 |
return x.RepeatedFixed64 |
| 551 |
} |
| 552 |
return nil |
| 553 |
} |
| 554 |
|
| 555 |
func (x *TestAllTypes) GetRepeatedSfixed32() []int32 { |
| 556 |
if x != nil { |
| 557 |
return x.RepeatedSfixed32 |
| 558 |
} |
| 559 |
return nil |
| 560 |
} |
| 561 |
|
| 562 |
func (x *TestAllTypes) GetRepeatedSfixed64() []int64 { |
| 563 |
if x != nil { |
| 564 |
return x.RepeatedSfixed64 |
| 565 |
} |
| 566 |
return nil |
| 567 |
} |
| 568 |
|
| 569 |
func (x *TestAllTypes) GetRepeatedFloat() []float32 { |
| 570 |
if x != nil { |
| 571 |
return x.RepeatedFloat |
| 572 |
} |
| 573 |
return nil |
| 574 |
} |
| 575 |
|
| 576 |
func (x *TestAllTypes) GetRepeatedDouble() []float64 { |
| 577 |
if x != nil { |
| 578 |
return x.RepeatedDouble |
| 579 |
} |
| 580 |
return nil |
| 581 |
} |
| 582 |
|
| 583 |
func (x *TestAllTypes) GetRepeatedBool() []bool { |
| 584 |
if x != nil { |
| 585 |
return x.RepeatedBool |
| 586 |
} |
| 587 |
return nil |
| 588 |
} |
| 589 |
|
| 590 |
func (x *TestAllTypes) GetRepeatedString() []string { |
| 591 |
if x != nil { |
| 592 |
return x.RepeatedString |
| 593 |
} |
| 594 |
return nil |
| 595 |
} |
| 596 |
|
| 597 |
func (x *TestAllTypes) GetRepeatedBytes() [][]byte { |
| 598 |
if x != nil { |
| 599 |
return x.RepeatedBytes |
| 600 |
} |
| 601 |
return nil |
| 602 |
} |
| 603 |
|
| 604 |
func (x *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage { |
| 605 |
if x != nil { |
| 606 |
return x.RepeatedNestedMessage |
| 607 |
} |
| 608 |
return nil |
| 609 |
} |
| 610 |
|
| 611 |
func (x *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum { |
| 612 |
if x != nil { |
| 613 |
return x.RepeatedNestedEnum |
| 614 |
} |
| 615 |
return nil |
| 616 |
} |
| 617 |
|
| 618 |
func (x *TestAllTypes) GetRepeatedStringPiece() []string { |
| 619 |
if x != nil { |
| 620 |
return x.RepeatedStringPiece |
| 621 |
} |
| 622 |
return nil |
| 623 |
} |
| 624 |
|
| 625 |
func (x *TestAllTypes) GetRepeatedCord() []string { |
| 626 |
if x != nil { |
| 627 |
return x.RepeatedCord |
| 628 |
} |
| 629 |
return nil |
| 630 |
} |
| 631 |
|
| 632 |
func (x *TestAllTypes) GetRepeatedLazyMessage() []*TestAllTypes_NestedMessage { |
| 633 |
if x != nil { |
| 634 |
return x.RepeatedLazyMessage |
| 635 |
} |
| 636 |
return nil |
| 637 |
} |
| 638 |
|
| 639 |
func (x *TestAllTypes) GetMapStringString() map[string]string { |
| 640 |
if x != nil { |
| 641 |
return x.MapStringString |
| 642 |
} |
| 643 |
return nil |
| 644 |
} |
| 645 |
|
| 646 |
func (x *TestAllTypes) GetMapInt64NestedType() map[int64]*NestedTestAllTypes { |
| 647 |
if x != nil { |
| 648 |
return x.MapInt64NestedType |
| 649 |
} |
| 650 |
return nil |
| 651 |
} |
| 652 |
|
| 653 |
type isTestAllTypes_NestedType interface { |
| 654 |
isTestAllTypes_NestedType() |
| 655 |
} |
| 656 |
|
| 657 |
type TestAllTypes_SingleNestedMessage struct { |
| 658 |
SingleNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,18,opt,name=single_nested_message,json=singleNestedMessage,oneof"` |
| 659 |
} |
| 660 |
|
| 661 |
type TestAllTypes_SingleNestedEnum struct { |
| 662 |
SingleNestedEnum TestAllTypes_NestedEnum `protobuf:"varint,21,opt,name=single_nested_enum,json=singleNestedEnum,enum=google.expr.proto2.test.TestAllTypes_NestedEnum,oneof,def=1"` |
| 663 |
} |
| 664 |
|
| 665 |
func (*TestAllTypes_SingleNestedMessage) isTestAllTypes_NestedType() {} |
| 666 |
|
| 667 |
func (*TestAllTypes_SingleNestedEnum) isTestAllTypes_NestedType() {} |
| 668 |
|
| 669 |
type NestedTestAllTypes struct { |
| 670 |
state protoimpl.MessageState |
| 671 |
sizeCache protoimpl.SizeCache |
| 672 |
unknownFields protoimpl.UnknownFields |
| 673 |
|
| 674 |
Child *NestedTestAllTypes `protobuf:"bytes,1,opt,name=child" json:"child,omitempty"` |
| 675 |
Payload *TestAllTypes `protobuf:"bytes,2,opt,name=payload" json:"payload,omitempty"` |
| 676 |
} |
| 677 |
|
| 678 |
func (x *NestedTestAllTypes) Reset() { |
| 679 |
*x = NestedTestAllTypes{} |
| 680 |
if protoimpl.UnsafeEnabled { |
| 681 |
mi := &file_test_proto2pb_test_all_types_proto_msgTypes[1] |
| 682 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 683 |
ms.StoreMessageInfo(mi) |
| 684 |
} |
| 685 |
} |
| 686 |
|
| 687 |
func (x *NestedTestAllTypes) String() string { |
| 688 |
return protoimpl.X.MessageStringOf(x) |
| 689 |
} |
| 690 |
|
| 691 |
func (*NestedTestAllTypes) ProtoMessage() {} |
| 692 |
|
| 693 |
func (x *NestedTestAllTypes) ProtoReflect() protoreflect.Message { |
| 694 |
mi := &file_test_proto2pb_test_all_types_proto_msgTypes[1] |
| 695 |
if protoimpl.UnsafeEnabled && x != nil { |
| 696 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 697 |
if ms.LoadMessageInfo() == nil { |
| 698 |
ms.StoreMessageInfo(mi) |
| 699 |
} |
| 700 |
return ms |
| 701 |
} |
| 702 |
return mi.MessageOf(x) |
| 703 |
} |
| 704 |
|
| 705 |
// Deprecated: Use NestedTestAllTypes.ProtoReflect.Descriptor instead. |
| 706 |
func (*NestedTestAllTypes) Descriptor() ([]byte, []int) { |
| 707 |
return file_test_proto2pb_test_all_types_proto_rawDescGZIP(), []int{1} |
| 708 |
} |
| 709 |
|
| 710 |
func (x *NestedTestAllTypes) GetChild() *NestedTestAllTypes { |
| 711 |
if x != nil { |
| 712 |
return x.Child |
| 713 |
} |
| 714 |
return nil |
| 715 |
} |
| 716 |
|
| 717 |
func (x *NestedTestAllTypes) GetPayload() *TestAllTypes { |
| 718 |
if x != nil { |
| 719 |
return x.Payload |
| 720 |
} |
| 721 |
return nil |
| 722 |
} |
| 723 |
|
| 724 |
type ExampleType struct { |
| 725 |
state protoimpl.MessageState |
| 726 |
sizeCache protoimpl.SizeCache |
| 727 |
unknownFields protoimpl.UnknownFields |
| 728 |
extensionFields protoimpl.ExtensionFields |
| 729 |
|
| 730 |
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| 731 |
In *int64 `protobuf:"varint,2,opt,name=in" json:"in,omitempty"` |
| 732 |
} |
| 733 |
|
| 734 |
func (x *ExampleType) Reset() { |
| 735 |
*x = ExampleType{} |
| 736 |
if protoimpl.UnsafeEnabled { |
| 737 |
mi := &file_test_proto2pb_test_all_types_proto_msgTypes[2] |
| 738 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 739 |
ms.StoreMessageInfo(mi) |
| 740 |
} |
| 741 |
} |
| 742 |
|
| 743 |
func (x *ExampleType) String() string { |
| 744 |
return protoimpl.X.MessageStringOf(x) |
| 745 |
} |
| 746 |
|
| 747 |
func (*ExampleType) ProtoMessage() {} |
| 748 |
|
| 749 |
func (x *ExampleType) ProtoReflect() protoreflect.Message { |
| 750 |
mi := &file_test_proto2pb_test_all_types_proto_msgTypes[2] |
| 751 |
if protoimpl.UnsafeEnabled && x != nil { |
| 752 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 753 |
if ms.LoadMessageInfo() == nil { |
| 754 |
ms.StoreMessageInfo(mi) |
| 755 |
} |
| 756 |
return ms |
| 757 |
} |
| 758 |
return mi.MessageOf(x) |
| 759 |
} |
| 760 |
|
| 761 |
// Deprecated: Use ExampleType.ProtoReflect.Descriptor instead. |
| 762 |
func (*ExampleType) Descriptor() ([]byte, []int) { |
| 763 |
return file_test_proto2pb_test_all_types_proto_rawDescGZIP(), []int{2} |
| 764 |
} |
| 765 |
|
| 766 |
func (x *ExampleType) GetName() string { |
| 767 |
if x != nil && x.Name != nil { |
| 768 |
return *x.Name |
| 769 |
} |
| 770 |
return "" |
| 771 |
} |
| 772 |
|
| 773 |
func (x *ExampleType) GetIn() int64 { |
| 774 |
if x != nil && x.In != nil { |
| 775 |
return *x.In |
| 776 |
} |
| 777 |
return 0 |
| 778 |
} |
| 779 |
|
| 780 |
type ExtendedExampleType struct { |
| 781 |
state protoimpl.MessageState |
| 782 |
sizeCache protoimpl.SizeCache |
| 783 |
unknownFields protoimpl.UnknownFields |
| 784 |
} |
| 785 |
|
| 786 |
func (x *ExtendedExampleType) Reset() { |
| 787 |
*x = ExtendedExampleType{} |
| 788 |
if protoimpl.UnsafeEnabled { |
| 789 |
mi := &file_test_proto2pb_test_all_types_proto_msgTypes[3] |
| 790 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 791 |
ms.StoreMessageInfo(mi) |
| 792 |
} |
| 793 |
} |
| 794 |
|
| 795 |
func (x *ExtendedExampleType) String() string { |
| 796 |
return protoimpl.X.MessageStringOf(x) |
| 797 |
} |
| 798 |
|
| 799 |
func (*ExtendedExampleType) ProtoMessage() {} |
| 800 |
|
| 801 |
func (x *ExtendedExampleType) ProtoReflect() protoreflect.Message { |
| 802 |
mi := &file_test_proto2pb_test_all_types_proto_msgTypes[3] |
| 803 |
if protoimpl.UnsafeEnabled && x != nil { |
| 804 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 805 |
if ms.LoadMessageInfo() == nil { |
| 806 |
ms.StoreMessageInfo(mi) |
| 807 |
} |
| 808 |
return ms |
| 809 |
} |
| 810 |
return mi.MessageOf(x) |
| 811 |
} |
| 812 |
|
| 813 |
// Deprecated: Use ExtendedExampleType.ProtoReflect.Descriptor instead. |
| 814 |
func (*ExtendedExampleType) Descriptor() ([]byte, []int) { |
| 815 |
return file_test_proto2pb_test_all_types_proto_rawDescGZIP(), []int{3} |
| 816 |
} |
| 817 |
|
| 818 |
type TestAllTypes_NestedMessage struct { |
| 819 |
state protoimpl.MessageState |
| 820 |
sizeCache protoimpl.SizeCache |
| 821 |
unknownFields protoimpl.UnknownFields |
| 822 |
|
| 823 |
Bb *int32 `protobuf:"varint,1,opt,name=bb" json:"bb,omitempty"` |
| 824 |
} |
| 825 |
|
| 826 |
func (x *TestAllTypes_NestedMessage) Reset() { |
| 827 |
*x = TestAllTypes_NestedMessage{} |
| 828 |
if protoimpl.UnsafeEnabled { |
| 829 |
mi := &file_test_proto2pb_test_all_types_proto_msgTypes[4] |
| 830 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 831 |
ms.StoreMessageInfo(mi) |
| 832 |
} |
| 833 |
} |
| 834 |
|
| 835 |
func (x *TestAllTypes_NestedMessage) String() string { |
| 836 |
return protoimpl.X.MessageStringOf(x) |
| 837 |
} |
| 838 |
|
| 839 |
func (*TestAllTypes_NestedMessage) ProtoMessage() {} |
| 840 |
|
| 841 |
func (x *TestAllTypes_NestedMessage) ProtoReflect() protoreflect.Message { |
| 842 |
mi := &file_test_proto2pb_test_all_types_proto_msgTypes[4] |
| 843 |
if protoimpl.UnsafeEnabled && x != nil { |
| 844 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 845 |
if ms.LoadMessageInfo() == nil { |
| 846 |
ms.StoreMessageInfo(mi) |
| 847 |
} |
| 848 |
return ms |
| 849 |
} |
| 850 |
return mi.MessageOf(x) |
| 851 |
} |
| 852 |
|
| 853 |
// Deprecated: Use TestAllTypes_NestedMessage.ProtoReflect.Descriptor instead. |
| 854 |
func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int) { |
| 855 |
return file_test_proto2pb_test_all_types_proto_rawDescGZIP(), []int{0, 0} |
| 856 |
} |
| 857 |
|
| 858 |
func (x *TestAllTypes_NestedMessage) GetBb() int32 { |
| 859 |
if x != nil && x.Bb != nil { |
| 860 |
return *x.Bb |
| 861 |
} |
| 862 |
return 0 |
| 863 |
} |
| 864 |
|
| 865 |
type TestAllTypes_NestedGroup struct { |
| 866 |
state protoimpl.MessageState |
| 867 |
sizeCache protoimpl.SizeCache |
| 868 |
unknownFields protoimpl.UnknownFields |
| 869 |
|
| 870 |
NestedId *int32 `protobuf:"varint,24,opt,name=nested_id,json=nestedId" json:"nested_id,omitempty"` |
| 871 |
NestedName *string `protobuf:"bytes,25,opt,name=nested_name,json=nestedName" json:"nested_name,omitempty"` |
| 872 |
} |
| 873 |
|
| 874 |
func (x *TestAllTypes_NestedGroup) Reset() { |
| 875 |
*x = TestAllTypes_NestedGroup{} |
| 876 |
if protoimpl.UnsafeEnabled { |
| 877 |
mi := &file_test_proto2pb_test_all_types_proto_msgTypes[5] |
| 878 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 879 |
ms.StoreMessageInfo(mi) |
| 880 |
} |
| 881 |
} |
| 882 |
|
| 883 |
func (x *TestAllTypes_NestedGroup) String() string { |
| 884 |
return protoimpl.X.MessageStringOf(x) |
| 885 |
} |
| 886 |
|
| 887 |
func (*TestAllTypes_NestedGroup) ProtoMessage() {} |
| 888 |
|
| 889 |
func (x *TestAllTypes_NestedGroup) ProtoReflect() protoreflect.Message { |
| 890 |
mi := &file_test_proto2pb_test_all_types_proto_msgTypes[5] |
| 891 |
if protoimpl.UnsafeEnabled && x != nil { |
| 892 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 893 |
if ms.LoadMessageInfo() == nil { |
| 894 |
ms.StoreMessageInfo(mi) |
| 895 |
} |
| 896 |
return ms |
| 897 |
} |
| 898 |
return mi.MessageOf(x) |
| 899 |
} |
| 900 |
|
| 901 |
// Deprecated: Use TestAllTypes_NestedGroup.ProtoReflect.Descriptor instead. |
| 902 |
func (*TestAllTypes_NestedGroup) Descriptor() ([]byte, []int) { |
| 903 |
return file_test_proto2pb_test_all_types_proto_rawDescGZIP(), []int{0, 1} |
| 904 |
} |
| 905 |
|
| 906 |
func (x *TestAllTypes_NestedGroup) GetNestedId() int32 { |
| 907 |
if x != nil && x.NestedId != nil { |
| 908 |
return *x.NestedId |
| 909 |
} |
| 910 |
return 0 |
| 911 |
} |
| 912 |
|
| 913 |
func (x *TestAllTypes_NestedGroup) GetNestedName() string { |
| 914 |
if x != nil && x.NestedName != nil { |
| 915 |
return *x.NestedName |
| 916 |
} |
| 917 |
return "" |
| 918 |
} |
| 919 |
|
| 920 |
var file_test_proto2pb_test_all_types_proto_extTypes = []protoimpl.ExtensionInfo{ |
| 921 |
{ |
| 922 |
ExtendedType: (*ExampleType)(nil), |
| 923 |
ExtensionType: ([]string)(nil), |
| 924 |
Field: 103, |
| 925 |
Name: "google.expr.proto2.test.ExtendedExampleType.extended_examples", |
| 926 |
Tag: "bytes,103,rep,name=extended_examples", |
| 927 |
Filename: "test/proto2pb/test_all_types.proto", |
| 928 |
}, |
| 929 |
{ |
| 930 |
ExtendedType: (*ExampleType)(nil), |
| 931 |
ExtensionType: (*GlobalEnum)(nil), |
| 932 |
Field: 104, |
| 933 |
Name: "google.expr.proto2.test.ExtendedExampleType.enum_ext", |
| 934 |
Tag: "varint,104,opt,name=enum_ext,enum=google.expr.proto2.test.GlobalEnum", |
| 935 |
Filename: "test/proto2pb/test_all_types.proto", |
| 936 |
}, |
| 937 |
} |
| 938 |
|
| 939 |
// Extension fields to ExampleType. |
| 940 |
var ( |
| 941 |
// repeated string extended_examples = 103; |
| 942 |
E_ExtendedExampleType_ExtendedExamples = &file_test_proto2pb_test_all_types_proto_extTypes[0] |
| 943 |
// optional google.expr.proto2.test.GlobalEnum enum_ext = 104; |
| 944 |
E_ExtendedExampleType_EnumExt = &file_test_proto2pb_test_all_types_proto_extTypes[1] |
| 945 |
) |
| 946 |
|
| 947 |
var File_test_proto2pb_test_all_types_proto protoreflect.FileDescriptor |
| 948 |
|
| 949 |
var file_test_proto2pb_test_all_types_proto_rawDesc = []byte{ |
| 950 |
0x0a, 0x22, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x70, 0x62, 0x2f, |
| 951 |
0x74, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, |
| 952 |
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x65, 0x78, 0x70, |
| 953 |
0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x67, |
| 954 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, |
| 955 |
0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 956 |
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, |
| 957 |
0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 958 |
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, |
| 959 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, |
| 960 |
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, |
| 961 |
0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 962 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, |
| 963 |
0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xab, 0x1c, 0x0a, 0x0c, 0x54, 0x65, 0x73, 0x74, |
| 964 |
0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0c, 0x73, 0x69, 0x6e, 0x67, |
| 965 |
0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x3a, 0x03, |
| 966 |
0x2d, 0x33, 0x32, 0x52, 0x0b, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x33, 0x32, |
| 967 |
0x12, 0x26, 0x0a, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, |
| 968 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x3a, 0x03, 0x2d, 0x36, 0x34, 0x52, 0x0b, 0x73, 0x69, 0x6e, |
| 969 |
0x67, 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x27, 0x0a, 0x0d, 0x73, 0x69, 0x6e, 0x67, |
| 970 |
0x6c, 0x65, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x3a, |
| 971 |
0x02, 0x33, 0x32, 0x52, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x55, 0x69, 0x6e, 0x74, 0x33, |
| 972 |
0x32, 0x12, 0x27, 0x0a, 0x0d, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x75, 0x69, 0x6e, 0x74, |
| 973 |
0x36, 0x34, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x02, 0x36, 0x34, 0x52, 0x0c, 0x73, 0x69, |
| 974 |
0x6e, 0x67, 0x6c, 0x65, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x69, |
| 975 |
0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x05, 0x20, 0x01, 0x28, |
| 976 |
0x11, 0x52, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, |
| 977 |
0x23, 0x0a, 0x0d, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, |
| 978 |
0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x53, 0x69, |
| 979 |
0x6e, 0x74, 0x36, 0x34, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x66, |
| 980 |
0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x07, 0x20, 0x01, 0x28, 0x07, 0x52, 0x0d, 0x73, 0x69, |
| 981 |
0x6e, 0x67, 0x6c, 0x65, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x25, 0x0a, 0x0e, 0x73, |
| 982 |
0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x08, 0x20, |
| 983 |
0x01, 0x28, 0x06, 0x52, 0x0d, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x46, 0x69, 0x78, 0x65, 0x64, |
| 984 |
0x36, 0x34, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x73, 0x66, 0x69, |
| 985 |
0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x0e, 0x73, 0x69, 0x6e, |
| 986 |
0x67, 0x6c, 0x65, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x27, 0x0a, 0x0f, 0x73, |
| 987 |
0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x0a, |
| 988 |
0x20, 0x01, 0x28, 0x10, 0x52, 0x0e, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x53, 0x66, 0x69, 0x78, |
| 989 |
0x65, 0x64, 0x36, 0x34, 0x12, 0x24, 0x0a, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x66, |
| 990 |
0x6c, 0x6f, 0x61, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x02, 0x3a, 0x01, 0x33, 0x52, 0x0b, 0x73, |
| 991 |
0x69, 0x6e, 0x67, 0x6c, 0x65, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x69, |
| 992 |
0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, |
| 993 |
0x01, 0x3a, 0x03, 0x36, 0x2e, 0x34, 0x52, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x44, 0x6f, |
| 994 |
0x75, 0x62, 0x6c, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x62, |
| 995 |
0x6f, 0x6f, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x04, 0x74, 0x72, 0x75, 0x65, 0x52, |
| 996 |
0x0a, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x2a, 0x0a, 0x0d, 0x73, |
| 997 |
0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0e, 0x20, 0x01, |
| 998 |
0x28, 0x09, 0x3a, 0x05, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x6c, |
| 999 |
0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x6c, |
| 1000 |
0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x3a, 0x04, 0x6e, |
| 1001 |
0x6f, 0x6e, 0x65, 0x52, 0x0b, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, |
| 1002 |
0x12, 0x59, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x6c, 0x6f, 0x6e, 0x65, 0x5f, 0x65, |
| 1003 |
0x6e, 0x75, 0x6d, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 1004 |
0x6c, 0x65, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x74, |
| 1005 |
0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, |
| 1006 |
0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0e, 0x73, 0x74, 0x61, |
| 1007 |
0x6e, 0x64, 0x61, 0x6c, 0x6f, 0x6e, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x53, 0x0a, 0x0b, 0x6e, |
| 1008 |
0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0a, |
| 1009 |
0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x70, |
| 1010 |
0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, |
| 1011 |
0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, |
| 1012 |
0x6f, 0x75, 0x70, 0x52, 0x0b, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, |
| 1013 |
0x12, 0x33, 0x0a, 0x0a, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x61, 0x6e, 0x79, 0x18, 0x64, |
| 1014 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, |
| 1015 |
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x09, 0x73, 0x69, 0x6e, 0x67, |
| 1016 |
0x6c, 0x65, 0x41, 0x6e, 0x79, 0x12, 0x42, 0x0a, 0x0f, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, |
| 1017 |
0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x65, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, |
| 1018 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 1019 |
0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x73, 0x69, 0x6e, 0x67, 0x6c, |
| 1020 |
0x65, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x10, 0x73, 0x69, 0x6e, |
| 1021 |
0x67, 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x66, 0x20, |
| 1022 |
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 1023 |
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, |
| 1024 |
0x0f, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, |
| 1025 |
0x12, 0x3c, 0x0a, 0x0d, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, |
| 1026 |
0x74, 0x18, 0x67, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1027 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, |
| 1028 |
0x52, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x39, |
| 1029 |
0x0a, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x68, |
| 1030 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, |
| 1031 |
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x73, 0x69, |
| 1032 |
0x6e, 0x67, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4d, 0x0a, 0x14, 0x73, 0x69, 0x6e, |
| 1033 |
0x67, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, |
| 1034 |
0x72, 0x18, 0x69, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1035 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, |
| 1036 |
0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x36, |
| 1037 |
0x34, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x4d, 0x0a, 0x14, 0x73, 0x69, 0x6e, 0x67, |
| 1038 |
0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, |
| 1039 |
0x18, 0x6a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1040 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, |
| 1041 |
0x6c, 0x75, 0x65, 0x52, 0x12, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x49, 0x6e, 0x74, 0x33, 0x32, |
| 1042 |
0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x50, 0x0a, 0x15, 0x73, 0x69, 0x6e, 0x67, 0x6c, |
| 1043 |
0x65, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, |
| 1044 |
0x18, 0x6b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1045 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, |
| 1046 |
0x61, 0x6c, 0x75, 0x65, 0x52, 0x13, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x44, 0x6f, 0x75, 0x62, |
| 1047 |
0x6c, 0x65, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x4d, 0x0a, 0x14, 0x73, 0x69, 0x6e, |
| 1048 |
0x67, 0x6c, 0x65, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, |
| 1049 |
0x72, 0x18, 0x6c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1050 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, |
| 1051 |
0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x46, 0x6c, 0x6f, 0x61, |
| 1052 |
0x74, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x50, 0x0a, 0x15, 0x73, 0x69, 0x6e, 0x67, |
| 1053 |
0x6c, 0x65, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, |
| 1054 |
0x72, 0x18, 0x6d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1055 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, |
| 1056 |
0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x13, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x55, 0x69, 0x6e, |
| 1057 |
0x74, 0x36, 0x34, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x50, 0x0a, 0x15, 0x73, 0x69, |
| 1058 |
0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x77, 0x72, 0x61, 0x70, |
| 1059 |
0x70, 0x65, 0x72, 0x18, 0x6e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 1060 |
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, |
| 1061 |
0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x13, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x55, |
| 1062 |
0x69, 0x6e, 0x74, 0x33, 0x32, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x50, 0x0a, 0x15, |
| 1063 |
0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x72, |
| 1064 |
0x61, 0x70, 0x70, 0x65, 0x72, 0x18, 0x6f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, |
| 1065 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, |
| 1066 |
0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x13, 0x73, 0x69, 0x6e, 0x67, 0x6c, |
| 1067 |
0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x4a, |
| 1068 |
0x0a, 0x13, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x77, 0x72, |
| 1069 |
0x61, 0x70, 0x70, 0x65, 0x72, 0x18, 0x70, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, |
| 1070 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, |
| 1071 |
0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x42, |
| 1072 |
0x6f, 0x6f, 0x6c, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x4d, 0x0a, 0x14, 0x73, 0x69, |
| 1073 |
0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, |
| 1074 |
0x65, 0x72, 0x18, 0x71, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1075 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, |
| 1076 |
0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x42, 0x79, 0x74, |
| 1077 |
0x65, 0x73, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x69, 0x0a, 0x15, 0x73, 0x69, 0x6e, |
| 1078 |
0x67, 0x6c, 0x65, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, |
| 1079 |
0x67, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1080 |
0x65, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x74, 0x65, |
| 1081 |
0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, |
| 1082 |
0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, |
| 1083 |
0x13, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, |
| 1084 |
0x73, 0x61, 0x67, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x6e, |
| 1085 |
0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0e, |
| 1086 |
0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x70, |
| 1087 |
0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, |
| 1088 |
0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, |
| 1089 |
0x75, 0x6d, 0x3a, 0x03, 0x42, 0x41, 0x52, 0x48, 0x00, 0x52, 0x10, 0x73, 0x69, 0x6e, 0x67, 0x6c, |
| 1090 |
0x65, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x25, 0x0a, 0x0e, 0x72, |
| 1091 |
0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x1f, 0x20, |
| 1092 |
0x03, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6e, 0x74, |
| 1093 |
0x33, 0x32, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, |
| 1094 |
0x6e, 0x74, 0x36, 0x34, 0x18, 0x20, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, |
| 1095 |
0x61, 0x74, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, |
| 1096 |
0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x21, 0x20, 0x03, |
| 1097 |
0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x55, 0x69, 0x6e, 0x74, |
| 1098 |
0x33, 0x32, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x75, |
| 1099 |
0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x22, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0e, 0x72, 0x65, 0x70, |
| 1100 |
0x65, 0x61, 0x74, 0x65, 0x64, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x27, 0x0a, 0x0f, 0x72, |
| 1101 |
0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x23, |
| 1102 |
0x20, 0x03, 0x28, 0x11, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x69, |
| 1103 |
0x6e, 0x74, 0x33, 0x32, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, |
| 1104 |
0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x24, 0x20, 0x03, 0x28, 0x12, 0x52, 0x0e, 0x72, |
| 1105 |
0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x29, 0x0a, |
| 1106 |
0x10, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, |
| 1107 |
0x32, 0x18, 0x25, 0x20, 0x03, 0x28, 0x07, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, |
| 1108 |
0x64, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x65, |
| 1109 |
0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x26, 0x20, 0x03, |
| 1110 |
0x28, 0x06, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x78, 0x65, |
| 1111 |
0x64, 0x36, 0x34, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, |
| 1112 |
0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x27, 0x20, 0x03, 0x28, 0x0f, 0x52, 0x10, |
| 1113 |
0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, |
| 1114 |
0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x66, 0x69, |
| 1115 |
0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x28, 0x20, 0x03, 0x28, 0x10, 0x52, 0x10, 0x72, 0x65, 0x70, |
| 1116 |
0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x25, 0x0a, |
| 1117 |
0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, |
| 1118 |
0x29, 0x20, 0x03, 0x28, 0x02, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, |
| 1119 |
0x6c, 0x6f, 0x61, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, |
| 1120 |
0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x2a, 0x20, 0x03, 0x28, 0x01, 0x52, 0x0e, 0x72, |
| 1121 |
0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x23, 0x0a, |
| 1122 |
0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x2b, |
| 1123 |
0x20, 0x03, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x6f, |
| 1124 |
0x6f, 0x6c, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, |
| 1125 |
0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x2c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, |
| 1126 |
0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x25, 0x0a, 0x0e, 0x72, |
| 1127 |
0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x2d, 0x20, |
| 1128 |
0x03, 0x28, 0x0c, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x74, |
| 1129 |
0x65, 0x73, 0x12, 0x6b, 0x0a, 0x17, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6e, |
| 1130 |
0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x30, 0x20, |
| 1131 |
0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x65, 0x78, 0x70, |
| 1132 |
0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, |
| 1133 |
0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, |
| 1134 |
0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x15, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, |
| 1135 |
0x65, 0x64, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, |
| 1136 |
0x62, 0x0a, 0x14, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x65, 0x73, 0x74, |
| 1137 |
0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x33, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x30, 0x2e, |
| 1138 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 1139 |
0x6f, 0x32, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, |
| 1140 |
0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, |
| 1141 |
0x12, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, |
| 1142 |
0x6e, 0x75, 0x6d, 0x12, 0x36, 0x0a, 0x15, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, |
| 1143 |
0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x69, 0x65, 0x63, 0x65, 0x18, 0x36, 0x20, 0x03, |
| 1144 |
0x28, 0x09, 0x42, 0x02, 0x08, 0x02, 0x52, 0x13, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, |
| 1145 |
0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x50, 0x69, 0x65, 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0d, 0x72, |
| 1146 |
0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x37, 0x20, 0x03, |
| 1147 |
0x28, 0x09, 0x42, 0x02, 0x08, 0x01, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, |
| 1148 |
0x43, 0x6f, 0x72, 0x64, 0x12, 0x67, 0x0a, 0x15, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, |
| 1149 |
0x5f, 0x6c, 0x61, 0x7a, 0x79, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x39, 0x20, |
| 1150 |
0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x65, 0x78, 0x70, |
| 1151 |
0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, |
| 1152 |
0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, |
| 1153 |
0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x13, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, |
| 1154 |
0x65, 0x64, 0x4c, 0x61, 0x7a, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x66, 0x0a, |
| 1155 |
0x11, 0x6d, 0x61, 0x70, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x72, 0x69, |
| 1156 |
0x6e, 0x67, 0x18, 0x3a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1157 |
0x65, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x74, 0x65, |
| 1158 |
0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, |
| 1159 |
0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x45, |
| 1160 |
0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x6d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x53, |
| 1161 |
0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x70, 0x0a, 0x15, 0x6d, 0x61, 0x70, 0x5f, 0x69, 0x6e, 0x74, |
| 1162 |
0x36, 0x34, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x3b, |
| 1163 |
0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x65, 0x78, |
| 1164 |
0x70, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, |
| 1165 |
0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x49, |
| 1166 |
0x6e, 0x74, 0x36, 0x34, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, |
| 1167 |
0x74, 0x72, 0x79, 0x52, 0x12, 0x6d, 0x61, 0x70, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x4e, 0x65, 0x73, |
| 1168 |
0x74, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x1f, 0x0a, 0x0d, 0x4e, 0x65, 0x73, 0x74, 0x65, |
| 1169 |
0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x62, 0x62, 0x18, 0x01, |
| 1170 |
0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x62, 0x62, 0x1a, 0x4b, 0x0a, 0x0b, 0x4e, 0x65, 0x73, 0x74, |
| 1171 |
0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x73, 0x74, 0x65, |
| 1172 |
0x64, 0x5f, 0x69, 0x64, 0x18, 0x18, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6e, 0x65, 0x73, 0x74, |
| 1173 |
0x65, 0x64, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6e, |
| 1174 |
0x61, 0x6d, 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x65, 0x73, 0x74, 0x65, |
| 1175 |
0x64, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x42, 0x0a, 0x14, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, |
| 1176 |
0x6e, 0x67, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, |
| 1177 |
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, |
| 1178 |
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, |
| 1179 |
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x72, 0x0a, 0x17, 0x4d, 0x61, 0x70, |
| 1180 |
0x49, 0x6e, 0x74, 0x36, 0x34, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x45, |
| 1181 |
0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 1182 |
0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x41, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, |
| 1183 |
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x65, |
| 1184 |
0x78, 0x70, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, |
| 1185 |
0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, |
| 1186 |
0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x27, 0x0a, |
| 1187 |
0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x46, |
| 1188 |
0x4f, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x42, 0x41, 0x52, 0x10, 0x01, 0x12, 0x07, 0x0a, |
| 1189 |
0x03, 0x42, 0x41, 0x5a, 0x10, 0x02, 0x42, 0x0d, 0x0a, 0x0b, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, |
| 1190 |
0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x98, 0x01, 0x0a, 0x12, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, |
| 1191 |
0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x41, 0x0a, 0x05, |
| 1192 |
0x63, 0x68, 0x69, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, |
| 1193 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, |
| 1194 |
0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x54, 0x65, 0x73, 0x74, |
| 1195 |
0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x05, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x12, |
| 1196 |
0x3f, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, |
| 1197 |
0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x70, |
| 1198 |
0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, |
| 1199 |
0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, |
| 1200 |
0x22, 0x3b, 0x0a, 0x0b, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, |
| 1201 |
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, |
| 1202 |
0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, |
| 1203 |
0x02, 0x69, 0x6e, 0x2a, 0x08, 0x08, 0x64, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0xce, 0x01, |
| 1204 |
0x0a, 0x13, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, |
| 1205 |
0x65, 0x54, 0x79, 0x70, 0x65, 0x32, 0x51, 0x0a, 0x11, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, |
| 1206 |
0x64, 0x5f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x6f, |
| 1207 |
0x67, 0x6c, 0x65, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, |
| 1208 |
0x74, 0x65, 0x73, 0x74, 0x2e, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, |
| 1209 |
0x18, 0x67, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, |
| 1210 |
0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x32, 0x64, 0x0a, 0x08, 0x65, 0x6e, 0x75, 0x6d, |
| 1211 |
0x5f, 0x65, 0x78, 0x74, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x65, 0x78, |
| 1212 |
0x70, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x45, |
| 1213 |
0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x68, 0x20, 0x01, 0x28, 0x0e, |
| 1214 |
0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x70, |
| 1215 |
0x72, 0x6f, 0x74, 0x6f, 0x32, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, |
| 1216 |
0x6c, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x65, 0x6e, 0x75, 0x6d, 0x45, 0x78, 0x74, 0x2a, 0x27, |
| 1217 |
0x0a, 0x0a, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a, 0x03, |
| 1218 |
0x47, 0x4f, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x41, 0x52, 0x10, 0x01, 0x12, 0x07, |
| 1219 |
0x0a, 0x03, 0x47, 0x41, 0x5a, 0x10, 0x02, 0x42, 0x28, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, |
| 1220 |
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x65, 0x6c, |
| 1221 |
0x2d, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x70, |
| 1222 |
0x62, |
| 1223 |
} |
| 1224 |
|
| 1225 |
var ( |
| 1226 |
file_test_proto2pb_test_all_types_proto_rawDescOnce sync.Once |
| 1227 |
file_test_proto2pb_test_all_types_proto_rawDescData = file_test_proto2pb_test_all_types_proto_rawDesc |
| 1228 |
) |
| 1229 |
|
| 1230 |
func file_test_proto2pb_test_all_types_proto_rawDescGZIP() []byte { |
| 1231 |
file_test_proto2pb_test_all_types_proto_rawDescOnce.Do(func() { |
| 1232 |
file_test_proto2pb_test_all_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_proto2pb_test_all_types_proto_rawDescData) |
| 1233 |
}) |
| 1234 |
return file_test_proto2pb_test_all_types_proto_rawDescData |
| 1235 |
} |
| 1236 |
|
| 1237 |
var file_test_proto2pb_test_all_types_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| 1238 |
var file_test_proto2pb_test_all_types_proto_msgTypes = make([]protoimpl.MessageInfo, 8) |
| 1239 |
var file_test_proto2pb_test_all_types_proto_goTypes = []interface{}{ |
| 1240 |
(GlobalEnum)(0), // 0: google.expr.proto2.test.GlobalEnum |
| 1241 |
(TestAllTypes_NestedEnum)(0), // 1: google.expr.proto2.test.TestAllTypes.NestedEnum |
| 1242 |
(*TestAllTypes)(nil), // 2: google.expr.proto2.test.TestAllTypes |
| 1243 |
(*NestedTestAllTypes)(nil), // 3: google.expr.proto2.test.NestedTestAllTypes |
| 1244 |
(*ExampleType)(nil), // 4: google.expr.proto2.test.ExampleType |
| 1245 |
(*ExtendedExampleType)(nil), // 5: google.expr.proto2.test.ExtendedExampleType |
| 1246 |
(*TestAllTypes_NestedMessage)(nil), // 6: google.expr.proto2.test.TestAllTypes.NestedMessage |
| 1247 |
(*TestAllTypes_NestedGroup)(nil), // 7: google.expr.proto2.test.TestAllTypes.NestedGroup |
| 1248 |
nil, // 8: google.expr.proto2.test.TestAllTypes.MapStringStringEntry |
| 1249 |
nil, // 9: google.expr.proto2.test.TestAllTypes.MapInt64NestedTypeEntry |
| 1250 |
(*anypb.Any)(nil), // 10: google.protobuf.Any |
| 1251 |
(*durationpb.Duration)(nil), // 11: google.protobuf.Duration |
| 1252 |
(*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp |
| 1253 |
(*structpb.Struct)(nil), // 13: google.protobuf.Struct |
| 1254 |
(*structpb.Value)(nil), // 14: google.protobuf.Value |
| 1255 |
(*wrapperspb.Int64Value)(nil), // 15: google.protobuf.Int64Value |
| 1256 |
(*wrapperspb.Int32Value)(nil), // 16: google.protobuf.Int32Value |
| 1257 |
(*wrapperspb.DoubleValue)(nil), // 17: google.protobuf.DoubleValue |
| 1258 |
(*wrapperspb.FloatValue)(nil), // 18: google.protobuf.FloatValue |
| 1259 |
(*wrapperspb.UInt64Value)(nil), // 19: google.protobuf.UInt64Value |
| 1260 |
(*wrapperspb.UInt32Value)(nil), // 20: google.protobuf.UInt32Value |
| 1261 |
(*wrapperspb.StringValue)(nil), // 21: google.protobuf.StringValue |
| 1262 |
(*wrapperspb.BoolValue)(nil), // 22: google.protobuf.BoolValue |
| 1263 |
(*wrapperspb.BytesValue)(nil), // 23: google.protobuf.BytesValue |
| 1264 |
} |
| 1265 |
var file_test_proto2pb_test_all_types_proto_depIdxs = []int32{ |
| 1266 |
1, // 0: google.expr.proto2.test.TestAllTypes.standalone_enum:type_name -> google.expr.proto2.test.TestAllTypes.NestedEnum |
| 1267 |
7, // 1: google.expr.proto2.test.TestAllTypes.nestedgroup:type_name -> google.expr.proto2.test.TestAllTypes.NestedGroup |
| 1268 |
10, // 2: google.expr.proto2.test.TestAllTypes.single_any:type_name -> google.protobuf.Any |
| 1269 |
11, // 3: google.expr.proto2.test.TestAllTypes.single_duration:type_name -> google.protobuf.Duration |
| 1270 |
12, // 4: google.expr.proto2.test.TestAllTypes.single_timestamp:type_name -> google.protobuf.Timestamp |
| 1271 |
13, // 5: google.expr.proto2.test.TestAllTypes.single_struct:type_name -> google.protobuf.Struct |
| 1272 |
14, // 6: google.expr.proto2.test.TestAllTypes.single_value:type_name -> google.protobuf.Value |
| 1273 |
15, // 7: google.expr.proto2.test.TestAllTypes.single_int64_wrapper:type_name -> google.protobuf.Int64Value |
| 1274 |
16, // 8: google.expr.proto2.test.TestAllTypes.single_int32_wrapper:type_name -> google.protobuf.Int32Value |
| 1275 |
17, // 9: google.expr.proto2.test.TestAllTypes.single_double_wrapper:type_name -> google.protobuf.DoubleValue |
| 1276 |
18, // 10: google.expr.proto2.test.TestAllTypes.single_float_wrapper:type_name -> google.protobuf.FloatValue |
| 1277 |
19, // 11: google.expr.proto2.test.TestAllTypes.single_uint64_wrapper:type_name -> google.protobuf.UInt64Value |
| 1278 |
20, // 12: google.expr.proto2.test.TestAllTypes.single_uint32_wrapper:type_name -> google.protobuf.UInt32Value |
| 1279 |
21, // 13: google.expr.proto2.test.TestAllTypes.single_string_wrapper:type_name -> google.protobuf.StringValue |
| 1280 |
22, // 14: google.expr.proto2.test.TestAllTypes.single_bool_wrapper:type_name -> google.protobuf.BoolValue |
| 1281 |
23, // 15: google.expr.proto2.test.TestAllTypes.single_bytes_wrapper:type_name -> google.protobuf.BytesValue |
| 1282 |
6, // 16: google.expr.proto2.test.TestAllTypes.single_nested_message:type_name -> google.expr.proto2.test.TestAllTypes.NestedMessage |
| 1283 |
1, // 17: google.expr.proto2.test.TestAllTypes.single_nested_enum:type_name -> google.expr.proto2.test.TestAllTypes.NestedEnum |
| 1284 |
6, // 18: google.expr.proto2.test.TestAllTypes.repeated_nested_message:type_name -> google.expr.proto2.test.TestAllTypes.NestedMessage |
| 1285 |
1, // 19: google.expr.proto2.test.TestAllTypes.repeated_nested_enum:type_name -> google.expr.proto2.test.TestAllTypes.NestedEnum |
| 1286 |
6, // 20: google.expr.proto2.test.TestAllTypes.repeated_lazy_message:type_name -> google.expr.proto2.test.TestAllTypes.NestedMessage |
| 1287 |
8, // 21: google.expr.proto2.test.TestAllTypes.map_string_string:type_name -> google.expr.proto2.test.TestAllTypes.MapStringStringEntry |
| 1288 |
9, // 22: google.expr.proto2.test.TestAllTypes.map_int64_nested_type:type_name -> google.expr.proto2.test.TestAllTypes.MapInt64NestedTypeEntry |
| 1289 |
3, // 23: google.expr.proto2.test.NestedTestAllTypes.child:type_name -> google.expr.proto2.test.NestedTestAllTypes |
| 1290 |
2, // 24: google.expr.proto2.test.NestedTestAllTypes.payload:type_name -> google.expr.proto2.test.TestAllTypes |
| 1291 |
3, // 25: google.expr.proto2.test.TestAllTypes.MapInt64NestedTypeEntry.value:type_name -> google.expr.proto2.test.NestedTestAllTypes |
| 1292 |
4, // 26: google.expr.proto2.test.ExtendedExampleType.extended_examples:extendee -> google.expr.proto2.test.ExampleType |
| 1293 |
4, // 27: google.expr.proto2.test.ExtendedExampleType.enum_ext:extendee -> google.expr.proto2.test.ExampleType |
| 1294 |
0, // 28: google.expr.proto2.test.ExtendedExampleType.enum_ext:type_name -> google.expr.proto2.test.GlobalEnum |
| 1295 |
29, // [29:29] is the sub-list for method output_type |
| 1296 |
29, // [29:29] is the sub-list for method input_type |
| 1297 |
28, // [28:29] is the sub-list for extension type_name |
| 1298 |
26, // [26:28] is the sub-list for extension extendee |
| 1299 |
0, // [0:26] is the sub-list for field type_name |
| 1300 |
} |
| 1301 |
|
| 1302 |
func init() { file_test_proto2pb_test_all_types_proto_init() } |
| 1303 |
func file_test_proto2pb_test_all_types_proto_init() { |
| 1304 |
if File_test_proto2pb_test_all_types_proto != nil { |
| 1305 |
return |
| 1306 |
} |
| 1307 |
if !protoimpl.UnsafeEnabled { |
| 1308 |
file_test_proto2pb_test_all_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 1309 |
switch v := v.(*TestAllTypes); i { |
| 1310 |
case 0: |
| 1311 |
return &v.state |
| 1312 |
case 1: |
| 1313 |
return &v.sizeCache |
| 1314 |
case 2: |
| 1315 |
return &v.unknownFields |
| 1316 |
default: |
| 1317 |
return nil |
| 1318 |
} |
| 1319 |
} |
| 1320 |
file_test_proto2pb_test_all_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 1321 |
switch v := v.(*NestedTestAllTypes); i { |
| 1322 |
case 0: |
| 1323 |
return &v.state |
| 1324 |
case 1: |
| 1325 |
return &v.sizeCache |
| 1326 |
case 2: |
| 1327 |
return &v.unknownFields |
| 1328 |
default: |
| 1329 |
return nil |
| 1330 |
} |
| 1331 |
} |
| 1332 |
file_test_proto2pb_test_all_types_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 1333 |
switch v := v.(*ExampleType); i { |
| 1334 |
case 0: |
| 1335 |
return &v.state |
| 1336 |
case 1: |
| 1337 |
return &v.sizeCache |
| 1338 |
case 2: |
| 1339 |
return &v.unknownFields |
| 1340 |
case 3: |
| 1341 |
return &v.extensionFields |
| 1342 |
default: |
| 1343 |
return nil |
| 1344 |
} |
| 1345 |
} |
| 1346 |
file_test_proto2pb_test_all_types_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 1347 |
switch v := v.(*ExtendedExampleType); i { |
| 1348 |
case 0: |
| 1349 |
return &v.state |
| 1350 |
case 1: |
| 1351 |
return &v.sizeCache |
| 1352 |
case 2: |
| 1353 |
return &v.unknownFields |
| 1354 |
default: |
| 1355 |
return nil |
| 1356 |
} |
| 1357 |
} |
| 1358 |
file_test_proto2pb_test_all_types_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 1359 |
switch v := v.(*TestAllTypes_NestedMessage); i { |
| 1360 |
case 0: |
| 1361 |
return &v.state |
| 1362 |
case 1: |
| 1363 |
return &v.sizeCache |
| 1364 |
case 2: |
| 1365 |
return &v.unknownFields |
| 1366 |
default: |
| 1367 |
return nil |
| 1368 |
} |
| 1369 |
} |
| 1370 |
file_test_proto2pb_test_all_types_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 1371 |
switch v := v.(*TestAllTypes_NestedGroup); i { |
| 1372 |
case 0: |
| 1373 |
return &v.state |
| 1374 |
case 1: |
| 1375 |
return &v.sizeCache |
| 1376 |
case 2: |
| 1377 |
return &v.unknownFields |
| 1378 |
default: |
| 1379 |
return nil |
| 1380 |
} |
| 1381 |
} |
| 1382 |
} |
| 1383 |
file_test_proto2pb_test_all_types_proto_msgTypes[0].OneofWrappers = []interface{}{ |
| 1384 |
(*TestAllTypes_SingleNestedMessage)(nil), |
| 1385 |
(*TestAllTypes_SingleNestedEnum)(nil), |
| 1386 |
} |
| 1387 |
type x struct{} |
| 1388 |
out := protoimpl.TypeBuilder{ |
| 1389 |
File: protoimpl.DescBuilder{ |
| 1390 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1391 |
RawDescriptor: file_test_proto2pb_test_all_types_proto_rawDesc, |
| 1392 |
NumEnums: 2, |
| 1393 |
NumMessages: 8, |
| 1394 |
NumExtensions: 2, |
| 1395 |
NumServices: 0, |
| 1396 |
}, |
| 1397 |
GoTypes: file_test_proto2pb_test_all_types_proto_goTypes, |
| 1398 |
DependencyIndexes: file_test_proto2pb_test_all_types_proto_depIdxs, |
| 1399 |
EnumInfos: file_test_proto2pb_test_all_types_proto_enumTypes, |
| 1400 |
MessageInfos: file_test_proto2pb_test_all_types_proto_msgTypes, |
| 1401 |
ExtensionInfos: file_test_proto2pb_test_all_types_proto_extTypes, |
| 1402 |
}.Build() |
| 1403 |
File_test_proto2pb_test_all_types_proto = out.File |
| 1404 |
file_test_proto2pb_test_all_types_proto_rawDesc = nil |
| 1405 |
file_test_proto2pb_test_all_types_proto_goTypes = nil |
| 1406 |
file_test_proto2pb_test_all_types_proto_depIdxs = nil |
| 1407 |
} |