github.com/inklabsfoundation/inkchain@v0.17.1-0.20181025012015-c3cef8062f19/protos/ledger/transet/transet.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: ledger/transet/transet.proto 3 4 /* 5 Package transet is a generated protocol buffer package. 6 7 It is generated from these files: 8 ledger/transet/transet.proto 9 10 It has these top-level messages: 11 Version 12 TranSet 13 */ 14 package transet 15 16 import proto "github.com/golang/protobuf/proto" 17 import fmt "fmt" 18 import math "math" 19 20 // Reference imports to suppress errors if they are not otherwise used. 21 var _ = proto.Marshal 22 var _ = fmt.Errorf 23 var _ = math.Inf 24 25 // This is a compile-time assertion to ensure that this generated file 26 // is compatible with the proto package it is being compiled against. 27 // A compilation error at this line likely means your copy of the 28 // proto package needs to be updated. 29 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 30 31 type Version struct { 32 BlockNum uint64 `protobuf:"varint,1,opt,name=block_num,json=blockNum" json:"block_num,omitempty"` 33 TxNum uint64 `protobuf:"varint,2,opt,name=tx_num,json=txNum" json:"tx_num,omitempty"` 34 } 35 36 func (m *Version) Reset() { *m = Version{} } 37 func (m *Version) String() string { return proto.CompactTextString(m) } 38 func (*Version) ProtoMessage() {} 39 func (*Version) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } 40 41 func (m *Version) GetBlockNum() uint64 { 42 if m != nil { 43 return m.BlockNum 44 } 45 return 0 46 } 47 48 func (m *Version) GetTxNum() uint64 { 49 if m != nil { 50 return m.TxNum 51 } 52 return 0 53 } 54 55 type TranSet struct { 56 From string `protobuf:"bytes,1,opt,name=from" json:"from,omitempty"` 57 FromVer *Version `protobuf:"bytes,2,opt,name=from_ver,json=fromVer" json:"from_ver,omitempty"` 58 Transet []byte `protobuf:"bytes,3,opt,name=transet,proto3" json:"transet,omitempty"` 59 } 60 61 func (m *TranSet) Reset() { *m = TranSet{} } 62 func (m *TranSet) String() string { return proto.CompactTextString(m) } 63 func (*TranSet) ProtoMessage() {} 64 func (*TranSet) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } 65 66 func (m *TranSet) GetFrom() string { 67 if m != nil { 68 return m.From 69 } 70 return "" 71 } 72 73 func (m *TranSet) GetFromVer() *Version { 74 if m != nil { 75 return m.FromVer 76 } 77 return nil 78 } 79 80 func (m *TranSet) GetTranset() []byte { 81 if m != nil { 82 return m.Transet 83 } 84 return nil 85 } 86 87 func init() { 88 proto.RegisterType((*Version)(nil), "transet.Version") 89 proto.RegisterType((*TranSet)(nil), "transet.TranSet") 90 } 91 92 func init() { proto.RegisterFile("ledger/transet/transet.proto", fileDescriptor0) } 93 94 var fileDescriptor0 = []byte{ 95 // 238 bytes of a gzipped FileDescriptorProto 96 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0x41, 0x4b, 0xc3, 0x40, 97 0x10, 0x85, 0x89, 0xd6, 0xa6, 0x1d, 0x3d, 0xc8, 0x82, 0x10, 0xd0, 0x43, 0xe9, 0xa9, 0x20, 0xec, 98 0x82, 0x7a, 0x13, 0x2f, 0xfe, 0x80, 0x1e, 0xa2, 0xf4, 0xe0, 0xa5, 0x6c, 0x92, 0x6d, 0xba, 0x34, 99 0xd9, 0x91, 0xd9, 0x59, 0xe9, 0xcf, 0x97, 0x6c, 0xb2, 0x07, 0xf1, 0x34, 0x3b, 0x6f, 0xf6, 0x63, 100 0xde, 0x1b, 0x78, 0xe8, 0x4c, 0xd3, 0x1a, 0x52, 0x4c, 0xda, 0x79, 0xc3, 0xa9, 0xca, 0x6f, 0x42, 101 0x46, 0x91, 0x4f, 0xed, 0xfa, 0x0d, 0xf2, 0x9d, 0x21, 0x6f, 0xd1, 0x89, 0x7b, 0x58, 0x56, 0x1d, 102 0xd6, 0xa7, 0xbd, 0x0b, 0x7d, 0x91, 0xad, 0xb2, 0xcd, 0xac, 0x5c, 0x44, 0x61, 0x1b, 0x7a, 0x71, 103 0x07, 0x73, 0x3e, 0xc7, 0xc9, 0x45, 0x9c, 0x5c, 0xf1, 0x79, 0x1b, 0xfa, 0x75, 0x03, 0xf9, 0x27, 104 0x69, 0xf7, 0x61, 0x58, 0x08, 0x98, 0x1d, 0x08, 0x47, 0x72, 0x59, 0xc6, 0xb7, 0x78, 0x84, 0xc5, 105 0x50, 0xf7, 0x3f, 0x86, 0x22, 0x77, 0xfd, 0x74, 0x2b, 0x93, 0x91, 0x69, 0x6d, 0x99, 0x0f, 0x3f, 106 0x76, 0x86, 0x44, 0x01, 0xc9, 0x55, 0x71, 0xb9, 0xca, 0x36, 0x37, 0x65, 0x6a, 0xdf, 0x3d, 0xbc, 107 0x20, 0xb5, 0xd2, 0xba, 0x53, 0xa7, 0x2b, 0x7f, 0xc0, 0xe0, 0x1a, 0xcd, 0x16, 0xdd, 0xa0, 0xd4, 108 0x47, 0x6d, 0xdd, 0x98, 0xca, 0xcb, 0x31, 0x73, 0x5a, 0xf1, 0xf5, 0xda, 0x5a, 0x3e, 0x86, 0x4a, 109 0xd6, 0xd8, 0xab, 0x7f, 0xb0, 0x4a, 0xb0, 0x1a, 0x61, 0xf5, 0xf7, 0x60, 0xd5, 0x3c, 0xca, 0xcf, 110 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb8, 0x7f, 0x44, 0x34, 0x49, 0x01, 0x00, 0x00, 111 }