github.com/aergoio/aergo@v1.3.1/types/account.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: account.proto 3 4 package types 5 6 import proto "github.com/golang/protobuf/proto" 7 import fmt "fmt" 8 import math "math" 9 10 // Reference imports to suppress errors if they are not otherwise used. 11 var _ = proto.Marshal 12 var _ = fmt.Errorf 13 var _ = math.Inf 14 15 // This is a compile-time assertion to ensure that this generated file 16 // is compatible with the proto package it is being compiled against. 17 // A compilation error at this line likely means your copy of the 18 // proto package needs to be updated. 19 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 20 21 type Account struct { 22 Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` 23 XXX_NoUnkeyedLiteral struct{} `json:"-"` 24 XXX_unrecognized []byte `json:"-"` 25 XXX_sizecache int32 `json:"-"` 26 } 27 28 func (m *Account) Reset() { *m = Account{} } 29 func (m *Account) String() string { return proto.CompactTextString(m) } 30 func (*Account) ProtoMessage() {} 31 func (*Account) Descriptor() ([]byte, []int) { 32 return fileDescriptor_8e28828dcb8d24f0, []int{0} 33 } 34 func (m *Account) XXX_Unmarshal(b []byte) error { 35 return xxx_messageInfo_Account.Unmarshal(m, b) 36 } 37 func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 38 return xxx_messageInfo_Account.Marshal(b, m, deterministic) 39 } 40 func (m *Account) XXX_Merge(src proto.Message) { 41 xxx_messageInfo_Account.Merge(m, src) 42 } 43 func (m *Account) XXX_Size() int { 44 return xxx_messageInfo_Account.Size(m) 45 } 46 func (m *Account) XXX_DiscardUnknown() { 47 xxx_messageInfo_Account.DiscardUnknown(m) 48 } 49 50 var xxx_messageInfo_Account proto.InternalMessageInfo 51 52 func (m *Account) GetAddress() []byte { 53 if m != nil { 54 return m.Address 55 } 56 return nil 57 } 58 59 type AccountList struct { 60 Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` 61 XXX_NoUnkeyedLiteral struct{} `json:"-"` 62 XXX_unrecognized []byte `json:"-"` 63 XXX_sizecache int32 `json:"-"` 64 } 65 66 func (m *AccountList) Reset() { *m = AccountList{} } 67 func (m *AccountList) String() string { return proto.CompactTextString(m) } 68 func (*AccountList) ProtoMessage() {} 69 func (*AccountList) Descriptor() ([]byte, []int) { 70 return fileDescriptor_8e28828dcb8d24f0, []int{1} 71 } 72 func (m *AccountList) XXX_Unmarshal(b []byte) error { 73 return xxx_messageInfo_AccountList.Unmarshal(m, b) 74 } 75 func (m *AccountList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 76 return xxx_messageInfo_AccountList.Marshal(b, m, deterministic) 77 } 78 func (m *AccountList) XXX_Merge(src proto.Message) { 79 xxx_messageInfo_AccountList.Merge(m, src) 80 } 81 func (m *AccountList) XXX_Size() int { 82 return xxx_messageInfo_AccountList.Size(m) 83 } 84 func (m *AccountList) XXX_DiscardUnknown() { 85 xxx_messageInfo_AccountList.DiscardUnknown(m) 86 } 87 88 var xxx_messageInfo_AccountList proto.InternalMessageInfo 89 90 func (m *AccountList) GetAccounts() []*Account { 91 if m != nil { 92 return m.Accounts 93 } 94 return nil 95 } 96 97 func init() { 98 proto.RegisterType((*Account)(nil), "types.Account") 99 proto.RegisterType((*AccountList)(nil), "types.AccountList") 100 } 101 102 func init() { proto.RegisterFile("account.proto", fileDescriptor_8e28828dcb8d24f0) } 103 104 var fileDescriptor_8e28828dcb8d24f0 = []byte{ 105 // 110 bytes of a gzipped FileDescriptorProto 106 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4d, 0x4c, 0x4e, 0xce, 107 0x2f, 0xcd, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2d, 0xa9, 0x2c, 0x48, 0x2d, 108 0x56, 0x52, 0xe6, 0x62, 0x77, 0x84, 0x88, 0x0b, 0x49, 0x70, 0xb1, 0x27, 0xa6, 0xa4, 0x14, 0xa5, 109 0x16, 0x17, 0x4b, 0x30, 0x2a, 0x30, 0x6a, 0xf0, 0x04, 0xc1, 0xb8, 0x4a, 0x96, 0x5c, 0xdc, 0x50, 110 0x45, 0x3e, 0x99, 0xc5, 0x25, 0x42, 0x5a, 0x5c, 0x1c, 0x50, 0xb3, 0x40, 0x2a, 0x99, 0x35, 0xb8, 111 0x8d, 0xf8, 0xf4, 0xc0, 0xa6, 0xe9, 0x41, 0x55, 0x05, 0xc1, 0xe5, 0x93, 0xd8, 0xc0, 0xb6, 0x19, 112 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x7e, 0x7d, 0x9c, 0x50, 0x7e, 0x00, 0x00, 0x00, 113 }