{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.4.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package peer\n\n## Variables\n\n```go\nvar ChaincodeDeploymentSpec_ExecutionEnvironment_name = map[int32]string{\n\t0: \"DOCKER\",\n\t1: \"SYSTEM\",\n}\n```\n\n```go\nvar ChaincodeDeploymentSpec_ExecutionEnvironment_value = map[string]int32{\n\t\"DOCKER\": 0,\n\t\"SYSTEM\": 1,\n}\n```\n\n```go\nvar ChaincodeMessage_Type_name = map[int32]string{\n\t0:  \"UNDEFINED\",\n\t1:  \"REGISTER\",\n\t2:  \"REGISTERED\",\n\t3:  \"INIT\",\n\t4:  \"READY\",\n\t5:  \"TRANSACTION\",\n\t6:  \"COMPLETED\",\n\t7:  \"ERROR\",\n\t8:  \"GET_STATE\",\n\t9:  \"PUT_STATE\",\n\t10: \"DEL_STATE\",\n\t11: \"INVOKE_CHAINCODE\",\n\t13: \"RESPONSE\",\n\t14: \"GET_STATE_BY_RANGE\",\n\t15: \"GET_QUERY_RESULT\",\n\t16: \"QUERY_STATE_NEXT\",\n\t17: \"QUERY_STATE_CLOSE\",\n\t18: \"KEEPALIVE\",\n\t19: \"GET_HISTORY_FOR_KEY\",\n\t20: \"GET_STATE_METADATA\",\n\t21: \"PUT_STATE_METADATA\",\n\t22: \"GET_PRIVATE_DATA_HASH\",\n}\n```\n\n```go\nvar ChaincodeMessage_Type_value = map[string]int32{\n\t\"UNDEFINED\":             0,\n\t\"REGISTER\":              1,\n\t\"REGISTERED\":            2,\n\t\"INIT\":                  3,\n\t\"READY\":                 4,\n\t\"TRANSACTION\":           5,\n\t\"COMPLETED\":             6,\n\t\"ERROR\":                 7,\n\t\"GET_STATE\":             8,\n\t\"PUT_STATE\":             9,\n\t\"DEL_STATE\":             10,\n\t\"INVOKE_CHAINCODE\":      11,\n\t\"RESPONSE\":              13,\n\t\"GET_STATE_BY_RANGE\":    14,\n\t\"GET_QUERY_RESULT\":      15,\n\t\"QUERY_STATE_NEXT\":      16,\n\t\"QUERY_STATE_CLOSE\":     17,\n\t\"KEEPALIVE\":             18,\n\t\"GET_HISTORY_FOR_KEY\":   19,\n\t\"GET_STATE_METADATA\":    20,\n\t\"PUT_STATE_METADATA\":    21,\n\t\"GET_PRIVATE_DATA_HASH\": 22,\n}\n```\n\n```go\nvar ChaincodeSpec_Type_name = map[int32]string{\n\t0: \"UNDEFINED\",\n\t1: \"GOLANG\",\n\t2: \"NODE\",\n\t3: \"CAR\",\n\t4: \"JAVA\",\n}\n```\n\n```go\nvar ChaincodeSpec_Type_value = map[string]int32{\n\t\"UNDEFINED\": 0,\n\t\"GOLANG\":    1,\n\t\"NODE\":      2,\n\t\"CAR\":       3,\n\t\"JAVA\":      4,\n}\n```\n\n```go\nvar ConfidentialityLevel_name = map[int32]string{\n\t0: \"PUBLIC\",\n\t1: \"CONFIDENTIAL\",\n}\n```\n\n```go\nvar ConfidentialityLevel_value = map[string]int32{\n\t\"PUBLIC\":       0,\n\t\"CONFIDENTIAL\": 1,\n}\n```\n\n```go\nvar MetaDataKeys_name = map[int32]string{\n\t0: \"VALIDATION_PARAMETER\",\n}\n```\n\n```go\nvar MetaDataKeys_value = map[string]int32{\n\t\"VALIDATION_PARAMETER\": 0,\n}\n```\n\n```go\nvar ServerStatus_StatusCode_name = map[int32]string{\n\t0: \"UNDEFINED\",\n\t1: \"STARTED\",\n\t2: \"STOPPED\",\n\t3: \"PAUSED\",\n\t4: \"ERROR\",\n\t5: \"UNKNOWN\",\n}\n```\n\n```go\nvar ServerStatus_StatusCode_value = map[string]int32{\n\t\"UNDEFINED\": 0,\n\t\"STARTED\":   1,\n\t\"STOPPED\":   2,\n\t\"PAUSED\":    3,\n\t\"ERROR\":     4,\n\t\"UNKNOWN\":   5,\n}\n```\n\n```go\nvar TxValidationCode_name = map[int32]string{\n\t0:   \"VALID\",\n\t1:   \"NIL_ENVELOPE\",\n\t2:   \"BAD_PAYLOAD\",\n\t3:   \"BAD_COMMON_HEADER\",\n\t4:   \"BAD_CREATOR_SIGNATURE\",\n\t5:   \"INVALID_ENDORSER_TRANSACTION\",\n\t6:   \"INVALID_CONFIG_TRANSACTION\",\n\t7:   \"UNSUPPORTED_TX_PAYLOAD\",\n\t8:   \"BAD_PROPOSAL_TXID\",\n\t9:   \"DUPLICATE_TXID\",\n\t10:  \"ENDORSEMENT_POLICY_FAILURE\",\n\t11:  \"MVCC_READ_CONFLICT\",\n\t12:  \"PHANTOM_READ_CONFLICT\",\n\t13:  \"UNKNOWN_TX_TYPE\",\n\t14:  \"TARGET_CHAIN_NOT_FOUND\",\n\t15:  \"MARSHAL_TX_ERROR\",\n\t16:  \"NIL_TXACTION\",\n\t17:  \"EXPIRED_CHAINCODE\",\n\t18:  \"CHAINCODE_VERSION_CONFLICT\",\n\t19:  \"BAD_HEADER_EXTENSION\",\n\t20:  \"BAD_CHANNEL_HEADER\",\n\t21:  \"BAD_RESPONSE_PAYLOAD\",\n\t22:  \"BAD_RWSET\",\n\t23:  \"ILLEGAL_WRITESET\",\n\t24:  \"INVALID_WRITESET\",\n\t254: \"NOT_VALIDATED\",\n\t255: \"INVALID_OTHER_REASON\",\n}\n```\n\n```go\nvar TxValidationCode_value = map[string]int32{\n\t\"VALID\":                        0,\n\t\"NIL_ENVELOPE\":                 1,\n\t\"BAD_PAYLOAD\":                  2,\n\t\"BAD_COMMON_HEADER\":            3,\n\t\"BAD_CREATOR_SIGNATURE\":        4,\n\t\"INVALID_ENDORSER_TRANSACTION\": 5,\n\t\"INVALID_CONFIG_TRANSACTION\":   6,\n\t\"UNSUPPORTED_TX_PAYLOAD\":       7,\n\t\"BAD_PROPOSAL_TXID\":            8,\n\t\"DUPLICATE_TXID\":               9,\n\t\"ENDORSEMENT_POLICY_FAILURE\":   10,\n\t\"MVCC_READ_CONFLICT\":           11,\n\t\"PHANTOM_READ_CONFLICT\":        12,\n\t\"UNKNOWN_TX_TYPE\":              13,\n\t\"TARGET_CHAIN_NOT_FOUND\":       14,\n\t\"MARSHAL_TX_ERROR\":             15,\n\t\"NIL_TXACTION\":                 16,\n\t\"EXPIRED_CHAINCODE\":            17,\n\t\"CHAINCODE_VERSION_CONFLICT\":   18,\n\t\"BAD_HEADER_EXTENSION\":         19,\n\t\"BAD_CHANNEL_HEADER\":           20,\n\t\"BAD_RESPONSE_PAYLOAD\":         21,\n\t\"BAD_RWSET\":                    22,\n\t\"ILLEGAL_WRITESET\":             23,\n\t\"INVALID_WRITESET\":             24,\n\t\"NOT_VALIDATED\":                254,\n\t\"INVALID_OTHER_REASON\":         255,\n}\n```\n\n## Functions\n\n```go\nfunc RegisterAdminServer(s *grpc.Server, srv AdminServer)\n```\n\n```go\nfunc RegisterChaincodeSupportServer(s *grpc.Server, srv ChaincodeSupportServer)\n```\n\n```go\nfunc RegisterDeliverServer(s *grpc.Server, srv DeliverServer)\n```\n\n```go\nfunc RegisterEndorserServer(s *grpc.Server, srv EndorserServer)\n```\n\n## Types\n\n```go\ntype ACLs struct {\n\tAcls                 map[string]*APIResource `protobuf:\"bytes,1,rep,name=acls,proto3\" json:\"acls,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\tXXX_NoUnkeyedLiteral struct{}                `json:\"-\"`\n\tXXX_unrecognized     []byte                  `json:\"-\"`\n\tXXX_sizecache        int32                   `json:\"-\"`\n}\n```\nACLs provides mappings for resources in a channel. APIResource encapsulates reference to a policy used to determine ACL for the resource\n\n```go\nfunc (*ACLs) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ACLs) GetAcls() map[string]*APIResource\n```\n\n```go\nfunc (*ACLs) ProtoMessage()\n```\n\n```go\nfunc (m *ACLs) Reset()\n```\n\n```go\nfunc (m *ACLs) String() string\n```\n\n```go\nfunc (m *ACLs) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ACLs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ACLs) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ACLs) XXX_Size() int\n```\n\n```go\nfunc (m *ACLs) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype APIResource struct {\n\tPolicyRef            string   `protobuf:\"bytes,1,opt,name=policy_ref,json=policyRef,proto3\" json:\"policy_ref,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nAPIResource represents an API resource in the peer whose ACL is determined by the policy\\_ref field\n\n```go\nfunc (*APIResource) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *APIResource) GetPolicyRef() string\n```\n\n```go\nfunc (*APIResource) ProtoMessage()\n```\n\n```go\nfunc (m *APIResource) Reset()\n```\n\n```go\nfunc (m *APIResource) String() string\n```\n\n```go\nfunc (m *APIResource) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *APIResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *APIResource) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *APIResource) XXX_Size() int\n```\n\n```go\nfunc (m *APIResource) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype AdminClient interface {\n\tGetStatus(ctx context.Context, in *common.Envelope, opts ...grpc.CallOption) (*ServerStatus, error)\n\tStartServer(ctx context.Context, in *common.Envelope, opts ...grpc.CallOption) (*ServerStatus, error)\n\tGetModuleLogLevel(ctx context.Context, in *common.Envelope, opts ...grpc.CallOption) (*LogLevelResponse, error)\n\tSetModuleLogLevel(ctx context.Context, in *common.Envelope, opts ...grpc.CallOption) (*LogLevelResponse, error)\n\tRevertLogLevels(ctx context.Context, in *common.Envelope, opts ...grpc.CallOption) (*empty.Empty, error)\n\tGetLogSpec(ctx context.Context, in *common.Envelope, opts ...grpc.CallOption) (*LogSpecResponse, error)\n\tSetLogSpec(ctx context.Context, in *common.Envelope, opts ...grpc.CallOption) (*LogSpecResponse, error)\n}\n```\nAdminClient is the client API for Admin service.\n\nFor semantics around ctx use and closing/ending streaming RPCs, please refer to [https://godoc.org/google.golang.org/grpc#ClientConn.NewStream](https://godoc.org/google.golang.org/grpc#ClientConn.NewStream).\n\n```go\nfunc NewAdminClient(cc *grpc.ClientConn) AdminClient\n```\n\n```go\ntype AdminOperation struct {\n\t// Types that are valid to be assigned to Content:\n\t//\t*AdminOperation_LogReq\n\t//\t*AdminOperation_LogSpecReq\n\tContent              isAdminOperation_Content `protobuf_oneof:\"content\"`\n\tXXX_NoUnkeyedLiteral struct{}                 `json:\"-\"`\n\tXXX_unrecognized     []byte                   `json:\"-\"`\n\tXXX_sizecache        int32                    `json:\"-\"`\n}\n```\n\n```go\nfunc (*AdminOperation) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *AdminOperation) GetContent() isAdminOperation_Content\n```\n\n```go\nfunc (m *AdminOperation) GetLogReq() *LogLevelRequest\n```\n\n```go\nfunc (m *AdminOperation) GetLogSpecReq() *LogSpecRequest\n```\n\n```go\nfunc (*AdminOperation) ProtoMessage()\n```\n\n```go\nfunc (m *AdminOperation) Reset()\n```\n\n```go\nfunc (m *AdminOperation) String() string\n```\n\n```go\nfunc (m *AdminOperation) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *AdminOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *AdminOperation) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*AdminOperation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})\n```\nXXX\\_OneofFuncs is for the internal use of the proto package.\n\n```go\nfunc (m *AdminOperation) XXX_Size() int\n```\n\n```go\nfunc (m *AdminOperation) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype AdminOperation_LogReq struct {\n\tLogReq *LogLevelRequest `protobuf:\"bytes,1,opt,name=logReq,proto3,oneof\"`\n}\n```\n\n```go\ntype AdminOperation_LogSpecReq struct {\n\tLogSpecReq *LogSpecRequest `protobuf:\"bytes,2,opt,name=logSpecReq,proto3,oneof\"`\n}\n```\n\n```go\ntype AdminServer interface {\n\tGetStatus(context.Context, *common.Envelope) (*ServerStatus, error)\n\tStartServer(context.Context, *common.Envelope) (*ServerStatus, error)\n\tGetModuleLogLevel(context.Context, *common.Envelope) (*LogLevelResponse, error)\n\tSetModuleLogLevel(context.Context, *common.Envelope) (*LogLevelResponse, error)\n\tRevertLogLevels(context.Context, *common.Envelope) (*empty.Empty, error)\n\tGetLogSpec(context.Context, *common.Envelope) (*LogSpecResponse, error)\n\tSetLogSpec(context.Context, *common.Envelope) (*LogSpecResponse, error)\n}\n```\nAdminServer is the server API for Admin service.\n\n```go\ntype AnchorPeer struct {\n\t// DNS host name of the anchor peer\n\tHost string `protobuf:\"bytes,1,opt,name=host,proto3\" json:\"host,omitempty\"`\n\t// The port number\n\tPort                 int32    `protobuf:\"varint,2,opt,name=port,proto3\" json:\"port,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nAnchorPeer message structure which provides information about anchor peer, it includes host name, port number and peer certificate.\n\n```go\nfunc (*AnchorPeer) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *AnchorPeer) GetHost() string\n```\n\n```go\nfunc (m *AnchorPeer) GetPort() int32\n```\n\n```go\nfunc (*AnchorPeer) ProtoMessage()\n```\n\n```go\nfunc (m *AnchorPeer) Reset()\n```\n\n```go\nfunc (m *AnchorPeer) String() string\n```\n\n```go\nfunc (m *AnchorPeer) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *AnchorPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *AnchorPeer) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *AnchorPeer) XXX_Size() int\n```\n\n```go\nfunc (m *AnchorPeer) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype AnchorPeers struct {\n\tAnchorPeers          []*AnchorPeer `protobuf:\"bytes,1,rep,name=anchor_peers,json=anchorPeers,proto3\" json:\"anchor_peers,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}      `json:\"-\"`\n\tXXX_unrecognized     []byte        `json:\"-\"`\n\tXXX_sizecache        int32         `json:\"-\"`\n}\n```\nAnchorPeers simply represents list of anchor peers which is used in ConfigurationItem\n\n```go\nfunc (*AnchorPeers) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *AnchorPeers) GetAnchorPeers() []*AnchorPeer\n```\n\n```go\nfunc (*AnchorPeers) ProtoMessage()\n```\n\n```go\nfunc (m *AnchorPeers) Reset()\n```\n\n```go\nfunc (m *AnchorPeers) String() string\n```\n\n```go\nfunc (m *AnchorPeers) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *AnchorPeers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *AnchorPeers) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *AnchorPeers) XXX_Size() int\n```\n\n```go\nfunc (m *AnchorPeers) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChaincodeAction struct {\n\t// This field contains the read set and the write set produced by the\n\t// chaincode executing this invocation.\n\tResults []byte `protobuf:\"bytes,1,opt,name=results,proto3\" json:\"results,omitempty\"`\n\t// This field contains the events generated by the chaincode executing this\n\t// invocation.\n\tEvents []byte `protobuf:\"bytes,2,opt,name=events,proto3\" json:\"events,omitempty\"`\n\t// This field contains the result of executing this invocation.\n\tResponse *Response `protobuf:\"bytes,3,opt,name=response,proto3\" json:\"response,omitempty\"`\n\t// This field contains the ChaincodeID of executing this invocation. Endorser\n\t// will set it with the ChaincodeID called by endorser while simulating proposal.\n\t// Committer will validate the version matching with latest chaincode version.\n\t// Adding ChaincodeID to keep version opens up the possibility of multiple\n\t// ChaincodeAction per transaction.\n\tChaincodeId *ChaincodeID `protobuf:\"bytes,4,opt,name=chaincode_id,json=chaincodeId,proto3\" json:\"chaincode_id,omitempty\"`\n\t// This field contains the token expectation generated by the chaincode\n\t// executing this invocation\n\tTokenExpectation     *token.TokenExpectation `protobuf:\"bytes,5,opt,name=token_expectation,json=tokenExpectation,proto3\" json:\"token_expectation,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}                `json:\"-\"`\n\tXXX_unrecognized     []byte                  `json:\"-\"`\n\tXXX_sizecache        int32                   `json:\"-\"`\n}\n```\nChaincodeAction contains the actions the events generated by the execution of the chaincode.\n\n```go\nfunc (*ChaincodeAction) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChaincodeAction) GetChaincodeId() *ChaincodeID\n```\n\n```go\nfunc (m *ChaincodeAction) GetEvents() []byte\n```\n\n```go\nfunc (m *ChaincodeAction) GetResponse() *Response\n```\n\n```go\nfunc (m *ChaincodeAction) GetResults() []byte\n```\n\n```go\nfunc (m *ChaincodeAction) GetTokenExpectation() *token.TokenExpectation\n```\n\n```go\nfunc (*ChaincodeAction) ProtoMessage()\n```\n\n```go\nfunc (m *ChaincodeAction) Reset()\n```\n\n```go\nfunc (ca *ChaincodeAction) StaticallyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\nfunc (ca *ChaincodeAction) StaticallyOpaqueFields() []string\n```\n\n```go\nfunc (m *ChaincodeAction) String() string\n```\n\n```go\nfunc (m *ChaincodeAction) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChaincodeAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChaincodeAction) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChaincodeAction) XXX_Size() int\n```\n\n```go\nfunc (m *ChaincodeAction) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChaincodeActionPayload struct {\n\t// This field contains the bytes of the ChaincodeProposalPayload message from\n\t// the original invocation (essentially the arguments) after the application\n\t// of the visibility function. The main visibility modes are \"full\" (the\n\t// entire ChaincodeProposalPayload message is included here), \"hash\" (only\n\t// the hash of the ChaincodeProposalPayload message is included) or\n\t// \"nothing\".  This field will be used to check the consistency of\n\t// ProposalResponsePayload.proposalHash.  For the CHAINCODE type,\n\t// ProposalResponsePayload.proposalHash is supposed to be H(ProposalHeader ||\n\t// f(ChaincodeProposalPayload)) where f is the visibility function.\n\tChaincodeProposalPayload []byte `protobuf:\"bytes,1,opt,name=chaincode_proposal_payload,json=chaincodeProposalPayload,proto3\" json:\"chaincode_proposal_payload,omitempty\"`\n\t// The list of actions to apply to the ledger\n\tAction               *ChaincodeEndorsedAction `protobuf:\"bytes,2,opt,name=action,proto3\" json:\"action,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}                 `json:\"-\"`\n\tXXX_unrecognized     []byte                   `json:\"-\"`\n\tXXX_sizecache        int32                    `json:\"-\"`\n}\n```\nChaincodeActionPayload is the message to be used for the TransactionAction's payload when the Header's type is set to CHAINCODE.  It carries the chaincodeProposalPayload and an endorsed action to apply to the ledger.\n\n```go\nfunc (*ChaincodeActionPayload) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChaincodeActionPayload) GetAction() *ChaincodeEndorsedAction\n```\n\n```go\nfunc (m *ChaincodeActionPayload) GetChaincodeProposalPayload() []byte\n```\n\n```go\nfunc (*ChaincodeActionPayload) ProtoMessage()\n```\n\n```go\nfunc (m *ChaincodeActionPayload) Reset()\n```\n\n```go\nfunc (cap *ChaincodeActionPayload) StaticallyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\nfunc (cap *ChaincodeActionPayload) StaticallyOpaqueFields() []string\n```\n\n```go\nfunc (m *ChaincodeActionPayload) String() string\n```\n\n```go\nfunc (m *ChaincodeActionPayload) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChaincodeActionPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChaincodeActionPayload) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChaincodeActionPayload) XXX_Size() int\n```\n\n```go\nfunc (m *ChaincodeActionPayload) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChaincodeDeploymentSpec struct {\n\tChaincodeSpec        *ChaincodeSpec                               `protobuf:\"bytes,1,opt,name=chaincode_spec,json=chaincodeSpec,proto3\" json:\"chaincode_spec,omitempty\"`\n\tCodePackage          []byte                                       `protobuf:\"bytes,3,opt,name=code_package,json=codePackage,proto3\" json:\"code_package,omitempty\"`\n\tExecEnv              ChaincodeDeploymentSpec_ExecutionEnvironment `protobuf:\"varint,4,opt,name=exec_env,json=execEnv,proto3,enum=protos.ChaincodeDeploymentSpec_ExecutionEnvironment\" json:\"exec_env,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}                                     `json:\"-\"`\n\tXXX_unrecognized     []byte                                       `json:\"-\"`\n\tXXX_sizecache        int32                                        `json:\"-\"`\n}\n```\nSpecify the deployment of a chaincode. TODO: Define \\`codePackage\\`.\n\n```go\nfunc (cds *ChaincodeDeploymentSpec) Bytes() []byte\n```\nBytes implements the platforms.CodePackage interface\n\n```go\nfunc (cds *ChaincodeDeploymentSpec) CCType() string\n```\n\n```go\nfunc (*ChaincodeDeploymentSpec) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChaincodeDeploymentSpec) GetChaincodeSpec() *ChaincodeSpec\n```\n\n```go\nfunc (m *ChaincodeDeploymentSpec) GetCodePackage() []byte\n```\n\n```go\nfunc (m *ChaincodeDeploymentSpec) GetExecEnv() ChaincodeDeploymentSpec_ExecutionEnvironment\n```\n\n```go\nfunc (cds *ChaincodeDeploymentSpec) Name() string\n```\n\n```go\nfunc (cds *ChaincodeDeploymentSpec) Path() string\n```\nPath implements the platforms.PathDescriber interface\n\n```go\nfunc (*ChaincodeDeploymentSpec) ProtoMessage()\n```\n\n```go\nfunc (m *ChaincodeDeploymentSpec) Reset()\n```\n\n```go\nfunc (m *ChaincodeDeploymentSpec) String() string\n```\n\n```go\nfunc (cds *ChaincodeDeploymentSpec) Version() string\n```\n\n```go\nfunc (m *ChaincodeDeploymentSpec) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChaincodeDeploymentSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChaincodeDeploymentSpec) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChaincodeDeploymentSpec) XXX_Size() int\n```\n\n```go\nfunc (m *ChaincodeDeploymentSpec) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChaincodeDeploymentSpec_ExecutionEnvironment int32\n```\n\n```go\nconst (\n\tChaincodeDeploymentSpec_DOCKER ChaincodeDeploymentSpec_ExecutionEnvironment = 0\n\tChaincodeDeploymentSpec_SYSTEM ChaincodeDeploymentSpec_ExecutionEnvironment = 1\n)\n```\n\n```go\nfunc (ChaincodeDeploymentSpec_ExecutionEnvironment) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x ChaincodeDeploymentSpec_ExecutionEnvironment) String() string\n```\n\n```go\ntype ChaincodeEndorsedAction struct {\n\t// This is the bytes of the ProposalResponsePayload message signed by the\n\t// endorsers.  Recall that for the CHAINCODE type, the\n\t// ProposalResponsePayload's extenstion field carries a ChaincodeAction\n\tProposalResponsePayload []byte `protobuf:\"bytes,1,opt,name=proposal_response_payload,json=proposalResponsePayload,proto3\" json:\"proposal_response_payload,omitempty\"`\n\t// The endorsement of the proposal, basically the endorser's signature over\n\t// proposalResponsePayload\n\tEndorsements         []*Endorsement `protobuf:\"bytes,2,rep,name=endorsements,proto3\" json:\"endorsements,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}       `json:\"-\"`\n\tXXX_unrecognized     []byte         `json:\"-\"`\n\tXXX_sizecache        int32          `json:\"-\"`\n}\n```\nChaincodeEndorsedAction carries information about the endorsement of a specific proposal\n\n```go\nfunc (*ChaincodeEndorsedAction) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChaincodeEndorsedAction) GetEndorsements() []*Endorsement\n```\n\n```go\nfunc (m *ChaincodeEndorsedAction) GetProposalResponsePayload() []byte\n```\n\n```go\nfunc (*ChaincodeEndorsedAction) ProtoMessage()\n```\n\n```go\nfunc (m *ChaincodeEndorsedAction) Reset()\n```\n\n```go\nfunc (cae *ChaincodeEndorsedAction) StaticallyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\nfunc (cae *ChaincodeEndorsedAction) StaticallyOpaqueFields() []string\n```\n\n```go\nfunc (m *ChaincodeEndorsedAction) String() string\n```\n\n```go\nfunc (m *ChaincodeEndorsedAction) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChaincodeEndorsedAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChaincodeEndorsedAction) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChaincodeEndorsedAction) XXX_Size() int\n```\n\n```go\nfunc (m *ChaincodeEndorsedAction) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChaincodeEndorsement struct {\n\tName                 string   `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nChaincodeEndorsement instructs the peer how transactions should be endorsed.  The only endorsement mechanism which ships with the fabric today is the standard 'escc' mechanism. This code simply simulates the proposal to generate a RW set, then signs the result using the peer's local signing identity.\n\n```go\nfunc (*ChaincodeEndorsement) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChaincodeEndorsement) GetName() string\n```\n\n```go\nfunc (*ChaincodeEndorsement) ProtoMessage()\n```\n\n```go\nfunc (m *ChaincodeEndorsement) Reset()\n```\n\n```go\nfunc (m *ChaincodeEndorsement) String() string\n```\n\n```go\nfunc (m *ChaincodeEndorsement) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChaincodeEndorsement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChaincodeEndorsement) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChaincodeEndorsement) XXX_Size() int\n```\n\n```go\nfunc (m *ChaincodeEndorsement) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChaincodeEvent struct {\n\tChaincodeId          string   `protobuf:\"bytes,1,opt,name=chaincode_id,json=chaincodeId,proto3\" json:\"chaincode_id,omitempty\"`\n\tTxId                 string   `protobuf:\"bytes,2,opt,name=tx_id,json=txId,proto3\" json:\"tx_id,omitempty\"`\n\tEventName            string   `protobuf:\"bytes,3,opt,name=event_name,json=eventName,proto3\" json:\"event_name,omitempty\"`\n\tPayload              []byte   `protobuf:\"bytes,4,opt,name=payload,proto3\" json:\"payload,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nChaincodeEvent is used for events and registrations that are specific to chaincode string type - \"chaincode\"\n\n```go\nfunc (*ChaincodeEvent) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChaincodeEvent) GetChaincodeId() string\n```\n\n```go\nfunc (m *ChaincodeEvent) GetEventName() string\n```\n\n```go\nfunc (m *ChaincodeEvent) GetPayload() []byte\n```\n\n```go\nfunc (m *ChaincodeEvent) GetTxId() string\n```\n\n```go\nfunc (*ChaincodeEvent) ProtoMessage()\n```\n\n```go\nfunc (m *ChaincodeEvent) Reset()\n```\n\n```go\nfunc (m *ChaincodeEvent) String() string\n```\n\n```go\nfunc (m *ChaincodeEvent) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChaincodeEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChaincodeEvent) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChaincodeEvent) XXX_Size() int\n```\n\n```go\nfunc (m *ChaincodeEvent) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChaincodeHeaderExtension struct {\n\t// The PayloadVisibility field controls to what extent the Proposal's payload\n\t// (recall that for the type CHAINCODE, it is ChaincodeProposalPayload\n\t// message) field will be visible in the final transaction and in the ledger.\n\t// Ideally, it would be configurable, supporting at least 3 main visibility\n\t// modes:\n\t// 1. all bytes of the payload are visible;\n\t// 2. only a hash of the payload is visible;\n\t// 3. nothing is visible.\n\t// Notice that the visibility function may be potentially part of the ESCC.\n\t// In that case it overrides PayloadVisibility field.  Finally notice that\n\t// this field impacts the content of ProposalResponsePayload.proposalHash.\n\tPayloadVisibility []byte `protobuf:\"bytes,1,opt,name=payload_visibility,json=payloadVisibility,proto3\" json:\"payload_visibility,omitempty\"`\n\t// The ID of the chaincode to target.\n\tChaincodeId          *ChaincodeID `protobuf:\"bytes,2,opt,name=chaincode_id,json=chaincodeId,proto3\" json:\"chaincode_id,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}     `json:\"-\"`\n\tXXX_unrecognized     []byte       `json:\"-\"`\n\tXXX_sizecache        int32        `json:\"-\"`\n}\n```\nChaincodeHeaderExtension is the Header's extentions message to be used when the Header's type is CHAINCODE.  This extensions is used to specify which chaincode to invoke and what should appear on the ledger.\n\n```go\nfunc (*ChaincodeHeaderExtension) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChaincodeHeaderExtension) GetChaincodeId() *ChaincodeID\n```\n\n```go\nfunc (m *ChaincodeHeaderExtension) GetPayloadVisibility() []byte\n```\n\n```go\nfunc (*ChaincodeHeaderExtension) ProtoMessage()\n```\n\n```go\nfunc (m *ChaincodeHeaderExtension) Reset()\n```\n\n```go\nfunc (m *ChaincodeHeaderExtension) String() string\n```\n\n```go\nfunc (m *ChaincodeHeaderExtension) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChaincodeHeaderExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChaincodeHeaderExtension) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChaincodeHeaderExtension) XXX_Size() int\n```\n\n```go\nfunc (m *ChaincodeHeaderExtension) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChaincodeID struct {\n\t// deploy transaction will use the path\n\tPath string `protobuf:\"bytes,1,opt,name=path,proto3\" json:\"path,omitempty\"`\n\t// all other requests will use the name (really a hashcode) generated by\n\t// the deploy transaction\n\tName string `protobuf:\"bytes,2,opt,name=name,proto3\" json:\"name,omitempty\"`\n\t// user friendly version name for the chaincode\n\tVersion              string   `protobuf:\"bytes,3,opt,name=version,proto3\" json:\"version,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nChaincodeID contains the path as specified by the deploy transaction that created it as well as the hashCode that is generated by the system for the path. From the user level (ie, CLI, REST API and so on) deploy transaction is expected to provide the path and other requests are expected to provide the hashCode. The other value will be ignored. Internally, the structure could contain both values. For instance, the hashCode will be set when first generated using the path\n\n```go\nfunc (*ChaincodeID) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChaincodeID) GetName() string\n```\n\n```go\nfunc (m *ChaincodeID) GetPath() string\n```\n\n```go\nfunc (m *ChaincodeID) GetVersion() string\n```\n\n```go\nfunc (*ChaincodeID) ProtoMessage()\n```\n\n```go\nfunc (m *ChaincodeID) Reset()\n```\n\n```go\nfunc (m *ChaincodeID) String() string\n```\n\n```go\nfunc (m *ChaincodeID) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChaincodeID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChaincodeID) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChaincodeID) XXX_Size() int\n```\n\n```go\nfunc (m *ChaincodeID) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChaincodeIdentifier struct {\n\tHash                 []byte   `protobuf:\"bytes,1,opt,name=hash,proto3\" json:\"hash,omitempty\"`\n\tVersion              string   `protobuf:\"bytes,2,opt,name=version,proto3\" json:\"version,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nChaincodeIdentifier identifies a piece of chaincode.  For a peer to accept invocations of this chaincode, the hash of the installed code must match, as must the version string included with the install command.\n\n```go\nfunc (*ChaincodeIdentifier) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChaincodeIdentifier) GetHash() []byte\n```\n\n```go\nfunc (m *ChaincodeIdentifier) GetVersion() string\n```\n\n```go\nfunc (*ChaincodeIdentifier) ProtoMessage()\n```\n\n```go\nfunc (m *ChaincodeIdentifier) Reset()\n```\n\n```go\nfunc (m *ChaincodeIdentifier) String() string\n```\n\n```go\nfunc (m *ChaincodeIdentifier) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChaincodeIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChaincodeIdentifier) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChaincodeIdentifier) XXX_Size() int\n```\n\n```go\nfunc (m *ChaincodeIdentifier) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChaincodeInfo struct {\n\tName    string `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\tVersion string `protobuf:\"bytes,2,opt,name=version,proto3\" json:\"version,omitempty\"`\n\t// the path as specified by the install/instantiate transaction\n\tPath string `protobuf:\"bytes,3,opt,name=path,proto3\" json:\"path,omitempty\"`\n\t// the chaincode function upon instantiation and its arguments. This will be\n\t// blank if the query is returning information about installed chaincodes.\n\tInput string `protobuf:\"bytes,4,opt,name=input,proto3\" json:\"input,omitempty\"`\n\t// the name of the ESCC for this chaincode. This will be\n\t// blank if the query is returning information about installed chaincodes.\n\tEscc string `protobuf:\"bytes,5,opt,name=escc,proto3\" json:\"escc,omitempty\"`\n\t// the name of the VSCC for this chaincode. This will be\n\t// blank if the query is returning information about installed chaincodes.\n\tVscc string `protobuf:\"bytes,6,opt,name=vscc,proto3\" json:\"vscc,omitempty\"`\n\t// the chaincode unique id.\n\t// computed as: H(\n\t//                H(name || version) ||\n\t//                H(CodePackage)\n\t//              )\n\tId                   []byte   `protobuf:\"bytes,7,opt,name=id,proto3\" json:\"id,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nChaincodeInfo contains general information about an installed/instantiated chaincode\n\n```go\nfunc (*ChaincodeInfo) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChaincodeInfo) GetEscc() string\n```\n\n```go\nfunc (m *ChaincodeInfo) GetId() []byte\n```\n\n```go\nfunc (m *ChaincodeInfo) GetInput() string\n```\n\n```go\nfunc (m *ChaincodeInfo) GetName() string\n```\n\n```go\nfunc (m *ChaincodeInfo) GetPath() string\n```\n\n```go\nfunc (m *ChaincodeInfo) GetVersion() string\n```\n\n```go\nfunc (m *ChaincodeInfo) GetVscc() string\n```\n\n```go\nfunc (*ChaincodeInfo) ProtoMessage()\n```\n\n```go\nfunc (m *ChaincodeInfo) Reset()\n```\n\n```go\nfunc (m *ChaincodeInfo) String() string\n```\n\n```go\nfunc (m *ChaincodeInfo) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChaincodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChaincodeInfo) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChaincodeInfo) XXX_Size() int\n```\n\n```go\nfunc (m *ChaincodeInfo) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChaincodeInput struct {\n\tArgs                 [][]byte          `protobuf:\"bytes,1,rep,name=args,proto3\" json:\"args,omitempty\"`\n\tDecorations          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\"`\n\tXXX_NoUnkeyedLiteral struct{}          `json:\"-\"`\n\tXXX_unrecognized     []byte            `json:\"-\"`\n\tXXX_sizecache        int32             `json:\"-\"`\n}\n```\nCarries the chaincode function and its arguments. UnmarshalJSON in transaction.go converts the string-based REST/JSON input to the \\[]byte-based current ChaincodeInput structure.\n\n```go\nfunc (*ChaincodeInput) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChaincodeInput) GetArgs() [][]byte\n```\n\n```go\nfunc (m *ChaincodeInput) GetDecorations() map[string][]byte\n```\n\n```go\nfunc (*ChaincodeInput) ProtoMessage()\n```\n\n```go\nfunc (m *ChaincodeInput) Reset()\n```\n\n```go\nfunc (m *ChaincodeInput) String() string\n```\n\n```go\nfunc (c *ChaincodeInput) UnmarshalJSON(b []byte) error\n```\nUnmarshalJSON converts the string-based REST/JSON input to the \\[]byte-based current ChaincodeInput structure.\n\n```go\nfunc (m *ChaincodeInput) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChaincodeInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChaincodeInput) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChaincodeInput) XXX_Size() int\n```\n\n```go\nfunc (m *ChaincodeInput) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChaincodeInvocationSpec struct {\n\tChaincodeSpec        *ChaincodeSpec `protobuf:\"bytes,1,opt,name=chaincode_spec,json=chaincodeSpec,proto3\" json:\"chaincode_spec,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}       `json:\"-\"`\n\tXXX_unrecognized     []byte         `json:\"-\"`\n\tXXX_sizecache        int32          `json:\"-\"`\n}\n```\nCarries the chaincode function and its arguments.\n\n```go\nfunc (*ChaincodeInvocationSpec) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChaincodeInvocationSpec) GetChaincodeSpec() *ChaincodeSpec\n```\n\n```go\nfunc (*ChaincodeInvocationSpec) ProtoMessage()\n```\n\n```go\nfunc (m *ChaincodeInvocationSpec) Reset()\n```\n\n```go\nfunc (m *ChaincodeInvocationSpec) String() string\n```\n\n```go\nfunc (m *ChaincodeInvocationSpec) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChaincodeInvocationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChaincodeInvocationSpec) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChaincodeInvocationSpec) XXX_Size() int\n```\n\n```go\nfunc (m *ChaincodeInvocationSpec) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChaincodeMessage struct {\n\tType      ChaincodeMessage_Type `protobuf:\"varint,1,opt,name=type,proto3,enum=protos.ChaincodeMessage_Type\" json:\"type,omitempty\"`\n\tTimestamp *timestamp.Timestamp  `protobuf:\"bytes,2,opt,name=timestamp,proto3\" json:\"timestamp,omitempty\"`\n\tPayload   []byte                `protobuf:\"bytes,3,opt,name=payload,proto3\" json:\"payload,omitempty\"`\n\tTxid      string                `protobuf:\"bytes,4,opt,name=txid,proto3\" json:\"txid,omitempty\"`\n\tProposal  *SignedProposal       `protobuf:\"bytes,5,opt,name=proposal,proto3\" json:\"proposal,omitempty\"`\n\t// event emitted by chaincode. Used only with Init or Invoke.\n\t// This event is then stored (currently)\n\t// with Block.NonHashData.TransactionResult\n\tChaincodeEvent *ChaincodeEvent `protobuf:\"bytes,6,opt,name=chaincode_event,json=chaincodeEvent,proto3\" json:\"chaincode_event,omitempty\"`\n\t// channel id\n\tChannelId            string   `protobuf:\"bytes,7,opt,name=channel_id,json=channelId,proto3\" json:\"channel_id,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*ChaincodeMessage) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChaincodeMessage) GetChaincodeEvent() *ChaincodeEvent\n```\n\n```go\nfunc (m *ChaincodeMessage) GetChannelId() string\n```\n\n```go\nfunc (m *ChaincodeMessage) GetPayload() []byte\n```\n\n```go\nfunc (m *ChaincodeMessage) GetProposal() *SignedProposal\n```\n\n```go\nfunc (m *ChaincodeMessage) GetTimestamp() *timestamp.Timestamp\n```\n\n```go\nfunc (m *ChaincodeMessage) GetTxid() string\n```\n\n```go\nfunc (m *ChaincodeMessage) GetType() ChaincodeMessage_Type\n```\n\n```go\nfunc (*ChaincodeMessage) ProtoMessage()\n```\n\n```go\nfunc (m *ChaincodeMessage) Reset()\n```\n\n```go\nfunc (m *ChaincodeMessage) String() string\n```\n\n```go\nfunc (m *ChaincodeMessage) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChaincodeMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChaincodeMessage) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChaincodeMessage) XXX_Size() int\n```\n\n```go\nfunc (m *ChaincodeMessage) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChaincodeMessage_Type int32\n```\n\n```go\nconst (\n\tChaincodeMessage_UNDEFINED             ChaincodeMessage_Type = 0\n\tChaincodeMessage_REGISTER              ChaincodeMessage_Type = 1\n\tChaincodeMessage_REGISTERED            ChaincodeMessage_Type = 2\n\tChaincodeMessage_INIT                  ChaincodeMessage_Type = 3\n\tChaincodeMessage_READY                 ChaincodeMessage_Type = 4\n\tChaincodeMessage_TRANSACTION           ChaincodeMessage_Type = 5\n\tChaincodeMessage_COMPLETED             ChaincodeMessage_Type = 6\n\tChaincodeMessage_ERROR                 ChaincodeMessage_Type = 7\n\tChaincodeMessage_GET_STATE             ChaincodeMessage_Type = 8\n\tChaincodeMessage_PUT_STATE             ChaincodeMessage_Type = 9\n\tChaincodeMessage_DEL_STATE             ChaincodeMessage_Type = 10\n\tChaincodeMessage_INVOKE_CHAINCODE      ChaincodeMessage_Type = 11\n\tChaincodeMessage_RESPONSE              ChaincodeMessage_Type = 13\n\tChaincodeMessage_GET_STATE_BY_RANGE    ChaincodeMessage_Type = 14\n\tChaincodeMessage_GET_QUERY_RESULT      ChaincodeMessage_Type = 15\n\tChaincodeMessage_QUERY_STATE_NEXT      ChaincodeMessage_Type = 16\n\tChaincodeMessage_QUERY_STATE_CLOSE     ChaincodeMessage_Type = 17\n\tChaincodeMessage_KEEPALIVE             ChaincodeMessage_Type = 18\n\tChaincodeMessage_GET_HISTORY_FOR_KEY   ChaincodeMessage_Type = 19\n\tChaincodeMessage_GET_STATE_METADATA    ChaincodeMessage_Type = 20\n\tChaincodeMessage_PUT_STATE_METADATA    ChaincodeMessage_Type = 21\n\tChaincodeMessage_GET_PRIVATE_DATA_HASH ChaincodeMessage_Type = 22\n)\n```\n\n```go\nfunc (ChaincodeMessage_Type) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x ChaincodeMessage_Type) String() string\n```\n\n```go\ntype ChaincodeProposalPayload struct {\n\t// Input contains the arguments for this invocation. If this invocation\n\t// deploys a new chaincode, ESCC/VSCC are part of this field.\n\t// This is usually a marshaled ChaincodeInvocationSpec\n\tInput []byte `protobuf:\"bytes,1,opt,name=input,proto3\" json:\"input,omitempty\"`\n\t// TransientMap contains data (e.g. cryptographic material) that might be used\n\t// to implement some form of application-level confidentiality. The contents\n\t// of this field are supposed to always be omitted from the transaction and\n\t// excluded from the ledger.\n\tTransientMap         map[string][]byte `protobuf:\"bytes,2,rep,name=TransientMap,proto3\" json:\"TransientMap,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\tXXX_NoUnkeyedLiteral struct{}          `json:\"-\"`\n\tXXX_unrecognized     []byte            `json:\"-\"`\n\tXXX_sizecache        int32             `json:\"-\"`\n}\n```\nChaincodeProposalPayload is the Proposal's payload message to be used when the Header's type is CHAINCODE.  It contains the arguments for this invocation.\n\n```go\nfunc (*ChaincodeProposalPayload) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChaincodeProposalPayload) GetInput() []byte\n```\n\n```go\nfunc (m *ChaincodeProposalPayload) GetTransientMap() map[string][]byte\n```\n\n```go\nfunc (*ChaincodeProposalPayload) ProtoMessage()\n```\n\n```go\nfunc (m *ChaincodeProposalPayload) Reset()\n```\n\n```go\nfunc (cpp *ChaincodeProposalPayload) StaticallyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\nfunc (cpp *ChaincodeProposalPayload) StaticallyOpaqueFields() []string\n```\n\n```go\nfunc (m *ChaincodeProposalPayload) String() string\n```\n\n```go\nfunc (m *ChaincodeProposalPayload) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChaincodeProposalPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChaincodeProposalPayload) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChaincodeProposalPayload) XXX_Size() int\n```\n\n```go\nfunc (m *ChaincodeProposalPayload) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChaincodeQueryResponse struct {\n\tChaincodes           []*ChaincodeInfo `protobuf:\"bytes,1,rep,name=chaincodes,proto3\" json:\"chaincodes,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}         `json:\"-\"`\n\tXXX_unrecognized     []byte           `json:\"-\"`\n\tXXX_sizecache        int32            `json:\"-\"`\n}\n```\nChaincodeQueryResponse returns information about each chaincode that pertains to a query in lscc.go, such as GetChaincodes (returns all chaincodes instantiated on a channel), and GetInstalledChaincodes (returns all chaincodes installed on a peer)\n\n```go\nfunc (*ChaincodeQueryResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChaincodeQueryResponse) GetChaincodes() []*ChaincodeInfo\n```\n\n```go\nfunc (*ChaincodeQueryResponse) ProtoMessage()\n```\n\n```go\nfunc (m *ChaincodeQueryResponse) Reset()\n```\n\n```go\nfunc (m *ChaincodeQueryResponse) String() string\n```\n\n```go\nfunc (m *ChaincodeQueryResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChaincodeQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChaincodeQueryResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChaincodeQueryResponse) XXX_Size() int\n```\n\n```go\nfunc (m *ChaincodeQueryResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChaincodeSpec struct {\n\tType                 ChaincodeSpec_Type `protobuf:\"varint,1,opt,name=type,proto3,enum=protos.ChaincodeSpec_Type\" json:\"type,omitempty\"`\n\tChaincodeId          *ChaincodeID       `protobuf:\"bytes,2,opt,name=chaincode_id,json=chaincodeId,proto3\" json:\"chaincode_id,omitempty\"`\n\tInput                *ChaincodeInput    `protobuf:\"bytes,3,opt,name=input,proto3\" json:\"input,omitempty\"`\n\tTimeout              int32              `protobuf:\"varint,4,opt,name=timeout,proto3\" json:\"timeout,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}           `json:\"-\"`\n\tXXX_unrecognized     []byte             `json:\"-\"`\n\tXXX_sizecache        int32              `json:\"-\"`\n}\n```\nCarries the chaincode specification. This is the actual metadata required for defining a chaincode.\n\n```go\nfunc (cs *ChaincodeSpec) CCType() string\n```\n\n```go\nfunc (*ChaincodeSpec) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChaincodeSpec) GetChaincodeId() *ChaincodeID\n```\n\n```go\nfunc (m *ChaincodeSpec) GetInput() *ChaincodeInput\n```\n\n```go\nfunc (m *ChaincodeSpec) GetTimeout() int32\n```\n\n```go\nfunc (m *ChaincodeSpec) GetType() ChaincodeSpec_Type\n```\n\n```go\nfunc (cs *ChaincodeSpec) Name() string\n```\nName implements the platforms.NameDescriber interface\n\n```go\nfunc (cs *ChaincodeSpec) Path() string\n```\nPath implements the platforms.PathDescriber interface\n\n```go\nfunc (*ChaincodeSpec) ProtoMessage()\n```\n\n```go\nfunc (m *ChaincodeSpec) Reset()\n```\n\n```go\nfunc (m *ChaincodeSpec) String() string\n```\n\n```go\nfunc (cs *ChaincodeSpec) Version() string\n```\n\n```go\nfunc (m *ChaincodeSpec) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChaincodeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChaincodeSpec) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChaincodeSpec) XXX_Size() int\n```\n\n```go\nfunc (m *ChaincodeSpec) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChaincodeSpec_Type int32\n```\n\n```go\nconst (\n\tChaincodeSpec_UNDEFINED ChaincodeSpec_Type = 0\n\tChaincodeSpec_GOLANG    ChaincodeSpec_Type = 1\n\tChaincodeSpec_NODE      ChaincodeSpec_Type = 2\n\tChaincodeSpec_CAR       ChaincodeSpec_Type = 3\n\tChaincodeSpec_JAVA      ChaincodeSpec_Type = 4\n)\n```\n\n```go\nfunc (ChaincodeSpec_Type) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x ChaincodeSpec_Type) String() string\n```\n\n```go\ntype ChaincodeSupportClient interface {\n\tRegister(ctx context.Context, opts ...grpc.CallOption) (ChaincodeSupport_RegisterClient, error)\n}\n```\nChaincodeSupportClient is the client API for ChaincodeSupport service.\n\nFor semantics around ctx use and closing/ending streaming RPCs, please refer to [https://godoc.org/google.golang.org/grpc#ClientConn.NewStream](https://godoc.org/google.golang.org/grpc#ClientConn.NewStream).\n\n```go\nfunc NewChaincodeSupportClient(cc *grpc.ClientConn) ChaincodeSupportClient\n```\n\n```go\ntype ChaincodeSupportServer interface {\n\tRegister(ChaincodeSupport_RegisterServer) error\n}\n```\nChaincodeSupportServer is the server API for ChaincodeSupport service.\n\n```go\ntype ChaincodeSupport_RegisterClient interface {\n\tSend(*ChaincodeMessage) error\n\tRecv() (*ChaincodeMessage, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype ChaincodeSupport_RegisterServer interface {\n\tSend(*ChaincodeMessage) error\n\tRecv() (*ChaincodeMessage, error)\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype ChaincodeValidation struct {\n\tName                 string   `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\tArgument             []byte   `protobuf:\"bytes,2,opt,name=argument,proto3\" json:\"argument,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nChaincodeValidation instructs the peer how transactions for this chaincode should be validated.  The only validation mechanism which ships with fabric today is the standard 'vscc' validation mechanism.  This built in validation method utilizes an endorsement policy which checks that a sufficient number of signatures have been included.  The 'arguement' field encodes any parameters required by the validation implementation.\n\n```go\nfunc (*ChaincodeValidation) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChaincodeValidation) GetArgument() []byte\n```\n\n```go\nfunc (m *ChaincodeValidation) GetName() string\n```\n\n```go\nfunc (*ChaincodeValidation) ProtoMessage()\n```\n\n```go\nfunc (m *ChaincodeValidation) Reset()\n```\n\n```go\nfunc (m *ChaincodeValidation) String() string\n```\n\n```go\nfunc (m *ChaincodeValidation) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChaincodeValidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChaincodeValidation) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChaincodeValidation) XXX_Size() int\n```\n\n```go\nfunc (m *ChaincodeValidation) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChannelInfo struct {\n\tChannelId            string   `protobuf:\"bytes,1,opt,name=channel_id,json=channelId,proto3\" json:\"channel_id,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nChannelInfo contains general information about channels\n\n```go\nfunc (*ChannelInfo) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChannelInfo) GetChannelId() string\n```\n\n```go\nfunc (*ChannelInfo) ProtoMessage()\n```\n\n```go\nfunc (m *ChannelInfo) Reset()\n```\n\n```go\nfunc (m *ChannelInfo) String() string\n```\n\n```go\nfunc (m *ChannelInfo) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChannelInfo) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChannelInfo) XXX_Size() int\n```\n\n```go\nfunc (m *ChannelInfo) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChannelQueryResponse struct {\n\tChannels             []*ChannelInfo `protobuf:\"bytes,1,rep,name=channels,proto3\" json:\"channels,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}       `json:\"-\"`\n\tXXX_unrecognized     []byte         `json:\"-\"`\n\tXXX_sizecache        int32          `json:\"-\"`\n}\n```\nChannelQueryResponse returns information about each channel that pertains to a query in lscc.go, such as GetChannels (returns all channels for a given peer)\n\n```go\nfunc (*ChannelQueryResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChannelQueryResponse) GetChannels() []*ChannelInfo\n```\n\n```go\nfunc (*ChannelQueryResponse) ProtoMessage()\n```\n\n```go\nfunc (m *ChannelQueryResponse) Reset()\n```\n\n```go\nfunc (m *ChannelQueryResponse) String() string\n```\n\n```go\nfunc (m *ChannelQueryResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChannelQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChannelQueryResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChannelQueryResponse) XXX_Size() int\n```\n\n```go\nfunc (m *ChannelQueryResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ConfidentialityLevel int32\n```\nConfidentiality Levels\n\n```go\nconst (\n\tConfidentialityLevel_PUBLIC       ConfidentialityLevel = 0\n\tConfidentialityLevel_CONFIDENTIAL ConfidentialityLevel = 1\n)\n```\n\n```go\nfunc (ConfidentialityLevel) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x ConfidentialityLevel) String() string\n```\n\n```go\ntype ConfigTree struct {\n\tChannelConfig        *common.Config `protobuf:\"bytes,1,opt,name=channel_config,json=channelConfig,proto3\" json:\"channel_config,omitempty\"`\n\tResourcesConfig      *common.Config `protobuf:\"bytes,2,opt,name=resources_config,json=resourcesConfig,proto3\" json:\"resources_config,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}       `json:\"-\"`\n\tXXX_unrecognized     []byte         `json:\"-\"`\n\tXXX_sizecache        int32          `json:\"-\"`\n}\n```\nConfigTree encapsulates channel and resources configuration of a channel. Both configurations are represented as common.Config\n\n```go\nfunc (*ConfigTree) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ConfigTree) GetChannelConfig() *common.Config\n```\n\n```go\nfunc (m *ConfigTree) GetResourcesConfig() *common.Config\n```\n\n```go\nfunc (*ConfigTree) ProtoMessage()\n```\n\n```go\nfunc (m *ConfigTree) Reset()\n```\n\n```go\nfunc (m *ConfigTree) String() string\n```\n\n```go\nfunc (m *ConfigTree) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ConfigTree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ConfigTree) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ConfigTree) XXX_Size() int\n```\n\n```go\nfunc (m *ConfigTree) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype DelState struct {\n\tKey                  string   `protobuf:\"bytes,1,opt,name=key,proto3\" json:\"key,omitempty\"`\n\tCollection           string   `protobuf:\"bytes,2,opt,name=collection,proto3\" json:\"collection,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nDelState is the payload of a ChaincodeMessage. It contains a key which needs to be recorded in the transaction's write set as a delete operation. If the collection is specified, the key needs to be recorded in the transaction's private write set as a delete operation.\n\n```go\nfunc (*DelState) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *DelState) GetCollection() string\n```\n\n```go\nfunc (m *DelState) GetKey() string\n```\n\n```go\nfunc (*DelState) ProtoMessage()\n```\n\n```go\nfunc (m *DelState) Reset()\n```\n\n```go\nfunc (m *DelState) String() string\n```\n\n```go\nfunc (m *DelState) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *DelState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *DelState) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *DelState) XXX_Size() int\n```\n\n```go\nfunc (m *DelState) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype DeliverClient interface {\n\t// deliver first requires an Envelope of type ab.DELIVER_SEEK_INFO with\n\t// Payload data as a marshaled orderer.SeekInfo message,\n\t// then a stream of block replies is received\n\tDeliver(ctx context.Context, opts ...grpc.CallOption) (Deliver_DeliverClient, error)\n\t// deliver first requires an Envelope of type ab.DELIVER_SEEK_INFO with\n\t// Payload data as a marshaled orderer.SeekInfo message,\n\t// then a stream of **filtered** block replies is received\n\tDeliverFiltered(ctx context.Context, opts ...grpc.CallOption) (Deliver_DeliverFilteredClient, error)\n}\n```\nDeliverClient is the client API for Deliver service.\n\nFor semantics around ctx use and closing/ending streaming RPCs, please refer to [https://godoc.org/google.golang.org/grpc#ClientConn.NewStream](https://godoc.org/google.golang.org/grpc#ClientConn.NewStream).\n\n```go\nfunc NewDeliverClient(cc *grpc.ClientConn) DeliverClient\n```\n\n```go\ntype DeliverResponse struct {\n\t// Types that are valid to be assigned to Type:\n\t//\t*DeliverResponse_Status\n\t//\t*DeliverResponse_Block\n\t//\t*DeliverResponse_FilteredBlock\n\tType                 isDeliverResponse_Type `protobuf_oneof:\"Type\"`\n\tXXX_NoUnkeyedLiteral struct{}               `json:\"-\"`\n\tXXX_unrecognized     []byte                 `json:\"-\"`\n\tXXX_sizecache        int32                  `json:\"-\"`\n}\n```\nDeliverResponse\n\n```go\nfunc (*DeliverResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *DeliverResponse) GetBlock() *common.Block\n```\n\n```go\nfunc (m *DeliverResponse) GetFilteredBlock() *FilteredBlock\n```\n\n```go\nfunc (m *DeliverResponse) GetStatus() common.Status\n```\n\n```go\nfunc (m *DeliverResponse) GetType() isDeliverResponse_Type\n```\n\n```go\nfunc (*DeliverResponse) ProtoMessage()\n```\n\n```go\nfunc (m *DeliverResponse) Reset()\n```\n\n```go\nfunc (m *DeliverResponse) String() string\n```\n\n```go\nfunc (m *DeliverResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *DeliverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *DeliverResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*DeliverResponse) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})\n```\nXXX\\_OneofFuncs is for the internal use of the proto package.\n\n```go\nfunc (m *DeliverResponse) XXX_Size() int\n```\n\n```go\nfunc (m *DeliverResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype DeliverResponse_Block struct {\n\tBlock *common.Block `protobuf:\"bytes,2,opt,name=block,proto3,oneof\"`\n}\n```\n\n```go\ntype DeliverResponse_FilteredBlock struct {\n\tFilteredBlock *FilteredBlock `protobuf:\"bytes,3,opt,name=filtered_block,json=filteredBlock,proto3,oneof\"`\n}\n```\n\n```go\ntype DeliverResponse_Status struct {\n\tStatus common.Status `protobuf:\"varint,1,opt,name=status,proto3,enum=common.Status,oneof\"`\n}\n```\n\n```go\ntype DeliverServer interface {\n\t// deliver first requires an Envelope of type ab.DELIVER_SEEK_INFO with\n\t// Payload data as a marshaled orderer.SeekInfo message,\n\t// then a stream of block replies is received\n\tDeliver(Deliver_DeliverServer) error\n\t// deliver first requires an Envelope of type ab.DELIVER_SEEK_INFO with\n\t// Payload data as a marshaled orderer.SeekInfo message,\n\t// then a stream of **filtered** block replies is received\n\tDeliverFiltered(Deliver_DeliverFilteredServer) error\n}\n```\nDeliverServer is the server API for Deliver service.\n\n```go\ntype Deliver_DeliverClient interface {\n\tSend(*common.Envelope) error\n\tRecv() (*DeliverResponse, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype Deliver_DeliverFilteredClient interface {\n\tSend(*common.Envelope) error\n\tRecv() (*DeliverResponse, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype Deliver_DeliverFilteredServer interface {\n\tSend(*DeliverResponse) error\n\tRecv() (*common.Envelope, error)\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype Deliver_DeliverServer interface {\n\tSend(*DeliverResponse) error\n\tRecv() (*common.Envelope, error)\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype DynamicApplicationConfigValue struct {\n\t*common.ConfigValue\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (ccv *DynamicApplicationConfigValue) VariablyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\ntype DynamicApplicationGroup struct {\n\t*common.ConfigGroup\n}\n```\n\n```go\nfunc (dag *DynamicApplicationGroup) DynamicMapFieldProto(name string, key string, base proto.Message) (proto.Message, error)\n```\n\n```go\ntype DynamicApplicationGroupFactory struct{}\n```\n\n```go\nfunc (dagf DynamicApplicationGroupFactory) DynamicConfigGroup(cg *common.ConfigGroup) proto.Message\n```\n\n```go\ntype DynamicApplicationOrgConfigValue struct {\n\t*common.ConfigValue\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (daocv *DynamicApplicationOrgConfigValue) VariablyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\ntype DynamicApplicationOrgGroup struct {\n\t*common.ConfigGroup\n}\n```\n\n```go\nfunc (dag *DynamicApplicationOrgGroup) DynamicMapFieldProto(name string, key string, base proto.Message) (proto.Message, error)\n```\n\n```go\ntype Endorsement struct {\n\t// Identity of the endorser (e.g. its certificate)\n\tEndorser []byte `protobuf:\"bytes,1,opt,name=endorser,proto3\" json:\"endorser,omitempty\"`\n\t// Signature of the payload included in ProposalResponse concatenated with\n\t// the endorser's certificate; ie, sign(ProposalResponse.payload + endorser)\n\tSignature            []byte   `protobuf:\"bytes,2,opt,name=signature,proto3\" json:\"signature,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nAn endorsement is a signature of an endorser over a proposal response.  By producing an endorsement message, an endorser implicitly \"approves\" that proposal response and the actions contained therein. When enough endorsements have been collected, a transaction can be generated out of a set of proposal responses.  Note that this message only contains an identity and a signature but no signed payload. This is intentional because endorsements are supposed to be collected in a transaction, and they are all expected to endorse a single proposal response/action (many endorsements over a single proposal response)\n\n```go\nfunc (*Endorsement) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Endorsement) GetEndorser() []byte\n```\n\n```go\nfunc (m *Endorsement) GetSignature() []byte\n```\n\n```go\nfunc (*Endorsement) ProtoMessage()\n```\n\n```go\nfunc (m *Endorsement) Reset()\n```\n\n```go\nfunc (m *Endorsement) String() string\n```\n\n```go\nfunc (m *Endorsement) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Endorsement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Endorsement) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Endorsement) XXX_Size() int\n```\n\n```go\nfunc (m *Endorsement) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype EndorserClient interface {\n\tProcessProposal(ctx context.Context, in *SignedProposal, opts ...grpc.CallOption) (*ProposalResponse, error)\n}\n```\nEndorserClient is the client API for Endorser service.\n\nFor semantics around ctx use and closing/ending streaming RPCs, please refer to [https://godoc.org/google.golang.org/grpc#ClientConn.NewStream](https://godoc.org/google.golang.org/grpc#ClientConn.NewStream).\n\n```go\nfunc NewEndorserClient(cc *grpc.ClientConn) EndorserClient\n```\n\n```go\ntype EndorserServer interface {\n\tProcessProposal(context.Context, *SignedProposal) (*ProposalResponse, error)\n}\n```\nEndorserServer is the server API for Endorser service.\n\n```go\ntype FilteredBlock struct {\n\tChannelId            string                 `protobuf:\"bytes,1,opt,name=channel_id,json=channelId,proto3\" json:\"channel_id,omitempty\"`\n\tNumber               uint64                 `protobuf:\"varint,2,opt,name=number,proto3\" json:\"number,omitempty\"`\n\tFilteredTransactions []*FilteredTransaction `protobuf:\"bytes,4,rep,name=filtered_transactions,json=filteredTransactions,proto3\" json:\"filtered_transactions,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}               `json:\"-\"`\n\tXXX_unrecognized     []byte                 `json:\"-\"`\n\tXXX_sizecache        int32                  `json:\"-\"`\n}\n```\nFilteredBlock is a minimal set of information about a block\n\n```go\nfunc (*FilteredBlock) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *FilteredBlock) GetChannelId() string\n```\n\n```go\nfunc (m *FilteredBlock) GetFilteredTransactions() []*FilteredTransaction\n```\n\n```go\nfunc (m *FilteredBlock) GetNumber() uint64\n```\n\n```go\nfunc (*FilteredBlock) ProtoMessage()\n```\n\n```go\nfunc (m *FilteredBlock) Reset()\n```\n\n```go\nfunc (m *FilteredBlock) String() string\n```\n\n```go\nfunc (m *FilteredBlock) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *FilteredBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *FilteredBlock) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *FilteredBlock) XXX_Size() int\n```\n\n```go\nfunc (m *FilteredBlock) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype FilteredChaincodeAction struct {\n\tChaincodeEvent       *ChaincodeEvent `protobuf:\"bytes,1,opt,name=chaincode_event,json=chaincodeEvent,proto3\" json:\"chaincode_event,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}        `json:\"-\"`\n\tXXX_unrecognized     []byte          `json:\"-\"`\n\tXXX_sizecache        int32           `json:\"-\"`\n}\n```\nFilteredChaincodeAction is a minimal set of information about an action within a transaction\n\n```go\nfunc (*FilteredChaincodeAction) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *FilteredChaincodeAction) GetChaincodeEvent() *ChaincodeEvent\n```\n\n```go\nfunc (*FilteredChaincodeAction) ProtoMessage()\n```\n\n```go\nfunc (m *FilteredChaincodeAction) Reset()\n```\n\n```go\nfunc (m *FilteredChaincodeAction) String() string\n```\n\n```go\nfunc (m *FilteredChaincodeAction) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *FilteredChaincodeAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *FilteredChaincodeAction) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *FilteredChaincodeAction) XXX_Size() int\n```\n\n```go\nfunc (m *FilteredChaincodeAction) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype FilteredTransaction struct {\n\tTxid             string            `protobuf:\"bytes,1,opt,name=txid,proto3\" json:\"txid,omitempty\"`\n\tType             common.HeaderType `protobuf:\"varint,2,opt,name=type,proto3,enum=common.HeaderType\" json:\"type,omitempty\"`\n\tTxValidationCode TxValidationCode  `protobuf:\"varint,3,opt,name=tx_validation_code,json=txValidationCode,proto3,enum=protos.TxValidationCode\" json:\"tx_validation_code,omitempty\"`\n\t// Types that are valid to be assigned to Data:\n\t//\t*FilteredTransaction_TransactionActions\n\tData                 isFilteredTransaction_Data `protobuf_oneof:\"Data\"`\n\tXXX_NoUnkeyedLiteral struct{}                   `json:\"-\"`\n\tXXX_unrecognized     []byte                     `json:\"-\"`\n\tXXX_sizecache        int32                      `json:\"-\"`\n}\n```\nFilteredTransaction is a minimal set of information about a transaction within a block\n\n```go\nfunc (*FilteredTransaction) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *FilteredTransaction) GetData() isFilteredTransaction_Data\n```\n\n```go\nfunc (m *FilteredTransaction) GetTransactionActions() *FilteredTransactionActions\n```\n\n```go\nfunc (m *FilteredTransaction) GetTxValidationCode() TxValidationCode\n```\n\n```go\nfunc (m *FilteredTransaction) GetTxid() string\n```\n\n```go\nfunc (m *FilteredTransaction) GetType() common.HeaderType\n```\n\n```go\nfunc (*FilteredTransaction) ProtoMessage()\n```\n\n```go\nfunc (m *FilteredTransaction) Reset()\n```\n\n```go\nfunc (m *FilteredTransaction) String() string\n```\n\n```go\nfunc (m *FilteredTransaction) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *FilteredTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *FilteredTransaction) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*FilteredTransaction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})\n```\nXXX\\_OneofFuncs is for the internal use of the proto package.\n\n```go\nfunc (m *FilteredTransaction) XXX_Size() int\n```\n\n```go\nfunc (m *FilteredTransaction) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype FilteredTransactionActions struct {\n\tChaincodeActions     []*FilteredChaincodeAction `protobuf:\"bytes,1,rep,name=chaincode_actions,json=chaincodeActions,proto3\" json:\"chaincode_actions,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}                   `json:\"-\"`\n\tXXX_unrecognized     []byte                     `json:\"-\"`\n\tXXX_sizecache        int32                      `json:\"-\"`\n}\n```\nFilteredTransactionActions is a wrapper for array of TransactionAction message from regular block\n\n```go\nfunc (*FilteredTransactionActions) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *FilteredTransactionActions) GetChaincodeActions() []*FilteredChaincodeAction\n```\n\n```go\nfunc (*FilteredTransactionActions) ProtoMessage()\n```\n\n```go\nfunc (m *FilteredTransactionActions) Reset()\n```\n\n```go\nfunc (m *FilteredTransactionActions) String() string\n```\n\n```go\nfunc (m *FilteredTransactionActions) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *FilteredTransactionActions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *FilteredTransactionActions) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *FilteredTransactionActions) XXX_Size() int\n```\n\n```go\nfunc (m *FilteredTransactionActions) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype FilteredTransaction_TransactionActions struct {\n\tTransactionActions *FilteredTransactionActions `protobuf:\"bytes,4,opt,name=transaction_actions,json=transactionActions,proto3,oneof\"`\n}\n```\n\n```go\ntype GetHistoryForKey struct {\n\tKey                  string   `protobuf:\"bytes,1,opt,name=key,proto3\" json:\"key,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nGetHistoryForKey is the payload of a ChaincodeMessage. It contains a key for which the historical values need to be retrieved.\n\n```go\nfunc (*GetHistoryForKey) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GetHistoryForKey) GetKey() string\n```\n\n```go\nfunc (*GetHistoryForKey) ProtoMessage()\n```\n\n```go\nfunc (m *GetHistoryForKey) Reset()\n```\n\n```go\nfunc (m *GetHistoryForKey) String() string\n```\n\n```go\nfunc (m *GetHistoryForKey) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GetHistoryForKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *GetHistoryForKey) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GetHistoryForKey) XXX_Size() int\n```\n\n```go\nfunc (m *GetHistoryForKey) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GetQueryResult struct {\n\tQuery                string   `protobuf:\"bytes,1,opt,name=query,proto3\" json:\"query,omitempty\"`\n\tCollection           string   `protobuf:\"bytes,2,opt,name=collection,proto3\" json:\"collection,omitempty\"`\n\tMetadata             []byte   `protobuf:\"bytes,3,opt,name=metadata,proto3\" json:\"metadata,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nGetQueryResult is the payload of a ChaincodeMessage. It contains a query string in the form that is supported by the underlying state database. If the collection is specified, the query needs to be executed on the private data.  The metadata hold the byte representation of QueryMetadata.\n\n```go\nfunc (*GetQueryResult) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GetQueryResult) GetCollection() string\n```\n\n```go\nfunc (m *GetQueryResult) GetMetadata() []byte\n```\n\n```go\nfunc (m *GetQueryResult) GetQuery() string\n```\n\n```go\nfunc (*GetQueryResult) ProtoMessage()\n```\n\n```go\nfunc (m *GetQueryResult) Reset()\n```\n\n```go\nfunc (m *GetQueryResult) String() string\n```\n\n```go\nfunc (m *GetQueryResult) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GetQueryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *GetQueryResult) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GetQueryResult) XXX_Size() int\n```\n\n```go\nfunc (m *GetQueryResult) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GetState struct {\n\tKey                  string   `protobuf:\"bytes,1,opt,name=key,proto3\" json:\"key,omitempty\"`\n\tCollection           string   `protobuf:\"bytes,2,opt,name=collection,proto3\" json:\"collection,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nGetState is the payload of a ChaincodeMessage. It contains a key which is to be fetched from the ledger. If the collection is specified, the key would be fetched from the collection (i.e., private state)\n\n```go\nfunc (*GetState) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GetState) GetCollection() string\n```\n\n```go\nfunc (m *GetState) GetKey() string\n```\n\n```go\nfunc (*GetState) ProtoMessage()\n```\n\n```go\nfunc (m *GetState) Reset()\n```\n\n```go\nfunc (m *GetState) String() string\n```\n\n```go\nfunc (m *GetState) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GetState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *GetState) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GetState) XXX_Size() int\n```\n\n```go\nfunc (m *GetState) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GetStateByRange struct {\n\tStartKey             string   `protobuf:\"bytes,1,opt,name=startKey,proto3\" json:\"startKey,omitempty\"`\n\tEndKey               string   `protobuf:\"bytes,2,opt,name=endKey,proto3\" json:\"endKey,omitempty\"`\n\tCollection           string   `protobuf:\"bytes,3,opt,name=collection,proto3\" json:\"collection,omitempty\"`\n\tMetadata             []byte   `protobuf:\"bytes,4,opt,name=metadata,proto3\" json:\"metadata,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nGetStateByRange is the payload of a ChaincodeMessage. It contains a start key and a end key required to execute range query. If the collection is specified, the range query needs to be executed on the private data. The metadata hold the byte representation of QueryMetadata.\n\n```go\nfunc (*GetStateByRange) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GetStateByRange) GetCollection() string\n```\n\n```go\nfunc (m *GetStateByRange) GetEndKey() string\n```\n\n```go\nfunc (m *GetStateByRange) GetMetadata() []byte\n```\n\n```go\nfunc (m *GetStateByRange) GetStartKey() string\n```\n\n```go\nfunc (*GetStateByRange) ProtoMessage()\n```\n\n```go\nfunc (m *GetStateByRange) Reset()\n```\n\n```go\nfunc (m *GetStateByRange) String() string\n```\n\n```go\nfunc (m *GetStateByRange) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GetStateByRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *GetStateByRange) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GetStateByRange) XXX_Size() int\n```\n\n```go\nfunc (m *GetStateByRange) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GetStateMetadata struct {\n\tKey                  string   `protobuf:\"bytes,1,opt,name=key,proto3\" json:\"key,omitempty\"`\n\tCollection           string   `protobuf:\"bytes,2,opt,name=collection,proto3\" json:\"collection,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*GetStateMetadata) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GetStateMetadata) GetCollection() string\n```\n\n```go\nfunc (m *GetStateMetadata) GetKey() string\n```\n\n```go\nfunc (*GetStateMetadata) ProtoMessage()\n```\n\n```go\nfunc (m *GetStateMetadata) Reset()\n```\n\n```go\nfunc (m *GetStateMetadata) String() string\n```\n\n```go\nfunc (m *GetStateMetadata) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GetStateMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *GetStateMetadata) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GetStateMetadata) XXX_Size() int\n```\n\n```go\nfunc (m *GetStateMetadata) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype LifecycleEvent struct {\n\tChaincodeName        string   `protobuf:\"bytes,1,opt,name=chaincode_name,json=chaincodeName,proto3\" json:\"chaincode_name,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nLifecycleEvent is used as the payload of the chaincode event emitted by LSCC\n\n```go\nfunc (*LifecycleEvent) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *LifecycleEvent) GetChaincodeName() string\n```\n\n```go\nfunc (*LifecycleEvent) ProtoMessage()\n```\n\n```go\nfunc (m *LifecycleEvent) Reset()\n```\n\n```go\nfunc (m *LifecycleEvent) String() string\n```\n\n```go\nfunc (m *LifecycleEvent) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *LifecycleEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *LifecycleEvent) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *LifecycleEvent) XXX_Size() int\n```\n\n```go\nfunc (m *LifecycleEvent) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype LogLevelRequest struct {\n\tLogModule            string   `protobuf:\"bytes,1,opt,name=log_module,json=logModule,proto3\" json:\"log_module,omitempty\"`\n\tLogLevel             string   `protobuf:\"bytes,2,opt,name=log_level,json=logLevel,proto3\" json:\"log_level,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*LogLevelRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *LogLevelRequest) GetLogLevel() string\n```\n\n```go\nfunc (m *LogLevelRequest) GetLogModule() string\n```\n\n```go\nfunc (*LogLevelRequest) ProtoMessage()\n```\n\n```go\nfunc (m *LogLevelRequest) Reset()\n```\n\n```go\nfunc (m *LogLevelRequest) String() string\n```\n\n```go\nfunc (m *LogLevelRequest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *LogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *LogLevelRequest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *LogLevelRequest) XXX_Size() int\n```\n\n```go\nfunc (m *LogLevelRequest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype LogLevelResponse struct {\n\tLogModule            string   `protobuf:\"bytes,1,opt,name=log_module,json=logModule,proto3\" json:\"log_module,omitempty\"`\n\tLogLevel             string   `protobuf:\"bytes,2,opt,name=log_level,json=logLevel,proto3\" json:\"log_level,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*LogLevelResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *LogLevelResponse) GetLogLevel() string\n```\n\n```go\nfunc (m *LogLevelResponse) GetLogModule() string\n```\n\n```go\nfunc (*LogLevelResponse) ProtoMessage()\n```\n\n```go\nfunc (m *LogLevelResponse) Reset()\n```\n\n```go\nfunc (m *LogLevelResponse) String() string\n```\n\n```go\nfunc (m *LogLevelResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *LogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *LogLevelResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *LogLevelResponse) XXX_Size() int\n```\n\n```go\nfunc (m *LogLevelResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype LogSpecRequest struct {\n\tLogSpec              string   `protobuf:\"bytes,1,opt,name=log_spec,json=logSpec,proto3\" json:\"log_spec,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*LogSpecRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *LogSpecRequest) GetLogSpec() string\n```\n\n```go\nfunc (*LogSpecRequest) ProtoMessage()\n```\n\n```go\nfunc (m *LogSpecRequest) Reset()\n```\n\n```go\nfunc (m *LogSpecRequest) String() string\n```\n\n```go\nfunc (m *LogSpecRequest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *LogSpecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *LogSpecRequest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *LogSpecRequest) XXX_Size() int\n```\n\n```go\nfunc (m *LogSpecRequest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype LogSpecResponse struct {\n\tLogSpec              string   `protobuf:\"bytes,1,opt,name=log_spec,json=logSpec,proto3\" json:\"log_spec,omitempty\"`\n\tError                string   `protobuf:\"bytes,2,opt,name=error,proto3\" json:\"error,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*LogSpecResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *LogSpecResponse) GetError() string\n```\n\n```go\nfunc (m *LogSpecResponse) GetLogSpec() string\n```\n\n```go\nfunc (*LogSpecResponse) ProtoMessage()\n```\n\n```go\nfunc (m *LogSpecResponse) Reset()\n```\n\n```go\nfunc (m *LogSpecResponse) String() string\n```\n\n```go\nfunc (m *LogSpecResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *LogSpecResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *LogSpecResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *LogSpecResponse) XXX_Size() int\n```\n\n```go\nfunc (m *LogSpecResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype MetaDataKeys int32\n```\nReserved entries in the key-level metadata map\n\n```go\nconst (\n\tMetaDataKeys_VALIDATION_PARAMETER MetaDataKeys = 0\n)\n```\n\n```go\nfunc (MetaDataKeys) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x MetaDataKeys) String() string\n```\n\n```go\ntype PeerEndpoint struct {\n\tId                   *PeerID  `protobuf:\"bytes,1,opt,name=id,proto3\" json:\"id,omitempty\"`\n\tAddress              string   `protobuf:\"bytes,2,opt,name=address,proto3\" json:\"address,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*PeerEndpoint) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *PeerEndpoint) GetAddress() string\n```\n\n```go\nfunc (m *PeerEndpoint) GetId() *PeerID\n```\n\n```go\nfunc (*PeerEndpoint) ProtoMessage()\n```\n\n```go\nfunc (m *PeerEndpoint) Reset()\n```\n\n```go\nfunc (m *PeerEndpoint) String() string\n```\n\n```go\nfunc (m *PeerEndpoint) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *PeerEndpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *PeerEndpoint) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *PeerEndpoint) XXX_Size() int\n```\n\n```go\nfunc (m *PeerEndpoint) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype PeerID struct {\n\tName                 string   `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*PeerID) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *PeerID) GetName() string\n```\n\n```go\nfunc (*PeerID) ProtoMessage()\n```\n\n```go\nfunc (m *PeerID) Reset()\n```\n\n```go\nfunc (m *PeerID) String() string\n```\n\n```go\nfunc (m *PeerID) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *PeerID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *PeerID) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *PeerID) XXX_Size() int\n```\n\n```go\nfunc (m *PeerID) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ProcessedTransaction struct {\n\t// An Envelope which includes a processed transaction\n\tTransactionEnvelope *common.Envelope `protobuf:\"bytes,1,opt,name=transactionEnvelope,proto3\" json:\"transactionEnvelope,omitempty\"`\n\t// An indication of whether the transaction was validated or invalidated by committing peer\n\tValidationCode       int32    `protobuf:\"varint,2,opt,name=validationCode,proto3\" json:\"validationCode,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nProcessedTransaction wraps an Envelope that includes a transaction along with an indication of whether the transaction was validated or invalidated by committing peer. The use case is that GetTransactionByID API needs to retrieve the transaction Envelope from block storage, and return it to a client, and indicate whether the transaction was validated or invalidated by committing peer. So that the originally submitted transaction Envelope is not modified, the ProcessedTransaction wrapper is returned.\n\n```go\nfunc (*ProcessedTransaction) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ProcessedTransaction) GetTransactionEnvelope() *common.Envelope\n```\n\n```go\nfunc (m *ProcessedTransaction) GetValidationCode() int32\n```\n\n```go\nfunc (*ProcessedTransaction) ProtoMessage()\n```\n\n```go\nfunc (m *ProcessedTransaction) Reset()\n```\n\n```go\nfunc (m *ProcessedTransaction) String() string\n```\n\n```go\nfunc (m *ProcessedTransaction) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ProcessedTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ProcessedTransaction) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ProcessedTransaction) XXX_Size() int\n```\n\n```go\nfunc (m *ProcessedTransaction) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Proposal struct {\n\t// The header of the proposal. It is the bytes of the Header\n\tHeader []byte `protobuf:\"bytes,1,opt,name=header,proto3\" json:\"header,omitempty\"`\n\t// The payload of the proposal as defined by the type in the proposal\n\t// header.\n\tPayload []byte `protobuf:\"bytes,2,opt,name=payload,proto3\" json:\"payload,omitempty\"`\n\t// Optional extensions to the proposal. Its content depends on the Header's\n\t// type field.  For the type CHAINCODE, it might be the bytes of a\n\t// ChaincodeAction message.\n\tExtension            []byte   `protobuf:\"bytes,3,opt,name=extension,proto3\" json:\"extension,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nA Proposal is sent to an endorser for endorsement.  The proposal contains:\n\n 1. A header which should be unmarshaled to a Header message.  Note that Header is both the header of a Proposal and of a Transaction, in that i) both headers should be unmarshaled to this message; and ii) it is used to compute cryptographic hashes and signatures.  The header has fields common to all proposals/transactions.  In addition it has a type field for additional customization. An example of this is the ChaincodeHeaderExtension message used to extend the Header for type CHAINCODE.\n 2. A payload whose type depends on the header's type field.\n 3. An extension whose type depends on the header's type field.\n\nLet us see an example. For type CHAINCODE (see the Header message), we have the following:\n\n 1. The header is a Header message whose extensions field is a ChaincodeHeaderExtension message.\n 2. The payload is a ChaincodeProposalPayload message.\n 3. The extension is a ChaincodeAction that might be used to ask the endorsers to endorse a specific ChaincodeAction, thus emulating the submitting peer model.\n\n```go\nfunc (*Proposal) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Proposal) GetExtension() []byte\n```\n\n```go\nfunc (m *Proposal) GetHeader() []byte\n```\n\n```go\nfunc (m *Proposal) GetPayload() []byte\n```\n\n```go\nfunc (*Proposal) ProtoMessage()\n```\n\n```go\nfunc (m *Proposal) Reset()\n```\n\n```go\nfunc (m *Proposal) String() string\n```\n\n```go\nfunc (m *Proposal) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Proposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Proposal) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Proposal) XXX_Size() int\n```\n\n```go\nfunc (m *Proposal) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ProposalResponse struct {\n\t// Version indicates message protocol version\n\tVersion int32 `protobuf:\"varint,1,opt,name=version,proto3\" json:\"version,omitempty\"`\n\t// Timestamp is the time that the message\n\t// was created as  defined by the sender\n\tTimestamp *timestamp.Timestamp `protobuf:\"bytes,2,opt,name=timestamp,proto3\" json:\"timestamp,omitempty\"`\n\t// A response message indicating whether the\n\t// endorsement of the action was successful\n\tResponse *Response `protobuf:\"bytes,4,opt,name=response,proto3\" json:\"response,omitempty\"`\n\t// The payload of response. It is the bytes of ProposalResponsePayload\n\tPayload []byte `protobuf:\"bytes,5,opt,name=payload,proto3\" json:\"payload,omitempty\"`\n\t// The endorsement of the proposal, basically\n\t// the endorser's signature over the payload\n\tEndorsement          *Endorsement `protobuf:\"bytes,6,opt,name=endorsement,proto3\" json:\"endorsement,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}     `json:\"-\"`\n\tXXX_unrecognized     []byte       `json:\"-\"`\n\tXXX_sizecache        int32        `json:\"-\"`\n}\n```\nA ProposalResponse is returned from an endorser to the proposal submitter. The idea is that this message contains the endorser's response to the request of a client to perform an action over a chaincode (or more generically on the ledger); the response might be success/error (conveyed in the Response field) together with a description of the action and a signature over it by that endorser.  If a sufficient number of distinct endorsers agree on the same action and produce signature to that effect, a transaction can be generated and sent for ordering.\n\n```go\nfunc (*ProposalResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ProposalResponse) GetEndorsement() *Endorsement\n```\n\n```go\nfunc (m *ProposalResponse) GetPayload() []byte\n```\n\n```go\nfunc (m *ProposalResponse) GetResponse() *Response\n```\n\n```go\nfunc (m *ProposalResponse) GetTimestamp() *timestamp.Timestamp\n```\n\n```go\nfunc (m *ProposalResponse) GetVersion() int32\n```\n\n```go\nfunc (*ProposalResponse) ProtoMessage()\n```\n\n```go\nfunc (m *ProposalResponse) Reset()\n```\n\n```go\nfunc (m *ProposalResponse) String() string\n```\n\n```go\nfunc (m *ProposalResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ProposalResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ProposalResponse) XXX_Size() int\n```\n\n```go\nfunc (m *ProposalResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ProposalResponsePayload struct {\n\t// Hash of the proposal that triggered this response. The hash is used to\n\t// link a response with its proposal, both for bookeeping purposes on an\n\t// asynchronous system and for security reasons (accountability,\n\t// non-repudiation). The hash usually covers the entire Proposal message\n\t// (byte-by-byte). However this implies that the hash can only be verified\n\t// if the entire proposal message is available when ProposalResponsePayload is\n\t// included in a transaction or stored in the ledger. For confidentiality\n\t// reasons, with chaincodes it might be undesirable to store the proposal\n\t// payload in the ledger.  If the type is CHAINCODE, this is handled by\n\t// separating the proposal's header and\n\t// the payload: the header is always hashed in its entirety whereas the\n\t// payload can either be hashed fully, or only its hash may be hashed, or\n\t// nothing from the payload can be hashed. The PayloadVisibility field in the\n\t// Header's extension controls to which extent the proposal payload is\n\t// \"visible\" in the sense that was just explained.\n\tProposalHash []byte `protobuf:\"bytes,1,opt,name=proposal_hash,json=proposalHash,proto3\" json:\"proposal_hash,omitempty\"`\n\t// Extension should be unmarshaled to a type-specific message. The type of\n\t// the extension in any proposal response depends on the type of the proposal\n\t// that the client selected when the proposal was initially sent out.  In\n\t// particular, this information is stored in the type field of a Header.  For\n\t// chaincode, it's a ChaincodeAction message\n\tExtension            []byte   `protobuf:\"bytes,2,opt,name=extension,proto3\" json:\"extension,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nProposalResponsePayload is the payload of a proposal response.  This message is the \"bridge\" between the client's request and the endorser's action in response to that request. Concretely, for chaincodes, it contains a hashed representation of the proposal (proposalHash) and a representation of the chaincode state changes and events inside the extension field.\n\n```go\nfunc (*ProposalResponsePayload) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ProposalResponsePayload) GetExtension() []byte\n```\n\n```go\nfunc (m *ProposalResponsePayload) GetProposalHash() []byte\n```\n\n```go\nfunc (*ProposalResponsePayload) ProtoMessage()\n```\n\n```go\nfunc (m *ProposalResponsePayload) Reset()\n```\n\n```go\nfunc (ppr *ProposalResponsePayload) StaticallyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\nfunc (ppr *ProposalResponsePayload) StaticallyOpaqueFields() []string\n```\n\n```go\nfunc (m *ProposalResponsePayload) String() string\n```\n\n```go\nfunc (m *ProposalResponsePayload) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ProposalResponsePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ProposalResponsePayload) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ProposalResponsePayload) XXX_Size() int\n```\n\n```go\nfunc (m *ProposalResponsePayload) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype PutState struct {\n\tKey                  string   `protobuf:\"bytes,1,opt,name=key,proto3\" json:\"key,omitempty\"`\n\tValue                []byte   `protobuf:\"bytes,2,opt,name=value,proto3\" json:\"value,omitempty\"`\n\tCollection           string   `protobuf:\"bytes,3,opt,name=collection,proto3\" json:\"collection,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nPutState is the payload of a ChaincodeMessage. It contains a key and value which needs to be written to the transaction's write set. If the collection is specified, the key and value would be written to the transaction's private write set.\n\n```go\nfunc (*PutState) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *PutState) GetCollection() string\n```\n\n```go\nfunc (m *PutState) GetKey() string\n```\n\n```go\nfunc (m *PutState) GetValue() []byte\n```\n\n```go\nfunc (*PutState) ProtoMessage()\n```\n\n```go\nfunc (m *PutState) Reset()\n```\n\n```go\nfunc (m *PutState) String() string\n```\n\n```go\nfunc (m *PutState) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *PutState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *PutState) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *PutState) XXX_Size() int\n```\n\n```go\nfunc (m *PutState) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype PutStateMetadata struct {\n\tKey                  string         `protobuf:\"bytes,1,opt,name=key,proto3\" json:\"key,omitempty\"`\n\tCollection           string         `protobuf:\"bytes,3,opt,name=collection,proto3\" json:\"collection,omitempty\"`\n\tMetadata             *StateMetadata `protobuf:\"bytes,4,opt,name=metadata,proto3\" json:\"metadata,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}       `json:\"-\"`\n\tXXX_unrecognized     []byte         `json:\"-\"`\n\tXXX_sizecache        int32          `json:\"-\"`\n}\n```\n\n```go\nfunc (*PutStateMetadata) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *PutStateMetadata) GetCollection() string\n```\n\n```go\nfunc (m *PutStateMetadata) GetKey() string\n```\n\n```go\nfunc (m *PutStateMetadata) GetMetadata() *StateMetadata\n```\n\n```go\nfunc (*PutStateMetadata) ProtoMessage()\n```\n\n```go\nfunc (m *PutStateMetadata) Reset()\n```\n\n```go\nfunc (m *PutStateMetadata) String() string\n```\n\n```go\nfunc (m *PutStateMetadata) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *PutStateMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *PutStateMetadata) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *PutStateMetadata) XXX_Size() int\n```\n\n```go\nfunc (m *PutStateMetadata) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype QueryMetadata struct {\n\tPageSize             int32    `protobuf:\"varint,1,opt,name=pageSize,proto3\" json:\"pageSize,omitempty\"`\n\tBookmark             string   `protobuf:\"bytes,2,opt,name=bookmark,proto3\" json:\"bookmark,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nQueryMetadata is the metadata of a GetStateByRange and GetQueryResult. It contains a pageSize which denotes the number of records to be fetched and a bookmark.\n\n```go\nfunc (*QueryMetadata) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *QueryMetadata) GetBookmark() string\n```\n\n```go\nfunc (m *QueryMetadata) GetPageSize() int32\n```\n\n```go\nfunc (*QueryMetadata) ProtoMessage()\n```\n\n```go\nfunc (m *QueryMetadata) Reset()\n```\n\n```go\nfunc (m *QueryMetadata) String() string\n```\n\n```go\nfunc (m *QueryMetadata) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *QueryMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *QueryMetadata) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *QueryMetadata) XXX_Size() int\n```\n\n```go\nfunc (m *QueryMetadata) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype QueryResponse struct {\n\tResults              []*QueryResultBytes `protobuf:\"bytes,1,rep,name=results,proto3\" json:\"results,omitempty\"`\n\tHasMore              bool                `protobuf:\"varint,2,opt,name=has_more,json=hasMore,proto3\" json:\"has_more,omitempty\"`\n\tId                   string              `protobuf:\"bytes,3,opt,name=id,proto3\" json:\"id,omitempty\"`\n\tMetadata             []byte              `protobuf:\"bytes,4,opt,name=metadata,proto3\" json:\"metadata,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}            `json:\"-\"`\n\tXXX_unrecognized     []byte              `json:\"-\"`\n\tXXX_sizecache        int32               `json:\"-\"`\n}\n```\nQueryResponse is returned by the peer as a result of a GetStateByRange, GetQueryResult, and GetHistoryForKey. It holds a bunch of records in results field, a flag to denote whether more results need to be fetched from the peer in has\\_more field, transaction id in id field, and a QueryResponseMetadata in metadata field.\n\n```go\nfunc (*QueryResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *QueryResponse) GetHasMore() bool\n```\n\n```go\nfunc (m *QueryResponse) GetId() string\n```\n\n```go\nfunc (m *QueryResponse) GetMetadata() []byte\n```\n\n```go\nfunc (m *QueryResponse) GetResults() []*QueryResultBytes\n```\n\n```go\nfunc (*QueryResponse) ProtoMessage()\n```\n\n```go\nfunc (m *QueryResponse) Reset()\n```\n\n```go\nfunc (m *QueryResponse) String() string\n```\n\n```go\nfunc (m *QueryResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *QueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *QueryResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *QueryResponse) XXX_Size() int\n```\n\n```go\nfunc (m *QueryResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype QueryResponseMetadata struct {\n\tFetchedRecordsCount  int32    `protobuf:\"varint,1,opt,name=fetched_records_count,json=fetchedRecordsCount,proto3\" json:\"fetched_records_count,omitempty\"`\n\tBookmark             string   `protobuf:\"bytes,2,opt,name=bookmark,proto3\" json:\"bookmark,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nQueryResponseMetadata is the metadata of a QueryResponse. It contains a count which denotes the number of records fetched from the ledger and a bookmark.\n\n```go\nfunc (*QueryResponseMetadata) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *QueryResponseMetadata) GetBookmark() string\n```\n\n```go\nfunc (m *QueryResponseMetadata) GetFetchedRecordsCount() int32\n```\n\n```go\nfunc (*QueryResponseMetadata) ProtoMessage()\n```\n\n```go\nfunc (m *QueryResponseMetadata) Reset()\n```\n\n```go\nfunc (m *QueryResponseMetadata) String() string\n```\n\n```go\nfunc (m *QueryResponseMetadata) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *QueryResponseMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *QueryResponseMetadata) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *QueryResponseMetadata) XXX_Size() int\n```\n\n```go\nfunc (m *QueryResponseMetadata) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype QueryResultBytes struct {\n\tResultBytes          []byte   `protobuf:\"bytes,1,opt,name=resultBytes,proto3\" json:\"resultBytes,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nQueryResultBytes hold the byte representation of a record returned by the peer.\n\n```go\nfunc (*QueryResultBytes) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *QueryResultBytes) GetResultBytes() []byte\n```\n\n```go\nfunc (*QueryResultBytes) ProtoMessage()\n```\n\n```go\nfunc (m *QueryResultBytes) Reset()\n```\n\n```go\nfunc (m *QueryResultBytes) String() string\n```\n\n```go\nfunc (m *QueryResultBytes) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *QueryResultBytes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *QueryResultBytes) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *QueryResultBytes) XXX_Size() int\n```\n\n```go\nfunc (m *QueryResultBytes) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype QueryStateClose struct {\n\tId                   string   `protobuf:\"bytes,1,opt,name=id,proto3\" json:\"id,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*QueryStateClose) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *QueryStateClose) GetId() string\n```\n\n```go\nfunc (*QueryStateClose) ProtoMessage()\n```\n\n```go\nfunc (m *QueryStateClose) Reset()\n```\n\n```go\nfunc (m *QueryStateClose) String() string\n```\n\n```go\nfunc (m *QueryStateClose) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *QueryStateClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *QueryStateClose) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *QueryStateClose) XXX_Size() int\n```\n\n```go\nfunc (m *QueryStateClose) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype QueryStateNext struct {\n\tId                   string   `protobuf:\"bytes,1,opt,name=id,proto3\" json:\"id,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*QueryStateNext) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *QueryStateNext) GetId() string\n```\n\n```go\nfunc (*QueryStateNext) ProtoMessage()\n```\n\n```go\nfunc (m *QueryStateNext) Reset()\n```\n\n```go\nfunc (m *QueryStateNext) String() string\n```\n\n```go\nfunc (m *QueryStateNext) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *QueryStateNext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *QueryStateNext) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *QueryStateNext) XXX_Size() int\n```\n\n```go\nfunc (m *QueryStateNext) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Response struct {\n\t// A status code that should follow the HTTP status codes.\n\tStatus int32 `protobuf:\"varint,1,opt,name=status,proto3\" json:\"status,omitempty\"`\n\t// A message associated with the response code.\n\tMessage string `protobuf:\"bytes,2,opt,name=message,proto3\" json:\"message,omitempty\"`\n\t// A payload that can be used to include metadata with this response.\n\tPayload              []byte   `protobuf:\"bytes,3,opt,name=payload,proto3\" json:\"payload,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nA response with a representation similar to an HTTP response that can be used within another message.\n\n```go\nfunc (*Response) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Response) GetMessage() string\n```\n\n```go\nfunc (m *Response) GetPayload() []byte\n```\n\n```go\nfunc (m *Response) GetStatus() int32\n```\n\n```go\nfunc (*Response) ProtoMessage()\n```\n\n```go\nfunc (m *Response) Reset()\n```\n\n```go\nfunc (m *Response) String() string\n```\n\n```go\nfunc (m *Response) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Response) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Response) XXX_Size() int\n```\n\n```go\nfunc (m *Response) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ServerStatus struct {\n\tStatus               ServerStatus_StatusCode `protobuf:\"varint,1,opt,name=status,proto3,enum=protos.ServerStatus_StatusCode\" json:\"status,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}                `json:\"-\"`\n\tXXX_unrecognized     []byte                  `json:\"-\"`\n\tXXX_sizecache        int32                   `json:\"-\"`\n}\n```\n\n```go\nfunc (*ServerStatus) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ServerStatus) GetStatus() ServerStatus_StatusCode\n```\n\n```go\nfunc (*ServerStatus) ProtoMessage()\n```\n\n```go\nfunc (m *ServerStatus) Reset()\n```\n\n```go\nfunc (m *ServerStatus) String() string\n```\n\n```go\nfunc (m *ServerStatus) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ServerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ServerStatus) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ServerStatus) XXX_Size() int\n```\n\n```go\nfunc (m *ServerStatus) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ServerStatus_StatusCode int32\n```\n\n```go\nconst (\n\tServerStatus_UNDEFINED ServerStatus_StatusCode = 0\n\tServerStatus_STARTED   ServerStatus_StatusCode = 1\n\tServerStatus_STOPPED   ServerStatus_StatusCode = 2\n\tServerStatus_PAUSED    ServerStatus_StatusCode = 3\n\tServerStatus_ERROR     ServerStatus_StatusCode = 4\n\tServerStatus_UNKNOWN   ServerStatus_StatusCode = 5\n)\n```\n\n```go\nfunc (ServerStatus_StatusCode) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x ServerStatus_StatusCode) String() string\n```\n\n```go\ntype SignedChaincodeDeploymentSpec struct {\n\t// This is the bytes of the ChaincodeDeploymentSpec\n\tChaincodeDeploymentSpec []byte `protobuf:\"bytes,1,opt,name=chaincode_deployment_spec,json=chaincodeDeploymentSpec,proto3\" json:\"chaincode_deployment_spec,omitempty\"`\n\t// This is the instantiation policy which is identical in structure\n\t// to endorsement policy.  This policy is checked by the VSCC at commit\n\t// time on the instantiation (all peers will get the same policy as it\n\t// will be part of the LSCC instantation record and will be part of the\n\t// hash as well)\n\tInstantiationPolicy []byte `protobuf:\"bytes,2,opt,name=instantiation_policy,json=instantiationPolicy,proto3\" json:\"instantiation_policy,omitempty\"`\n\t// The endorsements of the above deployment spec, the owner's signature over\n\t// chaincode_deployment_spec and Endorsement.endorser.\n\tOwnerEndorsements    []*Endorsement `protobuf:\"bytes,3,rep,name=owner_endorsements,json=ownerEndorsements,proto3\" json:\"owner_endorsements,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}       `json:\"-\"`\n\tXXX_unrecognized     []byte         `json:\"-\"`\n\tXXX_sizecache        int32          `json:\"-\"`\n}\n```\nSignedChaincodeDeploymentSpec carries the CDS along with endorsements\n\n```go\nfunc (*SignedChaincodeDeploymentSpec) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *SignedChaincodeDeploymentSpec) GetChaincodeDeploymentSpec() []byte\n```\n\n```go\nfunc (m *SignedChaincodeDeploymentSpec) GetInstantiationPolicy() []byte\n```\n\n```go\nfunc (m *SignedChaincodeDeploymentSpec) GetOwnerEndorsements() []*Endorsement\n```\n\n```go\nfunc (*SignedChaincodeDeploymentSpec) ProtoMessage()\n```\n\n```go\nfunc (m *SignedChaincodeDeploymentSpec) Reset()\n```\n\n```go\nfunc (m *SignedChaincodeDeploymentSpec) String() string\n```\n\n```go\nfunc (m *SignedChaincodeDeploymentSpec) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *SignedChaincodeDeploymentSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *SignedChaincodeDeploymentSpec) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *SignedChaincodeDeploymentSpec) XXX_Size() int\n```\n\n```go\nfunc (m *SignedChaincodeDeploymentSpec) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype SignedProposal struct {\n\t// The bytes of Proposal\n\tProposalBytes []byte `protobuf:\"bytes,1,opt,name=proposal_bytes,json=proposalBytes,proto3\" json:\"proposal_bytes,omitempty\"`\n\t// Signaure over proposalBytes; this signature is to be verified against\n\t// the creator identity contained in the header of the Proposal message\n\t// marshaled as proposalBytes\n\tSignature            []byte   `protobuf:\"bytes,2,opt,name=signature,proto3\" json:\"signature,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nThis structure is necessary to sign the proposal which contains the header and the payload. Without this structure, we would have to concatenate the header and the payload to verify the signature, which could be expensive with large payload\n\nWhen an endorser receives a SignedProposal message, it should verify the signature over the proposal bytes. This verification requires the following steps:\n\n 1. Verification of the validity of the certificate that was used to produce the signature.  The certificate will be available once proposalBytes has been unmarshalled to a Proposal message, and Proposal.header has been unmarshalled to a Header message. While this unmarshalling-before-verifying might not be ideal, it is unavoidable because i) the signature needs to also protect the signing certificate; ii) it is desirable that Header is created once by the client and never changed (for the sake of accountability and non-repudiation). Note also that it is actually impossible to conclusively verify the validity of the certificate included in a Proposal, because the proposal needs to first be endorsed and ordered with respect to certificate expiration transactions. Still, it is useful to pre-filter expired certificates at this stage.\n 2. Verification that the certificate is trusted (signed by a trusted CA) and that it is allowed to transact with us (with respect to some ACLs);\n 3. Verification that the signature on proposalBytes is valid;\n 4. Detect replay attacks;\n\n```go\nfunc (*SignedProposal) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *SignedProposal) GetProposalBytes() []byte\n```\n\n```go\nfunc (m *SignedProposal) GetSignature() []byte\n```\n\n```go\nfunc (*SignedProposal) ProtoMessage()\n```\n\n```go\nfunc (m *SignedProposal) Reset()\n```\n\n```go\nfunc (m *SignedProposal) String() string\n```\n\n```go\nfunc (m *SignedProposal) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *SignedProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *SignedProposal) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *SignedProposal) XXX_Size() int\n```\n\n```go\nfunc (m *SignedProposal) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype SignedTransaction struct {\n\t// The bytes of the Transaction. NDD\n\tTransactionBytes []byte `protobuf:\"bytes,1,opt,name=transaction_bytes,json=transactionBytes,proto3\" json:\"transaction_bytes,omitempty\"`\n\t// Signature of the transactionBytes The public key of the signature is in\n\t// the header field of TransactionAction There might be multiple\n\t// TransactionAction, so multiple headers, but there should be same\n\t// transactor identity (cert) in all headers\n\tSignature            []byte   `protobuf:\"bytes,2,opt,name=signature,proto3\" json:\"signature,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nThis message is necessary to facilitate the verification of the signature (in the signature field) over the bytes of the transaction (in the transactionBytes field).\n\n```go\nfunc (*SignedTransaction) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *SignedTransaction) GetSignature() []byte\n```\n\n```go\nfunc (m *SignedTransaction) GetTransactionBytes() []byte\n```\n\n```go\nfunc (*SignedTransaction) ProtoMessage()\n```\n\n```go\nfunc (m *SignedTransaction) Reset()\n```\n\n```go\nfunc (m *SignedTransaction) String() string\n```\n\n```go\nfunc (m *SignedTransaction) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *SignedTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *SignedTransaction) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *SignedTransaction) XXX_Size() int\n```\n\n```go\nfunc (m *SignedTransaction) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype StateMetadata struct {\n\tMetakey              string   `protobuf:\"bytes,1,opt,name=metakey,proto3\" json:\"metakey,omitempty\"`\n\tValue                []byte   `protobuf:\"bytes,2,opt,name=value,proto3\" json:\"value,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*StateMetadata) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *StateMetadata) GetMetakey() string\n```\n\n```go\nfunc (m *StateMetadata) GetValue() []byte\n```\n\n```go\nfunc (*StateMetadata) ProtoMessage()\n```\n\n```go\nfunc (m *StateMetadata) Reset()\n```\n\n```go\nfunc (m *StateMetadata) String() string\n```\n\n```go\nfunc (m *StateMetadata) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *StateMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *StateMetadata) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *StateMetadata) XXX_Size() int\n```\n\n```go\nfunc (m *StateMetadata) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype StateMetadataResult struct {\n\tEntries              []*StateMetadata `protobuf:\"bytes,1,rep,name=entries,proto3\" json:\"entries,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}         `json:\"-\"`\n\tXXX_unrecognized     []byte           `json:\"-\"`\n\tXXX_sizecache        int32            `json:\"-\"`\n}\n```\n\n```go\nfunc (*StateMetadataResult) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *StateMetadataResult) GetEntries() []*StateMetadata\n```\n\n```go\nfunc (*StateMetadataResult) ProtoMessage()\n```\n\n```go\nfunc (m *StateMetadataResult) Reset()\n```\n\n```go\nfunc (m *StateMetadataResult) String() string\n```\n\n```go\nfunc (m *StateMetadataResult) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *StateMetadataResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *StateMetadataResult) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *StateMetadataResult) XXX_Size() int\n```\n\n```go\nfunc (m *StateMetadataResult) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Transaction struct {\n\t// The payload is an array of TransactionAction. An array is necessary to\n\t// accommodate multiple actions per transaction\n\tActions              []*TransactionAction `protobuf:\"bytes,1,rep,name=actions,proto3\" json:\"actions,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}             `json:\"-\"`\n\tXXX_unrecognized     []byte               `json:\"-\"`\n\tXXX_sizecache        int32                `json:\"-\"`\n}\n```\nThe transaction to be sent to the ordering service. A transaction contains one or more TransactionAction. Each TransactionAction binds a proposal to potentially multiple actions. The transaction is atomic meaning that either all actions in the transaction will be committed or none will.  Note that while a Transaction might include more than one Header, the Header.creator field must be the same in each. A single client is free to issue a number of independent Proposal, each with their header (Header) and request payload (ChaincodeProposalPayload).  Each proposal is independently endorsed generating an action (ProposalResponsePayload) with one signature per Endorser. Any number of independent proposals (and their action) might be included in a transaction to ensure that they are treated atomically.\n\n```go\nfunc (*Transaction) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Transaction) GetActions() []*TransactionAction\n```\n\n```go\nfunc (*Transaction) ProtoMessage()\n```\n\n```go\nfunc (m *Transaction) Reset()\n```\n\n```go\nfunc (m *Transaction) String() string\n```\n\n```go\nfunc (m *Transaction) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Transaction) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Transaction) XXX_Size() int\n```\n\n```go\nfunc (m *Transaction) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype TransactionAction struct {\n\t// The header of the proposal action, which is the proposal header\n\tHeader []byte `protobuf:\"bytes,1,opt,name=header,proto3\" json:\"header,omitempty\"`\n\t// The payload of the action as defined by the type in the header For\n\t// chaincode, it's the bytes of ChaincodeActionPayload\n\tPayload              []byte   `protobuf:\"bytes,2,opt,name=payload,proto3\" json:\"payload,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nTransactionAction binds a proposal to its action.  The type field in the header dictates the type of action to be applied to the ledger.\n\n```go\nfunc (*TransactionAction) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *TransactionAction) GetHeader() []byte\n```\n\n```go\nfunc (m *TransactionAction) GetPayload() []byte\n```\n\n```go\nfunc (*TransactionAction) ProtoMessage()\n```\n\n```go\nfunc (m *TransactionAction) Reset()\n```\n\n```go\nfunc (ta *TransactionAction) StaticallyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\nfunc (ta *TransactionAction) StaticallyOpaqueFields() []string\n```\n\n```go\nfunc (m *TransactionAction) String() string\n```\n\n```go\nfunc (m *TransactionAction) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *TransactionAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *TransactionAction) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *TransactionAction) XXX_Size() int\n```\n\n```go\nfunc (m *TransactionAction) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype TxValidationCode int32\n```\n\n```go\nconst (\n\tTxValidationCode_VALID                        TxValidationCode = 0\n\tTxValidationCode_NIL_ENVELOPE                 TxValidationCode = 1\n\tTxValidationCode_BAD_PAYLOAD                  TxValidationCode = 2\n\tTxValidationCode_BAD_COMMON_HEADER            TxValidationCode = 3\n\tTxValidationCode_BAD_CREATOR_SIGNATURE        TxValidationCode = 4\n\tTxValidationCode_INVALID_ENDORSER_TRANSACTION TxValidationCode = 5\n\tTxValidationCode_INVALID_CONFIG_TRANSACTION   TxValidationCode = 6\n\tTxValidationCode_UNSUPPORTED_TX_PAYLOAD       TxValidationCode = 7\n\tTxValidationCode_BAD_PROPOSAL_TXID            TxValidationCode = 8\n\tTxValidationCode_DUPLICATE_TXID               TxValidationCode = 9\n\tTxValidationCode_ENDORSEMENT_POLICY_FAILURE   TxValidationCode = 10\n\tTxValidationCode_MVCC_READ_CONFLICT           TxValidationCode = 11\n\tTxValidationCode_PHANTOM_READ_CONFLICT        TxValidationCode = 12\n\tTxValidationCode_UNKNOWN_TX_TYPE              TxValidationCode = 13\n\tTxValidationCode_TARGET_CHAIN_NOT_FOUND       TxValidationCode = 14\n\tTxValidationCode_MARSHAL_TX_ERROR             TxValidationCode = 15\n\tTxValidationCode_NIL_TXACTION                 TxValidationCode = 16\n\tTxValidationCode_EXPIRED_CHAINCODE            TxValidationCode = 17\n\tTxValidationCode_CHAINCODE_VERSION_CONFLICT   TxValidationCode = 18\n\tTxValidationCode_BAD_HEADER_EXTENSION         TxValidationCode = 19\n\tTxValidationCode_BAD_CHANNEL_HEADER           TxValidationCode = 20\n\tTxValidationCode_BAD_RESPONSE_PAYLOAD         TxValidationCode = 21\n\tTxValidationCode_BAD_RWSET                    TxValidationCode = 22\n\tTxValidationCode_ILLEGAL_WRITESET             TxValidationCode = 23\n\tTxValidationCode_INVALID_WRITESET             TxValidationCode = 24\n\tTxValidationCode_NOT_VALIDATED                TxValidationCode = 254\n\tTxValidationCode_INVALID_OTHER_REASON         TxValidationCode = 255\n)\n```\n\n```go\nfunc (TxValidationCode) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x TxValidationCode) String() string\n```\n\n```go\ntype VSCCArgs struct {\n\tEndorsementPolicyRef string   `protobuf:\"bytes,1,opt,name=endorsement_policy_ref,json=endorsementPolicyRef,proto3\" json:\"endorsement_policy_ref,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nVSCCArgs is passed (marshaled) as a parameter to the VSCC imlementation via the argument field of the ChaincodeValidation message.\n\n```go\nfunc (*VSCCArgs) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *VSCCArgs) GetEndorsementPolicyRef() string\n```\n\n```go\nfunc (*VSCCArgs) ProtoMessage()\n```\n\n```go\nfunc (m *VSCCArgs) Reset()\n```\n\n```go\nfunc (m *VSCCArgs) String() string\n```\n\n```go\nfunc (m *VSCCArgs) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *VSCCArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *VSCCArgs) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *VSCCArgs) XXX_Size() int\n```\n\n```go\nfunc (m *VSCCArgs) XXX_Unmarshal(b []byte) error\n```\n\n","path":"github.com/eric-erki/https-hyperledger.org/protos/peer","name":"peer","synopsis":"","isRedistributable":true}
