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 // 4263 bytes of a gzipped FileDescriptorSet 1063 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5b, 0x5d, 0x70, 0x24, 0xd7, 1064 0x55, 0x56, 0xcf, 0x8f, 0x34, 0x73, 0x66, 0x34, 0x6a, 0x5d, 0xc9, 0xeb, 0x59, 0xd9, 0xd6, 0xee, 1065 0x8e, 0xed, 0x58, 0xb6, 0x63, 0xc9, 0xd6, 0x4a, 0xfb, 0x33, 0x4b, 0x62, 0x46, 0xd2, 0xac, 0x56, 1066 0x46, 0xd2, 0x28, 0x3d, 0x52, 0xfc, 0x93, 0xa2, 0xba, 0x5a, 0x3d, 0x57, 0xa3, 0xde, 0xed, 0xe9, 1067 0xee, 0x74, 0xf7, 0xec, 0x5a, 0x5b, 0x3c, 0x2c, 0x65, 0x7e, 0x2a, 0x45, 0xf1, 0x17, 0xa8, 0x22, 1068 0x31, 0x8e, 0x21, 0xa1, 0x88, 0x43, 0xf8, 0x4b, 0x08, 0x84, 0x24, 0xbc, 0xf0, 0x12, 0xf0, 0x13, 1069 0xe5, 0xbc, 0x51, 0x14, 0xe5, 0xf2, 0x2a, 0xae, 0x22, 0x80, 0x21, 0x06, 0xf6, 0xc1, 0x85, 0x79, 1070 0xa0, 0xee, 0x5f, 0x77, 0xcf, 0x8f, 0xb6, 0x47, 0xa9, 0xd8, 0x79, 0x5a, 0xf5, 0x39, 0xe7, 0xfb, 1071 0xfa, 0xdc, 0x73, 0xcf, 0x3d, 0xf7, 0xdc, 0xdb, 0xb3, 0xf0, 0xc3, 0x8b, 0x70, 0xba, 0x69, 0xdb, 1072 0x4d, 0x13, 0xcf, 0x39, 0xae, 0xed, 0xdb, 0xbb, 0xed, 0xbd, 0xb9, 0x06, 0xf6, 0x74, 0xd7, 0x70, 1073 0x7c, 0xdb, 0x9d, 0xa5, 0x32, 0x34, 0xc6, 0x2c, 0x66, 0x85, 0x45, 0x69, 0x03, 0xc6, 0x2f, 0x1b, 1074 0x26, 0x5e, 0x09, 0x0c, 0xeb, 0xd8, 0x47, 0x17, 0x20, 0xb5, 0x67, 0x98, 0xb8, 0x28, 0x9d, 0x4e, 1075 0xce, 0xe4, 0xe6, 0x1f, 0x9a, 0xed, 0x02, 0xcd, 0x76, 0x22, 0xb6, 0x88, 0x58, 0xa1, 0x88, 0xd2, 1076 0xdb, 0x29, 0x98, 0xe8, 0xa3, 0x45, 0x08, 0x52, 0x96, 0xd6, 0x22, 0x8c, 0xd2, 0x4c, 0x56, 0xa1, 1077 0x7f, 0xa3, 0x22, 0x8c, 0x38, 0x9a, 0x7e, 0x4d, 0x6b, 0xe2, 0x62, 0x82, 0x8a, 0xc5, 0x23, 0x9a, 1078 0x06, 0x68, 0x60, 0x07, 0x5b, 0x0d, 0x6c, 0xe9, 0x07, 0xc5, 0xe4, 0xe9, 0xe4, 0x4c, 0x56, 0x89, 1079 0x48, 0xd0, 0xe3, 0x30, 0xee, 0xb4, 0x77, 0x4d, 0x43, 0x57, 0x23, 0x66, 0x70, 0x3a, 0x39, 0x93, 1080 0x56, 0x64, 0xa6, 0x58, 0x09, 0x8d, 0x1f, 0x81, 0xb1, 0x1b, 0x58, 0xbb, 0x16, 0x35, 0xcd, 0x51, 1081 0xd3, 0x02, 0x11, 0x47, 0x0c, 0x97, 0x21, 0xdf, 0xc2, 0x9e, 0xa7, 0x35, 0xb1, 0xea, 0x1f, 0x38, 1082 0xb8, 0x98, 0xa2, 0xa3, 0x3f, 0xdd, 0x33, 0xfa, 0xee, 0x91, 0xe7, 0x38, 0x6a, 0xfb, 0xc0, 0xc1, 1083 0xa8, 0x02, 0x59, 0x6c, 0xb5, 0x5b, 0x8c, 0x21, 0x7d, 0x44, 0xfc, 0xaa, 0x56, 0xbb, 0xd5, 0xcd, 1084 0x92, 0x21, 0x30, 0x4e, 0x31, 0xe2, 0x61, 0xf7, 0xba, 0xa1, 0xe3, 0xe2, 0x30, 0x25, 0x78, 0xa4, 1085 0x87, 0xa0, 0xce, 0xf4, 0xdd, 0x1c, 0x02, 0x87, 0x96, 0x21, 0x8b, 0x5f, 0xf4, 0xb1, 0xe5, 0x19, 1086 0xb6, 0x55, 0x1c, 0xa1, 0x24, 0x0f, 0xf7, 0x99, 0x45, 0x6c, 0x36, 0xba, 0x29, 0x42, 0x1c, 0x3a, 1087 0x07, 0x23, 0xb6, 0xe3, 0x1b, 0xb6, 0xe5, 0x15, 0x33, 0xa7, 0xa5, 0x99, 0xdc, 0xfc, 0xfd, 0x7d, 1088 0x13, 0xa1, 0xc6, 0x6c, 0x14, 0x61, 0x8c, 0xd6, 0x40, 0xf6, 0xec, 0xb6, 0xab, 0x63, 0x55, 0xb7, 1089 0x1b, 0x58, 0x35, 0xac, 0x3d, 0xbb, 0x98, 0xa5, 0x04, 0xa7, 0x7a, 0x07, 0x42, 0x0d, 0x97, 0xed, 1090 0x06, 0x5e, 0xb3, 0xf6, 0x6c, 0xa5, 0xe0, 0x75, 0x3c, 0xa3, 0x13, 0x30, 0xec, 0x1d, 0x58, 0xbe, 1091 0xf6, 0x62, 0x31, 0x4f, 0x33, 0x84, 0x3f, 0x95, 0xbe, 0x3d, 0x0c, 0x63, 0x83, 0xa4, 0xd8, 0x25, 1092 0x48, 0xef, 0x91, 0x51, 0x16, 0x13, 0xc7, 0x89, 0x01, 0xc3, 0x74, 0x06, 0x71, 0xf8, 0x47, 0x0c, 1093 0x62, 0x05, 0x72, 0x16, 0xf6, 0x7c, 0xdc, 0x60, 0x19, 0x91, 0x1c, 0x30, 0xa7, 0x80, 0x81, 0x7a, 1094 0x53, 0x2a, 0xf5, 0x23, 0xa5, 0xd4, 0x73, 0x30, 0x16, 0xb8, 0xa4, 0xba,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4c, 0xb4, 1106 0x7b, 0x85, 0x8f, 0x65, 0x33, 0x3f, 0x18, 0x91, 0x6f, 0xdd, 0xba, 0x75, 0x2b, 0x51, 0xfa, 0xdc, 1107 0x30, 0x4c, 0xf6, 0x5b, 0x33, 0x7d, 0x97, 0xef, 0x09, 0x18, 0xb6, 0xda, 0xad, 0x5d, 0xec, 0xd2, 1108 0x20, 0xa5, 0x15, 0xfe, 0x84, 0x2a, 0x90, 0x36, 0xb5, 0x5d, 0x6c, 0x16, 0x53, 0xa7, 0xa5, 0x99, 1109 0xc2, 0xfc, 0xe3, 0x03, 0xad, 0xca, 0xd9, 0x75, 0x02, 0x51, 0x18, 0x12, 0x7d, 0x1c, 0x52, 0xbc, 1110 0x44, 0x13, 0x86, 0xc7, 0x06, 0x63, 0x20, 0x6b, 0x49, 0xa1, 0x38, 0x74, 0x1f, 0x64, 0xc9, 0xbf, 1111 0x2c, 0x37, 0x86, 0xa9, 0xcf, 0x19, 0x22, 0x20, 0x79, 0x81, 0xa6, 0x20, 0x43, 0x97, 0x49, 0x03, 1112 0x8b, 0xad, 0x2d, 0x78, 0x26, 0x89, 0xd5, 0xc0, 0x7b, 0x5a, 0xdb, 0xf4, 0xd5, 0xeb, 0x9a, 0xd9, 1113 0xc6, 0x34, 0xe1, 0xb3, 0x4a, 0x9e, 0x0b, 0x3f, 0x49, 0x64, 0xe8, 0x14, 0xe4, 0xd8, 0xaa, 0x32, 1114 0xac, 0x06, 0x7e, 0x91, 0x56, 0xcf, 0xb4, 0xc2, 0x16, 0xda, 0x1a, 0x91, 0x90, 0xd7, 0x5f, 0xf5, 1115 0x6c, 0x4b, 0xa4, 0x26, 0x7d, 0x05, 0x11, 0xd0, 0xd7, 0x9f, 0xef, 0x2e, 0xdc, 0x0f, 0xf4, 0x1f, 1116 0x5e, 0x77, 0x4e, 0x95, 0xbe, 0x99, 0x80, 0x14, 0xad, 0x17, 0x63, 0x90, 0xdb, 0x7e, 0x7e, 0xab, 1117 0xaa, 0xae, 0xd4, 0x76, 0x96, 0xd6, 0xab, 0xb2, 0x84, 0x0a, 0x00, 0x54, 0x70, 0x79, 0xbd, 0x56, 1118 0xd9, 0x96, 0x13, 0xc1, 0xf3, 0xda, 0xe6, 0xf6, 0xb9, 0x05, 0x39, 0x19, 0x00, 0x76, 0x98, 0x20, 1119 0x15, 0x35, 0x38, 0x3b, 0x2f, 0xa7, 0x91, 0x0c, 0x79, 0x46, 0xb0, 0xf6, 0x5c, 0x75, 0xe5, 0xdc, 1120 0x82, 0x3c, 0xdc, 0x29, 0x39, 0x3b, 0x2f, 0x8f, 0xa0, 0x51, 0xc8, 0x52, 0xc9, 0x52, 0xad, 0xb6, 1121 0x2e, 0x67, 0x02, 0xce, 0xfa, 0xb6, 0xb2, 0xb6, 0xb9, 0x2a, 0x67, 0x03, 0xce, 0x55, 0xa5, 0xb6, 1122 0xb3, 0x25, 0x43, 0xc0, 0xb0, 0x51, 0xad, 0xd7, 0x2b, 0xab, 0x55, 0x39, 0x17, 0x58, 0x2c, 0x3d, 1123 0xbf, 0x5d, 0xad, 0xcb, 0xf9, 0x0e, 0xb7, 0xce, 0xce, 0xcb, 0xa3, 0xc1, 0x2b, 0xaa, 0x9b, 0x3b, 1124 0x1b, 0x72, 0x01, 0x8d, 0xc3, 0x28, 0x7b, 0x85, 0x70, 0x62, 0xac, 0x4b, 0x74, 0x6e, 0x41, 0x96, 1125 0x43, 0x47, 0x18, 0xcb, 0x78, 0x87, 0xe0, 0xdc, 0x82, 0x8c, 0x4a, 0xcb, 0x90, 0xa6, 0xd9, 0x85, 1126 0x10, 0x14, 0xd6, 0x2b, 0x4b, 0xd5, 0x75, 0xb5, 0xb6, 0xb5, 0xbd, 0x56, 0xdb, 0xac, 0xac, 0xcb, 1127 0x52, 0x28, 0x53, 0xaa, 0x9f, 0xd8, 0x59, 0x53, 0xaa, 0x2b, 0x72, 0x22, 0x2a, 0xdb, 0xaa, 0x56, 1128 0xb6, 0xab, 0x2b, 0x72, 0xb2, 0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0xa2, 0x06, 0x17, 0x42, 0x47, 0x53, 0xd4, 0xd1, 0xe9, 0x23, 0x46, 1140 0xda, 0x93, 0x98, 0x4f, 0x82, 0xac, 0x9b, 0x06, 0xb6, 0x7c, 0xd5, 0xf3, 0x5d, 0xac, 0xb5, 0x0c, 1141 0xab, 0x49, 0x77, 0x90, 0x4c, 0x39, 0xbd, 0xa7, 0x99, 0x1e, 0x56, 0xc6, 0x98, 0xba, 0x2e, 0xb4, 1142 0x04, 0x41, 0x13, 0xc8, 0x8d, 0x20, 0x86, 0x3b, 0x10, 0x4c, 0x1d, 0x20, 0x4a, 0xdf, 0xc8, 0x40, 1143 0x2e, 0xd2, 0x57, 0xa3, 0x33, 0x90, 0xbf, 0xaa, 0x5d, 0xd7, 0x54, 0x71, 0x56, 0x62, 0x91, 0xc8, 1144 0x11, 0xd9, 0x16, 0x3f, 0x2f, 0x3d, 0x09, 0x93, 0xd4, 0xc4, 0x6e, 0xfb, 0xd8, 0x55, 0x75, 0x53, 1145 0xf3, 0x3c, 0x1a, 0xb4, 0x0c, 0x35, 0x45, 0x44, 0x57, 0x23, 0xaa, 0x65, 0xa1, 0x41, 0x8b, 0x30, 1146 0x41, 0x11, 0xad, 0xb6, 0xe9, 0x1b, 0x8e, 0x89, 0x55, 0x72, 0x7a, 0xf3, 0xe8, 0x4e, 0x12, 0x78, 1147 0x36, 0x4e, 0x2c, 0x36, 0xb8, 0x01, 0xf1, 0xc8, 0x43, 0x2b, 0xf0, 0x00, 0x85, 0x35, 0xb1, 0x85, 1148 0x5d, 0xcd, 0xc7, 0x2a, 0xfe, 0x74, 0x5b, 0x33, 0x3d, 0x55, 0xb3, 0x1a, 0xea, 0xbe, 0xe6, 0xed, 1149 0x17, 0x27, 0x09, 0xc1, 0x52, 0xa2, 0x28, 0x29, 0x27, 0x89, 0xe1, 0x2a, 0xb7, 0xab, 0x52, 0xb3, 1150 0x8a, 0xd5, 0xb8, 0xa2, 0x79, 0xfb, 0xa8, 0x0c, 0x27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2e, 0x59, 0x10, 0x2d, 1173 0xcd, 0x47, 0xeb, 0x70, 0xca, 0xb2, 0x55, 0xcf, 0xd7, 0xac, 0x86, 0xe6, 0x36, 0xd4, 0xf0, 0x26, 1174 0x49, 0xd5, 0x74, 0x1d, 0x7b, 0x9e, 0xcd, 0xb6, 0xaa, 0x80, 0xe5, 0x7e, 0xcb, 0xae, 0x73, 0xe3, 1175 0xb0, 0x86, 0x57, 0xb8, 0x69, 0x57, 0x82, 0x25, 0x8f, 0x4a, 0xb0, 0xfb, 0x20, 0xdb, 0xd2, 0x1c, 1176 0x15, 0x5b, 0xbe, 0x7b, 0x40, 0x1b, 0xe3, 0x8c, 0x92, 0x69, 0x69, 0x4e, 0x95, 0x3c, 0x7f, 0x38, 1177 0xe7, 0x93, 0x7f, 0x4e, 0x42, 0x3e, 0xda, 0x1c, 0x93, 0xb3, 0x86, 0x4e, 0xf7, 0x11, 0x89, 0x56, 1178 0x9a, 0x07, 0xef, 0xda, 0x4a, 0xcf, 0x2e, 0x93, 0x0d, 0xa6, 0x3c, 0xcc, 0x5a, 0x56, 0x85, 0x21, 1179 0xc9, 0xe6, 0x4e, 0x6a, 0x0b, 0x66, 0x2d, 0x42, 0x46, 0xe1, 0x4f, 0x68, 0x15, 0x86, 0xaf, 0x7a, 1180 0x94, 0x7b, 0x98, 0x72, 0x3f, 0x74, 0x77, 0xee, 0x67, 0xea, 0x94, 0x3c, 0xfb, 0x4c, 0x5d, 0xdd, 1181 0xac, 0x29, 0x1b, 0x95, 0x75, 0x85, 0xc3, 0xd1, 0x49, 0x48, 0x99, 0xda, 0xcd, 0x83, 0xce, 0xad, 1182 0x88, 0x8a, 0x06, 0x0d, 0xfc, 0x49, 0x48, 0xdd, 0xc0, 0xda, 0xb5, 0xce, 0x0d, 0x80, 0x8a, 0x3e, 1183 0xc0, 0xd4, 0x9f, 0x83, 0x34, 0x8d, 0x17, 0x02, 0xe0, 0x11, 0x93, 0x87, 0x50, 0x06, 0x52, 0xcb, 1184 0x35, 0x85, 0xa4, 0xbf, 0x0c, 0x79, 0x26, 0x55, 0xb7, 0xd6, 0xaa, 0xcb, 0x55, 0x39, 0x51, 0x5a, 1185 0x84, 0x61, 0x16, 0x04, 0xb2, 0x34, 0x82, 0x30, 0xc8, 0x43, 0xfc, 0x91, 0x73, 0x48, 0x42, 0xbb, 1186 0xb3, 0xb1, 0x54, 0x55, 0xe4, 0x44, 0x74, 0x7a, 0x3d, 0xc8, 0x47, 0xfb, 0xe2, 0x0f, 0x27, 0xa7, 1187 0xbe, 0x23, 0x41, 0x2e, 0xd2, 0xe7, 0x92, 0x06, 0x45, 0x33, 0x4d, 0xfb, 0x86, 0xaa, 0x99, 0x86, 1188 0xe6, 0xf1, 0xa4, 0x00, 0x2a, 0xaa, 0x10, 0xc9, 0xa0, 0x93, 0xf6, 0xa1, 0x38, 0xff, 0xaa, 0x04, 1189 0x72, 0x77, 0x8b, 0xd9, 0xe5, 0xa0, 0xf4, 0x13, 0x75, 0xf0, 0x15, 0x09, 0x0a, 0x9d, 0x7d, 0x65, 1190 0x97, 0x7b, 0x67, 0x7e, 0xa2, 0xee, 0xbd, 0x95, 0x80, 0xd1, 0x8e, 0x6e, 0x72, 0x50, 0xef, 0x3e, 1191 0x0d, 0xe3, 0x46, 0x03, 0xb7, 0x1c, 0xdb, 0xc7, 0x96, 0x7e, 0xa0, 0x9a, 0xf8, 0x3a, 0x36, 0x8b, 1192 0x25, 0x5a, 0x28, 0xe6, 0xee, 0xde, 0xaf, 0xce, 0xae, 0x85, 0xb8, 0x75, 0x02, 0x2b, 0x4f, 0xac, 1193 0xad, 0x54, 0x37, 0xb6, 0x6a, 0xdb, 0xd5, 0xcd, 0xe5, 0xe7, 0xd5, 0x9d, 0xcd, 0x9f, 0xd9, 0xac, 1194 0x3d, 0xbb, 0xa9, 0xc8, 0x46, 0x97, 0xd9, 0x07, 0xb8, 0xd4, 0xb7, 0x40, 0xee, 0x76, 0x0a, 0xdd, 1195 0x0b, 0xfd, 0xdc, 0x92, 0x87, 0xd0, 0x04, 0x8c, 0x6d, 0xd6, 0xd4, 0xfa, 0xda, 0x4a, 0x55, 0xad, 1196 0x5e, 0xbe, 0x5c, 0x5d, 0xde, 0xae, 0xb3, 0x1b, 0x88, 0xc0, 0x7a, 0xbb, 0x73, 0x51, 0xbf, 0x9c, 1197 0x84, 0x89, 0x3e, 0x9e, 0xa0, 0x0a, 0x3f, 0x3b, 0xb0, 0xe3, 0xcc, 0x13, 0x83, 0x78, 0x3f, 0x4b, 1198 0xb6, 0xfc, 0x2d, 0xcd, 0xf5, 0xf9, 0x51, 0xe3, 0x51, 0x20, 0x51, 0xb2, 0x7c, 0x63, 0xcf, 0xc0, 1199 0x2e, 0xbf, 0xb0, 0x61, 0x07, 0x8a, 0xb1, 0x50, 0xce, 0xee, 0x6c, 0x3e, 0x0a, 0xc8, 0xb1, 0x3d, 1200 0xc3, 0x37, 0xae, 0x63, 0xd5, 0xb0, 0xc4, 0xed, 0x0e, 0x39, 0x60, 0xa4, 0x14, 0x59, 0x68, 0xd6, 1201 0x2c, 0x3f, 0xb0, 0xb6, 0x70, 0x53, 0xeb, 0xb2, 0x26, 0x05, 0x3c, 0xa9, 0xc8, 0x42, 0x13, 0x58, 1202 0x9f, 0x81, 0x7c, 0xc3, 0x6e, 0x93, 0xae, 0x8b, 0xd9, 0x91, 0xfd, 0x42, 0x52, 0x72, 0x4c, 0x16, 1203 0x98, 0xf0, 0x7e, 0x3a, 0xbc, 0x56, 0xca, 0x2b, 0x39, 0x26, 0x63, 0x26, 0x8f, 0xc0, 0x98, 0xd6, 1204 0x6c, 0xba, 0x84, 0x5c, 0x10, 0xb1, 0x13, 0x42, 0x21, 0x10, 0x53, 0xc3, 0xa9, 0x67, 0x20, 0x23, 1205 0xe2, 0x40, 0xb6, 0x64, 0x12, 0x09, 0xd5, 0x61, 0xc7, 0xde, 0xc4, 0x4c, 0x56, 0xc9, 0x58, 0x42, 1206 0x79, 0x06, 0xf2, 0x86, 0xa7, 0x86, 0xb7, 0xe4, 0x89, 0xd3, 0x89, 0x99, 0x8c, 0x92, 0x33, 0xbc, 1207 0xe0, 0x86, 0xb1, 0xf4, 0x5a, 0x02, 0x0a, 0x9d, 0xb7, 0xfc, 0x68, 0x05, 0x32, 0xa6, 0xad, 0x6b, 1208 0x34, 0xb5, 0xd8, 0x27, 0xa6, 0x99, 0x98, 0x0f, 0x03, 0xb3, 0xeb, 0xdc, 0x5e, 0x09, 0x90, 0x53, 1209 0xff, 0x20, 0x41, 0x46, 0x88, 0xd1, 0x09, 0x48, 0x39, 0x9a, 0xbf, 0x4f, 0xe9, 0xd2, 0x4b, 0x09, 1210 0x59, 0x52, 0xe8, 0x33, 0x91, 0x7b, 0x8e, 0x66, 0xd1, 0x14, 0xe0, 0x72, 0xf2, 0x4c, 0xe6, 0xd5, 1211 0xc4, 0x5a, 0x83, 0x1e, 0x3f, 0xec, 0x56, 0x0b, 0x5b, 0xbe, 0x27, 0xe6, 0x95, 0xcb, 0x97, 0xb9, 1212 0x18, 0x3d, 0x0e, 0xe3, 0xbe, 0xab, 0x19, 0x66, 0x87, 0x6d, 0x8a, 0xda, 0xca, 0x42, 0x11, 0x18, 1213 0x97, 0xe1, 0xa4, 0xe0, 0x6d, 0x60, 0x5f, 0xd3, 0xf7, 0x71, 0x23, 0x04, 0x0d, 0xd3, 0x6b, 0x86, 1214 0x7b, 0xb9, 0xc1, 0x0a, 0xd7, 0x0b, 0x6c, 0xe9, 0x7b, 0x12, 0x8c, 0x8b, 0x03, 0x53, 0x23, 0x08, 1215 0xd6, 0x06, 0x80, 0x66, 0x59, 0xb6, 0x1f, 0x0d, 0x57, 0x6f, 0x2a, 0xf7, 0xe0, 0x66, 0x2b, 0x01, 1216 0x48, 0x89, 0x10, 0x4c, 0xb5, 0x00, 0x42, 0xcd, 0x91, 0x61, 0x3b, 0x05, 0x39, 0xfe, 0x09, 0x87, 1217 0x7e, 0x07, 0x64, 0x47, 0x6c, 0x60, 0x22, 0x72, 0xb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x4f, 0x43, 0xce, 0xb6, 0xcc, 0x03, 1240 0xdb, 0x1a, 0xc4, 0x89, 0x2f, 0x72, 0x06, 0xe0, 0x10, 0x42, 0x70, 0x09, 0xb2, 0x83, 0x4e, 0xc4, 1241 0x1f, 0xbe, 0x23, 0x96, 0x87, 0x98, 0x81, 0x55, 0x18, 0x13, 0x05, 0xca, 0xb0, 0xad, 0x01, 0x28, 1242 0xbe, 0xcc, 0x29, 0x0a, 0x11, 0x18, 0x1f, 0x86, 0x8f, 0x3d, 0xbf, 0x89, 0x07, 0x21, 0x79, 0x4d, 1243 0x0c, 0x83, 0x43, 0x78, 0x28, 0x77, 0xb1, 0xa5, 0xef, 0x0f, 0xc6, 0xf0, 0x15, 0x11, 0x4a, 0x81, 1244 0x21, 0x14, 0xcb, 0x30, 0xda, 0xd2, 0x5c, 0x6f, 0x5f, 0x33, 0x07, 0x9a, 0x8e, 0x3f, 0xe2, 0x1c, 1245 0xf9, 0x00, 0xc4, 0x23, 0xd2, 0xb6, 0x8e, 0x43, 0xf3, 0x55, 0x11, 0x91, 0x08, 0x8c, 0x2f, 0x3d, 1246 0xcf, 0xa7, 0x57, 0x5a, 0xc7, 0x61, 0xfb, 0x63, 0xb1, 0xf4, 0x18, 0x76, 0x23, 0xca, 0x78, 0x09, 1247 0xb2, 0x9e, 0x71, 0x73, 0x20, 0x9a, 0x3f, 0x11, 0x33, 0x4d, 0x01, 0x04, 0xfc, 0x3c, 0x9c, 0xec, 1248 0xbb, 0x4d, 0x0c, 0x40, 0xf6, 0xa7, 0x9c, 0xec, 0x44, 0x9f, 0xad, 0x82, 0x97, 0x84, 0xe3, 0x52, 1249 0xfe, 0x99, 0x28, 0x09, 0xb8, 0x8b, 0x6b, 0x8b, 0x9c, 0x15, 0x3c, 0x6d, 0xef, 0x78, 0x51, 0xfb, 1250 0x73, 0x11, 0x35, 0x86, 0xed, 0x88, 0xda, 0x36, 0x9c, 0xe0, 0x8c, 0xc7, 0x9b, 0xd7, 0xaf, 0x89, 1251 0xc2, 0xca, 0xd0, 0x3b, 0x9d, 0xb3, 0xfb, 0x29, 0x98, 0x0a, 0xc2, 0x29, 0x9a, 0x52, 0x4f, 0x6d, 1252 0x69, 0xce, 0x00, 0xcc, 0x5f, 0xe7, 0xcc, 0xa2, 0xe2, 0x07, 0x5d, 0xad, 0xb7, 0xa1, 0x39, 0x84, 1253 0xfc, 0x39, 0x28, 0x0a, 0xf2, 0xb6, 0xe5, 0x62, 0xdd, 0x6e, 0x5a, 0xc6, 0x4d, 0xdc, 0x18, 0x80, 1254 0xfa, 0x2f, 0xba, 0xa6, 0x6a, 0x27, 0x02, 0x27, 0xcc, 0x6b, 0x20, 0x07, 0xbd, 0x8a, 0x6a, 0xb4, 1255 0x1c, 0xdb, 0xf5, 0x63, 0x18, 0xbf, 0x21, 0x66, 0x2a, 0xc0, 0xad, 0x51, 0x58, 0xb9, 0x0a, 0x05, 1256 0xfa, 0x38, 0x68, 0x4a, 0xfe, 0x25, 0x27, 0x1a, 0x0d, 0x51, 0xbc, 0x70, 0xe8, 0x76, 0xcb, 0xd1, 1257 0xdc, 0x41, 0xea, 0xdf, 0x5f, 0x89, 0xc2, 0xc1, 0x21, 0xbc, 0x70, 0xf8, 0x07, 0x0e, 0x26, 0xbb, 1258 0xfd, 0x00, 0x0c, 0xdf, 0x14, 0x85, 0x43, 0x60, 0x38, 0x85, 0x68, 0x18, 0x06, 0xa0, 0xf8, 0x6b, 1259 0x41, 0x21, 0x30, 0x84, 0xe2, 0x13, 0xe1, 0x46, 0xeb, 0xe2, 0xa6, 0xe1, 0xf9, 0x2e, 0x6b, 0x85, 1260 0xef, 0x4e, 0xf5, 0xad, 0x77, 0x3a, 0x9b, 0x30, 0x25, 0x02, 0x25, 0x95, 0x88, 0x5f, 0xa1, 0xd2, 1261 0x93, 0x52, 0xbc, 0x63, 0xdf, 0x16, 0x95, 0x28, 0x02, 0x23, 0xbe, 0x45, 0x3a, 0x44, 0x12, 0x76, 1262 0x9d, 0x9c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, 0x88, 0xba, 0x80, 0x94, 0x9f, 0x86, 0x6c, 0xb0, 0xd9, 0xc4, 0xe3, 0x7f, 1274 0x93, 0xe3, 0x43, 0x0c, 0x89, 0x40, 0x64, 0xb3, 0x8b, 0xa7, 0xf8, 0xac, 0x88, 0x40, 0x04, 0x45, 1275 0x96, 0x51, 0x77, 0x03, 0x13, 0xcf, 0xf4, 0x5b, 0x62, 0x19, 0x75, 0xf5, 0x2f, 0x64, 0x36, 0x69, 1276 0xcd, 0x8f, 0xa7, 0xf8, 0x6d, 0x31, 0x9b, 0xd4, 0x9e, 0xb8, 0xd1, 0xdd, 0x11, 0xc4, 0x73, 0xfc, 1277 0x8e, 0x70, 0xa3, 0xab, 0x21, 0x28, 0x6f, 0x01, 0xea, 0xed, 0x06, 0xe2, 0xf9, 0x3e, 0xc7, 0xf9, 1278 0xc6, 0x7b, 0x9a, 0x81, 0xf2, 0xb3, 0x70, 0xa2, 0x7f, 0x27, 0x10, 0xcf, 0xfa, 0xf9, 0x3b, 0x5d, 1279 0x67, 0xb7, 0x68, 0x23, 0x50, 0xde, 0x0e, 0xb7, 0x94, 0x68, 0x17, 0x10, 0x4f, 0xfb, 0xf2, 0x9d, 1280 0xce, 0xc2, 0x1d, 0x6d, 0x02, 0xca, 0x15, 0x80, 0x70, 0x03, 0x8e, 0xe7, 0x7a, 0x85, 0x73, 0x45, 1281 0x40, 0x64, 0x69, 0xf0, 0xfd, 0x37, 0x1e, 0xff, 0x05, 0xb1, 0x34, 0x38, 0x82, 0x2c, 0x0d, 0xb1, 1282 0xf5, 0xc6, 0xa3, 0x5f, 0x15, 0x4b, 0x43, 0x40, 0x48, 0x66, 0x47, 0x76, 0xb7, 0x78, 0x86, 0x2f, 1283 0x8a, 0xcc, 0x8e, 0xa0, 0xca, 0x9b, 0x30, 0xde, 0xb3, 0x21, 0xc6, 0x53, 0x7d, 0x89, 0x53, 0xc9, 1284 0xdd, 0xfb, 0x61, 0x74, 0xf3, 0xe2, 0x9b, 0x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x32, 0xdb, 0x37, 0xae, 0xf9, 0x8e, 0x4d, 0x3f, 1296 0x73, 0xc4, 0x31, 0xdc, 0xe1, 0x0c, 0x11, 0xc8, 0x52, 0xb5, 0xff, 0xf5, 0x2d, 0xac, 0xda, 0xab, 1297 0x36, 0xbb, 0xb8, 0x7d, 0xa1, 0x14, 0x7f, 0x03, 0x0b, 0xff, 0x97, 0x81, 0xfb, 0x75, 0xbb, 0xb5, 1298 0x6b, 0x7b, 0x73, 0x91, 0x62, 0x3e, 0x67, 0x5b, 0x9c, 0x13, 0x25, 0x6d, 0x0b, 0x4f, 0x1d, 0xef, 1299 0x2e, 0xb7, 0x74, 0x12, 0xd2, 0xf5, 0xf6, 0xee, 0xee, 0x01, 0x92, 0x21, 0xe9, 0xb5, 0x77, 0xf9, 1300 0xef, 0xa2, 0xc8, 0x9f, 0xa5, 0x37, 0x93, 0x30, 0x5a, 0x31, 0xcd, 0xed, 0x03, 0x07, 0x7b, 0x35, 1301 0x0b, 0xd7, 0xf6, 0x50, 0x11, 0x86, 0xe9, 0x60, 0x9f, 0xa2, 0x66, 0xd2, 0x95, 0x21, 0x85, 0x3f, 1302 0x07, 0x9a, 0x79, 0x7a, 0xcb, 0x9d, 0x08, 0x34, 0xf3, 0x81, 0xe6, 0x2c, 0xbb, 0xe4, 0x0e, 0x34, 1303 0x67, 0x03, 0xcd, 0x02, 0xbd, 0xea, 0x4e, 0x06, 0x9a, 0x85, 0x40, 0xb3, 0x48, 0x3f, 0xe5, 0x8c, 1304 0x06, 0x9a, 0xc5, 0x40, 0x73, 0x8e, 0x7e, 0xbc, 0x49, 0x05, 0x9a, 0x73, 0x81, 0xe6, 0x3c, 0xfd, 1305 0x66, 0x33, 0x1e, 0x68, 0xce, 0x07, 0x9a, 0x0b, 0xf4, 0x3b, 0x0d, 0x0a, 0x34, 0x17, 0x02, 0xcd, 1306 0x45, 0xfa, 0x03, 0xa8, 0x91, 0x40, 0x73, 0x11, 0x4d, 0xc1, 0x08, 0x1b, 0xd9, 0x93, 0xf4, 0x63, 1307 0xfe, 0xd8, 0x95, 0x21, 0x45, 0x08, 0x42, 0xdd, 0x53, 0xf4, 0x47, 0x4e, 0xc3, 0xa1, 0xee, 0xa9, 1308 0x50, 0x37, 0x4f, 0xff, 0xaf, 0x85, 0x1c, 0xea, 0xe6, 0x43, 0xdd, 0xd9, 0xe2, 0x28, 0xc9, 0x91, 1309 0x50, 0x77, 0x36, 0xd4, 0x2d, 0x14, 0x0b, 0x64, 0x06, 0x42, 0xdd, 0x42, 0xa8, 0x5b, 0x2c, 0x8e, 1310 0x9d, 0x96, 0x66, 0xf2, 0xa1, 0x6e, 0x11, 0x3d, 0x01, 0x39, 0xaf, 0xbd, 0xab, 0xf2, 0x6a, 0x4f, 1311 0x7f, 0x4c, 0x95, 0x9b, 0x87, 0x59, 0x92, 0x13, 0x74, 0x5a, 0xaf, 0x0c, 0x29, 0xe0, 0xb5, 0x77, 1312 0x79, 0x31, 0x5e, 0xca, 0x03, 0xbd, 0x83, 0x52, 0xe9, 0x6f, 0xa0, 0x4b, 0x6f, 0x48, 0x90, 0xdd, 1313 0xbe, 0x61, 0xd3, 0x4f, 0xf9, 0xde, 0x8f, 0x79, 0x72, 0x85, 0xd3, 0x67, 0x17, 0xe8, 0xd7, 0xd6, 1314 0xec, 0x15, 0x49, 0x11, 0x82, 0x50, 0xb7, 0x58, 0x7c, 0x90, 0x0e, 0x28, 0xd0, 0x2d, 0xa2, 0x39, 1315 0xc8, 0x47, 0x06, 0x34, 0x4f, 0x7f, 0xe6, 0xd4, 0x39, 0x22, 0x49, 0xc9, 0x85, 0x23, 0x9a, 0x5f, 1316 0x4a, 0x03, 0x49, 0x7b, 0xf2, 0x8f, 0x7f, 0xc3, 0x2e, 0x7d, 0x36, 0x01, 0x39, 0x76, 0x6d, 0x4d, 1317 0x47, 0x45, 0x5e, 0xc5, 0x4e, 0x36, 0x07, 0xdc, 0x8d, 0x21, 0x45, 0x08, 0x90, 0x02, 0xc0, 0x4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df, 1329 0x71, 0x95, 0xb1, 0x1a, 0x37, 0x00, 0x00, 1330 } 1331 r := bytes.NewReader(gzipped) 1332 gzipr, err := compress_gzip.NewReader(r) 1333 if err != nil { 1334 panic(err) 1335 } 1336 ungzipped, err := io_ioutil.ReadAll(gzipr) 1337 if err != nil { 1338 panic(err) 1339 } 1340 if err := github_com_gogo_protobuf_proto.Unmarshal(ungzipped, d); err != nil { 1341 panic(err) 1342 } 1343 return d 1344} 1345func (this *Subby) VerboseEqual(that interface{}) error { 1346 if that == nil { 1347 if this == nil { 1348 return nil 1349 } 1350 return fmt.Errorf("that == nil && this != nil") 1351 } 1352 1353 that1, ok := that.(*Subby) 1354 if !ok { 1355 that2, ok := that.(Subby) 1356 if ok { 1357 that1 = &that2 1358 } else { 1359 return fmt.Errorf("that is not of type *Subby") 1360 } 1361 } 1362 if that1 == nil { 1363 if this == nil { 1364 return nil 1365 } 1366 return fmt.Errorf("that is type *Subby but is nil && this != nil") 1367 } else if this == nil { 1368 return fmt.Errorf("that is type *Subby but is not nil && this == nil") 1369 } 1370 if this.Sub != nil && that1.Sub != nil { 1371 if *this.Sub != *that1.Sub { 1372 return fmt.Errorf("Sub this(%v) Not Equal that(%v)", *this.Sub, *that1.Sub) 1373 } 1374 } else if this.Sub != nil { 1375 return fmt.Errorf("this.Sub == nil && that.Sub != nil") 1376 } else if that1.Sub != nil { 1377 return fmt.Errorf("Sub this(%v) Not Equal that(%v)", this.Sub, that1.Sub) 1378 } 1379 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 1380 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 1381 } 1382 return nil 1383} 1384func (this *Subby) Equal(that interface{}) bool { 1385 if that == nil { 1386 return this == nil 1387 } 1388 1389 that1, ok := that.(*Subby) 1390 if !ok { 1391 that2, ok := that.(Subby) 1392 if ok { 1393 that1 = &that2 1394 } else { 1395 return false 1396 } 1397 } 1398 if that1 == nil { 1399 return this == nil 1400 } else if this == nil { 1401 return false 1402 } 1403 if this.Sub != nil && that1.Sub != nil { 1404 if *this.Sub != *that1.Sub { 1405 return false 1406 } 1407 } else if this.Sub != nil { 1408 return false 1409 } else if that1.Sub != nil { 1410 return false 1411 } 1412 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 1413 return false 1414 } 1415 return true 1416} 1417func (this *AllTypesOneOf) VerboseEqual(that interface{}) error { 1418 if that == nil { 1419 if this == nil { 1420 return nil 1421 } 1422 return fmt.Errorf("that == nil && this != nil") 1423 } 1424 1425 that1, ok := that.(*AllTypesOneOf) 1426 if !ok { 1427 that2, ok := that.(AllTypesOneOf) 1428 if ok { 1429 that1 = &that2 1430 } else { 1431 return fmt.Errorf("that is not of type *AllTypesOneOf") 1432 } 1433 } 1434 if that1 == nil { 1435 if this == nil { 1436 return nil 1437 } 1438 return fmt.Errorf("that is type *AllTypesOneOf but is nil && this != nil") 1439 } else if this == nil { 1440 return fmt.Errorf("that is type *AllTypesOneOf but is not nil && this == nil") 1441 } 1442 if that1.TestOneof == nil { 1443 if this.TestOneof != nil { 1444 return fmt.Errorf("this.TestOneof != nil && that1.TestOneof == nil") 1445 } 1446 } else if this.TestOneof == nil { 1447 return fmt.Errorf("this.TestOneof == nil && that1.TestOneof != nil") 1448 } else if err := this.TestOneof.VerboseEqual(that1.TestOneof); err != nil { 1449 return err 1450 } 1451 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 1452 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 1453 } 1454 return nil 1455} 1456func (this *AllTypesOneOf_Field1) VerboseEqual(that interface{}) error { 1457 if that == nil { 1458 if this == nil { 1459 return nil 1460 } 1461 return fmt.Errorf("that == nil && this != nil") 1462 } 1463 1464 that1, ok := that.(*AllTypesOneOf_Field1) 1465 if !ok { 1466 that2, ok := that.(AllTypesOneOf_Field1) 1467 if ok { 1468 that1 = &that2 1469 } else { 1470 return fmt.Errorf("that is not of type *AllTypesOneOf_Field1") 1471 } 1472 } 1473 if that1 == nil { 1474 if this == nil { 1475 return nil 1476 } 1477 return fmt.Errorf("that is type *AllTypesOneOf_Field1 but is nil && this != nil") 1478 } else if this == nil { 1479 return fmt.Errorf("that is type *AllTypesOneOf_Field1 but is not nil && this == nil") 1480 } 1481 if this.Field1 != that1.Field1 { 1482 return fmt.Errorf("Field1 this(%v) Not Equal that(%v)", this.Field1, that1.Field1) 1483 } 1484 return nil 1485} 1486func (this *AllTypesOneOf_Field2) VerboseEqual(that interface{}) error { 1487 if that == nil { 1488 if this == nil { 1489 return nil 1490 } 1491 return fmt.Errorf("that == nil && this != nil") 1492 } 1493 1494 that1, ok := that.(*AllTypesOneOf_Field2) 1495 if !ok { 1496 that2, ok := that.(AllTypesOneOf_Field2) 1497 if ok { 1498 that1 = &that2 1499 } else { 1500 return fmt.Errorf("that is not of type *AllTypesOneOf_Field2") 1501 } 1502 } 1503 if that1 == nil { 1504 if this == nil { 1505 return nil 1506 } 1507 return fmt.Errorf("that is type *AllTypesOneOf_Field2 but is nil && this != nil") 1508 } else if this == nil { 1509 return fmt.Errorf("that is type *AllTypesOneOf_Field2 but is not nil && this == nil") 1510 } 1511 if this.Field2 != that1.Field2 { 1512 return fmt.Errorf("Field2 this(%v) Not Equal that(%v)", this.Field2, that1.Field2) 1513 } 1514 return nil 1515} 1516func (this *AllTypesOneOf_Field3) VerboseEqual(that interface{}) error { 1517 if that == nil { 1518 if this == nil { 1519 return nil 1520 } 1521 return fmt.Errorf("that == nil && this != nil") 1522 } 1523 1524 that1, ok := that.(*AllTypesOneOf_Field3) 1525 if !ok { 1526 that2, ok := that.(AllTypesOneOf_Field3) 1527 if ok { 1528 that1 = &that2 1529 } else { 1530 return fmt.Errorf("that is not of type *AllTypesOneOf_Field3") 1531 } 1532 } 1533 if that1 == nil { 1534 if this == nil { 1535 return nil 1536 } 1537 return fmt.Errorf("that is type *AllTypesOneOf_Field3 but is nil && this != nil") 1538 } else if this == nil { 1539 return fmt.Errorf("that is type *AllTypesOneOf_Field3 but is not nil && this == nil") 1540 } 1541 if this.Field3 != that1.Field3 { 1542 return fmt.Errorf("Field3 this(%v) Not Equal that(%v)", this.Field3, that1.Field3) 1543 } 1544 return nil 1545} 1546func (this *AllTypesOneOf_Field4) VerboseEqual(that interface{}) error { 1547 if that == nil { 1548 if this == nil { 1549 return nil 1550 } 1551 return fmt.Errorf("that == nil && this != nil") 1552 } 1553 1554 that1, ok := that.(*AllTypesOneOf_Field4) 1555 if !ok { 1556 that2, ok := that.(AllTypesOneOf_Field4) 1557 if ok { 1558 that1 = &that2 1559 } else { 1560 return fmt.Errorf("that is not of type *AllTypesOneOf_Field4") 1561 } 1562 } 1563 if that1 == nil { 1564 if this == nil { 1565 return nil 1566 } 1567 return fmt.Errorf("that is type *AllTypesOneOf_Field4 but is nil && this != nil") 1568 } else if this == nil { 1569 return fmt.Errorf("that is type *AllTypesOneOf_Field4 but is not nil && this == nil") 1570 } 1571 if this.Field4 != that1.Field4 { 1572 return fmt.Errorf("Field4 this(%v) Not Equal that(%v)", this.Field4, that1.Field4) 1573 } 1574 return nil 1575} 1576func (this *AllTypesOneOf_Field5) VerboseEqual(that interface{}) error { 1577 if that == nil { 1578 if this == nil { 1579 return nil 1580 } 1581 return fmt.Errorf("that == nil && this != nil") 1582 } 1583 1584 that1, ok := that.(*AllTypesOneOf_Field5) 1585 if !ok { 1586 that2, ok := that.(AllTypesOneOf_Field5) 1587 if ok { 1588 that1 = &that2 1589 } else { 1590 return fmt.Errorf("that is not of type *AllTypesOneOf_Field5") 1591 } 1592 } 1593 if that1 == nil { 1594 if this == nil { 1595 return nil 1596 } 1597 return fmt.Errorf("that is type *AllTypesOneOf_Field5 but is nil && this != nil") 1598 } else if this == nil { 1599 return fmt.Errorf("that is type *AllTypesOneOf_Field5 but is not nil && this == nil") 1600 } 1601 if this.Field5 != that1.Field5 { 1602 return fmt.Errorf("Field5 this(%v) Not Equal that(%v)", this.Field5, that1.Field5) 1603 } 1604 return nil 1605} 1606func (this *AllTypesOneOf_Field6) VerboseEqual(that interface{}) error { 1607 if that == nil { 1608 if this == nil { 1609 return nil 1610 } 1611 return fmt.Errorf("that == nil && this != nil") 1612 } 1613 1614 that1, ok := that.(*AllTypesOneOf_Field6) 1615 if !ok { 1616 that2, ok := that.(AllTypesOneOf_Field6) 1617 if ok { 1618 that1 = &that2 1619 } else { 1620 return fmt.Errorf("that is not of type *AllTypesOneOf_Field6") 1621 } 1622 } 1623 if that1 == nil { 1624 if this == nil { 1625 return nil 1626 } 1627 return fmt.Errorf("that is type *AllTypesOneOf_Field6 but is nil && this != nil") 1628 } else if this == nil { 1629 return fmt.Errorf("that is type *AllTypesOneOf_Field6 but is not nil && this == nil") 1630 } 1631 if this.Field6 != that1.Field6 { 1632 return fmt.Errorf("Field6 this(%v) Not Equal that(%v)", this.Field6, that1.Field6) 1633 } 1634 return nil 1635} 1636func (this *AllTypesOneOf_Field7) VerboseEqual(that interface{}) error { 1637 if that == nil { 1638 if this == nil { 1639 return nil 1640 } 1641 return fmt.Errorf("that == nil && this != nil") 1642 } 1643 1644 that1, ok := that.(*AllTypesOneOf_Field7) 1645 if !ok { 1646 that2, ok := that.(AllTypesOneOf_Field7) 1647 if ok { 1648 that1 = &that2 1649 } else { 1650 return fmt.Errorf("that is not of type *AllTypesOneOf_Field7") 1651 } 1652 } 1653 if that1 == nil { 1654 if this == nil { 1655 return nil 1656 } 1657 return fmt.Errorf("that is type *AllTypesOneOf_Field7 but is nil && this != nil") 1658 } else if this == nil { 1659 return fmt.Errorf("that is type *AllTypesOneOf_Field7 but is not nil && this == nil") 1660 } 1661 if this.Field7 != that1.Field7 { 1662 return fmt.Errorf("Field7 this(%v) Not Equal that(%v)", this.Field7, that1.Field7) 1663 } 1664 return nil 1665} 1666func (this *AllTypesOneOf_Field8) VerboseEqual(that interface{}) error { 1667 if that == nil { 1668 if this == nil { 1669 return nil 1670 } 1671 return fmt.Errorf("that == nil && this != nil") 1672 } 1673 1674 that1, ok := that.(*AllTypesOneOf_Field8) 1675 if !ok { 1676 that2, ok := that.(AllTypesOneOf_Field8) 1677 if ok { 1678 that1 = &that2 1679 } else { 1680 return fmt.Errorf("that is not of type *AllTypesOneOf_Field8") 1681 } 1682 } 1683 if that1 == nil { 1684 if this == nil { 1685 return nil 1686 } 1687 return fmt.Errorf("that is type *AllTypesOneOf_Field8 but is nil && this != nil") 1688 } else if this == nil { 1689 return fmt.Errorf("that is type *AllTypesOneOf_Field8 but is not nil && this == nil") 1690 } 1691 if this.Field8 != that1.Field8 { 1692 return fmt.Errorf("Field8 this(%v) Not Equal that(%v)", this.Field8, that1.Field8) 1693 } 1694 return nil 1695} 1696func (this *AllTypesOneOf_Field9) VerboseEqual(that interface{}) error { 1697 if that == nil { 1698 if this == nil { 1699 return nil 1700 } 1701 return fmt.Errorf("that == nil && this != nil") 1702 } 1703 1704 that1, ok := that.(*AllTypesOneOf_Field9) 1705 if !ok { 1706 that2, ok := that.(AllTypesOneOf_Field9) 1707 if ok { 1708 that1 = &that2 1709 } else { 1710 return fmt.Errorf("that is not of type *AllTypesOneOf_Field9") 1711 } 1712 } 1713 if that1 == nil { 1714 if this == nil { 1715 return nil 1716 } 1717 return fmt.Errorf("that is type *AllTypesOneOf_Field9 but is nil && this != nil") 1718 } else if this == nil { 1719 return fmt.Errorf("that is type *AllTypesOneOf_Field9 but is not nil && this == nil") 1720 } 1721 if this.Field9 != that1.Field9 { 1722 return fmt.Errorf("Field9 this(%v) Not Equal that(%v)", this.Field9, that1.Field9) 1723 } 1724 return nil 1725} 1726func (this *AllTypesOneOf_Field10) VerboseEqual(that interface{}) error { 1727 if that == nil { 1728 if this == nil { 1729 return nil 1730 } 1731 return fmt.Errorf("that == nil && this != nil") 1732 } 1733 1734 that1, ok := that.(*AllTypesOneOf_Field10) 1735 if !ok { 1736 that2, ok := that.(AllTypesOneOf_Field10) 1737 if ok { 1738 that1 = &that2 1739 } else { 1740 return fmt.Errorf("that is not of type *AllTypesOneOf_Field10") 1741 } 1742 } 1743 if that1 == nil { 1744 if this == nil { 1745 return nil 1746 } 1747 return fmt.Errorf("that is type *AllTypesOneOf_Field10 but is nil && this != nil") 1748 } else if this == nil { 1749 return fmt.Errorf("that is type *AllTypesOneOf_Field10 but is not nil && this == nil") 1750 } 1751 if this.Field10 != that1.Field10 { 1752 return fmt.Errorf("Field10 this(%v) Not Equal that(%v)", this.Field10, that1.Field10) 1753 } 1754 return nil 1755} 1756func (this *AllTypesOneOf_Field11) VerboseEqual(that interface{}) error { 1757 if that == nil { 1758 if this == nil { 1759 return nil 1760 } 1761 return fmt.Errorf("that == nil && this != nil") 1762 } 1763 1764 that1, ok := that.(*AllTypesOneOf_Field11) 1765 if !ok { 1766 that2, ok := that.(AllTypesOneOf_Field11) 1767 if ok { 1768 that1 = &that2 1769 } else { 1770 return fmt.Errorf("that is not of type *AllTypesOneOf_Field11") 1771 } 1772 } 1773 if that1 == nil { 1774 if this == nil { 1775 return nil 1776 } 1777 return fmt.Errorf("that is type *AllTypesOneOf_Field11 but is nil && this != nil") 1778 } else if this == nil { 1779 return fmt.Errorf("that is type *AllTypesOneOf_Field11 but is not nil && this == nil") 1780 } 1781 if this.Field11 != that1.Field11 { 1782 return fmt.Errorf("Field11 this(%v) Not Equal that(%v)", this.Field11, that1.Field11) 1783 } 1784 return nil 1785} 1786func (this *AllTypesOneOf_Field12) VerboseEqual(that interface{}) error { 1787 if that == nil { 1788 if this == nil { 1789 return nil 1790 } 1791 return fmt.Errorf("that == nil && this != nil") 1792 } 1793 1794 that1, ok := that.(*AllTypesOneOf_Field12) 1795 if !ok { 1796 that2, ok := that.(AllTypesOneOf_Field12) 1797 if ok { 1798 that1 = &that2 1799 } else { 1800 return fmt.Errorf("that is not of type *AllTypesOneOf_Field12") 1801 } 1802 } 1803 if that1 == nil { 1804 if this == nil { 1805 return nil 1806 } 1807 return fmt.Errorf("that is type *AllTypesOneOf_Field12 but is nil && this != nil") 1808 } else if this == nil { 1809 return fmt.Errorf("that is type *AllTypesOneOf_Field12 but is not nil && this == nil") 1810 } 1811 if this.Field12 != that1.Field12 { 1812 return fmt.Errorf("Field12 this(%v) Not Equal that(%v)", this.Field12, that1.Field12) 1813 } 1814 return nil 1815} 1816func (this *AllTypesOneOf_Field13) VerboseEqual(that interface{}) error { 1817 if that == nil { 1818 if this == nil { 1819 return nil 1820 } 1821 return fmt.Errorf("that == nil && this != nil") 1822 } 1823 1824 that1, ok := that.(*AllTypesOneOf_Field13) 1825 if !ok { 1826 that2, ok := that.(AllTypesOneOf_Field13) 1827 if ok { 1828 that1 = &that2 1829 } else { 1830 return fmt.Errorf("that is not of type *AllTypesOneOf_Field13") 1831 } 1832 } 1833 if that1 == nil { 1834 if this == nil { 1835 return nil 1836 } 1837 return fmt.Errorf("that is type *AllTypesOneOf_Field13 but is nil && this != nil") 1838 } else if this == nil { 1839 return fmt.Errorf("that is type *AllTypesOneOf_Field13 but is not nil && this == nil") 1840 } 1841 if this.Field13 != that1.Field13 { 1842 return fmt.Errorf("Field13 this(%v) Not Equal that(%v)", this.Field13, that1.Field13) 1843 } 1844 return nil 1845} 1846func (this *AllTypesOneOf_Field14) VerboseEqual(that interface{}) error { 1847 if that == nil { 1848 if this == nil { 1849 return nil 1850 } 1851 return fmt.Errorf("that == nil && this != nil") 1852 } 1853 1854 that1, ok := that.(*AllTypesOneOf_Field14) 1855 if !ok { 1856 that2, ok := that.(AllTypesOneOf_Field14) 1857 if ok { 1858 that1 = &that2 1859 } else { 1860 return fmt.Errorf("that is not of type *AllTypesOneOf_Field14") 1861 } 1862 } 1863 if that1 == nil { 1864 if this == nil { 1865 return nil 1866 } 1867 return fmt.Errorf("that is type *AllTypesOneOf_Field14 but is nil && this != nil") 1868 } else if this == nil { 1869 return fmt.Errorf("that is type *AllTypesOneOf_Field14 but is not nil && this == nil") 1870 } 1871 if this.Field14 != that1.Field14 { 1872 return fmt.Errorf("Field14 this(%v) Not Equal that(%v)", this.Field14, that1.Field14) 1873 } 1874 return nil 1875} 1876func (this *AllTypesOneOf_Field15) VerboseEqual(that interface{}) error { 1877 if that == nil { 1878 if this == nil { 1879 return nil 1880 } 1881 return fmt.Errorf("that == nil && this != nil") 1882 } 1883 1884 that1, ok := that.(*AllTypesOneOf_Field15) 1885 if !ok { 1886 that2, ok := that.(AllTypesOneOf_Field15) 1887 if ok { 1888 that1 = &that2 1889 } else { 1890 return fmt.Errorf("that is not of type *AllTypesOneOf_Field15") 1891 } 1892 } 1893 if that1 == nil { 1894 if this == nil { 1895 return nil 1896 } 1897 return fmt.Errorf("that is type *AllTypesOneOf_Field15 but is nil && this != nil") 1898 } else if this == nil { 1899 return fmt.Errorf("that is type *AllTypesOneOf_Field15 but is not nil && this == nil") 1900 } 1901 if !bytes.Equal(this.Field15, that1.Field15) { 1902 return fmt.Errorf("Field15 this(%v) Not Equal that(%v)", this.Field15, that1.Field15) 1903 } 1904 return nil 1905} 1906func (this *AllTypesOneOf_SubMessage) VerboseEqual(that interface{}) error { 1907 if that == nil { 1908 if this == nil { 1909 return nil 1910 } 1911 return fmt.Errorf("that == nil && this != nil") 1912 } 1913 1914 that1, ok := that.(*AllTypesOneOf_SubMessage) 1915 if !ok { 1916 that2, ok := that.(AllTypesOneOf_SubMessage) 1917 if ok { 1918 that1 = &that2 1919 } else { 1920 return fmt.Errorf("that is not of type *AllTypesOneOf_SubMessage") 1921 } 1922 } 1923 if that1 == nil { 1924 if this == nil { 1925 return nil 1926 } 1927 return fmt.Errorf("that is type *AllTypesOneOf_SubMessage but is nil && this != nil") 1928 } else if this == nil { 1929 return fmt.Errorf("that is type *AllTypesOneOf_SubMessage but is not nil && this == nil") 1930 } 1931 if !this.SubMessage.Equal(that1.SubMessage) { 1932 return fmt.Errorf("SubMessage this(%v) Not Equal that(%v)", this.SubMessage, that1.SubMessage) 1933 } 1934 return nil 1935} 1936func (this *AllTypesOneOf) Equal(that interface{}) bool { 1937 if that == nil { 1938 return this == nil 1939 } 1940 1941 that1, ok := that.(*AllTypesOneOf) 1942 if !ok { 1943 that2, ok := that.(AllTypesOneOf) 1944 if ok { 1945 that1 = &that2 1946 } else { 1947 return false 1948 } 1949 } 1950 if that1 == nil { 1951 return this == nil 1952 } else if this == nil { 1953 return false 1954 } 1955 if that1.TestOneof == nil { 1956 if this.TestOneof != nil { 1957 return false 1958 } 1959 } else if this.TestOneof == nil { 1960 return false 1961 } else if !this.TestOneof.Equal(that1.TestOneof) { 1962 return false 1963 } 1964 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 1965 return false 1966 } 1967 return true 1968} 1969func (this *AllTypesOneOf_Field1) Equal(that interface{}) bool { 1970 if that == nil { 1971 return this == nil 1972 } 1973 1974 that1, ok := that.(*AllTypesOneOf_Field1) 1975 if !ok { 1976 that2, ok := that.(AllTypesOneOf_Field1) 1977 if ok { 1978 that1 = &that2 1979 } else { 1980 return false 1981 } 1982 } 1983 if that1 == nil { 1984 return this == nil 1985 } else if this == nil { 1986 return false 1987 } 1988 if this.Field1 != that1.Field1 { 1989 return false 1990 } 1991 return true 1992} 1993func (this *AllTypesOneOf_Field2) Equal(that interface{}) bool { 1994 if that == nil { 1995 return this == nil 1996 } 1997 1998 that1, ok := that.(*AllTypesOneOf_Field2) 1999 if !ok { 2000 that2, ok := that.(AllTypesOneOf_Field2) 2001 if ok { 2002 that1 = &that2 2003 } else { 2004 return false 2005 } 2006 } 2007 if that1 == nil { 2008 return this == nil 2009 } else if this == nil { 2010 return false 2011 } 2012 if this.Field2 != that1.Field2 { 2013 return false 2014 } 2015 return true 2016} 2017func (this *AllTypesOneOf_Field3) Equal(that interface{}) bool { 2018 if that == nil { 2019 return this == nil 2020 } 2021 2022 that1, ok := that.(*AllTypesOneOf_Field3) 2023 if !ok { 2024 that2, ok := that.(AllTypesOneOf_Field3) 2025 if ok { 2026 that1 = &that2 2027 } else { 2028 return false 2029 } 2030 } 2031 if that1 == nil { 2032 return this == nil 2033 } else if this == nil { 2034 return false 2035 } 2036 if this.Field3 != that1.Field3 { 2037 return false 2038 } 2039 return true 2040} 2041func (this *AllTypesOneOf_Field4) Equal(that interface{}) bool { 2042 if that == nil { 2043 return this == nil 2044 } 2045 2046 that1, ok := that.(*AllTypesOneOf_Field4) 2047 if !ok { 2048 that2, ok := that.(AllTypesOneOf_Field4) 2049 if ok { 2050 that1 = &that2 2051 } else { 2052 return false 2053 } 2054 } 2055 if that1 == nil { 2056 return this == nil 2057 } else if this == nil { 2058 return false 2059 } 2060 if this.Field4 != that1.Field4 { 2061 return false 2062 } 2063 return true 2064} 2065func (this *AllTypesOneOf_Field5) Equal(that interface{}) bool { 2066 if that == nil { 2067 return this == nil 2068 } 2069 2070 that1, ok := that.(*AllTypesOneOf_Field5) 2071 if !ok { 2072 that2, ok := that.(AllTypesOneOf_Field5) 2073 if ok { 2074 that1 = &that2 2075 } else { 2076 return false 2077 } 2078 } 2079 if that1 == nil { 2080 return this == nil 2081 } else if this == nil { 2082 return false 2083 } 2084 if this.Field5 != that1.Field5 { 2085 return false 2086 } 2087 return true 2088} 2089func (this *AllTypesOneOf_Field6) Equal(that interface{}) bool { 2090 if that == nil { 2091 return this == nil 2092 } 2093 2094 that1, ok := that.(*AllTypesOneOf_Field6) 2095 if !ok { 2096 that2, ok := that.(AllTypesOneOf_Field6) 2097 if ok { 2098 that1 = &that2 2099 } else { 2100 return false 2101 } 2102 } 2103 if that1 == nil { 2104 return this == nil 2105 } else if this == nil { 2106 return false 2107 } 2108 if this.Field6 != that1.Field6 { 2109 return false 2110 } 2111 return true 2112} 2113func (this *AllTypesOneOf_Field7) Equal(that interface{}) bool { 2114 if that == nil { 2115 return this == nil 2116 } 2117 2118 that1, ok := that.(*AllTypesOneOf_Field7) 2119 if !ok { 2120 that2, ok := that.(AllTypesOneOf_Field7) 2121 if ok { 2122 that1 = &that2 2123 } else { 2124 return false 2125 } 2126 } 2127 if that1 == nil { 2128 return this == nil 2129 } else if this == nil { 2130 return false 2131 } 2132 if this.Field7 != that1.Field7 { 2133 return false 2134 } 2135 return true 2136} 2137func (this *AllTypesOneOf_Field8) Equal(that interface{}) bool { 2138 if that == nil { 2139 return this == nil 2140 } 2141 2142 that1, ok := that.(*AllTypesOneOf_Field8) 2143 if !ok { 2144 that2, ok := that.(AllTypesOneOf_Field8) 2145 if ok { 2146 that1 = &that2 2147 } else { 2148 return false 2149 } 2150 } 2151 if that1 == nil { 2152 return this == nil 2153 } else if this == nil { 2154 return false 2155 } 2156 if this.Field8 != that1.Field8 { 2157 return false 2158 } 2159 return true 2160} 2161func (this *AllTypesOneOf_Field9) Equal(that interface{}) bool { 2162 if that == nil { 2163 return this == nil 2164 } 2165 2166 that1, ok := that.(*AllTypesOneOf_Field9) 2167 if !ok { 2168 that2, ok := that.(AllTypesOneOf_Field9) 2169 if ok { 2170 that1 = &that2 2171 } else { 2172 return false 2173 } 2174 } 2175 if that1 == nil { 2176 return this == nil 2177 } else if this == nil { 2178 return false 2179 } 2180 if this.Field9 != that1.Field9 { 2181 return false 2182 } 2183 return true 2184} 2185func (this *AllTypesOneOf_Field10) Equal(that interface{}) bool { 2186 if that == nil { 2187 return this == nil 2188 } 2189 2190 that1, ok := that.(*AllTypesOneOf_Field10) 2191 if !ok { 2192 that2, ok := that.(AllTypesOneOf_Field10) 2193 if ok { 2194 that1 = &that2 2195 } else { 2196 return false 2197 } 2198 } 2199 if that1 == nil { 2200 return this == nil 2201 } else if this == nil { 2202 return false 2203 } 2204 if this.Field10 != that1.Field10 { 2205 return false 2206 } 2207 return true 2208} 2209func (this *AllTypesOneOf_Field11) Equal(that interface{}) bool { 2210 if that == nil { 2211 return this == nil 2212 } 2213 2214 that1, ok := that.(*AllTypesOneOf_Field11) 2215 if !ok { 2216 that2, ok := that.(AllTypesOneOf_Field11) 2217 if ok { 2218 that1 = &that2 2219 } else { 2220 return false 2221 } 2222 } 2223 if that1 == nil { 2224 return this == nil 2225 } else if this == nil { 2226 return false 2227 } 2228 if this.Field11 != that1.Field11 { 2229 return false 2230 } 2231 return true 2232} 2233func (this *AllTypesOneOf_Field12) Equal(that interface{}) bool { 2234 if that == nil { 2235 return this == nil 2236 } 2237 2238 that1, ok := that.(*AllTypesOneOf_Field12) 2239 if !ok { 2240 that2, ok := that.(AllTypesOneOf_Field12) 2241 if ok { 2242 that1 = &that2 2243 } else { 2244 return false 2245 } 2246 } 2247 if that1 == nil { 2248 return this == nil 2249 } else if this == nil { 2250 return false 2251 } 2252 if this.Field12 != that1.Field12 { 2253 return false 2254 } 2255 return true 2256} 2257func (this *AllTypesOneOf_Field13) Equal(that interface{}) bool { 2258 if that == nil { 2259 return this == nil 2260 } 2261 2262 that1, ok := that.(*AllTypesOneOf_Field13) 2263 if !ok { 2264 that2, ok := that.(AllTypesOneOf_Field13) 2265 if ok { 2266 that1 = &that2 2267 } else { 2268 return false 2269 } 2270 } 2271 if that1 == nil { 2272 return this == nil 2273 } else if this == nil { 2274 return false 2275 } 2276 if this.Field13 != that1.Field13 { 2277 return false 2278 } 2279 return true 2280} 2281func (this *AllTypesOneOf_Field14) Equal(that interface{}) bool { 2282 if that == nil { 2283 return this == nil 2284 } 2285 2286 that1, ok := that.(*AllTypesOneOf_Field14) 2287 if !ok { 2288 that2, ok := that.(AllTypesOneOf_Field14) 2289 if ok { 2290 that1 = &that2 2291 } else { 2292 return false 2293 } 2294 } 2295 if that1 == nil { 2296 return this == nil 2297 } else if this == nil { 2298 return false 2299 } 2300 if this.Field14 != that1.Field14 { 2301 return false 2302 } 2303 return true 2304} 2305func (this *AllTypesOneOf_Field15) Equal(that interface{}) bool { 2306 if that == nil { 2307 return this == nil 2308 } 2309 2310 that1, ok := that.(*AllTypesOneOf_Field15) 2311 if !ok { 2312 that2, ok := that.(AllTypesOneOf_Field15) 2313 if ok { 2314 that1 = &that2 2315 } else { 2316 return false 2317 } 2318 } 2319 if that1 == nil { 2320 return this == nil 2321 } else if this == nil { 2322 return false 2323 } 2324 if !bytes.Equal(this.Field15, that1.Field15) { 2325 return false 2326 } 2327 return true 2328} 2329func (this *AllTypesOneOf_SubMessage) Equal(that interface{}) bool { 2330 if that == nil { 2331 return this == nil 2332 } 2333 2334 that1, ok := that.(*AllTypesOneOf_SubMessage) 2335 if !ok { 2336 that2, ok := that.(AllTypesOneOf_SubMessage) 2337 if ok { 2338 that1 = &that2 2339 } else { 2340 return false 2341 } 2342 } 2343 if that1 == nil { 2344 return this == nil 2345 } else if this == nil { 2346 return false 2347 } 2348 if !this.SubMessage.Equal(that1.SubMessage) { 2349 return false 2350 } 2351 return true 2352} 2353func (this *TwoOneofs) VerboseEqual(that interface{}) error { 2354 if that == nil { 2355 if this == nil { 2356 return nil 2357 } 2358 return fmt.Errorf("that == nil && this != nil") 2359 } 2360 2361 that1, ok := that.(*TwoOneofs) 2362 if !ok { 2363 that2, ok := that.(TwoOneofs) 2364 if ok { 2365 that1 = &that2 2366 } else { 2367 return fmt.Errorf("that is not of type *TwoOneofs") 2368 } 2369 } 2370 if that1 == nil { 2371 if this == nil { 2372 return nil 2373 } 2374 return fmt.Errorf("that is type *TwoOneofs but is nil && this != nil") 2375 } else if this == nil { 2376 return fmt.Errorf("that is type *TwoOneofs but is not nil && this == nil") 2377 } 2378 if that1.One == nil { 2379 if this.One != nil { 2380 return fmt.Errorf("this.One != nil && that1.One == nil") 2381 } 2382 } else if this.One == nil { 2383 return fmt.Errorf("this.One == nil && that1.One != nil") 2384 } else if err := this.One.VerboseEqual(that1.One); err != nil { 2385 return err 2386 } 2387 if that1.Two == nil { 2388 if this.Two != nil { 2389 return fmt.Errorf("this.Two != nil && that1.Two == nil") 2390 } 2391 } else if this.Two == nil { 2392 return fmt.Errorf("this.Two == nil && that1.Two != nil") 2393 } else if err := this.Two.VerboseEqual(that1.Two); err != nil { 2394 return err 2395 } 2396 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 2397 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 2398 } 2399 return nil 2400} 2401func (this *TwoOneofs_Field1) VerboseEqual(that interface{}) error { 2402 if that == nil { 2403 if this == nil { 2404 return nil 2405 } 2406 return fmt.Errorf("that == nil && this != nil") 2407 } 2408 2409 that1, ok := that.(*TwoOneofs_Field1) 2410 if !ok { 2411 that2, ok := that.(TwoOneofs_Field1) 2412 if ok { 2413 that1 = &that2 2414 } else { 2415 return fmt.Errorf("that is not of type *TwoOneofs_Field1") 2416 } 2417 } 2418 if that1 == nil { 2419 if this == nil { 2420 return nil 2421 } 2422 return fmt.Errorf("that is type *TwoOneofs_Field1 but is nil && this != nil") 2423 } else if this == nil { 2424 return fmt.Errorf("that is type *TwoOneofs_Field1 but is not nil && this == nil") 2425 } 2426 if this.Field1 != that1.Field1 { 2427 return fmt.Errorf("Field1 this(%v) Not Equal that(%v)", this.Field1, that1.Field1) 2428 } 2429 return nil 2430} 2431func (this *TwoOneofs_Field2) VerboseEqual(that interface{}) error { 2432 if that == nil { 2433 if this == nil { 2434 return nil 2435 } 2436 return fmt.Errorf("that == nil && this != nil") 2437 } 2438 2439 that1, ok := that.(*TwoOneofs_Field2) 2440 if !ok { 2441 that2, ok := that.(TwoOneofs_Field2) 2442 if ok { 2443 that1 = &that2 2444 } else { 2445 return fmt.Errorf("that is not of type *TwoOneofs_Field2") 2446 } 2447 } 2448 if that1 == nil { 2449 if this == nil { 2450 return nil 2451 } 2452 return fmt.Errorf("that is type *TwoOneofs_Field2 but is nil && this != nil") 2453 } else if this == nil { 2454 return fmt.Errorf("that is type *TwoOneofs_Field2 but is not nil && this == nil") 2455 } 2456 if this.Field2 != that1.Field2 { 2457 return fmt.Errorf("Field2 this(%v) Not Equal that(%v)", this.Field2, that1.Field2) 2458 } 2459 return nil 2460} 2461func (this *TwoOneofs_Field3) VerboseEqual(that interface{}) error { 2462 if that == nil { 2463 if this == nil { 2464 return nil 2465 } 2466 return fmt.Errorf("that == nil && this != nil") 2467 } 2468 2469 that1, ok := that.(*TwoOneofs_Field3) 2470 if !ok { 2471 that2, ok := that.(TwoOneofs_Field3) 2472 if ok { 2473 that1 = &that2 2474 } else { 2475 return fmt.Errorf("that is not of type *TwoOneofs_Field3") 2476 } 2477 } 2478 if that1 == nil { 2479 if this == nil { 2480 return nil 2481 } 2482 return fmt.Errorf("that is type *TwoOneofs_Field3 but is nil && this != nil") 2483 } else if this == nil { 2484 return fmt.Errorf("that is type *TwoOneofs_Field3 but is not nil && this == nil") 2485 } 2486 if this.Field3 != that1.Field3 { 2487 return fmt.Errorf("Field3 this(%v) Not Equal that(%v)", this.Field3, that1.Field3) 2488 } 2489 return nil 2490} 2491func (this *TwoOneofs_Field34) VerboseEqual(that interface{}) error { 2492 if that == nil { 2493 if this == nil { 2494 return nil 2495 } 2496 return fmt.Errorf("that == nil && this != nil") 2497 } 2498 2499 that1, ok := that.(*TwoOneofs_Field34) 2500 if !ok { 2501 that2, ok := that.(TwoOneofs_Field34) 2502 if ok { 2503 that1 = &that2 2504 } else { 2505 return fmt.Errorf("that is not of type *TwoOneofs_Field34") 2506 } 2507 } 2508 if that1 == nil { 2509 if this == nil { 2510 return nil 2511 } 2512 return fmt.Errorf("that is type *TwoOneofs_Field34 but is nil && this != nil") 2513 } else if this == nil { 2514 return fmt.Errorf("that is type *TwoOneofs_Field34 but is not nil && this == nil") 2515 } 2516 if this.Field34 != that1.Field34 { 2517 return fmt.Errorf("Field34 this(%v) Not Equal that(%v)", this.Field34, that1.Field34) 2518 } 2519 return nil 2520} 2521func (this *TwoOneofs_Field35) VerboseEqual(that interface{}) error { 2522 if that == nil { 2523 if this == nil { 2524 return nil 2525 } 2526 return fmt.Errorf("that == nil && this != nil") 2527 } 2528 2529 that1, ok := that.(*TwoOneofs_Field35) 2530 if !ok { 2531 that2, ok := that.(TwoOneofs_Field35) 2532 if ok { 2533 that1 = &that2 2534 } else { 2535 return fmt.Errorf("that is not of type *TwoOneofs_Field35") 2536 } 2537 } 2538 if that1 == nil { 2539 if this == nil { 2540 return nil 2541 } 2542 return fmt.Errorf("that is type *TwoOneofs_Field35 but is nil && this != nil") 2543 } else if this == nil { 2544 return fmt.Errorf("that is type *TwoOneofs_Field35 but is not nil && this == nil") 2545 } 2546 if !bytes.Equal(this.Field35, that1.Field35) { 2547 return fmt.Errorf("Field35 this(%v) Not Equal that(%v)", this.Field35, that1.Field35) 2548 } 2549 return nil 2550} 2551func (this *TwoOneofs_SubMessage2) VerboseEqual(that interface{}) error { 2552 if that == nil { 2553 if this == nil { 2554 return nil 2555 } 2556 return fmt.Errorf("that == nil && this != nil") 2557 } 2558 2559 that1, ok := that.(*TwoOneofs_SubMessage2) 2560 if !ok { 2561 that2, ok := that.(TwoOneofs_SubMessage2) 2562 if ok { 2563 that1 = &that2 2564 } else { 2565 return fmt.Errorf("that is not of type *TwoOneofs_SubMessage2") 2566 } 2567 } 2568 if that1 == nil { 2569 if this == nil { 2570 return nil 2571 } 2572 return fmt.Errorf("that is type *TwoOneofs_SubMessage2 but is nil && this != nil") 2573 } else if this == nil { 2574 return fmt.Errorf("that is type *TwoOneofs_SubMessage2 but is not nil && this == nil") 2575 } 2576 if !this.SubMessage2.Equal(that1.SubMessage2) { 2577 return fmt.Errorf("SubMessage2 this(%v) Not Equal that(%v)", this.SubMessage2, that1.SubMessage2) 2578 } 2579 return nil 2580} 2581func (this *TwoOneofs) Equal(that interface{}) bool { 2582 if that == nil { 2583 return this == nil 2584 } 2585 2586 that1, ok := that.(*TwoOneofs) 2587 if !ok { 2588 that2, ok := that.(TwoOneofs) 2589 if ok { 2590 that1 = &that2 2591 } else { 2592 return false 2593 } 2594 } 2595 if that1 == nil { 2596 return this == nil 2597 } else if this == nil { 2598 return false 2599 } 2600 if that1.One == nil { 2601 if this.One != nil { 2602 return false 2603 } 2604 } else if this.One == nil { 2605 return false 2606 } else if !this.One.Equal(that1.One) { 2607 return false 2608 } 2609 if that1.Two == nil { 2610 if this.Two != nil { 2611 return false 2612 } 2613 } else if this.Two == nil { 2614 return false 2615 } else if !this.Two.Equal(that1.Two) { 2616 return false 2617 } 2618 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 2619 return false 2620 } 2621 return true 2622} 2623func (this *TwoOneofs_Field1) Equal(that interface{}) bool { 2624 if that == nil { 2625 return this == nil 2626 } 2627 2628 that1, ok := that.(*TwoOneofs_Field1) 2629 if !ok { 2630 that2, ok := that.(TwoOneofs_Field1) 2631 if ok { 2632 that1 = &that2 2633 } else { 2634 return false 2635 } 2636 } 2637 if that1 == nil { 2638 return this == nil 2639 } else if this == nil { 2640 return false 2641 } 2642 if this.Field1 != that1.Field1 { 2643 return false 2644 } 2645 return true 2646} 2647func (this *TwoOneofs_Field2) Equal(that interface{}) bool { 2648 if that == nil { 2649 return this == nil 2650 } 2651 2652 that1, ok := that.(*TwoOneofs_Field2) 2653 if !ok { 2654 that2, ok := that.(TwoOneofs_Field2) 2655 if ok { 2656 that1 = &that2 2657 } else { 2658 return false 2659 } 2660 } 2661 if that1 == nil { 2662 return this == nil 2663 } else if this == nil { 2664 return false 2665 } 2666 if this.Field2 != that1.Field2 { 2667 return false 2668 } 2669 return true 2670} 2671func (this *TwoOneofs_Field3) Equal(that interface{}) bool { 2672 if that == nil { 2673 return this == nil 2674 } 2675 2676 that1, ok := that.(*TwoOneofs_Field3) 2677 if !ok { 2678 that2, ok := that.(TwoOneofs_Field3) 2679 if ok { 2680 that1 = &that2 2681 } else { 2682 return false 2683 } 2684 } 2685 if that1 == nil { 2686 return this == nil 2687 } else if this == nil { 2688 return false 2689 } 2690 if this.Field3 != that1.Field3 { 2691 return false 2692 } 2693 return true 2694} 2695func (this *TwoOneofs_Field34) Equal(that interface{}) bool { 2696 if that == nil { 2697 return this == nil 2698 } 2699 2700 that1, ok := that.(*TwoOneofs_Field34) 2701 if !ok { 2702 that2, ok := that.(TwoOneofs_Field34) 2703 if ok { 2704 that1 = &that2 2705 } else { 2706 return false 2707 } 2708 } 2709 if that1 == nil { 2710 return this == nil 2711 } else if this == nil { 2712 return false 2713 } 2714 if this.Field34 != that1.Field34 { 2715 return false 2716 } 2717 return true 2718} 2719func (this *TwoOneofs_Field35) Equal(that interface{}) bool { 2720 if that == nil { 2721 return this == nil 2722 } 2723 2724 that1, ok := that.(*TwoOneofs_Field35) 2725 if !ok { 2726 that2, ok := that.(TwoOneofs_Field35) 2727 if ok { 2728 that1 = &that2 2729 } else { 2730 return false 2731 } 2732 } 2733 if that1 == nil { 2734 return this == nil 2735 } else if this == nil { 2736 return false 2737 } 2738 if !bytes.Equal(this.Field35, that1.Field35) { 2739 return false 2740 } 2741 return true 2742} 2743func (this *TwoOneofs_SubMessage2) Equal(that interface{}) bool { 2744 if that == nil { 2745 return this == nil 2746 } 2747 2748 that1, ok := that.(*TwoOneofs_SubMessage2) 2749 if !ok { 2750 that2, ok := that.(TwoOneofs_SubMessage2) 2751 if ok { 2752 that1 = &that2 2753 } else { 2754 return false 2755 } 2756 } 2757 if that1 == nil { 2758 return this == nil 2759 } else if this == nil { 2760 return false 2761 } 2762 if !this.SubMessage2.Equal(that1.SubMessage2) { 2763 return false 2764 } 2765 return true 2766} 2767func (this *CustomOneof) VerboseEqual(that interface{}) error { 2768 if that == nil { 2769 if this == nil { 2770 return nil 2771 } 2772 return fmt.Errorf("that == nil && this != nil") 2773 } 2774 2775 that1, ok := that.(*CustomOneof) 2776 if !ok { 2777 that2, ok := that.(CustomOneof) 2778 if ok { 2779 that1 = &that2 2780 } else { 2781 return fmt.Errorf("that is not of type *CustomOneof") 2782 } 2783 } 2784 if that1 == nil { 2785 if this == nil { 2786 return nil 2787 } 2788 return fmt.Errorf("that is type *CustomOneof but is nil && this != nil") 2789 } else if this == nil { 2790 return fmt.Errorf("that is type *CustomOneof but is not nil && this == nil") 2791 } 2792 if that1.Custom == nil { 2793 if this.Custom != nil { 2794 return fmt.Errorf("this.Custom != nil && that1.Custom == nil") 2795 } 2796 } else if this.Custom == nil { 2797 return fmt.Errorf("this.Custom == nil && that1.Custom != nil") 2798 } else if err := this.Custom.VerboseEqual(that1.Custom); err != nil { 2799 return err 2800 } 2801 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 2802 return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) 2803 } 2804 return nil 2805} 2806func (this *CustomOneof_Stringy) VerboseEqual(that interface{}) error { 2807 if that == nil { 2808 if this == nil { 2809 return nil 2810 } 2811 return fmt.Errorf("that == nil && this != nil") 2812 } 2813 2814 that1, ok := that.(*CustomOneof_Stringy) 2815 if !ok { 2816 that2, ok := that.(CustomOneof_Stringy) 2817 if ok { 2818 that1 = &that2 2819 } else { 2820 return fmt.Errorf("that is not of type *CustomOneof_Stringy") 2821 } 2822 } 2823 if that1 == nil { 2824 if this == nil { 2825 return nil 2826 } 2827 return fmt.Errorf("that is type *CustomOneof_Stringy but is nil && this != nil") 2828 } else if this == nil { 2829 return fmt.Errorf("that is type *CustomOneof_Stringy but is not nil && this == nil") 2830 } 2831 if this.Stringy != that1.Stringy { 2832 return fmt.Errorf("Stringy this(%v) Not Equal that(%v)", this.Stringy, that1.Stringy) 2833 } 2834 return nil 2835} 2836func (this *CustomOneof_CustomType) VerboseEqual(that interface{}) error { 2837 if that == nil { 2838 if this == nil { 2839 return nil 2840 } 2841 return fmt.Errorf("that == nil && this != nil") 2842 } 2843 2844 that1, ok := that.(*CustomOneof_CustomType) 2845 if !ok { 2846 that2, ok := that.(CustomOneof_CustomType) 2847 if ok { 2848 that1 = &that2 2849 } else { 2850 return fmt.Errorf("that is not of type *CustomOneof_CustomType") 2851 } 2852 } 2853 if that1 == nil { 2854 if this == nil { 2855 return nil 2856 } 2857 return fmt.Errorf("that is type *CustomOneof_CustomType but is nil && this != nil") 2858 } else if this == nil { 2859 return fmt.Errorf("that is type *CustomOneof_CustomType but is not nil && this == nil") 2860 } 2861 if !this.CustomType.Equal(that1.CustomType) { 2862 return fmt.Errorf("CustomType this(%v) Not Equal that(%v)", this.CustomType, that1.CustomType) 2863 } 2864 return nil 2865} 2866func (this *CustomOneof_CastType) VerboseEqual(that interface{}) error { 2867 if that == nil { 2868 if this == nil { 2869 return nil 2870 } 2871 return fmt.Errorf("that == nil && this != nil") 2872 } 2873 2874 that1, ok := that.(*CustomOneof_CastType) 2875 if !ok { 2876 that2, ok := that.(CustomOneof_CastType) 2877 if ok { 2878 that1 = &that2 2879 } else { 2880 return fmt.Errorf("that is not of type *CustomOneof_CastType") 2881 } 2882 } 2883 if that1 == nil { 2884 if this == nil { 2885 return nil 2886 } 2887 return fmt.Errorf("that is type *CustomOneof_CastType but is nil && this != nil") 2888 } else if this == nil { 2889 return fmt.Errorf("that is type *CustomOneof_CastType but is not nil && this == nil") 2890 } 2891 if this.CastType != that1.CastType { 2892 return fmt.Errorf("CastType this(%v) Not Equal that(%v)", this.CastType, that1.CastType) 2893 } 2894 return nil 2895} 2896func (this *CustomOneof_MyCustomName) VerboseEqual(that interface{}) error { 2897 if that == nil { 2898 if this == nil { 2899 return nil 2900 } 2901 return fmt.Errorf("that == nil && this != nil") 2902 } 2903 2904 that1, ok := that.(*CustomOneof_MyCustomName) 2905 if !ok { 2906 that2, ok := that.(CustomOneof_MyCustomName) 2907 if ok { 2908 that1 = &that2 2909 } else { 2910 return fmt.Errorf("that is not of type *CustomOneof_MyCustomName") 2911 } 2912 } 2913 if that1 == nil { 2914 if this == nil { 2915 return nil 2916 } 2917 return fmt.Errorf("that is type *CustomOneof_MyCustomName but is nil && this != nil") 2918 } else if this == nil { 2919 return fmt.Errorf("that is type *CustomOneof_MyCustomName but is not nil && this == nil") 2920 } 2921 if this.MyCustomName != that1.MyCustomName { 2922 return fmt.Errorf("MyCustomName this(%v) Not Equal that(%v)", this.MyCustomName, that1.MyCustomName) 2923 } 2924 return nil 2925} 2926func (this *CustomOneof) Equal(that interface{}) bool { 2927 if that == nil { 2928 return this == nil 2929 } 2930 2931 that1, ok := that.(*CustomOneof) 2932 if !ok { 2933 that2, ok := that.(CustomOneof) 2934 if ok { 2935 that1 = &that2 2936 } else { 2937 return false 2938 } 2939 } 2940 if that1 == nil { 2941 return this == nil 2942 } else if this == nil { 2943 return false 2944 } 2945 if that1.Custom == nil { 2946 if this.Custom != nil { 2947 return false 2948 } 2949 } else if this.Custom == nil { 2950 return false 2951 } else if !this.Custom.Equal(that1.Custom) { 2952 return false 2953 } 2954 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 2955 return false 2956 } 2957 return true 2958} 2959func (this *CustomOneof_Stringy) Equal(that interface{}) bool { 2960 if that == nil { 2961 return this == nil 2962 } 2963 2964 that1, ok := that.(*CustomOneof_Stringy) 2965 if !ok { 2966 that2, ok := that.(CustomOneof_Stringy) 2967 if ok { 2968 that1 = &that2 2969 } else { 2970 return false 2971 } 2972 } 2973 if that1 == nil { 2974 return this == nil 2975 } else if this == nil { 2976 return false 2977 } 2978 if this.Stringy != that1.Stringy { 2979 return false 2980 } 2981 return true 2982} 2983func (this *CustomOneof_CustomType) Equal(that interface{}) bool { 2984 if that == nil { 2985 return this == nil 2986 } 2987 2988 that1, ok := that.(*CustomOneof_CustomType) 2989 if !ok { 2990 that2, ok := that.(CustomOneof_CustomType) 2991 if ok { 2992 that1 = &that2 2993 } else { 2994 return false 2995 } 2996 } 2997 if that1 == nil { 2998 return this == nil 2999 } else if this == nil { 3000 return false 3001 } 3002 if !this.CustomType.Equal(that1.CustomType) { 3003 return false 3004 } 3005 return true 3006} 3007func (this *CustomOneof_CastType) Equal(that interface{}) bool { 3008 if that == nil { 3009 return this == nil 3010 } 3011 3012 that1, ok := that.(*CustomOneof_CastType) 3013 if !ok { 3014 that2, ok := that.(CustomOneof_CastType) 3015 if ok { 3016 that1 = &that2 3017 } else { 3018 return false 3019 } 3020 } 3021 if that1 == nil { 3022 return this == nil 3023 } else if this == nil { 3024 return false 3025 } 3026 if this.CastType != that1.CastType { 3027 return false 3028 } 3029 return true 3030} 3031func (this *CustomOneof_MyCustomName) Equal(that interface{}) bool { 3032 if that == nil { 3033 return this == nil 3034 } 3035 3036 that1, ok := that.(*CustomOneof_MyCustomName) 3037 if !ok { 3038 that2, ok := that.(CustomOneof_MyCustomName) 3039 if ok { 3040 that1 = &that2 3041 } else { 3042 return false 3043 } 3044 } 3045 if that1 == nil { 3046 return this == nil 3047 } else if this == nil { 3048 return false 3049 } 3050 if this.MyCustomName != that1.MyCustomName { 3051 return false 3052 } 3053 return true 3054} 3055func (this *Subby) GoString() string { 3056 if this == nil { 3057 return "nil" 3058 } 3059 s := make([]string, 0, 5) 3060 s = append(s, "&one.Subby{") 3061 if this.Sub != nil { 3062 s = append(s, "Sub: "+valueToGoStringOne(this.Sub, "string")+",\n") 3063 } 3064 if this.XXX_unrecognized != nil { 3065 s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n") 3066 } 3067 s = append(s, "}") 3068 return strings.Join(s, "") 3069} 3070func (this *AllTypesOneOf) GoString() string { 3071 if this == nil { 3072 return "nil" 3073 } 3074 s := make([]string, 0, 20) 3075 s = append(s, "&one.AllTypesOneOf{") 3076 if this.TestOneof != nil { 3077 s = append(s, "TestOneof: "+fmt.Sprintf("%#v", this.TestOneof)+",\n") 3078 } 3079 if this.XXX_unrecognized != nil { 3080 s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n") 3081 } 3082 s = append(s, "}") 3083 return strings.Join(s, "") 3084} 3085func (this *AllTypesOneOf_Field1) GoString() string { 3086 if this == nil { 3087 return "nil" 3088 } 3089 s := strings.Join([]string{`&one.AllTypesOneOf_Field1{` + 3090 `Field1:` + fmt.Sprintf("%#v", this.Field1) + `}`}, ", ") 3091 return s 3092} 3093func (this *AllTypesOneOf_Field2) GoString() string { 3094 if this == nil { 3095 return "nil" 3096 } 3097 s := strings.Join([]string{`&one.AllTypesOneOf_Field2{` + 3098 `Field2:` + fmt.Sprintf("%#v", this.Field2) + `}`}, ", ") 3099 return s 3100} 3101func (this *AllTypesOneOf_Field3) GoString() string { 3102 if this == nil { 3103 return "nil" 3104 } 3105 s := strings.Join([]string{`&one.AllTypesOneOf_Field3{` + 3106 `Field3:` + fmt.Sprintf("%#v", this.Field3) + `}`}, ", ") 3107 return s 3108} 3109func (this *AllTypesOneOf_Field4) GoString() string { 3110 if this == nil { 3111 return "nil" 3112 } 3113 s := strings.Join([]string{`&one.AllTypesOneOf_Field4{` + 3114 `Field4:` + fmt.Sprintf("%#v", this.Field4) + `}`}, ", ") 3115 return s 3116} 3117func (this *AllTypesOneOf_Field5) GoString() string { 3118 if this == nil { 3119 return "nil" 3120 } 3121 s := strings.Join([]string{`&one.AllTypesOneOf_Field5{` + 3122 `Field5:` + fmt.Sprintf("%#v", this.Field5) + `}`}, ", ") 3123 return s 3124} 3125func (this *AllTypesOneOf_Field6) GoString() string { 3126 if this == nil { 3127 return "nil" 3128 } 3129 s := strings.Join([]string{`&one.AllTypesOneOf_Field6{` + 3130 `Field6:` + fmt.Sprintf("%#v", this.Field6) + `}`}, ", ") 3131 return s 3132} 3133func (this *AllTypesOneOf_Field7) GoString() string { 3134 if this == nil { 3135 return "nil" 3136 } 3137 s := strings.Join([]string{`&one.AllTypesOneOf_Field7{` + 3138 `Field7:` + fmt.Sprintf("%#v", this.Field7) + `}`}, ", ") 3139 return s 3140} 3141func (this *AllTypesOneOf_Field8) GoString() string { 3142 if this == nil { 3143 return "nil" 3144 } 3145 s := strings.Join([]string{`&one.AllTypesOneOf_Field8{` + 3146 `Field8:` + fmt.Sprintf("%#v", this.Field8) + `}`}, ", ") 3147 return s 3148} 3149func (this *AllTypesOneOf_Field9) GoString() string { 3150 if this == nil { 3151 return "nil" 3152 } 3153 s := strings.Join([]string{`&one.AllTypesOneOf_Field9{` + 3154 `Field9:` + fmt.Sprintf("%#v", this.Field9) + `}`}, ", ") 3155 return s 3156} 3157func (this *AllTypesOneOf_Field10) GoString() string { 3158 if this == nil { 3159 return "nil" 3160 } 3161 s := strings.Join([]string{`&one.AllTypesOneOf_Field10{` + 3162 `Field10:` + fmt.Sprintf("%#v", this.Field10) + `}`}, ", ") 3163 return s 3164} 3165func (this *AllTypesOneOf_Field11) GoString() string { 3166 if this == nil { 3167 return "nil" 3168 } 3169 s := strings.Join([]string{`&one.AllTypesOneOf_Field11{` + 3170 `Field11:` + fmt.Sprintf("%#v", this.Field11) + `}`}, ", ") 3171 return s 3172} 3173func (this *AllTypesOneOf_Field12) GoString() string { 3174 if this == nil { 3175 return "nil" 3176 } 3177 s := strings.Join([]string{`&one.AllTypesOneOf_Field12{` + 3178 `Field12:` + fmt.Sprintf("%#v", this.Field12) + `}`}, ", ") 3179 return s 3180} 3181func (this *AllTypesOneOf_Field13) GoString() string { 3182 if this == nil { 3183 return "nil" 3184 } 3185 s := strings.Join([]string{`&one.AllTypesOneOf_Field13{` + 3186 `Field13:` + fmt.Sprintf("%#v", this.Field13) + `}`}, ", ") 3187 return s 3188} 3189func (this *AllTypesOneOf_Field14) GoString() string { 3190 if this == nil { 3191 return "nil" 3192 } 3193 s := strings.Join([]string{`&one.AllTypesOneOf_Field14{` + 3194 `Field14:` + fmt.Sprintf("%#v", this.Field14) + `}`}, ", ") 3195 return s 3196} 3197func (this *AllTypesOneOf_Field15) GoString() string { 3198 if this == nil { 3199 return "nil" 3200 } 3201 s := strings.Join([]string{`&one.AllTypesOneOf_Field15{` + 3202 `Field15:` + fmt.Sprintf("%#v", this.Field15) + `}`}, ", ") 3203 return s 3204} 3205func (this *AllTypesOneOf_SubMessage) GoString() string { 3206 if this == nil { 3207 return "nil" 3208 } 3209 s := strings.Join([]string{`&one.AllTypesOneOf_SubMessage{` + 3210 `SubMessage:` + fmt.Sprintf("%#v", this.SubMessage) + `}`}, ", ") 3211 return s 3212} 3213func (this *TwoOneofs) GoString() string { 3214 if this == nil { 3215 return "nil" 3216 } 3217 s := make([]string, 0, 10) 3218 s = append(s, "&one.TwoOneofs{") 3219 if this.One != nil { 3220 s = append(s, "One: "+fmt.Sprintf("%#v", this.One)+",\n") 3221 } 3222 if this.Two != nil { 3223 s = append(s, "Two: "+fmt.Sprintf("%#v", this.Two)+",\n") 3224 } 3225 if this.XXX_unrecognized != nil { 3226 s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n") 3227 } 3228 s = append(s, "}") 3229 return strings.Join(s, "") 3230} 3231func (this *TwoOneofs_Field1) GoString() string { 3232 if this == nil { 3233 return "nil" 3234 } 3235 s := strings.Join([]string{`&one.TwoOneofs_Field1{` + 3236 `Field1:` + fmt.Sprintf("%#v", this.Field1) + `}`}, ", ") 3237 return s 3238} 3239func (this *TwoOneofs_Field2) GoString() string { 3240 if this == nil { 3241 return "nil" 3242 } 3243 s := strings.Join([]string{`&one.TwoOneofs_Field2{` + 3244 `Field2:` + fmt.Sprintf("%#v", this.Field2) + `}`}, ", ") 3245 return s 3246} 3247func (this *TwoOneofs_Field3) GoString() string { 3248 if this == nil { 3249 return "nil" 3250 } 3251 s := strings.Join([]string{`&one.TwoOneofs_Field3{` + 3252 `Field3:` + fmt.Sprintf("%#v", this.Field3) + `}`}, ", ") 3253 return s 3254} 3255func (this *TwoOneofs_Field34) GoString() string { 3256 if this == nil { 3257 return "nil" 3258 } 3259 s := strings.Join([]string{`&one.TwoOneofs_Field34{` + 3260 `Field34:` + fmt.Sprintf("%#v", this.Field34) + `}`}, ", ") 3261 return s 3262} 3263func (this *TwoOneofs_Field35) GoString() string { 3264 if this == nil { 3265 return "nil" 3266 } 3267 s := strings.Join([]string{`&one.TwoOneofs_Field35{` + 3268 `Field35:` + fmt.Sprintf("%#v", this.Field35) + `}`}, ", ") 3269 return s 3270} 3271func (this *TwoOneofs_SubMessage2) GoString() string { 3272 if this == nil { 3273 return "nil" 3274 } 3275 s := strings.Join([]string{`&one.TwoOneofs_SubMessage2{` + 3276 `SubMessage2:` + fmt.Sprintf("%#v", this.SubMessage2) + `}`}, ", ") 3277 return s 3278} 3279func (this *CustomOneof) GoString() string { 3280 if this == nil { 3281 return "nil" 3282 } 3283 s := make([]string, 0, 8) 3284 s = append(s, "&one.CustomOneof{") 3285 if this.Custom != nil { 3286 s = append(s, "Custom: "+fmt.Sprintf("%#v", this.Custom)+",\n") 3287 } 3288 if this.XXX_unrecognized != nil { 3289 s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n") 3290 } 3291 s = append(s, "}") 3292 return strings.Join(s, "") 3293} 3294func (this *CustomOneof_Stringy) GoString() string { 3295 if this == nil { 3296 return "nil" 3297 } 3298 s := strings.Join([]string{`&one.CustomOneof_Stringy{` + 3299 `Stringy:` + fmt.Sprintf("%#v", this.Stringy) + `}`}, ", ") 3300 return s 3301} 3302func (this *CustomOneof_CustomType) GoString() string { 3303 if this == nil { 3304 return "nil" 3305 } 3306 s := strings.Join([]string{`&one.CustomOneof_CustomType{` + 3307 `CustomType:` + fmt.Sprintf("%#v", this.CustomType) + `}`}, ", ") 3308 return s 3309} 3310func (this *CustomOneof_CastType) GoString() string { 3311 if this == nil { 3312 return "nil" 3313 } 3314 s := strings.Join([]string{`&one.CustomOneof_CastType{` + 3315 `CastType:` + fmt.Sprintf("%#v", this.CastType) + `}`}, ", ") 3316 return s 3317} 3318func (this *CustomOneof_MyCustomName) GoString() string { 3319 if this == nil { 3320 return "nil" 3321 } 3322 s := strings.Join([]string{`&one.CustomOneof_MyCustomName{` + 3323 `MyCustomName:` + fmt.Sprintf("%#v", this.MyCustomName) + `}`}, ", ") 3324 return s 3325} 3326func valueToGoStringOne(v interface{}, typ string) string { 3327 rv := reflect.ValueOf(v) 3328 if rv.IsNil() { 3329 return "nil" 3330 } 3331 pv := reflect.Indirect(rv).Interface() 3332 return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) 3333} 3334func NewPopulatedSubby(r randyOne, easy bool) *Subby { 3335 this := &Subby{} 3336 if r.Intn(10) != 0 { 3337 v1 := string(randStringOne(r)) 3338 this.Sub = &v1 3339 } 3340 if !easy && r.Intn(10) != 0 { 3341 this.XXX_unrecognized = randUnrecognizedOne(r, 2) 3342 } 3343 return this 3344} 3345 3346func NewPopulatedAllTypesOneOf(r randyOne, easy bool) *AllTypesOneOf { 3347 this := &AllTypesOneOf{} 3348 oneofNumber_TestOneof := []int32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}[r.Intn(16)] 3349 switch oneofNumber_TestOneof { 3350 case 1: 3351 this.TestOneof = NewPopulatedAllTypesOneOf_Field1(r, easy) 3352 case 2: 3353 this.TestOneof = NewPopulatedAllTypesOneOf_Field2(r, easy) 3354 case 3: 3355 this.TestOneof = NewPopulatedAllTypesOneOf_Field3(r, easy) 3356 case 4: 3357 this.TestOneof = NewPopulatedAllTypesOneOf_Field4(r, easy) 3358 case 5: 3359 this.TestOneof = NewPopulatedAllTypesOneOf_Field5(r, easy) 3360 case 6: 3361 this.TestOneof = NewPopulatedAllTypesOneOf_Field6(r, easy) 3362 case 7: 3363 this.TestOneof = NewPopulatedAllTypesOneOf_Field7(r, easy) 3364 case 8: 3365 this.TestOneof = NewPopulatedAllTypesOneOf_Field8(r, easy) 3366 case 9: 3367 this.TestOneof = NewPopulatedAllTypesOneOf_Field9(r, easy) 3368 case 10: 3369 this.TestOneof = NewPopulatedAllTypesOneOf_Field10(r, easy) 3370 case 11: 3371 this.TestOneof = NewPopulatedAllTypesOneOf_Field11(r, easy) 3372 case 12: 3373 this.TestOneof = NewPopulatedAllTypesOneOf_Field12(r, easy) 3374 case 13: 3375 this.TestOneof = NewPopulatedAllTypesOneOf_Field13(r, easy) 3376 case 14: 3377 this.TestOneof = NewPopulatedAllTypesOneOf_Field14(r, easy) 3378 case 15: 3379 this.TestOneof = NewPopulatedAllTypesOneOf_Field15(r, easy) 3380 case 16: 3381 this.TestOneof = NewPopulatedAllTypesOneOf_SubMessage(r, easy) 3382 } 3383 if !easy && r.Intn(10) != 0 { 3384 this.XXX_unrecognized = randUnrecognizedOne(r, 17) 3385 } 3386 return this 3387} 3388 3389func NewPopulatedAllTypesOneOf_Field1(r randyOne, easy bool) *AllTypesOneOf_Field1 { 3390 this := &AllTypesOneOf_Field1{} 3391 this.Field1 = float64(r.Float64()) 3392 if r.Intn(2) == 0 { 3393 this.Field1 *= -1 3394 } 3395 return this 3396} 3397func NewPopulatedAllTypesOneOf_Field2(r randyOne, easy bool) *AllTypesOneOf_Field2 { 3398 this := &AllTypesOneOf_Field2{} 3399 this.Field2 = float32(r.Float32()) 3400 if r.Intn(2) == 0 { 3401 this.Field2 *= -1 3402 } 3403 return this 3404} 3405func NewPopulatedAllTypesOneOf_Field3(r randyOne, easy bool) *AllTypesOneOf_Field3 { 3406 this := &AllTypesOneOf_Field3{} 3407 this.Field3 = int32(r.Int31()) 3408 if r.Intn(2) == 0 { 3409 this.Field3 *= -1 3410 } 3411 return this 3412} 3413func NewPopulatedAllTypesOneOf_Field4(r randyOne, easy bool) *AllTypesOneOf_Field4 { 3414 this := &AllTypesOneOf_Field4{} 3415 this.Field4 = int64(r.Int63()) 3416 if r.Intn(2) == 0 { 3417 this.Field4 *= -1 3418 } 3419 return this 3420} 3421func NewPopulatedAllTypesOneOf_Field5(r randyOne, easy bool) *AllTypesOneOf_Field5 { 3422 this := &AllTypesOneOf_Field5{} 3423 this.Field5 = uint32(r.Uint32()) 3424 return this 3425} 3426func NewPopulatedAllTypesOneOf_Field6(r randyOne, easy bool) *AllTypesOneOf_Field6 { 3427 this := &AllTypesOneOf_Field6{} 3428 this.Field6 = uint64(uint64(r.Uint32())) 3429 return this 3430} 3431func NewPopulatedAllTypesOneOf_Field7(r randyOne, easy bool) *AllTypesOneOf_Field7 { 3432 this := &AllTypesOneOf_Field7{} 3433 this.Field7 = int32(r.Int31()) 3434 if r.Intn(2) == 0 { 3435 this.Field7 *= -1 3436 } 3437 return this 3438} 3439func NewPopulatedAllTypesOneOf_Field8(r randyOne, easy bool) *AllTypesOneOf_Field8 { 3440 this := &AllTypesOneOf_Field8{} 3441 this.Field8 = int64(r.Int63()) 3442 if r.Intn(2) == 0 { 3443 this.Field8 *= -1 3444 } 3445 return this 3446} 3447func NewPopulatedAllTypesOneOf_Field9(r randyOne, easy bool) *AllTypesOneOf_Field9 { 3448 this := &AllTypesOneOf_Field9{} 3449 this.Field9 = uint32(r.Uint32()) 3450 return this 3451} 3452func NewPopulatedAllTypesOneOf_Field10(r randyOne, easy bool) *AllTypesOneOf_Field10 { 3453 this := &AllTypesOneOf_Field10{} 3454 this.Field10 = int32(r.Int31()) 3455 if r.Intn(2) == 0 { 3456 this.Field10 *= -1 3457 } 3458 return this 3459} 3460func NewPopulatedAllTypesOneOf_Field11(r randyOne, easy bool) *AllTypesOneOf_Field11 { 3461 this := &AllTypesOneOf_Field11{} 3462 this.Field11 = uint64(uint64(r.Uint32())) 3463 return this 3464} 3465func NewPopulatedAllTypesOneOf_Field12(r randyOne, easy bool) *AllTypesOneOf_Field12 { 3466 this := &AllTypesOneOf_Field12{} 3467 this.Field12 = int64(r.Int63()) 3468 if r.Intn(2) == 0 { 3469 this.Field12 *= -1 3470 } 3471 return this 3472} 3473func NewPopulatedAllTypesOneOf_Field13(r randyOne, easy bool) *AllTypesOneOf_Field13 { 3474 this := &AllTypesOneOf_Field13{} 3475 this.Field13 = bool(bool(r.Intn(2) == 0)) 3476 return this 3477} 3478func NewPopulatedAllTypesOneOf_Field14(r randyOne, easy bool) *AllTypesOneOf_Field14 { 3479 this := &AllTypesOneOf_Field14{} 3480 this.Field14 = string(randStringOne(r)) 3481 return this 3482} 3483func NewPopulatedAllTypesOneOf_Field15(r randyOne, easy bool) *AllTypesOneOf_Field15 { 3484 this := &AllTypesOneOf_Field15{} 3485 v2 := r.Intn(100) 3486 this.Field15 = make([]byte, v2) 3487 for i := 0; i < v2; i++ { 3488 this.Field15[i] = byte(r.Intn(256)) 3489 } 3490 return this 3491} 3492func NewPopulatedAllTypesOneOf_SubMessage(r randyOne, easy bool) *AllTypesOneOf_SubMessage { 3493 this := &AllTypesOneOf_SubMessage{} 3494 this.SubMessage = NewPopulatedSubby(r, easy) 3495 return this 3496} 3497func NewPopulatedTwoOneofs(r randyOne, easy bool) *TwoOneofs { 3498 this := &TwoOneofs{} 3499 oneofNumber_One := []int32{1, 2, 3}[r.Intn(3)] 3500 switch oneofNumber_One { 3501 case 1: 3502 this.One = NewPopulatedTwoOneofs_Field1(r, easy) 3503 case 2: 3504 this.One = NewPopulatedTwoOneofs_Field2(r, easy) 3505 case 3: 3506 this.One = NewPopulatedTwoOneofs_Field3(r, easy) 3507 } 3508 oneofNumber_Two := []int32{34, 35, 36}[r.Intn(3)] 3509 switch oneofNumber_Two { 3510 case 34: 3511 this.Two = NewPopulatedTwoOneofs_Field34(r, easy) 3512 case 35: 3513 this.Two = NewPopulatedTwoOneofs_Field35(r, easy) 3514 case 36: 3515 this.Two = NewPopulatedTwoOneofs_SubMessage2(r, easy) 3516 } 3517 if !easy && r.Intn(10) != 0 { 3518 this.XXX_unrecognized = randUnrecognizedOne(r, 37) 3519 } 3520 return this 3521} 3522 3523func NewPopulatedTwoOneofs_Field1(r randyOne, easy bool) *TwoOneofs_Field1 { 3524 this := &TwoOneofs_Field1{} 3525 this.Field1 = float64(r.Float64()) 3526 if r.Intn(2) == 0 { 3527 this.Field1 *= -1 3528 } 3529 return this 3530} 3531func NewPopulatedTwoOneofs_Field2(r randyOne, easy bool) *TwoOneofs_Field2 { 3532 this := &TwoOneofs_Field2{} 3533 this.Field2 = float32(r.Float32()) 3534 if r.Intn(2) == 0 { 3535 this.Field2 *= -1 3536 } 3537 return this 3538} 3539func NewPopulatedTwoOneofs_Field3(r randyOne, easy bool) *TwoOneofs_Field3 { 3540 this := &TwoOneofs_Field3{} 3541 this.Field3 = int32(r.Int31()) 3542 if r.Intn(2) == 0 { 3543 this.Field3 *= -1 3544 } 3545 return this 3546} 3547func NewPopulatedTwoOneofs_Field34(r randyOne, easy bool) *TwoOneofs_Field34 { 3548 this := &TwoOneofs_Field34{} 3549 this.Field34 = string(randStringOne(r)) 3550 return this 3551} 3552func NewPopulatedTwoOneofs_Field35(r randyOne, easy bool) *TwoOneofs_Field35 { 3553 this := &TwoOneofs_Field35{} 3554 v3 := r.Intn(100) 3555 this.Field35 = make([]byte, v3) 3556 for i := 0; i < v3; i++ { 3557 this.Field35[i] = byte(r.Intn(256)) 3558 } 3559 return this 3560} 3561func NewPopulatedTwoOneofs_SubMessage2(r randyOne, easy bool) *TwoOneofs_SubMessage2 { 3562 this := &TwoOneofs_SubMessage2{} 3563 this.SubMessage2 = NewPopulatedSubby(r, easy) 3564 return this 3565} 3566func NewPopulatedCustomOneof(r randyOne, easy bool) *CustomOneof { 3567 this := &CustomOneof{} 3568 oneofNumber_Custom := []int32{34, 35, 36, 37}[r.Intn(4)] 3569 switch oneofNumber_Custom { 3570 case 34: 3571 this.Custom = NewPopulatedCustomOneof_Stringy(r, easy) 3572 case 35: 3573 this.Custom = NewPopulatedCustomOneof_CustomType(r, easy) 3574 case 36: 3575 this.Custom = NewPopulatedCustomOneof_CastType(r, easy) 3576 case 37: 3577 this.Custom = NewPopulatedCustomOneof_MyCustomName(r, easy) 3578 } 3579 if !easy && r.Intn(10) != 0 { 3580 this.XXX_unrecognized = randUnrecognizedOne(r, 38) 3581 } 3582 return this 3583} 3584 3585func NewPopulatedCustomOneof_Stringy(r randyOne, easy bool) *CustomOneof_Stringy { 3586 this := &CustomOneof_Stringy{} 3587 this.Stringy = string(randStringOne(r)) 3588 return this 3589} 3590func NewPopulatedCustomOneof_CustomType(r randyOne, easy bool) *CustomOneof_CustomType { 3591 this := &CustomOneof_CustomType{} 3592 v4 := github_com_gogo_protobuf_test_custom.NewPopulatedUint128(r) 3593 this.CustomType = *v4 3594 return this 3595} 3596func NewPopulatedCustomOneof_CastType(r randyOne, easy bool) *CustomOneof_CastType { 3597 this := &CustomOneof_CastType{} 3598 this.CastType = github_com_gogo_protobuf_test_casttype.MyUint64Type(uint64(r.Uint32())) 3599 return this 3600} 3601func NewPopulatedCustomOneof_MyCustomName(r randyOne, easy bool) *CustomOneof_MyCustomName { 3602 this := &CustomOneof_MyCustomName{} 3603 this.MyCustomName = int64(r.Int63()) 3604 if r.Intn(2) == 0 { 3605 this.MyCustomName *= -1 3606 } 3607 return this 3608} 3609 3610type randyOne interface { 3611 Float32() float32 3612 Float64() float64 3613 Int63() int64 3614 Int31() int32 3615 Uint32() uint32 3616 Intn(n int) int 3617} 3618 3619func randUTF8RuneOne(r randyOne) rune { 3620 ru := r.Intn(62) 3621 if ru < 10 { 3622 return rune(ru + 48) 3623 } else if ru < 36 { 3624 return rune(ru + 55) 3625 } 3626 return rune(ru + 61) 3627} 3628func randStringOne(r randyOne) string { 3629 v5 := r.Intn(100) 3630 tmps := make([]rune, v5) 3631 for i := 0; i < v5; i++ { 3632 tmps[i] = randUTF8RuneOne(r) 3633 } 3634 return string(tmps) 3635} 3636func randUnrecognizedOne(r randyOne, maxFieldNumber int) (dAtA []byte) { 3637 l := r.Intn(5) 3638 for i := 0; i < l; i++ { 3639 wire := r.Intn(4) 3640 if wire == 3 { 3641 wire = 5 3642 } 3643 fieldNumber := maxFieldNumber + r.Intn(100) 3644 dAtA = randFieldOne(dAtA, r, fieldNumber, wire) 3645 } 3646 return dAtA 3647} 3648func randFieldOne(dAtA []byte, r randyOne, fieldNumber int, wire int) []byte { 3649 key := uint32(fieldNumber)<<3 | uint32(wire) 3650 switch wire { 3651 case 0: 3652 dAtA = encodeVarintPopulateOne(dAtA, uint64(key)) 3653 v6 := r.Int63() 3654 if r.Intn(2) == 0 { 3655 v6 *= -1 3656 } 3657 dAtA = encodeVarintPopulateOne(dAtA, uint64(v6)) 3658 case 1: 3659 dAtA = encodeVarintPopulateOne(dAtA, uint64(key)) 3660 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))) 3661 case 2: 3662 dAtA = encodeVarintPopulateOne(dAtA, uint64(key)) 3663 ll := r.Intn(100) 3664 dAtA = encodeVarintPopulateOne(dAtA, uint64(ll)) 3665 for j := 0; j < ll; j++ { 3666 dAtA = append(dAtA, byte(r.Intn(256))) 3667 } 3668 default: 3669 dAtA = encodeVarintPopulateOne(dAtA, uint64(key)) 3670 dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) 3671 } 3672 return dAtA 3673} 3674func encodeVarintPopulateOne(dAtA []byte, v uint64) []byte { 3675 for v >= 1<<7 { 3676 dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80)) 3677 v >>= 7 3678 } 3679 dAtA = append(dAtA, uint8(v)) 3680 return dAtA 3681} 3682func (m *Subby) Size() (n int) { 3683 if m == nil { 3684 return 0 3685 } 3686 var l int 3687 _ = l 3688 if m.Sub != nil { 3689 l = len(*m.Sub) 3690 n += 1 + l + sovOne(uint64(l)) 3691 } 3692 if m.XXX_unrecognized != nil { 3693 n += len(m.XXX_unrecognized) 3694 } 3695 return n 3696} 3697 3698func (m *AllTypesOneOf) Size() (n int) { 3699 if m == nil { 3700 return 0 3701 } 3702 var l int 3703 _ = l 3704 if m.TestOneof != nil { 3705 n += m.TestOneof.Size() 3706 } 3707 if m.XXX_unrecognized != nil { 3708 n += len(m.XXX_unrecognized) 3709 } 3710 return n 3711} 3712 3713func (m *AllTypesOneOf_Field1) Size() (n int) { 3714 if m == nil { 3715 return 0 3716 } 3717 var l int 3718 _ = l 3719 n += 9 3720 return n 3721} 3722func (m *AllTypesOneOf_Field2) Size() (n int) { 3723 if m == nil { 3724 return 0 3725 } 3726 var l int 3727 _ = l 3728 n += 5 3729 return n 3730} 3731func (m *AllTypesOneOf_Field3) Size() (n int) { 3732 if m == nil { 3733 return 0 3734 } 3735 var l int 3736 _ = l 3737 n += 1 + sovOne(uint64(m.Field3)) 3738 return n 3739} 3740func (m *AllTypesOneOf_Field4) Size() (n int) { 3741 if m == nil { 3742 return 0 3743 } 3744 var l int 3745 _ = l 3746 n += 1 + sovOne(uint64(m.Field4)) 3747 return n 3748} 3749func (m *AllTypesOneOf_Field5) Size() (n int) { 3750 if m == nil { 3751 return 0 3752 } 3753 var l int 3754 _ = l 3755 n += 1 + sovOne(uint64(m.Field5)) 3756 return n 3757} 3758func (m *AllTypesOneOf_Field6) Size() (n int) { 3759 if m == nil { 3760 return 0 3761 } 3762 var l int 3763 _ = l 3764 n += 1 + sovOne(uint64(m.Field6)) 3765 return n 3766} 3767func (m *AllTypesOneOf_Field7) Size() (n int) { 3768 if m == nil { 3769 return 0 3770 } 3771 var l int 3772 _ = l 3773 n += 1 + sozOne(uint64(m.Field7)) 3774 return n 3775} 3776func (m *AllTypesOneOf_Field8) Size() (n int) { 3777 if m == nil { 3778 return 0 3779 } 3780 var l int 3781 _ = l 3782 n += 1 + sozOne(uint64(m.Field8)) 3783 return n 3784} 3785func (m *AllTypesOneOf_Field9) Size() (n int) { 3786 if m == nil { 3787 return 0 3788 } 3789 var l int 3790 _ = l 3791 n += 5 3792 return n 3793} 3794func (m *AllTypesOneOf_Field10) Size() (n int) { 3795 if m == nil { 3796 return 0 3797 } 3798 var l int 3799 _ = l 3800 n += 5 3801 return n 3802} 3803func (m *AllTypesOneOf_Field11) Size() (n int) { 3804 if m == nil { 3805 return 0 3806 } 3807 var l int 3808 _ = l 3809 n += 9 3810 return n 3811} 3812func (m *AllTypesOneOf_Field12) Size() (n int) { 3813 if m == nil { 3814 return 0 3815 } 3816 var l int 3817 _ = l 3818 n += 9 3819 return n 3820} 3821func (m *AllTypesOneOf_Field13) Size() (n int) { 3822 if m == nil { 3823 return 0 3824 } 3825 var l int 3826 _ = l 3827 n += 2 3828 return n 3829} 3830func (m *AllTypesOneOf_Field14) Size() (n int) { 3831 if m == nil { 3832 return 0 3833 } 3834 var l int 3835 _ = l 3836 l = len(m.Field14) 3837 n += 1 + l + sovOne(uint64(l)) 3838 return n 3839} 3840func (m *AllTypesOneOf_Field15) Size() (n int) { 3841 if m == nil { 3842 return 0 3843 } 3844 var l int 3845 _ = l 3846 if m.Field15 != nil { 3847 l = len(m.Field15) 3848 n += 1 + l + sovOne(uint64(l)) 3849 } 3850 return n 3851} 3852func (m *AllTypesOneOf_SubMessage) Size() (n int) { 3853 if m == nil { 3854 return 0 3855 } 3856 var l int 3857 _ = l 3858 if m.SubMessage != nil { 3859 l = m.SubMessage.Size() 3860 n += 2 + l + sovOne(uint64(l)) 3861 } 3862 return n 3863} 3864func (m *TwoOneofs) Size() (n int) { 3865 if m == nil { 3866 return 0 3867 } 3868 var l int 3869 _ = l 3870 if m.One != nil { 3871 n += m.One.Size() 3872 } 3873 if m.Two != nil { 3874 n += m.Two.Size() 3875 } 3876 if m.XXX_unrecognized != nil { 3877 n += len(m.XXX_unrecognized) 3878 } 3879 return n 3880} 3881 3882func (m *TwoOneofs_Field1) Size() (n int) { 3883 if m == nil { 3884 return 0 3885 } 3886 var l int 3887 _ = l 3888 n += 9 3889 return n 3890} 3891func (m *TwoOneofs_Field2) Size() (n int) { 3892 if m == nil { 3893 return 0 3894 } 3895 var l int 3896 _ = l 3897 n += 5 3898 return n 3899} 3900func (m *TwoOneofs_Field3) Size() (n int) { 3901 if m == nil { 3902 return 0 3903 } 3904 var l int 3905 _ = l 3906 n += 1 + sovOne(uint64(m.Field3)) 3907 return n 3908} 3909func (m *TwoOneofs_Field34) Size() (n int) { 3910 if m == nil { 3911 return 0 3912 } 3913 var l int 3914 _ = l 3915 l = len(m.Field34) 3916 n += 2 + l + sovOne(uint64(l)) 3917 return n 3918} 3919func (m *TwoOneofs_Field35) Size() (n int) { 3920 if m == nil { 3921 return 0 3922 } 3923 var l int 3924 _ = l 3925 if m.Field35 != nil { 3926 l = len(m.Field35) 3927 n += 2 + l + sovOne(uint64(l)) 3928 } 3929 return n 3930} 3931func (m *TwoOneofs_SubMessage2) Size() (n int) { 3932 if m == nil { 3933 return 0 3934 } 3935 var l int 3936 _ = l 3937 if m.SubMessage2 != nil { 3938 l = m.SubMessage2.Size() 3939 n += 2 + l + sovOne(uint64(l)) 3940 } 3941 return n 3942} 3943func (m *CustomOneof) Size() (n int) { 3944 if m == nil { 3945 return 0 3946 } 3947 var l int 3948 _ = l 3949 if m.Custom != nil { 3950 n += m.Custom.Size() 3951 } 3952 if m.XXX_unrecognized != nil { 3953 n += len(m.XXX_unrecognized) 3954 } 3955 return n 3956} 3957 3958func (m *CustomOneof_Stringy) Size() (n int) { 3959 if m == nil { 3960 return 0 3961 } 3962 var l int 3963 _ = l 3964 l = len(m.Stringy) 3965 n += 2 + l + sovOne(uint64(l)) 3966 return n 3967} 3968func (m *CustomOneof_CustomType) Size() (n int) { 3969 if m == nil { 3970 return 0 3971 } 3972 var l int 3973 _ = l 3974 l = m.CustomType.Size() 3975 n += 2 + l + sovOne(uint64(l)) 3976 return n 3977} 3978func (m *CustomOneof_CastType) Size() (n int) { 3979 if m == nil { 3980 return 0 3981 } 3982 var l int 3983 _ = l 3984 n += 2 + sovOne(uint64(m.CastType)) 3985 return n 3986} 3987func (m *CustomOneof_MyCustomName) Size() (n int) { 3988 if m == nil { 3989 return 0 3990 } 3991 var l int 3992 _ = l 3993 n += 2 + sovOne(uint64(m.MyCustomName)) 3994 return n 3995} 3996 3997func sovOne(x uint64) (n int) { 3998 for { 3999 n++ 4000 x >>= 7 4001 if x == 0 { 4002 break 4003 } 4004 } 4005 return n 4006} 4007func sozOne(x uint64) (n int) { 4008 return sovOne(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 4009} 4010func (this *Subby) String() string { 4011 if this == nil { 4012 return "nil" 4013 } 4014 s := strings.Join([]string{`&Subby{`, 4015 `Sub:` + valueToStringOne(this.Sub) + `,`, 4016 `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, 4017 `}`, 4018 }, "") 4019 return s 4020} 4021func (this *AllTypesOneOf) String() string { 4022 if this == nil { 4023 return "nil" 4024 } 4025 s := strings.Join([]string{`&AllTypesOneOf{`, 4026 `TestOneof:` + fmt.Sprintf("%v", this.TestOneof) + `,`, 4027 `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, 4028 `}`, 4029 }, "") 4030 return s 4031} 4032func (this *AllTypesOneOf_Field1) String() string { 4033 if this == nil { 4034 return "nil" 4035 } 4036 s := strings.Join([]string{`&AllTypesOneOf_Field1{`, 4037 `Field1:` + fmt.Sprintf("%v", this.Field1) + `,`, 4038 `}`, 4039 }, "") 4040 return s 4041} 4042func (this *AllTypesOneOf_Field2) String() string { 4043 if this == nil { 4044 return "nil" 4045 } 4046 s := strings.Join([]string{`&AllTypesOneOf_Field2{`, 4047 `Field2:` + fmt.Sprintf("%v", this.Field2) + `,`, 4048 `}`, 4049 }, "") 4050 return s 4051} 4052func (this *AllTypesOneOf_Field3) String() string { 4053 if this == nil { 4054 return "nil" 4055 } 4056 s := strings.Join([]string{`&AllTypesOneOf_Field3{`, 4057 `Field3:` + fmt.Sprintf("%v", this.Field3) + `,`, 4058 `}`, 4059 }, "") 4060 return s 4061} 4062func (this *AllTypesOneOf_Field4) String() string { 4063 if this == nil { 4064 return "nil" 4065 } 4066 s := strings.Join([]string{`&AllTypesOneOf_Field4{`, 4067 `Field4:` + fmt.Sprintf("%v", this.Field4) + `,`, 4068 `}`, 4069 }, "") 4070 return s 4071} 4072func (this *AllTypesOneOf_Field5) String() string { 4073 if this == nil { 4074 return "nil" 4075 } 4076 s := strings.Join([]string{`&AllTypesOneOf_Field5{`, 4077 `Field5:` + fmt.Sprintf("%v", this.Field5) + `,`, 4078 `}`, 4079 }, "") 4080 return s 4081} 4082func (this *AllTypesOneOf_Field6) String() string { 4083 if this == nil { 4084 return "nil" 4085 } 4086 s := strings.Join([]string{`&AllTypesOneOf_Field6{`, 4087 `Field6:` + fmt.Sprintf("%v", this.Field6) + `,`, 4088 `}`, 4089 }, "") 4090 return s 4091} 4092func (this *AllTypesOneOf_Field7) String() string { 4093 if this == nil { 4094 return "nil" 4095 } 4096 s := strings.Join([]string{`&AllTypesOneOf_Field7{`, 4097 `Field7:` + fmt.Sprintf("%v", this.Field7) + `,`, 4098 `}`, 4099 }, "") 4100 return s 4101} 4102func (this *AllTypesOneOf_Field8) String() string { 4103 if this == nil { 4104 return "nil" 4105 } 4106 s := strings.Join([]string{`&AllTypesOneOf_Field8{`, 4107 `Field8:` + fmt.Sprintf("%v", this.Field8) + `,`, 4108 `}`, 4109 }, "") 4110 return s 4111} 4112func (this *AllTypesOneOf_Field9) String() string { 4113 if this == nil { 4114 return "nil" 4115 } 4116 s := strings.Join([]string{`&AllTypesOneOf_Field9{`, 4117 `Field9:` + fmt.Sprintf("%v", this.Field9) + `,`, 4118 `}`, 4119 }, "") 4120 return s 4121} 4122func (this *AllTypesOneOf_Field10) String() string { 4123 if this == nil { 4124 return "nil" 4125 } 4126 s := strings.Join([]string{`&AllTypesOneOf_Field10{`, 4127 `Field10:` + fmt.Sprintf("%v", this.Field10) + `,`, 4128 `}`, 4129 }, "") 4130 return s 4131} 4132func (this *AllTypesOneOf_Field11) String() string { 4133 if this == nil { 4134 return "nil" 4135 } 4136 s := strings.Join([]string{`&AllTypesOneOf_Field11{`, 4137 `Field11:` + fmt.Sprintf("%v", this.Field11) + `,`, 4138 `}`, 4139 }, "") 4140 return s 4141} 4142func (this *AllTypesOneOf_Field12) String() string { 4143 if this == nil { 4144 return "nil" 4145 } 4146 s := strings.Join([]string{`&AllTypesOneOf_Field12{`, 4147 `Field12:` + fmt.Sprintf("%v", this.Field12) + `,`, 4148 `}`, 4149 }, "") 4150 return s 4151} 4152func (this *AllTypesOneOf_Field13) String() string { 4153 if this == nil { 4154 return "nil" 4155 } 4156 s := strings.Join([]string{`&AllTypesOneOf_Field13{`, 4157 `Field13:` + fmt.Sprintf("%v", this.Field13) + `,`, 4158 `}`, 4159 }, "") 4160 return s 4161} 4162func (this *AllTypesOneOf_Field14) String() string { 4163 if this == nil { 4164 return "nil" 4165 } 4166 s := strings.Join([]string{`&AllTypesOneOf_Field14{`, 4167 `Field14:` + fmt.Sprintf("%v", this.Field14) + `,`, 4168 `}`, 4169 }, "") 4170 return s 4171} 4172func (this *AllTypesOneOf_Field15) String() string { 4173 if this == nil { 4174 return "nil" 4175 } 4176 s := strings.Join([]string{`&AllTypesOneOf_Field15{`, 4177 `Field15:` + fmt.Sprintf("%v", this.Field15) + `,`, 4178 `}`, 4179 }, "") 4180 return s 4181} 4182func (this *AllTypesOneOf_SubMessage) String() string { 4183 if this == nil { 4184 return "nil" 4185 } 4186 s := strings.Join([]string{`&AllTypesOneOf_SubMessage{`, 4187 `SubMessage:` + strings.Replace(fmt.Sprintf("%v", this.SubMessage), "Subby", "Subby", 1) + `,`, 4188 `}`, 4189 }, "") 4190 return s 4191} 4192func (this *TwoOneofs) String() string { 4193 if this == nil { 4194 return "nil" 4195 } 4196 s := strings.Join([]string{`&TwoOneofs{`, 4197 `One:` + fmt.Sprintf("%v", this.One) + `,`, 4198 `Two:` + fmt.Sprintf("%v", this.Two) + `,`, 4199 `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, 4200 `}`, 4201 }, "") 4202 return s 4203} 4204func (this *TwoOneofs_Field1) String() string { 4205 if this == nil { 4206 return "nil" 4207 } 4208 s := strings.Join([]string{`&TwoOneofs_Field1{`, 4209 `Field1:` + fmt.Sprintf("%v", this.Field1) + `,`, 4210 `}`, 4211 }, "") 4212 return s 4213} 4214func (this *TwoOneofs_Field2) String() string { 4215 if this == nil { 4216 return "nil" 4217 } 4218 s := strings.Join([]string{`&TwoOneofs_Field2{`, 4219 `Field2:` + fmt.Sprintf("%v", this.Field2) + `,`, 4220 `}`, 4221 }, "") 4222 return s 4223} 4224func (this *TwoOneofs_Field3) String() string { 4225 if this == nil { 4226 return "nil" 4227 } 4228 s := strings.Join([]string{`&TwoOneofs_Field3{`, 4229 `Field3:` + fmt.Sprintf("%v", this.Field3) + `,`, 4230 `}`, 4231 }, "") 4232 return s 4233} 4234func (this *TwoOneofs_Field34) String() string { 4235 if this == nil { 4236 return "nil" 4237 } 4238 s := strings.Join([]string{`&TwoOneofs_Field34{`, 4239 `Field34:` + fmt.Sprintf("%v", this.Field34) + `,`, 4240 `}`, 4241 }, "") 4242 return s 4243} 4244func (this *TwoOneofs_Field35) String() string { 4245 if this == nil { 4246 return "nil" 4247 } 4248 s := strings.Join([]string{`&TwoOneofs_Field35{`, 4249 `Field35:` + fmt.Sprintf("%v", this.Field35) + `,`, 4250 `}`, 4251 }, "") 4252 return s 4253} 4254func (this *TwoOneofs_SubMessage2) String() string { 4255 if this == nil { 4256 return "nil" 4257 } 4258 s := strings.Join([]string{`&TwoOneofs_SubMessage2{`, 4259 `SubMessage2:` + strings.Replace(fmt.Sprintf("%v", this.SubMessage2), "Subby", "Subby", 1) + `,`, 4260 `}`, 4261 }, "") 4262 return s 4263} 4264func (this *CustomOneof) String() string { 4265 if this == nil { 4266 return "nil" 4267 } 4268 s := strings.Join([]string{`&CustomOneof{`, 4269 `Custom:` + fmt.Sprintf("%v", this.Custom) + `,`, 4270 `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, 4271 `}`, 4272 }, "") 4273 return s 4274} 4275func (this *CustomOneof_Stringy) String() string { 4276 if this == nil { 4277 return "nil" 4278 } 4279 s := strings.Join([]string{`&CustomOneof_Stringy{`, 4280 `Stringy:` + fmt.Sprintf("%v", this.Stringy) + `,`, 4281 `}`, 4282 }, "") 4283 return s 4284} 4285func (this *CustomOneof_CustomType) String() string { 4286 if this == nil { 4287 return "nil" 4288 } 4289 s := strings.Join([]string{`&CustomOneof_CustomType{`, 4290 `CustomType:` + fmt.Sprintf("%v", this.CustomType) + `,`, 4291 `}`, 4292 }, "") 4293 return s 4294} 4295func (this *CustomOneof_CastType) String() string { 4296 if this == nil { 4297 return "nil" 4298 } 4299 s := strings.Join([]string{`&CustomOneof_CastType{`, 4300 `CastType:` + fmt.Sprintf("%v", this.CastType) + `,`, 4301 `}`, 4302 }, "") 4303 return s 4304} 4305func (this *CustomOneof_MyCustomName) String() string { 4306 if this == nil { 4307 return "nil" 4308 } 4309 s := strings.Join([]string{`&CustomOneof_MyCustomName{`, 4310 `MyCustomName:` + fmt.Sprintf("%v", this.MyCustomName) + `,`, 4311 `}`, 4312 }, "") 4313 return s 4314} 4315func valueToStringOne(v interface{}) string { 4316 rv := reflect.ValueOf(v) 4317 if rv.IsNil() { 4318 return "nil" 4319 } 4320 pv := reflect.Indirect(rv).Interface() 4321 return fmt.Sprintf("*%v", pv) 4322} 4323func (m *Subby) Unmarshal(dAtA []byte) error { 4324 l := len(dAtA) 4325 iNdEx := 0 4326 for iNdEx < l { 4327 preIndex := iNdEx 4328 var wire uint64 4329 for shift := uint(0); ; shift += 7 { 4330 if shift >= 64 { 4331 return ErrIntOverflowOne 4332 } 4333 if iNdEx >= l { 4334 return io.ErrUnexpectedEOF 4335 } 4336 b := dAtA[iNdEx] 4337 iNdEx++ 4338 wire |= (uint64(b) & 0x7F) << shift 4339 if b < 0x80 { 4340 break 4341 } 4342 } 4343 fieldNum := int32(wire >> 3) 4344 wireType := int(wire & 0x7) 4345 if wireType == 4 { 4346 return fmt.Errorf("proto: Subby: wiretype end group for non-group") 4347 } 4348 if fieldNum <= 0 { 4349 return fmt.Errorf("proto: Subby: illegal tag %d (wire type %d)", fieldNum, wire) 4350 } 4351 switch fieldNum { 4352 case 1: 4353 if wireType != 2 { 4354 return fmt.Errorf("proto: wrong wireType = %d for field Sub", wireType) 4355 } 4356 var stringLen uint64 4357 for shift := uint(0); ; shift += 7 { 4358 if shift >= 64 { 4359 return ErrIntOverflowOne 4360 } 4361 if iNdEx >= l { 4362 return io.ErrUnexpectedEOF 4363 } 4364 b := dAtA[iNdEx] 4365 iNdEx++ 4366 stringLen |= (uint64(b) & 0x7F) << shift 4367 if b < 0x80 { 4368 break 4369 } 4370 } 4371 intStringLen := int(stringLen) 4372 if intStringLen < 0 { 4373 return ErrInvalidLengthOne 4374 } 4375 postIndex := iNdEx + intStringLen 4376 if postIndex > l { 4377 return io.ErrUnexpectedEOF 4378 } 4379 s := string(dAtA[iNdEx:postIndex]) 4380 m.Sub = &s 4381 iNdEx = postIndex 4382 default: 4383 iNdEx = preIndex 4384 skippy, err := skipOne(dAtA[iNdEx:]) 4385 if err != nil { 4386 return err 4387 } 4388 if skippy < 0 { 4389 return ErrInvalidLengthOne 4390 } 4391 if (iNdEx + skippy) > l { 4392 return io.ErrUnexpectedEOF 4393 } 4394 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 4395 iNdEx += skippy 4396 } 4397 } 4398 4399 if iNdEx > l { 4400 return io.ErrUnexpectedEOF 4401 } 4402 return nil 4403} 4404func (m *AllTypesOneOf) Unmarshal(dAtA []byte) error { 4405 l := len(dAtA) 4406 iNdEx := 0 4407 for iNdEx < l { 4408 preIndex := iNdEx 4409 var wire uint64 4410 for shift := uint(0); ; shift += 7 { 4411 if shift >= 64 { 4412 return ErrIntOverflowOne 4413 } 4414 if iNdEx >= l { 4415 return io.ErrUnexpectedEOF 4416 } 4417 b := dAtA[iNdEx] 4418 iNdEx++ 4419 wire |= (uint64(b) & 0x7F) << shift 4420 if b < 0x80 { 4421 break 4422 } 4423 } 4424 fieldNum := int32(wire >> 3) 4425 wireType := int(wire & 0x7) 4426 if wireType == 4 { 4427 return fmt.Errorf("proto: AllTypesOneOf: wiretype end group for non-group") 4428 } 4429 if fieldNum <= 0 { 4430 return fmt.Errorf("proto: AllTypesOneOf: illegal tag %d (wire type %d)", fieldNum, wire) 4431 } 4432 switch fieldNum { 4433 case 1: 4434 if wireType != 1 { 4435 return fmt.Errorf("proto: wrong wireType = %d for field Field1", wireType) 4436 } 4437 var v uint64 4438 if (iNdEx + 8) > l { 4439 return io.ErrUnexpectedEOF 4440 } 4441 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 4442 iNdEx += 8 4443 m.TestOneof = &AllTypesOneOf_Field1{float64(math.Float64frombits(v))} 4444 case 2: 4445 if wireType != 5 { 4446 return fmt.Errorf("proto: wrong wireType = %d for field Field2", wireType) 4447 } 4448 var v uint32 4449 if (iNdEx + 4) > l { 4450 return io.ErrUnexpectedEOF 4451 } 4452 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 4453 iNdEx += 4 4454 m.TestOneof = &AllTypesOneOf_Field2{float32(math.Float32frombits(v))} 4455 case 3: 4456 if wireType != 0 { 4457 return fmt.Errorf("proto: wrong wireType = %d for field Field3", wireType) 4458 } 4459 var v int32 4460 for shift := uint(0); ; shift += 7 { 4461 if shift >= 64 { 4462 return ErrIntOverflowOne 4463 } 4464 if iNdEx >= l { 4465 return io.ErrUnexpectedEOF 4466 } 4467 b := dAtA[iNdEx] 4468 iNdEx++ 4469 v |= (int32(b) & 0x7F) << shift 4470 if b < 0x80 { 4471 break 4472 } 4473 } 4474 m.TestOneof = &AllTypesOneOf_Field3{v} 4475 case 4: 4476 if wireType != 0 { 4477 return fmt.Errorf("proto: wrong wireType = %d for field Field4", wireType) 4478 } 4479 var v int64 4480 for shift := uint(0); ; shift += 7 { 4481 if shift >= 64 { 4482 return ErrIntOverflowOne 4483 } 4484 if iNdEx >= l { 4485 return io.ErrUnexpectedEOF 4486 } 4487 b := dAtA[iNdEx] 4488 iNdEx++ 4489 v |= (int64(b) & 0x7F) << shift 4490 if b < 0x80 { 4491 break 4492 } 4493 } 4494 m.TestOneof = &AllTypesOneOf_Field4{v} 4495 case 5: 4496 if wireType != 0 { 4497 return fmt.Errorf("proto: wrong wireType = %d for field Field5", wireType) 4498 } 4499 var v uint32 4500 for shift := uint(0); ; shift += 7 { 4501 if shift >= 64 { 4502 return ErrIntOverflowOne 4503 } 4504 if iNdEx >= l { 4505 return io.ErrUnexpectedEOF 4506 } 4507 b := dAtA[iNdEx] 4508 iNdEx++ 4509 v |= (uint32(b) & 0x7F) << shift 4510 if b < 0x80 { 4511 break 4512 } 4513 } 4514 m.TestOneof = &AllTypesOneOf_Field5{v} 4515 case 6: 4516 if wireType != 0 { 4517 return fmt.Errorf("proto: wrong wireType = %d for field Field6", wireType) 4518 } 4519 var v uint64 4520 for shift := uint(0); ; shift += 7 { 4521 if shift >= 64 { 4522 return ErrIntOverflowOne 4523 } 4524 if iNdEx >= l { 4525 return io.ErrUnexpectedEOF 4526 } 4527 b := dAtA[iNdEx] 4528 iNdEx++ 4529 v |= (uint64(b) & 0x7F) << shift 4530 if b < 0x80 { 4531 break 4532 } 4533 } 4534 m.TestOneof = &AllTypesOneOf_Field6{v} 4535 case 7: 4536 if wireType != 0 { 4537 return fmt.Errorf("proto: wrong wireType = %d for field Field7", wireType) 4538 } 4539 var v int32 4540 for shift := uint(0); ; shift += 7 { 4541 if shift >= 64 { 4542 return ErrIntOverflowOne 4543 } 4544 if iNdEx >= l { 4545 return io.ErrUnexpectedEOF 4546 } 4547 b := dAtA[iNdEx] 4548 iNdEx++ 4549 v |= (int32(b) & 0x7F) << shift 4550 if b < 0x80 { 4551 break 4552 } 4553 } 4554 v = int32((uint32(v) >> 1) ^ uint32(((v&1)<<31)>>31)) 4555 m.TestOneof = &AllTypesOneOf_Field7{v} 4556 case 8: 4557 if wireType != 0 { 4558 return fmt.Errorf("proto: wrong wireType = %d for field Field8", wireType) 4559 } 4560 var v uint64 4561 for shift := uint(0); ; shift += 7 { 4562 if shift >= 64 { 4563 return ErrIntOverflowOne 4564 } 4565 if iNdEx >= l { 4566 return io.ErrUnexpectedEOF 4567 } 4568 b := dAtA[iNdEx] 4569 iNdEx++ 4570 v |= (uint64(b) & 0x7F) << shift 4571 if b < 0x80 { 4572 break 4573 } 4574 } 4575 v = (v >> 1) ^ uint64((int64(v&1)<<63)>>63) 4576 m.TestOneof = &AllTypesOneOf_Field8{int64(v)} 4577 case 9: 4578 if wireType != 5 { 4579 return fmt.Errorf("proto: wrong wireType = %d for field Field9", wireType) 4580 } 4581 var v uint32 4582 if (iNdEx + 4) > l { 4583 return io.ErrUnexpectedEOF 4584 } 4585 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 4586 iNdEx += 4 4587 m.TestOneof = &AllTypesOneOf_Field9{v} 4588 case 10: 4589 if wireType != 5 { 4590 return fmt.Errorf("proto: wrong wireType = %d for field Field10", wireType) 4591 } 4592 var v int32 4593 if (iNdEx + 4) > l { 4594 return io.ErrUnexpectedEOF 4595 } 4596 v = int32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 4597 iNdEx += 4 4598 m.TestOneof = &AllTypesOneOf_Field10{v} 4599 case 11: 4600 if wireType != 1 { 4601 return fmt.Errorf("proto: wrong wireType = %d for field Field11", wireType) 4602 } 4603 var v uint64 4604 if (iNdEx + 8) > l { 4605 return io.ErrUnexpectedEOF 4606 } 4607 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 4608 iNdEx += 8 4609 m.TestOneof = &AllTypesOneOf_Field11{v} 4610 case 12: 4611 if wireType != 1 { 4612 return fmt.Errorf("proto: wrong wireType = %d for field Field12", wireType) 4613 } 4614 var v int64 4615 if (iNdEx + 8) > l { 4616 return io.ErrUnexpectedEOF 4617 } 4618 v = int64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 4619 iNdEx += 8 4620 m.TestOneof = &AllTypesOneOf_Field12{v} 4621 case 13: 4622 if wireType != 0 { 4623 return fmt.Errorf("proto: wrong wireType = %d for field Field13", wireType) 4624 } 4625 var v int 4626 for shift := uint(0); ; shift += 7 { 4627 if shift >= 64 { 4628 return ErrIntOverflowOne 4629 } 4630 if iNdEx >= l { 4631 return io.ErrUnexpectedEOF 4632 } 4633 b := dAtA[iNdEx] 4634 iNdEx++ 4635 v |= (int(b) & 0x7F) << shift 4636 if b < 0x80 { 4637 break 4638 } 4639 } 4640 b := bool(v != 0) 4641 m.TestOneof = &AllTypesOneOf_Field13{b} 4642 case 14: 4643 if wireType != 2 { 4644 return fmt.Errorf("proto: wrong wireType = %d for field Field14", wireType) 4645 } 4646 var stringLen uint64 4647 for shift := uint(0); ; shift += 7 { 4648 if shift >= 64 { 4649 return ErrIntOverflowOne 4650 } 4651 if iNdEx >= l { 4652 return io.ErrUnexpectedEOF 4653 } 4654 b := dAtA[iNdEx] 4655 iNdEx++ 4656 stringLen |= (uint64(b) & 0x7F) << shift 4657 if b < 0x80 { 4658 break 4659 } 4660 } 4661 intStringLen := int(stringLen) 4662 if intStringLen < 0 { 4663 return ErrInvalidLengthOne 4664 } 4665 postIndex := iNdEx + intStringLen 4666 if postIndex > l { 4667 return io.ErrUnexpectedEOF 4668 } 4669 m.TestOneof = &AllTypesOneOf_Field14{string(dAtA[iNdEx:postIndex])} 4670 iNdEx = postIndex 4671 case 15: 4672 if wireType != 2 { 4673 return fmt.Errorf("proto: wrong wireType = %d for field Field15", wireType) 4674 } 4675 var byteLen int 4676 for shift := uint(0); ; shift += 7 { 4677 if shift >= 64 { 4678 return ErrIntOverflowOne 4679 } 4680 if iNdEx >= l { 4681 return io.ErrUnexpectedEOF 4682 } 4683 b := dAtA[iNdEx] 4684 iNdEx++ 4685 byteLen |= (int(b) & 0x7F) << shift 4686 if b < 0x80 { 4687 break 4688 } 4689 } 4690 if byteLen < 0 { 4691 return ErrInvalidLengthOne 4692 } 4693 postIndex := iNdEx + byteLen 4694 if postIndex > l { 4695 return io.ErrUnexpectedEOF 4696 } 4697 v := make([]byte, postIndex-iNdEx) 4698 copy(v, dAtA[iNdEx:postIndex]) 4699 m.TestOneof = &AllTypesOneOf_Field15{v} 4700 iNdEx = postIndex 4701 case 16: 4702 if wireType != 2 { 4703 return fmt.Errorf("proto: wrong wireType = %d for field SubMessage", wireType) 4704 } 4705 var msglen int 4706 for shift := uint(0); ; shift += 7 { 4707 if shift >= 64 { 4708 return ErrIntOverflowOne 4709 } 4710 if iNdEx >= l { 4711 return io.ErrUnexpectedEOF 4712 } 4713 b := dAtA[iNdEx] 4714 iNdEx++ 4715 msglen |= (int(b) & 0x7F) << shift 4716 if b < 0x80 { 4717 break 4718 } 4719 } 4720 if msglen < 0 { 4721 return ErrInvalidLengthOne 4722 } 4723 postIndex := iNdEx + msglen 4724 if postIndex > l { 4725 return io.ErrUnexpectedEOF 4726 } 4727 v := &Subby{} 4728 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4729 return err 4730 } 4731 m.TestOneof = &AllTypesOneOf_SubMessage{v} 4732 iNdEx = postIndex 4733 default: 4734 iNdEx = preIndex 4735 skippy, err := skipOne(dAtA[iNdEx:]) 4736 if err != nil { 4737 return err 4738 } 4739 if skippy < 0 { 4740 return ErrInvalidLengthOne 4741 } 4742 if (iNdEx + skippy) > l { 4743 return io.ErrUnexpectedEOF 4744 } 4745 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 4746 iNdEx += skippy 4747 } 4748 } 4749 4750 if iNdEx > l { 4751 return io.ErrUnexpectedEOF 4752 } 4753 return nil 4754} 4755func (m *TwoOneofs) Unmarshal(dAtA []byte) error { 4756 l := len(dAtA) 4757 iNdEx := 0 4758 for iNdEx < l { 4759 preIndex := iNdEx 4760 var wire uint64 4761 for shift := uint(0); ; shift += 7 { 4762 if shift >= 64 { 4763 return ErrIntOverflowOne 4764 } 4765 if iNdEx >= l { 4766 return io.ErrUnexpectedEOF 4767 } 4768 b := dAtA[iNdEx] 4769 iNdEx++ 4770 wire |= (uint64(b) & 0x7F) << shift 4771 if b < 0x80 { 4772 break 4773 } 4774 } 4775 fieldNum := int32(wire >> 3) 4776 wireType := int(wire & 0x7) 4777 if wireType == 4 { 4778 return fmt.Errorf("proto: TwoOneofs: wiretype end group for non-group") 4779 } 4780 if fieldNum <= 0 { 4781 return fmt.Errorf("proto: TwoOneofs: illegal tag %d (wire type %d)", fieldNum, wire) 4782 } 4783 switch fieldNum { 4784 case 1: 4785 if wireType != 1 { 4786 return fmt.Errorf("proto: wrong wireType = %d for field Field1", wireType) 4787 } 4788 var v uint64 4789 if (iNdEx + 8) > l { 4790 return io.ErrUnexpectedEOF 4791 } 4792 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 4793 iNdEx += 8 4794 m.One = &TwoOneofs_Field1{float64(math.Float64frombits(v))} 4795 case 2: 4796 if wireType != 5 { 4797 return fmt.Errorf("proto: wrong wireType = %d for field Field2", wireType) 4798 } 4799 var v uint32 4800 if (iNdEx + 4) > l { 4801 return io.ErrUnexpectedEOF 4802 } 4803 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 4804 iNdEx += 4 4805 m.One = &TwoOneofs_Field2{float32(math.Float32frombits(v))} 4806 case 3: 4807 if wireType != 0 { 4808 return fmt.Errorf("proto: wrong wireType = %d for field Field3", wireType) 4809 } 4810 var v int32 4811 for shift := uint(0); ; shift += 7 { 4812 if shift >= 64 { 4813 return ErrIntOverflowOne 4814 } 4815 if iNdEx >= l { 4816 return io.ErrUnexpectedEOF 4817 } 4818 b := dAtA[iNdEx] 4819 iNdEx++ 4820 v |= (int32(b) & 0x7F) << shift 4821 if b < 0x80 { 4822 break 4823 } 4824 } 4825 m.One = &TwoOneofs_Field3{v} 4826 case 34: 4827 if wireType != 2 { 4828 return fmt.Errorf("proto: wrong wireType = %d for field Field34", wireType) 4829 } 4830 var stringLen uint64 4831 for shift := uint(0); ; shift += 7 { 4832 if shift >= 64 { 4833 return ErrIntOverflowOne 4834 } 4835 if iNdEx >= l { 4836 return io.ErrUnexpectedEOF 4837 } 4838 b := dAtA[iNdEx] 4839 iNdEx++ 4840 stringLen |= (uint64(b) & 0x7F) << shift 4841 if b < 0x80 { 4842 break 4843 } 4844 } 4845 intStringLen := int(stringLen) 4846 if intStringLen < 0 { 4847 return ErrInvalidLengthOne 4848 } 4849 postIndex := iNdEx + intStringLen 4850 if postIndex > l { 4851 return io.ErrUnexpectedEOF 4852 } 4853 m.Two = &TwoOneofs_Field34{string(dAtA[iNdEx:postIndex])} 4854 iNdEx = postIndex 4855 case 35: 4856 if wireType != 2 { 4857 return fmt.Errorf("proto: wrong wireType = %d for field Field35", wireType) 4858 } 4859 var byteLen int 4860 for shift := uint(0); ; shift += 7 { 4861 if shift >= 64 { 4862 return ErrIntOverflowOne 4863 } 4864 if iNdEx >= l { 4865 return io.ErrUnexpectedEOF 4866 } 4867 b := dAtA[iNdEx] 4868 iNdEx++ 4869 byteLen |= (int(b) & 0x7F) << shift 4870 if b < 0x80 { 4871 break 4872 } 4873 } 4874 if byteLen < 0 { 4875 return ErrInvalidLengthOne 4876 } 4877 postIndex := iNdEx + byteLen 4878 if postIndex > l { 4879 return io.ErrUnexpectedEOF 4880 } 4881 v := make([]byte, postIndex-iNdEx) 4882 copy(v, dAtA[iNdEx:postIndex]) 4883 m.Two = &TwoOneofs_Field35{v} 4884 iNdEx = postIndex 4885 case 36: 4886 if wireType != 2 { 4887 return fmt.Errorf("proto: wrong wireType = %d for field SubMessage2", wireType) 4888 } 4889 var msglen int 4890 for shift := uint(0); ; shift += 7 { 4891 if shift >= 64 { 4892 return ErrIntOverflowOne 4893 } 4894 if iNdEx >= l { 4895 return io.ErrUnexpectedEOF 4896 } 4897 b := dAtA[iNdEx] 4898 iNdEx++ 4899 msglen |= (int(b) & 0x7F) << shift 4900 if b < 0x80 { 4901 break 4902 } 4903 } 4904 if msglen < 0 { 4905 return ErrInvalidLengthOne 4906 } 4907 postIndex := iNdEx + msglen 4908 if postIndex > l { 4909 return io.ErrUnexpectedEOF 4910 } 4911 v := &Subby{} 4912 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4913 return err 4914 } 4915 m.Two = &TwoOneofs_SubMessage2{v} 4916 iNdEx = postIndex 4917 default: 4918 iNdEx = preIndex 4919 skippy, err := skipOne(dAtA[iNdEx:]) 4920 if err != nil { 4921 return err 4922 } 4923 if skippy < 0 { 4924 return ErrInvalidLengthOne 4925 } 4926 if (iNdEx + skippy) > l { 4927 return io.ErrUnexpectedEOF 4928 } 4929 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 4930 iNdEx += skippy 4931 } 4932 } 4933 4934 if iNdEx > l { 4935 return io.ErrUnexpectedEOF 4936 } 4937 return nil 4938} 4939func (m *CustomOneof) Unmarshal(dAtA []byte) error { 4940 l := len(dAtA) 4941 iNdEx := 0 4942 for iNdEx < l { 4943 preIndex := iNdEx 4944 var wire uint64 4945 for shift := uint(0); ; shift += 7 { 4946 if shift >= 64 { 4947 return ErrIntOverflowOne 4948 } 4949 if iNdEx >= l { 4950 return io.ErrUnexpectedEOF 4951 } 4952 b := dAtA[iNdEx] 4953 iNdEx++ 4954 wire |= (uint64(b) & 0x7F) << shift 4955 if b < 0x80 { 4956 break 4957 } 4958 } 4959 fieldNum := int32(wire >> 3) 4960 wireType := int(wire & 0x7) 4961 if wireType == 4 { 4962 return fmt.Errorf("proto: CustomOneof: wiretype end group for non-group") 4963 } 4964 if fieldNum <= 0 { 4965 return fmt.Errorf("proto: CustomOneof: illegal tag %d (wire type %d)", fieldNum, wire) 4966 } 4967 switch fieldNum { 4968 case 34: 4969 if wireType != 2 { 4970 return fmt.Errorf("proto: wrong wireType = %d for field Stringy", wireType) 4971 } 4972 var stringLen uint64 4973 for shift := uint(0); ; shift += 7 { 4974 if shift >= 64 { 4975 return ErrIntOverflowOne 4976 } 4977 if iNdEx >= l { 4978 return io.ErrUnexpectedEOF 4979 } 4980 b := dAtA[iNdEx] 4981 iNdEx++ 4982 stringLen |= (uint64(b) & 0x7F) << shift 4983 if b < 0x80 { 4984 break 4985 } 4986 } 4987 intStringLen := int(stringLen) 4988 if intStringLen < 0 { 4989 return ErrInvalidLengthOne 4990 } 4991 postIndex := iNdEx + intStringLen 4992 if postIndex > l { 4993 return io.ErrUnexpectedEOF 4994 } 4995 m.Custom = &CustomOneof_Stringy{string(dAtA[iNdEx:postIndex])} 4996 iNdEx = postIndex 4997 case 35: 4998 if wireType != 2 { 4999 return fmt.Errorf("proto: wrong wireType = %d for field CustomType", wireType) 5000 } 5001 var byteLen int 5002 for shift := uint(0); ; shift += 7 { 5003 if shift >= 64 { 5004 return ErrIntOverflowOne 5005 } 5006 if iNdEx >= l { 5007 return io.ErrUnexpectedEOF 5008 } 5009 b := dAtA[iNdEx] 5010 iNdEx++ 5011 byteLen |= (int(b) & 0x7F) << shift 5012 if b < 0x80 { 5013 break 5014 } 5015 } 5016 if byteLen < 0 { 5017 return ErrInvalidLengthOne 5018 } 5019 postIndex := iNdEx + byteLen 5020 if postIndex > l { 5021 return io.ErrUnexpectedEOF 5022 } 5023 var vv github_com_gogo_protobuf_test_custom.Uint128 5024 v := &vv 5025 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5026 return err 5027 } 5028 m.Custom = &CustomOneof_CustomType{*v} 5029 iNdEx = postIndex 5030 case 36: 5031 if wireType != 0 { 5032 return fmt.Errorf("proto: wrong wireType = %d for field CastType", wireType) 5033 } 5034 var v github_com_gogo_protobuf_test_casttype.MyUint64Type 5035 for shift := uint(0); ; shift += 7 { 5036 if shift >= 64 { 5037 return ErrIntOverflowOne 5038 } 5039 if iNdEx >= l { 5040 return io.ErrUnexpectedEOF 5041 } 5042 b := dAtA[iNdEx] 5043 iNdEx++ 5044 v |= (github_com_gogo_protobuf_test_casttype.MyUint64Type(b) & 0x7F) << shift 5045 if b < 0x80 { 5046 break 5047 } 5048 } 5049 m.Custom = &CustomOneof_CastType{v} 5050 case 37: 5051 if wireType != 0 { 5052 return fmt.Errorf("proto: wrong wireType = %d for field MyCustomName", wireType) 5053 } 5054 var v int64 5055 for shift := uint(0); ; shift += 7 { 5056 if shift >= 64 { 5057 return ErrIntOverflowOne 5058 } 5059 if iNdEx >= l { 5060 return io.ErrUnexpectedEOF 5061 } 5062 b := dAtA[iNdEx] 5063 iNdEx++ 5064 v |= (int64(b) & 0x7F) << shift 5065 if b < 0x80 { 5066 break 5067 } 5068 } 5069 m.Custom = &CustomOneof_MyCustomName{v} 5070 default: 5071 iNdEx = preIndex 5072 skippy, err := skipOne(dAtA[iNdEx:]) 5073 if err != nil { 5074 return err 5075 } 5076 if skippy < 0 { 5077 return ErrInvalidLengthOne 5078 } 5079 if (iNdEx + skippy) > l { 5080 return io.ErrUnexpectedEOF 5081 } 5082 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 5083 iNdEx += skippy 5084 } 5085 } 5086 5087 if iNdEx > l { 5088 return io.ErrUnexpectedEOF 5089 } 5090 return nil 5091} 5092func skipOne(dAtA []byte) (n int, err error) { 5093 l := len(dAtA) 5094 iNdEx := 0 5095 for iNdEx < l { 5096 var wire uint64 5097 for shift := uint(0); ; shift += 7 { 5098 if shift >= 64 { 5099 return 0, ErrIntOverflowOne 5100 } 5101 if iNdEx >= l { 5102 return 0, io.ErrUnexpectedEOF 5103 } 5104 b := dAtA[iNdEx] 5105 iNdEx++ 5106 wire |= (uint64(b) & 0x7F) << shift 5107 if b < 0x80 { 5108 break 5109 } 5110 } 5111 wireType := int(wire & 0x7) 5112 switch wireType { 5113 case 0: 5114 for shift := uint(0); ; shift += 7 { 5115 if shift >= 64 { 5116 return 0, ErrIntOverflowOne 5117 } 5118 if iNdEx >= l { 5119 return 0, io.ErrUnexpectedEOF 5120 } 5121 iNdEx++ 5122 if dAtA[iNdEx-1] < 0x80 { 5123 break 5124 } 5125 } 5126 return iNdEx, nil 5127 case 1: 5128 iNdEx += 8 5129 return iNdEx, nil 5130 case 2: 5131 var length int 5132 for shift := uint(0); ; shift += 7 { 5133 if shift >= 64 { 5134 return 0, ErrIntOverflowOne 5135 } 5136 if iNdEx >= l { 5137 return 0, io.ErrUnexpectedEOF 5138 } 5139 b := dAtA[iNdEx] 5140 iNdEx++ 5141 length |= (int(b) & 0x7F) << shift 5142 if b < 0x80 { 5143 break 5144 } 5145 } 5146 iNdEx += length 5147 if length < 0 { 5148 return 0, ErrInvalidLengthOne 5149 } 5150 return iNdEx, nil 5151 case 3: 5152 for { 5153 var innerWire uint64 5154 var start int = iNdEx 5155 for shift := uint(0); ; shift += 7 { 5156 if shift >= 64 { 5157 return 0, ErrIntOverflowOne 5158 } 5159 if iNdEx >= l { 5160 return 0, io.ErrUnexpectedEOF 5161 } 5162 b := dAtA[iNdEx] 5163 iNdEx++ 5164 innerWire |= (uint64(b) & 0x7F) << shift 5165 if b < 0x80 { 5166 break 5167 } 5168 } 5169 innerWireType := int(innerWire & 0x7) 5170 if innerWireType == 4 { 5171 break 5172 } 5173 next, err := skipOne(dAtA[start:]) 5174 if err != nil { 5175 return 0, err 5176 } 5177 iNdEx = start + next 5178 } 5179 return iNdEx, nil 5180 case 4: 5181 return iNdEx, nil 5182 case 5: 5183 iNdEx += 4 5184 return iNdEx, nil 5185 default: 5186 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 5187 } 5188 } 5189 panic("unreachable") 5190} 5191 5192var ( 5193 ErrInvalidLengthOne = fmt.Errorf("proto: negative length found during unmarshaling") 5194 ErrIntOverflowOne = fmt.Errorf("proto: integer overflow") 5195) 5196 5197func init() { proto.RegisterFile("combos/unmarshaler/one.proto", fileDescriptor_one_539b073fce05cef9) } 5198 5199var fileDescriptor_one_539b073fce05cef9 = []byte{ 5200 // 602 bytes of a gzipped FileDescriptorProto 5201 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0xd3, 0x3f, 0x4f, 0x1b, 0x31, 5202 0x14, 0x00, 0x70, 0x3f, 0x42, 0x42, 0x70, 0x42, 0x49, 0x6f, 0x72, 0x51, 0x65, 0xac, 0xb4, 0x95, 5203 0x3c, 0x94, 0x84, 0x5c, 0x12, 0xfe, 0x8c, 0x3d, 0xaa, 0x2a, 0x0b, 0x45, 0x3a, 0x60, 0x46, 0x39, 5204 0x6a, 0x42, 0xa4, 0xe4, 0x8c, 0xe2, 0x3b, 0xa1, 0x6c, 0x7c, 0x86, 0x7e, 0x8a, 0x8e, 0x1d, 0xfb, 5205 0x11, 0x18, 0x33, 0x56, 0x1d, 0x22, 0xee, 0xba, 0x74, 0x64, 0x44, 0x9d, 0x2a, 0xdf, 0x11, 0xbb, 5206 0x52, 0x55, 0x75, 0xe9, 0x94, 0x7b, 0xef, 0x77, 0x7e, 0x79, 0xef, 0x6c, 0xe3, 0xe7, 0xe7, 0x72, 5207 0x1c, 0x48, 0xd5, 0x8c, 0xc3, 0x71, 0x7f, 0xa2, 0x2e, 0xfb, 0x23, 0x31, 0x69, 0xca, 0x50, 0x34, 5208 0xae, 0x26, 0x32, 0x92, 0x4e, 0x41, 0x86, 0x62, 0x63, 0x6b, 0x30, 0x8c, 0x2e, 0xe3, 0xa0, 0x71, 5209 0x2e, 0xc7, 0xcd, 0x81, 0x1c, 0xc8, 0x66, 0x66, 0x41, 0x7c, 0x91, 0x45, 0x59, 0x90, 0x3d, 0xe5, 5210 0x6b, 0xea, 0xcf, 0x70, 0xf1, 0x38, 0x0e, 0x82, 0xa9, 0x53, 0xc3, 0x05, 0x15, 0x07, 0x04, 0x18, 5211 0xf0, 0x55, 0x5f, 0x3f, 0xd6, 0xe7, 0x05, 0xbc, 0xf6, 0x66, 0x34, 0x3a, 0x99, 0x5e, 0x09, 0x75, 5212 0x14, 0x8a, 0xa3, 0x0b, 0x87, 0xe0, 0xd2, 0xbb, 0xa1, 0x18, 0x7d, 0x68, 0x65, 0xaf, 0x41, 0x0f, 5213 0xf9, 0x8f, 0xb1, 0x11, 0x97, 0x2c, 0x31, 0xe0, 0x4b, 0x46, 0x5c, 0x23, 0x6d, 0x52, 0x60, 0xc0, 5214 0x8b, 0x46, 0xda, 0x46, 0x3a, 0x64, 0x99, 0x01, 0x2f, 0x18, 0xe9, 0x18, 0xe9, 0x92, 0x22, 0x03, 5215 0xbe, 0x66, 0xa4, 0x6b, 0x64, 0x87, 0x94, 0x18, 0xf0, 0x65, 0x23, 0x3b, 0x46, 0x76, 0xc9, 0x0a, 5216 0x03, 0xfe, 0xd4, 0xc8, 0xae, 0x91, 0x3d, 0x52, 0x66, 0xc0, 0x1d, 0x23, 0x7b, 0x46, 0xf6, 0xc9, 5217 0x2a, 0x03, 0xbe, 0x62, 0x64, 0xdf, 0xd9, 0xc0, 0x2b, 0xf9, 0x64, 0xdb, 0x04, 0x33, 0xe0, 0xeb, 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