github.com/ZihuaZhang/fabric-protos-go@v1.0.7/peer/chaincode.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: peer/chaincode.proto
     3  
     4  package peer
     5  
     6  import (
     7  	fmt "fmt"
     8  	proto "github.com/golang/protobuf/proto"
     9  	common "github.com/ZihuaZhang/fabric-protos-go/common"
    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  type ChaincodeSpec_Type int32
    25  
    26  const (
    27  	ChaincodeSpec_UNDEFINED ChaincodeSpec_Type = 0
    28  	ChaincodeSpec_GOLANG    ChaincodeSpec_Type = 1
    29  	ChaincodeSpec_NODE      ChaincodeSpec_Type = 2
    30  	ChaincodeSpec_CAR       ChaincodeSpec_Type = 3
    31  	ChaincodeSpec_JAVA      ChaincodeSpec_Type = 4
    32  )
    33  
    34  var ChaincodeSpec_Type_name = map[int32]string{
    35  	0: "UNDEFINED",
    36  	1: "GOLANG",
    37  	2: "NODE",
    38  	3: "CAR",
    39  	4: "JAVA",
    40  }
    41  
    42  var ChaincodeSpec_Type_value = map[string]int32{
    43  	"UNDEFINED": 0,
    44  	"GOLANG":    1,
    45  	"NODE":      2,
    46  	"CAR":       3,
    47  	"JAVA":      4,
    48  }
    49  
    50  func (x ChaincodeSpec_Type) String() string {
    51  	return proto.EnumName(ChaincodeSpec_Type_name, int32(x))
    52  }
    53  
    54  func (ChaincodeSpec_Type) EnumDescriptor() ([]byte, []int) {
    55  	return fileDescriptor_202814c635ff5fee, []int{2, 0}
    56  }
    57  
    58  // ChaincodeID contains the path as specified by the deploy transaction
    59  // that created it as well as the hashCode that is generated by the
    60  // system for the path. From the user level (ie, CLI, REST API and so on)
    61  // deploy transaction is expected to provide the path and other requests
    62  // are expected to provide the hashCode. The other value will be ignored.
    63  // Internally, the structure could contain both values. For instance, the
    64  // hashCode will be set when first generated using the path
    65  type ChaincodeID struct {
    66  	// deploy transaction will use the path
    67  	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
    68  	// all other requests will use the name (really a hashcode) generated by
    69  	// the deploy transaction
    70  	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
    71  	// user friendly version name for the chaincode
    72  	Version              string   `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
    73  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    74  	XXX_unrecognized     []byte   `json:"-"`
    75  	XXX_sizecache        int32    `json:"-"`
    76  }
    77  
    78  func (m *ChaincodeID) Reset()         { *m = ChaincodeID{} }
    79  func (m *ChaincodeID) String() string { return proto.CompactTextString(m) }
    80  func (*ChaincodeID) ProtoMessage()    {}
    81  func (*ChaincodeID) Descriptor() ([]byte, []int) {
    82  	return fileDescriptor_202814c635ff5fee, []int{0}
    83  }
    84  
    85  func (m *ChaincodeID) XXX_Unmarshal(b []byte) error {
    86  	return xxx_messageInfo_ChaincodeID.Unmarshal(m, b)
    87  }
    88  func (m *ChaincodeID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    89  	return xxx_messageInfo_ChaincodeID.Marshal(b, m, deterministic)
    90  }
    91  func (m *ChaincodeID) XXX_Merge(src proto.Message) {
    92  	xxx_messageInfo_ChaincodeID.Merge(m, src)
    93  }
    94  func (m *ChaincodeID) XXX_Size() int {
    95  	return xxx_messageInfo_ChaincodeID.Size(m)
    96  }
    97  func (m *ChaincodeID) XXX_DiscardUnknown() {
    98  	xxx_messageInfo_ChaincodeID.DiscardUnknown(m)
    99  }
   100  
   101  var xxx_messageInfo_ChaincodeID proto.InternalMessageInfo
   102  
   103  func (m *ChaincodeID) GetPath() string {
   104  	if m != nil {
   105  		return m.Path
   106  	}
   107  	return ""
   108  }
   109  
   110  func (m *ChaincodeID) GetName() string {
   111  	if m != nil {
   112  		return m.Name
   113  	}
   114  	return ""
   115  }
   116  
   117  func (m *ChaincodeID) GetVersion() string {
   118  	if m != nil {
   119  		return m.Version
   120  	}
   121  	return ""
   122  }
   123  
   124  // Carries the chaincode function and its arguments.
   125  // UnmarshalJSON in transaction.go converts the string-based REST/JSON input to
   126  // the []byte-based current ChaincodeInput structure.
   127  type ChaincodeInput struct {
   128  	Args        [][]byte          `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"`
   129  	Decorations map[string][]byte `protobuf:"bytes,2,rep,name=decorations,proto3" json:"decorations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   130  	// is_init is used for the application to signal that an invocation is to be routed
   131  	// to the legacy 'Init' function for compatibility with chaincodes which handled
   132  	// Init in the old way.  New applications should manage their initialized state
   133  	// themselves.
   134  	IsInit               bool     `protobuf:"varint,3,opt,name=is_init,json=isInit,proto3" json:"is_init,omitempty"`
   135  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   136  	XXX_unrecognized     []byte   `json:"-"`
   137  	XXX_sizecache        int32    `json:"-"`
   138  }
   139  
   140  func (m *ChaincodeInput) Reset()         { *m = ChaincodeInput{} }
   141  func (m *ChaincodeInput) String() string { return proto.CompactTextString(m) }
   142  func (*ChaincodeInput) ProtoMessage()    {}
   143  func (*ChaincodeInput) Descriptor() ([]byte, []int) {
   144  	return fileDescriptor_202814c635ff5fee, []int{1}
   145  }
   146  
   147  func (m *ChaincodeInput) XXX_Unmarshal(b []byte) error {
   148  	return xxx_messageInfo_ChaincodeInput.Unmarshal(m, b)
   149  }
   150  func (m *ChaincodeInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   151  	return xxx_messageInfo_ChaincodeInput.Marshal(b, m, deterministic)
   152  }
   153  func (m *ChaincodeInput) XXX_Merge(src proto.Message) {
   154  	xxx_messageInfo_ChaincodeInput.Merge(m, src)
   155  }
   156  func (m *ChaincodeInput) XXX_Size() int {
   157  	return xxx_messageInfo_ChaincodeInput.Size(m)
   158  }
   159  func (m *ChaincodeInput) XXX_DiscardUnknown() {
   160  	xxx_messageInfo_ChaincodeInput.DiscardUnknown(m)
   161  }
   162  
   163  var xxx_messageInfo_ChaincodeInput proto.InternalMessageInfo
   164  
   165  func (m *ChaincodeInput) GetArgs() [][]byte {
   166  	if m != nil {
   167  		return m.Args
   168  	}
   169  	return nil
   170  }
   171  
   172  func (m *ChaincodeInput) GetDecorations() map[string][]byte {
   173  	if m != nil {
   174  		return m.Decorations
   175  	}
   176  	return nil
   177  }
   178  
   179  func (m *ChaincodeInput) GetIsInit() bool {
   180  	if m != nil {
   181  		return m.IsInit
   182  	}
   183  	return false
   184  }
   185  
   186  // Carries the chaincode specification. This is the actual metadata required for
   187  // defining a chaincode.
   188  type ChaincodeSpec struct {
   189  	Type                 ChaincodeSpec_Type `protobuf:"varint,1,opt,name=type,proto3,enum=protos.ChaincodeSpec_Type" json:"type,omitempty"`
   190  	ChaincodeId          *ChaincodeID       `protobuf:"bytes,2,opt,name=chaincode_id,json=chaincodeId,proto3" json:"chaincode_id,omitempty"`
   191  	Input                *ChaincodeInput    `protobuf:"bytes,3,opt,name=input,proto3" json:"input,omitempty"`
   192  	Timeout              int32              `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
   193  	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
   194  	XXX_unrecognized     []byte             `json:"-"`
   195  	XXX_sizecache        int32              `json:"-"`
   196  }
   197  
   198  func (m *ChaincodeSpec) Reset()         { *m = ChaincodeSpec{} }
   199  func (m *ChaincodeSpec) String() string { return proto.CompactTextString(m) }
   200  func (*ChaincodeSpec) ProtoMessage()    {}
   201  func (*ChaincodeSpec) Descriptor() ([]byte, []int) {
   202  	return fileDescriptor_202814c635ff5fee, []int{2}
   203  }
   204  
   205  func (m *ChaincodeSpec) XXX_Unmarshal(b []byte) error {
   206  	return xxx_messageInfo_ChaincodeSpec.Unmarshal(m, b)
   207  }
   208  func (m *ChaincodeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   209  	return xxx_messageInfo_ChaincodeSpec.Marshal(b, m, deterministic)
   210  }
   211  func (m *ChaincodeSpec) XXX_Merge(src proto.Message) {
   212  	xxx_messageInfo_ChaincodeSpec.Merge(m, src)
   213  }
   214  func (m *ChaincodeSpec) XXX_Size() int {
   215  	return xxx_messageInfo_ChaincodeSpec.Size(m)
   216  }
   217  func (m *ChaincodeSpec) XXX_DiscardUnknown() {
   218  	xxx_messageInfo_ChaincodeSpec.DiscardUnknown(m)
   219  }
   220  
   221  var xxx_messageInfo_ChaincodeSpec proto.InternalMessageInfo
   222  
   223  func (m *ChaincodeSpec) GetType() ChaincodeSpec_Type {
   224  	if m != nil {
   225  		return m.Type
   226  	}
   227  	return ChaincodeSpec_UNDEFINED
   228  }
   229  
   230  func (m *ChaincodeSpec) GetChaincodeId() *ChaincodeID {
   231  	if m != nil {
   232  		return m.ChaincodeId
   233  	}
   234  	return nil
   235  }
   236  
   237  func (m *ChaincodeSpec) GetInput() *ChaincodeInput {
   238  	if m != nil {
   239  		return m.Input
   240  	}
   241  	return nil
   242  }
   243  
   244  func (m *ChaincodeSpec) GetTimeout() int32 {
   245  	if m != nil {
   246  		return m.Timeout
   247  	}
   248  	return 0
   249  }
   250  
   251  // Specify the deployment of a chaincode.
   252  // TODO: Define `codePackage`.
   253  type ChaincodeDeploymentSpec struct {
   254  	ChaincodeSpec        *ChaincodeSpec `protobuf:"bytes,1,opt,name=chaincode_spec,json=chaincodeSpec,proto3" json:"chaincode_spec,omitempty"`
   255  	CodePackage          []byte         `protobuf:"bytes,3,opt,name=code_package,json=codePackage,proto3" json:"code_package,omitempty"`
   256  	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
   257  	XXX_unrecognized     []byte         `json:"-"`
   258  	XXX_sizecache        int32          `json:"-"`
   259  }
   260  
   261  func (m *ChaincodeDeploymentSpec) Reset()         { *m = ChaincodeDeploymentSpec{} }
   262  func (m *ChaincodeDeploymentSpec) String() string { return proto.CompactTextString(m) }
   263  func (*ChaincodeDeploymentSpec) ProtoMessage()    {}
   264  func (*ChaincodeDeploymentSpec) Descriptor() ([]byte, []int) {
   265  	return fileDescriptor_202814c635ff5fee, []int{3}
   266  }
   267  
   268  func (m *ChaincodeDeploymentSpec) XXX_Unmarshal(b []byte) error {
   269  	return xxx_messageInfo_ChaincodeDeploymentSpec.Unmarshal(m, b)
   270  }
   271  func (m *ChaincodeDeploymentSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   272  	return xxx_messageInfo_ChaincodeDeploymentSpec.Marshal(b, m, deterministic)
   273  }
   274  func (m *ChaincodeDeploymentSpec) XXX_Merge(src proto.Message) {
   275  	xxx_messageInfo_ChaincodeDeploymentSpec.Merge(m, src)
   276  }
   277  func (m *ChaincodeDeploymentSpec) XXX_Size() int {
   278  	return xxx_messageInfo_ChaincodeDeploymentSpec.Size(m)
   279  }
   280  func (m *ChaincodeDeploymentSpec) XXX_DiscardUnknown() {
   281  	xxx_messageInfo_ChaincodeDeploymentSpec.DiscardUnknown(m)
   282  }
   283  
   284  var xxx_messageInfo_ChaincodeDeploymentSpec proto.InternalMessageInfo
   285  
   286  func (m *ChaincodeDeploymentSpec) GetChaincodeSpec() *ChaincodeSpec {
   287  	if m != nil {
   288  		return m.ChaincodeSpec
   289  	}
   290  	return nil
   291  }
   292  
   293  func (m *ChaincodeDeploymentSpec) GetCodePackage() []byte {
   294  	if m != nil {
   295  		return m.CodePackage
   296  	}
   297  	return nil
   298  }
   299  
   300  // Carries the chaincode function and its arguments.
   301  type ChaincodeInvocationSpec struct {
   302  	ChaincodeSpec        *ChaincodeSpec `protobuf:"bytes,1,opt,name=chaincode_spec,json=chaincodeSpec,proto3" json:"chaincode_spec,omitempty"`
   303  	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
   304  	XXX_unrecognized     []byte         `json:"-"`
   305  	XXX_sizecache        int32          `json:"-"`
   306  }
   307  
   308  func (m *ChaincodeInvocationSpec) Reset()         { *m = ChaincodeInvocationSpec{} }
   309  func (m *ChaincodeInvocationSpec) String() string { return proto.CompactTextString(m) }
   310  func (*ChaincodeInvocationSpec) ProtoMessage()    {}
   311  func (*ChaincodeInvocationSpec) Descriptor() ([]byte, []int) {
   312  	return fileDescriptor_202814c635ff5fee, []int{4}
   313  }
   314  
   315  func (m *ChaincodeInvocationSpec) XXX_Unmarshal(b []byte) error {
   316  	return xxx_messageInfo_ChaincodeInvocationSpec.Unmarshal(m, b)
   317  }
   318  func (m *ChaincodeInvocationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   319  	return xxx_messageInfo_ChaincodeInvocationSpec.Marshal(b, m, deterministic)
   320  }
   321  func (m *ChaincodeInvocationSpec) XXX_Merge(src proto.Message) {
   322  	xxx_messageInfo_ChaincodeInvocationSpec.Merge(m, src)
   323  }
   324  func (m *ChaincodeInvocationSpec) XXX_Size() int {
   325  	return xxx_messageInfo_ChaincodeInvocationSpec.Size(m)
   326  }
   327  func (m *ChaincodeInvocationSpec) XXX_DiscardUnknown() {
   328  	xxx_messageInfo_ChaincodeInvocationSpec.DiscardUnknown(m)
   329  }
   330  
   331  var xxx_messageInfo_ChaincodeInvocationSpec proto.InternalMessageInfo
   332  
   333  func (m *ChaincodeInvocationSpec) GetChaincodeSpec() *ChaincodeSpec {
   334  	if m != nil {
   335  		return m.ChaincodeSpec
   336  	}
   337  	return nil
   338  }
   339  
   340  // LifecycleEvent is used as the payload of the chaincode event emitted by LSCC
   341  type LifecycleEvent struct {
   342  	ChaincodeName        string   `protobuf:"bytes,1,opt,name=chaincode_name,json=chaincodeName,proto3" json:"chaincode_name,omitempty"`
   343  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   344  	XXX_unrecognized     []byte   `json:"-"`
   345  	XXX_sizecache        int32    `json:"-"`
   346  }
   347  
   348  func (m *LifecycleEvent) Reset()         { *m = LifecycleEvent{} }
   349  func (m *LifecycleEvent) String() string { return proto.CompactTextString(m) }
   350  func (*LifecycleEvent) ProtoMessage()    {}
   351  func (*LifecycleEvent) Descriptor() ([]byte, []int) {
   352  	return fileDescriptor_202814c635ff5fee, []int{5}
   353  }
   354  
   355  func (m *LifecycleEvent) XXX_Unmarshal(b []byte) error {
   356  	return xxx_messageInfo_LifecycleEvent.Unmarshal(m, b)
   357  }
   358  func (m *LifecycleEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   359  	return xxx_messageInfo_LifecycleEvent.Marshal(b, m, deterministic)
   360  }
   361  func (m *LifecycleEvent) XXX_Merge(src proto.Message) {
   362  	xxx_messageInfo_LifecycleEvent.Merge(m, src)
   363  }
   364  func (m *LifecycleEvent) XXX_Size() int {
   365  	return xxx_messageInfo_LifecycleEvent.Size(m)
   366  }
   367  func (m *LifecycleEvent) XXX_DiscardUnknown() {
   368  	xxx_messageInfo_LifecycleEvent.DiscardUnknown(m)
   369  }
   370  
   371  var xxx_messageInfo_LifecycleEvent proto.InternalMessageInfo
   372  
   373  func (m *LifecycleEvent) GetChaincodeName() string {
   374  	if m != nil {
   375  		return m.ChaincodeName
   376  	}
   377  	return ""
   378  }
   379  
   380  // CDSData is data stored in the LSCC on instantiation of a CC
   381  // for CDSPackage.  This needs to be serialized for ChaincodeData
   382  // hence the protobuf format
   383  type CDSData struct {
   384  	Hash                 []byte   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
   385  	Metadatahash         []byte   `protobuf:"bytes,2,opt,name=metadatahash,proto3" json:"metadatahash,omitempty"`
   386  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   387  	XXX_unrecognized     []byte   `json:"-"`
   388  	XXX_sizecache        int32    `json:"-"`
   389  }
   390  
   391  func (m *CDSData) Reset()         { *m = CDSData{} }
   392  func (m *CDSData) String() string { return proto.CompactTextString(m) }
   393  func (*CDSData) ProtoMessage()    {}
   394  func (*CDSData) Descriptor() ([]byte, []int) {
   395  	return fileDescriptor_202814c635ff5fee, []int{6}
   396  }
   397  
   398  func (m *CDSData) XXX_Unmarshal(b []byte) error {
   399  	return xxx_messageInfo_CDSData.Unmarshal(m, b)
   400  }
   401  func (m *CDSData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   402  	return xxx_messageInfo_CDSData.Marshal(b, m, deterministic)
   403  }
   404  func (m *CDSData) XXX_Merge(src proto.Message) {
   405  	xxx_messageInfo_CDSData.Merge(m, src)
   406  }
   407  func (m *CDSData) XXX_Size() int {
   408  	return xxx_messageInfo_CDSData.Size(m)
   409  }
   410  func (m *CDSData) XXX_DiscardUnknown() {
   411  	xxx_messageInfo_CDSData.DiscardUnknown(m)
   412  }
   413  
   414  var xxx_messageInfo_CDSData proto.InternalMessageInfo
   415  
   416  func (m *CDSData) GetHash() []byte {
   417  	if m != nil {
   418  		return m.Hash
   419  	}
   420  	return nil
   421  }
   422  
   423  func (m *CDSData) GetMetadatahash() []byte {
   424  	if m != nil {
   425  		return m.Metadatahash
   426  	}
   427  	return nil
   428  }
   429  
   430  // ChaincodeData defines the datastructure for chaincodes to be serialized by proto
   431  // Type provides an additional check by directing to use a specific package after instantiation
   432  // Data is Type specific (see CDSPackage and SignedCDSPackage)
   433  type ChaincodeData struct {
   434  	// Name of the chaincode
   435  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   436  	// Version of the chaincode
   437  	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
   438  	// Escc for the chaincode instance
   439  	Escc string `protobuf:"bytes,3,opt,name=escc,proto3" json:"escc,omitempty"`
   440  	// Vscc for the chaincode instance
   441  	Vscc string `protobuf:"bytes,4,opt,name=vscc,proto3" json:"vscc,omitempty"`
   442  	// Policy endorsement policy for the chaincode instance
   443  	Policy *common.SignaturePolicyEnvelope `protobuf:"bytes,5,opt,name=policy,proto3" json:"policy,omitempty"`
   444  	// Data data specific to the package
   445  	Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
   446  	// Id of the chaincode that's the unique fingerprint for the CC This is not
   447  	// currently used anywhere but serves as a good eyecatcher
   448  	Id []byte `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"`
   449  	// InstantiationPolicy for the chaincode
   450  	InstantiationPolicy  *common.SignaturePolicyEnvelope `protobuf:"bytes,8,opt,name=instantiation_policy,json=instantiationPolicy,proto3" json:"instantiation_policy,omitempty"`
   451  	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
   452  	XXX_unrecognized     []byte                          `json:"-"`
   453  	XXX_sizecache        int32                           `json:"-"`
   454  }
   455  
   456  func (m *ChaincodeData) Reset()         { *m = ChaincodeData{} }
   457  func (m *ChaincodeData) String() string { return proto.CompactTextString(m) }
   458  func (*ChaincodeData) ProtoMessage()    {}
   459  func (*ChaincodeData) Descriptor() ([]byte, []int) {
   460  	return fileDescriptor_202814c635ff5fee, []int{7}
   461  }
   462  
   463  func (m *ChaincodeData) XXX_Unmarshal(b []byte) error {
   464  	return xxx_messageInfo_ChaincodeData.Unmarshal(m, b)
   465  }
   466  func (m *ChaincodeData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   467  	return xxx_messageInfo_ChaincodeData.Marshal(b, m, deterministic)
   468  }
   469  func (m *ChaincodeData) XXX_Merge(src proto.Message) {
   470  	xxx_messageInfo_ChaincodeData.Merge(m, src)
   471  }
   472  func (m *ChaincodeData) XXX_Size() int {
   473  	return xxx_messageInfo_ChaincodeData.Size(m)
   474  }
   475  func (m *ChaincodeData) XXX_DiscardUnknown() {
   476  	xxx_messageInfo_ChaincodeData.DiscardUnknown(m)
   477  }
   478  
   479  var xxx_messageInfo_ChaincodeData proto.InternalMessageInfo
   480  
   481  func (m *ChaincodeData) GetName() string {
   482  	if m != nil {
   483  		return m.Name
   484  	}
   485  	return ""
   486  }
   487  
   488  func (m *ChaincodeData) GetVersion() string {
   489  	if m != nil {
   490  		return m.Version
   491  	}
   492  	return ""
   493  }
   494  
   495  func (m *ChaincodeData) GetEscc() string {
   496  	if m != nil {
   497  		return m.Escc
   498  	}
   499  	return ""
   500  }
   501  
   502  func (m *ChaincodeData) GetVscc() string {
   503  	if m != nil {
   504  		return m.Vscc
   505  	}
   506  	return ""
   507  }
   508  
   509  func (m *ChaincodeData) GetPolicy() *common.SignaturePolicyEnvelope {
   510  	if m != nil {
   511  		return m.Policy
   512  	}
   513  	return nil
   514  }
   515  
   516  func (m *ChaincodeData) GetData() []byte {
   517  	if m != nil {
   518  		return m.Data
   519  	}
   520  	return nil
   521  }
   522  
   523  func (m *ChaincodeData) GetId() []byte {
   524  	if m != nil {
   525  		return m.Id
   526  	}
   527  	return nil
   528  }
   529  
   530  func (m *ChaincodeData) GetInstantiationPolicy() *common.SignaturePolicyEnvelope {
   531  	if m != nil {
   532  		return m.InstantiationPolicy
   533  	}
   534  	return nil
   535  }
   536  
   537  func init() {
   538  	proto.RegisterEnum("protos.ChaincodeSpec_Type", ChaincodeSpec_Type_name, ChaincodeSpec_Type_value)
   539  	proto.RegisterType((*ChaincodeID)(nil), "protos.ChaincodeID")
   540  	proto.RegisterType((*ChaincodeInput)(nil), "protos.ChaincodeInput")
   541  	proto.RegisterMapType((map[string][]byte)(nil), "protos.ChaincodeInput.DecorationsEntry")
   542  	proto.RegisterType((*ChaincodeSpec)(nil), "protos.ChaincodeSpec")
   543  	proto.RegisterType((*ChaincodeDeploymentSpec)(nil), "protos.ChaincodeDeploymentSpec")
   544  	proto.RegisterType((*ChaincodeInvocationSpec)(nil), "protos.ChaincodeInvocationSpec")
   545  	proto.RegisterType((*LifecycleEvent)(nil), "protos.LifecycleEvent")
   546  	proto.RegisterType((*CDSData)(nil), "protos.CDSData")
   547  	proto.RegisterType((*ChaincodeData)(nil), "protos.ChaincodeData")
   548  }
   549  
   550  func init() { proto.RegisterFile("peer/chaincode.proto", fileDescriptor_202814c635ff5fee) }
   551  
   552  var fileDescriptor_202814c635ff5fee = []byte{
   553  	// 712 bytes of a gzipped FileDescriptorProto
   554  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcb, 0x6e, 0xeb, 0x36,
   555  	0x10, 0xad, 0x64, 0xf9, 0x11, 0xca, 0x31, 0x54, 0x26, 0x69, 0x84, 0x6c, 0xea, 0x0a, 0x28, 0xea,
   556  	0x45, 0x22, 0x03, 0x2e, 0xd0, 0x14, 0x45, 0x11, 0xc0, 0x8d, 0xdc, 0xc0, 0x41, 0xe0, 0x04, 0x4c,
   557  	0xdb, 0x45, 0x37, 0x06, 0x43, 0x8d, 0x65, 0x22, 0x36, 0x25, 0x48, 0xb4, 0x50, 0xfd, 0x48, 0xd7,
   558  	0xfd, 0x9c, 0xfe, 0xd5, 0xbd, 0x20, 0xe9, 0xe7, 0x4d, 0x16, 0x17, 0xb8, 0x2b, 0x8d, 0x0e, 0xcf,
   559  	0x3c, 0xce, 0x90, 0x33, 0xe8, 0x34, 0x03, 0xc8, 0xfb, 0x6c, 0x4e, 0xb9, 0x60, 0x69, 0x0c, 0x61,
   560  	0x96, 0xa7, 0x32, 0xc5, 0x0d, 0xfd, 0x29, 0x2e, 0xce, 0x58, 0xba, 0x5c, 0xa6, 0xa2, 0x9f, 0xa5,
   561  	0x0b, 0xce, 0x38, 0x14, 0xe6, 0x38, 0x78, 0x44, 0xee, 0xed, 0xc6, 0x63, 0x1c, 0x61, 0x8c, 0x9c,
   562  	0x8c, 0xca, 0xb9, 0x6f, 0x75, 0xad, 0xde, 0x11, 0xd1, 0xb6, 0xc2, 0x04, 0x5d, 0x82, 0x6f, 0x1b,
   563  	0x4c, 0xd9, 0xd8, 0x47, 0xcd, 0x12, 0xf2, 0x82, 0xa7, 0xc2, 0xaf, 0x69, 0x78, 0xf3, 0x1b, 0xfc,
   564  	0x6f, 0xa1, 0xce, 0x2e, 0xa2, 0xc8, 0x56, 0x52, 0x05, 0xa0, 0x79, 0x52, 0xf8, 0x56, 0xb7, 0xd6,
   565  	0x6b, 0x13, 0x6d, 0xe3, 0x31, 0x72, 0x63, 0x60, 0x69, 0x4e, 0x25, 0x4f, 0x45, 0xe1, 0xdb, 0xdd,
   566  	0x5a, 0xcf, 0x1d, 0xfc, 0x60, 0x8a, 0x2a, 0xc2, 0xc3, 0x00, 0x61, 0xb4, 0x63, 0x8e, 0x84, 0xcc,
   567  	0x2b, 0xb2, 0xef, 0x8b, 0xcf, 0x51, 0x93, 0x17, 0x53, 0x2e, 0xb8, 0xd4, 0xb5, 0xb4, 0x48, 0x83,
   568  	0x17, 0x63, 0xc1, 0xe5, 0xc5, 0x0d, 0xf2, 0x3e, 0xf5, 0xc4, 0x1e, 0xaa, 0xbd, 0x42, 0xb5, 0xd6,
   569  	0xa7, 0x4c, 0x7c, 0x8a, 0xea, 0x25, 0x5d, 0xac, 0x8c, 0xbe, 0x36, 0x31, 0x3f, 0xbf, 0xd8, 0x3f,
   570  	0x5b, 0xc1, 0x07, 0x0b, 0x1d, 0x6f, 0x2b, 0x79, 0xce, 0x80, 0xe1, 0x10, 0x39, 0xb2, 0xca, 0x40,
   571  	0xbb, 0x77, 0x06, 0x17, 0x6f, 0xca, 0x55, 0xa4, 0xf0, 0x8f, 0x2a, 0x03, 0xa2, 0x79, 0xf8, 0x27,
   572  	0xd4, 0xde, 0xde, 0xc7, 0x94, 0xc7, 0x3a, 0x85, 0x3b, 0x38, 0x79, 0x2b, 0x33, 0x22, 0xee, 0x96,
   573  	0x38, 0x8e, 0xf1, 0x25, 0xaa, 0x73, 0xa5, 0x5c, 0x0b, 0x72, 0x07, 0xdf, 0xbc, 0xdf, 0x17, 0x62,
   574  	0x48, 0xea, 0x32, 0x24, 0x5f, 0x42, 0xba, 0x92, 0xbe, 0xd3, 0xb5, 0x7a, 0x75, 0xb2, 0xf9, 0x0d,
   575  	0x6e, 0x90, 0xa3, 0xaa, 0xc1, 0xc7, 0xe8, 0xe8, 0xcf, 0x49, 0x34, 0xfa, 0x7d, 0x3c, 0x19, 0x45,
   576  	0xde, 0x57, 0x18, 0xa1, 0xc6, 0xdd, 0xe3, 0xc3, 0x70, 0x72, 0xe7, 0x59, 0xb8, 0x85, 0x9c, 0xc9,
   577  	0x63, 0x34, 0xf2, 0x6c, 0xdc, 0x44, 0xb5, 0xdb, 0x21, 0xf1, 0x6a, 0x0a, 0xba, 0x1f, 0xfe, 0x35,
   578  	0xf4, 0x9c, 0xe0, 0x3f, 0x0b, 0x9d, 0x6f, 0x73, 0x46, 0x90, 0x2d, 0xd2, 0x6a, 0x09, 0x42, 0xea,
   579  	0x5e, 0xfc, 0x8a, 0x3a, 0x3b, 0x6d, 0x45, 0x06, 0x4c, 0x77, 0xc5, 0x1d, 0x9c, 0xbd, 0xdb, 0x15,
   580  	0x72, 0xcc, 0x0e, 0x3a, 0xf9, 0x1d, 0x6a, 0x6b, 0xc7, 0x8c, 0xb2, 0x57, 0x9a, 0x80, 0x16, 0xda,
   581  	0x26, 0xae, 0xc2, 0x9e, 0x0c, 0x74, 0xef, 0xb4, 0x6c, 0xaf, 0x76, 0xef, 0xb4, 0x1c, 0xaf, 0x4e,
   582  	0x3a, 0x30, 0x9b, 0x01, 0x93, 0xbc, 0x84, 0x69, 0x4c, 0x25, 0x90, 0x16, 0xfc, 0x03, 0x6c, 0x0a,
   583  	0xa2, 0x0c, 0xb2, 0xbd, 0x0a, 0xc7, 0xa2, 0x4c, 0x99, 0xbe, 0xed, 0x2f, 0xaf, 0xd0, 0xa4, 0x27,
   584  	0x5f, 0xf3, 0x78, 0x9a, 0x80, 0x00, 0xf3, 0x88, 0xa6, 0x74, 0x91, 0x04, 0xd7, 0xa8, 0xf3, 0xc0,
   585  	0x67, 0xc0, 0x2a, 0xb6, 0x80, 0x51, 0x09, 0x42, 0xe2, 0xef, 0xf7, 0x13, 0xe9, 0x59, 0x31, 0xef,
   586  	0x6b, 0x17, 0x71, 0x42, 0x97, 0x10, 0x0c, 0x51, 0xf3, 0x36, 0x7a, 0x8e, 0xa8, 0xa4, 0x6a, 0x24,
   587  	0xe6, 0xb4, 0x30, 0x73, 0xd6, 0x26, 0xda, 0xc6, 0x01, 0x6a, 0x2f, 0x41, 0xd2, 0x98, 0x4a, 0xaa,
   588  	0xcf, 0xcc, 0x7b, 0x3c, 0xc0, 0x82, 0x7f, 0xed, 0xbd, 0x27, 0xb9, 0x89, 0xb4, 0x97, 0xf1, 0xcd,
   589  	0x74, 0xda, 0x07, 0xd3, 0xa9, 0xd8, 0x50, 0x30, 0xb6, 0x1e, 0x5a, 0x6d, 0x2b, 0xac, 0x54, 0x98,
   590  	0x63, 0x30, 0x65, 0xe3, 0x6b, 0xd4, 0xd0, 0x8b, 0xa2, 0xf2, 0xeb, 0xba, 0x65, 0xdf, 0x86, 0x66,
   591  	0x7d, 0x84, 0xcf, 0x3c, 0x11, 0x54, 0xae, 0x72, 0x78, 0xd2, 0xc7, 0x23, 0x51, 0xc2, 0x22, 0xcd,
   592  	0x80, 0xac, 0xe9, 0x2a, 0x98, 0x2a, 0xd6, 0x6f, 0x18, 0x61, 0xca, 0xc6, 0x1d, 0x64, 0xf3, 0xd8,
   593  	0x6f, 0x6a, 0xc4, 0xe6, 0x31, 0x26, 0xe8, 0x94, 0x8b, 0x42, 0x52, 0x21, 0xb9, 0xe9, 0xea, 0x3a,
   594  	0x55, 0xeb, 0xf3, 0x52, 0x9d, 0x1c, 0x38, 0x9b, 0xc3, 0xdf, 0x08, 0x0a, 0xd2, 0x3c, 0x09, 0xe7,
   595  	0x55, 0x06, 0xf9, 0x02, 0xe2, 0x04, 0xf2, 0x70, 0x46, 0x5f, 0x72, 0xce, 0x36, 0x77, 0xad, 0x96,
   596  	0xe3, 0xdf, 0x97, 0x09, 0x97, 0xf3, 0xd5, 0x8b, 0xca, 0xd0, 0xdf, 0xa3, 0xf6, 0x0d, 0xf5, 0xca,
   597  	0x50, 0xaf, 0x92, 0xb4, 0xaf, 0xd8, 0x2f, 0x66, 0x75, 0xfe, 0xf8, 0x31, 0x00, 0x00, 0xff, 0xff,
   598  	0x4e, 0xcb, 0x76, 0xde, 0x59, 0x05, 0x00, 0x00,
   599  }