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