github.com/osdi23p228/fabric@v0.0.0-20221218062954-77808885f5db/common/ledger/blkstorage/storage.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: storage.proto 3 4 package blkstorage 5 6 import ( 7 fmt "fmt" 8 proto "github.com/golang/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.ProtoPackageIsVersion3 // please upgrade the proto package 22 23 type TxIDIndexValue struct { 24 BlkLocation []byte `protobuf:"bytes,1,opt,name=blk_location,json=blkLocation,proto3" json:"blk_location,omitempty"` 25 TxLocation []byte `protobuf:"bytes,2,opt,name=tx_location,json=txLocation,proto3" json:"tx_location,omitempty"` 26 TxValidationCode int32 `protobuf:"varint,3,opt,name=tx_validation_code,json=txValidationCode,proto3" json:"tx_validation_code,omitempty"` 27 XXX_NoUnkeyedLiteral struct{} `json:"-"` 28 XXX_unrecognized []byte `json:"-"` 29 XXX_sizecache int32 `json:"-"` 30 } 31 32 func (m *TxIDIndexValue) Reset() { *m = TxIDIndexValue{} } 33 func (m *TxIDIndexValue) String() string { return proto.CompactTextString(m) } 34 func (*TxIDIndexValue) ProtoMessage() {} 35 func (*TxIDIndexValue) Descriptor() ([]byte, []int) { 36 return fileDescriptor_0d2c4ccf1453ffdb, []int{0} 37 } 38 39 func (m *TxIDIndexValue) XXX_Unmarshal(b []byte) error { 40 return xxx_messageInfo_TxIDIndexValue.Unmarshal(m, b) 41 } 42 func (m *TxIDIndexValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 43 return xxx_messageInfo_TxIDIndexValue.Marshal(b, m, deterministic) 44 } 45 func (m *TxIDIndexValue) XXX_Merge(src proto.Message) { 46 xxx_messageInfo_TxIDIndexValue.Merge(m, src) 47 } 48 func (m *TxIDIndexValue) XXX_Size() int { 49 return xxx_messageInfo_TxIDIndexValue.Size(m) 50 } 51 func (m *TxIDIndexValue) XXX_DiscardUnknown() { 52 xxx_messageInfo_TxIDIndexValue.DiscardUnknown(m) 53 } 54 55 var xxx_messageInfo_TxIDIndexValue proto.InternalMessageInfo 56 57 func (m *TxIDIndexValue) GetBlkLocation() []byte { 58 if m != nil { 59 return m.BlkLocation 60 } 61 return nil 62 } 63 64 func (m *TxIDIndexValue) GetTxLocation() []byte { 65 if m != nil { 66 return m.TxLocation 67 } 68 return nil 69 } 70 71 func (m *TxIDIndexValue) GetTxValidationCode() int32 { 72 if m != nil { 73 return m.TxValidationCode 74 } 75 return 0 76 } 77 78 type BootstrappingSnapshotInfo struct { 79 LastBlockNum uint64 `protobuf:"varint,1,opt,name=lastBlockNum,proto3" json:"lastBlockNum,omitempty"` 80 LastBlockHash []byte `protobuf:"bytes,2,opt,name=lastBlockHash,proto3" json:"lastBlockHash,omitempty"` 81 PreviousBlockHash []byte `protobuf:"bytes,3,opt,name=previousBlockHash,proto3" json:"previousBlockHash,omitempty"` 82 XXX_NoUnkeyedLiteral struct{} `json:"-"` 83 XXX_unrecognized []byte `json:"-"` 84 XXX_sizecache int32 `json:"-"` 85 } 86 87 func (m *BootstrappingSnapshotInfo) Reset() { *m = BootstrappingSnapshotInfo{} } 88 func (m *BootstrappingSnapshotInfo) String() string { return proto.CompactTextString(m) } 89 func (*BootstrappingSnapshotInfo) ProtoMessage() {} 90 func (*BootstrappingSnapshotInfo) Descriptor() ([]byte, []int) { 91 return fileDescriptor_0d2c4ccf1453ffdb, []int{1} 92 } 93 94 func (m *BootstrappingSnapshotInfo) XXX_Unmarshal(b []byte) error { 95 return xxx_messageInfo_BootstrappingSnapshotInfo.Unmarshal(m, b) 96 } 97 func (m *BootstrappingSnapshotInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 98 return xxx_messageInfo_BootstrappingSnapshotInfo.Marshal(b, m, deterministic) 99 } 100 func (m *BootstrappingSnapshotInfo) XXX_Merge(src proto.Message) { 101 xxx_messageInfo_BootstrappingSnapshotInfo.Merge(m, src) 102 } 103 func (m *BootstrappingSnapshotInfo) XXX_Size() int { 104 return xxx_messageInfo_BootstrappingSnapshotInfo.Size(m) 105 } 106 func (m *BootstrappingSnapshotInfo) XXX_DiscardUnknown() { 107 xxx_messageInfo_BootstrappingSnapshotInfo.DiscardUnknown(m) 108 } 109 110 var xxx_messageInfo_BootstrappingSnapshotInfo proto.InternalMessageInfo 111 112 func (m *BootstrappingSnapshotInfo) GetLastBlockNum() uint64 { 113 if m != nil { 114 return m.LastBlockNum 115 } 116 return 0 117 } 118 119 func (m *BootstrappingSnapshotInfo) GetLastBlockHash() []byte { 120 if m != nil { 121 return m.LastBlockHash 122 } 123 return nil 124 } 125 126 func (m *BootstrappingSnapshotInfo) GetPreviousBlockHash() []byte { 127 if m != nil { 128 return m.PreviousBlockHash 129 } 130 return nil 131 } 132 133 func init() { 134 proto.RegisterType((*TxIDIndexValue)(nil), "msgs.txIDIndexValue") 135 proto.RegisterType((*BootstrappingSnapshotInfo)(nil), "msgs.bootstrappingSnapshotInfo") 136 } 137 138 func init() { proto.RegisterFile("storage.proto", fileDescriptor_0d2c4ccf1453ffdb) } 139 140 var fileDescriptor_0d2c4ccf1453ffdb = []byte{ 141 // 271 bytes of a gzipped FileDescriptorProto 142 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0x41, 0x4b, 0xf3, 0x40, 143 0x10, 0x86, 0xc9, 0xd7, 0x7e, 0x1e, 0xa6, 0xa9, 0xe8, 0x9e, 0xea, 0xc9, 0x1a, 0x3c, 0xf4, 0x50, 144 0x9a, 0x83, 0x20, 0x9e, 0xab, 0x07, 0x03, 0xe2, 0x21, 0x82, 0x07, 0x2f, 0x61, 0x77, 0xb3, 0x4d, 145 0x96, 0x6c, 0x76, 0x96, 0xdd, 0x49, 0x89, 0x57,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