github.com/hechain20/hechain@v0.0.0-20220316014945-b544036ba106/core/ledger/kvledger/txmgmt/txmgr/updates.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: updates.proto 3 4 package txmgr 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 KVWrite struct { 24 Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` 25 Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"` 26 Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` 27 IsDelete bool `protobuf:"varint,4,opt,name=isDelete,proto3" json:"isDelete,omitempty"` 28 Value []byte `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` 29 VersionBytes []byte `protobuf:"bytes,6,opt,name=version_bytes,json=versionBytes,proto3" json:"version_bytes,omitempty"` 30 XXX_NoUnkeyedLiteral struct{} `json:"-"` 31 XXX_unrecognized []byte `json:"-"` 32 XXX_sizecache int32 `json:"-"` 33 } 34 35 func (m *KVWrite) Reset() { *m = KVWrite{} } 36 func (m *KVWrite) String() string { return proto.CompactTextString(m) } 37 func (*KVWrite) ProtoMessage() {} 38 func (*KVWrite) Descriptor() ([]byte, []int) { 39 return fileDescriptor_675fc0bf03cd96fd, []int{0} 40 } 41 42 func (m *KVWrite) XXX_Unmarshal(b []byte) error { 43 return xxx_messageInfo_KVWrite.Unmarshal(m, b) 44 } 45 func (m *KVWrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 46 return xxx_messageInfo_KVWrite.Marshal(b, m, deterministic) 47 } 48 func (m *KVWrite) XXX_Merge(src proto.Message) { 49 xxx_messageInfo_KVWrite.Merge(m, src) 50 } 51 func (m *KVWrite) XXX_Size() int { 52 return xxx_messageInfo_KVWrite.Size(m) 53 } 54 func (m *KVWrite) XXX_DiscardUnknown() { 55 xxx_messageInfo_KVWrite.DiscardUnknown(m) 56 } 57 58 var xxx_messageInfo_KVWrite proto.InternalMessageInfo 59 60 func (m *KVWrite) GetNamespace() string { 61 if m != nil { 62 return m.Namespace 63 } 64 return "" 65 } 66 67 func (m *KVWrite) GetCollection() string { 68 if m != nil { 69 return m.Collection 70 } 71 return "" 72 } 73 74 func (m *KVWrite) GetKey() []byte { 75 if m != nil { 76 return m.Key 77 } 78 return nil 79 } 80 81 func (m *KVWrite) GetIsDelete() bool { 82 if m != nil { 83 return m.IsDelete 84 } 85 return false 86 } 87 88 func (m *KVWrite) GetValue() []byte { 89 if m != nil { 90 return m.Value 91 } 92 return nil 93 } 94 95 func (m *KVWrite) GetVersionBytes() []byte { 96 if m != nil { 97 return m.VersionBytes 98 } 99 return nil 100 } 101 102 type Updates struct { 103 Kvwrites []*KVWrite `protobuf:"bytes,1,rep,name=kvwrites,proto3" json:"kvwrites,omitempty"` 104 XXX_NoUnkeyedLiteral struct{} `json:"-"` 105 XXX_unrecognized []byte `json:"-"` 106 XXX_sizecache int32 `json:"-"` 107 } 108 109 func (m *Updates) Reset() { *m = Updates{} } 110 func (m *Updates) String() string { return proto.CompactTextString(m) } 111 func (*Updates) ProtoMessage() {} 112 func (*Updates) Descriptor() ([]byte, []int) { 113 return fileDescriptor_675fc0bf03cd96fd, []int{1} 114 } 115 116 func (m *Updates) XXX_Unmarshal(b []byte) error { 117 return xxx_messageInfo_Updates.Unmarshal(m, b) 118 } 119 func (m *Updates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 120 return xxx_messageInfo_Updates.Marshal(b, m, deterministic) 121 } 122 func (m *Updates) XXX_Merge(src proto.Message) { 123 xxx_messageInfo_Updates.Merge(m, src) 124 } 125 func (m *Updates) XXX_Size() int { 126 return xxx_messageInfo_Updates.Size(m) 127 } 128 func (m *Updates) XXX_DiscardUnknown() { 129 xxx_messageInfo_Updates.DiscardUnknown(m) 130 } 131 132 var xxx_messageInfo_Updates proto.InternalMessageInfo 133 134 func (m *Updates) GetKvwrites() []*KVWrite { 135 if m != nil { 136 return m.Kvwrites 137 } 138 return nil 139 } 140 141 func init() { 142 proto.RegisterType((*KVWrite)(nil), "txmgr.KVWrite") 143 proto.RegisterType((*Updates)(nil), "txmgr.Updates") 144 } 145 146 func init() { proto.RegisterFile("updates.proto", fileDescriptor_675fc0bf03cd96fd) } 147 148 var fileDescriptor_675fc0bf03cd96fd = []byte{ 149 // 260 bytes of a gzipped FileDescriptorProto 150 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0x41, 0x4b, 0xc4, 0x30, 151 0x10, 0x85, 0x89, 0xb5, 0xbb, 0xdd, 0x71, 0x57, 0x24, 0x78, 0x08, 0x22, 0x52, 0xd6, 0x4b, 0xf1, 152 0xd0, 0x82, 0xe2, 0x59, 0x5c, 0xbc, 0x79, 0x2b, 0xa8, 0xe0, 0x45, 0xd2, 0xec, 0xd8, 0x0d, 0x4d, 153 0x9b, 0x92, 0xa4, 0xd5, 0xfe, 0x2b, 0x7f, 0xa2, 0x34, 0x5b, 0x56, 0x4f, 0x79, 0xef, 0x7b, 0x61, 154 0x98, 0x37, 0xb0, 0xea, 0xda, 0x2d, 0x77, 0x68, 0xd3, 0xd6, 0x68, 0xa7, 0x69, 0xe8, 0xbe, 0xeb, 155 0xd2, 0xac, 0x7f, 0x08, 0xcc, 0x9f, 0x5f, 0xdf, 0x8c, 0x74, 0x48, 0x2f, 0x61, 0xd1, 0xf0, 0x1a, 156 0x6d, 0xcb, 0x05, 0x32, 0x12, 0x93, 0x64, 0x91, 0xff, 0x01, 0x7a, 0x05, 0x20, 0xb4, 0x52, 0x28, 157 0x9c, 0xd4, 0x0d, 0x3b, 0xf2, 0xf1, 0x3f, 0x42, 0xcf, 0x20, 0xa8, 0x70, 0x60, 0x41, 0x4c, 0x92, 158 0x65, 0x3e, 0x4a, 0x7a, 0x01, 0x91, 0xb4, 0x4f, 0xa8, 0xd0, 0x21, 0x3b, 0x8e, 0x49, 0x12, 0xe5, 159 0x07, 0x4f, 0xcf, 0x21, 0xec, 0xb9, 0xea, 0x90, 0x85, 0xfe, 0xff, 0xde, 0xd0, 0x6b, 0x58, 0xf5, 160 0x68, 0xac, 0xd4, 0xcd, 0x47, 0x31, 0x38, 0xb4, 0x6c, 0xe6, 0xd3, 0xe5, 0x04, 0x37, 0x23, 0x5b, 161 0xdf, 0xc3, 0xfc, 0x65, 0x5f, 0x85, 0xde, 0x40, 0x54, 0xf5, 0x5f, 0xe3, 0xf2, 0x96, 0x91, 0x38, 162 0x48, 0x4e, 0x6e, 0x4f, 0x53, 0xdf, 0x2b, 0x9d, 0x3a, 0xe5, 0x87, 0x7c, 0xf3, 0xf8, 0xfe, 0x50, 163 0x4a, 0xb7, 0xeb, 0x8a, 0x54, 0xe8, 0x3a, 0xdb, 0x0d, 0x2d, 0x1a, 0x85, 0xdb, 0x12, 0x4d, 0xf6, 164 0xc9, 0x0b, 0x23, 0x45, 0x26, 0xb4, 0xc1, 0x6c, 0x42, 0x55, 0x3f, 0x89, 0x71, 0x5a, 0xed, 0xfc, 165 0x63, 0x8a, 0x99, 0x3f, 0xdd, 0xdd, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf8, 0xfa, 0x17, 0xa7, 166 0x4b, 0x01, 0x00, 0x00, 167 }