github.com/devwanda/aphelion-staking@v0.33.9/proto/libs/bits/types.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: proto/libs/bits/types.proto 3 4 package bits 5 6 import ( 7 fmt "fmt" 8 proto "github.com/gogo/protobuf/proto" 9 math "math" 10 ) 11 12 // Reference imports to suppress errors if they are not otherwise used. 13 var _ = proto.Marshal 14 var _ = fmt.Errorf 15 var _ = math.Inf 16 17 // This is a compile-time assertion to ensure that this generated file 18 // is compatible with the proto package it is being compiled against. 19 // A compilation error at this line likely means your copy of the 20 // proto package needs to be updated. 21 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 22 23 type BitArray struct { 24 Bits int64 `protobuf:"varint,1,opt,name=bits,proto3" json:"bits,omitempty"` 25 Elems []uint64 `protobuf:"varint,2,rep,packed,name=elems,proto3" json:"elems,omitempty"` 26 XXX_NoUnkeyedLiteral struct{} `json:"-"` 27 XXX_unrecognized []byte `json:"-"` 28 XXX_sizecache int32 `json:"-"` 29 } 30 31 func (m *BitArray) Reset() { *m = BitArray{} } 32 func (m *BitArray) String() string { return proto.CompactTextString(m) } 33 func (*BitArray) ProtoMessage() {} 34 func (*BitArray) Descriptor() ([]byte, []int) { 35 return fileDescriptor_3f1fbe70d7999e09, []int{0} 36 } 37 func (m *BitArray) XXX_Unmarshal(b []byte) error { 38 return xxx_messageInfo_BitArray.Unmarshal(m, b) 39 } 40 func (m *BitArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 41 return xxx_messageInfo_BitArray.Marshal(b, m, deterministic) 42 } 43 func (m *BitArray) XXX_Merge(src proto.Message) { 44 xxx_messageInfo_BitArray.Merge(m, src) 45 } 46 func (m *BitArray) XXX_Size() int { 47 return xxx_messageInfo_BitArray.Size(m) 48 } 49 func (m *BitArray) XXX_DiscardUnknown() { 50 xxx_messageInfo_BitArray.DiscardUnknown(m) 51 } 52 53 var xxx_messageInfo_BitArray proto.InternalMessageInfo 54 55 func (m *BitArray) GetBits() int64 { 56 if m != nil { 57 return m.Bits 58 } 59 return 0 60 } 61 62 func (m *BitArray) GetElems() []uint64 { 63 if m != nil { 64 return m.Elems 65 } 66 return nil 67 } 68 69 func init() { 70 proto.RegisterType((*BitArray)(nil), "tendermint.proto.libs.bits.BitArray") 71 } 72 73 func init() { proto.RegisterFile("proto/libs/bits/types.proto", fileDescriptor_3f1fbe70d7999e09) } 74 75 var fileDescriptor_3f1fbe70d7999e09 = []byte{ 76 // 140 bytes of a gzipped FileDescriptorProto 77 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2e, 0x28, 0xca, 0x2f, 78 0xc9, 0xd7, 0xcf, 0xc9, 0x4c, 0x2a, 0xd6, 0x4f, 0xca, 0x2c, 0x29, 0xd6, 0x2f, 0xa9, 0x2c, 0x48, 79 0x2d, 0xd6, 0x03, 0x8b, 0x0a, 0x49, 0x95, 0xa4, 0xe6, 0xa5, 0xa4, 0x16, 0xe5, 0x66, 0xe6, 0x95, 80 0x40, 0x44, 0xf4, 0x40, 0xea, 0xf4, 0x40, 0xea, 0x94, 0x4c, 0xb8, 0x38, 0x9c, 0x32, 0x4b, 0x1c, 81 0x8b, 0x8a, 0x12, 0x2b, 0x85, 0x84, 0xb8, 0x58, 0x40, 0x62, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xcc, 82 0x41, 0x60, 0xb6, 0x90, 0x08, 0x17, 0x6b, 0x6a, 0x4e, 0x6a, 0x6e, 0xb1, 0x04, 0x93, 0x02, 0xb3, 83 0x06, 0x4b, 0x10, 0x84, 0xe3, 0x64, 0x14, 0x65, 0x90, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 84 0x9c, 0x9f, 0xab, 0x8f, 0x30, 0x1e, 0x99, 0x89, 0xe6, 0xa2, 0x24, 0x36, 0xb0, 0x80, 0x31, 0x20, 85 0x00, 0x00, 0xff, 0xff, 0x49, 0xc4, 0x52, 0x81, 0xab, 0x00, 0x00, 0x00, 86 }