1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: conformance_proto/conformance.proto 3 4 /* 5 Package conformance is a generated protocol buffer package. 6 7 It is generated from these files: 8 conformance_proto/conformance.proto 9 10 It has these top-level messages: 11 ConformanceRequest 12 ConformanceResponse 13 TestAllTypes 14 ForeignMessage 15 */ 16 package conformance 17 18 import proto "github.com/golang/protobuf/proto" 19 import fmt "fmt" 20 import math "math" 21 import google_protobuf "github.com/golang/protobuf/ptypes/any" 22 import google_protobuf1 "github.com/golang/protobuf/ptypes/duration" 23 import google_protobuf2 "google.golang.org/genproto/protobuf" 24 import google_protobuf3 "github.com/golang/protobuf/ptypes/struct" 25 import google_protobuf4 "github.com/golang/protobuf/ptypes/timestamp" 26 import google_protobuf5 "github.com/golang/protobuf/ptypes/wrappers" 27 28 // Reference imports to suppress errors if they are not otherwise used. 29 var _ = proto.Marshal 30 var _ = fmt.Errorf 31 var _ = math.Inf 32 33 // This is a compile-time assertion to ensure that this generated file 34 // is compatible with the proto package it is being compiled against. 35 // A compilation error at this line likely means your copy of the 36 // proto package needs to be updated. 37 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 38 39 type WireFormat int32 40 41 const ( 42 WireFormat_UNSPECIFIED WireFormat = 0 43 WireFormat_PROTOBUF WireFormat = 1 44 WireFormat_JSON WireFormat = 2 45 ) 46 47 var WireFormat_name = map[int32]string{ 48 0: "UNSPECIFIED", 49 1: "PROTOBUF", 50 2: "JSON", 51 } 52 var WireFormat_value = map[string]int32{ 53 "UNSPECIFIED": 0, 54 "PROTOBUF": 1, 55 "JSON": 2, 56 } 57 58 func (x WireFormat) String() string { 59 return proto.EnumName(WireFormat_name, int32(x)) 60 } 61 func (WireFormat) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } 62 63 type ForeignEnum int32 64 65 const ( 66 ForeignEnum_FOREIGN_FOO ForeignEnum = 0 67 ForeignEnum_FOREIGN_BAR ForeignEnum = 1 68 ForeignEnum_FOREIGN_BAZ ForeignEnum = 2 69 ) 70 71 var ForeignEnum_name = map[int32]string{ 72 0: "FOREIGN_FOO", 73 1: "FOREIGN_BAR", 74 2: "FOREIGN_BAZ", 75 } 76 var ForeignEnum_value = map[string]int32{ 77 "FOREIGN_FOO": 0, 78 "FOREIGN_BAR": 1, 79 "FOREIGN_BAZ": 2, 80 } 81 82 func (x ForeignEnum) String() string { 83 return proto.EnumName(ForeignEnum_name, int32(x)) 84 } 85 func (ForeignEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } 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 TestAllTypes_NEG TestAllTypes_NestedEnum = -1 94 ) 95 96 var TestAllTypes_NestedEnum_name = map[int32]string{ 97 0: "FOO", 98 1: "BAR", 99 2: "BAZ", 100 -1: "NEG", 101 } 102 var TestAllTypes_NestedEnum_value = map[string]int32{ 103 "FOO": 0, 104 "BAR": 1, 105 "BAZ": 2, 106 "NEG": -1, 107 } 108 109 func (x TestAllTypes_NestedEnum) String() string { 110 return proto.EnumName(TestAllTypes_NestedEnum_name, int32(x)) 111 } 112 func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} } 113 114 // Represents a single test case's input. The testee should: 115 // 116 // 1. parse this proto (which should always succeed) 117 // 2. parse the protobuf or JSON payload in "payload" (which may fail) 118 // 3. if the parse succeeded, serialize the message in the requested format. 119 type ConformanceRequest struct { 120 // The payload (whether protobuf of JSON) is always for a TestAllTypes proto 121 // (see below). 122 // 123 // Types that are valid to be assigned to Payload: 124 // *ConformanceRequest_ProtobufPayload 125 // *ConformanceRequest_JsonPayload 126 Payload isConformanceRequest_Payload `protobuf_oneof:"payload"` 127 // Which format should the testee serialize its message to? 128 RequestedOutputFormat WireFormat `protobuf:"varint,3,opt,name=requested_output_format,json=requestedOutputFormat,enum=conformance.WireFormat" json:"requested_output_format,omitempty"` 129 } 130 131 func (m *ConformanceRequest) Reset() { *m = ConformanceRequest{} } 132 func (m *ConformanceRequest) String() string { return proto.CompactTextString(m) } 133 func (*ConformanceRequest) ProtoMessage() {} 134 func (*ConformanceRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } 135 136 type isConformanceRequest_Payload interface { 137 isConformanceRequest_Payload() 138 } 139 140 type ConformanceRequest_ProtobufPayload struct { 141 ProtobufPayload []byte `protobuf:"bytes,1,opt,name=protobuf_payload,json=protobufPayload,proto3,oneof"` 142 } 143 type ConformanceRequest_JsonPayload struct { 144 JsonPayload string `protobuf:"bytes,2,opt,name=json_payload,json=jsonPayload,oneof"` 145 } 146 147 func (*ConformanceRequest_ProtobufPayload) isConformanceRequest_Payload() {} 148 func (*ConformanceRequest_JsonPayload) isConformanceRequest_Payload() {} 149 150 func (m *ConformanceRequest) GetPayload() isConformanceRequest_Payload { 151 if m != nil { 152 return m.Payload 153 } 154 return nil 155 } 156 157 func (m *ConformanceRequest) GetProtobufPayload() []byte { 158 if x, ok := m.GetPayload().(*ConformanceRequest_ProtobufPayload); ok { 159 return x.ProtobufPayload 160 } 161 return nil 162 } 163 164 func (m *ConformanceRequest) GetJsonPayload() string { 165 if x, ok := m.GetPayload().(*ConformanceRequest_JsonPayload); ok { 166 return x.JsonPayload 167 } 168 return "" 169 } 170 171 func (m *ConformanceRequest) GetRequestedOutputFormat() WireFormat { 172 if m != nil { 173 return m.RequestedOutputFormat 174 } 175 return WireFormat_UNSPECIFIED 176 } 177 178 // XXX_OneofFuncs is for the internal use of the proto package. 179 func (*ConformanceRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { 180 return _ConformanceRequest_OneofMarshaler, _ConformanceRequest_OneofUnmarshaler, _ConformanceRequest_OneofSizer, []interface{}{ 181 (*ConformanceRequest_ProtobufPayload)(nil), 182 (*ConformanceRequest_JsonPayload)(nil), 183 } 184 } 185 186 func _ConformanceRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { 187 m := msg.(*ConformanceRequest) 188 // payload 189 switch x := m.Payload.(type) { 190 case *ConformanceRequest_ProtobufPayload: 191 b.EncodeVarint(1<<3 | proto.WireBytes) 192 b.EncodeRawBytes(x.ProtobufPayload) 193 case *ConformanceRequest_JsonPayload: 194 b.EncodeVarint(2<<3 | proto.WireBytes) 195 b.EncodeStringBytes(x.JsonPayload) 196 case nil: 197 default: 198 return fmt.Errorf("ConformanceRequest.Payload has unexpected type %T", x) 199 } 200 return nil 201 } 202 203 func _ConformanceRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { 204 m := msg.(*ConformanceRequest) 205 switch tag { 206 case 1: // payload.protobuf_payload 207 if wire != proto.WireBytes { 208 return true, proto.ErrInternalBadWireType 209 } 210 x, err := b.DecodeRawBytes(true) 211 m.Payload = &ConformanceRequest_ProtobufPayload{x} 212 return true, err 213 case 2: // payload.json_payload 214 if wire != proto.WireBytes { 215 return true, proto.ErrInternalBadWireType 216 } 217 x, err := b.DecodeStringBytes() 218 m.Payload = &ConformanceRequest_JsonPayload{x} 219 return true, err 220 default: 221 return false, nil 222 } 223 } 224 225 func _ConformanceRequest_OneofSizer(msg proto.Message) (n int) { 226 m := msg.(*ConformanceRequest) 227 // payload 228 switch x := m.Payload.(type) { 229 case *ConformanceRequest_ProtobufPayload: 230 n += proto.SizeVarint(1<<3 | proto.WireBytes) 231 n += proto.SizeVarint(uint64(len(x.ProtobufPayload))) 232 n += len(x.ProtobufPayload) 233 case *ConformanceRequest_JsonPayload: 234 n += proto.SizeVarint(2<<3 | proto.WireBytes) 235 n += proto.SizeVarint(uint64(len(x.JsonPayload))) 236 n += len(x.JsonPayload) 237 case nil: 238 default: 239 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) 240 } 241 return n 242 } 243 244 // Represents a single test case's output. 245 type ConformanceResponse struct { 246 // Types that are valid to be assigned to Result: 247 // *ConformanceResponse_ParseError 248 // *ConformanceResponse_SerializeError 249 // *ConformanceResponse_RuntimeError 250 // *ConformanceResponse_ProtobufPayload 251 // *ConformanceResponse_JsonPayload 252 // *ConformanceResponse_Skipped 253 Result isConformanceResponse_Result `protobuf_oneof:"result"` 254 } 255 256 func (m *ConformanceResponse) Reset() { *m = ConformanceResponse{} } 257 func (m *ConformanceResponse) String() string { return proto.CompactTextString(m) } 258 func (*ConformanceResponse) ProtoMessage() {} 259 func (*ConformanceResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } 260 261 type isConformanceResponse_Result interface { 262 isConformanceResponse_Result() 263 } 264 265 type ConformanceResponse_ParseError struct { 266 ParseError string `protobuf:"bytes,1,opt,name=parse_error,json=parseError,oneof"` 267 } 268 type ConformanceResponse_SerializeError struct { 269 SerializeError string `protobuf:"bytes,6,opt,name=serialize_error,json=serializeError,oneof"` 270 } 271 type ConformanceResponse_RuntimeError struct { 272 RuntimeError string `protobuf:"bytes,2,opt,name=runtime_error,json=runtimeError,oneof"` 273 } 274 type ConformanceResponse_ProtobufPayload struct { 275 ProtobufPayload []byte `protobuf:"bytes,3,opt,name=protobuf_payload,json=protobufPayload,proto3,oneof"` 276 } 277 type ConformanceResponse_JsonPayload struct { 278 JsonPayload string `protobuf:"bytes,4,opt,name=json_payload,json=jsonPayload,oneof"` 279 } 280 type ConformanceResponse_Skipped struct { 281 Skipped string `protobuf:"bytes,5,opt,name=skipped,oneof"` 282 } 283 284 func (*ConformanceResponse_ParseError) isConformanceResponse_Result() {} 285 func (*ConformanceResponse_SerializeError) isConformanceResponse_Result() {} 286 func (*ConformanceResponse_RuntimeError) isConformanceResponse_Result() {} 287 func (*ConformanceResponse_ProtobufPayload) isConformanceResponse_Result() {} 288 func (*ConformanceResponse_JsonPayload) isConformanceResponse_Result() {} 289 func (*ConformanceResponse_Skipped) isConformanceResponse_Result() {} 290 291 func (m *ConformanceResponse) GetResult() isConformanceResponse_Result { 292 if m != nil { 293 return m.Result 294 } 295 return nil 296 } 297 298 func (m *ConformanceResponse) GetParseError() string { 299 if x, ok := m.GetResult().(*ConformanceResponse_ParseError); ok { 300 return x.ParseError 301 } 302 return "" 303 } 304 305 func (m *ConformanceResponse) GetSerializeError() string { 306 if x, ok := m.GetResult().(*ConformanceResponse_SerializeError); ok { 307 return x.SerializeError 308 } 309 return "" 310 } 311 312 func (m *ConformanceResponse) GetRuntimeError() string { 313 if x, ok := m.GetResult().(*ConformanceResponse_RuntimeError); ok { 314 return x.RuntimeError 315 } 316 return "" 317 } 318 319 func (m *ConformanceResponse) GetProtobufPayload() []byte { 320 if x, ok := m.GetResult().(*ConformanceResponse_ProtobufPayload); ok { 321 return x.ProtobufPayload 322 } 323 return nil 324 } 325 326 func (m *ConformanceResponse) GetJsonPayload() string { 327 if x, ok := m.GetResult().(*ConformanceResponse_JsonPayload); ok { 328 return x.JsonPayload 329 } 330 return "" 331 } 332 333 func (m *ConformanceResponse) GetSkipped() string { 334 if x, ok := m.GetResult().(*ConformanceResponse_Skipped); ok { 335 return x.Skipped 336 } 337 return "" 338 } 339 340 // XXX_OneofFuncs is for the internal use of the proto package. 341 func (*ConformanceResponse) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { 342 return _ConformanceResponse_OneofMarshaler, _ConformanceResponse_OneofUnmarshaler, _ConformanceResponse_OneofSizer, []interface{}{ 343 (*ConformanceResponse_ParseError)(nil), 344 (*ConformanceResponse_SerializeError)(nil), 345 (*ConformanceResponse_RuntimeError)(nil), 346 (*ConformanceResponse_ProtobufPayload)(nil), 347 (*ConformanceResponse_JsonPayload)(nil), 348 (*ConformanceResponse_Skipped)(nil), 349 } 350 } 351 352 func _ConformanceResponse_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { 353 m := msg.(*ConformanceResponse) 354 // result 355 switch x := m.Result.(type) { 356 case *ConformanceResponse_ParseError: 357 b.EncodeVarint(1<<3 | proto.WireBytes) 358 b.EncodeStringBytes(x.ParseError) 359 case *ConformanceResponse_SerializeError: 360 b.EncodeVarint(6<<3 | proto.WireBytes) 361 b.EncodeStringBytes(x.SerializeError) 362 case *ConformanceResponse_RuntimeError: 363 b.EncodeVarint(2<<3 | proto.WireBytes) 364 b.EncodeStringBytes(x.RuntimeError) 365 case *ConformanceResponse_ProtobufPayload: 366 b.EncodeVarint(3<<3 | proto.WireBytes) 367 b.EncodeRawBytes(x.ProtobufPayload) 368 case *ConformanceResponse_JsonPayload: 369 b.EncodeVarint(4<<3 | proto.WireBytes) 370 b.EncodeStringBytes(x.JsonPayload) 371 case *ConformanceResponse_Skipped: 372 b.EncodeVarint(5<<3 | proto.WireBytes) 373 b.EncodeStringBytes(x.Skipped) 374 case nil: 375 default: 376 return fmt.Errorf("ConformanceResponse.Result has unexpected type %T", x) 377 } 378 return nil 379 } 380 381 func _ConformanceResponse_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { 382 m := msg.(*ConformanceResponse) 383 switch tag { 384 case 1: // result.parse_error 385 if wire != proto.WireBytes { 386 return true, proto.ErrInternalBadWireType 387 } 388 x, err := b.DecodeStringBytes() 389 m.Result = &ConformanceResponse_ParseError{x} 390 return true, err 391 case 6: // result.serialize_error 392 if wire != proto.WireBytes { 393 return true, proto.ErrInternalBadWireType 394 } 395 x, err := b.DecodeStringBytes() 396 m.Result = &ConformanceResponse_SerializeError{x} 397 return true, err 398 case 2: // result.runtime_error 399 if wire != proto.WireBytes { 400 return true, proto.ErrInternalBadWireType 401 } 402 x, err := b.DecodeStringBytes() 403 m.Result = &ConformanceResponse_RuntimeError{x} 404 return true, err 405 case 3: // result.protobuf_payload 406 if wire != proto.WireBytes { 407 return true, proto.ErrInternalBadWireType 408 } 409 x, err := b.DecodeRawBytes(true) 410 m.Result = &ConformanceResponse_ProtobufPayload{x} 411 return true, err 412 case 4: // result.json_payload 413 if wire != proto.WireBytes { 414 return true, proto.ErrInternalBadWireType 415 } 416 x, err := b.DecodeStringBytes() 417 m.Result = &ConformanceResponse_JsonPayload{x} 418 return true, err 419 case 5: // result.skipped 420 if wire != proto.WireBytes { 421 return true, proto.ErrInternalBadWireType 422 } 423 x, err := b.DecodeStringBytes() 424 m.Result = &ConformanceResponse_Skipped{x} 425 return true, err 426 default: 427 return false, nil 428 } 429 } 430 431 func _ConformanceResponse_OneofSizer(msg proto.Message) (n int) { 432 m := msg.(*ConformanceResponse) 433 // result 434 switch x := m.Result.(type) { 435 case *ConformanceResponse_ParseError: 436 n += proto.SizeVarint(1<<3 | proto.WireBytes) 437 n += proto.SizeVarint(uint64(len(x.ParseError))) 438 n += len(x.ParseError) 439 case *ConformanceResponse_SerializeError: 440 n += proto.SizeVarint(6<<3 | proto.WireBytes) 441 n += proto.SizeVarint(uint64(len(x.SerializeError))) 442 n += len(x.SerializeError) 443 case *ConformanceResponse_RuntimeError: 444 n += proto.SizeVarint(2<<3 | proto.WireBytes) 445 n += proto.SizeVarint(uint64(len(x.RuntimeError))) 446 n += len(x.RuntimeError) 447 case *ConformanceResponse_ProtobufPayload: 448 n += proto.SizeVarint(3<<3 | proto.WireBytes) 449 n += proto.SizeVarint(uint64(len(x.ProtobufPayload))) 450 n += len(x.ProtobufPayload) 451 case *ConformanceResponse_JsonPayload: 452 n += proto.SizeVarint(4<<3 | proto.WireBytes) 453 n += proto.SizeVarint(uint64(len(x.JsonPayload))) 454 n += len(x.JsonPayload) 455 case *ConformanceResponse_Skipped: 456 n += proto.SizeVarint(5<<3 | proto.WireBytes) 457 n += proto.SizeVarint(uint64(len(x.Skipped))) 458 n += len(x.Skipped) 459 case nil: 460 default: 461 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) 462 } 463 return n 464 } 465 466 // This proto includes every type of field in both singular and repeated 467 // forms. 468 type TestAllTypes struct { 469 // Singular 470 OptionalInt32 int32 `protobuf:"varint,1,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"` 471 OptionalInt64 int64 `protobuf:"varint,2,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"` 472 OptionalUint32 uint32 `protobuf:"varint,3,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"` 473 OptionalUint64 uint64 `protobuf:"varint,4,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"` 474 OptionalSint32 int32 `protobuf:"zigzag32,5,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"` 475 OptionalSint64 int64 `protobuf:"zigzag64,6,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"` 476 OptionalFixed32 uint32 `protobuf:"fixed32,7,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"` 477 OptionalFixed64 uint64 `protobuf:"fixed64,8,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"` 478 OptionalSfixed32 int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"` 479 OptionalSfixed64 int64 `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"` 480 OptionalFloat float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"` 481 OptionalDouble float64 `protobuf:"fixed64,12,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"` 482 OptionalBool bool `protobuf:"varint,13,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"` 483 OptionalString string `protobuf:"bytes,14,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"` 484 OptionalBytes []byte `protobuf:"bytes,15,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"` 485 OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,18,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"` 486 OptionalForeignMessage *ForeignMessage `protobuf:"bytes,19,opt,name=optional_foreign_message,json=optionalForeignMessage" json:"optional_foreign_message,omitempty"` 487 OptionalNestedEnum TestAllTypes_NestedEnum `protobuf:"varint,21,opt,name=optional_nested_enum,json=optionalNestedEnum,enum=conformance.TestAllTypes_NestedEnum" json:"optional_nested_enum,omitempty"` 488 OptionalForeignEnum ForeignEnum `protobuf:"varint,22,opt,name=optional_foreign_enum,json=optionalForeignEnum,enum=conformance.ForeignEnum" json:"optional_foreign_enum,omitempty"` 489 OptionalStringPiece string `protobuf:"bytes,24,opt,name=optional_string_piece,json=optionalStringPiece" json:"optional_string_piece,omitempty"` 490 OptionalCord string `protobuf:"bytes,25,opt,name=optional_cord,json=optionalCord" json:"optional_cord,omitempty"` 491 RecursiveMessage *TestAllTypes `protobuf:"bytes,27,opt,name=recursive_message,json=recursiveMessage" json:"recursive_message,omitempty"` 492 // Repeated 493 RepeatedInt32 []int32 `protobuf:"varint,31,rep,packed,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"` 494 RepeatedInt64 []int64 `protobuf:"varint,32,rep,packed,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"` 495 RepeatedUint32 []uint32 `protobuf:"varint,33,rep,packed,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"` 496 RepeatedUint64 []uint64 `protobuf:"varint,34,rep,packed,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"` 497 RepeatedSint32 []int32 `protobuf:"zigzag32,35,rep,packed,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"` 498 RepeatedSint64 []int64 `protobuf:"zigzag64,36,rep,packed,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"` 499 RepeatedFixed32 []uint32 `protobuf:"fixed32,37,rep,packed,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"` 500 RepeatedFixed64 []uint64 `protobuf:"fixed64,38,rep,packed,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"` 501 RepeatedSfixed32 []int32 `protobuf:"fixed32,39,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"` 502 RepeatedSfixed64 []int64 `protobuf:"fixed64,40,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"` 503 RepeatedFloat []float32 `protobuf:"fixed32,41,rep,packed,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"` 504 RepeatedDouble []float64 `protobuf:"fixed64,42,rep,packed,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"` 505 RepeatedBool []bool `protobuf:"varint,43,rep,packed,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"` 506 RepeatedString []string `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"` 507 RepeatedBytes [][]byte `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"` 508 RepeatedNestedMessage []*TestAllTypes_NestedMessage `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage" json:"repeated_nested_message,omitempty"` 509 RepeatedForeignMessage []*ForeignMessage `protobuf:"bytes,49,rep,name=repeated_foreign_message,json=repeatedForeignMessage" json:"repeated_foreign_message,omitempty"` 510 RepeatedNestedEnum []TestAllTypes_NestedEnum `protobuf:"varint,51,rep,packed,name=repeated_nested_enum,json=repeatedNestedEnum,enum=conformance.TestAllTypes_NestedEnum" json:"repeated_nested_enum,omitempty"` 511 RepeatedForeignEnum []ForeignEnum `protobuf:"varint,52,rep,packed,name=repeated_foreign_enum,json=repeatedForeignEnum,enum=conformance.ForeignEnum" json:"repeated_foreign_enum,omitempty"` 512 RepeatedStringPiece []string `protobuf:"bytes,54,rep,name=repeated_string_piece,json=repeatedStringPiece" json:"repeated_string_piece,omitempty"` 513 RepeatedCord []string `protobuf:"bytes,55,rep,name=repeated_cord,json=repeatedCord" json:"repeated_cord,omitempty"` 514 // Map 515 MapInt32Int32 map[int32]int32 `protobuf:"bytes,56,rep,name=map_int32_int32,json=mapInt32Int32" json:"map_int32_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` 516 MapInt64Int64 map[int64]int64 `protobuf:"bytes,57,rep,name=map_int64_int64,json=mapInt64Int64" json:"map_int64_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` 517 MapUint32Uint32 map[uint32]uint32 `protobuf:"bytes,58,rep,name=map_uint32_uint32,json=mapUint32Uint32" json:"map_uint32_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` 518 MapUint64Uint64 map[uint64]uint64 `protobuf:"bytes,59,rep,name=map_uint64_uint64,json=mapUint64Uint64" json:"map_uint64_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` 519 MapSint32Sint32 map[int32]int32 `protobuf:"bytes,60,rep,name=map_sint32_sint32,json=mapSint32Sint32" json:"map_sint32_sint32,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"` 520 MapSint64Sint64 map[int64]int64 `protobuf:"bytes,61,rep,name=map_sint64_sint64,json=mapSint64Sint64" json:"map_sint64_sint64,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"` 521 MapFixed32Fixed32 map[uint32]uint32 `protobuf:"bytes,62,rep,name=map_fixed32_fixed32,json=mapFixed32Fixed32" json:"map_fixed32_fixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` 522 MapFixed64Fixed64 map[uint64]uint64 `protobuf:"bytes,63,rep,name=map_fixed64_fixed64,json=mapFixed64Fixed64" json:"map_fixed64_fixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` 523 MapSfixed32Sfixed32 map[int32]int32 `protobuf:"bytes,64,rep,name=map_sfixed32_sfixed32,json=mapSfixed32Sfixed32" json:"map_sfixed32_sfixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` 524 MapSfixed64Sfixed64 map[int64]int64 `protobuf:"bytes,65,rep,name=map_sfixed64_sfixed64,json=mapSfixed64Sfixed64" json:"map_sfixed64_sfixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` 525 MapInt32Float map[int32]float32 `protobuf:"bytes,66,rep,name=map_int32_float,json=mapInt32Float" json:"map_int32_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` 526 MapInt32Double map[int32]float64 `protobuf:"bytes,67,rep,name=map_int32_double,json=mapInt32Double" json:"map_int32_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` 527 MapBoolBool map[bool]bool `protobuf:"bytes,68,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` 528 MapStringString map[string]string `protobuf:"bytes,69,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"` 529 MapStringBytes map[string][]byte `protobuf:"bytes,70,rep,name=map_string_bytes,json=mapStringBytes" json:"map_string_bytes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value,proto3"` 530 MapStringNestedMessage map[string]*TestAllTypes_NestedMessage `protobuf:"bytes,71,rep,name=map_string_nested_message,json=mapStringNestedMessage" json:"map_string_nested_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 531 MapStringForeignMessage map[string]*ForeignMessage `protobuf:"bytes,72,rep,name=map_string_foreign_message,json=mapStringForeignMessage" json:"map_string_foreign_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 532 MapStringNestedEnum map[string]TestAllTypes_NestedEnum `protobuf:"bytes,73,rep,name=map_string_nested_enum,json=mapStringNestedEnum" json:"map_string_nested_enum,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=conformance.TestAllTypes_NestedEnum"` 533 MapStringForeignEnum map[string]ForeignEnum `protobuf:"bytes,74,rep,name=map_string_foreign_enum,json=mapStringForeignEnum" json:"map_string_foreign_enum,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=conformance.ForeignEnum"` 534 // Types that are valid to be assigned to OneofField: 535 // *TestAllTypes_OneofUint32 536 // *TestAllTypes_OneofNestedMessage 537 // *TestAllTypes_OneofString 538 // *TestAllTypes_OneofBytes 539 // *TestAllTypes_OneofBool 540 // *TestAllTypes_OneofUint64 541 // *TestAllTypes_OneofFloat 542 // *TestAllTypes_OneofDouble 543 // *TestAllTypes_OneofEnum 544 OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"` 545 // Well-known types 546 OptionalBoolWrapper *google_protobuf5.BoolValue `protobuf:"bytes,201,opt,name=optional_bool_wrapper,json=optionalBoolWrapper" json:"optional_bool_wrapper,omitempty"` 547 OptionalInt32Wrapper *google_protobuf5.Int32Value `protobuf:"bytes,202,opt,name=optional_int32_wrapper,json=optionalInt32Wrapper" json:"optional_int32_wrapper,omitempty"` 548 OptionalInt64Wrapper *google_protobuf5.Int64Value `protobuf:"bytes,203,opt,name=optional_int64_wrapper,json=optionalInt64Wrapper" json:"optional_int64_wrapper,omitempty"` 549 OptionalUint32Wrapper *google_protobuf5.UInt32Value `protobuf:"bytes,204,opt,name=optional_uint32_wrapper,json=optionalUint32Wrapper" json:"optional_uint32_wrapper,omitempty"` 550 OptionalUint64Wrapper *google_protobuf5.UInt64Value `protobuf:"bytes,205,opt,name=optional_uint64_wrapper,json=optionalUint64Wrapper" json:"optional_uint64_wrapper,omitempty"` 551 OptionalFloatWrapper *google_protobuf5.FloatValue `protobuf:"bytes,206,opt,name=optional_float_wrapper,json=optionalFloatWrapper" json:"optional_float_wrapper,omitempty"` 552 OptionalDoubleWrapper *google_protobuf5.DoubleValue `protobuf:"bytes,207,opt,name=optional_double_wrapper,json=optionalDoubleWrapper" json:"optional_double_wrapper,omitempty"` 553 OptionalStringWrapper *google_protobuf5.StringValue `protobuf:"bytes,208,opt,name=optional_string_wrapper,json=optionalStringWrapper" json:"optional_string_wrapper,omitempty"` 554 OptionalBytesWrapper *google_protobuf5.BytesValue `protobuf:"bytes,209,opt,name=optional_bytes_wrapper,json=optionalBytesWrapper" json:"optional_bytes_wrapper,omitempty"` 555 RepeatedBoolWrapper []*google_protobuf5.BoolValue `protobuf:"bytes,211,rep,name=repeated_bool_wrapper,json=repeatedBoolWrapper" json:"repeated_bool_wrapper,omitempty"` 556 RepeatedInt32Wrapper []*google_protobuf5.Int32Value `protobuf:"bytes,212,rep,name=repeated_int32_wrapper,json=repeatedInt32Wrapper" json:"repeated_int32_wrapper,omitempty"` 557 RepeatedInt64Wrapper []*google_protobuf5.Int64Value `protobuf:"bytes,213,rep,name=repeated_int64_wrapper,json=repeatedInt64Wrapper" json:"repeated_int64_wrapper,omitempty"` 558 RepeatedUint32Wrapper []*google_protobuf5.UInt32Value `protobuf:"bytes,214,rep,name=repeated_uint32_wrapper,json=repeatedUint32Wrapper" json:"repeated_uint32_wrapper,omitempty"` 559 RepeatedUint64Wrapper []*google_protobuf5.UInt64Value `protobuf:"bytes,215,rep,name=repeated_uint64_wrapper,json=repeatedUint64Wrapper" json:"repeated_uint64_wrapper,omitempty"` 560 RepeatedFloatWrapper []*google_protobuf5.FloatValue `protobuf:"bytes,216,rep,name=repeated_float_wrapper,json=repeatedFloatWrapper" json:"repeated_float_wrapper,omitempty"` 561 RepeatedDoubleWrapper []*google_protobuf5.DoubleValue `protobuf:"bytes,217,rep,name=repeated_double_wrapper,json=repeatedDoubleWrapper" json:"repeated_double_wrapper,omitempty"` 562 RepeatedStringWrapper []*google_protobuf5.StringValue `protobuf:"bytes,218,rep,name=repeated_string_wrapper,json=repeatedStringWrapper" json:"repeated_string_wrapper,omitempty"` 563 RepeatedBytesWrapper []*google_protobuf5.BytesValue `protobuf:"bytes,219,rep,name=repeated_bytes_wrapper,json=repeatedBytesWrapper" json:"repeated_bytes_wrapper,omitempty"` 564 OptionalDuration *google_protobuf1.Duration `protobuf:"bytes,301,opt,name=optional_duration,json=optionalDuration" json:"optional_duration,omitempty"` 565 OptionalTimestamp *google_protobuf4.Timestamp `protobuf:"bytes,302,opt,name=optional_timestamp,json=optionalTimestamp" json:"optional_timestamp,omitempty"` 566 OptionalFieldMask *google_protobuf2.FieldMask `protobuf:"bytes,303,opt,name=optional_field_mask,json=optionalFieldMask" json:"optional_field_mask,omitempty"` 567 OptionalStruct *google_protobuf3.Struct `protobuf:"bytes,304,opt,name=optional_struct,json=optionalStruct" json:"optional_struct,omitempty"` 568 OptionalAny *google_protobuf.Any `protobuf:"bytes,305,opt,name=optional_any,json=optionalAny" json:"optional_any,omitempty"` 569 OptionalValue *google_protobuf3.Value `protobuf:"bytes,306,opt,name=optional_value,json=optionalValue" json:"optional_value,omitempty"` 570 RepeatedDuration []*google_protobuf1.Duration `protobuf:"bytes,311,rep,name=repeated_duration,json=repeatedDuration" json:"repeated_duration,omitempty"` 571 RepeatedTimestamp []*google_protobuf4.Timestamp `protobuf:"bytes,312,rep,name=repeated_timestamp,json=repeatedTimestamp" json:"repeated_timestamp,omitempty"` 572 RepeatedFieldmask []*google_protobuf2.FieldMask `protobuf:"bytes,313,rep,name=repeated_fieldmask,json=repeatedFieldmask" json:"repeated_fieldmask,omitempty"` 573 RepeatedStruct []*google_protobuf3.Struct `protobuf:"bytes,324,rep,name=repeated_struct,json=repeatedStruct" json:"repeated_struct,omitempty"` 574 RepeatedAny []*google_protobuf.Any `protobuf:"bytes,315,rep,name=repeated_any,json=repeatedAny" json:"repeated_any,omitempty"` 575 RepeatedValue []*google_protobuf3.Value `protobuf:"bytes,316,rep,name=repeated_value,json=repeatedValue" json:"repeated_value,omitempty"` 576 // Test field-name-to-JSON-name convention. 577 // (protobuf says names can be any valid C/C++ identifier.) 578 Fieldname1 int32 `protobuf:"varint,401,opt,name=fieldname1" json:"fieldname1,omitempty"` 579 FieldName2 int32 `protobuf:"varint,402,opt,name=field_name2,json=fieldName2" json:"field_name2,omitempty"` 580 XFieldName3 int32 `protobuf:"varint,403,opt,name=_field_name3,json=FieldName3" json:"_field_name3,omitempty"` 581 Field_Name4_ int32 `protobuf:"varint,404,opt,name=field__name4_,json=fieldName4" json:"field__name4_,omitempty"` 582 Field0Name5 int32 `protobuf:"varint,405,opt,name=field0name5" json:"field0name5,omitempty"` 583 Field_0Name6 int32 `protobuf:"varint,406,opt,name=field_0_name6,json=field0Name6" json:"field_0_name6,omitempty"` 584 FieldName7 int32 `protobuf:"varint,407,opt,name=fieldName7" json:"fieldName7,omitempty"` 585 FieldName8 int32 `protobuf:"varint,408,opt,name=FieldName8" json:"FieldName8,omitempty"` 586 Field_Name9 int32 `protobuf:"varint,409,opt,name=field_Name9,json=fieldName9" json:"field_Name9,omitempty"` 587 Field_Name10 int32 `protobuf:"varint,410,opt,name=Field_Name10,json=FieldName10" json:"Field_Name10,omitempty"` 588 FIELD_NAME11 int32 `protobuf:"varint,411,opt,name=FIELD_NAME11,json=FIELDNAME11" json:"FIELD_NAME11,omitempty"` 589 FIELDName12 int32 `protobuf:"varint,412,opt,name=FIELD_name12,json=FIELDName12" json:"FIELD_name12,omitempty"` 590 XFieldName13 int32 `protobuf:"varint,413,opt,name=__field_name13,json=FieldName13" json:"__field_name13,omitempty"` 591 X_FieldName14 int32 `protobuf:"varint,414,opt,name=__Field_name14,json=FieldName14" json:"__Field_name14,omitempty"` 592 Field_Name15 int32 `protobuf:"varint,415,opt,name=field__name15,json=fieldName15" json:"field__name15,omitempty"` 593 Field__Name16 int32 `protobuf:"varint,416,opt,name=field__Name16,json=fieldName16" json:"field__Name16,omitempty"` 594 FieldName17__ int32 `protobuf:"varint,417,opt,name=field_name17__,json=fieldName17" json:"field_name17__,omitempty"` 595 FieldName18__ int32 `protobuf:"varint,418,opt,name=Field_name18__,json=FieldName18" json:"Field_name18__,omitempty"` 596 } 597 598 func (m *TestAllTypes) Reset() { *m = TestAllTypes{} } 599 func (m *TestAllTypes) String() string { return proto.CompactTextString(m) } 600 func (*TestAllTypes) ProtoMessage() {} 601 func (*TestAllTypes) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} } 602 603 type isTestAllTypes_OneofField interface { 604 isTestAllTypes_OneofField() 605 } 606 607 type TestAllTypes_OneofUint32 struct { 608 OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,oneof"` 609 } 610 type TestAllTypes_OneofNestedMessage struct { 611 OneofNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,oneof"` 612 } 613 type TestAllTypes_OneofString struct { 614 OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,oneof"` 615 } 616 type TestAllTypes_OneofBytes struct { 617 OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"` 618 } 619 type TestAllTypes_OneofBool struct { 620 OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,oneof"` 621 } 622 type TestAllTypes_OneofUint64 struct { 623 OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,oneof"` 624 } 625 type TestAllTypes_OneofFloat struct { 626 OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,oneof"` 627 } 628 type TestAllTypes_OneofDouble struct { 629 OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,oneof"` 630 } 631 type TestAllTypes_OneofEnum struct { 632 OneofEnum TestAllTypes_NestedEnum `protobuf:"varint,119,opt,name=oneof_enum,json=oneofEnum,enum=conformance.TestAllTypes_NestedEnum,oneof"` 633 } 634 635 func (*TestAllTypes_OneofUint32) isTestAllTypes_OneofField() {} 636 func (*TestAllTypes_OneofNestedMessage) isTestAllTypes_OneofField() {} 637 func (*TestAllTypes_OneofString) isTestAllTypes_OneofField() {} 638 func (*TestAllTypes_OneofBytes) isTestAllTypes_OneofField() {} 639 func (*TestAllTypes_OneofBool) isTestAllTypes_OneofField() {} 640 func (*TestAllTypes_OneofUint64) isTestAllTypes_OneofField() {} 641 func (*TestAllTypes_OneofFloat) isTestAllTypes_OneofField() {} 642 func (*TestAllTypes_OneofDouble) isTestAllTypes_OneofField() {} 643 func (*TestAllTypes_OneofEnum) isTestAllTypes_OneofField() {} 644 645 func (m *TestAllTypes) GetOneofField() isTestAllTypes_OneofField { 646 if m != nil { 647 return m.OneofField 648 } 649 return nil 650 } 651 652 func (m *TestAllTypes) GetOptionalInt32() int32 { 653 if m != nil { 654 return m.OptionalInt32 655 } 656 return 0 657 } 658 659 func (m *TestAllTypes) GetOptionalInt64() int64 { 660 if m != nil { 661 return m.OptionalInt64 662 } 663 return 0 664 } 665 666 func (m *TestAllTypes) GetOptionalUint32() uint32 { 667 if m != nil { 668 return m.OptionalUint32 669 } 670 return 0 671 } 672 673 func (m *TestAllTypes) GetOptionalUint64() uint64 { 674 if m != nil { 675 return m.OptionalUint64 676 } 677 return 0 678 } 679 680 func (m *TestAllTypes) GetOptionalSint32() int32 { 681 if m != nil { 682 return m.OptionalSint32 683 } 684 return 0 685 } 686 687 func (m *TestAllTypes) GetOptionalSint64() int64 { 688 if m != nil { 689 return m.OptionalSint64 690 } 691 return 0 692 } 693 694 func (m *TestAllTypes) GetOptionalFixed32() uint32 { 695 if m != nil { 696 return m.OptionalFixed32 697 } 698 return 0 699 } 700 701 func (m *TestAllTypes) GetOptionalFixed64() uint64 { 702 if m != nil { 703 return m.OptionalFixed64 704 } 705 return 0 706 } 707 708 func (m *TestAllTypes) GetOptionalSfixed32() int32 { 709 if m != nil { 710 return m.OptionalSfixed32 711 } 712 return 0 713 } 714 715 func (m *TestAllTypes) GetOptionalSfixed64() int64 { 716 if m != nil { 717 return m.OptionalSfixed64 718 } 719 return 0 720 } 721 722 func (m *TestAllTypes) GetOptionalFloat() float32 { 723 if m != nil { 724 return m.OptionalFloat 725 } 726 return 0 727 } 728 729 func (m *TestAllTypes) GetOptionalDouble() float64 { 730 if m != nil { 731 return m.OptionalDouble 732 } 733 return 0 734 } 735 736 func (m *TestAllTypes) GetOptionalBool() bool { 737 if m != nil { 738 return m.OptionalBool 739 } 740 return false 741 } 742 743 func (m *TestAllTypes) GetOptionalString() string { 744 if m != nil { 745 return m.OptionalString 746 } 747 return "" 748 } 749 750 func (m *TestAllTypes) GetOptionalBytes() []byte { 751 if m != nil { 752 return m.OptionalBytes 753 } 754 return nil 755 } 756 757 func (m *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage { 758 if m != nil { 759 return m.OptionalNestedMessage 760 } 761 return nil 762 } 763 764 func (m *TestAllTypes) GetOptionalForeignMessage() *ForeignMessage { 765 if m != nil { 766 return m.OptionalForeignMessage 767 } 768 return nil 769 } 770 771 func (m *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum { 772 if m != nil { 773 return m.OptionalNestedEnum 774 } 775 return TestAllTypes_FOO 776 } 777 778 func (m *TestAllTypes) GetOptionalForeignEnum() ForeignEnum { 779 if m != nil { 780 return m.OptionalForeignEnum 781 } 782 return ForeignEnum_FOREIGN_FOO 783 } 784 785 func (m *TestAllTypes) GetOptionalStringPiece() string { 786 if m != nil { 787 return m.OptionalStringPiece 788 } 789 return "" 790 } 791 792 func (m *TestAllTypes) GetOptionalCord() string { 793 if m != nil { 794 return m.OptionalCord 795 } 796 return "" 797 } 798 799 func (m *TestAllTypes) GetRecursiveMessage() *TestAllTypes { 800 if m != nil { 801 return m.RecursiveMessage 802 } 803 return nil 804 } 805 806 func (m *TestAllTypes) GetRepeatedInt32() []int32 { 807 if m != nil { 808 return m.RepeatedInt32 809 } 810 return nil 811 } 812 813 func (m *TestAllTypes) GetRepeatedInt64() []int64 { 814 if m != nil { 815 return m.RepeatedInt64 816 } 817 return nil 818 } 819 820 func (m *TestAllTypes) GetRepeatedUint32() []uint32 { 821 if m != nil { 822 return m.RepeatedUint32 823 } 824 return nil 825 } 826 827 func (m *TestAllTypes) GetRepeatedUint64() []uint64 { 828 if m != nil { 829 return m.RepeatedUint64 830 } 831 return nil 832 } 833 834 func (m *TestAllTypes) GetRepeatedSint32() []int32 { 835 if m != nil { 836 return m.RepeatedSint32 837 } 838 return nil 839 } 840 841 func (m *TestAllTypes) GetRepeatedSint64() []int64 { 842 if m != nil { 843 return m.RepeatedSint64 844 } 845 return nil 846 } 847 848 func (m *TestAllTypes) GetRepeatedFixed32() []uint32 { 849 if m != nil { 850 return m.RepeatedFixed32 851 } 852 return nil 853 } 854 855 func (m *TestAllTypes) GetRepeatedFixed64() []uint64 { 856 if m != nil { 857 return m.RepeatedFixed64 858 } 859 return nil 860 } 861 862 func (m *TestAllTypes) GetRepeatedSfixed32() []int32 { 863 if m != nil { 864 return m.RepeatedSfixed32 865 } 866 return nil 867 } 868 869 func (m *TestAllTypes) GetRepeatedSfixed64() []int64 { 870 if m != nil { 871 return m.RepeatedSfixed64 872 } 873 return nil 874 } 875 876 func (m *TestAllTypes) GetRepeatedFloat() []float32 { 877 if m != nil { 878 return m.RepeatedFloat 879 } 880 return nil 881 } 882 883 func (m *TestAllTypes) GetRepeatedDouble() []float64 { 884 if m != nil { 885 return m.RepeatedDouble 886 } 887 return nil 888 } 889 890 func (m *TestAllTypes) GetRepeatedBool() []bool { 891 if m != nil { 892 return m.RepeatedBool 893 } 894 return nil 895 } 896 897 func (m *TestAllTypes) GetRepeatedString() []string { 898 if m != nil { 899 return m.RepeatedString 900 } 901 return nil 902 } 903 904 func (m *TestAllTypes) GetRepeatedBytes() [][]byte { 905 if m != nil { 906 return m.RepeatedBytes 907 } 908 return nil 909 } 910 911 func (m *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage { 912 if m != nil { 913 return m.RepeatedNestedMessage 914 } 915 return nil 916 } 917 918 func (m *TestAllTypes) GetRepeatedForeignMessage() []*ForeignMessage { 919 if m != nil { 920 return m.RepeatedForeignMessage 921 } 922 return nil 923 } 924 925 func (m *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum { 926 if m != nil { 927 return m.RepeatedNestedEnum 928 } 929 return nil 930 } 931 932 func (m *TestAllTypes) GetRepeatedForeignEnum() []ForeignEnum { 933 if m != nil { 934 return m.RepeatedForeignEnum 935 } 936 return nil 937 } 938 939 func (m *TestAllTypes) GetRepeatedStringPiece() []string { 940 if m != nil { 941 return m.RepeatedStringPiece 942 } 943 return nil 944 } 945 946 func (m *TestAllTypes) GetRepeatedCord() []string { 947 if m != nil { 948 return m.RepeatedCord 949 } 950 return nil 951 } 952 953 func (m *TestAllTypes) GetMapInt32Int32() map[int32]int32 { 954 if m != nil { 955 return m.MapInt32Int32 956 } 957 return nil 958 } 959 960 func (m *TestAllTypes) GetMapInt64Int64() map[int64]int64 { 961 if m != nil { 962 return m.MapInt64Int64 963 } 964 return nil 965 } 966 967 func (m *TestAllTypes) GetMapUint32Uint32() map[uint32]uint32 { 968 if m != nil { 969 return m.MapUint32Uint32 970 } 971 return nil 972 } 973 974 func (m *TestAllTypes) GetMapUint64Uint64() map[uint64]uint64 { 975 if m != nil { 976 return m.MapUint64Uint64 977 } 978 return nil 979 } 980 981 func (m *TestAllTypes) GetMapSint32Sint32() map[int32]int32 { 982 if m != nil { 983 return m.MapSint32Sint32 984 } 985 return nil 986 } 987 988 func (m *TestAllTypes) GetMapSint64Sint64() map[int64]int64 { 989 if m != nil { 990 return m.MapSint64Sint64 991 } 992 return nil 993 } 994 995 func (m *TestAllTypes) GetMapFixed32Fixed32() map[uint32]uint32 { 996 if m != nil { 997 return m.MapFixed32Fixed32 998 } 999 return nil 1000 } 1001 1002 func (m *TestAllTypes) GetMapFixed64Fixed64() map[uint64]uint64 { 1003 if m != nil { 1004 return m.MapFixed64Fixed64 1005 } 1006 return nil 1007 } 1008 1009 func (m *TestAllTypes) GetMapSfixed32Sfixed32() map[int32]int32 { 1010 if m != nil { 1011 return m.MapSfixed32Sfixed32 1012 } 1013 return nil 1014 } 1015 1016 func (m *TestAllTypes) GetMapSfixed64Sfixed64() map[int64]int64 { 1017 if m != nil { 1018 return m.MapSfixed64Sfixed64 1019 } 1020 return nil 1021 } 1022 1023 func (m *TestAllTypes) GetMapInt32Float() map[int32]float32 { 1024 if m != nil { 1025 return m.MapInt32Float 1026 } 1027 return nil 1028 } 1029 1030 func (m *TestAllTypes) GetMapInt32Double() map[int32]float64 { 1031 if m != nil { 1032 return m.MapInt32Double 1033 } 1034 return nil 1035 } 1036 1037 func (m *TestAllTypes) GetMapBoolBool() map[bool]bool { 1038 if m != nil { 1039 return m.MapBoolBool 1040 } 1041 return nil 1042 } 1043 1044 func (m *TestAllTypes) GetMapStringString() map[string]string { 1045 if m != nil { 1046 return m.MapStringString 1047 } 1048 return nil 1049 } 1050 1051 func (m *TestAllTypes) GetMapStringBytes() map[string][]byte { 1052 if m != nil { 1053 return m.MapStringBytes 1054 } 1055 return nil 1056 } 1057 1058 func (m *TestAllTypes) GetMapStringNestedMessage() map[string]*TestAllTypes_NestedMessage { 1059 if m != nil { 1060 return m.MapStringNestedMessage 1061 } 1062 return nil 1063 } 1064 1065 func (m *TestAllTypes) GetMapStringForeignMessage() map[string]*ForeignMessage { 1066 if m != nil { 1067 return m.MapStringForeignMessage 1068 } 1069 return nil 1070 } 1071 1072 func (m *TestAllTypes) GetMapStringNestedEnum() map[string]TestAllTypes_NestedEnum { 1073 if m != nil { 1074 return m.MapStringNestedEnum 1075 } 1076 return nil 1077 } 1078 1079 func (m *TestAllTypes) GetMapStringForeignEnum() map[string]ForeignEnum { 1080 if m != nil { 1081 return m.MapStringForeignEnum 1082 } 1083 return nil 1084 } 1085 1086 func (m *TestAllTypes) GetOneofUint32() uint32 { 1087 if x, ok := m.GetOneofField().(*TestAllTypes_OneofUint32); ok { 1088 return x.OneofUint32 1089 } 1090 return 0 1091 } 1092 1093 func (m *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage { 1094 if x, ok := m.GetOneofField().(*TestAllTypes_OneofNestedMessage); ok { 1095 return x.OneofNestedMessage 1096 } 1097 return nil 1098 } 1099 1100 func (m *TestAllTypes) GetOneofString() string { 1101 if x, ok := m.GetOneofField().(*TestAllTypes_OneofString); ok { 1102 return x.OneofString 1103 } 1104 return "" 1105 } 1106 1107 func (m *TestAllTypes) GetOneofBytes() []byte { 1108 if x, ok := m.GetOneofField().(*TestAllTypes_OneofBytes); ok { 1109 return x.OneofBytes 1110 } 1111 return nil 1112 } 1113 1114 func (m *TestAllTypes) GetOneofBool() bool { 1115 if x, ok := m.GetOneofField().(*TestAllTypes_OneofBool); ok { 1116 return x.OneofBool 1117 } 1118 return false 1119 } 1120 1121 func (m *TestAllTypes) GetOneofUint64() uint64 { 1122 if x, ok := m.GetOneofField().(*TestAllTypes_OneofUint64); ok { 1123 return x.OneofUint64 1124 } 1125 return 0 1126 } 1127 1128 func (m *TestAllTypes) GetOneofFloat() float32 { 1129 if x, ok := m.GetOneofField().(*TestAllTypes_OneofFloat); ok { 1130 return x.OneofFloat 1131 } 1132 return 0 1133 } 1134 1135 func (m *TestAllTypes) GetOneofDouble() float64 { 1136 if x, ok := m.GetOneofField().(*TestAllTypes_OneofDouble); ok { 1137 return x.OneofDouble 1138 } 1139 return 0 1140 } 1141 1142 func (m *TestAllTypes) GetOneofEnum() TestAllTypes_NestedEnum { 1143 if x, ok := m.GetOneofField().(*TestAllTypes_OneofEnum); ok { 1144 return x.OneofEnum 1145 } 1146 return TestAllTypes_FOO 1147 } 1148 1149 func (m *TestAllTypes) GetOptionalBoolWrapper() *google_protobuf5.BoolValue { 1150 if m != nil { 1151 return m.OptionalBoolWrapper 1152 } 1153 return nil 1154 } 1155 1156 func (m *TestAllTypes) GetOptionalInt32Wrapper() *google_protobuf5.Int32Value { 1157 if m != nil { 1158 return m.OptionalInt32Wrapper 1159 } 1160 return nil 1161 } 1162 1163 func (m *TestAllTypes) GetOptionalInt64Wrapper() *google_protobuf5.Int64Value { 1164 if m != nil { 1165 return m.OptionalInt64Wrapper 1166 } 1167 return nil 1168 } 1169 1170 func (m *TestAllTypes) GetOptionalUint32Wrapper() *google_protobuf5.UInt32Value { 1171 if m != nil { 1172 return m.OptionalUint32Wrapper 1173 } 1174 return nil 1175 } 1176 1177 func (m *TestAllTypes) GetOptionalUint64Wrapper() *google_protobuf5.UInt64Value { 1178 if m != nil { 1179 return m.OptionalUint64Wrapper 1180 } 1181 return nil 1182 } 1183 1184 func (m *TestAllTypes) GetOptionalFloatWrapper() *google_protobuf5.FloatValue { 1185 if m != nil { 1186 return m.OptionalFloatWrapper 1187 } 1188 return nil 1189 } 1190 1191 func (m *TestAllTypes) GetOptionalDoubleWrapper() *google_protobuf5.DoubleValue { 1192 if m != nil { 1193 return m.OptionalDoubleWrapper 1194 } 1195 return nil 1196 } 1197 1198 func (m *TestAllTypes) GetOptionalStringWrapper() *google_protobuf5.StringValue { 1199 if m != nil { 1200 return m.OptionalStringWrapper 1201 } 1202 return nil 1203 } 1204 1205 func (m *TestAllTypes) GetOptionalBytesWrapper() *google_protobuf5.BytesValue { 1206 if m != nil { 1207 return m.OptionalBytesWrapper 1208 } 1209 return nil 1210 } 1211 1212 func (m *TestAllTypes) GetRepeatedBoolWrapper() []*google_protobuf5.BoolValue { 1213 if m != nil { 1214 return m.RepeatedBoolWrapper 1215 } 1216 return nil 1217 } 1218 1219 func (m *TestAllTypes) GetRepeatedInt32Wrapper() []*google_protobuf5.Int32Value { 1220 if m != nil { 1221 return m.RepeatedInt32Wrapper 1222 } 1223 return nil 1224 } 1225 1226 func (m *TestAllTypes) GetRepeatedInt64Wrapper() []*google_protobuf5.Int64Value { 1227 if m != nil { 1228 return m.RepeatedInt64Wrapper 1229 } 1230 return nil 1231 } 1232 1233 func (m *TestAllTypes) GetRepeatedUint32Wrapper() []*google_protobuf5.UInt32Value { 1234 if m != nil { 1235 return m.RepeatedUint32Wrapper 1236 } 1237 return nil 1238 } 1239 1240 func (m *TestAllTypes) GetRepeatedUint64Wrapper() []*google_protobuf5.UInt64Value { 1241 if m != nil { 1242 return m.RepeatedUint64Wrapper 1243 } 1244 return nil 1245 } 1246 1247 func (m *TestAllTypes) GetRepeatedFloatWrapper() []*google_protobuf5.FloatValue { 1248 if m != nil { 1249 return m.RepeatedFloatWrapper 1250 } 1251 return nil 1252 } 1253 1254 func (m *TestAllTypes) GetRepeatedDoubleWrapper() []*google_protobuf5.DoubleValue { 1255 if m != nil { 1256 return m.RepeatedDoubleWrapper 1257 } 1258 return nil 1259 } 1260 1261 func (m *TestAllTypes) GetRepeatedStringWrapper() []*google_protobuf5.StringValue { 1262 if m != nil { 1263 return m.RepeatedStringWrapper 1264 } 1265 return nil 1266 } 1267 1268 func (m *TestAllTypes) GetRepeatedBytesWrapper() []*google_protobuf5.BytesValue { 1269 if m != nil { 1270 return m.RepeatedBytesWrapper 1271 } 1272 return nil 1273 } 1274 1275 func (m *TestAllTypes) GetOptionalDuration() *google_protobuf1.Duration { 1276 if m != nil { 1277 return m.OptionalDuration 1278 } 1279 return nil 1280 } 1281 1282 func (m *TestAllTypes) GetOptionalTimestamp() *google_protobuf4.Timestamp { 1283 if m != nil { 1284 return m.OptionalTimestamp 1285 } 1286 return nil 1287 } 1288 1289 func (m *TestAllTypes) GetOptionalFieldMask() *google_protobuf2.FieldMask { 1290 if m != nil { 1291 return m.OptionalFieldMask 1292 } 1293 return nil 1294 } 1295 1296 func (m *TestAllTypes) GetOptionalStruct() *google_protobuf3.Struct { 1297 if m != nil { 1298 return m.OptionalStruct 1299 } 1300 return nil 1301 } 1302 1303 func (m *TestAllTypes) GetOptionalAny() *google_protobuf.Any { 1304 if m != nil { 1305 return m.OptionalAny 1306 } 1307 return nil 1308 } 1309 1310 func (m *TestAllTypes) GetOptionalValue() *google_protobuf3.Value { 1311 if m != nil { 1312 return m.OptionalValue 1313 } 1314 return nil 1315 } 1316 1317 func (m *TestAllTypes) GetRepeatedDuration() []*google_protobuf1.Duration { 1318 if m != nil { 1319 return m.RepeatedDuration 1320 } 1321 return nil 1322 } 1323 1324 func (m *TestAllTypes) GetRepeatedTimestamp() []*google_protobuf4.Timestamp { 1325 if m != nil { 1326 return m.RepeatedTimestamp 1327 } 1328 return nil 1329 } 1330 1331 func (m *TestAllTypes) GetRepeatedFieldmask() []*google_protobuf2.FieldMask { 1332 if m != nil { 1333 return m.RepeatedFieldmask 1334 } 1335 return nil 1336 } 1337 1338 func (m *TestAllTypes) GetRepeatedStruct() []*google_protobuf3.Struct { 1339 if m != nil { 1340 return m.RepeatedStruct 1341 } 1342 return nil 1343 } 1344 1345 func (m *TestAllTypes) GetRepeatedAny() []*google_protobuf.Any { 1346 if m != nil { 1347 return m.RepeatedAny 1348 } 1349 return nil 1350 } 1351 1352 func (m *TestAllTypes) GetRepeatedValue() []*google_protobuf3.Value { 1353 if m != nil { 1354 return m.RepeatedValue 1355 } 1356 return nil 1357 } 1358 1359 func (m *TestAllTypes) GetFieldname1() int32 { 1360 if m != nil { 1361 return m.Fieldname1 1362 } 1363 return 0 1364 } 1365 1366 func (m *TestAllTypes) GetFieldName2() int32 { 1367 if m != nil { 1368 return m.FieldName2 1369 } 1370 return 0 1371 } 1372 1373 func (m *TestAllTypes) GetXFieldName3() int32 { 1374 if m != nil { 1375 return m.XFieldName3 1376 } 1377 return 0 1378 } 1379 1380 func (m *TestAllTypes) GetField_Name4_() int32 { 1381 if m != nil { 1382 return m.Field_Name4_ 1383 } 1384 return 0 1385 } 1386 1387 func (m *TestAllTypes) GetField0Name5() int32 { 1388 if m != nil { 1389 return m.Field0Name5 1390 } 1391 return 0 1392 } 1393 1394 func (m *TestAllTypes) GetField_0Name6() int32 { 1395 if m != nil { 1396 return m.Field_0Name6 1397 } 1398 return 0 1399 } 1400 1401 func (m *TestAllTypes) GetFieldName7() int32 { 1402 if m != nil { 1403 return m.FieldName7 1404 } 1405 return 0 1406 } 1407 1408 func (m *TestAllTypes) GetFieldName8() int32 { 1409 if m != nil { 1410 return m.FieldName8 1411 } 1412 return 0 1413 } 1414 1415 func (m *TestAllTypes) GetField_Name9() int32 { 1416 if m != nil { 1417 return m.Field_Name9 1418 } 1419 return 0 1420 } 1421 1422 func (m *TestAllTypes) GetField_Name10() int32 { 1423 if m != nil { 1424 return m.Field_Name10 1425 } 1426 return 0 1427 } 1428 1429 func (m *TestAllTypes) GetFIELD_NAME11() int32 { 1430 if m != nil { 1431 return m.FIELD_NAME11 1432 } 1433 return 0 1434 } 1435 1436 func (m *TestAllTypes) GetFIELDName12() int32 { 1437 if m != nil { 1438 return m.FIELDName12 1439 } 1440 return 0 1441 } 1442 1443 func (m *TestAllTypes) GetXFieldName13() int32 { 1444 if m != nil { 1445 return m.XFieldName13 1446 } 1447 return 0 1448 } 1449 1450 func (m *TestAllTypes) GetX_FieldName14() int32 { 1451 if m != nil { 1452 return m.X_FieldName14 1453 } 1454 return 0 1455 } 1456 1457 func (m *TestAllTypes) GetField_Name15() int32 { 1458 if m != nil { 1459 return m.Field_Name15 1460 } 1461 return 0 1462 } 1463 1464 func (m *TestAllTypes) GetField__Name16() int32 { 1465 if m != nil { 1466 return m.Field__Name16 1467 } 1468 return 0 1469 } 1470 1471 func (m *TestAllTypes) GetFieldName17__() int32 { 1472 if m != nil { 1473 return m.FieldName17__ 1474 } 1475 return 0 1476 } 1477 1478 func (m *TestAllTypes) GetFieldName18__() int32 { 1479 if m != nil { 1480 return m.FieldName18__ 1481 } 1482 return 0 1483 } 1484 1485 // XXX_OneofFuncs is for the internal use of the proto package. 1486 func (*TestAllTypes) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { 1487 return _TestAllTypes_OneofMarshaler, _TestAllTypes_OneofUnmarshaler, _TestAllTypes_OneofSizer, []interface{}{ 1488 (*TestAllTypes_OneofUint32)(nil), 1489 (*TestAllTypes_OneofNestedMessage)(nil), 1490 (*TestAllTypes_OneofString)(nil), 1491 (*TestAllTypes_OneofBytes)(nil), 1492 (*TestAllTypes_OneofBool)(nil), 1493 (*TestAllTypes_OneofUint64)(nil), 1494 (*TestAllTypes_OneofFloat)(nil), 1495 (*TestAllTypes_OneofDouble)(nil), 1496 (*TestAllTypes_OneofEnum)(nil), 1497 } 1498 } 1499 1500 func _TestAllTypes_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { 1501 m := msg.(*TestAllTypes) 1502 // oneof_field 1503 switch x := m.OneofField.(type) { 1504 case *TestAllTypes_OneofUint32: 1505 b.EncodeVarint(111<<3 | proto.WireVarint) 1506 b.EncodeVarint(uint64(x.OneofUint32)) 1507 case *TestAllTypes_OneofNestedMessage: 1508 b.EncodeVarint(112<<3 | proto.WireBytes) 1509 if err := b.EncodeMessage(x.OneofNestedMessage); err != nil { 1510 return err 1511 } 1512 case *TestAllTypes_OneofString: 1513 b.EncodeVarint(113<<3 | proto.WireBytes) 1514 b.EncodeStringBytes(x.OneofString) 1515 case *TestAllTypes_OneofBytes: 1516 b.EncodeVarint(114<<3 | proto.WireBytes) 1517 b.EncodeRawBytes(x.OneofBytes) 1518 case *TestAllTypes_OneofBool: 1519 t := uint64(0) 1520 if x.OneofBool { 1521 t = 1 1522 } 1523 b.EncodeVarint(115<<3 | proto.WireVarint) 1524 b.EncodeVarint(t) 1525 case *TestAllTypes_OneofUint64: 1526 b.EncodeVarint(116<<3 | proto.WireVarint) 1527 b.EncodeVarint(uint64(x.OneofUint64)) 1528 case *TestAllTypes_OneofFloat: 1529 b.EncodeVarint(117<<3 | proto.WireFixed32) 1530 b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat))) 1531 case *TestAllTypes_OneofDouble: 1532 b.EncodeVarint(118<<3 | proto.WireFixed64) 1533 b.EncodeFixed64(math.Float64bits(x.OneofDouble)) 1534 case *TestAllTypes_OneofEnum: 1535 b.EncodeVarint(119<<3 | proto.WireVarint) 1536 b.EncodeVarint(uint64(x.OneofEnum)) 1537 case nil: 1538 default: 1539 return fmt.Errorf("TestAllTypes.OneofField has unexpected type %T", x) 1540 } 1541 return nil 1542 } 1543 1544 func _TestAllTypes_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { 1545 m := msg.(*TestAllTypes) 1546 switch tag { 1547 case 111: // oneof_field.oneof_uint32 1548 if wire != proto.WireVarint { 1549 return true, proto.ErrInternalBadWireType 1550 } 1551 x, err := b.DecodeVarint() 1552 m.OneofField = &TestAllTypes_OneofUint32{uint32(x)} 1553 return true, err 1554 case 112: // oneof_field.oneof_nested_message 1555 if wire != proto.WireBytes { 1556 return true, proto.ErrInternalBadWireType 1557 } 1558 msg := new(TestAllTypes_NestedMessage) 1559 err := b.DecodeMessage(msg) 1560 m.OneofField = &TestAllTypes_OneofNestedMessage{msg} 1561 return true, err 1562 case 113: // oneof_field.oneof_string 1563 if wire != proto.WireBytes { 1564 return true, proto.ErrInternalBadWireType 1565 } 1566 x, err := b.DecodeStringBytes() 1567 m.OneofField = &TestAllTypes_OneofString{x} 1568 return true, err 1569 case 114: // oneof_field.oneof_bytes 1570 if wire != proto.WireBytes { 1571 return true, proto.ErrInternalBadWireType 1572 } 1573 x, err := b.DecodeRawBytes(true) 1574 m.OneofField = &TestAllTypes_OneofBytes{x} 1575 return true, err 1576 case 115: // oneof_field.oneof_bool 1577 if wire != proto.WireVarint { 1578 return true, proto.ErrInternalBadWireType 1579 } 1580 x, err := b.DecodeVarint() 1581 m.OneofField = &TestAllTypes_OneofBool{x != 0} 1582 return true, err 1583 case 116: // oneof_field.oneof_uint64 1584 if wire != proto.WireVarint { 1585 return true, proto.ErrInternalBadWireType 1586 } 1587 x, err := b.DecodeVarint() 1588 m.OneofField = &TestAllTypes_OneofUint64{x} 1589 return true, err 1590 case 117: // oneof_field.oneof_float 1591 if wire != proto.WireFixed32 { 1592 return true, proto.ErrInternalBadWireType 1593 } 1594 x, err := b.DecodeFixed32() 1595 m.OneofField = &TestAllTypes_OneofFloat{math.Float32frombits(uint32(x))} 1596 return true, err 1597 case 118: // oneof_field.oneof_double 1598 if wire != proto.WireFixed64 { 1599 return true, proto.ErrInternalBadWireType 1600 } 1601 x, err := b.DecodeFixed64() 1602 m.OneofField = &TestAllTypes_OneofDouble{math.Float64frombits(x)} 1603 return true, err 1604 case 119: // oneof_field.oneof_enum 1605 if wire != proto.WireVarint { 1606 return true, proto.ErrInternalBadWireType 1607 } 1608 x, err := b.DecodeVarint() 1609 m.OneofField = &TestAllTypes_OneofEnum{TestAllTypes_NestedEnum(x)} 1610 return true, err 1611 default: 1612 return false, nil 1613 } 1614 } 1615 1616 func _TestAllTypes_OneofSizer(msg proto.Message) (n int) { 1617 m := msg.(*TestAllTypes) 1618 // oneof_field 1619 switch x := m.OneofField.(type) { 1620 case *TestAllTypes_OneofUint32: 1621 n += proto.SizeVarint(111<<3 | proto.WireVarint) 1622 n += proto.SizeVarint(uint64(x.OneofUint32)) 1623 case *TestAllTypes_OneofNestedMessage: 1624 s := proto.Size(x.OneofNestedMessage) 1625 n += proto.SizeVarint(112<<3 | proto.WireBytes) 1626 n += proto.SizeVarint(uint64(s)) 1627 n += s 1628 case *TestAllTypes_OneofString: 1629 n += proto.SizeVarint(113<<3 | proto.WireBytes) 1630 n += proto.SizeVarint(uint64(len(x.OneofString))) 1631 n += len(x.OneofString) 1632 case *TestAllTypes_OneofBytes: 1633 n += proto.SizeVarint(114<<3 | proto.WireBytes) 1634 n += proto.SizeVarint(uint64(len(x.OneofBytes))) 1635 n += len(x.OneofBytes) 1636 case *TestAllTypes_OneofBool: 1637 n += proto.SizeVarint(115<<3 | proto.WireVarint) 1638 n += 1 1639 case *TestAllTypes_OneofUint64: 1640 n += proto.SizeVarint(116<<3 | proto.WireVarint) 1641 n += proto.SizeVarint(uint64(x.OneofUint64)) 1642 case *TestAllTypes_OneofFloat: 1643 n += proto.SizeVarint(117<<3 | proto.WireFixed32) 1644 n += 4 1645 case *TestAllTypes_OneofDouble: 1646 n += proto.SizeVarint(118<<3 | proto.WireFixed64) 1647 n += 8 1648 case *TestAllTypes_OneofEnum: 1649 n += proto.SizeVarint(119<<3 | proto.WireVarint) 1650 n += proto.SizeVarint(uint64(x.OneofEnum)) 1651 case nil: 1652 default: 1653 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) 1654 } 1655 return n 1656 } 1657 1658 type TestAllTypes_NestedMessage struct { 1659 A int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"` 1660 Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive" json:"corecursive,omitempty"` 1661 } 1662 1663 func (m *TestAllTypes_NestedMessage) Reset() { *m = TestAllTypes_NestedMessage{} } 1664 func (m *TestAllTypes_NestedMessage) String() string { return proto.CompactTextString(m) } 1665 func (*TestAllTypes_NestedMessage) ProtoMessage() {} 1666 func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} } 1667 1668 func (m *TestAllTypes_NestedMessage) GetA() int32 { 1669 if m != nil { 1670 return m.A 1671 } 1672 return 0 1673 } 1674 1675 func (m *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes { 1676 if m != nil { 1677 return m.Corecursive 1678 } 1679 return nil 1680 } 1681 1682 type ForeignMessage struct { 1683 C int32 `protobuf:"varint,1,opt,name=c" json:"c,omitempty"` 1684 } 1685 1686 func (m *ForeignMessage) Reset() { *m = ForeignMessage{} } 1687 func (m *ForeignMessage) String() string { return proto.CompactTextString(m) } 1688 func (*ForeignMessage) ProtoMessage() {} 1689 func (*ForeignMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} } 1690 1691 func (m *ForeignMessage) GetC() int32 { 1692 if m != nil { 1693 return m.C 1694 } 1695 return 0 1696 } 1697 1698 func init() { 1699 proto.RegisterType((*ConformanceRequest)(nil), "conformance.ConformanceRequest") 1700 proto.RegisterType((*ConformanceResponse)(nil), "conformance.ConformanceResponse") 1701 proto.RegisterType((*TestAllTypes)(nil), "conformance.TestAllTypes") 1702 proto.RegisterType((*TestAllTypes_NestedMessage)(nil), "conformance.TestAllTypes.NestedMessage") 1703 proto.RegisterType((*ForeignMessage)(nil), "conformance.ForeignMessage") 1704 proto.RegisterEnum("conformance.WireFormat", WireFormat_name, WireFormat_value) 1705 proto.RegisterEnum("conformance.ForeignEnum", ForeignEnum_name, ForeignEnum_value) 1706 proto.RegisterEnum("conformance.TestAllTypes_NestedEnum", TestAllTypes_NestedEnum_name, TestAllTypes_NestedEnum_value) 1707 } 1708 1709 func init() { proto.RegisterFile("conformance_proto/conformance.proto", fileDescriptor0) } 1710 1711 var fileDescriptor0 = []byte{ 1712 // 2737 bytes of a gzipped FileDescriptorProto 1713 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x5a, 0xd9, 0x72, 0xdb, 0xc8, 1714 0xd5, 0x16, 0x08, 0x59, 0x4b, 0x93, 0x92, 0xa8, 0xd6, 0xd6, 0x96, 0x5d, 0x63, 0x58, 0xb2, 0x7f, 1715 0xd3, 0xf6, 0x8c, 0xac, 0x05, 0x86, 0x65, 0xcf, 0x3f, 0x8e, 0x45, 0x9b, 0xb4, 0xe4, 0x8c, 0x25, 1716 0x17, 0x64, 0x8d, 0xab, 0x9c, 0x0b, 0x06, 0xa6, 0x20, 0x15, 0xc7, 0x24, 0xc1, 0x01, 0x48, 0x4f, 1717 0x94, 0xcb, 0xbc, 0x41, 0xf6, 0x7d, 0xbd, 0xcf, 0x7a, 0x93, 0xa4, 0x92, 0xab, 0x54, 0x6e, 0xb2, 1718 0x27, 0x95, 0x3d, 0x79, 0x85, 0xbc, 0x43, 0x52, 0xbd, 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 0x6c, 0xd4, 0x61, 0x8e, 0x4d, 1741 0xf6, 0x65, 0x2a, 0x30, 0xc7, 0x86, 0x57, 0xc0, 0x94, 0x80, 0xf5, 0x28, 0x1d, 0xde, 0xd5, 0x84, 1742 0x2b, 0x56, 0x1f, 0x10, 0x6b, 0x02, 0xe8, 0xd8, 0x64, 0x57, 0xc3, 0x2a, 0x50, 0x63, 0x8c, 0x28, 1743 0x23, 0xde, 0xde, 0x74, 0x0c, 0xdc, 0x4f, 0x32, 0x46, 0x94, 0x11, 0xd7, 0x08, 0xaa, 0x40, 0xc7, 1744 0x86, 0x57, 0x41, 0x51, 0x00, 0x8f, 0x1a, 0x9f, 0xf0, 0x0f, 0x37, 0xd6, 0xd1, 0xa8, 0x65, 0x94, 1745 0x46, 0x5d, 0x41, 0x50, 0xa5, 0xe6, 0x24, 0xd4, 0xb1, 0xd1, 0x98, 0x65, 0x94, 0x46, 0x34, 0xa8, 1746 0x63, 0xc3, 0xeb, 0x60, 0x3a, 0x76, 0xcf, 0x69, 0xc7, 0x2d, 0xa3, 0x34, 0xe5, 0x0a, 0x8e, 0x7d, 1747 0x66, 0x4f, 0x01, 0x3b, 0x36, 0x02, 0x96, 0x51, 0x2a, 0xea, 0x60, 0xc7, 0x56, 0x52, 0x7f, 0xd4, 1748 0x0c, 0xbc, 0x2e, 0xca, 0x5b, 0x46, 0x29, 0x17, 0xa7, 0xbe, 0x8a, 0x8d, 0xca, 0xfe, 0x0f, 0x83, 1749 0xde, 0x8b, 0xa6, 0x8f, 0x0a, 0x96, 0x51, 0x32, 0xe2, 0xfd, 0x3f, 0x20, 0x56, 0xb8, 0x0c, 0xc4, 1750 0xca, 0xda, 0x8b, 0x20, 0x68, 0xa2, 0x09, 0xcb, 0x28, 0x8d, 0xb9, 0x05, 0x6e, 0x2c, 0x07, 0x41, 1751 0x53, 0xcd, 0x66, 0x37, 0x6c, 0xb4, 0x8f, 0xd1, 0x24, 0xee, 0x2a, 0x29, 0x9b, 0xc4, 0xa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, 1763 0x33, 0x73, 0xe0, 0x16, 0xc5, 0x1a, 0x9e, 0xce, 0xcb, 0x60, 0x32, 0xf4, 0x3b, 0xbe, 0x87, 0xf3, 1764 0x48, 0x6f, 0xe6, 0x0b, 0x96, 0x89, 0xd5, 0x86, 0x5b, 0x85, 0xda, 0xc8, 0x30, 0xc7, 0x46, 0x96, 1765 0x65, 0x62, 0xb5, 0x91, 0x60, 0x54, 0x1b, 0x04, 0x8c, 0xa9, 0xcd, 0x45, 0xcb, 0xc4, 0x6a, 0xc3, 1766 0xcd, 0xb1, 0xda, 0x28, 0x40, 0xc7, 0x46, 0x4b, 0x96, 0x89, 0xd5, 0x46, 0x06, 0x6a, 0x8c, 0x4c, 1767 0x6d, 0x96, 0x2d, 0x13, 0xab, 0x0d, 0x37, 0xef, 0x27, 0x19, 0x99, 0xda, 0x5c, 0xb2, 0x4c, 0xac, 1768 0x36, 0x32, 0x90, 0xaa, 0x8d, 0x00, 0x72, 0x59, 0xb8, 0x6c, 0x99, 0x58, 0x6d, 0xb8, 0x5d, 0x52, 1769 0x1b, 0x15, 0xea, 0xd8, 0xe8, 0xff, 0x2c, 0x13, 0xab, 0x8d, 0x02, 0xa5, 0x6a, 0x13, 0xbb, 0xe7, 1770 0xb4, 0x57, 0x2c, 0x13, 0xab, 0x8d, 0x08, 0x40, 0x52, 0x1b, 0x0d, 0xec, 0xd8, 0xa8, 0x64, 0x99, 1771 0x58, 0x6d, 0x54, 0x30, 0x55, 0x9b, 0x38, 0x08, 0xa2, 0x36, 0x57, 0x2d, 0x13, 0xab, 0x8d, 0x08, 1772 0x81, 0xab, 0x8d, 0x80, 0x31, 0xb5, 0xb9, 0x66, 0x99, 0x58, 0x6d, 0xb8, 0x39, 0x56, 0x1b, 0x01, 1773 0x24, 0x6a, 0x73, 0xdd, 0x32, 0xb1, 0xda, 0x70, 0x23, 0x57, 0x9b, 0x38, 0x42, 0xaa, 0x36, 0x6f, 1774 0x5a, 0x26, 0x56, 0x1b, 0x11, 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0x95, 0x42, 0x76, 0x7e, 0x55, 0x06, 0x69, 0x77, 1797 0x02, 0xa5, 0x9f, 0x52, 0xbb, 0x4b, 0x56, 0x9e, 0x04, 0xc6, 0x4d, 0x8f, 0xbc, 0xea, 0x00, 0x49, 1798 0xa0, 0xcb, 0xc9, 0x69, 0x18, 0x27, 0x41, 0x32, 0xc2, 0x0e, 0x38, 0x2b, 0x11, 0x6b, 0x87, 0xe4, 1799 0x43, 0xe2, 0xe1, 0xe6, 0x00, 0x1e, 0x94, 0x63, 0x91, 0x7a, 0x9a, 0x6f, 0xa5, 0x5e, 0x84, 0x11, 1800 0x58, 0x94, 0x3c, 0xea, 0xa7, 0xe6, 0x36, 0x71, 0xe9, 0x0c, 0xe0, 0x52, 0x3d, 0x33, 0xa9, 0xcf, 1801 0x85, 0x56, 0xfa, 0x55, 0x78, 0x0c, 0xe6, 0x93, 0xdb, 0x24, 0x47, 0xdf, 0xce, 0x20, 0xf7, 0x80, 1802 0xb4, 0x0d, 0x7c, 0xf4, 0x49, 0xf7, 0x80, 0x76, 0x05, 0xbe, 0x0f, 0x16, 0x52, 0x76, 0x47, 0x3c, 1803 0x3d, 0x22, 0x9e, 0x36, 0x06, 0xdf, 0x5a, 0xec, 0x6a, 0xb6, 0x95, 0x72, 0x09, 0x2e, 0x83, 0x42, 1804 0xd0, 0xf6, 0x83, 0x23, 0x7e, 0xdc, 0x04, 0xf8, 0x11, 0x7b, 0x7b, 0xc8, 0xcd, 0x13, 0x2b, 0x3b, 1805 0x3c, 0x3e, 0x06, 0x66, 0x29, 0x48, 0xab, 0x6d, 0xe7, 0xb5, 0x1e, 0xb7, 0xb6, 0x87, 0x5c, 0x48, 1806 0x68, 0xd4, 0x5a, 0x8a, 0x08, 0x58, 0xb7, 0x7f, 0xc0, 0x27, 0x12, 0xc4, 0xca, 0x7a, 0xf7, 0x22, 1807 0xa0, 0x5f, 0x59, 0xdb, 0x86, 0x6c, 0xbc, 0x01, 0x88, 0x91, 0x76, 0xe1, 0x05, 0x00, 0x18, 0x04, 1808 0xdf, 0x87, 0x11, 0x7e, 0x10, 0xdd, 0x1e, 0x72, 0xc7, 0x29, 0x02, 0xdf, 0x5b, 0xca, 0x56, 0x1d, 1809 0x1b, 0x75, 0x2d, 0xa3, 0x34, 0xac, 0x6c, 0xd5, 0xb1, 0x63, 0x47, 0x54, 0x7b, 0x7a, 0xf8, 0xf1, 1810 0x58, 0x38, 0xa2, 0x62, 0x22, 0x78, 0x98, 0x90, 0xbc, 0xc2, 0x8f, 0xc6, 0x82, 0x87, 0x09, 0x43, 1811 0x85, 0x47, 0x43, 0xca, 0xf6, 0xe1, 0xe0, 0x8f, 0x78, 0x22, 0x66, 0x52, 0x9e, 0x3d, 0xe9, 0x69, 1812 0x8c, 0x88, 0x0c, 0x9b, 0xa6, 0xa1, 0x5f, 0x19, 0x24, 0xf7, 0x8b, 0x2b, 0x74, 0xdc, 0xb6, 0xc2, 1813 0xe7, 0x3c, 0x2b, 0x78, 0xab, 0xef, 0x79, 0xcd, 0x9e, 0x1f, 0x3f, 0xa6, 0x61, 0xd3, 0x33, 0xba, 1814 0x0e, 0xba, 0x60, 0x5e, 0x9d, 0xd1, 0x08, 0xc6, 0x5f, 0x1b, 0xec, 0xd1, 0x56, 0x67, 0x24, 0x7a, 1815 0x47, 0x29, 0x67, 0x95, 0x49, 0x4e, 0x06, 0xa7, 0x63, 0x0b, 0xce, 0xdf, 0xf4, 0xe1, 0x74, 0xec, 1816 0x24, 0xa7, 0x63, 0x73, 0xce, 0x03, 0xe9, 0x21, 0xbf, 0xa7, 0x06, 0xfa, 0x5b, 0x4a, 0x7a, 0x3e, 1817 0x41, 0x7a, 0x20, 0x45, 0x3a, 0xa7, 0x0e, 0x89, 0xb2, 0x68, 0xa5, 0x58, 0x7f, 0xd7, 0x8f, 0x96, 1818 0x07, 0x3b, 0xa7, 0x8e, 0x94, 0xd2, 0x32, 0x40, 0x1a, 0x47, 0xb0, 0xfe, 0x3e, 0x2b, 0x03, 0x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x55, 0xb8, 0x3a, 0xf2, 0xad, 0x82, 0xab, 0xf3, 0x4b, 0x4a, 0x94, 0x5d, 0x1d, 0xe9, 0xee, 1842 0x60, 0xd5, 0x11, 0x14, 0xb8, 0x3a, 0x3f, 0xa3, 0xeb, 0x33, 0xaa, 0xc3, 0xa1, 0xac, 0x3a, 0x62, 1843 0x25, 0xad, 0xce, 0xcf, 0xe9, 0xda, 0xcc, 0xea, 0x70, 0x38, 0xad, 0xce, 0x05, 0x00, 0xc8, 0xfe, 1844 0xdb, 0x5e, 0xcb, 0x5f, 0x43, 0x9f, 0x36, 0xc9, 0x6b, 0x28, 0xc9, 0x04, 0x2d, 0x90, 0xa7, 0xfd, 1845 0x8b, 0xbf, 0xae, 0xa3, 0xcf, 0xc8, 0x88, 0x5d, 0x6c, 0x82, 0x17, 0x41, 0xa1, 0x16, 0x43, 0x36, 1846 0xd0, 0x67, 0x19, 0xa4, 0xca, 0x21, 0x1b, 0x70, 0x09, 0x4c, 0x50, 0x04, 0x81, 0xd8, 0x35, 0xf4, 1847 0x39, 0x9d, 0x86, 0xfc, 0x3d, 0x49, 0xbe, 0xad, 0x62, 0xc8, 0x4d, 0xf4, 0x79, 0x8a, 0x90, 0x6d, 1848 0x70, 0x99, 0xd3, 0xac, 0x12, 0x1e, 0x07, 0x7d, 0x41, 0x01, 0x61, 0x1e, 0x47, 0xec, 0x08, 0x7f, 1849 0xbb, 0x85, 0xbe, 0xa8, 0x3b, 0xba, 0x85, 0x01, 0x22, 0xb4, 0x4d, 0xf4, 0x25, 0x3d, 0xda, 0xcd, 1850 0x78, 0xcb, 0xf8, 0xeb, 0x6d, 0xf4, 0x65, 0x9d, 0xe2, 0x36, 0x5c, 0x02, 0x85, 0xaa, 0x40, 0xac, 1851 0xad, 0xa2, 0xaf, 0xb0, 0x38, 0x04, 0xc9, 0xda, 0x2a, 0xc1, 0xec, 0x54, 0xde, 0x7d, 0x50, 0xdb, 1852 0xdd, 0x7a, 0x5c, 0x59, 0x5b, 0x43, 0x5f, 0xe5, 0x18, 0x6c, 0xa4, 0xb6, 0x18, 0x43, 0x72, 0xbd, 1853 0x8e, 0xbe, 0xa6, 0x60, 0x88, 0x0d, 0x5e, 0x02, 0x93, 0x35, 0x29, 0xbf, 0x6b, 0x1b, 0xe8, 0xeb, 1854 0x09, 0x6f, 0x1b, 0x14, 0x55, 0x8d, 0x51, 0x36, 0xfa, 0x46, 0x02, 0x65, 0xc7, 0x09, 0xa4, 0xa0, 1855 0x9b, 0xe8, 0x9b, 0x72, 0x02, 0x09, 0x48, 0xca, 0x32, 0xdd, 0x9d, 0x83, 0xbe, 0x95, 0x00, 0x39, 1856 0xd8, 0x9f, 0x14, 0xd3, 0xad, 0x5a, 0x0d, 0x7d, 0x3b, 0x81, 0xba, 0x85, 0x51, 0x52, 0x4c, 0x9b, 1857 0xb5, 0x1a, 0xfa, 0x4e, 0x22, 0xaa, 0xcd, 0xc5, 0xe7, 0x60, 0x42, 0x7d, 0xd0, 0x29, 0x00, 0xc3, 1858 0x63, 0x6f, 0x44, 0x0d, 0x0f, 0xbe, 0x0d, 0xf2, 0xf5, 0x40, 0xbc, 0xd4, 0x40, 0xb9, 0xd3, 0x5e, 1859 0x80, 0xc8, 0xe8, 0xc5, 0x7b, 0x00, 0x26, 0x87, 0x94, 0xb0, 0x08, 0xcc, 0x97, 0xfe, 0x09, 0x73, 1860 0x81, 0x7f, 0x85, 0xb3, 0xe0, 0x0c, 0xbd, 0x7d, 0x72, 0xc4, 0x46, 0xbf, 0xdc, 0xc9, 0x6d, 0x1a, 1861 0x31, 0x83, 0x3c, 0x90, 0x94, 0x19, 0xcc, 0x14, 0x06, 0x53, 0x66, 0x28, 0x83, 0xd9, 0xb4, 0xd1, 1862 0xa3, 0xcc, 0x31, 0x91, 0xc2, 0x31, 0x91, 0xce, 0xa1, 0x8c, 0x18, 0x65, 0x8e, 0xe1, 0x14, 0x8e, 1863 0xe1, 0x24, 0x47, 0x62, 0x94, 0x28, 0x73, 0x4c, 0xa7, 0x70, 0x4c, 0xa7, 0x73, 0x28, 0x23, 0x43, 1864 0x99, 0x03, 0xa6, 0x70, 0x40, 0x99, 0xe3, 0x01, 0x98, 0x4f, 0x1f, 0x0c, 0xca, 0x2c, 0xa3, 0x29, 1865 0x2c, 0xa3, 0x19, 0x2c, 0xea, 0xf0, 0x4f, 0x66, 0x19, 0x49, 0x61, 0x19, 0x91, 0x59, 0xaa, 0x00, 1866 0x65, 0x8d, 0xf7, 0x64, 0x9e, 0xa9, 0x14, 0x9e, 0xa9, 0x2c, 0x1e, 0x6d, 0x7c, 0x27, 0xf3, 0x14, 1867 0x53, 0x78, 0x8a, 0xa9, 0xdd, 0x26, 0x0f, 0xe9, 0x4e, 0xeb, 0xd7, 0x9c, 0xcc, 0xb0, 0x05, 0x66, 1868 0x52, 0xe6, 0x71, 0xa7, 0x51, 0x18, 0x32, 0xc5, 0x5d, 0x50, 0xd4, 0x87, 0x6f, 0xf2, 0xfa, 0xb1, 1869 0x94, 0xf5, 0x63, 0x29, 0x4d, 0xa2, 0x0f, 0xda, 0x64, 0x8e, 0xf1, 0x14, 0x8e, 0xf1, 0xe4, 0x36, 1870 0xf4, 0x89, 0xda, 0x69, 0x14, 0x05, 0x99, 0x22, 0x04, 0xe7, 0xfa, 0x8c, 0xcc, 0x52, 0xa8, 0xde, 1871 0x91, 0xa9, 0x5e, 0xe3, 0x7d, 0x95, 0xe4, 0xf3, 0x18, 0x9c, 0xef, 0x37, 0x33, 0x4b, 0x71, 0xba, 1872 0xa6, 0x3a, 0xed, 0xfb, 0x0a, 0x4b, 0x72, 0xd4, 0xa4, 0x0d, 0x97, 0x36, 0x2b, 0x4b, 0x71, 0x72, 1873 0x47, 0x76, 0x32, 0xe8, 0x4b, 0x2d, 0xc9, 0x9b, 0x07, 0xce, 0x66, 0xce, 0xcb, 0x52, 0xdc, 0xad, 1874 0xa8, 0xee, 0xb2, 0x5f, 0x75, 0xc5, 0x2e, 0x96, 0x6e, 0x03, 0x20, 0x4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