github.com/ZihuaZhang/fabric-protos-go@v1.0.7/peer/signed_cc_dep_spec.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: peer/signed_cc_dep_spec.proto 3 4 package peer 5 6 import ( 7 fmt "fmt" 8 proto "github.com/golang/protobuf/proto" 9 math "math" 10 ) 11 12 // Reference imports to suppress errors if they are not otherwise used. 13 var _ = proto.Marshal 14 var _ = fmt.Errorf 15 var _ = math.Inf 16 17 // This is a compile-time assertion to ensure that this generated file 18 // is compatible with the proto package it is being compiled against. 19 // A compilation error at this line likely means your copy of the 20 // proto package needs to be updated. 21 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 22 23 // SignedChaincodeDeploymentSpec carries the CDS along with endorsements 24 type SignedChaincodeDeploymentSpec struct { 25 // This is the bytes of the ChaincodeDeploymentSpec 26 ChaincodeDeploymentSpec []byte `protobuf:"bytes,1,opt,name=chaincode_deployment_spec,json=chaincodeDeploymentSpec,proto3" json:"chaincode_deployment_spec,omitempty"` 27 // This is the instantiation policy which is identical in structure 28 // to endorsement policy. This policy is checked by the VSCC at commit 29 // time on the instantiation (all peers will get the same policy as it 30 // will be part of the LSCC instantation record and will be part of the 31 // hash as well) 32 InstantiationPolicy []byte `protobuf:"bytes,2,opt,name=instantiation_policy,json=instantiationPolicy,proto3" json:"instantiation_policy,omitempty"` 33 // The endorsements of the above deployment spec, the owner's signature over 34 // chaincode_deployment_spec and Endorsement.endorser. 35 OwnerEndorsements []*Endorsement `protobuf:"bytes,3,rep,name=owner_endorsements,json=ownerEndorsements,proto3" json:"owner_endorsements,omitempty"` 36 XXX_NoUnkeyedLiteral struct{} `json:"-"` 37 XXX_unrecognized []byte `json:"-"` 38 XXX_sizecache int32 `json:"-"` 39 } 40 41 func (m *SignedChaincodeDeploymentSpec) Reset() { *m = SignedChaincodeDeploymentSpec{} } 42 func (m *SignedChaincodeDeploymentSpec) String() string { return proto.CompactTextString(m) } 43 func (*SignedChaincodeDeploymentSpec) ProtoMessage() {} 44 func (*SignedChaincodeDeploymentSpec) Descriptor() ([]byte, []int) { 45 return fileDescriptor_e007a7c0644e7e6f, []int{0} 46 } 47 48 func (m *SignedChaincodeDeploymentSpec) XXX_Unmarshal(b []byte) error { 49 return xxx_messageInfo_SignedChaincodeDeploymentSpec.Unmarshal(m, b) 50 } 51 func (m *SignedChaincodeDeploymentSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 52 return xxx_messageInfo_SignedChaincodeDeploymentSpec.Marshal(b, m, deterministic) 53 } 54 func (m *SignedChaincodeDeploymentSpec) XXX_Merge(src proto.Message) { 55 xxx_messageInfo_SignedChaincodeDeploymentSpec.Merge(m, src) 56 } 57 func (m *SignedChaincodeDeploymentSpec) XXX_Size() int { 58 return xxx_messageInfo_SignedChaincodeDeploymentSpec.Size(m) 59 } 60 func (m *SignedChaincodeDeploymentSpec) XXX_DiscardUnknown() { 61 xxx_messageInfo_SignedChaincodeDeploymentSpec.DiscardUnknown(m) 62 } 63 64 var xxx_messageInfo_SignedChaincodeDeploymentSpec proto.InternalMessageInfo 65 66 func (m *SignedChaincodeDeploymentSpec) GetChaincodeDeploymentSpec() []byte { 67 if m != nil { 68 return m.ChaincodeDeploymentSpec 69 } 70 return nil 71 } 72 73 func (m *SignedChaincodeDeploymentSpec) GetInstantiationPolicy() []byte { 74 if m != nil { 75 return m.InstantiationPolicy 76 } 77 return nil 78 } 79 80 func (m *SignedChaincodeDeploymentSpec) GetOwnerEndorsements() []*Endorsement { 81 if m != nil { 82 return m.OwnerEndorsements 83 } 84 return nil 85 } 86 87 func init() { 88 proto.RegisterType((*SignedChaincodeDeploymentSpec)(nil), "protos.SignedChaincodeDeploymentSpec") 89 } 90 91 func init() { proto.RegisterFile("peer/signed_cc_dep_spec.proto", fileDescriptor_e007a7c0644e7e6f) } 92 93 var fileDescriptor_e007a7c0644e7e6f = []byte{ 94 // 258 bytes of a gzipped FileDescriptorProto 95 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x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