github.com/m3db/m3@v1.5.0/src/cluster/generated/proto/commonpb/common.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: github.com/m3db/m3/src/cluster/generated/proto/commonpb/common.proto 3 4 // Copyright (c) 2018 Uber Technologies, Inc. 5 // 6 // Permission is hereby granted, free of charge, to any person obtaining a copy 7 // of this software and associated documentation files (the "Software"), to deal 8 // in the Software without restriction, including without limitation the rights 9 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 // copies of the Software, and to permit persons to whom the Software is 11 // furnished to do so, subject to the following conditions: 12 // 13 // The above copyright notice and this permission notice shall be included in 14 // all copies or substantial portions of the Software. 15 // 16 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 // THE SOFTWARE. 23 24 /* 25 Package commonpb is a generated protocol buffer package. 26 27 It is generated from these files: 28 github.com/m3db/m3/src/cluster/generated/proto/commonpb/common.proto 29 30 It has these top-level messages: 31 BoolProto 32 Float64Proto 33 Int64Proto 34 StringArrayProto 35 StringProto 36 */ 37 package commonpb 38 39 import proto "github.com/gogo/protobuf/proto" 40 import fmt "fmt" 41 import math "math" 42 43 import binary "encoding/binary" 44 45 import io "io" 46 47 // Reference imports to suppress errors if they are not otherwise used. 48 var _ = proto.Marshal 49 var _ = fmt.Errorf 50 var _ = math.Inf 51 52 // This is a compile-time assertion to ensure that this generated file 53 // is compatible with the proto package it is being compiled against. 54 // A compilation error at this line likely means your copy of the 55 // proto package needs to be updated. 56 const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package 57 58 type BoolProto struct { 59 Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 60 } 61 62 func (m *BoolProto) Reset() { *m = BoolProto{} } 63 func (m *BoolProto) String() string { return proto.CompactTextString(m) } 64 func (*BoolProto) ProtoMessage() {} 65 func (*BoolProto) Descriptor() ([]byte, []int) { return fileDescriptorCommon, []int{0} } 66 67 func (m *BoolProto) GetValue() bool { 68 if m != nil { 69 return m.Value 70 } 71 return false 72 } 73 74 type Float64Proto struct { 75 Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` 76 } 77 78 func (m *Float64Proto) Reset() { *m = Float64Proto{} } 79 func (m *Float64Proto) String() string { return proto.CompactTextString(m) } 80 func (*Float64Proto) ProtoMessage() {} 81 func (*Float64Proto) Descriptor() ([]byte, []int) { return fileDescriptorCommon, []int{1} } 82 83 func (m *Float64Proto) GetValue() float64 { 84 if m != nil { 85 return m.Value 86 } 87 return 0 88 } 89 90 type Int64Proto struct { 91 Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 92 } 93 94 func (m *Int64Proto) Reset() { *m = Int64Proto{} } 95 func (m *Int64Proto) String() string { return proto.CompactTextString(m) } 96 func (*Int64Proto) ProtoMessage() {} 97 func (*Int64Proto) Descriptor() ([]byte, []int) { return fileDescriptorCommon, []int{2} } 98 99 func (m *Int64Proto) GetValue() int64 { 100 if m != nil { 101 return m.Value 102 } 103 return 0 104 } 105 106 type StringArrayProto struct { 107 Values []string `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"` 108 } 109 110 func (m *StringArrayProto) Reset() { *m = StringArrayProto{} } 111 func (m *StringArrayProto) String() string { return proto.CompactTextString(m) } 112 func (*StringArrayProto) ProtoMessage() {} 113 func (*StringArrayProto) Descriptor() ([]byte, []int) { return fileDescriptorCommon, []int{3} } 114 115 func (m *StringArrayProto) GetValues() []string { 116 if m != nil { 117 return m.Values 118 } 119 return nil 120 } 121 122 type StringProto struct { 123 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` 124 } 125 126 func (m *StringProto) Reset() { *m = StringProto{} } 127 func (m *StringProto) String() string { return proto.CompactTextString(m) } 128 func (*StringProto) ProtoMessage() {} 129 func (*StringProto) Descriptor() ([]byte, []int) { return fileDescriptorCommon, []int{4} } 130 131 func (m *StringProto) GetValue() string { 132 if m != nil { 133 return m.Value 134 } 135 return "" 136 } 137 138 func init() { 139 proto.RegisterType((*BoolProto)(nil), "commonpb.BoolProto") 140 proto.RegisterType((*Float64Proto)(nil), "commonpb.Float64Proto") 141 proto.RegisterType((*Int64Proto)(nil), "commonpb.Int64Proto") 142 proto.RegisterType((*StringArrayProto)(nil), "commonpb.StringArrayProto") 143 proto.RegisterType((*StringProto)(nil), "commonpb.StringProto") 144 } 145 func (m *BoolProto) Marshal() (dAtA []byte, err error) { 146 size := m.Size() 147 dAtA = make([]byte, size) 148 n, err := m.MarshalTo(dAtA) 149 if err != nil { 150 return nil, err 151 } 152 return dAtA[:n], nil 153 } 154 155 func (m *BoolProto) MarshalTo(dAtA []byte) (int, error) { 156 var i int 157 _ = i 158 var l int 159 _ = l 160 if m.Value { 161 dAtA[i] = 0x8 162 i++ 163 if m.Value { 164 dAtA[i] = 1 165 } else { 166 dAtA[i] = 0 167 } 168 i++ 169 } 170 return i, nil 171 } 172 173 func (m *Float64Proto) Marshal() (dAtA []byte, err error) { 174 size := m.Size() 175 dAtA = make([]byte, size) 176 n, err := m.MarshalTo(dAtA) 177 if err != nil { 178 return nil, err 179 } 180 return dAtA[:n], nil 181 } 182 183 func (m *Float64Proto) MarshalTo(dAtA []byte) (int, error) { 184 var i int 185 _ = i 186 var l int 187 _ = l 188 if m.Value != 0 { 189 dAtA[i] = 0x9 190 i++ 191 binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) 192 i += 8 193 } 194 return i, nil 195 } 196 197 func (m *Int64Proto) Marshal() (dAtA []byte, err error) { 198 size := m.Size() 199 dAtA = make([]byte, size) 200 n, err := m.MarshalTo(dAtA) 201 if err != nil { 202 return nil, err 203 } 204 return dAtA[:n], nil 205 } 206 207 func (m *Int64Proto) MarshalTo(dAtA []byte) (int, error) { 208 var i int 209 _ = i 210 var l int 211 _ = l 212 if m.Value != 0 { 213 dAtA[i] = 0x8 214 i++ 215 i = encodeVarintCommon(dAtA, i, uint64(m.Value)) 216 } 217 return i, nil 218 } 219 220 func (m *StringArrayProto) Marshal() (dAtA []byte, err error) { 221 size := m.Size() 222 dAtA = make([]byte, size) 223 n, err := m.MarshalTo(dAtA) 224 if err != nil { 225 return nil, err 226 } 227 return dAtA[:n], nil 228 } 229 230 func (m *StringArrayProto) MarshalTo(dAtA []byte) (int, error) { 231 var i int 232 _ = i 233 var l int 234 _ = l 235 if len(m.Values) > 0 { 236 for _, s := range m.Values { 237 dAtA[i] = 0xa 238 i++ 239 l = len(s) 240 for l >= 1<<7 { 241 dAtA[i] = uint8(uint64(l)&0x7f | 0x80) 242 l >>= 7 243 i++ 244 } 245 dAtA[i] = uint8(l) 246 i++ 247 i += copy(dAtA[i:], s) 248 } 249 } 250 return i, nil 251 } 252 253 func (m *StringProto) Marshal() (dAtA []byte, err error) { 254 size := m.Size() 255 dAtA = make([]byte, size) 256 n, err := m.MarshalTo(dAtA) 257 if err != nil { 258 return nil, err 259 } 260 return dAtA[:n], nil 261 } 262 263 func (m *StringProto) MarshalTo(dAtA []byte) (int, error) { 264 var i int 265 _ = i 266 var l int 267 _ = l 268 if len(m.Value) > 0 { 269 dAtA[i] = 0xa 270 i++ 271 i = encodeVarintCommon(dAtA, i, uint64(len(m.Value))) 272 i += copy(dAtA[i:], m.Value) 273 } 274 return i, nil 275 } 276 277 func encodeVarintCommon(dAtA []byte, offset int, v uint64) int { 278 for v >= 1<<7 { 279 dAtA[offset] = uint8(v&0x7f | 0x80) 280 v >>= 7 281 offset++ 282 } 283 dAtA[offset] = uint8(v) 284 return offset + 1 285 } 286 func (m *BoolProto) Size() (n int) { 287 var l int 288 _ = l 289 if m.Value { 290 n += 2 291 } 292 return n 293 } 294 295 func (m *Float64Proto) Size() (n int) { 296 var l int 297 _ = l 298 if m.Value != 0 { 299 n += 9 300 } 301 return n 302 } 303 304 func (m *Int64Proto) Size() (n int) { 305 var l int 306 _ = l 307 if m.Value != 0 { 308 n += 1 + sovCommon(uint64(m.Value)) 309 } 310 return n 311 } 312 313 func (m *StringArrayProto) Size() (n int) { 314 var l int 315 _ = l 316 if len(m.Values) > 0 { 317 for _, s := range m.Values { 318 l = len(s) 319 n += 1 + l + sovCommon(uint64(l)) 320 } 321 } 322 return n 323 } 324 325 func (m *StringProto) Size() (n int) { 326 var l int 327 _ = l 328 l = len(m.Value) 329 if l > 0 { 330 n += 1 + l + sovCommon(uint64(l)) 331 } 332 return n 333 } 334 335 func sovCommon(x uint64) (n int) { 336 for { 337 n++ 338 x >>= 7 339 if x == 0 { 340 break 341 } 342 } 343 return n 344 } 345 func sozCommon(x uint64) (n int) { 346 return sovCommon(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 347 } 348 func (m *BoolProto) Unmarshal(dAtA []byte) error { 349 l := len(dAtA) 350 iNdEx := 0 351 for iNdEx < l { 352 preIndex := iNdEx 353 var wire uint64 354 for shift := uint(0); ; shift += 7 { 355 if shift >= 64 { 356 return ErrIntOverflowCommon 357 } 358 if iNdEx >= l { 359 return io.ErrUnexpectedEOF 360 } 361 b := dAtA[iNdEx] 362 iNdEx++ 363 wire |= (uint64(b) & 0x7F) << shift 364 if b < 0x80 { 365 break 366 } 367 } 368 fieldNum := int32(wire >> 3) 369 wireType := int(wire & 0x7) 370 if wireType == 4 { 371 return fmt.Errorf("proto: BoolProto: wiretype end group for non-group") 372 } 373 if fieldNum <= 0 { 374 return fmt.Errorf("proto: BoolProto: illegal tag %d (wire type %d)", fieldNum, wire) 375 } 376 switch fieldNum { 377 case 1: 378 if wireType != 0 { 379 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 380 } 381 var v int 382 for shift := uint(0); ; shift += 7 { 383 if shift >= 64 { 384 return ErrIntOverflowCommon 385 } 386 if iNdEx >= l { 387 return io.ErrUnexpectedEOF 388 } 389 b := dAtA[iNdEx] 390 iNdEx++ 391 v |= (int(b) & 0x7F) << shift 392 if b < 0x80 { 393 break 394 } 395 } 396 m.Value = bool(v != 0) 397 default: 398 iNdEx = preIndex 399 skippy, err := skipCommon(dAtA[iNdEx:]) 400 if err != nil { 401 return err 402 } 403 if skippy < 0 { 404 return ErrInvalidLengthCommon 405 } 406 if (iNdEx + skippy) > l { 407 return io.ErrUnexpectedEOF 408 } 409 iNdEx += skippy 410 } 411 } 412 413 if iNdEx > l { 414 return io.ErrUnexpectedEOF 415 } 416 return nil 417 } 418 func (m *Float64Proto) Unmarshal(dAtA []byte) error { 419 l := len(dAtA) 420 iNdEx := 0 421 for iNdEx < l { 422 preIndex := iNdEx 423 var wire uint64 424 for shift := uint(0); ; shift += 7 { 425 if shift >= 64 { 426 return ErrIntOverflowCommon 427 } 428 if iNdEx >= l { 429 return io.ErrUnexpectedEOF 430 } 431 b := dAtA[iNdEx] 432 iNdEx++ 433 wire |= (uint64(b) & 0x7F) << shift 434 if b < 0x80 { 435 break 436 } 437 } 438 fieldNum := int32(wire >> 3) 439 wireType := int(wire & 0x7) 440 if wireType == 4 { 441 return fmt.Errorf("proto: Float64Proto: wiretype end group for non-group") 442 } 443 if fieldNum <= 0 { 444 return fmt.Errorf("proto: Float64Proto: illegal tag %d (wire type %d)", fieldNum, wire) 445 } 446 switch fieldNum { 447 case 1: 448 if wireType != 1 { 449 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 450 } 451 var v uint64 452 if (iNdEx + 8) > l { 453 return io.ErrUnexpectedEOF 454 } 455 v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) 456 iNdEx += 8 457 m.Value = float64(math.Float64frombits(v)) 458 default: 459 iNdEx = preIndex 460 skippy, err := skipCommon(dAtA[iNdEx:]) 461 if err != nil { 462 return err 463 } 464 if skippy < 0 { 465 return ErrInvalidLengthCommon 466 } 467 if (iNdEx + skippy) > l { 468 return io.ErrUnexpectedEOF 469 } 470 iNdEx += skippy 471 } 472 } 473 474 if iNdEx > l { 475 return io.ErrUnexpectedEOF 476 } 477 return nil 478 } 479 func (m *Int64Proto) Unmarshal(dAtA []byte) error { 480 l := len(dAtA) 481 iNdEx := 0 482 for iNdEx < l { 483 preIndex := iNdEx 484 var wire uint64 485 for shift := uint(0); ; shift += 7 { 486 if shift >= 64 { 487 return ErrIntOverflowCommon 488 } 489 if iNdEx >= l { 490 return io.ErrUnexpectedEOF 491 } 492 b := dAtA[iNdEx] 493 iNdEx++ 494 wire |= (uint64(b) & 0x7F) << shift 495 if b < 0x80 { 496 break 497 } 498 } 499 fieldNum := int32(wire >> 3) 500 wireType := int(wire & 0x7) 501 if wireType == 4 { 502 return fmt.Errorf("proto: Int64Proto: wiretype end group for non-group") 503 } 504 if fieldNum <= 0 { 505 return fmt.Errorf("proto: Int64Proto: illegal tag %d (wire type %d)", fieldNum, wire) 506 } 507 switch fieldNum { 508 case 1: 509 if wireType != 0 { 510 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 511 } 512 m.Value = 0 513 for shift := uint(0); ; shift += 7 { 514 if shift >= 64 { 515 return ErrIntOverflowCommon 516 } 517 if iNdEx >= l { 518 return io.ErrUnexpectedEOF 519 } 520 b := dAtA[iNdEx] 521 iNdEx++ 522 m.Value |= (int64(b) & 0x7F) << shift 523 if b < 0x80 { 524 break 525 } 526 } 527 default: 528 iNdEx = preIndex 529 skippy, err := skipCommon(dAtA[iNdEx:]) 530 if err != nil { 531 return err 532 } 533 if skippy < 0 { 534 return ErrInvalidLengthCommon 535 } 536 if (iNdEx + skippy) > l { 537 return io.ErrUnexpectedEOF 538 } 539 iNdEx += skippy 540 } 541 } 542 543 if iNdEx > l { 544 return io.ErrUnexpectedEOF 545 } 546 return nil 547 } 548 func (m *StringArrayProto) Unmarshal(dAtA []byte) error { 549 l := len(dAtA) 550 iNdEx := 0 551 for iNdEx < l { 552 preIndex := iNdEx 553 var wire uint64 554 for shift := uint(0); ; shift += 7 { 555 if shift >= 64 { 556 return ErrIntOverflowCommon 557 } 558 if iNdEx >= l { 559 return io.ErrUnexpectedEOF 560 } 561 b := dAtA[iNdEx] 562 iNdEx++ 563 wire |= (uint64(b) & 0x7F) << shift 564 if b < 0x80 { 565 break 566 } 567 } 568 fieldNum := int32(wire >> 3) 569 wireType := int(wire & 0x7) 570 if wireType == 4 { 571 return fmt.Errorf("proto: StringArrayProto: wiretype end group for non-group") 572 } 573 if fieldNum <= 0 { 574 return fmt.Errorf("proto: StringArrayProto: illegal tag %d (wire type %d)", fieldNum, wire) 575 } 576 switch fieldNum { 577 case 1: 578 if wireType != 2 { 579 return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType) 580 } 581 var stringLen uint64 582 for shift := uint(0); ; shift += 7 { 583 if shift >= 64 { 584 return ErrIntOverflowCommon 585 } 586 if iNdEx >= l { 587 return io.ErrUnexpectedEOF 588 } 589 b := dAtA[iNdEx] 590 iNdEx++ 591 stringLen |= (uint64(b) & 0x7F) << shift 592 if b < 0x80 { 593 break 594 } 595 } 596 intStringLen := int(stringLen) 597 if intStringLen < 0 { 598 return ErrInvalidLengthCommon 599 } 600 postIndex := iNdEx + intStringLen 601 if postIndex > l { 602 return io.ErrUnexpectedEOF 603 } 604 m.Values = append(m.Values, string(dAtA[iNdEx:postIndex])) 605 iNdEx = postIndex 606 default: 607 iNdEx = preIndex 608 skippy, err := skipCommon(dAtA[iNdEx:]) 609 if err != nil { 610 return err 611 } 612 if skippy < 0 { 613 return ErrInvalidLengthCommon 614 } 615 if (iNdEx + skippy) > l { 616 return io.ErrUnexpectedEOF 617 } 618 iNdEx += skippy 619 } 620 } 621 622 if iNdEx > l { 623 return io.ErrUnexpectedEOF 624 } 625 return nil 626 } 627 func (m *StringProto) Unmarshal(dAtA []byte) error { 628 l := len(dAtA) 629 iNdEx := 0 630 for iNdEx < l { 631 preIndex := iNdEx 632 var wire uint64 633 for shift := uint(0); ; shift += 7 { 634 if shift >= 64 { 635 return ErrIntOverflowCommon 636 } 637 if iNdEx >= l { 638 return io.ErrUnexpectedEOF 639 } 640 b := dAtA[iNdEx] 641 iNdEx++ 642 wire |= (uint64(b) & 0x7F) << shift 643 if b < 0x80 { 644 break 645 } 646 } 647 fieldNum := int32(wire >> 3) 648 wireType := int(wire & 0x7) 649 if wireType == 4 { 650 return fmt.Errorf("proto: StringProto: wiretype end group for non-group") 651 } 652 if fieldNum <= 0 { 653 return fmt.Errorf("proto: StringProto: illegal tag %d (wire type %d)", fieldNum, wire) 654 } 655 switch fieldNum { 656 case 1: 657 if wireType != 2 { 658 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 659 } 660 var stringLen uint64 661 for shift := uint(0); ; shift += 7 { 662 if shift >= 64 { 663 return ErrIntOverflowCommon 664 } 665 if iNdEx >= l { 666 return io.ErrUnexpectedEOF 667 } 668 b := dAtA[iNdEx] 669 iNdEx++ 670 stringLen |= (uint64(b) & 0x7F) << shift 671 if b < 0x80 { 672 break 673 } 674 } 675 intStringLen := int(stringLen) 676 if intStringLen < 0 { 677 return ErrInvalidLengthCommon 678 } 679 postIndex := iNdEx + intStringLen 680 if postIndex > l { 681 return io.ErrUnexpectedEOF 682 } 683 m.Value = string(dAtA[iNdEx:postIndex]) 684 iNdEx = postIndex 685 default: 686 iNdEx = preIndex 687 skippy, err := skipCommon(dAtA[iNdEx:]) 688 if err != nil { 689 return err 690 } 691 if skippy < 0 { 692 return ErrInvalidLengthCommon 693 } 694 if (iNdEx + skippy) > l { 695 return io.ErrUnexpectedEOF 696 } 697 iNdEx += skippy 698 } 699 } 700 701 if iNdEx > l { 702 return io.ErrUnexpectedEOF 703 } 704 return nil 705 } 706 func skipCommon(dAtA []byte) (n int, err error) { 707 l := len(dAtA) 708 iNdEx := 0 709 for iNdEx < l { 710 var wire uint64 711 for shift := uint(0); ; shift += 7 { 712 if shift >= 64 { 713 return 0, ErrIntOverflowCommon 714 } 715 if iNdEx >= l { 716 return 0, io.ErrUnexpectedEOF 717 } 718 b := dAtA[iNdEx] 719 iNdEx++ 720 wire |= (uint64(b) & 0x7F) << shift 721 if b < 0x80 { 722 break 723 } 724 } 725 wireType := int(wire & 0x7) 726 switch wireType { 727 case 0: 728 for shift := uint(0); ; shift += 7 { 729 if shift >= 64 { 730 return 0, ErrIntOverflowCommon 731 } 732 if iNdEx >= l { 733 return 0, io.ErrUnexpectedEOF 734 } 735 iNdEx++ 736 if dAtA[iNdEx-1] < 0x80 { 737 break 738 } 739 } 740 return iNdEx, nil 741 case 1: 742 iNdEx += 8 743 return iNdEx, nil 744 case 2: 745 var length int 746 for shift := uint(0); ; shift += 7 { 747 if shift >= 64 { 748 return 0, ErrIntOverflowCommon 749 } 750 if iNdEx >= l { 751 return 0, io.ErrUnexpectedEOF 752 } 753 b := dAtA[iNdEx] 754 iNdEx++ 755 length |= (int(b) & 0x7F) << shift 756 if b < 0x80 { 757 break 758 } 759 } 760 iNdEx += length 761 if length < 0 { 762 return 0, ErrInvalidLengthCommon 763 } 764 return iNdEx, nil 765 case 3: 766 for { 767 var innerWire uint64 768 var start int = iNdEx 769 for shift := uint(0); ; shift += 7 { 770 if shift >= 64 { 771 return 0, ErrIntOverflowCommon 772 } 773 if iNdEx >= l { 774 return 0, io.ErrUnexpectedEOF 775 } 776 b := dAtA[iNdEx] 777 iNdEx++ 778 innerWire |= (uint64(b) & 0x7F) << shift 779 if b < 0x80 { 780 break 781 } 782 } 783 innerWireType := int(innerWire & 0x7) 784 if innerWireType == 4 { 785 break 786 } 787 next, err := skipCommon(dAtA[start:]) 788 if err != nil { 789 return 0, err 790 } 791 iNdEx = start + next 792 } 793 return iNdEx, nil 794 case 4: 795 return iNdEx, nil 796 case 5: 797 iNdEx += 4 798 return iNdEx, nil 799 default: 800 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 801 } 802 } 803 panic("unreachable") 804 } 805 806 var ( 807 ErrInvalidLengthCommon = fmt.Errorf("proto: negative length found during unmarshaling") 808 ErrIntOverflowCommon = fmt.Errorf("proto: integer overflow") 809 ) 810 811 func init() { 812 proto.RegisterFile("github.com/m3db/m3/src/cluster/generated/proto/commonpb/common.proto", fileDescriptorCommon) 813 } 814 815 var fileDescriptorCommon = []byte{ 816 // 210 bytes of a gzipped FileDescriptorProto 817 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x72, 0x49, 0xcf, 0x2c, 0xc9, 818 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0xcf, 0x35, 0x4e, 0x49, 0xd2, 0xcf, 0x35, 0xd6, 0x2f, 819 0x2e, 0x4a, 0xd6, 0x4f, 0xce, 0x29, 0x2d, 0x2e, 0x49, 0x2d, 0xd2, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 820 0x4a, 0x2c, 0x49, 0x4d, 0xd1, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0xd7, 0x4f, 0xce, 0xcf, 0xcd, 0xcd, 821 0xcf, 0x2b, 0x48, 0x82, 0x32, 0xf4, 0xc0, 0xa2, 0x42, 0x1c, 0x30, 0x61, 0x25, 0x45, 0x2e, 0x4e, 822 0xa7, 0xfc, 0xfc, 0x9c, 0x00, 0xb0, 0xb0, 0x08, 0x17, 0x6b, 0x59, 0x62, 0x4e, 0x69, 0xaa, 0x04, 823 0xa3, 0x02, 0xa3, 0x06, 0x47, 0x10, 0x84, 0xa3, 0xa4, 0xc2, 0xc5, 0xe3, 0x96, 0x93, 0x9f, 0x58, 824 0x62, 0x66, 0x82, 0x45, 0x15, 0x23, 0x4c, 0x95, 0x12, 0x17, 0x97, 0x67, 0x1e, 0x76, 0x35, 0xcc, 825 0x30, 0x35, 0x5a, 0x5c, 0x02, 0xc1, 0x25, 0x45, 0x99, 0x79, 0xe9, 0x8e, 0x45, 0x45, 0x89, 0x95, 826 0x10, 0x95, 0x62, 0x5c, 0x6c, 0x60, 0xc9, 0x62, 0x09, 0x46, 0x05, 0x66, 0x0d, 0xce, 0x20, 0x28, 827 0x4f, 0x49, 0x99, 0x8b, 0x1b, 0xa2, 0x16, 0x8b, 0x81, 0x9c, 0x50, 0x03, 0x9d, 0x04, 0x4e, 0x3c, 828 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x92, 829 0xd8, 0xc0, 0x1e, 0x34, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xf0, 0xdf, 0x70, 0x77, 0x28, 0x01, 830 0x00, 0x00, 831 }