1// Code generated by protoc-gen-gogo. DO NOT EDIT. 2// source: combos/unmarshaler/one.proto 3 4package one 5 6import proto "github.com/gogo/protobuf/proto" 7import fmt "fmt" 8import math "math" 9import _ "github.com/gogo/protobuf/gogoproto" 10 11import github_com_gogo_protobuf_test_custom "github.com/gogo/protobuf/test/custom" 12import github_com_gogo_protobuf_test_casttype "github.com/gogo/protobuf/test/casttype" 13 14import github_com_gogo_protobuf_protoc_gen_gogo_descriptor "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" 15import github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto" 16import compress_gzip "compress/gzip" 17import bytes "bytes" 18import io_ioutil "io/ioutil" 19 20import strings "strings" 21import reflect "reflect" 22 23import io "io" 24import encoding_binary "encoding/binary" 25 26// Reference imports to suppress errors if they are not otherwise used. 27var _ = proto.Marshal 28var _ = fmt.Errorf 29var _ = math.Inf 30 31// This is a compile-time assertion to ensure that this generated file 32// is compatible with the proto package it is being compiled against. 33// A compilation error at this line likely means your copy of the 34// proto package needs to be updated. 35const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package 36 37type Subby struct { 38 Sub *string `protobuf:"bytes,1,opt,name=sub" json:"sub,omitempty"` 39 XXX_NoUnkeyedLiteral struct{} `json:"-"` 40 XXX_unrecognized []byte `json:"-"` 41 XXX_sizecache int32 `json:"-"` 42} 43 44func (m *Subby) Reset() { *m = Subby{} } 45func (*Subby) ProtoMessage() {} 46func (*Subby) Descriptor() ([]byte, []int) { 47 return fileDescriptor_one_539b073fce05cef9, []int{0} 48} 49func (m *Subby) XXX_Unmarshal(b []byte) error { 50 return m.Unmarshal(b) 51} 52func (m *Subby) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 53 return xxx_messageInfo_Subby.Marshal(b, m, deterministic) 54} 55func (dst *Subby) XXX_Merge(src proto.Message) { 56 xxx_messageInfo_Subby.Merge(dst, src) 57} 58func (m *Subby) XXX_Size() int { 59 return xxx_messageInfo_Subby.Size(m) 60} 61func (m *Subby) XXX_DiscardUnknown() { 62 xxx_messageInfo_Subby.DiscardUnknown(m) 63} 64 65var xxx_messageInfo_Subby proto.InternalMessageInfo 66 67type AllTypesOneOf struct { 68 // Types that are valid to be assigned to TestOneof: 69 // *AllTypesOneOf_Field1 70 // *AllTypesOneOf_Field2 71 // *AllTypesOneOf_Field3 72 // *AllTypesOneOf_Field4 73 // *AllTypesOneOf_Field5 74 // *AllTypesOneOf_Field6 75 // *AllTypesOneOf_Field7 76 // *AllTypesOneOf_Field8 77 // *AllTypesOneOf_Field9 78 // *AllTypesOneOf_Field10 79 // *AllTypesOneOf_Field11 80 // *AllTypesOneOf_Field12 81 // *AllTypesOneOf_Field13 82 // *AllTypesOneOf_Field14 83 // *AllTypesOneOf_Field15 84 // *AllTypesOneOf_SubMessage 85 TestOneof isAllTypesOneOf_TestOneof `protobuf_oneof:"test_oneof"` 86 XXX_NoUnkeyedLiteral struct{} `json:"-"` 87 XXX_unrecognized []byte `json:"-"` 88 XXX_sizecache int32 `json:"-"` 89} 90 91func (m *AllTypesOneOf) Reset() { *m = AllTypesOneOf{} } 92func (*AllTypesOneOf) ProtoMessage() {} 93func (*AllTypesOneOf) Descriptor() ([]byte, []int) { 94 return fileDescriptor_one_539b073fce05cef9, []int{1} 95} 96func (m *AllTypesOneOf) XXX_Unmarshal(b []byte) error { 97 return m.Unmarshal(b) 98} 99func (m *AllTypesOneOf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 100 return xxx_messageInfo_AllTypesOneOf.Marshal(b, m, deterministic) 101} 102func (dst *AllTypesOneOf) XXX_Merge(src proto.Message) { 103 xxx_messageInfo_AllTypesOneOf.Merge(dst, src) 104} 105func (m *AllTypesOneOf) XXX_Size() int { 106 return xxx_messageInfo_AllTypesOneOf.Size(m) 107} 108func (m *AllTypesOneOf) XXX_DiscardUnknown() { 109 xxx_messageInfo_AllTypesOneOf.DiscardUnknown(m) 110} 111 112var xxx_messageInfo_AllTypesOneOf proto.InternalMessageInfo 113 114type isAllTypesOneOf_TestOneof interface { 115 isAllTypesOneOf_TestOneof() 116 Equal(interface{}) bool 117 VerboseEqual(interface{}) error 118 Size() int 119} 120 121type AllTypesOneOf_Field1 struct { 122 Field1 float64 `protobuf:"fixed64,1,opt,name=Field1,oneof"` 123} 124type AllTypesOneOf_Field2 struct { 125 Field2 float32 `protobuf:"fixed32,2,opt,name=Field2,oneof"` 126} 127type AllTypesOneOf_Field3 struct { 128 Field3 int32 `protobuf:"varint,3,opt,name=Field3,oneof"` 129} 130type AllTypesOneOf_Field4 struct { 131 Field4 int64 `protobuf:"varint,4,opt,name=Field4,oneof"` 132} 133type AllTypesOneOf_Field5 struct { 134 Field5 uint32 `protobuf:"varint,5,opt,name=Field5,oneof"` 135} 136type AllTypesOneOf_Field6 struct { 137 Field6 uint64 `protobuf:"varint,6,opt,name=Field6,oneof"` 138} 139type AllTypesOneOf_Field7 struct { 140 Field7 int32 `protobuf:"zigzag32,7,opt,name=Field7,oneof"` 141} 142type AllTypesOneOf_Field8 struct { 143 Field8 int64 `protobuf:"zigzag64,8,opt,name=Field8,oneof"` 144} 145type AllTypesOneOf_Field9 struct { 146 Field9 uint32 `protobuf:"fixed32,9,opt,name=Field9,oneof"` 147} 148type AllTypesOneOf_Field10 struct { 149 Field10 int32 `protobuf:"fixed32,10,opt,name=Field10,oneof"` 150} 151type AllTypesOneOf_Field11 struct { 152 Field11 uint64 `protobuf:"fixed64,11,opt,name=Field11,oneof"` 153} 154type AllTypesOneOf_Field12 struct { 155 Field12 int64 `protobuf:"fixed64,12,opt,name=Field12,oneof"` 156} 157type AllTypesOneOf_Field13 struct { 158 Field13 bool `protobuf:"varint,13,opt,name=Field13,oneof"` 159} 160type AllTypesOneOf_Field14 struct { 161 Field14 string `protobuf:"bytes,14,opt,name=Field14,oneof"` 162} 163type AllTypesOneOf_Field15 struct { 164 Field15 []byte `protobuf:"bytes,15,opt,name=Field15,oneof"` 165} 166type AllTypesOneOf_SubMessage struct { 167 SubMessage *Subby `protobuf:"bytes,16,opt,name=sub_message,json=subMessage,oneof"` 168} 169 170func (*AllTypesOneOf_Field1) isAllTypesOneOf_TestOneof() {} 171func (*AllTypesOneOf_Field2) isAllTypesOneOf_TestOneof() {} 172func (*AllTypesOneOf_Field3) isAllTypesOneOf_TestOneof() {} 173func (*AllTypesOneOf_Field4) isAllTypesOneOf_TestOneof() {} 174func (*AllTypesOneOf_Field5) isAllTypesOneOf_TestOneof() {} 175func (*AllTypesOneOf_Field6) isAllTypesOneOf_TestOneof() {} 176func (*AllTypesOneOf_Field7) isAllTypesOneOf_TestOneof() {} 177func (*AllTypesOneOf_Field8) isAllTypesOneOf_TestOneof() {} 178func (*AllTypesOneOf_Field9) isAllTypesOneOf_TestOneof() {} 179func (*AllTypesOneOf_Field10) isAllTypesOneOf_TestOneof() {} 180func (*AllTypesOneOf_Field11) isAllTypesOneOf_TestOneof() {} 181func (*AllTypesOneOf_Field12) isAllTypesOneOf_TestOneof() {} 182func (*AllTypesOneOf_Field13) isAllTypesOneOf_TestOneof() {} 183func (*AllTypesOneOf_Field14) isAllTypesOneOf_TestOneof() {} 184func (*AllTypesOneOf_Field15) isAllTypesOneOf_TestOneof() {} 185func (*AllTypesOneOf_SubMessage) isAllTypesOneOf_TestOneof() {} 186 187func (m *AllTypesOneOf) GetTestOneof() isAllTypesOneOf_TestOneof { 188 if m != nil { 189 return m.TestOneof 190 } 191 return nil 192} 193 194func (m *AllTypesOneOf) GetField1() float64 { 195 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field1); ok { 196 return x.Field1 197 } 198 return 0 199} 200 201func (m *AllTypesOneOf) GetField2() float32 { 202 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field2); ok { 203 return x.Field2 204 } 205 return 0 206} 207 208func (m *AllTypesOneOf) GetField3() int32 { 209 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field3); ok { 210 return x.Field3 211 } 212 return 0 213} 214 215func (m *AllTypesOneOf) GetField4() int64 { 216 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field4); ok { 217 return x.Field4 218 } 219 return 0 220} 221 222func (m *AllTypesOneOf) GetField5() uint32 { 223 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field5); ok { 224 return x.Field5 225 } 226 return 0 227} 228 229func (m *AllTypesOneOf) GetField6() uint64 { 230 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field6); ok { 231 return x.Field6 232 } 233 return 0 234} 235 236func (m *AllTypesOneOf) GetField7() int32 { 237 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field7); ok { 238 return x.Field7 239 } 240 return 0 241} 242 243func (m *AllTypesOneOf) GetField8() int64 { 244 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field8); ok { 245 return x.Field8 246 } 247 return 0 248} 249 250func (m *AllTypesOneOf) GetField9() uint32 { 251 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field9); ok { 252 return x.Field9 253 } 254 return 0 255} 256 257func (m *AllTypesOneOf) GetField10() int32 { 258 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field10); ok { 259 return x.Field10 260 } 261 return 0 262} 263 264func (m *AllTypesOneOf) GetField11() uint64 { 265 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field11); ok { 266 return x.Field11 267 } 268 return 0 269} 270 271func (m *AllTypesOneOf) GetField12() int64 { 272 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field12); ok { 273 return x.Field12 274 } 275 return 0 276} 277 278func (m *AllTypesOneOf) GetField13() bool { 279 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field13); ok { 280 return x.Field13 281 } 282 return false 283} 284 285func (m *AllTypesOneOf) GetField14() string { 286 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field14); ok { 287 return x.Field14 288 } 289 return "" 290} 291 292func (m *AllTypesOneOf) GetField15() []byte { 293 if x, ok := m.GetTestOneof().(*AllTypesOneOf_Field15); ok { 294 return x.Field15 295 } 296 return nil 297} 298 299func (m *AllTypesOneOf) GetSubMessage() *Subby { 300 if x, ok := m.GetTestOneof().(*AllTypesOneOf_SubMessage); ok { 301 return x.SubMessage 302 } 303 return nil 304} 305 306// XXX_OneofFuncs is for the internal use of the proto package. 307func (*AllTypesOneOf) 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{}) { 308 return _AllTypesOneOf_OneofMarshaler, _AllTypesOneOf_OneofUnmarshaler, _AllTypesOneOf_OneofSizer, []interface{}{ 309 (*AllTypesOneOf_Field1)(nil), 310 (*AllTypesOneOf_Field2)(nil), 311 (*AllTypesOneOf_Field3)(nil), 312 (*AllTypesOneOf_Field4)(nil), 313 (*AllTypesOneOf_Field5)(nil), 314 (*AllTypesOneOf_Field6)(nil), 315 (*AllTypesOneOf_Field7)(nil), 316 (*AllTypesOneOf_Field8)(nil), 317 (*AllTypesOneOf_Field9)(nil), 318 (*AllTypesOneOf_Field10)(nil), 319 (*AllTypesOneOf_Field11)(nil), 320 (*AllTypesOneOf_Field12)(nil), 321 (*AllTypesOneOf_Field13)(nil), 322 (*AllTypesOneOf_Field14)(nil), 323 (*AllTypesOneOf_Field15)(nil), 324 (*AllTypesOneOf_SubMessage)(nil), 325 } 326} 327 328func _AllTypesOneOf_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { 329 m := msg.(*AllTypesOneOf) 330 // test_oneof 331 switch x := m.TestOneof.(type) { 332 case *AllTypesOneOf_Field1: 333 _ = b.EncodeVarint(1<<3 | proto.WireFixed64) 334 _ = b.EncodeFixed64(math.Float64bits(x.Field1)) 335 case *AllTypesOneOf_Field2: 336 _ = b.EncodeVarint(2<<3 | proto.WireFixed32) 337 _ = b.EncodeFixed32(uint64(math.Float32bits(x.Field2))) 338 case *AllTypesOneOf_Field3: 339 _ = b.EncodeVarint(3<<3 | proto.WireVarint) 340 _ = b.EncodeVarint(uint64(x.Field3)) 341 case *AllTypesOneOf_Field4: 342 _ = b.EncodeVarint(4<<3 | proto.WireVarint) 343 _ = b.EncodeVarint(uint64(x.Field4)) 344 case *AllTypesOneOf_Field5: 345 _ = b.EncodeVarint(5<<3 | proto.WireVarint) 346 _ = b.EncodeVarint(uint64(x.Field5)) 347 case *AllTypesOneOf_Field6: 348 _ = b.EncodeVarint(6<<3 | proto.WireVarint) 349 _ = b.EncodeVarint(uint64(x.Field6)) 350 case *AllTypesOneOf_Field7: 351 _ = b.EncodeVarint(7<<3 | proto.WireVarint) 352 _ = b.EncodeZigzag32(uint64(x.Field7)) 353 case *AllTypesOneOf_Field8: 354 _ = b.EncodeVarint(8<<3 | proto.WireVarint) 355 _ = b.EncodeZigzag64(uint64(x.Field8)) 356 case *AllTypesOneOf_Field9: 357 _ = b.EncodeVarint(9<<3 | proto.WireFixed32) 358 _ = b.EncodeFixed32(uint64(x.Field9)) 359 case *AllTypesOneOf_Field10: 360 _ = b.EncodeVarint(10<<3 | proto.WireFixed32) 361 _ = b.EncodeFixed32(uint64(x.Field10)) 362 case *AllTypesOneOf_Field11: 363 _ = b.EncodeVarint(11<<3 | proto.WireFixed64) 364 _ = b.EncodeFixed64(uint64(x.Field11)) 365 case *AllTypesOneOf_Field12: 366 _ = b.EncodeVarint(12<<3 | proto.WireFixed64) 367 _ = b.EncodeFixed64(uint64(x.Field12)) 368 case *AllTypesOneOf_Field13: 369 t := uint64(0) 370 if x.Field13 { 371 t = 1 372 } 373 _ = b.EncodeVarint(13<<3 | proto.WireVarint) 374 _ = b.EncodeVarint(t) 375 case *AllTypesOneOf_Field14: 376 _ = b.EncodeVarint(14<<3 | proto.WireBytes) 377 _ = b.EncodeStringBytes(x.Field14) 378 case *AllTypesOneOf_Field15: 379 _ = b.EncodeVarint(15<<3 | proto.WireBytes) 380 _ = b.EncodeRawBytes(x.Field15) 381 case *AllTypesOneOf_SubMessage: 382 _ = b.EncodeVarint(16<<3 | proto.WireBytes) 383 if err := b.EncodeMessage(x.SubMessage); err != nil { 384 return err 385 } 386 case nil: 387 default: 388 return fmt.Errorf("AllTypesOneOf.TestOneof has unexpected type %T", x) 389 } 390 return nil 391} 392 393func _AllTypesOneOf_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { 394 m := msg.(*AllTypesOneOf) 395 switch tag { 396 case 1: // test_oneof.Field1 397 if wire != proto.WireFixed64 { 398 return true, proto.ErrInternalBadWireType 399 } 400 x, err := b.DecodeFixed64() 401 m.TestOneof = &AllTypesOneOf_Field1{math.Float64frombits(x)} 402 return true, err 403 case 2: // test_oneof.Field2 404 if wire != proto.WireFixed32 { 405 return true, proto.ErrInternalBadWireType 406 } 407 x, err := b.DecodeFixed32() 408 m.TestOneof = &AllTypesOneOf_Field2{math.Float32frombits(uint32(x))} 409 return true, err 410 case 3: // test_oneof.Field3 411 if wire != proto.WireVarint { 412 return true, proto.ErrInternalBadWireType 413 } 414 x, err := b.DecodeVarint() 415 m.TestOneof = &AllTypesOneOf_Field3{int32(x)} 416 return true, err 417 case 4: // test_oneof.Field4 418 if wire != proto.WireVarint { 419 return true, proto.ErrInternalBadWireType 420 } 421 x, err := b.DecodeVarint() 422 m.TestOneof = &AllTypesOneOf_Field4{int64(x)} 423 return true, err 424 case 5: // test_oneof.Field5 425 if wire != proto.WireVarint { 426 return true, proto.ErrInternalBadWireType 427 } 428 x, err := b.DecodeVarint() 429 m.TestOneof = &AllTypesOneOf_Field5{uint32(x)} 430 return true, err 431 case 6: // test_oneof.Field6 432 if wire != proto.WireVarint { 433 return true, proto.ErrInternalBadWireType 434 } 435 x, err := b.DecodeVarint() 436 m.TestOneof = &AllTypesOneOf_Field6{x} 437 return true, err 438 case 7: // test_oneof.Field7 439 if wire != proto.WireVarint { 440 return true, proto.ErrInternalBadWireType 441 } 442 x, err := b.DecodeZigzag32() 443 m.TestOneof = &AllTypesOneOf_Field7{int32(x)} 444 return true, err 445 case 8: // test_oneof.Field8 446 if wire != proto.WireVarint { 447 return true, proto.ErrInternalBadWireType 448 } 449 x, err := b.DecodeZigzag64() 450 m.TestOneof = &AllTypesOneOf_Field8{int64(x)} 451 return true, err 452 case 9: // test_oneof.Field9 453 if wire != proto.WireFixed32 { 454 return true, proto.ErrInternalBadWireType 455 } 456 x, err := b.DecodeFixed32() 457 m.TestOneof = &AllTypesOneOf_Field9{uint32(x)} 458 return true, err 459 case 10: // test_oneof.Field10 460 if wire != proto.WireFixed32 { 461 return true, proto.ErrInternalBadWireType 462 } 463 x, err := b.DecodeFixed32() 464 m.TestOneof = &AllTypesOneOf_Field10{int32(x)} 465 return true, err 466 case 11: // test_oneof.Field11 467 if wire != proto.WireFixed64 { 468 return true, proto.ErrInternalBadWireType 469 } 470 x, err := b.DecodeFixed64() 471 m.TestOneof = &AllTypesOneOf_Field11{x} 472 return true, err 473 case 12: // test_oneof.Field12 474 if wire != proto.WireFixed64 { 475 return true, proto.ErrInternalBadWireType 476 } 477 x, err := b.DecodeFixed64() 478 m.TestOneof = &AllTypesOneOf_Field12{int64(x)} 479 return true, err 480 case 13: // test_oneof.Field13 481 if wire != proto.WireVarint { 482 return true, proto.ErrInternalBadWireType 483 } 484 x, err := b.DecodeVarint() 485 m.TestOneof = &AllTypesOneOf_Field13{x != 0} 486 return true, err 487 case 14: // test_oneof.Field14 488 if wire != proto.WireBytes { 489 return true, proto.ErrInternalBadWireType 490 } 491 x, err := b.DecodeStringBytes() 492 m.TestOneof = &AllTypesOneOf_Field14{x} 493 return true, err 494 case 15: // test_oneof.Field15 495 if wire != proto.WireBytes { 496 return true, proto.ErrInternalBadWireType 497 } 498 x, err := b.DecodeRawBytes(true) 499 m.TestOneof = &AllTypesOneOf_Field15{x} 500 return true, err 501 case 16: // test_oneof.sub_message 502 if wire != proto.WireBytes { 503 return true, proto.ErrInternalBadWireType 504 } 505 msg := new(Subby) 506 err := b.DecodeMessage(msg) 507 m.TestOneof = &AllTypesOneOf_SubMessage{msg} 508 return true, err 509 default: 510 return false, nil 511 } 512} 513 514func _AllTypesOneOf_OneofSizer(msg proto.Message) (n int) { 515 m := msg.(*AllTypesOneOf) 516 // test_oneof 517 switch x := m.TestOneof.(type) { 518 case *AllTypesOneOf_Field1: 519 n += 1 // tag and wire 520 n += 8 521 case *AllTypesOneOf_Field2: 522 n += 1 // tag and wire 523 n += 4 524 case *AllTypesOneOf_Field3: 525 n += 1 // tag and wire 526 n += proto.SizeVarint(uint64(x.Field3)) 527 case *AllTypesOneOf_Field4: 528 n += 1 // tag and wire 529 n += proto.SizeVarint(uint64(x.Field4)) 530 case *AllTypesOneOf_Field5: 531 n += 1 // tag and wire 532 n += proto.SizeVarint(uint64(x.Field5)) 533 case *AllTypesOneOf_Field6: 534 n += 1 // tag and wire 535 n += proto.SizeVarint(uint64(x.Field6)) 536 case *AllTypesOneOf_Field7: 537 n += 1 // tag and wire 538 n += proto.SizeVarint(uint64((uint32(x.Field7) << 1) ^ uint32((int32(x.Field7) >> 31)))) 539 case *AllTypesOneOf_Field8: 540 n += 1 // tag and wire 541 n += proto.SizeVarint(uint64(uint64(x.Field8<<1) ^ uint64((int64(x.Field8) >> 63)))) 542 case *AllTypesOneOf_Field9: 543 n += 1 // tag and wire 544 n += 4 545 case *AllTypesOneOf_Field10: 546 n += 1 // tag and wire 547 n += 4 548 case *AllTypesOneOf_Field11: 549 n += 1 // tag and wire 550 n += 8 551 case *AllTypesOneOf_Field12: 552 n += 1 // tag and wire 553 n += 8 554 case *AllTypesOneOf_Field13: 555 n += 1 // tag and wire 556 n += 1 557 case *AllTypesOneOf_Field14: 558 n += 1 // tag and wire 559 n += proto.SizeVarint(uint64(len(x.Field14))) 560 n += len(x.Field14) 561 case *AllTypesOneOf_Field15: 562 n += 1 // tag and wire 563 n += proto.SizeVarint(uint64(len(x.Field15))) 564 n += len(x.Field15) 565 case *AllTypesOneOf_SubMessage: 566 s := proto.Size(x.SubMessage) 567 n += 2 // tag and wire 568 n += proto.SizeVarint(uint64(s)) 569 n += s 570 case nil: 571 default: 572 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) 573 } 574 return n 575} 576 577type TwoOneofs struct { 578 // Types that are valid to be assigned to One: 579 // *TwoOneofs_Field1 580 // *TwoOneofs_Field2 581 // *TwoOneofs_Field3 582 One isTwoOneofs_One `protobuf_oneof:"one"` 583 // Types that are valid to be assigned to Two: 584 // *TwoOneofs_Field34 585 // *TwoOneofs_Field35 586 // *TwoOneofs_SubMessage2 587 Two isTwoOneofs_Two `protobuf_oneof:"two"` 588 XXX_NoUnkeyedLiteral struct{} `json:"-"` 589 XXX_unrecognized []byte `json:"-"` 590 XXX_sizecache int32 `json:"-"` 591} 592 593func (m *TwoOneofs) Reset() { *m = TwoOneofs{} } 594func (*TwoOneofs) ProtoMessage() {} 595func (*TwoOneofs) Descriptor() ([]byte, []int) { 596 return fileDescriptor_one_539b073fce05cef9, []int{2} 597} 598func (m *TwoOneofs) XXX_Unmarshal(b []byte) error { 599 return m.Unmarshal(b) 600} 601func (m *TwoOneofs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 602 return xxx_messageInfo_TwoOneofs.Marshal(b, m, deterministic) 603} 604func (dst *TwoOneofs) XXX_Merge(src proto.Message) { 605 xxx_messageInfo_TwoOneofs.Merge(dst, src) 606} 607func (m *TwoOneofs) XXX_Size() int { 608 return xxx_messageInfo_TwoOneofs.Size(m) 609} 610func (m *TwoOneofs) XXX_DiscardUnknown() { 611 xxx_messageInfo_TwoOneofs.DiscardUnknown(m) 612} 613 614var xxx_messageInfo_TwoOneofs proto.InternalMessageInfo 615 616type isTwoOneofs_One interface { 617 isTwoOneofs_One() 618 Equal(interface{}) bool 619 VerboseEqual(interface{}) error 620 Size() int 621} 622type isTwoOneofs_Two interface { 623 isTwoOneofs_Two() 624 Equal(interface{}) bool 625 VerboseEqual(interface{}) error 626 Size() int 627} 628 629type TwoOneofs_Field1 struct { 630 Field1 float64 `protobuf:"fixed64,1,opt,name=Field1,oneof"` 631} 632type TwoOneofs_Field2 struct { 633 Field2 float32 `protobuf:"fixed32,2,opt,name=Field2,oneof"` 634} 635type TwoOneofs_Field3 struct { 636 Field3 int32 `protobuf:"varint,3,opt,name=Field3,oneof"` 637} 638type TwoOneofs_Field34 struct { 639 Field34 string `protobuf:"bytes,34,opt,name=Field34,oneof"` 640} 641type TwoOneofs_Field35 struct { 642 Field35 []byte `protobuf:"bytes,35,opt,name=Field35,oneof"` 643} 644type TwoOneofs_SubMessage2 struct { 645 SubMessage2 *Subby `protobuf:"bytes,36,opt,name=sub_message2,json=subMessage2,oneof"` 646} 647 648func (*TwoOneofs_Field1) isTwoOneofs_One() {} 649func (*TwoOneofs_Field2) isTwoOneofs_One() {} 650func (*TwoOneofs_Field3) isTwoOneofs_One() {} 651func (*TwoOneofs_Field34) isTwoOneofs_Two() {} 652func (*TwoOneofs_Field35) isTwoOneofs_Two() {} 653func (*TwoOneofs_SubMessage2) isTwoOneofs_Two() {} 654 655func (m *TwoOneofs) GetOne() isTwoOneofs_One { 656 if m != nil { 657 return m.One 658 } 659 return nil 660} 661func (m *TwoOneofs) GetTwo() isTwoOneofs_Two { 662 if m != nil { 663 return m.Two 664 } 665 return nil 666} 667 668func (m *TwoOneofs) GetField1() float64 { 669 if x, ok := m.GetOne().(*TwoOneofs_Field1); ok { 670 return x.Field1 671 } 672 return 0 673} 674 675func (m *TwoOneofs) GetField2() float32 { 676 if x, ok := m.GetOne().(*TwoOneofs_Field2); ok { 677 return x.Field2 678 } 679 return 0 680} 681 682func (m *TwoOneofs) GetField3() int32 { 683 if x, ok := m.GetOne().(*TwoOneofs_Field3); ok { 684 return x.Field3 685 } 686 return 0 687} 688 689func (m *TwoOneofs) GetField34() string { 690 if x, ok := m.GetTwo().(*TwoOneofs_Field34); ok { 691 return x.Field34 692 } 693 return "" 694} 695 696func (m *TwoOneofs) GetField35() []byte { 697 if x, ok := m.GetTwo().(*TwoOneofs_Field35); ok { 698 return x.Field35 699 } 700 return nil 701} 702 703func (m *TwoOneofs) GetSubMessage2() *Subby { 704 if x, ok := m.GetTwo().(*TwoOneofs_SubMessage2); ok { 705 return x.SubMessage2 706 } 707 return nil 708} 709 710// XXX_OneofFuncs is for the internal use of the proto package. 711func (*TwoOneofs) 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{}) { 712 return _TwoOneofs_OneofMarshaler, _TwoOneofs_OneofUnmarshaler, _TwoOneofs_OneofSizer, []interface{}{ 713 (*TwoOneofs_Field1)(nil), 714 (*TwoOneofs_Field2)(nil), 715 (*TwoOneofs_Field3)(nil), 716 (*TwoOneofs_Field34)(nil), 717 (*TwoOneofs_Field35)(nil), 718 (*TwoOneofs_SubMessage2)(nil), 719 } 720} 721 722func _TwoOneofs_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { 723 m := msg.(*TwoOneofs) 724 // one 725 switch x := m.One.(type) { 726 case *TwoOneofs_Field1: 727 _ = b.EncodeVarint(1<<3 | proto.WireFixed64) 728 _ = b.EncodeFixed64(math.Float64bits(x.Field1)) 729 case *TwoOneofs_Field2: 730 _ = b.EncodeVarint(2<<3 | proto.WireFixed32) 731 _ = b.EncodeFixed32(uint64(math.Float32bits(x.Field2))) 732 case *TwoOneofs_Field3: 733 _ = b.EncodeVarint(3<<3 | proto.WireVarint) 734 _ = b.EncodeVarint(uint64(x.Field3)) 735 case nil: 736 default: 737 return fmt.Errorf("TwoOneofs.One has unexpected type %T", x) 738 } 739 // two 740 switch x := m.Two.(type) { 741 case *TwoOneofs_Field34: 742 _ = b.EncodeVarint(34<<3 | proto.WireBytes) 743 _ = b.EncodeStringBytes(x.Field34) 744 case *TwoOneofs_Field35: 745 _ = b.EncodeVarint(35<<3 | proto.WireBytes) 746 _ = b.EncodeRawBytes(x.Field35) 747 case *TwoOneofs_SubMessage2: 748 _ = b.EncodeVarint(36<<3 | proto.WireBytes) 749 if err := b.EncodeMessage(x.SubMessage2); err != nil { 750 return err 751 } 752 case nil: 753 default: 754 return fmt.Errorf("TwoOneofs.Two has unexpected type %T", x) 755 } 756 return nil 757} 758 759func _TwoOneofs_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { 760 m := msg.(*TwoOneofs) 761 switch tag { 762 case 1: // one.Field1 763 if wire != proto.WireFixed64 { 764 return true, proto.ErrInternalBadWireType 765 } 766 x, err := b.DecodeFixed64() 767 m.One = &TwoOneofs_Field1{math.Float64frombits(x)} 768 return true, err 769 case 2: // one.Field2 770 if wire != proto.WireFixed32 { 771 return true, proto.ErrInternalBadWireType 772 } 773 x, err := b.DecodeFixed32() 774 m.One = &TwoOneofs_Field2{math.Float32frombits(uint32(x))} 775 return true, err 776 case 3: // one.Field3 777 if wire != proto.WireVarint { 778 return true, proto.ErrInternalBadWireType 779 } 780 x, err := b.DecodeVarint() 781 m.One = &TwoOneofs_Field3{int32(x)} 782 return true, err 783 case 34: // two.Field34 784 if wire != proto.WireBytes { 785 return true, proto.ErrInternalBadWireType 786 } 787 x, err := b.DecodeStringBytes() 788 m.Two = &TwoOneofs_Field34{x} 789 return true, err 790 case 35: // two.Field35 791 if wire != proto.WireBytes { 792 return true, proto.ErrInternalBadWireType 793 } 794 x, err := b.DecodeRawBytes(true) 795 m.Two = &TwoOneofs_Field35{x} 796 return true, err 797 case 36: // two.sub_message2 798 if wire != proto.WireBytes { 799 return true, proto.ErrInternalBadWireType 800 } 801 msg := new(Subby) 802 err := b.DecodeMessage(msg) 803 m.Two = &TwoOneofs_SubMessage2{msg} 804 return true, err 805 default: 806 return false, nil 807 } 808} 809 810func _TwoOneofs_OneofSizer(msg proto.Message) (n int) { 811 m := msg.(*TwoOneofs) 812 // one 813 switch x := m.One.(type) { 814 case *TwoOneofs_Field1: 815 n += 1 // tag and wire 816 n += 8 817 case *TwoOneofs_Field2: 818 n += 1 // tag and wire 819 n += 4 820 case *TwoOneofs_Field3: 821 n += 1 // tag and wire 822 n += proto.SizeVarint(uint64(x.Field3)) 823 case nil: 824 default: 825 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) 826 } 827 // two 828 switch x := m.Two.(type) { 829 case *TwoOneofs_Field34: 830 n += 2 // tag and wire 831 n += proto.SizeVarint(uint64(len(x.Field34))) 832 n += len(x.Field34) 833 case *TwoOneofs_Field35: 834 n += 2 // tag and wire 835 n += proto.SizeVarint(uint64(len(x.Field35))) 836 n += len(x.Field35) 837 case *TwoOneofs_SubMessage2: 838 s := proto.Size(x.SubMessage2) 839 n += 2 // tag and wire 840 n += proto.SizeVarint(uint64(s)) 841 n += s 842 case nil: 843 default: 844 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) 845 } 846 return n 847} 848 849type CustomOneof struct { 850 // Types that are valid to be assigned to Custom: 851 // *CustomOneof_Stringy 852 // *CustomOneof_CustomType 853 // *CustomOneof_CastType 854 // *CustomOneof_MyCustomName 855 Custom isCustomOneof_Custom `protobuf_oneof:"custom"` 856 XXX_NoUnkeyedLiteral struct{} `json:"-"` 857 XXX_unrecognized []byte `json:"-"` 858 XXX_sizecache int32 `json:"-"` 859} 860 861func (m *CustomOneof) Reset() { *m = CustomOneof{} } 862func (*CustomOneof) ProtoMessage() {} 863func (*CustomOneof) Descriptor() ([]byte, []int) { 864 return fileDescriptor_one_539b073fce05cef9, []int{3} 865} 866func (m *CustomOneof) XXX_Unmarshal(b []byte) error { 867 return m.Unmarshal(b) 868} 869func (m *CustomOneof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 870 return xxx_messageInfo_CustomOneof.Marshal(b, m, deterministic) 871} 872func (dst *CustomOneof) XXX_Merge(src proto.Message) { 873 xxx_messageInfo_CustomOneof.Merge(dst, src) 874} 875func (m *CustomOneof) XXX_Size() int { 876 return xxx_messageInfo_CustomOneof.Size(m) 877} 878func (m *CustomOneof) XXX_DiscardUnknown() { 879 xxx_messageInfo_CustomOneof.DiscardUnknown(m) 880} 881 882var xxx_messageInfo_CustomOneof proto.InternalMessageInfo 883 884type isCustomOneof_Custom interface { 885 isCustomOneof_Custom() 886 Equal(interface{}) bool 887 VerboseEqual(interface{}) error 888 Size() int 889} 890 891type CustomOneof_Stringy struct { 892 Stringy string `protobuf:"bytes,34,opt,name=Stringy,oneof"` 893} 894type CustomOneof_CustomType struct { 895 CustomType github_com_gogo_protobuf_test_custom.Uint128 `protobuf:"bytes,35,opt,name=CustomType,oneof,customtype=github.com/gogo/protobuf/test/custom.Uint128"` 896} 897type CustomOneof_CastType struct { 898 CastType github_com_gogo_protobuf_test_casttype.MyUint64Type `protobuf:"varint,36,opt,name=CastType,oneof,casttype=github.com/gogo/protobuf/test/casttype.MyUint64Type"` 899} 900type CustomOneof_MyCustomName struct { 901 MyCustomName int64 `protobuf:"varint,37,opt,name=CustomName,oneof"` 902} 903 904func (*CustomOneof_Stringy) isCustomOneof_Custom() {} 905func (*CustomOneof_CustomType) isCustomOneof_Custom() {} 906func (*CustomOneof_CastType) isCustomOneof_Custom() {} 907func (*CustomOneof_MyCustomName) isCustomOneof_Custom() {} 908 909func (m *CustomOneof) GetCustom() isCustomOneof_Custom { 910 if m != nil { 911 return m.Custom 912 } 913 return nil 914} 915 916func (m *CustomOneof) GetStringy() string { 917 if x, ok := m.GetCustom().(*CustomOneof_Stringy); ok { 918 return x.Stringy 919 } 920 return "" 921} 922 923func (m *CustomOneof) GetCastType() github_com_gogo_protobuf_test_casttype.MyUint64Type { 924 if x, ok := m.GetCustom().(*CustomOneof_CastType); ok { 925 return x.CastType 926 } 927 return 0 928} 929 930func (m *CustomOneof) GetMyCustomName() int64 { 931 if x, ok := m.GetCustom().(*CustomOneof_MyCustomName); ok { 932 return x.MyCustomName 933 } 934 return 0 935} 936 937// XXX_OneofFuncs is for the internal use of the proto package. 938func (*CustomOneof) 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{}) { 939 return _CustomOneof_OneofMarshaler, _CustomOneof_OneofUnmarshaler, _CustomOneof_OneofSizer, []interface{}{ 940 (*CustomOneof_Stringy)(nil), 941 (*CustomOneof_CustomType)(nil), 942 (*CustomOneof_CastType)(nil), 943 (*CustomOneof_MyCustomName)(nil), 944 } 945} 946 947func _CustomOneof_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { 948 m := msg.(*CustomOneof) 949 // custom 950 switch x := m.Custom.(type) { 951 case *CustomOneof_Stringy: 952 _ = b.EncodeVarint(34<<3 | proto.WireBytes) 953 _ = b.EncodeStringBytes(x.Stringy) 954 case *CustomOneof_CustomType: 955 _ = b.EncodeVarint(35<<3 | proto.WireBytes) 956 dAtA, err := x.CustomType.Marshal() 957 if err != nil { 958 return err 959 } 960 _ = b.EncodeRawBytes(dAtA) 961 case *CustomOneof_CastType: 962 _ = b.EncodeVarint(36<<3 | proto.WireVarint) 963 _ = b.EncodeVarint(uint64(x.CastType)) 964 case *CustomOneof_MyCustomName: 965 _ = b.EncodeVarint(37<<3 | proto.WireVarint) 966 _ = b.EncodeVarint(uint64(x.MyCustomName)) 967 case nil: 968 default: 969 return fmt.Errorf("CustomOneof.Custom has unexpected type %T", x) 970 } 971 return nil 972} 973 974func _CustomOneof_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { 975 m := msg.(*CustomOneof) 976 switch tag { 977 case 34: // custom.Stringy 978 if wire != proto.WireBytes { 979 return true, proto.ErrInternalBadWireType 980 } 981 x, err := b.DecodeStringBytes() 982 m.Custom = &CustomOneof_Stringy{x} 983 return true, err 984 case 35: // custom.CustomType 985 if wire != proto.WireBytes { 986 return true, proto.ErrInternalBadWireType 987 } 988 x, err := b.DecodeRawBytes(true) 989 if err != nil { 990 return true, err 991 } 992 var cc github_com_gogo_protobuf_test_custom.Uint128 993 c := &cc 994 err = c.Unmarshal(x) 995 m.Custom = &CustomOneof_CustomType{*c} 996 return true, err 997 case 36: // custom.CastType 998 if wire != proto.WireVarint { 999 return true, proto.ErrInternalBadWireType 1000 } 1001 x, err := b.DecodeVarint() 1002 m.Custom = &CustomOneof_CastType{github_com_gogo_protobuf_test_casttype.MyUint64Type(x)} 1003 return true, err 1004 case 37: // custom.CustomName 1005 if wire != proto.WireVarint { 1006 return true, proto.ErrInternalBadWireType 1007 } 1008 x, err := b.DecodeVarint() 1009 m.Custom = &CustomOneof_MyCustomName{int64(x)} 1010 return true, err 1011 default: 1012 return false, nil 1013 } 1014} 1015 1016func _CustomOneof_OneofSizer(msg proto.Message) (n int) { 1017 m := msg.(*CustomOneof) 1018 // custom 1019 switch x := m.Custom.(type) { 1020 case *CustomOneof_Stringy: 1021 n += 2 // tag and wire 1022 n += proto.SizeVarint(uint64(len(x.Stringy))) 1023 n += len(x.Stringy) 1024 case *CustomOneof_CustomType: 1025 n += 2 // tag and wire 1026 n += proto.SizeVarint(uint64(x.CustomType.Size())) 1027 n += x.CustomType.Size() 1028 case *CustomOneof_CastType: 1029 n += 2 // tag and wire 1030 n += proto.SizeVarint(uint64(x.CastType)) 1031 case *CustomOneof_MyCustomName: 1032 n += 2 // tag and wire 1033 n += proto.SizeVarint(uint64(x.MyCustomName)) 1034 case nil: 1035 default: 1036 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) 1037 } 1038 return n 1039} 1040 1041func init() { 1042 proto.RegisterType((*Subby)(nil), "one.Subby") 1043 proto.RegisterType((*AllTypesOneOf)(nil), "one.AllTypesOneOf") 1044 proto.RegisterType((*TwoOneofs)(nil), "one.TwoOneofs") 1045 proto.RegisterType((*CustomOneof)(nil), "one.CustomOneof") 1046} 1047func (this *Subby) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { 1048 return OneDescription() 1049} 1050func (this *AllTypesOneOf) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { 1051 return OneDescription() 1052} 1053func (this *TwoOneofs) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { 1054 return OneDescription() 1055} 1056func (this *CustomOneof) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { 1057 return OneDescription() 1058} 1059func OneDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { 1060 d := &github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet{} 1061 var gzipped = []byte{ 1062 // 4179 bytes of a gzipped FileDescriptorSet 1063 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x5d, 0x70, 0x24, 0xd7, 1064 0x55, 0x56, 0xcf, 0x8f, 0x34, 0x73, 0x66, 0x34, 0x6a, 0x5d, 0xc9, 0xeb, 0x59, 0xd9, 0x9e, 0xdd, 1065 0x1d, 0xdb, 0xb1, 0x6c, 0xc7, 0x92, 0xad, 0x95, 0xb4, 0xbb, 0xb3, 0x24, 0x66, 0x24, 0xcd, 0x6a, 1066 0x65, 0x24, 0x8d, 0xd2, 0x92, 0xe2, 0x9f, 0x14, 0xd5, 0xd5, 0xea, 0xb9, 0x1a, 0xf5, 0x6e, 0x4f, 1067 0x77, 0xa7, 0xbb, 0x67, 0xd7, 0xda, 0xe2, 0x61, 0x29, 0xf3, 0x53, 0x29, 0x8a, 0xbf, 0x40, 0x15, 1068 0x89, 0x71, 0x0c, 0xa1, 0x2a, 0x38, 0x84, 0xbf, 0x84, 0x40, 0x48, 0x78, 0xe2, 0x25, 0xe0, 0x27, 1069 0xca, 0x79, 0xa3, 0x28, 0xca, 0xe5, 0x55, 0x5c, 0x45, 0x00, 0x43, 0x0c, 0xf8, 0xc1, 0x85, 0x79, 1070 0xa0, 0xee, 0x5f, 0x77, 0xcf, 0x8f, 0xb6, 0x47, 0xa9, 0xd8, 0x79, 0x92, 0xfa, 0x9c, 0xf3, 0x7d, 1071 0x7d, 0xee, 0xb9, 0xe7, 0x9e, 0x7b, 0xee, 0xed, 0x81, 0x1f, 0x5e, 0x82, 0xb3, 0x4d, 0xdb, 0x6e, 1072 0x9a, 0x78, 0xd6, 0x71, 0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b6, 0x1f, 0xe8, 1139 0x93, 0x54, 0x0f, 0x4c, 0x44, 0x0d, 0x2e, 0x86, 0x8e, 0xa6, 0xa8, 0xa3, 0xa5, 0x63, 0x46, 0xda, 1140 0x93, 0x98, 0x4f, 0x82, 0xac, 0x9b, 0x06, 0xb6, 0x7c, 0xd5, 0xf3, 0x5d, 0xac, 0xb5, 0x0c, 0xab, 1141 0x49, 0x77, 0x90, 0x4c, 0x25, 0xbd, 0xaf, 0x99, 0x1e, 0x56, 0xc6, 0x98, 0x7a, 0x5b, 0x68, 0x09, 1142 0x82, 0x26, 0x90, 0x1b, 0x41, 0x0c, 0x77, 0x20, 0x98, 0x3a, 0x40, 0x94, 0xbf, 0x99, 0x81, 0x5c, 1143 0xa4, 0xaf, 0x46, 0xe7, 0x20, 0x7f, 0x4d, 0xbb, 0xa1, 0xa9, 0xe2, 0xac, 0xc4, 0x22, 0x91, 0x23, 1144 0xb2, 0x2d, 0x7e, 0x5e, 0x7a, 0x12, 0x26, 0xa9, 0x89, 0xdd, 0xf6, 0xb1, 0xab, 0xea, 0xa6, 0xe6, 1145 0x79, 0x34, 0x68, 0x19, 0x6a, 0x8a, 0x88, 0xae, 0x4e, 0x54, 0xcb, 0x42, 0x83, 0x16, 0x60, 0x82, 1146 0x22, 0x5a, 0x6d, 0xd3, 0x37, 0x1c, 0x13, 0xab, 0xe4, 0xf4, 0xe6, 0xd1, 0x9d, 0x24, 0xf0, 0x6c, 1147 0x9c, 0x58, 0x6c, 0x70, 0x03, 0xe2, 0x91, 0x87, 0x56, 0xe0, 0x01, 0x0a, 0x6b, 0x62, 0x0b, 0xbb, 1148 0x9a, 0x8f, 0x55, 0xfc, 0xd9, 0xb6, 0x66, 0x7a, 0xaa, 0x66, 0x35, 0xd4, 0x03, 0xcd, 0x3b, 0x28, 1149 0x4e, 0x12, 0x82, 0xa5, 0x44, 0x51, 0x52, 0x4e, 0x13, 0xc3, 0x55, 0x6e, 0x57, 0xa3, 0x66, 0x55, 1150 0xab, 0x71, 0x55, 0xf3, 0x0e, 0x50, 0x05, 0x4e, 0x51, 0x16, 0xcf, 0x77, 0x0d, 0xab, 0xa9, 0xea, 1151 0x07, 0x58, 0xbf, 0xae, 0xb6, 0xfd, 0xfd, 0x8b, 0xc5, 0xfb, 0xa2, 0xef, 0xa7, 0x1e, 0x6e, 0x53, 1152 0x9b, 0x65, 0x62, 0xb2, 0xeb, 0xef, 0x5f, 0x44, 0xdb, 0x90, 0x27, 0x93, 0xd1, 0x32, 0x6e, 0x61, 1153 0x75, 0xdf, 0x76, 0xe9, 0xd6, 0x58, 0xe8, 0x53, 0x9a, 0x22, 0x11, 0x9c, 0xa9, 0x73, 0xc0, 0x86, 1154 0xdd, 0xc0, 0x95, 0xf4, 0xf6, 0x56, 0xad, 0xb6, 0xa2, 0xe4, 0x04, 0xcb, 0x15, 0xdb, 0x25, 0x09, 1155 0xd5, 0xb4, 0x83, 0x00, 0xe7, 0x58, 0x42, 0x35, 0x6d, 0x11, 0xde, 0x05, 0x98, 0xd0, 0x75, 0x36, 1156 0x66, 0x43, 0x57, 0xf9, 0x19, 0xcb, 0x2b, 0xca, 0x1d, 0xc1, 0xd2, 0xf5, 0x55, 0x66, 0xc0, 0x73, 1157 0xdc, 0x43, 0x97, 0xe0, 0x9e, 0x30, 0x58, 0x51, 0xe0, 0x78, 0xcf, 0x28, 0xbb, 0xa1, 0x0b, 0x30, 1158 0xe1, 0x1c, 0xf6, 0x02, 0x51, 0xc7, 0x1b, 0x9d, 0xc3, 0x6e, 0xd8, 0x05, 0x98, 0x74, 0x0e, 0x9c, 1159 0x5e, 0xdc, 0x63, 0x51, 0x1c, 0x72, 0x0e, 0x9c, 0x6e, 0xe0, 0xc3, 0xf4, 0xc0, 0xed, 0x62, 0x5d, 1160 0xf3, 0x71, 0xa3, 0x78, 0x6f, 0xd4, 0x3c, 0xa2, 0x40, 0xb3, 0x20, 0xeb, 0xba, 0x8a, 0x2d, 0x6d, 1161 0xcf, 0xc4, 0xaa, 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 0x17, 0x02, 0xe0, 0x11, 0x93, 0x87, 0x50, 0x06, 0x52, 0xcb, 1184 0x75, 0x85, 0xa4, 0xbf, 0x0c, 0x79, 0x26, 0x55, 0xb7, 0xd6, 0x6a, 0xcb, 0x35, 0x39, 0x51, 0x5e, 1185 0x80, 0x61, 0x16, 0x04, 0xb2, 0x34, 0x82, 0x30, 0xc8, 0x43, 0xfc, 0x91, 0x73, 0x48, 0x42, 0xbb, 1186 0xbb, 0xb1, 0x54, 0x53, 0xe4, 0x44, 0x74, 0x7a, 0x3d, 0xc8, 0x47, 0xfb, 0xe2, 0x8f, 0x26, 0xa7, 1187 0xfe, 0x46, 0x82, 0x5c, 0xa4, 0xcf, 0x25, 0x0d, 0x8a, 0x66, 0x9a, 0xf6, 0x4d, 0x55, 0x33, 0x0d, 1188 0xcd, 0xe3, 0x49, 0x01, 0x54, 0x54, 0x25, 0x92, 0x41, 0x27, 0xed, 0x23, 0x71, 0xfe, 0x55, 0x09, 1189 0xe4, 0xee, 0x16, 0xb3, 0xcb, 0x41, 0xe9, 0x27, 0xea, 0xe0, 0x2b, 0x12, 0x14, 0x3a, 0xfb, 0xca, 1190 0x2e, 0xf7, 0xce, 0xfd, 0x44, 0xdd, 0x7b, 0x2b, 0x01, 0xa3, 0x1d, 0xdd, 0xe4, 0xa0, 0xde, 0x7d, 1191 0x16, 0xc6, 0x8d, 0x06, 0x6e, 0x39, 0xb6, 0x8f, 0x2d, 0xfd, 0x50, 0x35, 0xf1, 0x0d, 0x6c, 0x16, 1192 0xcb, 0xb4, 0x50, 0xcc, 0xde, 0xbd, 0x5f, 0x9d, 0x59, 0x0b, 0x71, 0xeb, 0x04, 0x56, 0x99, 0x58, 1193 0x5b, 0xa9, 0x6d, 0x6c, 0xd5, 0x77, 0x6a, 0x9b, 0xcb, 0xcf, 0xab, 0xbb, 0x9b, 0x3f, 0xb3, 0x59, 1194 0x7f, 0x76, 0x53, 0x91, 0x8d, 0x2e, 0xb3, 0x0f, 0x71, 0xa9, 0x6f, 0x81, 0xdc, 0xed, 0x14, 0xba, 1195 0x17, 0xfa, 0xb9, 0x25, 0x0f, 0xa1, 0x09, 0x18, 0xdb, 0xac, 0xab, 0xdb, 0x6b, 0x2b, 0x35, 0xb5, 1196 0x76, 0xe5, 0x4a, 0x6d, 0x79, 0x67, 0x9b, 0xdd, 0x40, 0x04, 0xd6, 0x3b, 0x9d, 0x8b, 0xfa, 0xe5, 1197 0x24, 0x4c, 0xf4, 0xf1, 0x04, 0x55, 0xf9, 0xd9, 0x81, 0x1d, 0x67, 0x9e, 0x18, 0xc4, 0xfb, 0x19, 1198 0xb2, 0xe5, 0x6f, 0x69, 0xae, 0xcf, 0x8f, 0x1a, 0x8f, 0x02, 0x89, 0x92, 0xe5, 0x1b, 0xfb, 0x06, 1199 0x76, 0xf9, 0x85, 0x0d, 0x3b, 0x50, 0x8c, 0x85, 0x72, 0x76, 0x67, 0xf3, 0x71, 0x40, 0x8e, 0xed, 1200 0x19, 0xbe, 0x71, 0x03, 0xab, 0x86, 0x25, 0x6e, 0x77, 0xc8, 0x01, 0x23, 0xa5, 0xc8, 0x42, 0xb3, 1201 0x66, 0xf9, 0x81, 0xb5, 0x85, 0x9b, 0x5a, 0x97, 0x35, 0x29, 0xe0, 0x49, 0x45, 0x16, 0x9a, 0xc0, 1202 0xfa, 0x1c, 0xe4, 0x1b, 0x76, 0x9b, 0x74, 0x5d, 0xcc, 0x8e, 0xec, 0x17, 0x92, 0x92, 0x63, 0xb2, 1203 0xc0, 0x84, 0xf7, 0xd3, 0xe1, 0xb5, 0x52, 0x5e, 0xc9, 0x31, 0x19, 0x33, 0x79, 0x04, 0xc6, 0xb4, 1204 0x66, 0xd3, 0x25, 0xe4, 0x82, 0x88, 0x9d, 0x10, 0x0a, 0x81, 0x98, 0x1a, 0x4e, 0x3d, 0x03, 0x19, 1205 0x11, 0x07, 0xb2, 0x25, 0x93, 0x48, 0xa8, 0x0e, 0x3b, 0xf6, 0x26, 0xa6, 0xb3, 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 0x38, 1217 0xf4, 0x3b, 0x20, 0x3b, 0x62, 0x03, 0x13, 0x91, 0x93, 0x15, 0x9a, 0x84, 0xf4, 0x1e, 0x6e, 0x1a, 1218 0x16, 0xbf, 0x98, 0x65, 0x0f, 0xe2, 0x22, 0x24, 0x15, 0x5c, 0x84, 0x2c, 0x7d, 0x06, 0x26, 0x74, 1219 0xbb, 0xd5, 0xed, 0xee, 0x92, 0xdc, 0x75, 0xcc, 0xf7, 0xae, 0x4a, 0x2f, 0x40, 0xd8, 0x62, 0xbe, 1220 0x2f, 0x49, 0x7f, 0x90, 0x48, 0xae, 0x6e, 0x2d, 0x7d, 0x2d, 0x31, 0xb5, 0xca, 0xa0, 0x5b, 0x62, 1221 0xa4, 0x0a, 0xde, 0x37, 0xb1, 0x4e, 0xbc, 0x87, 0xaf, 0x4c, 0xc3, 0x13, 0x4d, 0xc3, 0x3f, 0x68, 1222 0xef, 0xcd, 0xe8, 0x76, 0x6b, 0xb6, 0x69, 0x37, 0xed, 0xf0, 0xd3, 0x27, 0x79, 0xa2, 0x0f, 0xf4, 1223 0x3f, 0xfe, 0xf9, 0x33, 0x1b, 0x48, 0xa7, 0x62, 0xbf, 0x95, 0x56, 0x36, 0x61, 0x82, 0x1b, 0xab, 1224 0xf4, 0xfb, 0x0b, 0x3b, 0x45, 0xa0, 0xbb, 0xde, 0x61, 0x15, 0xbf, 0xf1, 0x36, 0xdd, 0xae, 0x95, 1225 0x71, 0x0e, 0x25, 0x3a, 0x76, 0xd0, 0xa8, 0x28, 0x70, 0x4f, 0x07, 0x1f, 0x5b, 0x9a, 0xd8, 0x8d, 1226 0x61, 0xfc, 0x2e, 0x67, 0x9c, 0x88, 0x30, 0x6e, 0x73, 0x68, 0x65, 0x19, 0x46, 0x4f, 0xc2, 0xf5, 1227 0x77, 0x9c, 0x2b, 0x8f, 0xa3, 0x24, 0xab, 0x30, 0x46, 0x49, 0xf4, 0xb6, 0xe7, 0xdb, 0x2d, 0x5a, 1228 0xf7, 0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 0x47, 0xd4, 0x76, 0xe0, 0x14, 0x67, 0x3c, 0xd9, 0xbc, 0x7e, 0x5d, 1251 0x14, 0x56, 0x86, 0xde, 0xed, 0x9c, 0xdd, 0xcf, 0xc0, 0x54, 0x10, 0x4e, 0xd1, 0x94, 0x7a, 0x6a, 1252 0x4b, 0x73, 0x06, 0x60, 0xfe, 0x06, 0x67, 0x16, 0x15, 0x3f, 0xe8, 0x6a, 0xbd, 0x0d, 0xcd, 0x21, 1253 0xe4, 0xcf, 0x41, 0x51, 0x90, 0xb7, 0x2d, 0x17, 0xeb, 0x76, 0xd3, 0x32, 0x6e, 0xe1, 0xc6, 0x00, 1254 0xd4, 0x7f, 0xd1, 0x35, 0x55, 0xbb, 0x11, 0x38, 0x61, 0x5e, 0x03, 0x39, 0xe8, 0x55, 0x54, 0xa3, 1255 0xe5, 0xd8, 0xae, 0x1f, 0xc3, 0xf8, 0x4d, 0x31, 0x53, 0x01, 0x6e, 0x8d, 0xc2, 0x2a, 0x35, 0x28, 1256 0xd0, 0xc7, 0x41, 0x53, 0xf2, 0x2f, 0x39, 0xd1, 0x68, 0x88, 0xe2, 0x85, 0x43, 0xb7, 0x5b, 0x8e, 1257 0xe6, 0x0e, 0x52, 0xff, 0xfe, 0x4a, 0x14, 0x0e, 0x0e, 0xe1, 0x85, 0xc3, 0x3f, 0x74, 0x30, 0xd9, 1258 0xed, 0x07, 0x60, 0xf8, 0x96, 0x28, 0x1c, 0x02, 0xc3, 0x29, 0x44, 0xc3, 0x30, 0x00, 0xc5, 0x5f, 1259 0x0b, 0x0a, 0x81, 0x21, 0x14, 0x9f, 0x0a, 0x37, 0x5a, 0x17, 0x37, 0x0d, 0xcf, 0x77, 0x59, 0x2b, 1260 0x7c, 0x77, 0xaa, 0x6f, 0xbf, 0xd3, 0xd9, 0x84, 0x29, 0x11, 0x28, 0xa9, 0x44, 0xfc, 0x0a, 0x95, 1261 0x9e, 0x94, 0xe2, 0x1d, 0xfb, 0x8e, 0xa8, 0x44, 0x11, 0x18, 0x5b, 0x9f, 0x63, 0x5d, 0xbd, 0x0a, 1262 0x8a, 0xfb, 0x21, 0x4c, 0xf1, 0xe7, 0xdf, 0xe3, 0x5c, 0x9d, 0xad, 0x4a, 0x65, 0x9d, 0x24, 0x50, 1263 0x67, 0x43, 0x11, 0x4f, 0xf6, 0xd2, 0x7b, 0x41, 0x0e, 0x75, 0xf4, 0x13, 0x95, 0x2b, 0x30, 0xda, 1264 0xd1, 0x4c, 0xc4, 0x53, 0xfd, 0x02, 0xa7, 0xca, 0x47, 0x7b, 0x89, 0xca, 0x02, 0xa4, 0x48, 0x63, 1265 0x10, 0x0f, 0xff, 0x45, 0x0e, 0xa7, 0xe6, 0x95, 0x4f, 0x40, 0x46, 0x34, 0x04, 0xf1, 0xd0, 0x5f, 1266 0xe2, 0xd0, 0x00, 0x42, 0xe0, 0xa2, 0x19, 0x88, 0x87, 0xff, 0xb2, 0x80, 0x0b, 0x08, 0x81, 0x0f, 1267 0x1e, 0xc2, 0xbf, 0xfd, 0x95, 0x14, 0x2f, 0xe8, 0x22, 0x76, 0x97, 0x61, 0x84, 0x77, 0x01, 0xf1, 1268 0xe8, 0xcf, 0xf1, 0x97, 0x0b, 0x44, 0xe5, 0x02, 0xa4, 0x07, 0x0c, 0xf8, 0xaf, 0x72, 0x28, 0xb3, 1269 0xaf, 0x2c, 0x43, 0x2e, 0xb2, 0xf3, 0xc7, 0xc3, 0x7f, 0x8d, 0xc3, 0xa3, 0x28, 0xe2, 0x3a, 0xdf, 1270 0xf9, 0xe3, 0x09, 0x7e, 0x5d, 0xb8, 0xce, 0x11, 0x24, 0x6c, 0x62, 0xd3, 0x8f, 0x47, 0xff, 0x86, 1271 0x88, 0xba, 0x80, 0x54, 0x9e, 0x86, 0x6c, 0x50, 0xc8, 0xe3, 0xf1, 0xbf, 0xc9, 0xf1, 0x21, 0x86, 1272 0x44, 0x20, 0xb2, 0x91, 0xc4, 0x53, 0x7c, 0x5e, 0x44, 0x20, 0x82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 0xd0, 0x9c, 0x70, 0x75, 0x53, 0x6b, 0xb1, 0x9f, 0x13, 0x25, 0x97, 0xe4, 0xa3, 0x37, 0xcf, 1318 0xe4, 0x37, 0x0e, 0x43, 0x79, 0xe8, 0x0a, 0x79, 0x5a, 0xca, 0xc0, 0x30, 0x73, 0x75, 0x69, 0xe5, 1319 0xf5, 0x3b, 0xa5, 0xa1, 0x37, 0xee, 0x94, 0x86, 0xfe, 0xf1, 0x4e, 0x69, 0xe8, 0xad, 0x3b, 0x25, 1320 0xe9, 0xdd, 0x3b, 0x25, 0xe9, 0xfd, 0x3b, 0x25, 0xe9, 0xf6, 0x51, 0x49, 0xfa, 0xea, 0x51, 0x49, 1321 0xfa, 0xfa, 0x51, 0x49, 0xfa, 0xf6, 0x51, 0x49, 0x7a, 0xfd, 0xa8, 0x34, 0xf4, 0xc6, 0x51, 0x49, 1322 0x7a, 0xeb, 0xa8, 0x24, 0xfd, 0xe0, 0xa8, 0x34, 0xf4, 0xee, 0x51, 0x49, 0x7a, 0xff, 0xa8, 0x34, 1323 0x74, 0xfb, 0xfb, 0xa5, 0xa1, 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x6e, 0xc6, 0x74, 0xaf, 0x99, 1324 0x35, 0x00, 0x00, 1325 } 1326 r := bytes.NewReader(gzipped) 1327 gzipr, err := compress_gzip.NewReader(r) 1328 if err != nil { 1329 panic(err) 1330 } 1331 ungzipped, err := io_ioutil.ReadAll(gzipr) 1332 if err != nil { 1333 panic(err) 1334 } 1335 if err := github_com_gogo_protobuf_proto.Unmarshal(ungzipped, d); err != nil { 1336 panic(err) 1337 } 1338 return d 1339} 1340func (this *Subby) VerboseEqual(that interface{}) error { 1341 if that == nil { 1342 if this == nil { 1343 return nil 1344 } 1345 return fmt.Errorf("that == nil && this != nil") 1346 } 1347 1348 that1, ok := that.(*Subby) 1349 if !ok { 1350 that2, ok := that.(Subby) 1351 if ok { 1352 that1 = &that2 1353 } else { 1354 return fmt.Errorf("that is not of type *Subby") 1355 } 1356 } 1357 if that1 == nil { 1358 if this == nil { 1359 return nil 1360 } 1361 return fmt.Errorf("that is type *Subby but is nil && this != nil") 1362 } else if this == nil { 1363 return fmt.Errorf("that is type *Subby but is not nil && this == nil") 1364 } 1365 if this.Sub != nil && that1.Sub != nil { 1366 if *this.Sub != *that1.Sub { 1367 return fmt.Errorf("Sub this(%v) Not Equal that(%v)", *this.Sub, *that1.Sub) 1368 } 1369 } else if this.Sub != nil { 1370 return fmt.Errorf("this.Sub == nil && that.Sub != nil") 1371 } else if that1.Sub != nil { 1372 return fmt.Errorf("Sub this(%v) Not Equal that(%v)", this.Sub, that1.Sub) 1373 } 1374 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 1375 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 1376 } 1377 return nil 1378} 1379func (this *Subby) Equal(that interface{}) bool { 1380 if that == nil { 1381 return this == nil 1382 } 1383 1384 that1, ok := that.(*Subby) 1385 if !ok { 1386 that2, ok := that.(Subby) 1387 if ok { 1388 that1 = &that2 1389 } else { 1390 return false 1391 } 1392 } 1393 if that1 == nil { 1394 return this == nil 1395 } else if this == nil { 1396 return false 1397 } 1398 if this.Sub != nil && that1.Sub != nil { 1399 if *this.Sub != *that1.Sub { 1400 return false 1401 } 1402 } else if this.Sub != nil { 1403 return false 1404 } else if that1.Sub != nil { 1405 return false 1406 } 1407 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 1408 return false 1409 } 1410 return true 1411} 1412func (this *AllTypesOneOf) VerboseEqual(that interface{}) error { 1413 if that == nil { 1414 if this == nil { 1415 return nil 1416 } 1417 return fmt.Errorf("that == nil && this != nil") 1418 } 1419 1420 that1, ok := that.(*AllTypesOneOf) 1421 if !ok { 1422 that2, ok := that.(AllTypesOneOf) 1423 if ok { 1424 that1 = &that2 1425 } else { 1426 return fmt.Errorf("that is not of type *AllTypesOneOf") 1427 } 1428 } 1429 if that1 == nil { 1430 if this == nil { 1431 return nil 1432 } 1433 return fmt.Errorf("that is type *AllTypesOneOf but is nil && this != nil") 1434 } else if this == nil { 1435 return fmt.Errorf("that is type *AllTypesOneOf but is not nil && this == nil") 1436 } 1437 if that1.TestOneof == nil { 1438 if this.TestOneof != nil { 1439 return fmt.Errorf("this.TestOneof != nil && that1.TestOneof == nil") 1440 } 1441 } else if this.TestOneof == nil { 1442 return fmt.Errorf("this.TestOneof == nil && that1.TestOneof != nil") 1443 } else if err := this.TestOneof.VerboseEqual(that1.TestOneof); err != nil { 1444 return err 1445 } 1446 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 1447 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 1448 } 1449 return nil 1450} 1451func (this *AllTypesOneOf_Field1) VerboseEqual(that interface{}) error { 1452 if that == nil { 1453 if this == nil { 1454 return nil 1455 } 1456 return fmt.Errorf("that == nil && this != nil") 1457 } 1458 1459 that1, ok := that.(*AllTypesOneOf_Field1) 1460 if !ok { 1461 that2, ok := that.(AllTypesOneOf_Field1) 1462 if ok { 1463 that1 = &that2 1464 } else { 1465 return fmt.Errorf("that is not of type *AllTypesOneOf_Field1") 1466 } 1467 } 1468 if that1 == nil { 1469 if this == nil { 1470 return nil 1471 } 1472 return fmt.Errorf("that is type *AllTypesOneOf_Field1 but is nil && this != nil") 1473 } else if this == nil { 1474 return fmt.Errorf("that is type *AllTypesOneOf_Field1 but is not nil && this == nil") 1475 } 1476 if this.Field1 != that1.Field1 { 1477 return fmt.Errorf("Field1 this(%v) Not Equal that(%v)", this.Field1, that1.Field1) 1478 } 1479 return nil 1480} 1481func (this *AllTypesOneOf_Field2) VerboseEqual(that interface{}) error { 1482 if that == nil { 1483 if this == nil { 1484 return nil 1485 } 1486 return fmt.Errorf("that == nil && this != nil") 1487 } 1488 1489 that1, ok := that.(*AllTypesOneOf_Field2) 1490 if !ok { 1491 that2, ok := that.(AllTypesOneOf_Field2) 1492 if ok { 1493 that1 = &that2 1494 } else { 1495 return fmt.Errorf("that is not of type *AllTypesOneOf_Field2") 1496 } 1497 } 1498 if that1 == nil { 1499 if this == nil { 1500 return nil 1501 } 1502 return fmt.Errorf("that is type *AllTypesOneOf_Field2 but is nil && this != nil") 1503 } else if this == nil { 1504 return fmt.Errorf("that is type *AllTypesOneOf_Field2 but is not nil && this == nil") 1505 } 1506 if this.Field2 != that1.Field2 { 1507 return fmt.Errorf("Field2 this(%v) Not Equal that(%v)", this.Field2, that1.Field2) 1508 } 1509 return nil 1510} 1511func (this *AllTypesOneOf_Field3) VerboseEqual(that interface{}) error { 1512 if that == nil { 1513 if this == nil { 1514 return nil 1515 } 1516 return fmt.Errorf("that == nil && this != nil") 1517 } 1518 1519 that1, ok := that.(*AllTypesOneOf_Field3) 1520 if !ok { 1521 that2, ok := that.(AllTypesOneOf_Field3) 1522 if ok { 1523 that1 = &that2 1524 } else { 1525 return fmt.Errorf("that is not of type *AllTypesOneOf_Field3") 1526 } 1527 } 1528 if that1 == nil { 1529 if this == nil { 1530 return nil 1531 } 1532 return fmt.Errorf("that is type *AllTypesOneOf_Field3 but is nil && this != nil") 1533 } else if this == nil { 1534 return fmt.Errorf("that is type *AllTypesOneOf_Field3 but is not nil && this == nil") 1535 } 1536 if this.Field3 != that1.Field3 { 1537 return fmt.Errorf("Field3 this(%v) Not Equal that(%v)", this.Field3, that1.Field3) 1538 } 1539 return nil 1540} 1541func (this *AllTypesOneOf_Field4) VerboseEqual(that interface{}) error { 1542 if that == nil { 1543 if this == nil { 1544 return nil 1545 } 1546 return fmt.Errorf("that == nil && this != nil") 1547 } 1548 1549 that1, ok := that.(*AllTypesOneOf_Field4) 1550 if !ok { 1551 that2, ok := that.(AllTypesOneOf_Field4) 1552 if ok { 1553 that1 = &that2 1554 } else { 1555 return fmt.Errorf("that is not of type *AllTypesOneOf_Field4") 1556 } 1557 } 1558 if that1 == nil { 1559 if this == nil { 1560 return nil 1561 } 1562 return fmt.Errorf("that is type *AllTypesOneOf_Field4 but is nil && this != nil") 1563 } else if this == nil { 1564 return fmt.Errorf("that is type *AllTypesOneOf_Field4 but is not nil && this == nil") 1565 } 1566 if this.Field4 != that1.Field4 { 1567 return fmt.Errorf("Field4 this(%v) Not Equal that(%v)", this.Field4, that1.Field4) 1568 } 1569 return nil 1570} 1571func (this *AllTypesOneOf_Field5) VerboseEqual(that interface{}) error { 1572 if that == nil { 1573 if this == nil { 1574 return nil 1575 } 1576 return fmt.Errorf("that == nil && this != nil") 1577 } 1578 1579 that1, ok := that.(*AllTypesOneOf_Field5) 1580 if !ok { 1581 that2, ok := that.(AllTypesOneOf_Field5) 1582 if ok { 1583 that1 = &that2 1584 } else { 1585 return fmt.Errorf("that is not of type *AllTypesOneOf_Field5") 1586 } 1587 } 1588 if that1 == nil { 1589 if this == nil { 1590 return nil 1591 } 1592 return fmt.Errorf("that is type *AllTypesOneOf_Field5 but is nil && this != nil") 1593 } else if this == nil { 1594 return fmt.Errorf("that is type *AllTypesOneOf_Field5 but is not nil && this == nil") 1595 } 1596 if this.Field5 != that1.Field5 { 1597 return fmt.Errorf("Field5 this(%v) Not Equal that(%v)", this.Field5, that1.Field5) 1598 } 1599 return nil 1600} 1601func (this *AllTypesOneOf_Field6) VerboseEqual(that interface{}) error { 1602 if that == nil { 1603 if this == nil { 1604 return nil 1605 } 1606 return fmt.Errorf("that == nil && this != nil") 1607 } 1608 1609 that1, ok := that.(*AllTypesOneOf_Field6) 1610 if !ok { 1611 that2, ok := that.(AllTypesOneOf_Field6) 1612 if ok { 1613 that1 = &that2 1614 } else { 1615 return fmt.Errorf("that is not of type *AllTypesOneOf_Field6") 1616 } 1617 } 1618 if that1 == nil { 1619 if this == nil { 1620 return nil 1621 } 1622 return fmt.Errorf("that is type *AllTypesOneOf_Field6 but is nil && this != nil") 1623 } else if this == nil { 1624 return fmt.Errorf("that is type *AllTypesOneOf_Field6 but is not nil && this == nil") 1625 } 1626 if this.Field6 != that1.Field6 { 1627 return fmt.Errorf("Field6 this(%v) Not Equal that(%v)", this.Field6, that1.Field6) 1628 } 1629 return nil 1630} 1631func (this *AllTypesOneOf_Field7) VerboseEqual(that interface{}) error { 1632 if that == nil { 1633 if this == nil { 1634 return nil 1635 } 1636 return fmt.Errorf("that == nil && this != nil") 1637 } 1638 1639 that1, ok := that.(*AllTypesOneOf_Field7) 1640 if !ok { 1641 that2, ok := that.(AllTypesOneOf_Field7) 1642 if ok { 1643 that1 = &that2 1644 } else { 1645 return fmt.Errorf("that is not of type *AllTypesOneOf_Field7") 1646 } 1647 } 1648 if that1 == nil { 1649 if this == nil { 1650 return nil 1651 } 1652 return fmt.Errorf("that is type *AllTypesOneOf_Field7 but is nil && this != nil") 1653 } else if this == nil { 1654 return fmt.Errorf("that is type *AllTypesOneOf_Field7 but is not nil && this == nil") 1655 } 1656 if this.Field7 != that1.Field7 { 1657 return fmt.Errorf("Field7 this(%v) Not Equal that(%v)", this.Field7, that1.Field7) 1658 } 1659 return nil 1660} 1661func (this *AllTypesOneOf_Field8) VerboseEqual(that interface{}) error { 1662 if that == nil { 1663 if this == nil { 1664 return nil 1665 } 1666 return fmt.Errorf("that == nil && this != nil") 1667 } 1668 1669 that1, ok := that.(*AllTypesOneOf_Field8) 1670 if !ok { 1671 that2, ok := that.(AllTypesOneOf_Field8) 1672 if ok { 1673 that1 = &that2 1674 } else { 1675 return fmt.Errorf("that is not of type *AllTypesOneOf_Field8") 1676 } 1677 } 1678 if that1 == nil { 1679 if this == nil { 1680 return nil 1681 } 1682 return fmt.Errorf("that is type *AllTypesOneOf_Field8 but is nil && this != nil") 1683 } else if this == nil { 1684 return fmt.Errorf("that is type *AllTypesOneOf_Field8 but is not nil && this == nil") 1685 } 1686 if this.Field8 != that1.Field8 { 1687 return fmt.Errorf("Field8 this(%v) Not Equal that(%v)", this.Field8, that1.Field8) 1688 } 1689 return nil 1690} 1691func (this *AllTypesOneOf_Field9) VerboseEqual(that interface{}) error { 1692 if that == nil { 1693 if this == nil { 1694 return nil 1695 } 1696 return fmt.Errorf("that == nil && this != nil") 1697 } 1698 1699 that1, ok := that.(*AllTypesOneOf_Field9) 1700 if !ok { 1701 that2, ok := that.(AllTypesOneOf_Field9) 1702 if ok { 1703 that1 = &that2 1704 } else { 1705 return fmt.Errorf("that is not of type *AllTypesOneOf_Field9") 1706 } 1707 } 1708 if that1 == nil { 1709 if this == nil { 1710 return nil 1711 } 1712 return fmt.Errorf("that is type *AllTypesOneOf_Field9 but is nil && this != nil") 1713 } else if this == nil { 1714 return fmt.Errorf("that is type *AllTypesOneOf_Field9 but is not nil && this == nil") 1715 } 1716 if this.Field9 != that1.Field9 { 1717 return fmt.Errorf("Field9 this(%v) Not Equal that(%v)", this.Field9, that1.Field9) 1718 } 1719 return nil 1720} 1721func (this *AllTypesOneOf_Field10) VerboseEqual(that interface{}) error { 1722 if that == nil { 1723 if this == nil { 1724 return nil 1725 } 1726 return fmt.Errorf("that == nil && this != nil") 1727 } 1728 1729 that1, ok := that.(*AllTypesOneOf_Field10) 1730 if !ok { 1731 that2, ok := that.(AllTypesOneOf_Field10) 1732 if ok { 1733 that1 = &that2 1734 } else { 1735 return fmt.Errorf("that is not of type *AllTypesOneOf_Field10") 1736 } 1737 } 1738 if that1 == nil { 1739 if this == nil { 1740 return nil 1741 } 1742 return fmt.Errorf("that is type *AllTypesOneOf_Field10 but is nil && this != nil") 1743 } else if this == nil { 1744 return fmt.Errorf("that is type *AllTypesOneOf_Field10 but is not nil && this == nil") 1745 } 1746 if this.Field10 != that1.Field10 { 1747 return fmt.Errorf("Field10 this(%v) Not Equal that(%v)", this.Field10, that1.Field10) 1748 } 1749 return nil 1750} 1751func (this *AllTypesOneOf_Field11) VerboseEqual(that interface{}) error { 1752 if that == nil { 1753 if this == nil { 1754 return nil 1755 } 1756 return fmt.Errorf("that == nil && this != nil") 1757 } 1758 1759 that1, ok := that.(*AllTypesOneOf_Field11) 1760 if !ok { 1761 that2, ok := that.(AllTypesOneOf_Field11) 1762 if ok { 1763 that1 = &that2 1764 } else { 1765 return fmt.Errorf("that is not of type *AllTypesOneOf_Field11") 1766 } 1767 } 1768 if that1 == nil { 1769 if this == nil { 1770 return nil 1771 } 1772 return fmt.Errorf("that is type *AllTypesOneOf_Field11 but is nil && this != nil") 1773 } else if this == nil { 1774 return fmt.Errorf("that is type *AllTypesOneOf_Field11 but is not nil && this == nil") 1775 } 1776 if this.Field11 != that1.Field11 { 1777 return fmt.Errorf("Field11 this(%v) Not Equal that(%v)", this.Field11, that1.Field11) 1778 } 1779 return nil 1780} 1781func (this *AllTypesOneOf_Field12) VerboseEqual(that interface{}) error { 1782 if that == nil { 1783 if this == nil { 1784 return nil 1785 } 1786 return fmt.Errorf("that == nil && this != nil") 1787 } 1788 1789 that1, ok := that.(*AllTypesOneOf_Field12) 1790 if !ok { 1791 that2, ok := that.(AllTypesOneOf_Field12) 1792 if ok { 1793 that1 = &that2 1794 } else { 1795 return fmt.Errorf("that is not of type *AllTypesOneOf_Field12") 1796 } 1797 } 1798 if that1 == nil { 1799 if this == nil { 1800 return nil 1801 } 1802 return fmt.Errorf("that is type *AllTypesOneOf_Field12 but is nil && this != nil") 1803 } else if this == nil { 1804 return fmt.Errorf("that is type *AllTypesOneOf_Field12 but is not nil && this == nil") 1805 } 1806 if this.Field12 != that1.Field12 { 1807 return fmt.Errorf("Field12 this(%v) Not Equal that(%v)", this.Field12, that1.Field12) 1808 } 1809 return nil 1810} 1811func (this *AllTypesOneOf_Field13) VerboseEqual(that interface{}) error { 1812 if that == nil { 1813 if this == nil { 1814 return nil 1815 } 1816 return fmt.Errorf("that == nil && this != nil") 1817 } 1818 1819 that1, ok := that.(*AllTypesOneOf_Field13) 1820 if !ok { 1821 that2, ok := that.(AllTypesOneOf_Field13) 1822 if ok { 1823 that1 = &that2 1824 } else { 1825 return fmt.Errorf("that is not of type *AllTypesOneOf_Field13") 1826 } 1827 } 1828 if that1 == nil { 1829 if this == nil { 1830 return nil 1831 } 1832 return fmt.Errorf("that is type *AllTypesOneOf_Field13 but is nil && this != nil") 1833 } else if this == nil { 1834 return fmt.Errorf("that is type *AllTypesOneOf_Field13 but is not nil && this == nil") 1835 } 1836 if this.Field13 != that1.Field13 { 1837 return fmt.Errorf("Field13 this(%v) Not Equal that(%v)", this.Field13, that1.Field13) 1838 } 1839 return nil 1840} 1841func (this *AllTypesOneOf_Field14) VerboseEqual(that interface{}) error { 1842 if that == nil { 1843 if this == nil { 1844 return nil 1845 } 1846 return fmt.Errorf("that == nil && this != nil") 1847 } 1848 1849 that1, ok := that.(*AllTypesOneOf_Field14) 1850 if !ok { 1851 that2, ok := that.(AllTypesOneOf_Field14) 1852 if ok { 1853 that1 = &that2 1854 } else { 1855 return fmt.Errorf("that is not of type *AllTypesOneOf_Field14") 1856 } 1857 } 1858 if that1 == nil { 1859 if this == nil { 1860 return nil 1861 } 1862 return fmt.Errorf("that is type *AllTypesOneOf_Field14 but is nil && this != nil") 1863 } else if this == nil { 1864 return fmt.Errorf("that is type *AllTypesOneOf_Field14 but is not nil && this == nil") 1865 } 1866 if this.Field14 != that1.Field14 { 1867 return fmt.Errorf("Field14 this(%v) Not Equal that(%v)", this.Field14, that1.Field14) 1868 } 1869 return nil 1870} 1871func (this *AllTypesOneOf_Field15) VerboseEqual(that interface{}) error { 1872 if that == nil { 1873 if this == nil { 1874 return nil 1875 } 1876 return fmt.Errorf("that == nil && this != nil") 1877 } 1878 1879 that1, ok := that.(*AllTypesOneOf_Field15) 1880 if !ok { 1881 that2, ok := that.(AllTypesOneOf_Field15) 1882 if ok { 1883 that1 = &that2 1884 } else { 1885 return fmt.Errorf("that is not of type *AllTypesOneOf_Field15") 1886 } 1887 } 1888 if that1 == nil { 1889 if this == nil { 1890 return nil 1891 } 1892 return fmt.Errorf("that is type *AllTypesOneOf_Field15 but is nil && this != nil") 1893 } else if this == nil { 1894 return fmt.Errorf("that is type *AllTypesOneOf_Field15 but is not nil && this == nil") 1895 } 1896 if !bytes.Equal(this.Field15, that1.Field15) { 1897 return fmt.Errorf("Field15 this(%v) Not Equal that(%v)", this.Field15, that1.Field15) 1898 } 1899 return nil 1900} 1901func (this *AllTypesOneOf_SubMessage) VerboseEqual(that interface{}) error { 1902 if that == nil { 1903 if this == nil { 1904 return nil 1905 } 1906 return fmt.Errorf("that == nil && this != nil") 1907 } 1908 1909 that1, ok := that.(*AllTypesOneOf_SubMessage) 1910 if !ok { 1911 that2, ok := that.(AllTypesOneOf_SubMessage) 1912 if ok { 1913 that1 = &that2 1914 } else { 1915 return fmt.Errorf("that is not of type *AllTypesOneOf_SubMessage") 1916 } 1917 } 1918 if that1 == nil { 1919 if this == nil { 1920 return nil 1921 } 1922 return fmt.Errorf("that is type *AllTypesOneOf_SubMessage but is nil && this != nil") 1923 } else if this == nil { 1924 return fmt.Errorf("that is type *AllTypesOneOf_SubMessage but is not nil && this == nil") 1925 } 1926 if !this.SubMessage.Equal(that1.SubMessage) { 1927 return fmt.Errorf("SubMessage this(%v) Not Equal that(%v)", this.SubMessage, that1.SubMessage) 1928 } 1929 return nil 1930} 1931func (this *AllTypesOneOf) Equal(that interface{}) bool { 1932 if that == nil { 1933 return this == nil 1934 } 1935 1936 that1, ok := that.(*AllTypesOneOf) 1937 if !ok { 1938 that2, ok := that.(AllTypesOneOf) 1939 if ok { 1940 that1 = &that2 1941 } else { 1942 return false 1943 } 1944 } 1945 if that1 == nil { 1946 return this == nil 1947 } else if this == nil { 1948 return false 1949 } 1950 if that1.TestOneof == nil { 1951 if this.TestOneof != nil { 1952 return false 1953 } 1954 } else if this.TestOneof == nil { 1955 return false 1956 } else if !this.TestOneof.Equal(that1.TestOneof) { 1957 return false 1958 } 1959 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 1960 return false 1961 } 1962 return true 1963} 1964func (this *AllTypesOneOf_Field1) Equal(that interface{}) bool { 1965 if that == nil { 1966 return this == nil 1967 } 1968 1969 that1, ok := that.(*AllTypesOneOf_Field1) 1970 if !ok { 1971 that2, ok := that.(AllTypesOneOf_Field1) 1972 if ok { 1973 that1 = &that2 1974 } else { 1975 return false 1976 } 1977 } 1978 if that1 == nil { 1979 return this == nil 1980 } else if this == nil { 1981 return false 1982 } 1983 if this.Field1 != that1.Field1 { 1984 return false 1985 } 1986 return true 1987} 1988func (this *AllTypesOneOf_Field2) Equal(that interface{}) bool { 1989 if that == nil { 1990 return this == nil 1991 } 1992 1993 that1, ok := that.(*AllTypesOneOf_Field2) 1994 if !ok { 1995 that2, ok := that.(AllTypesOneOf_Field2) 1996 if ok { 1997 that1 = &that2 1998 } else { 1999 return false 2000 } 2001 } 2002 if that1 == nil { 2003 return this == nil 2004 } else if this == nil { 2005 return false 2006 } 2007 if this.Field2 != that1.Field2 { 2008 return false 2009 } 2010 return true 2011} 2012func (this *AllTypesOneOf_Field3) Equal(that interface{}) bool { 2013 if that == nil { 2014 return this == nil 2015 } 2016 2017 that1, ok := that.(*AllTypesOneOf_Field3) 2018 if !ok { 2019 that2, ok := that.(AllTypesOneOf_Field3) 2020 if ok { 2021 that1 = &that2 2022 } else { 2023 return false 2024 } 2025 } 2026 if that1 == nil { 2027 return this == nil 2028 } else if this == nil { 2029 return false 2030 } 2031 if this.Field3 != that1.Field3 { 2032 return false 2033 } 2034 return true 2035} 2036func (this *AllTypesOneOf_Field4) Equal(that interface{}) bool { 2037 if that == nil { 2038 return this == nil 2039 } 2040 2041 that1, ok := that.(*AllTypesOneOf_Field4) 2042 if !ok { 2043 that2, ok := that.(AllTypesOneOf_Field4) 2044 if ok { 2045 that1 = &that2 2046 } else { 2047 return false 2048 } 2049 } 2050 if that1 == nil { 2051 return this == nil 2052 } else if this == nil { 2053 return false 2054 } 2055 if this.Field4 != that1.Field4 { 2056 return false 2057 } 2058 return true 2059} 2060func (this *AllTypesOneOf_Field5) Equal(that interface{}) bool { 2061 if that == nil { 2062 return this == nil 2063 } 2064 2065 that1, ok := that.(*AllTypesOneOf_Field5) 2066 if !ok { 2067 that2, ok := that.(AllTypesOneOf_Field5) 2068 if ok { 2069 that1 = &that2 2070 } else { 2071 return false 2072 } 2073 } 2074 if that1 == nil { 2075 return this == nil 2076 } else if this == nil { 2077 return false 2078 } 2079 if this.Field5 != that1.Field5 { 2080 return false 2081 } 2082 return true 2083} 2084func (this *AllTypesOneOf_Field6) Equal(that interface{}) bool { 2085 if that == nil { 2086 return this == nil 2087 } 2088 2089 that1, ok := that.(*AllTypesOneOf_Field6) 2090 if !ok { 2091 that2, ok := that.(AllTypesOneOf_Field6) 2092 if ok { 2093 that1 = &that2 2094 } else { 2095 return false 2096 } 2097 } 2098 if that1 == nil { 2099 return this == nil 2100 } else if this == nil { 2101 return false 2102 } 2103 if this.Field6 != that1.Field6 { 2104 return false 2105 } 2106 return true 2107} 2108func (this *AllTypesOneOf_Field7) Equal(that interface{}) bool { 2109 if that == nil { 2110 return this == nil 2111 } 2112 2113 that1, ok := that.(*AllTypesOneOf_Field7) 2114 if !ok { 2115 that2, ok := that.(AllTypesOneOf_Field7) 2116 if ok { 2117 that1 = &that2 2118 } else { 2119 return false 2120 } 2121 } 2122 if that1 == nil { 2123 return this == nil 2124 } else if this == nil { 2125 return false 2126 } 2127 if this.Field7 != that1.Field7 { 2128 return false 2129 } 2130 return true 2131} 2132func (this *AllTypesOneOf_Field8) Equal(that interface{}) bool { 2133 if that == nil { 2134 return this == nil 2135 } 2136 2137 that1, ok := that.(*AllTypesOneOf_Field8) 2138 if !ok { 2139 that2, ok := that.(AllTypesOneOf_Field8) 2140 if ok { 2141 that1 = &that2 2142 } else { 2143 return false 2144 } 2145 } 2146 if that1 == nil { 2147 return this == nil 2148 } else if this == nil { 2149 return false 2150 } 2151 if this.Field8 != that1.Field8 { 2152 return false 2153 } 2154 return true 2155} 2156func (this *AllTypesOneOf_Field9) Equal(that interface{}) bool { 2157 if that == nil { 2158 return this == nil 2159 } 2160 2161 that1, ok := that.(*AllTypesOneOf_Field9) 2162 if !ok { 2163 that2, ok := that.(AllTypesOneOf_Field9) 2164 if ok { 2165 that1 = &that2 2166 } else { 2167 return false 2168 } 2169 } 2170 if that1 == nil { 2171 return this == nil 2172 } else if this == nil { 2173 return false 2174 } 2175 if this.Field9 != that1.Field9 { 2176 return false 2177 } 2178 return true 2179} 2180func (this *AllTypesOneOf_Field10) Equal(that interface{}) bool { 2181 if that == nil { 2182 return this == nil 2183 } 2184 2185 that1, ok := that.(*AllTypesOneOf_Field10) 2186 if !ok { 2187 that2, ok := that.(AllTypesOneOf_Field10) 2188 if ok { 2189 that1 = &that2 2190 } else { 2191 return false 2192 } 2193 } 2194 if that1 == nil { 2195 return this == nil 2196 } else if this == nil { 2197 return false 2198 } 2199 if this.Field10 != that1.Field10 { 2200 return false 2201 } 2202 return true 2203} 2204func (this *AllTypesOneOf_Field11) Equal(that interface{}) bool { 2205 if that == nil { 2206 return this == nil 2207 } 2208 2209 that1, ok := that.(*AllTypesOneOf_Field11) 2210 if !ok { 2211 that2, ok := that.(AllTypesOneOf_Field11) 2212 if ok { 2213 that1 = &that2 2214 } else { 2215 return false 2216 } 2217 } 2218 if that1 == nil { 2219 return this == nil 2220 } else if this == nil { 2221 return false 2222 } 2223 if this.Field11 != that1.Field11 { 2224 return false 2225 } 2226 return true 2227} 2228func (this *AllTypesOneOf_Field12) Equal(that interface{}) bool { 2229 if that == nil { 2230 return this == nil 2231 } 2232 2233 that1, ok := that.(*AllTypesOneOf_Field12) 2234 if !ok { 2235 that2, ok := that.(AllTypesOneOf_Field12) 2236 if ok { 2237 that1 = &that2 2238 } else { 2239 return false 2240 } 2241 } 2242 if that1 == nil { 2243 return this == nil 2244 } else if this == nil { 2245 return false 2246 } 2247 if this.Field12 != that1.Field12 { 2248 return false 2249 } 2250 return true 2251} 2252func (this *AllTypesOneOf_Field13) Equal(that interface{}) bool { 2253 if that == nil { 2254 return this == nil 2255 } 2256 2257 that1, ok := that.(*AllTypesOneOf_Field13) 2258 if !ok { 2259 that2, ok := that.(AllTypesOneOf_Field13) 2260 if ok { 2261 that1 = &that2 2262 } else { 2263 return false 2264 } 2265 } 2266 if that1 == nil { 2267 return this == nil 2268 } else if this == nil { 2269 return false 2270 } 2271 if this.Field13 != that1.Field13 { 2272 return false 2273 } 2274 return true 2275} 2276func (this *AllTypesOneOf_Field14) Equal(that interface{}) bool { 2277 if that == nil { 2278 return this == nil 2279 } 2280 2281 that1, ok := that.(*AllTypesOneOf_Field14) 2282 if !ok { 2283 that2, ok := that.(AllTypesOneOf_Field14) 2284 if ok { 2285 that1 = &that2 2286 } else { 2287 return false 2288 } 2289 } 2290 if that1 == nil { 2291 return this == nil 2292 } else if this == nil { 2293 return false 2294 } 2295 if this.Field14 != that1.Field14 { 2296 return false 2297 } 2298 return true 2299} 2300func (this *AllTypesOneOf_Field15) Equal(that interface{}) bool { 2301 if that == nil { 2302 return this == nil 2303 } 2304 2305 that1, ok := that.(*AllTypesOneOf_Field15) 2306 if !ok { 2307 that2, ok := that.(AllTypesOneOf_Field15) 2308 if ok { 2309 that1 = &that2 2310 } else { 2311 return false 2312 } 2313 } 2314 if that1 == nil { 2315 return this == nil 2316 } else if this == nil { 2317 return false 2318 } 2319 if !bytes.Equal(this.Field15, that1.Field15) { 2320 return false 2321 } 2322 return true 2323} 2324func (this *AllTypesOneOf_SubMessage) Equal(that interface{}) bool { 2325 if that == nil { 2326 return this == nil 2327 } 2328 2329 that1, ok := that.(*AllTypesOneOf_SubMessage) 2330 if !ok { 2331 that2, ok := that.(AllTypesOneOf_SubMessage) 2332 if ok { 2333 that1 = &that2 2334 } else { 2335 return false 2336 } 2337 } 2338 if that1 == nil { 2339 return this == nil 2340 } else if this == nil { 2341 return false 2342 } 2343 if !this.SubMessage.Equal(that1.SubMessage) { 2344 return false 2345 } 2346 return true 2347} 2348func (this *TwoOneofs) VerboseEqual(that interface{}) error { 2349 if that == nil { 2350 if this == nil { 2351 return nil 2352 } 2353 return fmt.Errorf("that == nil && this != nil") 2354 } 2355 2356 that1, ok := that.(*TwoOneofs) 2357 if !ok { 2358 that2, ok := that.(TwoOneofs) 2359 if ok { 2360 that1 = &that2 2361 } else { 2362 return fmt.Errorf("that is not of type *TwoOneofs") 2363 } 2364 } 2365 if that1 == nil { 2366 if this == nil { 2367 return nil 2368 } 2369 return fmt.Errorf("that is type *TwoOneofs but is nil && this != nil") 2370 } else if this == nil { 2371 return fmt.Errorf("that is type *TwoOneofs but is not nil && this == nil") 2372 } 2373 if that1.One == nil { 2374 if this.One != nil { 2375 return fmt.Errorf("this.One != nil && that1.One == nil") 2376 } 2377 } else if this.One == nil { 2378 return fmt.Errorf("this.One == nil && that1.One != nil") 2379 } else if err := this.One.VerboseEqual(that1.One); err != nil { 2380 return err 2381 } 2382 if that1.Two == nil { 2383 if this.Two != nil { 2384 return fmt.Errorf("this.Two != nil && that1.Two == nil") 2385 } 2386 } else if this.Two == nil { 2387 return fmt.Errorf("this.Two == nil && that1.Two != nil") 2388 } else if err := this.Two.VerboseEqual(that1.Two); err != nil { 2389 return err 2390 } 2391 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 2392 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 2393 } 2394 return nil 2395} 2396func (this *TwoOneofs_Field1) VerboseEqual(that interface{}) error { 2397 if that == nil { 2398 if this == nil { 2399 return nil 2400 } 2401 return fmt.Errorf("that == nil && this != nil") 2402 } 2403 2404 that1, ok := that.(*TwoOneofs_Field1) 2405 if !ok { 2406 that2, ok := that.(TwoOneofs_Field1) 2407 if ok { 2408 that1 = &that2 2409 } else { 2410 return fmt.Errorf("that is not of type *TwoOneofs_Field1") 2411 } 2412 } 2413 if that1 == nil { 2414 if this == nil { 2415 return nil 2416 } 2417 return fmt.Errorf("that is type *TwoOneofs_Field1 but is nil && this != nil") 2418 } else if this == nil { 2419 return fmt.Errorf("that is type *TwoOneofs_Field1 but is not nil && this == nil") 2420 } 2421 if this.Field1 != that1.Field1 { 2422 return fmt.Errorf("Field1 this(%v) Not Equal that(%v)", this.Field1, that1.Field1) 2423 } 2424 return nil 2425} 2426func (this *TwoOneofs_Field2) VerboseEqual(that interface{}) error { 2427 if that == nil { 2428 if this == nil { 2429 return nil 2430 } 2431 return fmt.Errorf("that == nil && this != nil") 2432 } 2433 2434 that1, ok := that.(*TwoOneofs_Field2) 2435 if !ok { 2436 that2, ok := that.(TwoOneofs_Field2) 2437 if ok { 2438 that1 = &that2 2439 } else { 2440 return fmt.Errorf("that is not of type *TwoOneofs_Field2") 2441 } 2442 } 2443 if that1 == nil { 2444 if this == nil { 2445 return nil 2446 } 2447 return fmt.Errorf("that is type *TwoOneofs_Field2 but is nil && this != nil") 2448 } else if this == nil { 2449 return fmt.Errorf("that is type *TwoOneofs_Field2 but is not nil && this == nil") 2450 } 2451 if this.Field2 != that1.Field2 { 2452 return fmt.Errorf("Field2 this(%v) Not Equal that(%v)", this.Field2, that1.Field2) 2453 } 2454 return nil 2455} 2456func (this *TwoOneofs_Field3) VerboseEqual(that interface{}) error { 2457 if that == nil { 2458 if this == nil { 2459 return nil 2460 } 2461 return fmt.Errorf("that == nil && this != nil") 2462 } 2463 2464 that1, ok := that.(*TwoOneofs_Field3) 2465 if !ok { 2466 that2, ok := that.(TwoOneofs_Field3) 2467 if ok { 2468 that1 = &that2 2469 } else { 2470 return fmt.Errorf("that is not of type *TwoOneofs_Field3") 2471 } 2472 } 2473 if that1 == nil { 2474 if this == nil { 2475 return nil 2476 } 2477 return fmt.Errorf("that is type *TwoOneofs_Field3 but is nil && this != nil") 2478 } else if this == nil { 2479 return fmt.Errorf("that is type *TwoOneofs_Field3 but is not nil && this == nil") 2480 } 2481 if this.Field3 != that1.Field3 { 2482 return fmt.Errorf("Field3 this(%v) Not Equal that(%v)", this.Field3, that1.Field3) 2483 } 2484 return nil 2485} 2486func (this *TwoOneofs_Field34) VerboseEqual(that interface{}) error { 2487 if that == nil { 2488 if this == nil { 2489 return nil 2490 } 2491 return fmt.Errorf("that == nil && this != nil") 2492 } 2493 2494 that1, ok := that.(*TwoOneofs_Field34) 2495 if !ok { 2496 that2, ok := that.(TwoOneofs_Field34) 2497 if ok { 2498 that1 = &that2 2499 } else { 2500 return fmt.Errorf("that is not of type *TwoOneofs_Field34") 2501 } 2502 } 2503 if that1 == nil { 2504 if this == nil { 2505 return nil 2506 } 2507 return fmt.Errorf("that is type *TwoOneofs_Field34 but is nil && this != nil") 2508 } else if this == nil { 2509 return fmt.Errorf("that is type *TwoOneofs_Field34 but is not nil && this == nil") 2510 } 2511 if this.Field34 != that1.Field34 { 2512 return fmt.Errorf("Field34 this(%v) Not Equal that(%v)", this.Field34, that1.Field34) 2513 } 2514 return nil 2515} 2516func (this *TwoOneofs_Field35) VerboseEqual(that interface{}) error { 2517 if that == nil { 2518 if this == nil { 2519 return nil 2520 } 2521 return fmt.Errorf("that == nil && this != nil") 2522 } 2523 2524 that1, ok := that.(*TwoOneofs_Field35) 2525 if !ok { 2526 that2, ok := that.(TwoOneofs_Field35) 2527 if ok { 2528 that1 = &that2 2529 } else { 2530 return fmt.Errorf("that is not of type *TwoOneofs_Field35") 2531 } 2532 } 2533 if that1 == nil { 2534 if this == nil { 2535 return nil 2536 } 2537 return fmt.Errorf("that is type *TwoOneofs_Field35 but is nil && this != nil") 2538 } else if this == nil { 2539 return fmt.Errorf("that is type *TwoOneofs_Field35 but is not nil && this == nil") 2540 } 2541 if !bytes.Equal(this.Field35, that1.Field35) { 2542 return fmt.Errorf("Field35 this(%v) Not Equal that(%v)", this.Field35, that1.Field35) 2543 } 2544 return nil 2545} 2546func (this *TwoOneofs_SubMessage2) VerboseEqual(that interface{}) error { 2547 if that == nil { 2548 if this == nil { 2549 return nil 2550 } 2551 return fmt.Errorf("that == nil && this != nil") 2552 } 2553 2554 that1, ok := that.(*TwoOneofs_SubMessage2) 2555 if !ok { 2556 that2, ok := that.(TwoOneofs_SubMessage2) 2557 if ok { 2558 that1 = &that2 2559 } else { 2560 return fmt.Errorf("that is not of type *TwoOneofs_SubMessage2") 2561 } 2562 } 2563 if that1 == nil { 2564 if this == nil { 2565 return nil 2566 } 2567 return fmt.Errorf("that is type *TwoOneofs_SubMessage2 but is nil && this != nil") 2568 } else if this == nil { 2569 return fmt.Errorf("that is type *TwoOneofs_SubMessage2 but is not nil && this == nil") 2570 } 2571 if !this.SubMessage2.Equal(that1.SubMessage2) { 2572 return fmt.Errorf("SubMessage2 this(%v) Not Equal that(%v)", this.SubMessage2, that1.SubMessage2) 2573 } 2574 return nil 2575} 2576func (this *TwoOneofs) Equal(that interface{}) bool { 2577 if that == nil { 2578 return this == nil 2579 } 2580 2581 that1, ok := that.(*TwoOneofs) 2582 if !ok { 2583 that2, ok := that.(TwoOneofs) 2584 if ok { 2585 that1 = &that2 2586 } else { 2587 return false 2588 } 2589 } 2590 if that1 == nil { 2591 return this == nil 2592 } else if this == nil { 2593 return false 2594 } 2595 if that1.One == nil { 2596 if this.One != nil { 2597 return false 2598 } 2599 } else if this.One == nil { 2600 return false 2601 } else if !this.One.Equal(that1.One) { 2602 return false 2603 } 2604 if that1.Two == nil { 2605 if this.Two != nil { 2606 return false 2607 } 2608 } else if this.Two == nil { 2609 return false 2610 } else if !this.Two.Equal(that1.Two) { 2611 return false 2612 } 2613 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 2614 return false 2615 } 2616 return true 2617} 2618func (this *TwoOneofs_Field1) Equal(that interface{}) bool { 2619 if that == nil { 2620 return this == nil 2621 } 2622 2623 that1, ok := that.(*TwoOneofs_Field1) 2624 if !ok { 2625 that2, ok := that.(TwoOneofs_Field1) 2626 if ok { 2627 that1 = &that2 2628 } else { 2629 return false 2630 } 2631 } 2632 if that1 == nil { 2633 return this == nil 2634 } else if this == nil { 2635 return false 2636 } 2637 if this.Field1 != that1.Field1 { 2638 return false 2639 } 2640 return true 2641} 2642func (this *TwoOneofs_Field2) Equal(that interface{}) bool { 2643 if that == nil { 2644 return this == nil 2645 } 2646 2647 that1, ok := that.(*TwoOneofs_Field2) 2648 if !ok { 2649 that2, ok := that.(TwoOneofs_Field2) 2650 if ok { 2651 that1 = &that2 2652 } else { 2653 return false 2654 } 2655 } 2656 if that1 == nil { 2657 return this == nil 2658 } else if this == nil { 2659 return false 2660 } 2661 if this.Field2 != that1.Field2 { 2662 return false 2663 } 2664 return true 2665} 2666func (this *TwoOneofs_Field3) Equal(that interface{}) bool { 2667 if that == nil { 2668 return this == nil 2669 } 2670 2671 that1, ok := that.(*TwoOneofs_Field3) 2672 if !ok { 2673 that2, ok := that.(TwoOneofs_Field3) 2674 if ok { 2675 that1 = &that2 2676 } else { 2677 return false 2678 } 2679 } 2680 if that1 == nil { 2681 return this == nil 2682 } else if this == nil { 2683 return false 2684 } 2685 if this.Field3 != that1.Field3 { 2686 return false 2687 } 2688 return true 2689} 2690func (this *TwoOneofs_Field34) Equal(that interface{}) bool { 2691 if that == nil { 2692 return this == nil 2693 } 2694 2695 that1, ok := that.(*TwoOneofs_Field34) 2696 if !ok { 2697 that2, ok := that.(TwoOneofs_Field34) 2698 if ok { 2699 that1 = &that2 2700 } else { 2701 return false 2702 } 2703 } 2704 if that1 == nil { 2705 return this == nil 2706 } else if this == nil { 2707 return false 2708 } 2709 if this.Field34 != that1.Field34 { 2710 return false 2711 } 2712 return true 2713} 2714func (this *TwoOneofs_Field35) Equal(that interface{}) bool { 2715 if that == nil { 2716 return this == nil 2717 } 2718 2719 that1, ok := that.(*TwoOneofs_Field35) 2720 if !ok { 2721 that2, ok := that.(TwoOneofs_Field35) 2722 if ok { 2723 that1 = &that2 2724 } else { 2725 return false 2726 } 2727 } 2728 if that1 == nil { 2729 return this == nil 2730 } else if this == nil { 2731 return false 2732 } 2733 if !bytes.Equal(this.Field35, that1.Field35) { 2734 return false 2735 } 2736 return true 2737} 2738func (this *TwoOneofs_SubMessage2) Equal(that interface{}) bool { 2739 if that == nil { 2740 return this == nil 2741 } 2742 2743 that1, ok := that.(*TwoOneofs_SubMessage2) 2744 if !ok { 2745 that2, ok := that.(TwoOneofs_SubMessage2) 2746 if ok { 2747 that1 = &that2 2748 } else { 2749 return false 2750 } 2751 } 2752 if that1 == nil { 2753 return this == nil 2754 } else if this == nil { 2755 return false 2756 } 2757 if !this.SubMessage2.Equal(that1.SubMessage2) { 2758 return false 2759 } 2760 return true 2761} 2762func (this *CustomOneof) VerboseEqual(that interface{}) error { 2763 if that == nil { 2764 if this == nil { 2765 return nil 2766 } 2767 return fmt.Errorf("that == nil && this != nil") 2768 } 2769 2770 that1, ok := that.(*CustomOneof) 2771 if !ok { 2772 that2, ok := that.(CustomOneof) 2773 if ok { 2774 that1 = &that2 2775 } else { 2776 return fmt.Errorf("that is not of type *CustomOneof") 2777 } 2778 } 2779 if that1 == nil { 2780 if this == nil { 2781 return nil 2782 } 2783 return fmt.Errorf("that is type *CustomOneof but is nil && this != nil") 2784 } else if this == nil { 2785 return fmt.Errorf("that is type *CustomOneof but is not nil && this == nil") 2786 } 2787 if that1.Custom == nil { 2788 if this.Custom != nil { 2789 return fmt.Errorf("this.Custom != nil && that1.Custom == nil") 2790 } 2791 } else if this.Custom == nil { 2792 return fmt.Errorf("this.Custom == nil && that1.Custom != nil") 2793 } else if err := this.Custom.VerboseEqual(that1.Custom); err != nil { 2794 return err 2795 } 2796 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 2797 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 2798 } 2799 return nil 2800} 2801func (this *CustomOneof_Stringy) VerboseEqual(that interface{}) error { 2802 if that == nil { 2803 if this == nil { 2804 return nil 2805 } 2806 return fmt.Errorf("that == nil && this != nil") 2807 } 2808 2809 that1, ok := that.(*CustomOneof_Stringy) 2810 if !ok { 2811 that2, ok := that.(CustomOneof_Stringy) 2812 if ok { 2813 that1 = &that2 2814 } else { 2815 return fmt.Errorf("that is not of type *CustomOneof_Stringy") 2816 } 2817 } 2818 if that1 == nil { 2819 if this == nil { 2820 return nil 2821 } 2822 return fmt.Errorf("that is type *CustomOneof_Stringy but is nil && this != nil") 2823 } else if this == nil { 2824 return fmt.Errorf("that is type *CustomOneof_Stringy but is not nil && this == nil") 2825 } 2826 if this.Stringy != that1.Stringy { 2827 return fmt.Errorf("Stringy this(%v) Not Equal that(%v)", this.Stringy, that1.Stringy) 2828 } 2829 return nil 2830} 2831func (this *CustomOneof_CustomType) VerboseEqual(that interface{}) error { 2832 if that == nil { 2833 if this == nil { 2834 return nil 2835 } 2836 return fmt.Errorf("that == nil && this != nil") 2837 } 2838 2839 that1, ok := that.(*CustomOneof_CustomType) 2840 if !ok { 2841 that2, ok := that.(CustomOneof_CustomType) 2842 if ok { 2843 that1 = &that2 2844 } else { 2845 return fmt.Errorf("that is not of type *CustomOneof_CustomType") 2846 } 2847 } 2848 if that1 == nil { 2849 if this == nil { 2850 return nil 2851 } 2852 return fmt.Errorf("that is type *CustomOneof_CustomType but is nil && this != nil") 2853 } else if this == nil { 2854 return fmt.Errorf("that is type *CustomOneof_CustomType but is not nil && this == nil") 2855 } 2856 if !this.CustomType.Equal(that1.CustomType) { 2857 return fmt.Errorf("CustomType this(%v) Not Equal that(%v)", this.CustomType, that1.CustomType) 2858 } 2859 return nil 2860} 2861func (this *CustomOneof_CastType) VerboseEqual(that interface{}) error { 2862 if that == nil { 2863 if this == nil { 2864 return nil 2865 } 2866 return fmt.Errorf("that == nil && this != nil") 2867 } 2868 2869 that1, ok := that.(*CustomOneof_CastType) 2870 if !ok { 2871 that2, ok := that.(CustomOneof_CastType) 2872 if ok { 2873 that1 = &that2 2874 } else { 2875 return fmt.Errorf("that is not of type *CustomOneof_CastType") 2876 } 2877 } 2878 if that1 == nil { 2879 if this == nil { 2880 return nil 2881 } 2882 return fmt.Errorf("that is type *CustomOneof_CastType but is nil && this != nil") 2883 } else if this == nil { 2884 return fmt.Errorf("that is type *CustomOneof_CastType but is not nil && this == nil") 2885 } 2886 if this.CastType != that1.CastType { 2887 return fmt.Errorf("CastType this(%v) Not Equal that(%v)", this.CastType, that1.CastType) 2888 } 2889 return nil 2890} 2891func (this *CustomOneof_MyCustomName) VerboseEqual(that interface{}) error { 2892 if that == nil { 2893 if this == nil { 2894 return nil 2895 } 2896 return fmt.Errorf("that == nil && this != nil") 2897 } 2898 2899 that1, ok := that.(*CustomOneof_MyCustomName) 2900 if !ok { 2901 that2, ok := that.(CustomOneof_MyCustomName) 2902 if ok { 2903 that1 = &that2 2904 } else { 2905 return fmt.Errorf("that is not of type *CustomOneof_MyCustomName") 2906 } 2907 } 2908 if that1 == nil { 2909 if this == nil { 2910 return nil 2911 } 2912 return fmt.Errorf("that is type *CustomOneof_MyCustomName but is nil && this != nil") 2913 } else if this == nil { 2914 return fmt.Errorf("that is type *CustomOneof_MyCustomName but is not nil && this == nil") 2915 } 2916 if this.MyCustomName != that1.MyCustomName { 2917 return fmt.Errorf("MyCustomName this(%v) Not Equal that(%v)", this.MyCustomName, that1.MyCustomName) 2918 } 2919 return nil 2920} 2921func (this *CustomOneof) Equal(that interface{}) bool { 2922 if that == nil { 2923 return this == nil 2924 } 2925 2926 that1, ok := that.(*CustomOneof) 2927 if !ok { 2928 that2, ok := that.(CustomOneof) 2929 if ok { 2930 that1 = &that2 2931 } else { 2932 return false 2933 } 2934 } 2935 if that1 == nil { 2936 return this == nil 2937 } else if this == nil { 2938 return false 2939 } 2940 if that1.Custom == nil { 2941 if this.Custom != nil { 2942 return false 2943 } 2944 } else if this.Custom == nil { 2945 return false 2946 } else if !this.Custom.Equal(that1.Custom) { 2947 return false 2948 } 2949 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 2950 return false 2951 } 2952 return true 2953} 2954func (this *CustomOneof_Stringy) Equal(that interface{}) bool { 2955 if that == nil { 2956 return this == nil 2957 } 2958 2959 that1, ok := that.(*CustomOneof_Stringy) 2960 if !ok { 2961 that2, ok := that.(CustomOneof_Stringy) 2962 if ok { 2963 that1 = &that2 2964 } else { 2965 return false 2966 } 2967 } 2968 if that1 == nil { 2969 return this == nil 2970 } else if this == nil { 2971 return false 2972 } 2973 if this.Stringy != that1.Stringy { 2974 return false 2975 } 2976 return true 2977} 2978func (this *CustomOneof_CustomType) Equal(that interface{}) bool { 2979 if that == nil { 2980 return this == nil 2981 } 2982 2983 that1, ok := that.(*CustomOneof_CustomType) 2984 if !ok { 2985 that2, ok := that.(CustomOneof_CustomType) 2986 if ok { 2987 that1 = &that2 2988 } else { 2989 return false 2990 } 2991 } 2992 if that1 == nil { 2993 return this == nil 2994 } else if this == nil { 2995 return false 2996 } 2997 if !this.CustomType.Equal(that1.CustomType) { 2998 return false 2999 } 3000 return true 3001} 3002func (this *CustomOneof_CastType) Equal(that interface{}) bool { 3003 if that == nil { 3004 return this == nil 3005 } 3006 3007 that1, ok := that.(*CustomOneof_CastType) 3008 if !ok { 3009 that2, ok := that.(CustomOneof_CastType) 3010 if ok { 3011 that1 = &that2 3012 } else { 3013 return false 3014 } 3015 } 3016 if that1 == nil { 3017 return this == nil 3018 } else if this == nil { 3019 return false 3020 } 3021 if this.CastType != that1.CastType { 3022 return false 3023 } 3024 return true 3025} 3026func (this *CustomOneof_MyCustomName) Equal(that interface{}) bool { 3027 if that == nil { 3028 return this == nil 3029 } 3030 3031 that1, ok := that.(*CustomOneof_MyCustomName) 3032 if !ok { 3033 that2, ok := that.(CustomOneof_MyCustomName) 3034 if ok { 3035 that1 = &that2 3036 } else { 3037 return false 3038 } 3039 } 3040 if that1 == nil { 3041 return this == nil 3042 } else if this == nil { 3043 return false 3044 } 3045 if this.MyCustomName != that1.MyCustomName { 3046 return false 3047 } 3048 return true 3049} 3050func (this *Subby) GoString() string { 3051 if this == nil { 3052 return "nil" 3053 } 3054 s := make([]string, 0, 5) 3055 s = append(s, "&one.Subby{") 3056 if this.Sub != nil { 3057 s = append(s, "Sub: "+valueToGoStringOne(this.Sub, "string")+",\n") 3058 } 3059 if this.XXX_unrecognized != nil { 3060 s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n") 3061 } 3062 s = append(s, "}") 3063 return strings.Join(s, "") 3064} 3065func (this *AllTypesOneOf) GoString() string { 3066 if this == nil { 3067 return "nil" 3068 } 3069 s := make([]string, 0, 20) 3070 s = append(s, "&one.AllTypesOneOf{") 3071 if this.TestOneof != nil { 3072 s = append(s, "TestOneof: "+fmt.Sprintf("%#v", this.TestOneof)+",\n") 3073 } 3074 if this.XXX_unrecognized != nil { 3075 s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n") 3076 } 3077 s = append(s, "}") 3078 return strings.Join(s, "") 3079} 3080func (this *AllTypesOneOf_Field1) GoString() string { 3081 if this == nil { 3082 return "nil" 3083 } 3084 s := strings.Join([]string{`&one.AllTypesOneOf_Field1{` + 3085 `Field1:` + fmt.Sprintf("%#v", this.Field1) + `}`}, ", ") 3086 return s 3087} 3088func (this *AllTypesOneOf_Field2) GoString() string { 3089 if this == nil { 3090 return "nil" 3091 } 3092 s := strings.Join([]string{`&one.AllTypesOneOf_Field2{` + 3093 `Field2:` + fmt.Sprintf("%#v", this.Field2) + `}`}, ", ") 3094 return s 3095} 3096func (this *AllTypesOneOf_Field3) GoString() string { 3097 if this == nil { 3098 return "nil" 3099 } 3100 s := strings.Join([]string{`&one.AllTypesOneOf_Field3{` + 3101 `Field3:` + fmt.Sprintf("%#v", this.Field3) + `}`}, ", ") 3102 return s 3103} 3104func (this *AllTypesOneOf_Field4) GoString() string { 3105 if this == nil { 3106 return "nil" 3107 } 3108 s := strings.Join([]string{`&one.AllTypesOneOf_Field4{` + 3109 `Field4:` + fmt.Sprintf("%#v", this.Field4) + `}`}, ", ") 3110 return s 3111} 3112func (this *AllTypesOneOf_Field5) GoString() string { 3113 if this == nil { 3114 return "nil" 3115 } 3116 s := strings.Join([]string{`&one.AllTypesOneOf_Field5{` + 3117 `Field5:` + fmt.Sprintf("%#v", this.Field5) + `}`}, ", ") 3118 return s 3119} 3120func (this *AllTypesOneOf_Field6) GoString() string { 3121 if this == nil { 3122 return "nil" 3123 } 3124 s := strings.Join([]string{`&one.AllTypesOneOf_Field6{` + 3125 `Field6:` + fmt.Sprintf("%#v", this.Field6) + `}`}, ", ") 3126 return s 3127} 3128func (this *AllTypesOneOf_Field7) GoString() string { 3129 if this == nil { 3130 return "nil" 3131 } 3132 s := strings.Join([]string{`&one.AllTypesOneOf_Field7{` + 3133 `Field7:` + fmt.Sprintf("%#v", this.Field7) + `}`}, ", ") 3134 return s 3135} 3136func (this *AllTypesOneOf_Field8) GoString() string { 3137 if this == nil { 3138 return "nil" 3139 } 3140 s := strings.Join([]string{`&one.AllTypesOneOf_Field8{` + 3141 `Field8:` + fmt.Sprintf("%#v", this.Field8) + `}`}, ", ") 3142 return s 3143} 3144func (this *AllTypesOneOf_Field9) GoString() string { 3145 if this == nil { 3146 return "nil" 3147 } 3148 s := strings.Join([]string{`&one.AllTypesOneOf_Field9{` + 3149 `Field9:` + fmt.Sprintf("%#v", this.Field9) + `}`}, ", ") 3150 return s 3151} 3152func (this *AllTypesOneOf_Field10) GoString() string { 3153 if this == nil { 3154 return "nil" 3155 } 3156 s := strings.Join([]string{`&one.AllTypesOneOf_Field10{` + 3157 `Field10:` + fmt.Sprintf("%#v", this.Field10) + `}`}, ", ") 3158 return s 3159} 3160func (this *AllTypesOneOf_Field11) GoString() string { 3161 if this == nil { 3162 return "nil" 3163 } 3164 s := strings.Join([]string{`&one.AllTypesOneOf_Field11{` + 3165 `Field11:` + fmt.Sprintf("%#v", this.Field11) + `}`}, ", ") 3166 return s 3167} 3168func (this *AllTypesOneOf_Field12) GoString() string { 3169 if this == nil { 3170 return "nil" 3171 } 3172 s := strings.Join([]string{`&one.AllTypesOneOf_Field12{` + 3173 `Field12:` + fmt.Sprintf("%#v", this.Field12) + `}`}, ", ") 3174 return s 3175} 3176func (this *AllTypesOneOf_Field13) GoString() string { 3177 if this == nil { 3178 return "nil" 3179 } 3180 s := strings.Join([]string{`&one.AllTypesOneOf_Field13{` + 3181 `Field13:` + fmt.Sprintf("%#v", this.Field13) + `}`}, ", ") 3182 return s 3183} 3184func (this *AllTypesOneOf_Field14) GoString() string { 3185 if this == nil { 3186 return "nil" 3187 } 3188 s := strings.Join([]string{`&one.AllTypesOneOf_Field14{` + 3189 `Field14:` + fmt.Sprintf("%#v", this.Field14) + `}`}, ", ") 3190 return s 3191} 3192func (this *AllTypesOneOf_Field15) GoString() string { 3193 if this == nil { 3194 return "nil" 3195 } 3196 s := strings.Join([]string{`&one.AllTypesOneOf_Field15{` + 3197 `Field15:` + fmt.Sprintf("%#v", this.Field15) + `}`}, ", ") 3198 return s 3199} 3200func (this *AllTypesOneOf_SubMessage) GoString() string { 3201 if this == nil { 3202 return "nil" 3203 } 3204 s := strings.Join([]string{`&one.AllTypesOneOf_SubMessage{` + 3205 `SubMessage:` + fmt.Sprintf("%#v", this.SubMessage) + `}`}, ", ") 3206 return s 3207} 3208func (this *TwoOneofs) GoString() string { 3209 if this == nil { 3210 return "nil" 3211 } 3212 s := make([]string, 0, 10) 3213 s = append(s, "&one.TwoOneofs{") 3214 if this.One != nil { 3215 s = append(s, "One: "+fmt.Sprintf("%#v", this.One)+",\n") 3216 } 3217 if this.Two != nil { 3218 s = append(s, "Two: "+fmt.Sprintf("%#v", this.Two)+",\n") 3219 } 3220 if this.XXX_unrecognized != nil { 3221 s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n") 3222 } 3223 s = append(s, "}") 3224 return strings.Join(s, "") 3225} 3226func (this *TwoOneofs_Field1) GoString() string { 3227 if this == nil { 3228 return "nil" 3229 } 3230 s := strings.Join([]string{`&one.TwoOneofs_Field1{` + 3231 `Field1:` + fmt.Sprintf("%#v", this.Field1) + `}`}, ", ") 3232 return s 3233} 3234func (this *TwoOneofs_Field2) GoString() string { 3235 if this == nil { 3236 return "nil" 3237 } 3238 s := strings.Join([]string{`&one.TwoOneofs_Field2{` + 3239 `Field2:` + fmt.Sprintf("%#v", this.Field2) + `}`}, ", ") 3240 return s 3241} 3242func (this *TwoOneofs_Field3) GoString() string { 3243 if this == nil { 3244 return "nil" 3245 } 3246 s := strings.Join([]string{`&one.TwoOneofs_Field3{` + 3247 `Field3:` + fmt.Sprintf("%#v", this.Field3) + `}`}, ", ") 3248 return s 3249} 3250func (this *TwoOneofs_Field34) GoString() string { 3251 if this == nil { 3252 return "nil" 3253 } 3254 s := strings.Join([]string{`&one.TwoOneofs_Field34{` + 3255 `Field34:` + fmt.Sprintf("%#v", this.Field34) + `}`}, ", ") 3256 return s 3257} 3258func (this *TwoOneofs_Field35) GoString() string { 3259 if this == nil { 3260 return "nil" 3261 } 3262 s := strings.Join([]string{`&one.TwoOneofs_Field35{` + 3263 `Field35:` + fmt.Sprintf("%#v", this.Field35) + `}`}, ", ") 3264 return s 3265} 3266func (this *TwoOneofs_SubMessage2) GoString() string { 3267 if this == nil { 3268 return "nil" 3269 } 3270 s := strings.Join([]string{`&one.TwoOneofs_SubMessage2{` + 3271 `SubMessage2:` + fmt.Sprintf("%#v", this.SubMessage2) + `}`}, ", ") 3272 return s 3273} 3274func (this *CustomOneof) GoString() string { 3275 if this == nil { 3276 return "nil" 3277 } 3278 s := make([]string, 0, 8) 3279 s = append(s, "&one.CustomOneof{") 3280 if this.Custom != nil { 3281 s = append(s, "Custom: "+fmt.Sprintf("%#v", this.Custom)+",\n") 3282 } 3283 if this.XXX_unrecognized != nil { 3284 s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n") 3285 } 3286 s = append(s, "}") 3287 return strings.Join(s, "") 3288} 3289func (this *CustomOneof_Stringy) GoString() string { 3290 if this == nil { 3291 return "nil" 3292 } 3293 s := strings.Join([]string{`&one.CustomOneof_Stringy{` + 3294 `Stringy:` + fmt.Sprintf("%#v", this.Stringy) + `}`}, ", ") 3295 return s 3296} 3297func (this *CustomOneof_CustomType) GoString() string { 3298 if this == nil { 3299 return "nil" 3300 } 3301 s := strings.Join([]string{`&one.CustomOneof_CustomType{` + 3302 `CustomType:` + fmt.Sprintf("%#v", this.CustomType) + `}`}, ", ") 3303 return s 3304} 3305func (this *CustomOneof_CastType) GoString() string { 3306 if this == nil { 3307 return "nil" 3308 } 3309 s := strings.Join([]string{`&one.CustomOneof_CastType{` + 3310 `CastType:` + fmt.Sprintf("%#v", this.CastType) + `}`}, ", ") 3311 return s 3312} 3313func (this *CustomOneof_MyCustomName) GoString() string { 3314 if this == nil { 3315 return "nil" 3316 } 3317 s := strings.Join([]string{`&one.CustomOneof_MyCustomName{` + 3318 `MyCustomName:` + fmt.Sprintf("%#v", this.MyCustomName) + `}`}, ", ") 3319 return s 3320} 3321func valueToGoStringOne(v interface{}, typ string) string { 3322 rv := reflect.ValueOf(v) 3323 if rv.IsNil() { 3324 return "nil" 3325 } 3326 pv := reflect.Indirect(rv).Interface() 3327 return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) 3328} 3329func NewPopulatedSubby(r randyOne, easy bool) *Subby { 3330 this := &Subby{} 3331 if r.Intn(10) != 0 { 3332 v1 := string(randStringOne(r)) 3333 this.Sub = &v1 3334 } 3335 if !easy && r.Intn(10) != 0 { 3336 this.XXX_unrecognized = randUnrecognizedOne(r, 2) 3337 } 3338 return this 3339} 3340 3341func NewPopulatedAllTypesOneOf(r randyOne, easy bool) *AllTypesOneOf { 3342 this := &AllTypesOneOf{} 3343 oneofNumber_TestOneof := []int32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}[r.Intn(16)] 3344 switch oneofNumber_TestOneof { 3345 case 1: 3346 this.TestOneof = NewPopulatedAllTypesOneOf_Field1(r, easy) 3347 case 2: 3348 this.TestOneof = NewPopulatedAllTypesOneOf_Field2(r, easy) 3349 case 3: 3350 this.TestOneof = NewPopulatedAllTypesOneOf_Field3(r, easy) 3351 case 4: 3352 this.TestOneof = NewPopulatedAllTypesOneOf_Field4(r, easy) 3353 case 5: 3354 this.TestOneof = NewPopulatedAllTypesOneOf_Field5(r, easy) 3355 case 6: 3356 this.TestOneof = NewPopulatedAllTypesOneOf_Field6(r, easy) 3357 case 7: 3358 this.TestOneof = NewPopulatedAllTypesOneOf_Field7(r, easy) 3359 case 8: 3360 this.TestOneof = NewPopulatedAllTypesOneOf_Field8(r, easy) 3361 case 9: 3362 this.TestOneof = NewPopulatedAllTypesOneOf_Field9(r, easy) 3363 case 10: 3364 this.TestOneof = NewPopulatedAllTypesOneOf_Field10(r, easy) 3365 case 11: 3366 this.TestOneof = NewPopulatedAllTypesOneOf_Field11(r, easy) 3367 case 12: 3368 this.TestOneof = NewPopulatedAllTypesOneOf_Field12(r, easy) 3369 case 13: 3370 this.TestOneof = NewPopulatedAllTypesOneOf_Field13(r, easy) 3371 case 14: 3372 this.TestOneof = NewPopulatedAllTypesOneOf_Field14(r, easy) 3373 case 15: 3374 this.TestOneof = NewPopulatedAllTypesOneOf_Field15(r, easy) 3375 case 16: 3376 this.TestOneof = NewPopulatedAllTypesOneOf_SubMessage(r, easy) 3377 } 3378 if !easy && r.Intn(10) != 0 { 3379 this.XXX_unrecognized = randUnrecognizedOne(r, 17) 3380 } 3381 return this 3382} 3383 3384func NewPopulatedAllTypesOneOf_Field1(r randyOne, easy bool) *AllTypesOneOf_Field1 { 3385 this := &AllTypesOneOf_Field1{} 3386 this.Field1 = float64(r.Float64()) 3387 if r.Intn(2) == 0 { 3388 this.Field1 *= -1 3389 } 3390 return this 3391} 3392func NewPopulatedAllTypesOneOf_Field2(r randyOne, easy bool) *AllTypesOneOf_Field2 { 3393 this := &AllTypesOneOf_Field2{} 3394 this.Field2 = float32(r.Float32()) 3395 if r.Intn(2) == 0 { 3396 this.Field2 *= -1 3397 } 3398 return this 3399} 3400func NewPopulatedAllTypesOneOf_Field3(r randyOne, easy bool) *AllTypesOneOf_Field3 { 3401 this := &AllTypesOneOf_Field3{} 3402 this.Field3 = int32(r.Int31()) 3403 if r.Intn(2) == 0 { 3404 this.Field3 *= -1 3405 } 3406 return this 3407} 3408func NewPopulatedAllTypesOneOf_Field4(r randyOne, easy bool) *AllTypesOneOf_Field4 { 3409 this := &AllTypesOneOf_Field4{} 3410 this.Field4 = int64(r.Int63()) 3411 if r.Intn(2) == 0 { 3412 this.Field4 *= -1 3413 } 3414 return this 3415} 3416func NewPopulatedAllTypesOneOf_Field5(r randyOne, easy bool) *AllTypesOneOf_Field5 { 3417 this := &AllTypesOneOf_Field5{} 3418 this.Field5 = uint32(r.Uint32()) 3419 return this 3420} 3421func NewPopulatedAllTypesOneOf_Field6(r randyOne, easy bool) *AllTypesOneOf_Field6 { 3422 this := &AllTypesOneOf_Field6{} 3423 this.Field6 = uint64(uint64(r.Uint32())) 3424 return this 3425} 3426func NewPopulatedAllTypesOneOf_Field7(r randyOne, easy bool) *AllTypesOneOf_Field7 { 3427 this := &AllTypesOneOf_Field7{} 3428 this.Field7 = int32(r.Int31()) 3429 if r.Intn(2) == 0 { 3430 this.Field7 *= -1 3431 } 3432 return this 3433} 3434func NewPopulatedAllTypesOneOf_Field8(r randyOne, easy bool) *AllTypesOneOf_Field8 { 3435 this := &AllTypesOneOf_Field8{} 3436 this.Field8 = int64(r.Int63()) 3437 if r.Intn(2) == 0 { 3438 this.Field8 *= -1 3439 } 3440 return this 3441} 3442func NewPopulatedAllTypesOneOf_Field9(r randyOne, easy bool) *AllTypesOneOf_Field9 { 3443 this := &AllTypesOneOf_Field9{} 3444 this.Field9 = uint32(r.Uint32()) 3445 return this 3446} 3447func NewPopulatedAllTypesOneOf_Field10(r randyOne, easy bool) *AllTypesOneOf_Field10 { 3448 this := &AllTypesOneOf_Field10{} 3449 this.Field10 = int32(r.Int31()) 3450 if r.Intn(2) == 0 { 3451 this.Field10 *= -1 3452 } 3453 return this 3454} 3455func NewPopulatedAllTypesOneOf_Field11(r randyOne, easy bool) *AllTypesOneOf_Field11 { 3456 this := &AllTypesOneOf_Field11{} 3457 this.Field11 = uint64(uint64(r.Uint32())) 3458 return this 3459} 3460func NewPopulatedAllTypesOneOf_Field12(r randyOne, easy bool) *AllTypesOneOf_Field12 { 3461 this := &AllTypesOneOf_Field12{} 3462 this.Field12 = int64(r.Int63()) 3463 if r.Intn(2) == 0 { 3464 this.Field12 *= -1 3465 } 3466 return this 3467} 3468func NewPopulatedAllTypesOneOf_Field13(r randyOne, easy bool) *AllTypesOneOf_Field13 { 3469 this := &AllTypesOneOf_Field13{} 3470 this.Field13 = bool(bool(r.Intn(2) == 0)) 3471 return this 3472} 3473func NewPopulatedAllTypesOneOf_Field14(r randyOne, easy bool) *AllTypesOneOf_Field14 { 3474 this := &AllTypesOneOf_Field14{} 3475 this.Field14 = string(randStringOne(r)) 3476 return this 3477} 3478func NewPopulatedAllTypesOneOf_Field15(r randyOne, easy bool) *AllTypesOneOf_Field15 { 3479 this := &AllTypesOneOf_Field15{} 3480 v2 := r.Intn(100) 3481 this.Field15 = make([]byte, v2) 3482 for i := 0; i < v2; i++ { 3483 this.Field15[i] = byte(r.Intn(256)) 3484 } 3485 return this 3486} 3487func NewPopulatedAllTypesOneOf_SubMessage(r randyOne, easy bool) *AllTypesOneOf_SubMessage { 3488 this := &AllTypesOneOf_SubMessage{} 3489 this.SubMessage = NewPopulatedSubby(r, easy) 3490 return this 3491} 3492func NewPopulatedTwoOneofs(r randyOne, easy bool) *TwoOneofs { 3493 this := &TwoOneofs{} 3494 oneofNumber_One := []int32{1, 2, 3}[r.Intn(3)] 3495 switch oneofNumber_One { 3496 case 1: 3497 this.One = NewPopulatedTwoOneofs_Field1(r, easy) 3498 case 2: 3499 this.One = NewPopulatedTwoOneofs_Field2(r, easy) 3500 case 3: 3501 this.One = NewPopulatedTwoOneofs_Field3(r, easy) 3502 } 3503 oneofNumber_Two := []int32{34, 35, 36}[r.Intn(3)] 3504 switch oneofNumber_Two { 3505 case 34: 3506 this.Two = NewPopulatedTwoOneofs_Field34(r, easy) 3507 case 35: 3508 this.Two = NewPopulatedTwoOneofs_Field35(r, easy) 3509 case 36: 3510 this.Two = NewPopulatedTwoOneofs_SubMessage2(r, easy) 3511 } 3512 if !easy && r.Intn(10) != 0 { 3513 this.XXX_unrecognized = randUnrecognizedOne(r, 37) 3514 } 3515 return this 3516} 3517 3518func NewPopulatedTwoOneofs_Field1(r randyOne, easy bool) *TwoOneofs_Field1 { 3519 this := &TwoOneofs_Field1{} 3520 this.Field1 = float64(r.Float64()) 3521 if r.Intn(2) == 0 { 3522 this.Field1 *= -1 3523 } 3524 return this 3525} 3526func NewPopulatedTwoOneofs_Field2(r randyOne, easy bool) *TwoOneofs_Field2 { 3527 this := &TwoOneofs_Field2{} 3528 this.Field2 = float32(r.Float32()) 3529 if r.Intn(2) == 0 { 3530 this.Field2 *= -1 3531 } 3532 return this 3533} 3534func NewPopulatedTwoOneofs_Field3(r randyOne, easy bool) *TwoOneofs_Field3 { 3535 this := &TwoOneofs_Field3{} 3536 this.Field3 = int32(r.Int31()) 3537 if r.Intn(2) == 0 { 3538 this.Field3 *= -1 3539 } 3540 return this 3541} 3542func NewPopulatedTwoOneofs_Field34(r randyOne, easy bool) *TwoOneofs_Field34 { 3543 this := &TwoOneofs_Field34{} 3544 this.Field34 = string(randStringOne(r)) 3545 return this 3546} 3547func NewPopulatedTwoOneofs_Field35(r randyOne, easy bool) *TwoOneofs_Field35 { 3548 this := &TwoOneofs_Field35{} 3549 v3 := r.Intn(100) 3550 this.Field35 = make([]byte, v3) 3551 for i := 0; i < v3; i++ { 3552 this.Field35[i] = byte(r.Intn(256)) 3553 } 3554 return this 3555} 3556func NewPopulatedTwoOneofs_SubMessage2(r randyOne, easy bool) *TwoOneofs_SubMessage2 { 3557 this := &TwoOneofs_SubMessage2{} 3558 this.SubMessage2 = NewPopulatedSubby(r, easy) 3559 return this 3560} 3561func NewPopulatedCustomOneof(r randyOne, easy bool) *CustomOneof { 3562 this := &CustomOneof{} 3563 oneofNumber_Custom := []int32{34, 35, 36, 37}[r.Intn(4)] 3564 switch oneofNumber_Custom { 3565 case 34: 3566 this.Custom = NewPopulatedCustomOneof_Stringy(r, easy) 3567 case 35: 3568 this.Custom = NewPopulatedCustomOneof_CustomType(r, easy) 3569 case 36: 3570 this.Custom = NewPopulatedCustomOneof_CastType(r, easy) 3571 case 37: 3572 this.Custom = NewPopulatedCustomOneof_MyCustomName(r, easy) 3573 } 3574 if !easy && r.Intn(10) != 0 { 3575 this.XXX_unrecognized = randUnrecognizedOne(r, 38) 3576 } 3577 return this 3578} 3579 3580func NewPopulatedCustomOneof_Stringy(r randyOne, easy bool) *CustomOneof_Stringy { 3581 this := &CustomOneof_Stringy{} 3582 this.Stringy = string(randStringOne(r)) 3583 return this 3584} 3585func NewPopulatedCustomOneof_CustomType(r randyOne, easy bool) *CustomOneof_CustomType { 3586 this := &CustomOneof_CustomType{} 3587 v4 := github_com_gogo_protobuf_test_custom.NewPopulatedUint128(r) 3588 this.CustomType = *v4 3589 return this 3590} 3591func NewPopulatedCustomOneof_CastType(r randyOne, easy bool) *CustomOneof_CastType { 3592 this := &CustomOneof_CastType{} 3593 this.CastType = github_com_gogo_protobuf_test_casttype.MyUint64Type(uint64(r.Uint32())) 3594 return this 3595} 3596func NewPopulatedCustomOneof_MyCustomName(r randyOne, easy bool) *CustomOneof_MyCustomName { 3597 this := &CustomOneof_MyCustomName{} 3598 this.MyCustomName = int64(r.Int63()) 3599 if r.Intn(2) == 0 { 3600 this.MyCustomName *= -1 3601 } 3602 return this 3603} 3604 3605type randyOne interface { 3606 Float32() float32 3607 Float64() float64 3608 Int63() int64 3609 Int31() int32 3610 Uint32() uint32 3611 Intn(n int) int 3612} 3613 3614func randUTF8RuneOne(r randyOne) rune { 3615 ru := r.Intn(62) 3616 if ru < 10 { 3617 return rune(ru + 48) 3618 } else if ru < 36 { 3619 return rune(ru + 55) 3620 } 3621 return rune(ru + 61) 3622} 3623func randStringOne(r randyOne) string { 3624 v5 := r.Intn(100) 3625 tmps := make([]rune, v5) 3626 for i := 0; i < v5; i++ { 3627 tmps[i] = randUTF8RuneOne(r) 3628 } 3629 return string(tmps) 3630} 3631func randUnrecognizedOne(r randyOne, maxFieldNumber int) (dAtA []byte) { 3632 l := r.Intn(5) 3633 for i := 0; i < l; i++ { 3634 wire := r.Intn(4) 3635 if wire == 3 { 3636 wire = 5 3637 } 3638 fieldNumber := maxFieldNumber + r.Intn(100) 3639 dAtA = randFieldOne(dAtA, r, fieldNumber, wire) 3640 } 3641 return dAtA 3642} 3643func randFieldOne(dAtA []byte, r randyOne, fieldNumber int, wire int) []byte { 3644 key := uint32(fieldNumber)<<3 | uint32(wire) 3645 switch wire { 3646 case 0: 3647 dAtA = encodeVarintPopulateOne(dAtA, uint64(key)) 3648 v6 := r.Int63() 3649 if r.Intn(2) == 0 { 3650 v6 *= -1 3651 } 3652 dAtA = encodeVarintPopulateOne(dAtA, uint64(v6)) 3653 case 1: 3654 dAtA = encodeVarintPopulateOne(dAtA, uint64(key)) 3655 dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) 3656 case 2: 3657 dAtA = encodeVarintPopulateOne(dAtA, uint64(key)) 3658 ll := r.Intn(100) 3659 dAtA = encodeVarintPopulateOne(dAtA, uint64(ll)) 3660 for j := 0; j < ll; j++ { 3661 dAtA = append(dAtA, byte(r.Intn(256))) 3662 } 3663 default: 3664 dAtA = encodeVarintPopulateOne(dAtA, uint64(key)) 3665 dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) 3666 } 3667 return dAtA 3668} 3669func encodeVarintPopulateOne(dAtA []byte, v uint64) []byte { 3670 for v >= 1<<7 { 3671 dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80)) 3672 v >>= 7 3673 } 3674 dAtA = append(dAtA, uint8(v)) 3675 return dAtA 3676} 3677func (m *Subby) Size() (n int) { 3678 var l int 3679 _ = l 3680 if m.Sub != nil { 3681 l = len(*m.Sub) 3682 n += 1 + l + sovOne(uint64(l)) 3683 } 3684 if m.XXX_unrecognized != nil { 3685 n += len(m.XXX_unrecognized) 3686 } 3687 return n 3688} 3689 3690func (m *AllTypesOneOf) Size() (n int) { 3691 var l int 3692 _ = l 3693 if m.TestOneof != nil { 3694 n += m.TestOneof.Size() 3695 } 3696 if m.XXX_unrecognized != nil { 3697 n += len(m.XXX_unrecognized) 3698 } 3699 return n 3700} 3701 3702func (m *AllTypesOneOf_Field1) Size() (n int) { 3703 var l int 3704 _ = l 3705 n += 9 3706 return n 3707} 3708func (m *AllTypesOneOf_Field2) Size() (n int) { 3709 var l int 3710 _ = l 3711 n += 5 3712 return n 3713} 3714func (m *AllTypesOneOf_Field3) Size() (n int) { 3715 var l int 3716 _ = l 3717 n += 1 + sovOne(uint64(m.Field3)) 3718 return n 3719} 3720func (m *AllTypesOneOf_Field4) Size() (n int) { 3721 var l int 3722 _ = l 3723 n += 1 + sovOne(uint64(m.Field4)) 3724 return n 3725} 3726func (m *AllTypesOneOf_Field5) Size() (n int) { 3727 var l int 3728 _ = l 3729 n += 1 + sovOne(uint64(m.Field5)) 3730 return n 3731} 3732func (m *AllTypesOneOf_Field6) Size() (n int) { 3733 var l int 3734 _ = l 3735 n += 1 + sovOne(uint64(m.Field6)) 3736 return n 3737} 3738func (m *AllTypesOneOf_Field7) Size() (n int) { 3739 var l int 3740 _ = l 3741 n += 1 + sozOne(uint64(m.Field7)) 3742 return n 3743} 3744func (m *AllTypesOneOf_Field8) Size() (n int) { 3745 var l int 3746 _ = l 3747 n += 1 + sozOne(uint64(m.Field8)) 3748 return n 3749} 3750func (m *AllTypesOneOf_Field9) Size() (n int) { 3751 var l int 3752 _ = l 3753 n += 5 3754 return n 3755} 3756func (m *AllTypesOneOf_Field10) Size() (n int) { 3757 var l int 3758 _ = l 3759 n += 5 3760 return n 3761} 3762func (m *AllTypesOneOf_Field11) Size() (n int) { 3763 var l int 3764 _ = l 3765 n += 9 3766 return n 3767} 3768func (m *AllTypesOneOf_Field12) Size() (n int) { 3769 var l int 3770 _ = l 3771 n += 9 3772 return n 3773} 3774func (m *AllTypesOneOf_Field13) Size() (n int) { 3775 var l int 3776 _ = l 3777 n += 2 3778 return n 3779} 3780func (m *AllTypesOneOf_Field14) Size() (n int) { 3781 var l int 3782 _ = l 3783 l = len(m.Field14) 3784 n += 1 + l + sovOne(uint64(l)) 3785 return n 3786} 3787func (m *AllTypesOneOf_Field15) Size() (n int) { 3788 var l int 3789 _ = l 3790 if m.Field15 != nil { 3791 l = len(m.Field15) 3792 n += 1 + l + sovOne(uint64(l)) 3793 } 3794 return n 3795} 3796func (m *AllTypesOneOf_SubMessage) Size() (n int) { 3797 var l int 3798 _ = l 3799 if m.SubMessage != nil { 3800 l = m.SubMessage.Size() 3801 n += 2 + l + sovOne(uint64(l)) 3802 } 3803 return n 3804} 3805func (m *TwoOneofs) Size() (n int) { 3806 var l int 3807 _ = l 3808 if m.One != nil { 3809 n += m.One.Size() 3810 } 3811 if m.Two != nil { 3812 n += m.Two.Size() 3813 } 3814 if m.XXX_unrecognized != nil { 3815 n += len(m.XXX_unrecognized) 3816 } 3817 return n 3818} 3819 3820func (m *TwoOneofs_Field1) Size() (n int) { 3821 var l int 3822 _ = l 3823 n += 9 3824 return n 3825} 3826func (m *TwoOneofs_Field2) Size() (n int) { 3827 var l int 3828 _ = l 3829 n += 5 3830 return n 3831} 3832func (m *TwoOneofs_Field3) Size() (n int) { 3833 var l int 3834 _ = l 3835 n += 1 + sovOne(uint64(m.Field3)) 3836 return n 3837} 3838func (m *TwoOneofs_Field34) Size() (n int) { 3839 var l int 3840 _ = l 3841 l = len(m.Field34) 3842 n += 2 + l + sovOne(uint64(l)) 3843 return n 3844} 3845func (m *TwoOneofs_Field35) Size() (n int) { 3846 var l int 3847 _ = l 3848 if m.Field35 != nil { 3849 l = len(m.Field35) 3850 n += 2 + l + sovOne(uint64(l)) 3851 } 3852 return n 3853} 3854func (m *TwoOneofs_SubMessage2) Size() (n int) { 3855 var l int 3856 _ = l 3857 if m.SubMessage2 != nil { 3858 l = m.SubMessage2.Size() 3859 n += 2 + l + sovOne(uint64(l)) 3860 } 3861 return n 3862} 3863func (m *CustomOneof) Size() (n int) { 3864 var l int 3865 _ = l 3866 if m.Custom != nil { 3867 n += m.Custom.Size() 3868 } 3869 if m.XXX_unrecognized != nil { 3870 n += len(m.XXX_unrecognized) 3871 } 3872 return n 3873} 3874 3875func (m *CustomOneof_Stringy) Size() (n int) { 3876 var l int 3877 _ = l 3878 l = len(m.Stringy) 3879 n += 2 + l + sovOne(uint64(l)) 3880 return n 3881} 3882func (m *CustomOneof_CustomType) Size() (n int) { 3883 var l int 3884 _ = l 3885 l = m.CustomType.Size() 3886 n += 2 + l + sovOne(uint64(l)) 3887 return n 3888} 3889func (m *CustomOneof_CastType) Size() (n int) { 3890 var l int 3891 _ = l 3892 n += 2 + sovOne(uint64(m.CastType)) 3893 return n 3894} 3895func (m *CustomOneof_MyCustomName) Size() (n int) { 3896 var l int 3897 _ = l 3898 n += 2 + sovOne(uint64(m.MyCustomName)) 3899 return n 3900} 3901 3902func sovOne(x uint64) (n int) { 3903 for { 3904 n++ 3905 x >>= 7 3906 if x == 0 { 3907 break 3908 } 3909 } 3910 return n 3911} 3912func sozOne(x uint64) (n int) { 3913 return sovOne(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 3914} 3915func (this *Subby) String() string { 3916 if this == nil { 3917 return "nil" 3918 } 3919 s := strings.Join([]string{`&Subby{`, 3920 `Sub:` + valueToStringOne(this.Sub) + `,`, 3921 `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, 3922 `}`, 3923 }, "") 3924 return s 3925} 3926func (this *AllTypesOneOf) String() string { 3927 if this == nil { 3928 return "nil" 3929 } 3930 s := strings.Join([]string{`&AllTypesOneOf{`, 3931 `TestOneof:` + fmt.Sprintf("%v", this.TestOneof) + `,`, 3932 `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, 3933 `}`, 3934 }, "") 3935 return s 3936} 3937func (this *AllTypesOneOf_Field1) String() string { 3938 if this == nil { 3939 return "nil" 3940 } 3941 s := strings.Join([]string{`&AllTypesOneOf_Field1{`, 3942 `Field1:` + fmt.Sprintf("%v", this.Field1) + `,`, 3943 `}`, 3944 }, "") 3945 return s 3946} 3947func (this *AllTypesOneOf_Field2) String() string { 3948 if this == nil { 3949 return "nil" 3950 } 3951 s := strings.Join([]string{`&AllTypesOneOf_Field2{`, 3952 `Field2:` + fmt.Sprintf("%v", this.Field2) + `,`, 3953 `}`, 3954 }, "") 3955 return s 3956} 3957func (this *AllTypesOneOf_Field3) String() string { 3958 if this == nil { 3959 return "nil" 3960 } 3961 s := strings.Join([]string{`&AllTypesOneOf_Field3{`, 3962 `Field3:` + fmt.Sprintf("%v", this.Field3) + `,`, 3963 `}`, 3964 }, "") 3965 return s 3966} 3967func (this *AllTypesOneOf_Field4) String() string { 3968 if this == nil { 3969 return "nil" 3970 } 3971 s := strings.Join([]string{`&AllTypesOneOf_Field4{`, 3972 `Field4:` + fmt.Sprintf("%v", this.Field4) + `,`, 3973 `}`, 3974 }, "") 3975 return s 3976} 3977func (this *AllTypesOneOf_Field5) String() string { 3978 if this == nil { 3979 return "nil" 3980 } 3981 s := strings.Join([]string{`&AllTypesOneOf_Field5{`, 3982 `Field5:` + fmt.Sprintf("%v", this.Field5) + `,`, 3983 `}`, 3984 }, "") 3985 return s 3986} 3987func (this *AllTypesOneOf_Field6) String() string { 3988 if this == nil { 3989 return "nil" 3990 } 3991 s := strings.Join([]string{`&AllTypesOneOf_Field6{`, 3992 `Field6:` + fmt.Sprintf("%v", this.Field6) + `,`, 3993 `}`, 3994 }, "") 3995 return s 3996} 3997func (this *AllTypesOneOf_Field7) String() string { 3998 if this == nil { 3999 return "nil" 4000 } 4001 s := strings.Join([]string{`&AllTypesOneOf_Field7{`, 4002 `Field7:` + fmt.Sprintf("%v", this.Field7) + `,`, 4003 `}`, 4004 }, "") 4005 return s 4006} 4007func (this *AllTypesOneOf_Field8) String() string { 4008 if this == nil { 4009 return "nil" 4010 } 4011 s := strings.Join([]string{`&AllTypesOneOf_Field8{`, 4012 `Field8:` + fmt.Sprintf("%v", this.Field8) + `,`, 4013 `}`, 4014 }, "") 4015 return s 4016} 4017func (this *AllTypesOneOf_Field9) String() string { 4018 if this == nil { 4019 return "nil" 4020 } 4021 s := strings.Join([]string{`&AllTypesOneOf_Field9{`, 4022 `Field9:` + fmt.Sprintf("%v", this.Field9) + `,`, 4023 `}`, 4024 }, "") 4025 return s 4026} 4027func (this *AllTypesOneOf_Field10) String() string { 4028 if this == nil { 4029 return "nil" 4030 } 4031 s := strings.Join([]string{`&AllTypesOneOf_Field10{`, 4032 `Field10:` + fmt.Sprintf("%v", this.Field10) + `,`, 4033 `}`, 4034 }, "") 4035 return s 4036} 4037func (this *AllTypesOneOf_Field11) String() string { 4038 if this == nil { 4039 return "nil" 4040 } 4041 s := strings.Join([]string{`&AllTypesOneOf_Field11{`, 4042 `Field11:` + fmt.Sprintf("%v", this.Field11) + `,`, 4043 `}`, 4044 }, "") 4045 return s 4046} 4047func (this *AllTypesOneOf_Field12) String() string { 4048 if this == nil { 4049 return "nil" 4050 } 4051 s := strings.Join([]string{`&AllTypesOneOf_Field12{`, 4052 `Field12:` + fmt.Sprintf("%v", this.Field12) + `,`, 4053 `}`, 4054 }, "") 4055 return s 4056} 4057func (this *AllTypesOneOf_Field13) String() string { 4058 if this == nil { 4059 return "nil" 4060 } 4061 s := strings.Join([]string{`&AllTypesOneOf_Field13{`, 4062 `Field13:` + fmt.Sprintf("%v", this.Field13) + `,`, 4063 `}`, 4064 }, "") 4065 return s 4066} 4067func (this *AllTypesOneOf_Field14) String() string { 4068 if this == nil { 4069 return "nil" 4070 } 4071 s := strings.Join([]string{`&AllTypesOneOf_Field14{`, 4072 `Field14:` + fmt.Sprintf("%v", this.Field14) + `,`, 4073 `}`, 4074 }, "") 4075 return s 4076} 4077func (this *AllTypesOneOf_Field15) String() string { 4078 if this == nil { 4079 return "nil" 4080 } 4081 s := strings.Join([]string{`&AllTypesOneOf_Field15{`, 4082 `Field15:` + fmt.Sprintf("%v", this.Field15) + `,`, 4083 `}`, 4084 }, "") 4085 return s 4086} 4087func (this *AllTypesOneOf_SubMessage) String() string { 4088 if this == nil { 4089 return "nil" 4090 } 4091 s := strings.Join([]string{`&AllTypesOneOf_SubMessage{`, 4092 `SubMessage:` + strings.Replace(fmt.Sprintf("%v", this.SubMessage), "Subby", "Subby", 1) + `,`, 4093 `}`, 4094 }, "") 4095 return s 4096} 4097func (this *TwoOneofs) String() string { 4098 if this == nil { 4099 return "nil" 4100 } 4101 s := strings.Join([]string{`&TwoOneofs{`, 4102 `One:` + fmt.Sprintf("%v", this.One) + `,`, 4103 `Two:` + fmt.Sprintf("%v", this.Two) + `,`, 4104 `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, 4105 `}`, 4106 }, "") 4107 return s 4108} 4109func (this *TwoOneofs_Field1) String() string { 4110 if this == nil { 4111 return "nil" 4112 } 4113 s := strings.Join([]string{`&TwoOneofs_Field1{`, 4114 `Field1:` + fmt.Sprintf("%v", this.Field1) + `,`, 4115 `}`, 4116 }, "") 4117 return s 4118} 4119func (this *TwoOneofs_Field2) String() string { 4120 if this == nil { 4121 return "nil" 4122 } 4123 s := strings.Join([]string{`&TwoOneofs_Field2{`, 4124 `Field2:` + fmt.Sprintf("%v", this.Field2) + `,`, 4125 `}`, 4126 }, "") 4127 return s 4128} 4129func (this *TwoOneofs_Field3) String() string { 4130 if this == nil { 4131 return "nil" 4132 } 4133 s := strings.Join([]string{`&TwoOneofs_Field3{`, 4134 `Field3:` + fmt.Sprintf("%v", this.Field3) + `,`, 4135 `}`, 4136 }, "") 4137 return s 4138} 4139func (this *TwoOneofs_Field34) String() string { 4140 if this == nil { 4141 return "nil" 4142 } 4143 s := strings.Join([]string{`&TwoOneofs_Field34{`, 4144 `Field34:` + fmt.Sprintf("%v", this.Field34) + `,`, 4145 `}`, 4146 }, "") 4147 return s 4148} 4149func (this *TwoOneofs_Field35) String() string { 4150 if this == nil { 4151 return "nil" 4152 } 4153 s := strings.Join([]string{`&TwoOneofs_Field35{`, 4154 `Field35:` + fmt.Sprintf("%v", this.Field35) + `,`, 4155 `}`, 4156 }, "") 4157 return s 4158} 4159func (this *TwoOneofs_SubMessage2) String() string { 4160 if this == nil { 4161 return "nil" 4162 } 4163 s := strings.Join([]string{`&TwoOneofs_SubMessage2{`, 4164 `SubMessage2:` + strings.Replace(fmt.Sprintf("%v", this.SubMessage2), "Subby", "Subby", 1) + `,`, 4165 `}`, 4166 }, "") 4167 return s 4168} 4169func (this *CustomOneof) String() string { 4170 if this == nil { 4171 return "nil" 4172 } 4173 s := strings.Join([]string{`&CustomOneof{`, 4174 `Custom:` + fmt.Sprintf("%v", this.Custom) + `,`, 4175 `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, 4176 `}`, 4177 }, "") 4178 return s 4179} 4180func (this *CustomOneof_Stringy) String() string { 4181 if this == nil { 4182 return "nil" 4183 } 4184 s := strings.Join([]string{`&CustomOneof_Stringy{`, 4185 `Stringy:` + fmt.Sprintf("%v", this.Stringy) + `,`, 4186 `}`, 4187 }, "") 4188 return s 4189} 4190func (this *CustomOneof_CustomType) String() string { 4191 if this == nil { 4192 return "nil" 4193 } 4194 s := strings.Join([]string{`&CustomOneof_CustomType{`, 4195 `CustomType:` + fmt.Sprintf("%v", this.CustomType) + `,`, 4196 `}`, 4197 }, "") 4198 return s 4199} 4200func (this *CustomOneof_CastType) String() string { 4201 if this == nil { 4202 return "nil" 4203 } 4204 s := strings.Join([]string{`&CustomOneof_CastType{`, 4205 `CastType:` + fmt.Sprintf("%v", this.CastType) + `,`, 4206 `}`, 4207 }, "") 4208 return s 4209} 4210func (this *CustomOneof_MyCustomName) String() string { 4211 if this == nil { 4212 return "nil" 4213 } 4214 s := strings.Join([]string{`&CustomOneof_MyCustomName{`, 4215 `MyCustomName:` + fmt.Sprintf("%v", this.MyCustomName) + `,`, 4216 `}`, 4217 }, "") 4218 return s 4219} 4220func valueToStringOne(v interface{}) string { 4221 rv := reflect.ValueOf(v) 4222 if rv.IsNil() { 4223 return "nil" 4224 } 4225 pv := reflect.Indirect(rv).Interface() 4226 return fmt.Sprintf("*%v", pv) 4227} 4228func (m *Subby) Unmarshal(dAtA []byte) error { 4229 l := len(dAtA) 4230 iNdEx := 0 4231 for iNdEx < l { 4232 preIndex := iNdEx 4233 var wire uint64 4234 for shift := uint(0); ; shift += 7 { 4235 if shift >= 64 { 4236 return ErrIntOverflowOne 4237 } 4238 if iNdEx >= l { 4239 return io.ErrUnexpectedEOF 4240 } 4241 b := dAtA[iNdEx] 4242 iNdEx++ 4243 wire |= (uint64(b) & 0x7F) << shift 4244 if b < 0x80 { 4245 break 4246 } 4247 } 4248 fieldNum := int32(wire >> 3) 4249 wireType := int(wire & 0x7) 4250 if wireType == 4 { 4251 return fmt.Errorf("proto: Subby: wiretype end group for non-group") 4252 } 4253 if fieldNum <= 0 { 4254 return fmt.Errorf("proto: Subby: illegal tag %d (wire type %d)", fieldNum, wire) 4255 } 4256 switch fieldNum { 4257 case 1: 4258 if wireType != 2 { 4259 return fmt.Errorf("proto: wrong wireType = %d for field Sub", wireType) 4260 } 4261 var stringLen uint64 4262 for shift := uint(0); ; shift += 7 { 4263 if shift >= 64 { 4264 return ErrIntOverflowOne 4265 } 4266 if iNdEx >= l { 4267 return io.ErrUnexpectedEOF 4268 } 4269 b := dAtA[iNdEx] 4270 iNdEx++ 4271 stringLen |= (uint64(b) & 0x7F) << shift 4272 if b < 0x80 { 4273 break 4274 } 4275 } 4276 intStringLen := int(stringLen) 4277 if intStringLen < 0 { 4278 return ErrInvalidLengthOne 4279 } 4280 postIndex := iNdEx + intStringLen 4281 if postIndex > l { 4282 return io.ErrUnexpectedEOF 4283 } 4284 s := string(dAtA[iNdEx:postIndex]) 4285 m.Sub = &s 4286 iNdEx = postIndex 4287 default: 4288 iNdEx = preIndex 4289 skippy, err := skipOne(dAtA[iNdEx:]) 4290 if err != nil { 4291 return err 4292 } 4293 if skippy < 0 { 4294 return ErrInvalidLengthOne 4295 } 4296 if (iNdEx + skippy) > l { 4297 return io.ErrUnexpectedEOF 4298 } 4299 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 4300 iNdEx += skippy 4301 } 4302 } 4303 4304 if iNdEx > l { 4305 return io.ErrUnexpectedEOF 4306 } 4307 return nil 4308} 4309func (m *AllTypesOneOf) Unmarshal(dAtA []byte) error { 4310 l := len(dAtA) 4311 iNdEx := 0 4312 for iNdEx < l { 4313 preIndex := iNdEx 4314 var wire uint64 4315 for shift := uint(0); ; shift += 7 { 4316 if shift >= 64 { 4317 return ErrIntOverflowOne 4318 } 4319 if iNdEx >= l { 4320 return io.ErrUnexpectedEOF 4321 } 4322 b := dAtA[iNdEx] 4323 iNdEx++ 4324 wire |= (uint64(b) & 0x7F) << shift 4325 if b < 0x80 { 4326 break 4327 } 4328 } 4329 fieldNum := int32(wire >> 3) 4330 wireType := int(wire & 0x7) 4331 if wireType == 4 { 4332 return fmt.Errorf("proto: AllTypesOneOf: wiretype end group for non-group") 4333 } 4334 if fieldNum <= 0 { 4335 return fmt.Errorf("proto: AllTypesOneOf: illegal tag %d (wire type %d)", fieldNum, wire) 4336 } 4337 switch fieldNum { 4338 case 1: 4339 if wireType != 1 { 4340 return fmt.Errorf("proto: wrong wireType = %d for field Field1", wireType) 4341 } 4342 var v uint64 4343 if (iNdEx + 8) > l { 4344 return io.ErrUnexpectedEOF 4345 } 4346 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 4347 iNdEx += 8 4348 m.TestOneof = &AllTypesOneOf_Field1{float64(math.Float64frombits(v))} 4349 case 2: 4350 if wireType != 5 { 4351 return fmt.Errorf("proto: wrong wireType = %d for field Field2", wireType) 4352 } 4353 var v uint32 4354 if (iNdEx + 4) > l { 4355 return io.ErrUnexpectedEOF 4356 } 4357 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 4358 iNdEx += 4 4359 m.TestOneof = &AllTypesOneOf_Field2{float32(math.Float32frombits(v))} 4360 case 3: 4361 if wireType != 0 { 4362 return fmt.Errorf("proto: wrong wireType = %d for field Field3", wireType) 4363 } 4364 var v int32 4365 for shift := uint(0); ; shift += 7 { 4366 if shift >= 64 { 4367 return ErrIntOverflowOne 4368 } 4369 if iNdEx >= l { 4370 return io.ErrUnexpectedEOF 4371 } 4372 b := dAtA[iNdEx] 4373 iNdEx++ 4374 v |= (int32(b) & 0x7F) << shift 4375 if b < 0x80 { 4376 break 4377 } 4378 } 4379 m.TestOneof = &AllTypesOneOf_Field3{v} 4380 case 4: 4381 if wireType != 0 { 4382 return fmt.Errorf("proto: wrong wireType = %d for field Field4", wireType) 4383 } 4384 var v int64 4385 for shift := uint(0); ; shift += 7 { 4386 if shift >= 64 { 4387 return ErrIntOverflowOne 4388 } 4389 if iNdEx >= l { 4390 return io.ErrUnexpectedEOF 4391 } 4392 b := dAtA[iNdEx] 4393 iNdEx++ 4394 v |= (int64(b) & 0x7F) << shift 4395 if b < 0x80 { 4396 break 4397 } 4398 } 4399 m.TestOneof = &AllTypesOneOf_Field4{v} 4400 case 5: 4401 if wireType != 0 { 4402 return fmt.Errorf("proto: wrong wireType = %d for field Field5", wireType) 4403 } 4404 var v uint32 4405 for shift := uint(0); ; shift += 7 { 4406 if shift >= 64 { 4407 return ErrIntOverflowOne 4408 } 4409 if iNdEx >= l { 4410 return io.ErrUnexpectedEOF 4411 } 4412 b := dAtA[iNdEx] 4413 iNdEx++ 4414 v |= (uint32(b) & 0x7F) << shift 4415 if b < 0x80 { 4416 break 4417 } 4418 } 4419 m.TestOneof = &AllTypesOneOf_Field5{v} 4420 case 6: 4421 if wireType != 0 { 4422 return fmt.Errorf("proto: wrong wireType = %d for field Field6", wireType) 4423 } 4424 var v uint64 4425 for shift := uint(0); ; shift += 7 { 4426 if shift >= 64 { 4427 return ErrIntOverflowOne 4428 } 4429 if iNdEx >= l { 4430 return io.ErrUnexpectedEOF 4431 } 4432 b := dAtA[iNdEx] 4433 iNdEx++ 4434 v |= (uint64(b) & 0x7F) << shift 4435 if b < 0x80 { 4436 break 4437 } 4438 } 4439 m.TestOneof = &AllTypesOneOf_Field6{v} 4440 case 7: 4441 if wireType != 0 { 4442 return fmt.Errorf("proto: wrong wireType = %d for field Field7", wireType) 4443 } 4444 var v int32 4445 for shift := uint(0); ; shift += 7 { 4446 if shift >= 64 { 4447 return ErrIntOverflowOne 4448 } 4449 if iNdEx >= l { 4450 return io.ErrUnexpectedEOF 4451 } 4452 b := dAtA[iNdEx] 4453 iNdEx++ 4454 v |= (int32(b) & 0x7F) << shift 4455 if b < 0x80 { 4456 break 4457 } 4458 } 4459 v = int32((uint32(v) >> 1) ^ uint32(((v&1)<<31)>>31)) 4460 m.TestOneof = &AllTypesOneOf_Field7{v} 4461 case 8: 4462 if wireType != 0 { 4463 return fmt.Errorf("proto: wrong wireType = %d for field Field8", wireType) 4464 } 4465 var v uint64 4466 for shift := uint(0); ; shift += 7 { 4467 if shift >= 64 { 4468 return ErrIntOverflowOne 4469 } 4470 if iNdEx >= l { 4471 return io.ErrUnexpectedEOF 4472 } 4473 b := dAtA[iNdEx] 4474 iNdEx++ 4475 v |= (uint64(b) & 0x7F) << shift 4476 if b < 0x80 { 4477 break 4478 } 4479 } 4480 v = (v >> 1) ^ uint64((int64(v&1)<<63)>>63) 4481 m.TestOneof = &AllTypesOneOf_Field8{int64(v)} 4482 case 9: 4483 if wireType != 5 { 4484 return fmt.Errorf("proto: wrong wireType = %d for field Field9", wireType) 4485 } 4486 var v uint32 4487 if (iNdEx + 4) > l { 4488 return io.ErrUnexpectedEOF 4489 } 4490 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 4491 iNdEx += 4 4492 m.TestOneof = &AllTypesOneOf_Field9{v} 4493 case 10: 4494 if wireType != 5 { 4495 return fmt.Errorf("proto: wrong wireType = %d for field Field10", wireType) 4496 } 4497 var v int32 4498 if (iNdEx + 4) > l { 4499 return io.ErrUnexpectedEOF 4500 } 4501 v = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 4502 iNdEx += 4 4503 m.TestOneof = &AllTypesOneOf_Field10{v} 4504 case 11: 4505 if wireType != 1 { 4506 return fmt.Errorf("proto: wrong wireType = %d for field Field11", wireType) 4507 } 4508 var v uint64 4509 if (iNdEx + 8) > l { 4510 return io.ErrUnexpectedEOF 4511 } 4512 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 4513 iNdEx += 8 4514 m.TestOneof = &AllTypesOneOf_Field11{v} 4515 case 12: 4516 if wireType != 1 { 4517 return fmt.Errorf("proto: wrong wireType = %d for field Field12", wireType) 4518 } 4519 var v int64 4520 if (iNdEx + 8) > l { 4521 return io.ErrUnexpectedEOF 4522 } 4523 v = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 4524 iNdEx += 8 4525 m.TestOneof = &AllTypesOneOf_Field12{v} 4526 case 13: 4527 if wireType != 0 { 4528 return fmt.Errorf("proto: wrong wireType = %d for field Field13", wireType) 4529 } 4530 var v int 4531 for shift := uint(0); ; shift += 7 { 4532 if shift >= 64 { 4533 return ErrIntOverflowOne 4534 } 4535 if iNdEx >= l { 4536 return io.ErrUnexpectedEOF 4537 } 4538 b := dAtA[iNdEx] 4539 iNdEx++ 4540 v |= (int(b) & 0x7F) << shift 4541 if b < 0x80 { 4542 break 4543 } 4544 } 4545 b := bool(v != 0) 4546 m.TestOneof = &AllTypesOneOf_Field13{b} 4547 case 14: 4548 if wireType != 2 { 4549 return fmt.Errorf("proto: wrong wireType = %d for field Field14", wireType) 4550 } 4551 var stringLen uint64 4552 for shift := uint(0); ; shift += 7 { 4553 if shift >= 64 { 4554 return ErrIntOverflowOne 4555 } 4556 if iNdEx >= l { 4557 return io.ErrUnexpectedEOF 4558 } 4559 b := dAtA[iNdEx] 4560 iNdEx++ 4561 stringLen |= (uint64(b) & 0x7F) << shift 4562 if b < 0x80 { 4563 break 4564 } 4565 } 4566 intStringLen := int(stringLen) 4567 if intStringLen < 0 { 4568 return ErrInvalidLengthOne 4569 } 4570 postIndex := iNdEx + intStringLen 4571 if postIndex > l { 4572 return io.ErrUnexpectedEOF 4573 } 4574 m.TestOneof = &AllTypesOneOf_Field14{string(dAtA[iNdEx:postIndex])} 4575 iNdEx = postIndex 4576 case 15: 4577 if wireType != 2 { 4578 return fmt.Errorf("proto: wrong wireType = %d for field Field15", wireType) 4579 } 4580 var byteLen int 4581 for shift := uint(0); ; shift += 7 { 4582 if shift >= 64 { 4583 return ErrIntOverflowOne 4584 } 4585 if iNdEx >= l { 4586 return io.ErrUnexpectedEOF 4587 } 4588 b := dAtA[iNdEx] 4589 iNdEx++ 4590 byteLen |= (int(b) & 0x7F) << shift 4591 if b < 0x80 { 4592 break 4593 } 4594 } 4595 if byteLen < 0 { 4596 return ErrInvalidLengthOne 4597 } 4598 postIndex := iNdEx + byteLen 4599 if postIndex > l { 4600 return io.ErrUnexpectedEOF 4601 } 4602 v := make([]byte, postIndex-iNdEx) 4603 copy(v, dAtA[iNdEx:postIndex]) 4604 m.TestOneof = &AllTypesOneOf_Field15{v} 4605 iNdEx = postIndex 4606 case 16: 4607 if wireType != 2 { 4608 return fmt.Errorf("proto: wrong wireType = %d for field SubMessage", wireType) 4609 } 4610 var msglen int 4611 for shift := uint(0); ; shift += 7 { 4612 if shift >= 64 { 4613 return ErrIntOverflowOne 4614 } 4615 if iNdEx >= l { 4616 return io.ErrUnexpectedEOF 4617 } 4618 b := dAtA[iNdEx] 4619 iNdEx++ 4620 msglen |= (int(b) & 0x7F) << shift 4621 if b < 0x80 { 4622 break 4623 } 4624 } 4625 if msglen < 0 { 4626 return ErrInvalidLengthOne 4627 } 4628 postIndex := iNdEx + msglen 4629 if postIndex > l { 4630 return io.ErrUnexpectedEOF 4631 } 4632 v := &Subby{} 4633 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4634 return err 4635 } 4636 m.TestOneof = &AllTypesOneOf_SubMessage{v} 4637 iNdEx = postIndex 4638 default: 4639 iNdEx = preIndex 4640 skippy, err := skipOne(dAtA[iNdEx:]) 4641 if err != nil { 4642 return err 4643 } 4644 if skippy < 0 { 4645 return ErrInvalidLengthOne 4646 } 4647 if (iNdEx + skippy) > l { 4648 return io.ErrUnexpectedEOF 4649 } 4650 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 4651 iNdEx += skippy 4652 } 4653 } 4654 4655 if iNdEx > l { 4656 return io.ErrUnexpectedEOF 4657 } 4658 return nil 4659} 4660func (m *TwoOneofs) Unmarshal(dAtA []byte) error { 4661 l := len(dAtA) 4662 iNdEx := 0 4663 for iNdEx < l { 4664 preIndex := iNdEx 4665 var wire uint64 4666 for shift := uint(0); ; shift += 7 { 4667 if shift >= 64 { 4668 return ErrIntOverflowOne 4669 } 4670 if iNdEx >= l { 4671 return io.ErrUnexpectedEOF 4672 } 4673 b := dAtA[iNdEx] 4674 iNdEx++ 4675 wire |= (uint64(b) & 0x7F) << shift 4676 if b < 0x80 { 4677 break 4678 } 4679 } 4680 fieldNum := int32(wire >> 3) 4681 wireType := int(wire & 0x7) 4682 if wireType == 4 { 4683 return fmt.Errorf("proto: TwoOneofs: wiretype end group for non-group") 4684 } 4685 if fieldNum <= 0 { 4686 return fmt.Errorf("proto: TwoOneofs: illegal tag %d (wire type %d)", fieldNum, wire) 4687 } 4688 switch fieldNum { 4689 case 1: 4690 if wireType != 1 { 4691 return fmt.Errorf("proto: wrong wireType = %d for field Field1", wireType) 4692 } 4693 var v uint64 4694 if (iNdEx + 8) > l { 4695 return io.ErrUnexpectedEOF 4696 } 4697 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 4698 iNdEx += 8 4699 m.One = &TwoOneofs_Field1{float64(math.Float64frombits(v))} 4700 case 2: 4701 if wireType != 5 { 4702 return fmt.Errorf("proto: wrong wireType = %d for field Field2", wireType) 4703 } 4704 var v uint32 4705 if (iNdEx + 4) > l { 4706 return io.ErrUnexpectedEOF 4707 } 4708 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 4709 iNdEx += 4 4710 m.One = &TwoOneofs_Field2{float32(math.Float32frombits(v))} 4711 case 3: 4712 if wireType != 0 { 4713 return fmt.Errorf("proto: wrong wireType = %d for field Field3", wireType) 4714 } 4715 var v int32 4716 for shift := uint(0); ; shift += 7 { 4717 if shift >= 64 { 4718 return ErrIntOverflowOne 4719 } 4720 if iNdEx >= l { 4721 return io.ErrUnexpectedEOF 4722 } 4723 b := dAtA[iNdEx] 4724 iNdEx++ 4725 v |= (int32(b) & 0x7F) << shift 4726 if b < 0x80 { 4727 break 4728 } 4729 } 4730 m.One = &TwoOneofs_Field3{v} 4731 case 34: 4732 if wireType != 2 { 4733 return fmt.Errorf("proto: wrong wireType = %d for field Field34", wireType) 4734 } 4735 var stringLen uint64 4736 for shift := uint(0); ; shift += 7 { 4737 if shift >= 64 { 4738 return ErrIntOverflowOne 4739 } 4740 if iNdEx >= l { 4741 return io.ErrUnexpectedEOF 4742 } 4743 b := dAtA[iNdEx] 4744 iNdEx++ 4745 stringLen |= (uint64(b) & 0x7F) << shift 4746 if b < 0x80 { 4747 break 4748 } 4749 } 4750 intStringLen := int(stringLen) 4751 if intStringLen < 0 { 4752 return ErrInvalidLengthOne 4753 } 4754 postIndex := iNdEx + intStringLen 4755 if postIndex > l { 4756 return io.ErrUnexpectedEOF 4757 } 4758 m.Two = &TwoOneofs_Field34{string(dAtA[iNdEx:postIndex])} 4759 iNdEx = postIndex 4760 case 35: 4761 if wireType != 2 { 4762 return fmt.Errorf("proto: wrong wireType = %d for field Field35", wireType) 4763 } 4764 var byteLen int 4765 for shift := uint(0); ; shift += 7 { 4766 if shift >= 64 { 4767 return ErrIntOverflowOne 4768 } 4769 if iNdEx >= l { 4770 return io.ErrUnexpectedEOF 4771 } 4772 b := dAtA[iNdEx] 4773 iNdEx++ 4774 byteLen |= (int(b) & 0x7F) << shift 4775 if b < 0x80 { 4776 break 4777 } 4778 } 4779 if byteLen < 0 { 4780 return ErrInvalidLengthOne 4781 } 4782 postIndex := iNdEx + byteLen 4783 if postIndex > l { 4784 return io.ErrUnexpectedEOF 4785 } 4786 v := make([]byte, postIndex-iNdEx) 4787 copy(v, dAtA[iNdEx:postIndex]) 4788 m.Two = &TwoOneofs_Field35{v} 4789 iNdEx = postIndex 4790 case 36: 4791 if wireType != 2 { 4792 return fmt.Errorf("proto: wrong wireType = %d for field SubMessage2", wireType) 4793 } 4794 var msglen int 4795 for shift := uint(0); ; shift += 7 { 4796 if shift >= 64 { 4797 return ErrIntOverflowOne 4798 } 4799 if iNdEx >= l { 4800 return io.ErrUnexpectedEOF 4801 } 4802 b := dAtA[iNdEx] 4803 iNdEx++ 4804 msglen |= (int(b) & 0x7F) << shift 4805 if b < 0x80 { 4806 break 4807 } 4808 } 4809 if msglen < 0 { 4810 return ErrInvalidLengthOne 4811 } 4812 postIndex := iNdEx + msglen 4813 if postIndex > l { 4814 return io.ErrUnexpectedEOF 4815 } 4816 v := &Subby{} 4817 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4818 return err 4819 } 4820 m.Two = &TwoOneofs_SubMessage2{v} 4821 iNdEx = postIndex 4822 default: 4823 iNdEx = preIndex 4824 skippy, err := skipOne(dAtA[iNdEx:]) 4825 if err != nil { 4826 return err 4827 } 4828 if skippy < 0 { 4829 return ErrInvalidLengthOne 4830 } 4831 if (iNdEx + skippy) > l { 4832 return io.ErrUnexpectedEOF 4833 } 4834 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 4835 iNdEx += skippy 4836 } 4837 } 4838 4839 if iNdEx > l { 4840 return io.ErrUnexpectedEOF 4841 } 4842 return nil 4843} 4844func (m *CustomOneof) Unmarshal(dAtA []byte) error { 4845 l := len(dAtA) 4846 iNdEx := 0 4847 for iNdEx < l { 4848 preIndex := iNdEx 4849 var wire uint64 4850 for shift := uint(0); ; shift += 7 { 4851 if shift >= 64 { 4852 return ErrIntOverflowOne 4853 } 4854 if iNdEx >= l { 4855 return io.ErrUnexpectedEOF 4856 } 4857 b := dAtA[iNdEx] 4858 iNdEx++ 4859 wire |= (uint64(b) & 0x7F) << shift 4860 if b < 0x80 { 4861 break 4862 } 4863 } 4864 fieldNum := int32(wire >> 3) 4865 wireType := int(wire & 0x7) 4866 if wireType == 4 { 4867 return fmt.Errorf("proto: CustomOneof: wiretype end group for non-group") 4868 } 4869 if fieldNum <= 0 { 4870 return fmt.Errorf("proto: CustomOneof: illegal tag %d (wire type %d)", fieldNum, wire) 4871 } 4872 switch fieldNum { 4873 case 34: 4874 if wireType != 2 { 4875 return fmt.Errorf("proto: wrong wireType = %d for field Stringy", wireType) 4876 } 4877 var stringLen uint64 4878 for shift := uint(0); ; shift += 7 { 4879 if shift >= 64 { 4880 return ErrIntOverflowOne 4881 } 4882 if iNdEx >= l { 4883 return io.ErrUnexpectedEOF 4884 } 4885 b := dAtA[iNdEx] 4886 iNdEx++ 4887 stringLen |= (uint64(b) & 0x7F) << shift 4888 if b < 0x80 { 4889 break 4890 } 4891 } 4892 intStringLen := int(stringLen) 4893 if intStringLen < 0 { 4894 return ErrInvalidLengthOne 4895 } 4896 postIndex := iNdEx + intStringLen 4897 if postIndex > l { 4898 return io.ErrUnexpectedEOF 4899 } 4900 m.Custom = &CustomOneof_Stringy{string(dAtA[iNdEx:postIndex])} 4901 iNdEx = postIndex 4902 case 35: 4903 if wireType != 2 { 4904 return fmt.Errorf("proto: wrong wireType = %d for field CustomType", wireType) 4905 } 4906 var byteLen int 4907 for shift := uint(0); ; shift += 7 { 4908 if shift >= 64 { 4909 return ErrIntOverflowOne 4910 } 4911 if iNdEx >= l { 4912 return io.ErrUnexpectedEOF 4913 } 4914 b := dAtA[iNdEx] 4915 iNdEx++ 4916 byteLen |= (int(b) & 0x7F) << shift 4917 if b < 0x80 { 4918 break 4919 } 4920 } 4921 if byteLen < 0 { 4922 return ErrInvalidLengthOne 4923 } 4924 postIndex := iNdEx + byteLen 4925 if postIndex > l { 4926 return io.ErrUnexpectedEOF 4927 } 4928 var vv github_com_gogo_protobuf_test_custom.Uint128 4929 v := &vv 4930 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4931 return err 4932 } 4933 m.Custom = &CustomOneof_CustomType{*v} 4934 iNdEx = postIndex 4935 case 36: 4936 if wireType != 0 { 4937 return fmt.Errorf("proto: wrong wireType = %d for field CastType", wireType) 4938 } 4939 var v github_com_gogo_protobuf_test_casttype.MyUint64Type 4940 for shift := uint(0); ; shift += 7 { 4941 if shift >= 64 { 4942 return ErrIntOverflowOne 4943 } 4944 if iNdEx >= l { 4945 return io.ErrUnexpectedEOF 4946 } 4947 b := dAtA[iNdEx] 4948 iNdEx++ 4949 v |= (github_com_gogo_protobuf_test_casttype.MyUint64Type(b) & 0x7F) << shift 4950 if b < 0x80 { 4951 break 4952 } 4953 } 4954 m.Custom = &CustomOneof_CastType{v} 4955 case 37: 4956 if wireType != 0 { 4957 return fmt.Errorf("proto: wrong wireType = %d for field MyCustomName", wireType) 4958 } 4959 var v int64 4960 for shift := uint(0); ; shift += 7 { 4961 if shift >= 64 { 4962 return ErrIntOverflowOne 4963 } 4964 if iNdEx >= l { 4965 return io.ErrUnexpectedEOF 4966 } 4967 b := dAtA[iNdEx] 4968 iNdEx++ 4969 v |= (int64(b) & 0x7F) << shift 4970 if b < 0x80 { 4971 break 4972 } 4973 } 4974 m.Custom = &CustomOneof_MyCustomName{v} 4975 default: 4976 iNdEx = preIndex 4977 skippy, err := skipOne(dAtA[iNdEx:]) 4978 if err != nil { 4979 return err 4980 } 4981 if skippy < 0 { 4982 return ErrInvalidLengthOne 4983 } 4984 if (iNdEx + skippy) > l { 4985 return io.ErrUnexpectedEOF 4986 } 4987 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 4988 iNdEx += skippy 4989 } 4990 } 4991 4992 if iNdEx > l { 4993 return io.ErrUnexpectedEOF 4994 } 4995 return nil 4996} 4997func skipOne(dAtA []byte) (n int, err error) { 4998 l := len(dAtA) 4999 iNdEx := 0 5000 for iNdEx < l { 5001 var wire uint64 5002 for shift := uint(0); ; shift += 7 { 5003 if shift >= 64 { 5004 return 0, ErrIntOverflowOne 5005 } 5006 if iNdEx >= l { 5007 return 0, io.ErrUnexpectedEOF 5008 } 5009 b := dAtA[iNdEx] 5010 iNdEx++ 5011 wire |= (uint64(b) & 0x7F) << shift 5012 if b < 0x80 { 5013 break 5014 } 5015 } 5016 wireType := int(wire & 0x7) 5017 switch wireType { 5018 case 0: 5019 for shift := uint(0); ; shift += 7 { 5020 if shift >= 64 { 5021 return 0, ErrIntOverflowOne 5022 } 5023 if iNdEx >= l { 5024 return 0, io.ErrUnexpectedEOF 5025 } 5026 iNdEx++ 5027 if dAtA[iNdEx-1] < 0x80 { 5028 break 5029 } 5030 } 5031 return iNdEx, nil 5032 case 1: 5033 iNdEx += 8 5034 return iNdEx, nil 5035 case 2: 5036 var length int 5037 for shift := uint(0); ; shift += 7 { 5038 if shift >= 64 { 5039 return 0, ErrIntOverflowOne 5040 } 5041 if iNdEx >= l { 5042 return 0, io.ErrUnexpectedEOF 5043 } 5044 b := dAtA[iNdEx] 5045 iNdEx++ 5046 length |= (int(b) & 0x7F) << shift 5047 if b < 0x80 { 5048 break 5049 } 5050 } 5051 iNdEx += length 5052 if length < 0 { 5053 return 0, ErrInvalidLengthOne 5054 } 5055 return iNdEx, nil 5056 case 3: 5057 for { 5058 var innerWire uint64 5059 var start int = iNdEx 5060 for shift := uint(0); ; shift += 7 { 5061 if shift >= 64 { 5062 return 0, ErrIntOverflowOne 5063 } 5064 if iNdEx >= l { 5065 return 0, io.ErrUnexpectedEOF 5066 } 5067 b := dAtA[iNdEx] 5068 iNdEx++ 5069 innerWire |= (uint64(b) & 0x7F) << shift 5070 if b < 0x80 { 5071 break 5072 } 5073 } 5074 innerWireType := int(innerWire & 0x7) 5075 if innerWireType == 4 { 5076 break 5077 } 5078 next, err := skipOne(dAtA[start:]) 5079 if err != nil { 5080 return 0, err 5081 } 5082 iNdEx = start + next 5083 } 5084 return iNdEx, nil 5085 case 4: 5086 return iNdEx, nil 5087 case 5: 5088 iNdEx += 4 5089 return iNdEx, nil 5090 default: 5091 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 5092 } 5093 } 5094 panic("unreachable") 5095} 5096 5097var ( 5098 ErrInvalidLengthOne = fmt.Errorf("proto: negative length found during unmarshaling") 5099 ErrIntOverflowOne = fmt.Errorf("proto: integer overflow") 5100) 5101 5102func init() { proto.RegisterFile("combos/unmarshaler/one.proto", fileDescriptor_one_539b073fce05cef9) } 5103 5104var fileDescriptor_one_539b073fce05cef9 = []byte{ 5105 // 602 bytes of a gzipped FileDescriptorProto 5106 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0xd3, 0x3f, 0x4f, 0x1b, 0x31, 5107 0x14, 0x00, 0x70, 0x3f, 0x42, 0x42, 0x70, 0x42, 0x49, 0x6f, 0x72, 0x51, 0x65, 0xac, 0xb4, 0x95, 5108 0x3c, 0x94, 0x84, 0x5c, 0x12, 0xfe, 0x8c, 0x3d, 0xaa, 0x2a, 0x0b, 0x45, 0x3a, 0x60, 0x46, 0x39, 5109 0x6a, 0x42, 0xa4, 0xe4, 0x8c, 0xe2, 0x3b, 0xa1, 0x6c, 0x7c, 0x86, 0x7e, 0x8a, 0x8e, 0x1d, 0xfb, 5110 0x11, 0x18, 0x33, 0x56, 0x1d, 0x22, 0xee, 0xba, 0x74, 0x64, 0x44, 0x9d, 0x2a, 0xdf, 0x11, 0xbb, 5111 0x52, 0x55, 0x75, 0xe9, 0x94, 0x7b, 0xef, 0x77, 0x7e, 0x79, 0xef, 0x6c, 0xe3, 0xe7, 0xe7, 0x72, 5112 0x1c, 0x48, 0xd5, 0x8c, 0xc3, 0x71, 0x7f, 0xa2, 0x2e, 0xfb, 0x23, 0x31, 0x69, 0xca, 0x50, 0x34, 5113 0xae, 0x26, 0x32, 0x92, 0x4e, 0x41, 0x86, 0x62, 0x63, 0x6b, 0x30, 0x8c, 0x2e, 0xe3, 0xa0, 0x71, 5114 0x2e, 0xc7, 0xcd, 0x81, 0x1c, 0xc8, 0x66, 0x66, 0x41, 0x7c, 0x91, 0x45, 0x59, 0x90, 0x3d, 0xe5, 5115 0x6b, 0xea, 0xcf, 0x70, 0xf1, 0x38, 0x0e, 0x82, 0xa9, 0x53, 0xc3, 0x05, 0x15, 0x07, 0x04, 0x18, 5116 0xf0, 0x55, 0x5f, 0x3f, 0xd6, 0xe7, 0x05, 0xbc, 0xf6, 0x66, 0x34, 0x3a, 0x99, 0x5e, 0x09, 0x75, 5117 0x14, 0x8a, 0xa3, 0x0b, 0x87, 0xe0, 0xd2, 0xbb, 0xa1, 0x18, 0x7d, 0x68, 0x65, 0xaf, 0x41, 0x0f, 5118 0xf9, 0x8f, 0xb1, 0x11, 0x97, 0x2c, 0x31, 0xe0, 0x4b, 0x46, 0x5c, 0x23, 0x6d, 0x52, 0x60, 0xc0, 5119 0x8b, 0x46, 0xda, 0x46, 0x3a, 0x64, 0x99, 0x01, 0x2f, 0x18, 0xe9, 0x18, 0xe9, 0x92, 0x22, 0x03, 5120 0xbe, 0x66, 0xa4, 0x6b, 0x64, 0x87, 0x94, 0x18, 0xf0, 0x65, 0x23, 0x3b, 0x46, 0x76, 0xc9, 0x0a, 5121 0x03, 0xfe, 0xd4, 0xc8, 0xae, 0x91, 0x3d, 0x52, 0x66, 0xc0, 0x1d, 0x23, 0x7b, 0x46, 0xf6, 0xc9, 5122 0x2a, 0x03, 0xbe, 0x62, 0x64, 0xdf, 0xd9, 0xc0, 0x2b, 0xf9, 0x64, 0xdb, 0x04, 0x33, 0xe0, 0xeb, 5123 0x3d, 0xe4, 0x2f, 0x12, 0xd6, 0x5a, 0xa4, 0xc2, 0x80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