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