github.com/hechain20/hechain@v0.0.0-20220316014945-b544036ba106/core/ledger/pvtdatastorage/persistent_msgs.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: persistent_msgs.proto 3 4 package pvtdatastorage 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 ExpiryData struct { 24 Map map[string]*NamespaceExpiryData `protobuf:"bytes,1,rep,name=map,proto3" json:"map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 25 XXX_NoUnkeyedLiteral struct{} `json:"-"` 26 XXX_unrecognized []byte `json:"-"` 27 XXX_sizecache int32 `json:"-"` 28 } 29 30 func (m *ExpiryData) Reset() { *m = ExpiryData{} } 31 func (m *ExpiryData) String() string { return proto.CompactTextString(m) } 32 func (*ExpiryData) ProtoMessage() {} 33 func (*ExpiryData) Descriptor() ([]byte, []int) { 34 return fileDescriptor_0f0cbd2d16bac879, []int{0} 35 } 36 37 func (m *ExpiryData) XXX_Unmarshal(b []byte) error { 38 return xxx_messageInfo_ExpiryData.Unmarshal(m, b) 39 } 40 func (m *ExpiryData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 41 return xxx_messageInfo_ExpiryData.Marshal(b, m, deterministic) 42 } 43 func (m *ExpiryData) XXX_Merge(src proto.Message) { 44 xxx_messageInfo_ExpiryData.Merge(m, src) 45 } 46 func (m *ExpiryData) XXX_Size() int { 47 return xxx_messageInfo_ExpiryData.Size(m) 48 } 49 func (m *ExpiryData) XXX_DiscardUnknown() { 50 xxx_messageInfo_ExpiryData.DiscardUnknown(m) 51 } 52 53 var xxx_messageInfo_ExpiryData proto.InternalMessageInfo 54 55 func (m *ExpiryData) GetMap() map[string]*NamespaceExpiryData { 56 if m != nil { 57 return m.Map 58 } 59 return nil 60 } 61 62 type NamespaceExpiryData struct { 63 // for pvt data, there would be an 64 // entry in TxNums 65 PresentData map[string]*TxNums `protobuf:"bytes,1,rep,name=presentData,proto3" json:"presentData,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 66 // for any number of missing pvt data of a collection, 67 // there would be an entry in the map 68 MissingData map[string]bool `protobuf:"bytes,2,rep,name=missingData,proto3" json:"missingData,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 69 //entries for hashes for the pvtdata key-values (loaded from snapshot data) 70 BootKVHashes map[string]*TxNums `protobuf:"bytes,3,rep,name=bootKVHashes,proto3" json:"bootKVHashes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 71 XXX_NoUnkeyedLiteral struct{} `json:"-"` 72 XXX_unrecognized []byte `json:"-"` 73 XXX_sizecache int32 `json:"-"` 74 } 75 76 func (m *NamespaceExpiryData) Reset() { *m = NamespaceExpiryData{} } 77 func (m *NamespaceExpiryData) String() string { return proto.CompactTextString(m) } 78 func (*NamespaceExpiryData) ProtoMessage() {} 79 func (*NamespaceExpiryData) Descriptor() ([]byte, []int) { 80 return fileDescriptor_0f0cbd2d16bac879, []int{1} 81 } 82 83 func (m *NamespaceExpiryData) XXX_Unmarshal(b []byte) error { 84 return xxx_messageInfo_NamespaceExpiryData.Unmarshal(m, b) 85 } 86 func (m *NamespaceExpiryData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 87 return xxx_messageInfo_NamespaceExpiryData.Marshal(b, m, deterministic) 88 } 89 func (m *NamespaceExpiryData) XXX_Merge(src proto.Message) { 90 xxx_messageInfo_NamespaceExpiryData.Merge(m, src) 91 } 92 func (m *NamespaceExpiryData) XXX_Size() int { 93 return xxx_messageInfo_NamespaceExpiryData.Size(m) 94 } 95 func (m *NamespaceExpiryData) XXX_DiscardUnknown() { 96 xxx_messageInfo_NamespaceExpiryData.DiscardUnknown(m) 97 } 98 99 var xxx_messageInfo_NamespaceExpiryData proto.InternalMessageInfo 100 101 func (m *NamespaceExpiryData) GetPresentData() map[string]*TxNums { 102 if m != nil { 103 return m.PresentData 104 } 105 return nil 106 } 107 108 func (m *NamespaceExpiryData) GetMissingData() map[string]bool { 109 if m != nil { 110 return m.MissingData 111 } 112 return nil 113 } 114 115 func (m *NamespaceExpiryData) GetBootKVHashes() map[string]*TxNums { 116 if m != nil { 117 return m.BootKVHashes 118 } 119 return nil 120 } 121 122 type BootKVHash struct { 123 KeyHash []byte `protobuf:"bytes,1,opt,name=keyHash,proto3" json:"keyHash,omitempty"` 124 ValueHash []byte `protobuf:"bytes,2,opt,name=valueHash,proto3" json:"valueHash,omitempty"` 125 XXX_NoUnkeyedLiteral struct{} `json:"-"` 126 XXX_unrecognized []byte `json:"-"` 127 XXX_sizecache int32 `json:"-"` 128 } 129 130 func (m *BootKVHash) Reset() { *m = BootKVHash{} } 131 func (m *BootKVHash) String() string { return proto.CompactTextString(m) } 132 func (*BootKVHash) ProtoMessage() {} 133 func (*BootKVHash) Descriptor() ([]byte, []int) { 134 return fileDescriptor_0f0cbd2d16bac879, []int{2} 135 } 136 137 func (m *BootKVHash) XXX_Unmarshal(b []byte) error { 138 return xxx_messageInfo_BootKVHash.Unmarshal(m, b) 139 } 140 func (m *BootKVHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 141 return xxx_messageInfo_BootKVHash.Marshal(b, m, deterministic) 142 } 143 func (m *BootKVHash) XXX_Merge(src proto.Message) { 144 xxx_messageInfo_BootKVHash.Merge(m, src) 145 } 146 func (m *BootKVHash) XXX_Size() int { 147 return xxx_messageInfo_BootKVHash.Size(m) 148 } 149 func (m *BootKVHash) XXX_DiscardUnknown() { 150 xxx_messageInfo_BootKVHash.DiscardUnknown(m) 151 } 152 153 var xxx_messageInfo_BootKVHash proto.InternalMessageInfo 154 155 func (m *BootKVHash) GetKeyHash() []byte { 156 if m != nil { 157 return m.KeyHash 158 } 159 return nil 160 } 161 162 func (m *BootKVHash) GetValueHash() []byte { 163 if m != nil { 164 return m.ValueHash 165 } 166 return nil 167 } 168 169 type BootKVHashes struct { 170 List []*BootKVHash `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` 171 XXX_NoUnkeyedLiteral struct{} `json:"-"` 172 XXX_unrecognized []byte `json:"-"` 173 XXX_sizecache int32 `json:"-"` 174 } 175 176 func (m *BootKVHashes) Reset() { *m = BootKVHashes{} } 177 func (m *BootKVHashes) String() string { return proto.CompactTextString(m) } 178 func (*BootKVHashes) ProtoMessage() {} 179 func (*BootKVHashes) Descriptor() ([]byte, []int) { 180 return fileDescriptor_0f0cbd2d16bac879, []int{3} 181 } 182 183 func (m *BootKVHashes) XXX_Unmarshal(b []byte) error { 184 return xxx_messageInfo_BootKVHashes.Unmarshal(m, b) 185 } 186 func (m *BootKVHashes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 187 return xxx_messageInfo_BootKVHashes.Marshal(b, m, deterministic) 188 } 189 func (m *BootKVHashes) XXX_Merge(src proto.Message) { 190 xxx_messageInfo_BootKVHashes.Merge(m, src) 191 } 192 func (m *BootKVHashes) XXX_Size() int { 193 return xxx_messageInfo_BootKVHashes.Size(m) 194 } 195 func (m *BootKVHashes) XXX_DiscardUnknown() { 196 xxx_messageInfo_BootKVHashes.DiscardUnknown(m) 197 } 198 199 var xxx_messageInfo_BootKVHashes proto.InternalMessageInfo 200 201 func (m *BootKVHashes) GetList() []*BootKVHash { 202 if m != nil { 203 return m.List 204 } 205 return nil 206 } 207 208 type TxNums struct { 209 List []uint64 `protobuf:"varint,1,rep,packed,name=list,proto3" json:"list,omitempty"` 210 XXX_NoUnkeyedLiteral struct{} `json:"-"` 211 XXX_unrecognized []byte `json:"-"` 212 XXX_sizecache int32 `json:"-"` 213 } 214 215 func (m *TxNums) Reset() { *m = TxNums{} } 216 func (m *TxNums) String() string { return proto.CompactTextString(m) } 217 func (*TxNums) ProtoMessage() {} 218 func (*TxNums) Descriptor() ([]byte, []int) { 219 return fileDescriptor_0f0cbd2d16bac879, []int{4} 220 } 221 222 func (m *TxNums) XXX_Unmarshal(b []byte) error { 223 return xxx_messageInfo_TxNums.Unmarshal(m, b) 224 } 225 func (m *TxNums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 226 return xxx_messageInfo_TxNums.Marshal(b, m, deterministic) 227 } 228 func (m *TxNums) XXX_Merge(src proto.Message) { 229 xxx_messageInfo_TxNums.Merge(m, src) 230 } 231 func (m *TxNums) XXX_Size() int { 232 return xxx_messageInfo_TxNums.Size(m) 233 } 234 func (m *TxNums) XXX_DiscardUnknown() { 235 xxx_messageInfo_TxNums.DiscardUnknown(m) 236 } 237 238 var xxx_messageInfo_TxNums proto.InternalMessageInfo 239 240 func (m *TxNums) GetList() []uint64 { 241 if m != nil { 242 return m.List 243 } 244 return nil 245 } 246 247 type CollElgInfo struct { 248 NsCollMap map[string]*CollNames `protobuf:"bytes,1,rep,name=nsCollMap,proto3" json:"nsCollMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 249 XXX_NoUnkeyedLiteral struct{} `json:"-"` 250 XXX_unrecognized []byte `json:"-"` 251 XXX_sizecache int32 `json:"-"` 252 } 253 254 func (m *CollElgInfo) Reset() { *m = CollElgInfo{} } 255 func (m *CollElgInfo) String() string { return proto.CompactTextString(m) } 256 func (*CollElgInfo) ProtoMessage() {} 257 func (*CollElgInfo) Descriptor() ([]byte, []int) { 258 return fileDescriptor_0f0cbd2d16bac879, []int{5} 259 } 260 261 func (m *CollElgInfo) XXX_Unmarshal(b []byte) error { 262 return xxx_messageInfo_CollElgInfo.Unmarshal(m, b) 263 } 264 func (m *CollElgInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 265 return xxx_messageInfo_CollElgInfo.Marshal(b, m, deterministic) 266 } 267 func (m *CollElgInfo) XXX_Merge(src proto.Message) { 268 xxx_messageInfo_CollElgInfo.Merge(m, src) 269 } 270 func (m *CollElgInfo) XXX_Size() int { 271 return xxx_messageInfo_CollElgInfo.Size(m) 272 } 273 func (m *CollElgInfo) XXX_DiscardUnknown() { 274 xxx_messageInfo_CollElgInfo.DiscardUnknown(m) 275 } 276 277 var xxx_messageInfo_CollElgInfo proto.InternalMessageInfo 278 279 func (m *CollElgInfo) GetNsCollMap() map[string]*CollNames { 280 if m != nil { 281 return m.NsCollMap 282 } 283 return nil 284 } 285 286 type CollNames struct { 287 Entries []string `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` 288 XXX_NoUnkeyedLiteral struct{} `json:"-"` 289 XXX_unrecognized []byte `json:"-"` 290 XXX_sizecache int32 `json:"-"` 291 } 292 293 func (m *CollNames) Reset() { *m = CollNames{} } 294 func (m *CollNames) String() string { return proto.CompactTextString(m) } 295 func (*CollNames) ProtoMessage() {} 296 func (*CollNames) Descriptor() ([]byte, []int) { 297 return fileDescriptor_0f0cbd2d16bac879, []int{6} 298 } 299 300 func (m *CollNames) XXX_Unmarshal(b []byte) error { 301 return xxx_messageInfo_CollNames.Unmarshal(m, b) 302 } 303 func (m *CollNames) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 304 return xxx_messageInfo_CollNames.Marshal(b, m, deterministic) 305 } 306 func (m *CollNames) XXX_Merge(src proto.Message) { 307 xxx_messageInfo_CollNames.Merge(m, src) 308 } 309 func (m *CollNames) XXX_Size() int { 310 return xxx_messageInfo_CollNames.Size(m) 311 } 312 func (m *CollNames) XXX_DiscardUnknown() { 313 xxx_messageInfo_CollNames.DiscardUnknown(m) 314 } 315 316 var xxx_messageInfo_CollNames proto.InternalMessageInfo 317 318 func (m *CollNames) GetEntries() []string { 319 if m != nil { 320 return m.Entries 321 } 322 return nil 323 } 324 325 func init() { 326 proto.RegisterType((*ExpiryData)(nil), "pvtdatastorage.ExpiryData") 327 proto.RegisterMapType((map[string]*NamespaceExpiryData)(nil), "pvtdatastorage.ExpiryData.MapEntry") 328 proto.RegisterType((*NamespaceExpiryData)(nil), "pvtdatastorage.NamespaceExpiryData") 329 proto.RegisterMapType((map[string]*TxNums)(nil), "pvtdatastorage.NamespaceExpiryData.BootKVHashesEntry") 330 proto.RegisterMapType((map[string]bool)(nil), "pvtdatastorage.NamespaceExpiryData.MissingDataEntry") 331 proto.RegisterMapType((map[string]*TxNums)(nil), "pvtdatastorage.NamespaceExpiryData.PresentDataEntry") 332 proto.RegisterType((*BootKVHash)(nil), "pvtdatastorage.BootKVHash") 333 proto.RegisterType((*BootKVHashes)(nil), "pvtdatastorage.BootKVHashes") 334 proto.RegisterType((*TxNums)(nil), "pvtdatastorage.TxNums") 335 proto.RegisterType((*CollElgInfo)(nil), "pvtdatastorage.CollElgInfo") 336 proto.RegisterMapType((map[string]*CollNames)(nil), "pvtdatastorage.CollElgInfo.NsCollMapEntry") 337 proto.RegisterType((*CollNames)(nil), "pvtdatastorage.CollNames") 338 } 339 340 func init() { proto.RegisterFile("persistent_msgs.proto", fileDescriptor_0f0cbd2d16bac879) } 341 342 var fileDescriptor_0f0cbd2d16bac879 = []byte{ 343 // 481 bytes of a gzipped FileDescriptorProto 344 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0xdf, 0x6a, 0xdb, 0x3e, 345 0x14, 0xc7, 0x71, 0x92, 0x5f, 0x7f, 0xf5, 0x49, 0x28, 0x99, 0xf6, 0x07, 0xcf, 0xf4, 0x22, 0x78, 346 0x0c, 0xca, 0x18, 0x36, 0x6c, 0x2b, 0x74, 0xbd, 0xe8, 0x45, 0xd7, 0x40, 0xc7, 0x48, 0x18, 0x66, 347 0xa4, 0x6c, 0xbb, 0x18, 0x4a, 0x7a, 0xea, 0x98, 0xda, 0x96, 0x90, 0x94, 0x52, 0x3f, 0xc6, 0xde, 348 0x60, 0x8f, 0xb0, 0x47, 0x1c, 0x96, 0x9d, 0x5a, 0xf6, 0x7c, 0x91, 0x8b, 0xdd, 0x49, 0xe7, 0x7c, 349 0xbf, 0x9f, 0x73, 0x74, 0x24, 0x1b, 0x9e, 0x72, 0x14, 0x32, 0x96, 0x0a, 0x33, 0xf5, 0x23, 0x95, 350 0x91, 0xf4, 0xb9, 0x60, 0x8a, 0x91, 0x03, 0x7e, 0xa7, 0xae, 0xa9, 0xa2, 0x52, 0x31, 0x41, 0x23, 351 0xf4, 0x7e, 0x59, 0x00, 0xd3, 0x7b, 0x1e, 0x8b, 0xfc, 0x82, 0x2a, 0x4a, 0x8e, 0xa1, 0x9f, 0x52, 352 0xee, 0x58, 0x93, 0xfe, 0xd1, 0xf0, 0xcd, 0x0b, 0xbf, 0x29, 0xf6, 0x6b, 0xa1, 0x3f, 0xa3, 0x7c, 353 0x9a, 0x29, 0x91, 0x87, 0x85, 0xde, 0xfd, 0x0e, 0xfb, 0xdb, 0x00, 0x19, 0x43, 0xff, 0x16, 0x73, 354 0xc7, 0x9a, 0x58, 0x47, 0x76, 0x58, 0x2c, 0xc9, 0x7b, 0xf8, 0xef, 0x8e, 0x26, 0x1b, 0x74, 0x7a, 355 0x13, 0xab, 0x0b, 0x3b, 0xa7, 0x29, 0x4a, 0x4e, 0x57, 0x58, 0xf3, 0xc3, 0xd2, 0x71, 0xda, 0x3b, 356 0xb1, 0xbc, 0x9f, 0x03, 0x78, 0xdc, 0x21, 0x21, 0x0b, 0x18, 0x72, 0x81, 0x12, 0x33, 0x55, 0x6c, 357 0xab, 0x9e, 0xdf, 0xed, 0x00, 0xf7, 0x3f, 0xd7, 0xb6, 0xf2, 0x10, 0x26, 0xa8, 0xe0, 0xa6, 0xb1, 358 0x94, 0x71, 0x16, 0x69, 0x6e, 0x6f, 0x77, 0xee, 0xac, 0xb6, 0x55, 0x5c, 0x03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 370 0xf1, 0x62, 0xaa, 0x98, 0x29, 0x11, 0xa3, 0xd4, 0xdd, 0xda, 0xe1, 0x76, 0x7b, 0x7e, 0xfa, 0xed, 371 0x24, 0x8a, 0xd5, 0x7a, 0xb3, 0xf4, 0x57, 0x2c, 0x0d, 0xd6, 0x39, 0x47, 0x91, 0xe0, 0x75, 0x84, 372 0x22, 0xb8, 0xa1, 0x4b, 0x11, 0xaf, 0x82, 0x15, 0x13, 0x18, 0x54, 0xa1, 0x66, 0xdd, 0xe5, 0x9e, 373 0xfe, 0x0f, 0xbd, 0xfd, 0x13, 0x00, 0x00, 0xff, 0xff, 0xa1, 0x8d, 0x56, 0x84, 0xa0, 0x04, 0x00, 374 0x00, 375 }