github.com/ZihuaZhang/fabric-protos-go@v1.0.7/peer/lifecycle/lifecycle.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: peer/lifecycle/lifecycle.proto 3 4 package lifecycle 5 6 import ( 7 fmt "fmt" 8 proto "github.com/golang/protobuf/proto" 9 peer "github.com/ZihuaZhang/fabric-protos-go/peer" 10 math "math" 11 ) 12 13 // Reference imports to suppress errors if they are not otherwise used. 14 var _ = proto.Marshal 15 var _ = fmt.Errorf 16 var _ = math.Inf 17 18 // This is a compile-time assertion to ensure that this generated file 19 // is compatible with the proto package it is being compiled against. 20 // A compilation error at this line likely means your copy of the 21 // proto package needs to be updated. 22 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 23 24 // InstallChaincodeArgs is the message used as the argument to 25 // '_lifecycle.InstallChaincode'. 26 type InstallChaincodeArgs struct { 27 ChaincodeInstallPackage []byte `protobuf:"bytes,1,opt,name=chaincode_install_package,json=chaincodeInstallPackage,proto3" json:"chaincode_install_package,omitempty"` 28 XXX_NoUnkeyedLiteral struct{} `json:"-"` 29 XXX_unrecognized []byte `json:"-"` 30 XXX_sizecache int32 `json:"-"` 31 } 32 33 func (m *InstallChaincodeArgs) Reset() { *m = InstallChaincodeArgs{} } 34 func (m *InstallChaincodeArgs) String() string { return proto.CompactTextString(m) } 35 func (*InstallChaincodeArgs) ProtoMessage() {} 36 func (*InstallChaincodeArgs) Descriptor() ([]byte, []int) { 37 return fileDescriptor_6625a5b20951add3, []int{0} 38 } 39 40 func (m *InstallChaincodeArgs) XXX_Unmarshal(b []byte) error { 41 return xxx_messageInfo_InstallChaincodeArgs.Unmarshal(m, b) 42 } 43 func (m *InstallChaincodeArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 44 return xxx_messageInfo_InstallChaincodeArgs.Marshal(b, m, deterministic) 45 } 46 func (m *InstallChaincodeArgs) XXX_Merge(src proto.Message) { 47 xxx_messageInfo_InstallChaincodeArgs.Merge(m, src) 48 } 49 func (m *InstallChaincodeArgs) XXX_Size() int { 50 return xxx_messageInfo_InstallChaincodeArgs.Size(m) 51 } 52 func (m *InstallChaincodeArgs) XXX_DiscardUnknown() { 53 xxx_messageInfo_InstallChaincodeArgs.DiscardUnknown(m) 54 } 55 56 var xxx_messageInfo_InstallChaincodeArgs proto.InternalMessageInfo 57 58 func (m *InstallChaincodeArgs) GetChaincodeInstallPackage() []byte { 59 if m != nil { 60 return m.ChaincodeInstallPackage 61 } 62 return nil 63 } 64 65 // InstallChaincodeArgs is the message returned by 66 // '_lifecycle.InstallChaincode'. 67 type InstallChaincodeResult struct { 68 PackageId string `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"` 69 Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` 70 XXX_NoUnkeyedLiteral struct{} `json:"-"` 71 XXX_unrecognized []byte `json:"-"` 72 XXX_sizecache int32 `json:"-"` 73 } 74 75 func (m *InstallChaincodeResult) Reset() { *m = InstallChaincodeResult{} } 76 func (m *InstallChaincodeResult) String() string { return proto.CompactTextString(m) } 77 func (*InstallChaincodeResult) ProtoMessage() {} 78 func (*InstallChaincodeResult) Descriptor() ([]byte, []int) { 79 return fileDescriptor_6625a5b20951add3, []int{1} 80 } 81 82 func (m *InstallChaincodeResult) XXX_Unmarshal(b []byte) error { 83 return xxx_messageInfo_InstallChaincodeResult.Unmarshal(m, b) 84 } 85 func (m *InstallChaincodeResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 86 return xxx_messageInfo_InstallChaincodeResult.Marshal(b, m, deterministic) 87 } 88 func (m *InstallChaincodeResult) XXX_Merge(src proto.Message) { 89 xxx_messageInfo_InstallChaincodeResult.Merge(m, src) 90 } 91 func (m *InstallChaincodeResult) XXX_Size() int { 92 return xxx_messageInfo_InstallChaincodeResult.Size(m) 93 } 94 func (m *InstallChaincodeResult) XXX_DiscardUnknown() { 95 xxx_messageInfo_InstallChaincodeResult.DiscardUnknown(m) 96 } 97 98 var xxx_messageInfo_InstallChaincodeResult proto.InternalMessageInfo 99 100 func (m *InstallChaincodeResult) GetPackageId() string { 101 if m != nil { 102 return m.PackageId 103 } 104 return "" 105 } 106 107 func (m *InstallChaincodeResult) GetLabel() string { 108 if m != nil { 109 return m.Label 110 } 111 return "" 112 } 113 114 // QueryInstalledChaincodeArgs is the message used as arguments 115 // '_lifecycle.QueryInstalledChaincode' 116 type QueryInstalledChaincodeArgs struct { 117 PackageId string `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"` 118 XXX_NoUnkeyedLiteral struct{} `json:"-"` 119 XXX_unrecognized []byte `json:"-"` 120 XXX_sizecache int32 `json:"-"` 121 } 122 123 func (m *QueryInstalledChaincodeArgs) Reset() { *m = QueryInstalledChaincodeArgs{} } 124 func (m *QueryInstalledChaincodeArgs) String() string { return proto.CompactTextString(m) } 125 func (*QueryInstalledChaincodeArgs) ProtoMessage() {} 126 func (*QueryInstalledChaincodeArgs) Descriptor() ([]byte, []int) { 127 return fileDescriptor_6625a5b20951add3, []int{2} 128 } 129 130 func (m *QueryInstalledChaincodeArgs) XXX_Unmarshal(b []byte) error { 131 return xxx_messageInfo_QueryInstalledChaincodeArgs.Unmarshal(m, b) 132 } 133 func (m *QueryInstalledChaincodeArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 134 return xxx_messageInfo_QueryInstalledChaincodeArgs.Marshal(b, m, deterministic) 135 } 136 func (m *QueryInstalledChaincodeArgs) XXX_Merge(src proto.Message) { 137 xxx_messageInfo_QueryInstalledChaincodeArgs.Merge(m, src) 138 } 139 func (m *QueryInstalledChaincodeArgs) XXX_Size() int { 140 return xxx_messageInfo_QueryInstalledChaincodeArgs.Size(m) 141 } 142 func (m *QueryInstalledChaincodeArgs) XXX_DiscardUnknown() { 143 xxx_messageInfo_QueryInstalledChaincodeArgs.DiscardUnknown(m) 144 } 145 146 var xxx_messageInfo_QueryInstalledChaincodeArgs proto.InternalMessageInfo 147 148 func (m *QueryInstalledChaincodeArgs) GetPackageId() string { 149 if m != nil { 150 return m.PackageId 151 } 152 return "" 153 } 154 155 // QueryInstalledChaincodeResult is the message returned by 156 // '_lifecycle.QueryInstalledChaincode' 157 type QueryInstalledChaincodeResult struct { 158 PackageId string `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"` 159 Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` 160 References map[string]*QueryInstalledChaincodeResult_References `protobuf:"bytes,3,rep,name=references,proto3" json:"references,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 161 XXX_NoUnkeyedLiteral struct{} `json:"-"` 162 XXX_unrecognized []byte `json:"-"` 163 XXX_sizecache int32 `json:"-"` 164 } 165 166 func (m *QueryInstalledChaincodeResult) Reset() { *m = QueryInstalledChaincodeResult{} } 167 func (m *QueryInstalledChaincodeResult) String() string { return proto.CompactTextString(m) } 168 func (*QueryInstalledChaincodeResult) ProtoMessage() {} 169 func (*QueryInstalledChaincodeResult) Descriptor() ([]byte, []int) { 170 return fileDescriptor_6625a5b20951add3, []int{3} 171 } 172 173 func (m *QueryInstalledChaincodeResult) XXX_Unmarshal(b []byte) error { 174 return xxx_messageInfo_QueryInstalledChaincodeResult.Unmarshal(m, b) 175 } 176 func (m *QueryInstalledChaincodeResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 177 return xxx_messageInfo_QueryInstalledChaincodeResult.Marshal(b, m, deterministic) 178 } 179 func (m *QueryInstalledChaincodeResult) XXX_Merge(src proto.Message) { 180 xxx_messageInfo_QueryInstalledChaincodeResult.Merge(m, src) 181 } 182 func (m *QueryInstalledChaincodeResult) XXX_Size() int { 183 return xxx_messageInfo_QueryInstalledChaincodeResult.Size(m) 184 } 185 func (m *QueryInstalledChaincodeResult) XXX_DiscardUnknown() { 186 xxx_messageInfo_QueryInstalledChaincodeResult.DiscardUnknown(m) 187 } 188 189 var xxx_messageInfo_QueryInstalledChaincodeResult proto.InternalMessageInfo 190 191 func (m *QueryInstalledChaincodeResult) GetPackageId() string { 192 if m != nil { 193 return m.PackageId 194 } 195 return "" 196 } 197 198 func (m *QueryInstalledChaincodeResult) GetLabel() string { 199 if m != nil { 200 return m.Label 201 } 202 return "" 203 } 204 205 func (m *QueryInstalledChaincodeResult) GetReferences() map[string]*QueryInstalledChaincodeResult_References { 206 if m != nil { 207 return m.References 208 } 209 return nil 210 } 211 212 type QueryInstalledChaincodeResult_References struct { 213 Chaincodes []*QueryInstalledChaincodeResult_Chaincode `protobuf:"bytes,1,rep,name=chaincodes,proto3" json:"chaincodes,omitempty"` 214 XXX_NoUnkeyedLiteral struct{} `json:"-"` 215 XXX_unrecognized []byte `json:"-"` 216 XXX_sizecache int32 `json:"-"` 217 } 218 219 func (m *QueryInstalledChaincodeResult_References) Reset() { 220 *m = QueryInstalledChaincodeResult_References{} 221 } 222 func (m *QueryInstalledChaincodeResult_References) String() string { return proto.CompactTextString(m) } 223 func (*QueryInstalledChaincodeResult_References) ProtoMessage() {} 224 func (*QueryInstalledChaincodeResult_References) Descriptor() ([]byte, []int) { 225 return fileDescriptor_6625a5b20951add3, []int{3, 1} 226 } 227 228 func (m *QueryInstalledChaincodeResult_References) XXX_Unmarshal(b []byte) error { 229 return xxx_messageInfo_QueryInstalledChaincodeResult_References.Unmarshal(m, b) 230 } 231 func (m *QueryInstalledChaincodeResult_References) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 232 return xxx_messageInfo_QueryInstalledChaincodeResult_References.Marshal(b, m, deterministic) 233 } 234 func (m *QueryInstalledChaincodeResult_References) XXX_Merge(src proto.Message) { 235 xxx_messageInfo_QueryInstalledChaincodeResult_References.Merge(m, src) 236 } 237 func (m *QueryInstalledChaincodeResult_References) XXX_Size() int { 238 return xxx_messageInfo_QueryInstalledChaincodeResult_References.Size(m) 239 } 240 func (m *QueryInstalledChaincodeResult_References) XXX_DiscardUnknown() { 241 xxx_messageInfo_QueryInstalledChaincodeResult_References.DiscardUnknown(m) 242 } 243 244 var xxx_messageInfo_QueryInstalledChaincodeResult_References proto.InternalMessageInfo 245 246 func (m *QueryInstalledChaincodeResult_References) GetChaincodes() []*QueryInstalledChaincodeResult_Chaincode { 247 if m != nil { 248 return m.Chaincodes 249 } 250 return nil 251 } 252 253 type QueryInstalledChaincodeResult_Chaincode struct { 254 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 255 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` 256 XXX_NoUnkeyedLiteral struct{} `json:"-"` 257 XXX_unrecognized []byte `json:"-"` 258 XXX_sizecache int32 `json:"-"` 259 } 260 261 func (m *QueryInstalledChaincodeResult_Chaincode) Reset() { 262 *m = QueryInstalledChaincodeResult_Chaincode{} 263 } 264 func (m *QueryInstalledChaincodeResult_Chaincode) String() string { return proto.CompactTextString(m) } 265 func (*QueryInstalledChaincodeResult_Chaincode) ProtoMessage() {} 266 func (*QueryInstalledChaincodeResult_Chaincode) Descriptor() ([]byte, []int) { 267 return fileDescriptor_6625a5b20951add3, []int{3, 2} 268 } 269 270 func (m *QueryInstalledChaincodeResult_Chaincode) XXX_Unmarshal(b []byte) error { 271 return xxx_messageInfo_QueryInstalledChaincodeResult_Chaincode.Unmarshal(m, b) 272 } 273 func (m *QueryInstalledChaincodeResult_Chaincode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 274 return xxx_messageInfo_QueryInstalledChaincodeResult_Chaincode.Marshal(b, m, deterministic) 275 } 276 func (m *QueryInstalledChaincodeResult_Chaincode) XXX_Merge(src proto.Message) { 277 xxx_messageInfo_QueryInstalledChaincodeResult_Chaincode.Merge(m, src) 278 } 279 func (m *QueryInstalledChaincodeResult_Chaincode) XXX_Size() int { 280 return xxx_messageInfo_QueryInstalledChaincodeResult_Chaincode.Size(m) 281 } 282 func (m *QueryInstalledChaincodeResult_Chaincode) XXX_DiscardUnknown() { 283 xxx_messageInfo_QueryInstalledChaincodeResult_Chaincode.DiscardUnknown(m) 284 } 285 286 var xxx_messageInfo_QueryInstalledChaincodeResult_Chaincode proto.InternalMessageInfo 287 288 func (m *QueryInstalledChaincodeResult_Chaincode) GetName() string { 289 if m != nil { 290 return m.Name 291 } 292 return "" 293 } 294 295 func (m *QueryInstalledChaincodeResult_Chaincode) GetVersion() string { 296 if m != nil { 297 return m.Version 298 } 299 return "" 300 } 301 302 // GetInstalledChaincodePackageArgs is the message used as the argument to 303 // '_lifecycle.GetInstalledChaincodePackage'. 304 type GetInstalledChaincodePackageArgs struct { 305 PackageId string `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"` 306 XXX_NoUnkeyedLiteral struct{} `json:"-"` 307 XXX_unrecognized []byte `json:"-"` 308 XXX_sizecache int32 `json:"-"` 309 } 310 311 func (m *GetInstalledChaincodePackageArgs) Reset() { *m = GetInstalledChaincodePackageArgs{} } 312 func (m *GetInstalledChaincodePackageArgs) String() string { return proto.CompactTextString(m) } 313 func (*GetInstalledChaincodePackageArgs) ProtoMessage() {} 314 func (*GetInstalledChaincodePackageArgs) Descriptor() ([]byte, []int) { 315 return fileDescriptor_6625a5b20951add3, []int{4} 316 } 317 318 func (m *GetInstalledChaincodePackageArgs) XXX_Unmarshal(b []byte) error { 319 return xxx_messageInfo_GetInstalledChaincodePackageArgs.Unmarshal(m, b) 320 } 321 func (m *GetInstalledChaincodePackageArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 322 return xxx_messageInfo_GetInstalledChaincodePackageArgs.Marshal(b, m, deterministic) 323 } 324 func (m *GetInstalledChaincodePackageArgs) XXX_Merge(src proto.Message) { 325 xxx_messageInfo_GetInstalledChaincodePackageArgs.Merge(m, src) 326 } 327 func (m *GetInstalledChaincodePackageArgs) XXX_Size() int { 328 return xxx_messageInfo_GetInstalledChaincodePackageArgs.Size(m) 329 } 330 func (m *GetInstalledChaincodePackageArgs) XXX_DiscardUnknown() { 331 xxx_messageInfo_GetInstalledChaincodePackageArgs.DiscardUnknown(m) 332 } 333 334 var xxx_messageInfo_GetInstalledChaincodePackageArgs proto.InternalMessageInfo 335 336 func (m *GetInstalledChaincodePackageArgs) GetPackageId() string { 337 if m != nil { 338 return m.PackageId 339 } 340 return "" 341 } 342 343 // GetInstalledChaincodePackageResult is the message returned by 344 // '_lifecycle.GetInstalledChaincodePackage'. 345 type GetInstalledChaincodePackageResult struct { 346 ChaincodeInstallPackage []byte `protobuf:"bytes,1,opt,name=chaincode_install_package,json=chaincodeInstallPackage,proto3" json:"chaincode_install_package,omitempty"` 347 XXX_NoUnkeyedLiteral struct{} `json:"-"` 348 XXX_unrecognized []byte `json:"-"` 349 XXX_sizecache int32 `json:"-"` 350 } 351 352 func (m *GetInstalledChaincodePackageResult) Reset() { *m = GetInstalledChaincodePackageResult{} } 353 func (m *GetInstalledChaincodePackageResult) String() string { return proto.CompactTextString(m) } 354 func (*GetInstalledChaincodePackageResult) ProtoMessage() {} 355 func (*GetInstalledChaincodePackageResult) Descriptor() ([]byte, []int) { 356 return fileDescriptor_6625a5b20951add3, []int{5} 357 } 358 359 func (m *GetInstalledChaincodePackageResult) XXX_Unmarshal(b []byte) error { 360 return xxx_messageInfo_GetInstalledChaincodePackageResult.Unmarshal(m, b) 361 } 362 func (m *GetInstalledChaincodePackageResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 363 return xxx_messageInfo_GetInstalledChaincodePackageResult.Marshal(b, m, deterministic) 364 } 365 func (m *GetInstalledChaincodePackageResult) XXX_Merge(src proto.Message) { 366 xxx_messageInfo_GetInstalledChaincodePackageResult.Merge(m, src) 367 } 368 func (m *GetInstalledChaincodePackageResult) XXX_Size() int { 369 return xxx_messageInfo_GetInstalledChaincodePackageResult.Size(m) 370 } 371 func (m *GetInstalledChaincodePackageResult) XXX_DiscardUnknown() { 372 xxx_messageInfo_GetInstalledChaincodePackageResult.DiscardUnknown(m) 373 } 374 375 var xxx_messageInfo_GetInstalledChaincodePackageResult proto.InternalMessageInfo 376 377 func (m *GetInstalledChaincodePackageResult) GetChaincodeInstallPackage() []byte { 378 if m != nil { 379 return m.ChaincodeInstallPackage 380 } 381 return nil 382 } 383 384 // QueryInstalledChaincodesArgs currently is an empty argument to 385 // '_lifecycle.QueryInstalledChaincodes'. In the future, it may be 386 // extended to have parameters. 387 type QueryInstalledChaincodesArgs struct { 388 XXX_NoUnkeyedLiteral struct{} `json:"-"` 389 XXX_unrecognized []byte `json:"-"` 390 XXX_sizecache int32 `json:"-"` 391 } 392 393 func (m *QueryInstalledChaincodesArgs) Reset() { *m = QueryInstalledChaincodesArgs{} } 394 func (m *QueryInstalledChaincodesArgs) String() string { return proto.CompactTextString(m) } 395 func (*QueryInstalledChaincodesArgs) ProtoMessage() {} 396 func (*QueryInstalledChaincodesArgs) Descriptor() ([]byte, []int) { 397 return fileDescriptor_6625a5b20951add3, []int{6} 398 } 399 400 func (m *QueryInstalledChaincodesArgs) XXX_Unmarshal(b []byte) error { 401 return xxx_messageInfo_QueryInstalledChaincodesArgs.Unmarshal(m, b) 402 } 403 func (m *QueryInstalledChaincodesArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 404 return xxx_messageInfo_QueryInstalledChaincodesArgs.Marshal(b, m, deterministic) 405 } 406 func (m *QueryInstalledChaincodesArgs) XXX_Merge(src proto.Message) { 407 xxx_messageInfo_QueryInstalledChaincodesArgs.Merge(m, src) 408 } 409 func (m *QueryInstalledChaincodesArgs) XXX_Size() int { 410 return xxx_messageInfo_QueryInstalledChaincodesArgs.Size(m) 411 } 412 func (m *QueryInstalledChaincodesArgs) XXX_DiscardUnknown() { 413 xxx_messageInfo_QueryInstalledChaincodesArgs.DiscardUnknown(m) 414 } 415 416 var xxx_messageInfo_QueryInstalledChaincodesArgs proto.InternalMessageInfo 417 418 // QueryInstalledChaincodesResult is the message returned by 419 // '_lifecycle.QueryInstalledChaincodes'. It returns a list of installed 420 // chaincodes, including a map of channel name to chaincode name and version 421 // pairs of chaincode definitions that reference this chaincode package. 422 type QueryInstalledChaincodesResult struct { 423 InstalledChaincodes []*QueryInstalledChaincodesResult_InstalledChaincode `protobuf:"bytes,1,rep,name=installed_chaincodes,json=installedChaincodes,proto3" json:"installed_chaincodes,omitempty"` 424 XXX_NoUnkeyedLiteral struct{} `json:"-"` 425 XXX_unrecognized []byte `json:"-"` 426 XXX_sizecache int32 `json:"-"` 427 } 428 429 func (m *QueryInstalledChaincodesResult) Reset() { *m = QueryInstalledChaincodesResult{} } 430 func (m *QueryInstalledChaincodesResult) String() string { return proto.CompactTextString(m) } 431 func (*QueryInstalledChaincodesResult) ProtoMessage() {} 432 func (*QueryInstalledChaincodesResult) Descriptor() ([]byte, []int) { 433 return fileDescriptor_6625a5b20951add3, []int{7} 434 } 435 436 func (m *QueryInstalledChaincodesResult) XXX_Unmarshal(b []byte) error { 437 return xxx_messageInfo_QueryInstalledChaincodesResult.Unmarshal(m, b) 438 } 439 func (m *QueryInstalledChaincodesResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 440 return xxx_messageInfo_QueryInstalledChaincodesResult.Marshal(b, m, deterministic) 441 } 442 func (m *QueryInstalledChaincodesResult) XXX_Merge(src proto.Message) { 443 xxx_messageInfo_QueryInstalledChaincodesResult.Merge(m, src) 444 } 445 func (m *QueryInstalledChaincodesResult) XXX_Size() int { 446 return xxx_messageInfo_QueryInstalledChaincodesResult.Size(m) 447 } 448 func (m *QueryInstalledChaincodesResult) XXX_DiscardUnknown() { 449 xxx_messageInfo_QueryInstalledChaincodesResult.DiscardUnknown(m) 450 } 451 452 var xxx_messageInfo_QueryInstalledChaincodesResult proto.InternalMessageInfo 453 454 func (m *QueryInstalledChaincodesResult) GetInstalledChaincodes() []*QueryInstalledChaincodesResult_InstalledChaincode { 455 if m != nil { 456 return m.InstalledChaincodes 457 } 458 return nil 459 } 460 461 type QueryInstalledChaincodesResult_InstalledChaincode struct { 462 PackageId string `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"` 463 Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` 464 References map[string]*QueryInstalledChaincodesResult_References `protobuf:"bytes,3,rep,name=references,proto3" json:"references,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 465 XXX_NoUnkeyedLiteral struct{} `json:"-"` 466 XXX_unrecognized []byte `json:"-"` 467 XXX_sizecache int32 `json:"-"` 468 } 469 470 func (m *QueryInstalledChaincodesResult_InstalledChaincode) Reset() { 471 *m = QueryInstalledChaincodesResult_InstalledChaincode{} 472 } 473 func (m *QueryInstalledChaincodesResult_InstalledChaincode) String() string { 474 return proto.CompactTextString(m) 475 } 476 func (*QueryInstalledChaincodesResult_InstalledChaincode) ProtoMessage() {} 477 func (*QueryInstalledChaincodesResult_InstalledChaincode) Descriptor() ([]byte, []int) { 478 return fileDescriptor_6625a5b20951add3, []int{7, 0} 479 } 480 481 func (m *QueryInstalledChaincodesResult_InstalledChaincode) XXX_Unmarshal(b []byte) error { 482 return xxx_messageInfo_QueryInstalledChaincodesResult_InstalledChaincode.Unmarshal(m, b) 483 } 484 func (m *QueryInstalledChaincodesResult_InstalledChaincode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 485 return xxx_messageInfo_QueryInstalledChaincodesResult_InstalledChaincode.Marshal(b, m, deterministic) 486 } 487 func (m *QueryInstalledChaincodesResult_InstalledChaincode) XXX_Merge(src proto.Message) { 488 xxx_messageInfo_QueryInstalledChaincodesResult_InstalledChaincode.Merge(m, src) 489 } 490 func (m *QueryInstalledChaincodesResult_InstalledChaincode) XXX_Size() int { 491 return xxx_messageInfo_QueryInstalledChaincodesResult_InstalledChaincode.Size(m) 492 } 493 func (m *QueryInstalledChaincodesResult_InstalledChaincode) XXX_DiscardUnknown() { 494 xxx_messageInfo_QueryInstalledChaincodesResult_InstalledChaincode.DiscardUnknown(m) 495 } 496 497 var xxx_messageInfo_QueryInstalledChaincodesResult_InstalledChaincode proto.InternalMessageInfo 498 499 func (m *QueryInstalledChaincodesResult_InstalledChaincode) GetPackageId() string { 500 if m != nil { 501 return m.PackageId 502 } 503 return "" 504 } 505 506 func (m *QueryInstalledChaincodesResult_InstalledChaincode) GetLabel() string { 507 if m != nil { 508 return m.Label 509 } 510 return "" 511 } 512 513 func (m *QueryInstalledChaincodesResult_InstalledChaincode) GetReferences() map[string]*QueryInstalledChaincodesResult_References { 514 if m != nil { 515 return m.References 516 } 517 return nil 518 } 519 520 type QueryInstalledChaincodesResult_References struct { 521 Chaincodes []*QueryInstalledChaincodesResult_Chaincode `protobuf:"bytes,1,rep,name=chaincodes,proto3" json:"chaincodes,omitempty"` 522 XXX_NoUnkeyedLiteral struct{} `json:"-"` 523 XXX_unrecognized []byte `json:"-"` 524 XXX_sizecache int32 `json:"-"` 525 } 526 527 func (m *QueryInstalledChaincodesResult_References) Reset() { 528 *m = QueryInstalledChaincodesResult_References{} 529 } 530 func (m *QueryInstalledChaincodesResult_References) String() string { 531 return proto.CompactTextString(m) 532 } 533 func (*QueryInstalledChaincodesResult_References) ProtoMessage() {} 534 func (*QueryInstalledChaincodesResult_References) Descriptor() ([]byte, []int) { 535 return fileDescriptor_6625a5b20951add3, []int{7, 1} 536 } 537 538 func (m *QueryInstalledChaincodesResult_References) XXX_Unmarshal(b []byte) error { 539 return xxx_messageInfo_QueryInstalledChaincodesResult_References.Unmarshal(m, b) 540 } 541 func (m *QueryInstalledChaincodesResult_References) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 542 return xxx_messageInfo_QueryInstalledChaincodesResult_References.Marshal(b, m, deterministic) 543 } 544 func (m *QueryInstalledChaincodesResult_References) XXX_Merge(src proto.Message) { 545 xxx_messageInfo_QueryInstalledChaincodesResult_References.Merge(m, src) 546 } 547 func (m *QueryInstalledChaincodesResult_References) XXX_Size() int { 548 return xxx_messageInfo_QueryInstalledChaincodesResult_References.Size(m) 549 } 550 func (m *QueryInstalledChaincodesResult_References) XXX_DiscardUnknown() { 551 xxx_messageInfo_QueryInstalledChaincodesResult_References.DiscardUnknown(m) 552 } 553 554 var xxx_messageInfo_QueryInstalledChaincodesResult_References proto.InternalMessageInfo 555 556 func (m *QueryInstalledChaincodesResult_References) GetChaincodes() []*QueryInstalledChaincodesResult_Chaincode { 557 if m != nil { 558 return m.Chaincodes 559 } 560 return nil 561 } 562 563 type QueryInstalledChaincodesResult_Chaincode struct { 564 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 565 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` 566 XXX_NoUnkeyedLiteral struct{} `json:"-"` 567 XXX_unrecognized []byte `json:"-"` 568 XXX_sizecache int32 `json:"-"` 569 } 570 571 func (m *QueryInstalledChaincodesResult_Chaincode) Reset() { 572 *m = QueryInstalledChaincodesResult_Chaincode{} 573 } 574 func (m *QueryInstalledChaincodesResult_Chaincode) String() string { return proto.CompactTextString(m) } 575 func (*QueryInstalledChaincodesResult_Chaincode) ProtoMessage() {} 576 func (*QueryInstalledChaincodesResult_Chaincode) Descriptor() ([]byte, []int) { 577 return fileDescriptor_6625a5b20951add3, []int{7, 2} 578 } 579 580 func (m *QueryInstalledChaincodesResult_Chaincode) XXX_Unmarshal(b []byte) error { 581 return xxx_messageInfo_QueryInstalledChaincodesResult_Chaincode.Unmarshal(m, b) 582 } 583 func (m *QueryInstalledChaincodesResult_Chaincode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 584 return xxx_messageInfo_QueryInstalledChaincodesResult_Chaincode.Marshal(b, m, deterministic) 585 } 586 func (m *QueryInstalledChaincodesResult_Chaincode) XXX_Merge(src proto.Message) { 587 xxx_messageInfo_QueryInstalledChaincodesResult_Chaincode.Merge(m, src) 588 } 589 func (m *QueryInstalledChaincodesResult_Chaincode) XXX_Size() int { 590 return xxx_messageInfo_QueryInstalledChaincodesResult_Chaincode.Size(m) 591 } 592 func (m *QueryInstalledChaincodesResult_Chaincode) XXX_DiscardUnknown() { 593 xxx_messageInfo_QueryInstalledChaincodesResult_Chaincode.DiscardUnknown(m) 594 } 595 596 var xxx_messageInfo_QueryInstalledChaincodesResult_Chaincode proto.InternalMessageInfo 597 598 func (m *QueryInstalledChaincodesResult_Chaincode) GetName() string { 599 if m != nil { 600 return m.Name 601 } 602 return "" 603 } 604 605 func (m *QueryInstalledChaincodesResult_Chaincode) GetVersion() string { 606 if m != nil { 607 return m.Version 608 } 609 return "" 610 } 611 612 // ApproveChaincodeDefinitionForMyOrgArgs is the message used as arguments to 613 // `_lifecycle.ApproveChaincodeDefinitionForMyOrg`. 614 type ApproveChaincodeDefinitionForMyOrgArgs struct { 615 Sequence int64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` 616 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 617 Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` 618 EndorsementPlugin string `protobuf:"bytes,4,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"` 619 ValidationPlugin string `protobuf:"bytes,5,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"` 620 ValidationParameter []byte `protobuf:"bytes,6,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"` 621 Collections *peer.CollectionConfigPackage `protobuf:"bytes,7,opt,name=collections,proto3" json:"collections,omitempty"` 622 InitRequired bool `protobuf:"varint,8,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"` 623 Source *ChaincodeSource `protobuf:"bytes,9,opt,name=source,proto3" json:"source,omitempty"` 624 XXX_NoUnkeyedLiteral struct{} `json:"-"` 625 XXX_unrecognized []byte `json:"-"` 626 XXX_sizecache int32 `json:"-"` 627 } 628 629 func (m *ApproveChaincodeDefinitionForMyOrgArgs) Reset() { 630 *m = ApproveChaincodeDefinitionForMyOrgArgs{} 631 } 632 func (m *ApproveChaincodeDefinitionForMyOrgArgs) String() string { return proto.CompactTextString(m) } 633 func (*ApproveChaincodeDefinitionForMyOrgArgs) ProtoMessage() {} 634 func (*ApproveChaincodeDefinitionForMyOrgArgs) Descriptor() ([]byte, []int) { 635 return fileDescriptor_6625a5b20951add3, []int{8} 636 } 637 638 func (m *ApproveChaincodeDefinitionForMyOrgArgs) XXX_Unmarshal(b []byte) error { 639 return xxx_messageInfo_ApproveChaincodeDefinitionForMyOrgArgs.Unmarshal(m, b) 640 } 641 func (m *ApproveChaincodeDefinitionForMyOrgArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 642 return xxx_messageInfo_ApproveChaincodeDefinitionForMyOrgArgs.Marshal(b, m, deterministic) 643 } 644 func (m *ApproveChaincodeDefinitionForMyOrgArgs) XXX_Merge(src proto.Message) { 645 xxx_messageInfo_ApproveChaincodeDefinitionForMyOrgArgs.Merge(m, src) 646 } 647 func (m *ApproveChaincodeDefinitionForMyOrgArgs) XXX_Size() int { 648 return xxx_messageInfo_ApproveChaincodeDefinitionForMyOrgArgs.Size(m) 649 } 650 func (m *ApproveChaincodeDefinitionForMyOrgArgs) XXX_DiscardUnknown() { 651 xxx_messageInfo_ApproveChaincodeDefinitionForMyOrgArgs.DiscardUnknown(m) 652 } 653 654 var xxx_messageInfo_ApproveChaincodeDefinitionForMyOrgArgs proto.InternalMessageInfo 655 656 func (m *ApproveChaincodeDefinitionForMyOrgArgs) GetSequence() int64 { 657 if m != nil { 658 return m.Sequence 659 } 660 return 0 661 } 662 663 func (m *ApproveChaincodeDefinitionForMyOrgArgs) GetName() string { 664 if m != nil { 665 return m.Name 666 } 667 return "" 668 } 669 670 func (m *ApproveChaincodeDefinitionForMyOrgArgs) GetVersion() string { 671 if m != nil { 672 return m.Version 673 } 674 return "" 675 } 676 677 func (m *ApproveChaincodeDefinitionForMyOrgArgs) GetEndorsementPlugin() string { 678 if m != nil { 679 return m.EndorsementPlugin 680 } 681 return "" 682 } 683 684 func (m *ApproveChaincodeDefinitionForMyOrgArgs) GetValidationPlugin() string { 685 if m != nil { 686 return m.ValidationPlugin 687 } 688 return "" 689 } 690 691 func (m *ApproveChaincodeDefinitionForMyOrgArgs) GetValidationParameter() []byte { 692 if m != nil { 693 return m.ValidationParameter 694 } 695 return nil 696 } 697 698 func (m *ApproveChaincodeDefinitionForMyOrgArgs) GetCollections() *peer.CollectionConfigPackage { 699 if m != nil { 700 return m.Collections 701 } 702 return nil 703 } 704 705 func (m *ApproveChaincodeDefinitionForMyOrgArgs) GetInitRequired() bool { 706 if m != nil { 707 return m.InitRequired 708 } 709 return false 710 } 711 712 func (m *ApproveChaincodeDefinitionForMyOrgArgs) GetSource() *ChaincodeSource { 713 if m != nil { 714 return m.Source 715 } 716 return nil 717 } 718 719 type ChaincodeSource struct { 720 // Types that are valid to be assigned to Type: 721 // 722 // *ChaincodeSource_Unavailable_ 723 // *ChaincodeSource_LocalPackage 724 Type isChaincodeSource_Type `protobuf_oneof:"Type"` 725 XXX_NoUnkeyedLiteral struct{} `json:"-"` 726 XXX_unrecognized []byte `json:"-"` 727 XXX_sizecache int32 `json:"-"` 728 } 729 730 func (m *ChaincodeSource) Reset() { *m = ChaincodeSource{} } 731 func (m *ChaincodeSource) String() string { return proto.CompactTextString(m) } 732 func (*ChaincodeSource) ProtoMessage() {} 733 func (*ChaincodeSource) Descriptor() ([]byte, []int) { 734 return fileDescriptor_6625a5b20951add3, []int{9} 735 } 736 737 func (m *ChaincodeSource) XXX_Unmarshal(b []byte) error { 738 return xxx_messageInfo_ChaincodeSource.Unmarshal(m, b) 739 } 740 func (m *ChaincodeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 741 return xxx_messageInfo_ChaincodeSource.Marshal(b, m, deterministic) 742 } 743 func (m *ChaincodeSource) XXX_Merge(src proto.Message) { 744 xxx_messageInfo_ChaincodeSource.Merge(m, src) 745 } 746 func (m *ChaincodeSource) XXX_Size() int { 747 return xxx_messageInfo_ChaincodeSource.Size(m) 748 } 749 func (m *ChaincodeSource) XXX_DiscardUnknown() { 750 xxx_messageInfo_ChaincodeSource.DiscardUnknown(m) 751 } 752 753 var xxx_messageInfo_ChaincodeSource proto.InternalMessageInfo 754 755 type isChaincodeSource_Type interface { 756 isChaincodeSource_Type() 757 } 758 759 type ChaincodeSource_Unavailable_ struct { 760 Unavailable *ChaincodeSource_Unavailable `protobuf:"bytes,1,opt,name=unavailable,proto3,oneof"` 761 } 762 763 type ChaincodeSource_LocalPackage struct { 764 LocalPackage *ChaincodeSource_Local `protobuf:"bytes,2,opt,name=local_package,json=localPackage,proto3,oneof"` 765 } 766 767 func (*ChaincodeSource_Unavailable_) isChaincodeSource_Type() {} 768 769 func (*ChaincodeSource_LocalPackage) isChaincodeSource_Type() {} 770 771 func (m *ChaincodeSource) GetType() isChaincodeSource_Type { 772 if m != nil { 773 return m.Type 774 } 775 return nil 776 } 777 778 func (m *ChaincodeSource) GetUnavailable() *ChaincodeSource_Unavailable { 779 if x, ok := m.GetType().(*ChaincodeSource_Unavailable_); ok { 780 return x.Unavailable 781 } 782 return nil 783 } 784 785 func (m *ChaincodeSource) GetLocalPackage() *ChaincodeSource_Local { 786 if x, ok := m.GetType().(*ChaincodeSource_LocalPackage); ok { 787 return x.LocalPackage 788 } 789 return nil 790 } 791 792 // XXX_OneofWrappers is for the internal use of the proto package. 793 func (*ChaincodeSource) XXX_OneofWrappers() []interface{} { 794 return []interface{}{ 795 (*ChaincodeSource_Unavailable_)(nil), 796 (*ChaincodeSource_LocalPackage)(nil), 797 } 798 } 799 800 type ChaincodeSource_Unavailable struct { 801 XXX_NoUnkeyedLiteral struct{} `json:"-"` 802 XXX_unrecognized []byte `json:"-"` 803 XXX_sizecache int32 `json:"-"` 804 } 805 806 func (m *ChaincodeSource_Unavailable) Reset() { *m = ChaincodeSource_Unavailable{} } 807 func (m *ChaincodeSource_Unavailable) String() string { return proto.CompactTextString(m) } 808 func (*ChaincodeSource_Unavailable) ProtoMessage() {} 809 func (*ChaincodeSource_Unavailable) Descriptor() ([]byte, []int) { 810 return fileDescriptor_6625a5b20951add3, []int{9, 0} 811 } 812 813 func (m *ChaincodeSource_Unavailable) XXX_Unmarshal(b []byte) error { 814 return xxx_messageInfo_ChaincodeSource_Unavailable.Unmarshal(m, b) 815 } 816 func (m *ChaincodeSource_Unavailable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 817 return xxx_messageInfo_ChaincodeSource_Unavailable.Marshal(b, m, deterministic) 818 } 819 func (m *ChaincodeSource_Unavailable) XXX_Merge(src proto.Message) { 820 xxx_messageInfo_ChaincodeSource_Unavailable.Merge(m, src) 821 } 822 func (m *ChaincodeSource_Unavailable) XXX_Size() int { 823 return xxx_messageInfo_ChaincodeSource_Unavailable.Size(m) 824 } 825 func (m *ChaincodeSource_Unavailable) XXX_DiscardUnknown() { 826 xxx_messageInfo_ChaincodeSource_Unavailable.DiscardUnknown(m) 827 } 828 829 var xxx_messageInfo_ChaincodeSource_Unavailable proto.InternalMessageInfo 830 831 type ChaincodeSource_Local struct { 832 PackageId string `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"` 833 XXX_NoUnkeyedLiteral struct{} `json:"-"` 834 XXX_unrecognized []byte `json:"-"` 835 XXX_sizecache int32 `json:"-"` 836 } 837 838 func (m *ChaincodeSource_Local) Reset() { *m = ChaincodeSource_Local{} } 839 func (m *ChaincodeSource_Local) String() string { return proto.CompactTextString(m) } 840 func (*ChaincodeSource_Local) ProtoMessage() {} 841 func (*ChaincodeSource_Local) Descriptor() ([]byte, []int) { 842 return fileDescriptor_6625a5b20951add3, []int{9, 1} 843 } 844 845 func (m *ChaincodeSource_Local) XXX_Unmarshal(b []byte) error { 846 return xxx_messageInfo_ChaincodeSource_Local.Unmarshal(m, b) 847 } 848 func (m *ChaincodeSource_Local) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 849 return xxx_messageInfo_ChaincodeSource_Local.Marshal(b, m, deterministic) 850 } 851 func (m *ChaincodeSource_Local) XXX_Merge(src proto.Message) { 852 xxx_messageInfo_ChaincodeSource_Local.Merge(m, src) 853 } 854 func (m *ChaincodeSource_Local) XXX_Size() int { 855 return xxx_messageInfo_ChaincodeSource_Local.Size(m) 856 } 857 func (m *ChaincodeSource_Local) XXX_DiscardUnknown() { 858 xxx_messageInfo_ChaincodeSource_Local.DiscardUnknown(m) 859 } 860 861 var xxx_messageInfo_ChaincodeSource_Local proto.InternalMessageInfo 862 863 func (m *ChaincodeSource_Local) GetPackageId() string { 864 if m != nil { 865 return m.PackageId 866 } 867 return "" 868 } 869 870 // ApproveChaincodeDefinitionForMyOrgResult is the message returned by 871 // `_lifecycle.ApproveChaincodeDefinitionForMyOrg`. Currently it returns 872 // nothing, but may be extended in the future. 873 type ApproveChaincodeDefinitionForMyOrgResult struct { 874 XXX_NoUnkeyedLiteral struct{} `json:"-"` 875 XXX_unrecognized []byte `json:"-"` 876 XXX_sizecache int32 `json:"-"` 877 } 878 879 func (m *ApproveChaincodeDefinitionForMyOrgResult) Reset() { 880 *m = ApproveChaincodeDefinitionForMyOrgResult{} 881 } 882 func (m *ApproveChaincodeDefinitionForMyOrgResult) String() string { return proto.CompactTextString(m) } 883 func (*ApproveChaincodeDefinitionForMyOrgResult) ProtoMessage() {} 884 func (*ApproveChaincodeDefinitionForMyOrgResult) Descriptor() ([]byte, []int) { 885 return fileDescriptor_6625a5b20951add3, []int{10} 886 } 887 888 func (m *ApproveChaincodeDefinitionForMyOrgResult) XXX_Unmarshal(b []byte) error { 889 return xxx_messageInfo_ApproveChaincodeDefinitionForMyOrgResult.Unmarshal(m, b) 890 } 891 func (m *ApproveChaincodeDefinitionForMyOrgResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 892 return xxx_messageInfo_ApproveChaincodeDefinitionForMyOrgResult.Marshal(b, m, deterministic) 893 } 894 func (m *ApproveChaincodeDefinitionForMyOrgResult) XXX_Merge(src proto.Message) { 895 xxx_messageInfo_ApproveChaincodeDefinitionForMyOrgResult.Merge(m, src) 896 } 897 func (m *ApproveChaincodeDefinitionForMyOrgResult) XXX_Size() int { 898 return xxx_messageInfo_ApproveChaincodeDefinitionForMyOrgResult.Size(m) 899 } 900 func (m *ApproveChaincodeDefinitionForMyOrgResult) XXX_DiscardUnknown() { 901 xxx_messageInfo_ApproveChaincodeDefinitionForMyOrgResult.DiscardUnknown(m) 902 } 903 904 var xxx_messageInfo_ApproveChaincodeDefinitionForMyOrgResult proto.InternalMessageInfo 905 906 // CommitChaincodeDefinitionArgs is the message used as arguments to 907 // `_lifecycle.CommitChaincodeDefinition`. 908 type CommitChaincodeDefinitionArgs struct { 909 Sequence int64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` 910 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 911 Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` 912 EndorsementPlugin string `protobuf:"bytes,4,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"` 913 ValidationPlugin string `protobuf:"bytes,5,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"` 914 ValidationParameter []byte `protobuf:"bytes,6,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"` 915 Collections *peer.CollectionConfigPackage `protobuf:"bytes,7,opt,name=collections,proto3" json:"collections,omitempty"` 916 InitRequired bool `protobuf:"varint,8,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"` 917 XXX_NoUnkeyedLiteral struct{} `json:"-"` 918 XXX_unrecognized []byte `json:"-"` 919 XXX_sizecache int32 `json:"-"` 920 } 921 922 func (m *CommitChaincodeDefinitionArgs) Reset() { *m = CommitChaincodeDefinitionArgs{} } 923 func (m *CommitChaincodeDefinitionArgs) String() string { return proto.CompactTextString(m) } 924 func (*CommitChaincodeDefinitionArgs) ProtoMessage() {} 925 func (*CommitChaincodeDefinitionArgs) Descriptor() ([]byte, []int) { 926 return fileDescriptor_6625a5b20951add3, []int{11} 927 } 928 929 func (m *CommitChaincodeDefinitionArgs) XXX_Unmarshal(b []byte) error { 930 return xxx_messageInfo_CommitChaincodeDefinitionArgs.Unmarshal(m, b) 931 } 932 func (m *CommitChaincodeDefinitionArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 933 return xxx_messageInfo_CommitChaincodeDefinitionArgs.Marshal(b, m, deterministic) 934 } 935 func (m *CommitChaincodeDefinitionArgs) XXX_Merge(src proto.Message) { 936 xxx_messageInfo_CommitChaincodeDefinitionArgs.Merge(m, src) 937 } 938 func (m *CommitChaincodeDefinitionArgs) XXX_Size() int { 939 return xxx_messageInfo_CommitChaincodeDefinitionArgs.Size(m) 940 } 941 func (m *CommitChaincodeDefinitionArgs) XXX_DiscardUnknown() { 942 xxx_messageInfo_CommitChaincodeDefinitionArgs.DiscardUnknown(m) 943 } 944 945 var xxx_messageInfo_CommitChaincodeDefinitionArgs proto.InternalMessageInfo 946 947 func (m *CommitChaincodeDefinitionArgs) GetSequence() int64 { 948 if m != nil { 949 return m.Sequence 950 } 951 return 0 952 } 953 954 func (m *CommitChaincodeDefinitionArgs) GetName() string { 955 if m != nil { 956 return m.Name 957 } 958 return "" 959 } 960 961 func (m *CommitChaincodeDefinitionArgs) GetVersion() string { 962 if m != nil { 963 return m.Version 964 } 965 return "" 966 } 967 968 func (m *CommitChaincodeDefinitionArgs) GetEndorsementPlugin() string { 969 if m != nil { 970 return m.EndorsementPlugin 971 } 972 return "" 973 } 974 975 func (m *CommitChaincodeDefinitionArgs) GetValidationPlugin() string { 976 if m != nil { 977 return m.ValidationPlugin 978 } 979 return "" 980 } 981 982 func (m *CommitChaincodeDefinitionArgs) GetValidationParameter() []byte { 983 if m != nil { 984 return m.ValidationParameter 985 } 986 return nil 987 } 988 989 func (m *CommitChaincodeDefinitionArgs) GetCollections() *peer.CollectionConfigPackage { 990 if m != nil { 991 return m.Collections 992 } 993 return nil 994 } 995 996 func (m *CommitChaincodeDefinitionArgs) GetInitRequired() bool { 997 if m != nil { 998 return m.InitRequired 999 } 1000 return false 1001 } 1002 1003 // CommitChaincodeDefinitionResult is the message returned by 1004 // `_lifecycle.CommitChaincodeDefinition`. Currently it returns 1005 // nothing, but may be extended in the future. 1006 type CommitChaincodeDefinitionResult struct { 1007 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1008 XXX_unrecognized []byte `json:"-"` 1009 XXX_sizecache int32 `json:"-"` 1010 } 1011 1012 func (m *CommitChaincodeDefinitionResult) Reset() { *m = CommitChaincodeDefinitionResult{} } 1013 func (m *CommitChaincodeDefinitionResult) String() string { return proto.CompactTextString(m) } 1014 func (*CommitChaincodeDefinitionResult) ProtoMessage() {} 1015 func (*CommitChaincodeDefinitionResult) Descriptor() ([]byte, []int) { 1016 return fileDescriptor_6625a5b20951add3, []int{12} 1017 } 1018 1019 func (m *CommitChaincodeDefinitionResult) XXX_Unmarshal(b []byte) error { 1020 return xxx_messageInfo_CommitChaincodeDefinitionResult.Unmarshal(m, b) 1021 } 1022 func (m *CommitChaincodeDefinitionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1023 return xxx_messageInfo_CommitChaincodeDefinitionResult.Marshal(b, m, deterministic) 1024 } 1025 func (m *CommitChaincodeDefinitionResult) XXX_Merge(src proto.Message) { 1026 xxx_messageInfo_CommitChaincodeDefinitionResult.Merge(m, src) 1027 } 1028 func (m *CommitChaincodeDefinitionResult) XXX_Size() int { 1029 return xxx_messageInfo_CommitChaincodeDefinitionResult.Size(m) 1030 } 1031 func (m *CommitChaincodeDefinitionResult) XXX_DiscardUnknown() { 1032 xxx_messageInfo_CommitChaincodeDefinitionResult.DiscardUnknown(m) 1033 } 1034 1035 var xxx_messageInfo_CommitChaincodeDefinitionResult proto.InternalMessageInfo 1036 1037 // CheckCommitReadinessArgs is the message used as arguments to 1038 // `_lifecycle.CheckCommitReadiness`. 1039 type CheckCommitReadinessArgs struct { 1040 Sequence int64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` 1041 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 1042 Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` 1043 EndorsementPlugin string `protobuf:"bytes,4,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"` 1044 ValidationPlugin string `protobuf:"bytes,5,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"` 1045 ValidationParameter []byte `protobuf:"bytes,6,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"` 1046 Collections *peer.CollectionConfigPackage `protobuf:"bytes,7,opt,name=collections,proto3" json:"collections,omitempty"` 1047 InitRequired bool `protobuf:"varint,8,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"` 1048 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1049 XXX_unrecognized []byte `json:"-"` 1050 XXX_sizecache int32 `json:"-"` 1051 } 1052 1053 func (m *CheckCommitReadinessArgs) Reset() { *m = CheckCommitReadinessArgs{} } 1054 func (m *CheckCommitReadinessArgs) String() string { return proto.CompactTextString(m) } 1055 func (*CheckCommitReadinessArgs) ProtoMessage() {} 1056 func (*CheckCommitReadinessArgs) Descriptor() ([]byte, []int) { 1057 return fileDescriptor_6625a5b20951add3, []int{13} 1058 } 1059 1060 func (m *CheckCommitReadinessArgs) XXX_Unmarshal(b []byte) error { 1061 return xxx_messageInfo_CheckCommitReadinessArgs.Unmarshal(m, b) 1062 } 1063 func (m *CheckCommitReadinessArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1064 return xxx_messageInfo_CheckCommitReadinessArgs.Marshal(b, m, deterministic) 1065 } 1066 func (m *CheckCommitReadinessArgs) XXX_Merge(src proto.Message) { 1067 xxx_messageInfo_CheckCommitReadinessArgs.Merge(m, src) 1068 } 1069 func (m *CheckCommitReadinessArgs) XXX_Size() int { 1070 return xxx_messageInfo_CheckCommitReadinessArgs.Size(m) 1071 } 1072 func (m *CheckCommitReadinessArgs) XXX_DiscardUnknown() { 1073 xxx_messageInfo_CheckCommitReadinessArgs.DiscardUnknown(m) 1074 } 1075 1076 var xxx_messageInfo_CheckCommitReadinessArgs proto.InternalMessageInfo 1077 1078 func (m *CheckCommitReadinessArgs) GetSequence() int64 { 1079 if m != nil { 1080 return m.Sequence 1081 } 1082 return 0 1083 } 1084 1085 func (m *CheckCommitReadinessArgs) GetName() string { 1086 if m != nil { 1087 return m.Name 1088 } 1089 return "" 1090 } 1091 1092 func (m *CheckCommitReadinessArgs) GetVersion() string { 1093 if m != nil { 1094 return m.Version 1095 } 1096 return "" 1097 } 1098 1099 func (m *CheckCommitReadinessArgs) GetEndorsementPlugin() string { 1100 if m != nil { 1101 return m.EndorsementPlugin 1102 } 1103 return "" 1104 } 1105 1106 func (m *CheckCommitReadinessArgs) GetValidationPlugin() string { 1107 if m != nil { 1108 return m.ValidationPlugin 1109 } 1110 return "" 1111 } 1112 1113 func (m *CheckCommitReadinessArgs) GetValidationParameter() []byte { 1114 if m != nil { 1115 return m.ValidationParameter 1116 } 1117 return nil 1118 } 1119 1120 func (m *CheckCommitReadinessArgs) GetCollections() *peer.CollectionConfigPackage { 1121 if m != nil { 1122 return m.Collections 1123 } 1124 return nil 1125 } 1126 1127 func (m *CheckCommitReadinessArgs) GetInitRequired() bool { 1128 if m != nil { 1129 return m.InitRequired 1130 } 1131 return false 1132 } 1133 1134 // CheckCommitReadinessResult is the message returned by 1135 // `_lifecycle.CheckCommitReadiness`. It returns a map of 1136 // orgs to their approval (true/false) for the definition 1137 // supplied as args. Additionally, it returns a map of 1138 // parameter mismatches between each organization's 1139 // approved definition and the definition supplied as args. 1140 type CheckCommitReadinessResult struct { 1141 Approvals map[string]bool `protobuf:"bytes,1,rep,name=approvals,proto3" json:"approvals,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 1142 Mismatches map[string]*CheckCommitReadinessResult_Mismatches `protobuf:"bytes,2,rep,name=mismatches,proto3" json:"mismatches,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1143 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1144 XXX_unrecognized []byte `json:"-"` 1145 XXX_sizecache int32 `json:"-"` 1146 } 1147 1148 func (m *CheckCommitReadinessResult) Reset() { *m = CheckCommitReadinessResult{} } 1149 func (m *CheckCommitReadinessResult) String() string { return proto.CompactTextString(m) } 1150 func (*CheckCommitReadinessResult) ProtoMessage() {} 1151 func (*CheckCommitReadinessResult) Descriptor() ([]byte, []int) { 1152 return fileDescriptor_6625a5b20951add3, []int{14} 1153 } 1154 1155 func (m *CheckCommitReadinessResult) XXX_Unmarshal(b []byte) error { 1156 return xxx_messageInfo_CheckCommitReadinessResult.Unmarshal(m, b) 1157 } 1158 func (m *CheckCommitReadinessResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1159 return xxx_messageInfo_CheckCommitReadinessResult.Marshal(b, m, deterministic) 1160 } 1161 func (m *CheckCommitReadinessResult) XXX_Merge(src proto.Message) { 1162 xxx_messageInfo_CheckCommitReadinessResult.Merge(m, src) 1163 } 1164 func (m *CheckCommitReadinessResult) XXX_Size() int { 1165 return xxx_messageInfo_CheckCommitReadinessResult.Size(m) 1166 } 1167 func (m *CheckCommitReadinessResult) XXX_DiscardUnknown() { 1168 xxx_messageInfo_CheckCommitReadinessResult.DiscardUnknown(m) 1169 } 1170 1171 var xxx_messageInfo_CheckCommitReadinessResult proto.InternalMessageInfo 1172 1173 func (m *CheckCommitReadinessResult) GetApprovals() map[string]bool { 1174 if m != nil { 1175 return m.Approvals 1176 } 1177 return nil 1178 } 1179 1180 func (m *CheckCommitReadinessResult) GetMismatches() map[string]*CheckCommitReadinessResult_Mismatches { 1181 if m != nil { 1182 return m.Mismatches 1183 } 1184 return nil 1185 } 1186 1187 type CheckCommitReadinessResult_Mismatches struct { 1188 Items []string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` 1189 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1190 XXX_unrecognized []byte `json:"-"` 1191 XXX_sizecache int32 `json:"-"` 1192 } 1193 1194 func (m *CheckCommitReadinessResult_Mismatches) Reset() { *m = CheckCommitReadinessResult_Mismatches{} } 1195 func (m *CheckCommitReadinessResult_Mismatches) String() string { return proto.CompactTextString(m) } 1196 func (*CheckCommitReadinessResult_Mismatches) ProtoMessage() {} 1197 func (*CheckCommitReadinessResult_Mismatches) Descriptor() ([]byte, []int) { 1198 return fileDescriptor_6625a5b20951add3, []int{14, 1} 1199 } 1200 1201 func (m *CheckCommitReadinessResult_Mismatches) XXX_Unmarshal(b []byte) error { 1202 return xxx_messageInfo_CheckCommitReadinessResult_Mismatches.Unmarshal(m, b) 1203 } 1204 func (m *CheckCommitReadinessResult_Mismatches) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1205 return xxx_messageInfo_CheckCommitReadinessResult_Mismatches.Marshal(b, m, deterministic) 1206 } 1207 func (m *CheckCommitReadinessResult_Mismatches) XXX_Merge(src proto.Message) { 1208 xxx_messageInfo_CheckCommitReadinessResult_Mismatches.Merge(m, src) 1209 } 1210 func (m *CheckCommitReadinessResult_Mismatches) XXX_Size() int { 1211 return xxx_messageInfo_CheckCommitReadinessResult_Mismatches.Size(m) 1212 } 1213 func (m *CheckCommitReadinessResult_Mismatches) XXX_DiscardUnknown() { 1214 xxx_messageInfo_CheckCommitReadinessResult_Mismatches.DiscardUnknown(m) 1215 } 1216 1217 var xxx_messageInfo_CheckCommitReadinessResult_Mismatches proto.InternalMessageInfo 1218 1219 func (m *CheckCommitReadinessResult_Mismatches) GetItems() []string { 1220 if m != nil { 1221 return m.Items 1222 } 1223 return nil 1224 } 1225 1226 // QueryApprovedChaincodeDefinitionArgs is the message used as arguments to 1227 // `_lifecycle.QueryApprovedChaincodeDefinition`. 1228 type QueryApprovedChaincodeDefinitionArgs struct { 1229 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1230 Sequence int64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"` 1231 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1232 XXX_unrecognized []byte `json:"-"` 1233 XXX_sizecache int32 `json:"-"` 1234 } 1235 1236 func (m *QueryApprovedChaincodeDefinitionArgs) Reset() { *m = QueryApprovedChaincodeDefinitionArgs{} } 1237 func (m *QueryApprovedChaincodeDefinitionArgs) String() string { return proto.CompactTextString(m) } 1238 func (*QueryApprovedChaincodeDefinitionArgs) ProtoMessage() {} 1239 func (*QueryApprovedChaincodeDefinitionArgs) Descriptor() ([]byte, []int) { 1240 return fileDescriptor_6625a5b20951add3, []int{15} 1241 } 1242 1243 func (m *QueryApprovedChaincodeDefinitionArgs) XXX_Unmarshal(b []byte) error { 1244 return xxx_messageInfo_QueryApprovedChaincodeDefinitionArgs.Unmarshal(m, b) 1245 } 1246 func (m *QueryApprovedChaincodeDefinitionArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1247 return xxx_messageInfo_QueryApprovedChaincodeDefinitionArgs.Marshal(b, m, deterministic) 1248 } 1249 func (m *QueryApprovedChaincodeDefinitionArgs) XXX_Merge(src proto.Message) { 1250 xxx_messageInfo_QueryApprovedChaincodeDefinitionArgs.Merge(m, src) 1251 } 1252 func (m *QueryApprovedChaincodeDefinitionArgs) XXX_Size() int { 1253 return xxx_messageInfo_QueryApprovedChaincodeDefinitionArgs.Size(m) 1254 } 1255 func (m *QueryApprovedChaincodeDefinitionArgs) XXX_DiscardUnknown() { 1256 xxx_messageInfo_QueryApprovedChaincodeDefinitionArgs.DiscardUnknown(m) 1257 } 1258 1259 var xxx_messageInfo_QueryApprovedChaincodeDefinitionArgs proto.InternalMessageInfo 1260 1261 func (m *QueryApprovedChaincodeDefinitionArgs) GetName() string { 1262 if m != nil { 1263 return m.Name 1264 } 1265 return "" 1266 } 1267 1268 func (m *QueryApprovedChaincodeDefinitionArgs) GetSequence() int64 { 1269 if m != nil { 1270 return m.Sequence 1271 } 1272 return 0 1273 } 1274 1275 // QueryApprovedChaincodeDefinitionResult is the message returned by 1276 // `_lifecycle.QueryApprovedChaincodeDefinition`. 1277 type QueryApprovedChaincodeDefinitionResult struct { 1278 Sequence int64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` 1279 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` 1280 EndorsementPlugin string `protobuf:"bytes,3,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"` 1281 ValidationPlugin string `protobuf:"bytes,4,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"` 1282 ValidationParameter []byte `protobuf:"bytes,5,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"` 1283 Collections *peer.CollectionConfigPackage `protobuf:"bytes,6,opt,name=collections,proto3" json:"collections,omitempty"` 1284 InitRequired bool `protobuf:"varint,7,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"` 1285 Source *ChaincodeSource `protobuf:"bytes,8,opt,name=source,proto3" json:"source,omitempty"` 1286 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1287 XXX_unrecognized []byte `json:"-"` 1288 XXX_sizecache int32 `json:"-"` 1289 } 1290 1291 func (m *QueryApprovedChaincodeDefinitionResult) Reset() { 1292 *m = QueryApprovedChaincodeDefinitionResult{} 1293 } 1294 func (m *QueryApprovedChaincodeDefinitionResult) String() string { return proto.CompactTextString(m) } 1295 func (*QueryApprovedChaincodeDefinitionResult) ProtoMessage() {} 1296 func (*QueryApprovedChaincodeDefinitionResult) Descriptor() ([]byte, []int) { 1297 return fileDescriptor_6625a5b20951add3, []int{16} 1298 } 1299 1300 func (m *QueryApprovedChaincodeDefinitionResult) XXX_Unmarshal(b []byte) error { 1301 return xxx_messageInfo_QueryApprovedChaincodeDefinitionResult.Unmarshal(m, b) 1302 } 1303 func (m *QueryApprovedChaincodeDefinitionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1304 return xxx_messageInfo_QueryApprovedChaincodeDefinitionResult.Marshal(b, m, deterministic) 1305 } 1306 func (m *QueryApprovedChaincodeDefinitionResult) XXX_Merge(src proto.Message) { 1307 xxx_messageInfo_QueryApprovedChaincodeDefinitionResult.Merge(m, src) 1308 } 1309 func (m *QueryApprovedChaincodeDefinitionResult) XXX_Size() int { 1310 return xxx_messageInfo_QueryApprovedChaincodeDefinitionResult.Size(m) 1311 } 1312 func (m *QueryApprovedChaincodeDefinitionResult) XXX_DiscardUnknown() { 1313 xxx_messageInfo_QueryApprovedChaincodeDefinitionResult.DiscardUnknown(m) 1314 } 1315 1316 var xxx_messageInfo_QueryApprovedChaincodeDefinitionResult proto.InternalMessageInfo 1317 1318 func (m *QueryApprovedChaincodeDefinitionResult) GetSequence() int64 { 1319 if m != nil { 1320 return m.Sequence 1321 } 1322 return 0 1323 } 1324 1325 func (m *QueryApprovedChaincodeDefinitionResult) GetVersion() string { 1326 if m != nil { 1327 return m.Version 1328 } 1329 return "" 1330 } 1331 1332 func (m *QueryApprovedChaincodeDefinitionResult) GetEndorsementPlugin() string { 1333 if m != nil { 1334 return m.EndorsementPlugin 1335 } 1336 return "" 1337 } 1338 1339 func (m *QueryApprovedChaincodeDefinitionResult) GetValidationPlugin() string { 1340 if m != nil { 1341 return m.ValidationPlugin 1342 } 1343 return "" 1344 } 1345 1346 func (m *QueryApprovedChaincodeDefinitionResult) GetValidationParameter() []byte { 1347 if m != nil { 1348 return m.ValidationParameter 1349 } 1350 return nil 1351 } 1352 1353 func (m *QueryApprovedChaincodeDefinitionResult) GetCollections() *peer.CollectionConfigPackage { 1354 if m != nil { 1355 return m.Collections 1356 } 1357 return nil 1358 } 1359 1360 func (m *QueryApprovedChaincodeDefinitionResult) GetInitRequired() bool { 1361 if m != nil { 1362 return m.InitRequired 1363 } 1364 return false 1365 } 1366 1367 func (m *QueryApprovedChaincodeDefinitionResult) GetSource() *ChaincodeSource { 1368 if m != nil { 1369 return m.Source 1370 } 1371 return nil 1372 } 1373 1374 // QueryApprovedChaincodeDefinitionsArgs is the message used as arguments to 1375 // `_lifecycle.QueryApprovedChaincodeDefinitions`. 1376 type QueryApprovedChaincodeDefinitionsArgs struct { 1377 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1378 XXX_unrecognized []byte `json:"-"` 1379 XXX_sizecache int32 `json:"-"` 1380 } 1381 1382 func (m *QueryApprovedChaincodeDefinitionsArgs) Reset() { *m = QueryApprovedChaincodeDefinitionsArgs{} } 1383 func (m *QueryApprovedChaincodeDefinitionsArgs) String() string { return proto.CompactTextString(m) } 1384 func (*QueryApprovedChaincodeDefinitionsArgs) ProtoMessage() {} 1385 func (*QueryApprovedChaincodeDefinitionsArgs) Descriptor() ([]byte, []int) { 1386 return fileDescriptor_6625a5b20951add3, []int{17} 1387 } 1388 1389 func (m *QueryApprovedChaincodeDefinitionsArgs) XXX_Unmarshal(b []byte) error { 1390 return xxx_messageInfo_QueryApprovedChaincodeDefinitionsArgs.Unmarshal(m, b) 1391 } 1392 func (m *QueryApprovedChaincodeDefinitionsArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1393 return xxx_messageInfo_QueryApprovedChaincodeDefinitionsArgs.Marshal(b, m, deterministic) 1394 } 1395 func (m *QueryApprovedChaincodeDefinitionsArgs) XXX_Merge(src proto.Message) { 1396 xxx_messageInfo_QueryApprovedChaincodeDefinitionsArgs.Merge(m, src) 1397 } 1398 func (m *QueryApprovedChaincodeDefinitionsArgs) XXX_Size() int { 1399 return xxx_messageInfo_QueryApprovedChaincodeDefinitionsArgs.Size(m) 1400 } 1401 func (m *QueryApprovedChaincodeDefinitionsArgs) XXX_DiscardUnknown() { 1402 xxx_messageInfo_QueryApprovedChaincodeDefinitionsArgs.DiscardUnknown(m) 1403 } 1404 1405 var xxx_messageInfo_QueryApprovedChaincodeDefinitionsArgs proto.InternalMessageInfo 1406 1407 // QueryApprovedChaincodeDefinitionsResult is the message returned by 1408 // `_lifecycle.QueryApprovedChaincodeDefinitions`. 1409 type QueryApprovedChaincodeDefinitionsResult struct { 1410 ApprovedChaincodeDefinitions []*QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition `protobuf:"bytes,1,rep,name=approved_chaincode_definitions,json=approvedChaincodeDefinitions,proto3" json:"approved_chaincode_definitions,omitempty"` 1411 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1412 XXX_unrecognized []byte `json:"-"` 1413 XXX_sizecache int32 `json:"-"` 1414 } 1415 1416 func (m *QueryApprovedChaincodeDefinitionsResult) Reset() { 1417 *m = QueryApprovedChaincodeDefinitionsResult{} 1418 } 1419 func (m *QueryApprovedChaincodeDefinitionsResult) String() string { return proto.CompactTextString(m) } 1420 func (*QueryApprovedChaincodeDefinitionsResult) ProtoMessage() {} 1421 func (*QueryApprovedChaincodeDefinitionsResult) Descriptor() ([]byte, []int) { 1422 return fileDescriptor_6625a5b20951add3, []int{18} 1423 } 1424 1425 func (m *QueryApprovedChaincodeDefinitionsResult) XXX_Unmarshal(b []byte) error { 1426 return xxx_messageInfo_QueryApprovedChaincodeDefinitionsResult.Unmarshal(m, b) 1427 } 1428 func (m *QueryApprovedChaincodeDefinitionsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1429 return xxx_messageInfo_QueryApprovedChaincodeDefinitionsResult.Marshal(b, m, deterministic) 1430 } 1431 func (m *QueryApprovedChaincodeDefinitionsResult) XXX_Merge(src proto.Message) { 1432 xxx_messageInfo_QueryApprovedChaincodeDefinitionsResult.Merge(m, src) 1433 } 1434 func (m *QueryApprovedChaincodeDefinitionsResult) XXX_Size() int { 1435 return xxx_messageInfo_QueryApprovedChaincodeDefinitionsResult.Size(m) 1436 } 1437 func (m *QueryApprovedChaincodeDefinitionsResult) XXX_DiscardUnknown() { 1438 xxx_messageInfo_QueryApprovedChaincodeDefinitionsResult.DiscardUnknown(m) 1439 } 1440 1441 var xxx_messageInfo_QueryApprovedChaincodeDefinitionsResult proto.InternalMessageInfo 1442 1443 func (m *QueryApprovedChaincodeDefinitionsResult) GetApprovedChaincodeDefinitions() []*QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition { 1444 if m != nil { 1445 return m.ApprovedChaincodeDefinitions 1446 } 1447 return nil 1448 } 1449 1450 type QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition struct { 1451 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1452 Sequence int64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"` 1453 Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` 1454 EndorsementPlugin string `protobuf:"bytes,4,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"` 1455 ValidationPlugin string `protobuf:"bytes,5,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"` 1456 ValidationParameter []byte `protobuf:"bytes,6,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"` 1457 Collections *peer.CollectionConfigPackage `protobuf:"bytes,7,opt,name=collections,proto3" json:"collections,omitempty"` 1458 InitRequired bool `protobuf:"varint,8,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"` 1459 Source *ChaincodeSource `protobuf:"bytes,9,opt,name=source,proto3" json:"source,omitempty"` 1460 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1461 XXX_unrecognized []byte `json:"-"` 1462 XXX_sizecache int32 `json:"-"` 1463 } 1464 1465 func (m *QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition) Reset() { 1466 *m = QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition{} 1467 } 1468 func (m *QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition) String() string { 1469 return proto.CompactTextString(m) 1470 } 1471 func (*QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition) ProtoMessage() {} 1472 func (*QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition) Descriptor() ([]byte, []int) { 1473 return fileDescriptor_6625a5b20951add3, []int{18, 0} 1474 } 1475 1476 func (m *QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition) XXX_Unmarshal(b []byte) error { 1477 return xxx_messageInfo_QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition.Unmarshal(m, b) 1478 } 1479 func (m *QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1480 return xxx_messageInfo_QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition.Marshal(b, m, deterministic) 1481 } 1482 func (m *QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition) XXX_Merge(src proto.Message) { 1483 xxx_messageInfo_QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition.Merge(m, src) 1484 } 1485 func (m *QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition) XXX_Size() int { 1486 return xxx_messageInfo_QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition.Size(m) 1487 } 1488 func (m *QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition) XXX_DiscardUnknown() { 1489 xxx_messageInfo_QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition.DiscardUnknown(m) 1490 } 1491 1492 var xxx_messageInfo_QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition proto.InternalMessageInfo 1493 1494 func (m *QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition) GetName() string { 1495 if m != nil { 1496 return m.Name 1497 } 1498 return "" 1499 } 1500 1501 func (m *QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition) GetSequence() int64 { 1502 if m != nil { 1503 return m.Sequence 1504 } 1505 return 0 1506 } 1507 1508 func (m *QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition) GetVersion() string { 1509 if m != nil { 1510 return m.Version 1511 } 1512 return "" 1513 } 1514 1515 func (m *QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition) GetEndorsementPlugin() string { 1516 if m != nil { 1517 return m.EndorsementPlugin 1518 } 1519 return "" 1520 } 1521 1522 func (m *QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition) GetValidationPlugin() string { 1523 if m != nil { 1524 return m.ValidationPlugin 1525 } 1526 return "" 1527 } 1528 1529 func (m *QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition) GetValidationParameter() []byte { 1530 if m != nil { 1531 return m.ValidationParameter 1532 } 1533 return nil 1534 } 1535 1536 func (m *QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition) GetCollections() *peer.CollectionConfigPackage { 1537 if m != nil { 1538 return m.Collections 1539 } 1540 return nil 1541 } 1542 1543 func (m *QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition) GetInitRequired() bool { 1544 if m != nil { 1545 return m.InitRequired 1546 } 1547 return false 1548 } 1549 1550 func (m *QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition) GetSource() *ChaincodeSource { 1551 if m != nil { 1552 return m.Source 1553 } 1554 return nil 1555 } 1556 1557 // QueryChaincodeDefinitionArgs is the message used as arguments to 1558 // `_lifecycle.QueryChaincodeDefinition`. 1559 type QueryChaincodeDefinitionArgs struct { 1560 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1561 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1562 XXX_unrecognized []byte `json:"-"` 1563 XXX_sizecache int32 `json:"-"` 1564 } 1565 1566 func (m *QueryChaincodeDefinitionArgs) Reset() { *m = QueryChaincodeDefinitionArgs{} } 1567 func (m *QueryChaincodeDefinitionArgs) String() string { return proto.CompactTextString(m) } 1568 func (*QueryChaincodeDefinitionArgs) ProtoMessage() {} 1569 func (*QueryChaincodeDefinitionArgs) Descriptor() ([]byte, []int) { 1570 return fileDescriptor_6625a5b20951add3, []int{19} 1571 } 1572 1573 func (m *QueryChaincodeDefinitionArgs) XXX_Unmarshal(b []byte) error { 1574 return xxx_messageInfo_QueryChaincodeDefinitionArgs.Unmarshal(m, b) 1575 } 1576 func (m *QueryChaincodeDefinitionArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1577 return xxx_messageInfo_QueryChaincodeDefinitionArgs.Marshal(b, m, deterministic) 1578 } 1579 func (m *QueryChaincodeDefinitionArgs) XXX_Merge(src proto.Message) { 1580 xxx_messageInfo_QueryChaincodeDefinitionArgs.Merge(m, src) 1581 } 1582 func (m *QueryChaincodeDefinitionArgs) XXX_Size() int { 1583 return xxx_messageInfo_QueryChaincodeDefinitionArgs.Size(m) 1584 } 1585 func (m *QueryChaincodeDefinitionArgs) XXX_DiscardUnknown() { 1586 xxx_messageInfo_QueryChaincodeDefinitionArgs.DiscardUnknown(m) 1587 } 1588 1589 var xxx_messageInfo_QueryChaincodeDefinitionArgs proto.InternalMessageInfo 1590 1591 func (m *QueryChaincodeDefinitionArgs) GetName() string { 1592 if m != nil { 1593 return m.Name 1594 } 1595 return "" 1596 } 1597 1598 // QueryChaincodeDefinitionResult is the message returned by 1599 // `_lifecycle.QueryChaincodeDefinition`. 1600 type QueryChaincodeDefinitionResult struct { 1601 Sequence int64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` 1602 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` 1603 EndorsementPlugin string `protobuf:"bytes,3,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"` 1604 ValidationPlugin string `protobuf:"bytes,4,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"` 1605 ValidationParameter []byte `protobuf:"bytes,5,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"` 1606 Collections *peer.CollectionConfigPackage `protobuf:"bytes,6,opt,name=collections,proto3" json:"collections,omitempty"` 1607 InitRequired bool `protobuf:"varint,7,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"` 1608 Approvals map[string]bool `protobuf:"bytes,8,rep,name=approvals,proto3" json:"approvals,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 1609 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1610 XXX_unrecognized []byte `json:"-"` 1611 XXX_sizecache int32 `json:"-"` 1612 } 1613 1614 func (m *QueryChaincodeDefinitionResult) Reset() { *m = QueryChaincodeDefinitionResult{} } 1615 func (m *QueryChaincodeDefinitionResult) String() string { return proto.CompactTextString(m) } 1616 func (*QueryChaincodeDefinitionResult) ProtoMessage() {} 1617 func (*QueryChaincodeDefinitionResult) Descriptor() ([]byte, []int) { 1618 return fileDescriptor_6625a5b20951add3, []int{20} 1619 } 1620 1621 func (m *QueryChaincodeDefinitionResult) XXX_Unmarshal(b []byte) error { 1622 return xxx_messageInfo_QueryChaincodeDefinitionResult.Unmarshal(m, b) 1623 } 1624 func (m *QueryChaincodeDefinitionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1625 return xxx_messageInfo_QueryChaincodeDefinitionResult.Marshal(b, m, deterministic) 1626 } 1627 func (m *QueryChaincodeDefinitionResult) XXX_Merge(src proto.Message) { 1628 xxx_messageInfo_QueryChaincodeDefinitionResult.Merge(m, src) 1629 } 1630 func (m *QueryChaincodeDefinitionResult) XXX_Size() int { 1631 return xxx_messageInfo_QueryChaincodeDefinitionResult.Size(m) 1632 } 1633 func (m *QueryChaincodeDefinitionResult) XXX_DiscardUnknown() { 1634 xxx_messageInfo_QueryChaincodeDefinitionResult.DiscardUnknown(m) 1635 } 1636 1637 var xxx_messageInfo_QueryChaincodeDefinitionResult proto.InternalMessageInfo 1638 1639 func (m *QueryChaincodeDefinitionResult) GetSequence() int64 { 1640 if m != nil { 1641 return m.Sequence 1642 } 1643 return 0 1644 } 1645 1646 func (m *QueryChaincodeDefinitionResult) GetVersion() string { 1647 if m != nil { 1648 return m.Version 1649 } 1650 return "" 1651 } 1652 1653 func (m *QueryChaincodeDefinitionResult) GetEndorsementPlugin() string { 1654 if m != nil { 1655 return m.EndorsementPlugin 1656 } 1657 return "" 1658 } 1659 1660 func (m *QueryChaincodeDefinitionResult) GetValidationPlugin() string { 1661 if m != nil { 1662 return m.ValidationPlugin 1663 } 1664 return "" 1665 } 1666 1667 func (m *QueryChaincodeDefinitionResult) GetValidationParameter() []byte { 1668 if m != nil { 1669 return m.ValidationParameter 1670 } 1671 return nil 1672 } 1673 1674 func (m *QueryChaincodeDefinitionResult) GetCollections() *peer.CollectionConfigPackage { 1675 if m != nil { 1676 return m.Collections 1677 } 1678 return nil 1679 } 1680 1681 func (m *QueryChaincodeDefinitionResult) GetInitRequired() bool { 1682 if m != nil { 1683 return m.InitRequired 1684 } 1685 return false 1686 } 1687 1688 func (m *QueryChaincodeDefinitionResult) GetApprovals() map[string]bool { 1689 if m != nil { 1690 return m.Approvals 1691 } 1692 return nil 1693 } 1694 1695 // QueryChaincodeDefinitionsArgs is the message used as arguments to 1696 // `_lifecycle.QueryChaincodeDefinitions`. 1697 type QueryChaincodeDefinitionsArgs struct { 1698 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1699 XXX_unrecognized []byte `json:"-"` 1700 XXX_sizecache int32 `json:"-"` 1701 } 1702 1703 func (m *QueryChaincodeDefinitionsArgs) Reset() { *m = QueryChaincodeDefinitionsArgs{} } 1704 func (m *QueryChaincodeDefinitionsArgs) String() string { return proto.CompactTextString(m) } 1705 func (*QueryChaincodeDefinitionsArgs) ProtoMessage() {} 1706 func (*QueryChaincodeDefinitionsArgs) Descriptor() ([]byte, []int) { 1707 return fileDescriptor_6625a5b20951add3, []int{21} 1708 } 1709 1710 func (m *QueryChaincodeDefinitionsArgs) XXX_Unmarshal(b []byte) error { 1711 return xxx_messageInfo_QueryChaincodeDefinitionsArgs.Unmarshal(m, b) 1712 } 1713 func (m *QueryChaincodeDefinitionsArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1714 return xxx_messageInfo_QueryChaincodeDefinitionsArgs.Marshal(b, m, deterministic) 1715 } 1716 func (m *QueryChaincodeDefinitionsArgs) XXX_Merge(src proto.Message) { 1717 xxx_messageInfo_QueryChaincodeDefinitionsArgs.Merge(m, src) 1718 } 1719 func (m *QueryChaincodeDefinitionsArgs) XXX_Size() int { 1720 return xxx_messageInfo_QueryChaincodeDefinitionsArgs.Size(m) 1721 } 1722 func (m *QueryChaincodeDefinitionsArgs) XXX_DiscardUnknown() { 1723 xxx_messageInfo_QueryChaincodeDefinitionsArgs.DiscardUnknown(m) 1724 } 1725 1726 var xxx_messageInfo_QueryChaincodeDefinitionsArgs proto.InternalMessageInfo 1727 1728 // QueryChaincodeDefinitionsResult is the message returned by 1729 // `_lifecycle.QueryChaincodeDefinitions`. 1730 type QueryChaincodeDefinitionsResult struct { 1731 ChaincodeDefinitions []*QueryChaincodeDefinitionsResult_ChaincodeDefinition `protobuf:"bytes,1,rep,name=chaincode_definitions,json=chaincodeDefinitions,proto3" json:"chaincode_definitions,omitempty"` 1732 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1733 XXX_unrecognized []byte `json:"-"` 1734 XXX_sizecache int32 `json:"-"` 1735 } 1736 1737 func (m *QueryChaincodeDefinitionsResult) Reset() { *m = QueryChaincodeDefinitionsResult{} } 1738 func (m *QueryChaincodeDefinitionsResult) String() string { return proto.CompactTextString(m) } 1739 func (*QueryChaincodeDefinitionsResult) ProtoMessage() {} 1740 func (*QueryChaincodeDefinitionsResult) Descriptor() ([]byte, []int) { 1741 return fileDescriptor_6625a5b20951add3, []int{22} 1742 } 1743 1744 func (m *QueryChaincodeDefinitionsResult) XXX_Unmarshal(b []byte) error { 1745 return xxx_messageInfo_QueryChaincodeDefinitionsResult.Unmarshal(m, b) 1746 } 1747 func (m *QueryChaincodeDefinitionsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1748 return xxx_messageInfo_QueryChaincodeDefinitionsResult.Marshal(b, m, deterministic) 1749 } 1750 func (m *QueryChaincodeDefinitionsResult) XXX_Merge(src proto.Message) { 1751 xxx_messageInfo_QueryChaincodeDefinitionsResult.Merge(m, src) 1752 } 1753 func (m *QueryChaincodeDefinitionsResult) XXX_Size() int { 1754 return xxx_messageInfo_QueryChaincodeDefinitionsResult.Size(m) 1755 } 1756 func (m *QueryChaincodeDefinitionsResult) XXX_DiscardUnknown() { 1757 xxx_messageInfo_QueryChaincodeDefinitionsResult.DiscardUnknown(m) 1758 } 1759 1760 var xxx_messageInfo_QueryChaincodeDefinitionsResult proto.InternalMessageInfo 1761 1762 func (m *QueryChaincodeDefinitionsResult) GetChaincodeDefinitions() []*QueryChaincodeDefinitionsResult_ChaincodeDefinition { 1763 if m != nil { 1764 return m.ChaincodeDefinitions 1765 } 1766 return nil 1767 } 1768 1769 type QueryChaincodeDefinitionsResult_ChaincodeDefinition struct { 1770 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1771 Sequence int64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"` 1772 Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` 1773 EndorsementPlugin string `protobuf:"bytes,4,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"` 1774 ValidationPlugin string `protobuf:"bytes,5,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"` 1775 ValidationParameter []byte `protobuf:"bytes,6,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"` 1776 Collections *peer.CollectionConfigPackage `protobuf:"bytes,7,opt,name=collections,proto3" json:"collections,omitempty"` 1777 InitRequired bool `protobuf:"varint,8,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"` 1778 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1779 XXX_unrecognized []byte `json:"-"` 1780 XXX_sizecache int32 `json:"-"` 1781 } 1782 1783 func (m *QueryChaincodeDefinitionsResult_ChaincodeDefinition) Reset() { 1784 *m = QueryChaincodeDefinitionsResult_ChaincodeDefinition{} 1785 } 1786 func (m *QueryChaincodeDefinitionsResult_ChaincodeDefinition) String() string { 1787 return proto.CompactTextString(m) 1788 } 1789 func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) ProtoMessage() {} 1790 func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) Descriptor() ([]byte, []int) { 1791 return fileDescriptor_6625a5b20951add3, []int{22, 0} 1792 } 1793 1794 func (m *QueryChaincodeDefinitionsResult_ChaincodeDefinition) XXX_Unmarshal(b []byte) error { 1795 return xxx_messageInfo_QueryChaincodeDefinitionsResult_ChaincodeDefinition.Unmarshal(m, b) 1796 } 1797 func (m *QueryChaincodeDefinitionsResult_ChaincodeDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1798 return xxx_messageInfo_QueryChaincodeDefinitionsResult_ChaincodeDefinition.Marshal(b, m, deterministic) 1799 } 1800 func (m *QueryChaincodeDefinitionsResult_ChaincodeDefinition) XXX_Merge(src proto.Message) { 1801 xxx_messageInfo_QueryChaincodeDefinitionsResult_ChaincodeDefinition.Merge(m, src) 1802 } 1803 func (m *QueryChaincodeDefinitionsResult_ChaincodeDefinition) XXX_Size() int { 1804 return xxx_messageInfo_QueryChaincodeDefinitionsResult_ChaincodeDefinition.Size(m) 1805 } 1806 func (m *QueryChaincodeDefinitionsResult_ChaincodeDefinition) XXX_DiscardUnknown() { 1807 xxx_messageInfo_QueryChaincodeDefinitionsResult_ChaincodeDefinition.DiscardUnknown(m) 1808 } 1809 1810 var xxx_messageInfo_QueryChaincodeDefinitionsResult_ChaincodeDefinition proto.InternalMessageInfo 1811 1812 func (m *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetName() string { 1813 if m != nil { 1814 return m.Name 1815 } 1816 return "" 1817 } 1818 1819 func (m *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetSequence() int64 { 1820 if m != nil { 1821 return m.Sequence 1822 } 1823 return 0 1824 } 1825 1826 func (m *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetVersion() string { 1827 if m != nil { 1828 return m.Version 1829 } 1830 return "" 1831 } 1832 1833 func (m *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetEndorsementPlugin() string { 1834 if m != nil { 1835 return m.EndorsementPlugin 1836 } 1837 return "" 1838 } 1839 1840 func (m *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetValidationPlugin() string { 1841 if m != nil { 1842 return m.ValidationPlugin 1843 } 1844 return "" 1845 } 1846 1847 func (m *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetValidationParameter() []byte { 1848 if m != nil { 1849 return m.ValidationParameter 1850 } 1851 return nil 1852 } 1853 1854 func (m *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetCollections() *peer.CollectionConfigPackage { 1855 if m != nil { 1856 return m.Collections 1857 } 1858 return nil 1859 } 1860 1861 func (m *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetInitRequired() bool { 1862 if m != nil { 1863 return m.InitRequired 1864 } 1865 return false 1866 } 1867 1868 func init() { 1869 proto.RegisterType((*InstallChaincodeArgs)(nil), "lifecycle.InstallChaincodeArgs") 1870 proto.RegisterType((*InstallChaincodeResult)(nil), "lifecycle.InstallChaincodeResult") 1871 proto.RegisterType((*QueryInstalledChaincodeArgs)(nil), "lifecycle.QueryInstalledChaincodeArgs") 1872 proto.RegisterType((*QueryInstalledChaincodeResult)(nil), "lifecycle.QueryInstalledChaincodeResult") 1873 proto.RegisterMapType((map[string]*QueryInstalledChaincodeResult_References)(nil), "lifecycle.QueryInstalledChaincodeResult.ReferencesEntry") 1874 proto.RegisterType((*QueryInstalledChaincodeResult_References)(nil), "lifecycle.QueryInstalledChaincodeResult.References") 1875 proto.RegisterType((*QueryInstalledChaincodeResult_Chaincode)(nil), "lifecycle.QueryInstalledChaincodeResult.Chaincode") 1876 proto.RegisterType((*GetInstalledChaincodePackageArgs)(nil), "lifecycle.GetInstalledChaincodePackageArgs") 1877 proto.RegisterType((*GetInstalledChaincodePackageResult)(nil), "lifecycle.GetInstalledChaincodePackageResult") 1878 proto.RegisterType((*QueryInstalledChaincodesArgs)(nil), "lifecycle.QueryInstalledChaincodesArgs") 1879 proto.RegisterType((*QueryInstalledChaincodesResult)(nil), "lifecycle.QueryInstalledChaincodesResult") 1880 proto.RegisterType((*QueryInstalledChaincodesResult_InstalledChaincode)(nil), "lifecycle.QueryInstalledChaincodesResult.InstalledChaincode") 1881 proto.RegisterMapType((map[string]*QueryInstalledChaincodesResult_References)(nil), "lifecycle.QueryInstalledChaincodesResult.InstalledChaincode.ReferencesEntry") 1882 proto.RegisterType((*QueryInstalledChaincodesResult_References)(nil), "lifecycle.QueryInstalledChaincodesResult.References") 1883 proto.RegisterType((*QueryInstalledChaincodesResult_Chaincode)(nil), "lifecycle.QueryInstalledChaincodesResult.Chaincode") 1884 proto.RegisterType((*ApproveChaincodeDefinitionForMyOrgArgs)(nil), "lifecycle.ApproveChaincodeDefinitionForMyOrgArgs") 1885 proto.RegisterType((*ChaincodeSource)(nil), "lifecycle.ChaincodeSource") 1886 proto.RegisterType((*ChaincodeSource_Unavailable)(nil), "lifecycle.ChaincodeSource.Unavailable") 1887 proto.RegisterType((*ChaincodeSource_Local)(nil), "lifecycle.ChaincodeSource.Local") 1888 proto.RegisterType((*ApproveChaincodeDefinitionForMyOrgResult)(nil), "lifecycle.ApproveChaincodeDefinitionForMyOrgResult") 1889 proto.RegisterType((*CommitChaincodeDefinitionArgs)(nil), "lifecycle.CommitChaincodeDefinitionArgs") 1890 proto.RegisterType((*CommitChaincodeDefinitionResult)(nil), "lifecycle.CommitChaincodeDefinitionResult") 1891 proto.RegisterType((*CheckCommitReadinessArgs)(nil), "lifecycle.CheckCommitReadinessArgs") 1892 proto.RegisterType((*CheckCommitReadinessResult)(nil), "lifecycle.CheckCommitReadinessResult") 1893 proto.RegisterMapType((map[string]bool)(nil), "lifecycle.CheckCommitReadinessResult.ApprovalsEntry") 1894 proto.RegisterMapType((map[string]*CheckCommitReadinessResult_Mismatches)(nil), "lifecycle.CheckCommitReadinessResult.MismatchesEntry") 1895 proto.RegisterType((*CheckCommitReadinessResult_Mismatches)(nil), "lifecycle.CheckCommitReadinessResult.Mismatches") 1896 proto.RegisterType((*QueryApprovedChaincodeDefinitionArgs)(nil), "lifecycle.QueryApprovedChaincodeDefinitionArgs") 1897 proto.RegisterType((*QueryApprovedChaincodeDefinitionResult)(nil), "lifecycle.QueryApprovedChaincodeDefinitionResult") 1898 proto.RegisterType((*QueryApprovedChaincodeDefinitionsArgs)(nil), "lifecycle.QueryApprovedChaincodeDefinitionsArgs") 1899 proto.RegisterType((*QueryApprovedChaincodeDefinitionsResult)(nil), "lifecycle.QueryApprovedChaincodeDefinitionsResult") 1900 proto.RegisterType((*QueryApprovedChaincodeDefinitionsResult_ApprovedChaincodeDefinition)(nil), "lifecycle.QueryApprovedChaincodeDefinitionsResult.ApprovedChaincodeDefinition") 1901 proto.RegisterType((*QueryChaincodeDefinitionArgs)(nil), "lifecycle.QueryChaincodeDefinitionArgs") 1902 proto.RegisterType((*QueryChaincodeDefinitionResult)(nil), "lifecycle.QueryChaincodeDefinitionResult") 1903 proto.RegisterMapType((map[string]bool)(nil), "lifecycle.QueryChaincodeDefinitionResult.ApprovalsEntry") 1904 proto.RegisterType((*QueryChaincodeDefinitionsArgs)(nil), "lifecycle.QueryChaincodeDefinitionsArgs") 1905 proto.RegisterType((*QueryChaincodeDefinitionsResult)(nil), "lifecycle.QueryChaincodeDefinitionsResult") 1906 proto.RegisterType((*QueryChaincodeDefinitionsResult_ChaincodeDefinition)(nil), "lifecycle.QueryChaincodeDefinitionsResult.ChaincodeDefinition") 1907 } 1908 1909 func init() { proto.RegisterFile("peer/lifecycle/lifecycle.proto", fileDescriptor_6625a5b20951add3) } 1910 1911 var fileDescriptor_6625a5b20951add3 = []byte{ 1912 // 1126 bytes of a gzipped FileDescriptorProto 1913 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0x5f, 0x6f, 0xdb, 0x54, 1914 0x14, 0x5f, 0xe2, 0xb4, 0x4d, 0x4e, 0x5a, 0xba, 0xdd, 0x66, 0x60, 0xbc, 0xf5, 0x0f, 0x06, 0xba, 1915 0x0a, 0xa8, 0x0b, 0xe9, 0x40, 0x63, 0xaa, 0x90, 0xba, 0xc2, 0xb6, 0x4e, 0x2b, 0x0c, 0x8f, 0x4d, 1916 0x88, 0x97, 0xec, 0xd6, 0x3e, 0x49, 0xaf, 0xea, 0xd8, 0xd9, 0xb5, 0x53, 0x29, 0x1f, 0x81, 0x57, 1917 0xc4, 0x13, 0x12, 0xdf, 0x80, 0xef, 0xc0, 0xa7, 0x80, 0x17, 0x24, 0x84, 0x84, 0x78, 0xe6, 0x2b, 1918 0x4c, 0xb9, 0xbe, 0xb1, 0x9d, 0xd6, 0x76, 0x92, 0x35, 0x8f, 0x79, 0xb3, 0x7d, 0x7e, 0xe7, 0x77, 1919 0xee, 0xbd, 0xe7, 0xfc, 0xce, 0xb1, 0x0d, 0x6b, 0x1d, 0x44, 0xbe, 0xe3, 0xb0, 0x26, 0x5a, 0x3d, 1920 0xcb, 0xc1, 0xf8, 0xca, 0xe8, 0x70, 0x2f, 0xf0, 0x48, 0x25, 0x7a, 0xa0, 0x5d, 0x17, 0x50, 0xcb, 1921 0x73, 0x1c, 0xb4, 0x02, 0xe6, 0xb9, 0x21, 0x42, 0x37, 0xa1, 0x76, 0xe8, 0xfa, 0x01, 0x75, 0x9c, 1922 0x83, 0x13, 0xca, 0x5c, 0xcb, 0xb3, 0x71, 0x9f, 0xb7, 0x7c, 0x72, 0x17, 0xde, 0xb6, 0x06, 0x0f, 1923 0x1a, 0x2c, 0x44, 0x34, 0x3a, 0xd4, 0x3a, 0xa5, 0x2d, 0x54, 0x0b, 0x1b, 0x85, 0xad, 0x45, 0xf3, 1924 0xad, 0x08, 0x20, 0x19, 0x9e, 0x84, 0x66, 0xfd, 0x08, 0xde, 0x3c, 0xcf, 0x69, 0xa2, 0xdf, 0x75, 1925 0x02, 0xb2, 0x0a, 0x20, 0x39, 0x1a, 0xcc, 0x16, 0x34, 0x15, 0xb3, 0x22, 0x9f, 0x1c, 0xda, 0xa4, 1926 0x06, 0x73, 0x0e, 0x3d, 0x46, 0x47, 0x2d, 0x0a, 0x4b, 0x78, 0xa3, 0xef, 0xc1, 0x8d, 0x6f, 0xbb, 1927 0xc8, 0x7b, 0x92, 0x13, 0xed, 0xe1, 0x95, 0xe6, 0x73, 0xea, 0xbf, 0x2b, 0xb0, 0x9a, 0xe1, 0x7e, 1928 0x89, 0x45, 0x91, 0xef, 0x01, 0x38, 0x36, 0x91, 0xa3, 0x6b, 0xa1, 0xaf, 0x2a, 0x1b, 0xca, 0x56, 1929 0xb5, 0x7e, 0xc7, 0x88, 0xcf, 0x3f, 0x37, 0xa4, 0x61, 0x46, 0xae, 0x5f, 0xb9, 0x01, 0xef, 0x99, 1930 0x09, 0x2e, 0x8d, 0xc3, 0xf2, 0x39, 0x33, 0xb9, 0x0a, 0xca, 0x29, 0xf6, 0xe4, 0xd2, 0xfa, 0x97, 1931 0xe4, 0x10, 0xe6, 0xce, 0xa8, 0xd3, 0x45, 0xb1, 0xa8, 0x6a, 0x7d, 0xf7, 0x35, 0x22, 0x9b, 0x21, 1932 0xc3, 0xdd, 0xe2, 0x9d, 0x82, 0xf6, 0x02, 0x20, 0x36, 0x10, 0x13, 0x20, 0x4a, 0xad, 0xaf, 0x16, 1933 0xc4, 0xde, 0xea, 0x63, 0x47, 0x88, 0xef, 0x13, 0x2c, 0xda, 0xe7, 0x50, 0x89, 0x0c, 0x84, 0x40, 1934 0xc9, 0xa5, 0x6d, 0x94, 0x1b, 0x12, 0xd7, 0x44, 0x85, 0x85, 0x33, 0xe4, 0x3e, 0xf3, 0x5c, 0x79, 1935 0xd0, 0x83, 0x5b, 0x7d, 0x1f, 0x36, 0x1e, 0x60, 0x70, 0x31, 0x9e, 0x2c, 0xb7, 0x71, 0x8a, 0xe0, 1936 0x05, 0xe8, 0x79, 0x14, 0xb2, 0x10, 0x2e, 0x53, 0xf3, 0x6b, 0x70, 0x33, 0xe3, 0x58, 0xfc, 0xfe, 1937 0x02, 0xf5, 0xbf, 0x4b, 0xb0, 0x96, 0x05, 0x90, 0xe1, 0x3d, 0xa8, 0xb1, 0x81, 0xb1, 0x71, 0x21, 1938 0x01, 0x7b, 0xa3, 0x13, 0x20, 0x89, 0x8c, 0x94, 0xd4, 0xac, 0xb0, 0x8b, 0x68, 0xed, 0xb7, 0x22, 1939 0x90, 0x8b, 0xd8, 0xd7, 0xd3, 0x83, 0x93, 0xa2, 0x87, 0xc7, 0x97, 0x59, 0x72, 0xae, 0x46, 0xfc, 1940 0x71, 0x34, 0xf2, 0x68, 0x58, 0x23, 0xb7, 0xc7, 0x5f, 0x4d, 0xba, 0x48, 0xe8, 0x90, 0x48, 0x9e, 1941 0xa6, 0x88, 0x64, 0x77, 0xfc, 0x10, 0x53, 0x57, 0xc9, 0xaf, 0x0a, 0x6c, 0xee, 0x77, 0x3a, 0xdc, 1942 0x3b, 0xc3, 0x88, 0xe2, 0x4b, 0x6c, 0x32, 0x97, 0xf5, 0xbb, 0xfd, 0x7d, 0x8f, 0x1f, 0xf5, 0xbe, 1943 0xe1, 0x2d, 0x21, 0x16, 0x0d, 0xca, 0x3e, 0xbe, 0xec, 0xf6, 0xf7, 0x21, 0xc8, 0x15, 0x33, 0xba, 1944 0x8f, 0x82, 0x16, 0xd3, 0x83, 0x2a, 0x43, 0x41, 0xc9, 0x36, 0x10, 0x74, 0x6d, 0x8f, 0xfb, 0xd8, 1945 0x46, 0x37, 0x68, 0x74, 0x9c, 0x6e, 0x8b, 0xb9, 0x6a, 0x49, 0x80, 0xae, 0x25, 0x2c, 0x4f, 0x84, 1946 0x81, 0x7c, 0x08, 0xd7, 0xce, 0xa8, 0xc3, 0x6c, 0xda, 0x5f, 0xd2, 0x00, 0x3d, 0x27, 0xd0, 0x57, 1947 0x63, 0x83, 0x04, 0x7f, 0x02, 0xb5, 0x24, 0x98, 0x72, 0xda, 0xc6, 0x00, 0xb9, 0x3a, 0x2f, 0x84, 1948 0xb8, 0x92, 0xc0, 0x0f, 0x4c, 0x64, 0x1f, 0xaa, 0xf1, 0x80, 0xf3, 0xd5, 0x05, 0x91, 0xf7, 0xf5, 1949 0x70, 0xd2, 0xf9, 0xc6, 0x41, 0x64, 0x3a, 0xf0, 0xdc, 0x26, 0x6b, 0x0d, 0xc4, 0x9f, 0xf4, 0x21, 1950 0xef, 0xc2, 0x52, 0xff, 0xc8, 0x1a, 0x1c, 0x5f, 0x76, 0x19, 0x47, 0x5b, 0x2d, 0x6f, 0x14, 0xb6, 1951 0xca, 0xe6, 0x62, 0xff, 0xa1, 0x29, 0x9f, 0x91, 0x3a, 0xcc, 0xfb, 0x5e, 0x97, 0x5b, 0xa8, 0x56, 1952 0x44, 0x08, 0x2d, 0x91, 0xf7, 0xe8, 0xf0, 0x9f, 0x0a, 0x84, 0x29, 0x91, 0xfa, 0x7f, 0x05, 0x58, 1953 0x3e, 0x67, 0x23, 0x8f, 0xa0, 0xda, 0x75, 0xe9, 0x19, 0x65, 0x0e, 0x3d, 0x76, 0xc2, 0x5c, 0x54, 1954 0xeb, 0x9b, 0xd9, 0x64, 0xc6, 0xb3, 0x18, 0xfd, 0xf0, 0x8a, 0x99, 0x74, 0x26, 0x0f, 0x60, 0xc9, 1955 0xf1, 0x2c, 0x1a, 0x37, 0xac, 0xb0, 0xea, 0x37, 0x72, 0xd8, 0x1e, 0xf7, 0xf1, 0x0f, 0xaf, 0x98, 1956 0x8b, 0xc2, 0x51, 0x1e, 0x87, 0xb6, 0x04, 0xd5, 0x44, 0x18, 0x6d, 0x13, 0xe6, 0x04, 0x6e, 0x44, 1957 0x5b, 0xb8, 0x37, 0x0f, 0xa5, 0xef, 0x7a, 0x1d, 0xd4, 0x3f, 0x80, 0xad, 0xd1, 0x65, 0x18, 0x8a, 1958 0x40, 0xff, 0xa7, 0x08, 0xab, 0x07, 0x5e, 0xbb, 0xcd, 0x82, 0x14, 0xec, 0xac, 0x54, 0xa7, 0x50, 1959 0xaa, 0xfa, 0x3b, 0xb0, 0x9e, 0x79, 0xc2, 0x32, 0x0b, 0x7f, 0x15, 0x41, 0x3d, 0x38, 0x41, 0xeb, 1960 0x34, 0x04, 0x9a, 0x48, 0x6d, 0xe6, 0xa2, 0xef, 0xcf, 0x12, 0x30, 0x8d, 0x04, 0xfc, 0xa2, 0x80, 1961 0x96, 0x76, 0xba, 0x72, 0xe8, 0x9b, 0x50, 0xa1, 0x42, 0x2e, 0xd4, 0x19, 0x4c, 0x91, 0xdb, 0x43, 1962 0x92, 0xcd, 0xf2, 0x34, 0xf6, 0x07, 0x6e, 0xe1, 0x78, 0x8c, 0x69, 0xc8, 0x33, 0x80, 0x36, 0xf3, 1963 0xdb, 0x34, 0xb0, 0x4e, 0xd0, 0x57, 0x8b, 0x82, 0xf4, 0xd3, 0xf1, 0x48, 0x8f, 0x22, 0x3f, 0x39, 1964 0x74, 0x63, 0x22, 0x6d, 0x0f, 0xde, 0x18, 0x8e, 0x99, 0x32, 0x73, 0x6b, 0xc9, 0x99, 0x5b, 0x4e, 1965 0x4e, 0x4f, 0x1d, 0x20, 0x26, 0xef, 0xe3, 0x58, 0x80, 0xed, 0x70, 0xcb, 0x15, 0x33, 0xbc, 0xd1, 1966 0x3c, 0x58, 0x3e, 0xb7, 0x80, 0x94, 0x10, 0xf7, 0x87, 0xc7, 0xfa, 0xc7, 0x93, 0x6e, 0x2c, 0xb1, 1967 0x28, 0xfd, 0x39, 0xbc, 0x27, 0xe6, 0xb4, 0xec, 0x58, 0x76, 0x56, 0x1b, 0x4a, 0x1b, 0xc5, 0x49, 1968 0x65, 0x14, 0x87, 0x95, 0xa1, 0xff, 0xa8, 0xc0, 0xe6, 0x28, 0x62, 0x59, 0x00, 0x79, 0x02, 0xcb, 1969 0x9c, 0xf6, 0x19, 0x62, 0x52, 0x26, 0x12, 0x53, 0x69, 0x42, 0x31, 0xcd, 0x8d, 0x2d, 0xa6, 0xf9, 1970 0x69, 0x88, 0x69, 0x21, 0x77, 0xf0, 0x96, 0xc7, 0x1e, 0xbc, 0xb7, 0xe0, 0xfd, 0x51, 0xa9, 0x08, 1971 0x5f, 0xd1, 0xff, 0x28, 0xc1, 0xad, 0x91, 0x48, 0x99, 0xb5, 0x9f, 0x0b, 0xb0, 0x46, 0x25, 0x2c, 1972 0x7e, 0x57, 0x6f, 0xd8, 0x31, 0x50, 0x8a, 0xf9, 0xeb, 0xf3, 0xaf, 0x84, 0xa3, 0xc9, 0x8d, 0xbc, 1973 0xa2, 0xb9, 0x49, 0x73, 0xfc, 0xb5, 0x9f, 0x14, 0xb8, 0x91, 0xe3, 0x3d, 0x69, 0x1d, 0xcf, 0xba, 1974 0xf9, 0x34, 0xde, 0xfc, 0xea, 0xf2, 0xd3, 0x70, 0x82, 0xe6, 0xa2, 0xff, 0xab, 0xc8, 0xcf, 0xc5, 1975 0x59, 0xe3, 0x98, 0x4a, 0xe3, 0x78, 0x9e, 0x1c, 0xb3, 0xe5, 0xf4, 0xbf, 0x35, 0x99, 0x47, 0x9d, 1976 0x3d, 0x6a, 0x2f, 0x37, 0x13, 0xf5, 0x75, 0xf9, 0x6b, 0x2a, 0xb3, 0x25, 0xfd, 0xaf, 0xc0, 0x7a, 1977 0x26, 0x42, 0xd6, 0x81, 0x0f, 0xd7, 0xf3, 0x1a, 0xd0, 0x17, 0x63, 0x6c, 0xf3, 0xc2, 0x47, 0x69, 1978 0xe2, 0x04, 0x6a, 0x56, 0x5a, 0xa3, 0xf9, 0xb3, 0x08, 0x2b, 0xb3, 0x06, 0x33, 0xfd, 0x06, 0x73, 1979 0xaf, 0x09, 0x1f, 0x79, 0xbc, 0x65, 0x9c, 0xf4, 0x3a, 0xc8, 0x1d, 0xb4, 0x5b, 0xc8, 0x8d, 0x26, 1980 0x3d, 0xe6, 0xcc, 0x1a, 0x84, 0xea, 0x20, 0xf2, 0x38, 0xa5, 0x3f, 0x7c, 0xd6, 0x62, 0xc1, 0x49, 1981 0xf7, 0xd8, 0xb0, 0xbc, 0xf6, 0x4e, 0xc2, 0x69, 0x27, 0x74, 0xda, 0x0e, 0x9d, 0xb6, 0x5b, 0xde, 1982 0xce, 0xf0, 0x9f, 0xe2, 0xe3, 0x79, 0x61, 0xd9, 0x7d, 0x15, 0x00, 0x00, 0xff, 0xff, 0xfa, 0x49, 1983 0xc3, 0x8f, 0x42, 0x16, 0x00, 0x00, 1984 }