public final class ChaincodeActionPayload extends com.google.protobuf.GeneratedMessageV3 implements ChaincodeActionPayloadOrBuilder
ChaincodeActionPayload 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.Protobuf type
protos.ChaincodeActionPayload
Modifier and Type | Class and Description |
---|---|
static class |
ChaincodeActionPayload.Builder
ChaincodeActionPayload is the message to be used for the TransactionAction's
payload when the Header's type is set to CHAINCODE.
|
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
ACTION_FIELD_NUMBER |
static int |
CHAINCODE_PROPOSAL_PAYLOAD_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ChaincodeEndorsedAction |
getAction()
The list of actions to apply to the ledger
|
ChaincodeEndorsedActionOrBuilder |
getActionOrBuilder()
The list of actions to apply to the ledger
|
com.google.protobuf.ByteString |
getChaincodeProposalPayload()
This field contains the bytes of the ChaincodeProposalPayload message from
the original invocation (essentially the arguments) after the application
of the visibility function.
|
static ChaincodeActionPayload |
getDefaultInstance() |
ChaincodeActionPayload |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ChaincodeActionPayload> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAction()
The list of actions to apply to the ledger
|
int |
hashCode() |
boolean |
isInitialized() |
static ChaincodeActionPayload.Builder |
newBuilder() |
static ChaincodeActionPayload.Builder |
newBuilder(ChaincodeActionPayload prototype) |
ChaincodeActionPayload.Builder |
newBuilderForType() |
static ChaincodeActionPayload |
parseDelimitedFrom(InputStream input) |
static ChaincodeActionPayload |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeActionPayload |
parseFrom(byte[] data) |
static ChaincodeActionPayload |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeActionPayload |
parseFrom(ByteBuffer data) |
static ChaincodeActionPayload |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeActionPayload |
parseFrom(com.google.protobuf.ByteString data) |
static ChaincodeActionPayload |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeActionPayload |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ChaincodeActionPayload |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeActionPayload |
parseFrom(InputStream input) |
static ChaincodeActionPayload |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ChaincodeActionPayload> |
parser() |
ChaincodeActionPayload.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
findInitializationErrors, getInitializationErrorString, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int CHAINCODE_PROPOSAL_PAYLOAD_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public com.google.protobuf.ByteString getChaincodeProposalPayload()
This field contains the bytes of the ChaincodeProposalPayload message from the original invocation (essentially the arguments) after the application of the visibility function. The main visibility modes are "full" (the entire ChaincodeProposalPayload message is included here), "hash" (only the hash of the ChaincodeProposalPayload message is included) or "nothing". This field will be used to check the consistency of ProposalResponsePayload.proposalHash. For the CHAINCODE type, ProposalResponsePayload.proposalHash is supposed to be H(ProposalHeader || f(ChaincodeProposalPayload)) where f is the visibility function.
bytes chaincode_proposal_payload = 1 [json_name = "chaincodeProposalPayload"];
getChaincodeProposalPayload
in interface ChaincodeActionPayloadOrBuilder
public boolean hasAction()
The list of actions to apply to the ledger
.protos.ChaincodeEndorsedAction action = 2 [json_name = "action"];
hasAction
in interface ChaincodeActionPayloadOrBuilder
public ChaincodeEndorsedAction getAction()
The list of actions to apply to the ledger
.protos.ChaincodeEndorsedAction action = 2 [json_name = "action"];
getAction
in interface ChaincodeActionPayloadOrBuilder
public ChaincodeEndorsedActionOrBuilder getActionOrBuilder()
The list of actions to apply to the ledger
.protos.ChaincodeEndorsedAction action = 2 [json_name = "action"];
getActionOrBuilder
in interface ChaincodeActionPayloadOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ChaincodeActionPayload parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeActionPayload parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeActionPayload parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeActionPayload parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeActionPayload parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeActionPayload parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeActionPayload parseFrom(InputStream input) throws IOException
IOException
public static ChaincodeActionPayload parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ChaincodeActionPayload parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ChaincodeActionPayload parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ChaincodeActionPayload parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ChaincodeActionPayload parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ChaincodeActionPayload.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ChaincodeActionPayload.Builder newBuilder()
public static ChaincodeActionPayload.Builder newBuilder(ChaincodeActionPayload prototype)
public ChaincodeActionPayload.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public static ChaincodeActionPayload getDefaultInstance()
public static com.google.protobuf.Parser<ChaincodeActionPayload> parser()
public com.google.protobuf.Parser<ChaincodeActionPayload> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ChaincodeActionPayload getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.