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