github.com/osdi23p228/fabric@v0.0.0-20221218062954-77808885f5db/core/ledger/kvledger/txmgmt/statedb/statecouchdb/dbvalue.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: dbvalue.proto 3 4 package statecouchdb 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 ValueVersionMetadata struct { 24 Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` 25 VersionAndMetadata []byte `protobuf:"bytes,2,opt,name=version_and_metadata,json=versionAndMetadata,proto3" json:"version_and_metadata,omitempty"` 26 XXX_NoUnkeyedLiteral struct{} `json:"-"` 27 XXX_unrecognized []byte `json:"-"` 28 XXX_sizecache int32 `json:"-"` 29 } 30 31 func (m *ValueVersionMetadata) Reset() { *m = ValueVersionMetadata{} } 32 func (m *ValueVersionMetadata) String() string { return proto.CompactTextString(m) } 33 func (*ValueVersionMetadata) ProtoMessage() {} 34 func (*ValueVersionMetadata) Descriptor() ([]byte, []int) { 35 return fileDescriptor_cc31cde9d22795c4, []int{0} 36 } 37 38 func (m *ValueVersionMetadata) XXX_Unmarshal(b []byte) error { 39 return xxx_messageInfo_ValueVersionMetadata.Unmarshal(m, b) 40 } 41 func (m *ValueVersionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 42 return xxx_messageInfo_ValueVersionMetadata.Marshal(b, m, deterministic) 43 } 44 func (m *ValueVersionMetadata) XXX_Merge(src proto.Message) { 45 xxx_messageInfo_ValueVersionMetadata.Merge(m, src) 46 } 47 func (m *ValueVersionMetadata) XXX_Size() int { 48 return xxx_messageInfo_ValueVersionMetadata.Size(m) 49 } 50 func (m *ValueVersionMetadata) XXX_DiscardUnknown() { 51 xxx_messageInfo_ValueVersionMetadata.DiscardUnknown(m) 52 } 53 54 var xxx_messageInfo_ValueVersionMetadata proto.InternalMessageInfo 55 56 func (m *ValueVersionMetadata) GetValue() []byte { 57 if m != nil { 58 return m.Value 59 } 60 return nil 61 } 62 63 func (m *ValueVersionMetadata) GetVersionAndMetadata() []byte { 64 if m != nil { 65 return m.VersionAndMetadata 66 } 67 return nil 68 } 69 70 type VersionAndMetadata struct { 71 Version []byte `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` 72 Metadata []byte `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` 73 XXX_NoUnkeyedLiteral struct{} `json:"-"` 74 XXX_unrecognized []byte `json:"-"` 75 XXX_sizecache int32 `json:"-"` 76 } 77 78 func (m *VersionAndMetadata) Reset() { *m = VersionAndMetadata{} } 79 func (m *VersionAndMetadata) String() string { return proto.CompactTextString(m) } 80 func (*VersionAndMetadata) ProtoMessage() {} 81 func (*VersionAndMetadata) Descriptor() ([]byte, []int) { 82 return fileDescriptor_cc31cde9d22795c4, []int{1} 83 } 84 85 func (m *VersionAndMetadata) XXX_Unmarshal(b []byte) error { 86 return xxx_messageInfo_VersionAndMetadata.Unmarshal(m, b) 87 } 88 func (m *VersionAndMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 89 return xxx_messageInfo_VersionAndMetadata.Marshal(b, m, deterministic) 90 } 91 func (m *VersionAndMetadata) XXX_Merge(src proto.Message) { 92 xxx_messageInfo_VersionAndMetadata.Merge(m, src) 93 } 94 func (m *VersionAndMetadata) XXX_Size() int { 95 return xxx_messageInfo_VersionAndMetadata.Size(m) 96 } 97 func (m *VersionAndMetadata) XXX_DiscardUnknown() { 98 xxx_messageInfo_VersionAndMetadata.DiscardUnknown(m) 99 } 100 101 var xxx_messageInfo_VersionAndMetadata proto.InternalMessageInfo 102 103 func (m *VersionAndMetadata) GetVersion() []byte { 104 if m != nil { 105 return m.Version 106 } 107 return nil 108 } 109 110 func (m *VersionAndMetadata) GetMetadata() []byte { 111 if m != nil { 112 return m.Metadata 113 } 114 return nil 115 } 116 117 func init() { 118 proto.RegisterType((*ValueVersionMetadata)(nil), "statecouchdb.ValueVersionMetadata") 119 proto.RegisterType((*VersionAndMetadata)(nil), "statecouchdb.VersionAndMetadata") 120 } 121 122 func init() { proto.RegisterFile("dbvalue.proto", fileDescriptor_cc31cde9d22795c4) } 123 124 var fileDescriptor_cc31cde9d22795c4 = []byte{ 125 // 206 bytes of a gzipped FileDescriptorProto 126 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4d, 0x49, 0x2a, 0x4b, 127 0xcc, 0x29, 0x4d, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x29, 0x2e, 0x49, 0x2c, 0x49, 128 0x4d, 0xce, 0x2f, 0x4d, 0xce, 0x48, 0x49, 0x52, 0x8a, 0xe3, 0x12, 0x09, 0x03, 0x49, 0x86, 0xa5, 129 0x16, 0x15, 0x67, 0xe6, 0xe7, 0xf9, 0xa6, 0x96, 0x24, 0xa6, 0x24, 0x96, 0x24, 0x0a, 0x89, 0x70, 130 0xb1, 0x82, 0x35, 0x49, 0x30, 0x2a, 0x30, 0x6a, 0xf0, 0x04, 0x41, 0x38, 0x42, 0x06, 0x5c, 0x22, 131 0x65, 0x10, 0x85, 0xf1, 0x89, 0x79, 0x29, 0xf1, 0xb9, 0x50, 0xd5, 0x12, 0x4c, 0x60, 0x45, 0x42, 132 0x50, 0x39, 0xc7, 0xbc, 0x14, 0x98, 0x39, 0x4a, 0x5e, 0x5c, 0x42, 0x61, 0x18, 0xa2, 0x42, 0x12, 133 0x5c, 0xec, 0x50, 0xb5, 0x50, 0xf3, 0x61, 0x5c, 0x21, 0x29, 0x2e, 0x0e, 0x34, 0x53, 0xe1, 0x7c, 134 0xa7, 0x80, 0x28, 0xbf, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0xfd, 0x8c, 135 0xca, 0x82, 0xd4, 0xa2, 0x9c, 0xd4, 0x94, 0xf4, 0xd4, 0x22, 0xfd, 0xb4, 0xc4, 0xa4, 0xa2, 0xcc, 136 0x64, 0xfd, 0xe4, 0xfc, 0xa2, 0x54, 0x7d, 0xa8, 0x50, 0x76, 0x19, 0x94, 0x51, 0x52, 0x91, 0x9b, 137 0x9e, 0x5b, 0xa2, 0x0f, 0xf6, 0x75, 0x4a, 0x92, 0x3e, 0xb2, 0xef, 0x93, 0xd8, 0xc0, 0x41, 0x62, 138 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x86, 0xe3, 0xfa, 0x9e, 0x23, 0x01, 0x00, 0x00, 139 }