public final class ChaincodeProposalPayload extends com.google.protobuf.GeneratedMessageV3 implements ChaincodeProposalPayloadOrBuilder
ChaincodeProposalPayload is the Proposal's payload message to be used when the Header's type is CHAINCODE. It contains the arguments for this invocation.Protobuf type
protos.ChaincodeProposalPayload
Modifier and Type | Class and Description |
---|---|
static class |
ChaincodeProposalPayload.Builder
ChaincodeProposalPayload is the Proposal's payload message to be used when
the Header's type is 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 |
INPUT_FIELD_NUMBER |
static int |
TRANSIENTMAP_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsTransientMap(String key)
TransientMap contains data (e.g.
|
boolean |
equals(Object obj) |
static ChaincodeProposalPayload |
getDefaultInstance() |
ChaincodeProposalPayload |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getInput()
Input contains the arguments for this invocation.
|
com.google.protobuf.Parser<ChaincodeProposalPayload> |
getParserForType() |
int |
getSerializedSize() |
Map<String,com.google.protobuf.ByteString> |
getTransientMap()
Deprecated.
|
int |
getTransientMapCount()
TransientMap contains data (e.g.
|
Map<String,com.google.protobuf.ByteString> |
getTransientMapMap()
TransientMap contains data (e.g.
|
com.google.protobuf.ByteString |
getTransientMapOrDefault(String key,
com.google.protobuf.ByteString defaultValue)
TransientMap contains data (e.g.
|
com.google.protobuf.ByteString |
getTransientMapOrThrow(String key)
TransientMap contains data (e.g.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
isInitialized() |
static ChaincodeProposalPayload.Builder |
newBuilder() |
static ChaincodeProposalPayload.Builder |
newBuilder(ChaincodeProposalPayload prototype) |
ChaincodeProposalPayload.Builder |
newBuilderForType() |
static ChaincodeProposalPayload |
parseDelimitedFrom(InputStream input) |
static ChaincodeProposalPayload |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeProposalPayload |
parseFrom(byte[] data) |
static ChaincodeProposalPayload |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeProposalPayload |
parseFrom(ByteBuffer data) |
static ChaincodeProposalPayload |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeProposalPayload |
parseFrom(com.google.protobuf.ByteString data) |
static ChaincodeProposalPayload |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeProposalPayload |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ChaincodeProposalPayload |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeProposalPayload |
parseFrom(InputStream input) |
static ChaincodeProposalPayload |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ChaincodeProposalPayload> |
parser() |
ChaincodeProposalPayload.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 INPUT_FIELD_NUMBER
public static final int TRANSIENTMAP_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 getInput()
Input contains the arguments for this invocation. If this invocation deploys a new chaincode, ESCC/VSCC are part of this field. This is usually a marshaled ChaincodeInvocationSpec
bytes input = 1 [json_name = "input"];
getInput
in interface ChaincodeProposalPayloadOrBuilder
public int getTransientMapCount()
ChaincodeProposalPayloadOrBuilder
TransientMap contains data (e.g. cryptographic material) that might be used to implement some form of application-level confidentiality. The contents of this field are supposed to always be omitted from the transaction and excluded from the ledger.
map<string, bytes> TransientMap = 2 [json_name = "TransientMap"];
getTransientMapCount
in interface ChaincodeProposalPayloadOrBuilder
public boolean containsTransientMap(String key)
TransientMap contains data (e.g. cryptographic material) that might be used to implement some form of application-level confidentiality. The contents of this field are supposed to always be omitted from the transaction and excluded from the ledger.
map<string, bytes> TransientMap = 2 [json_name = "TransientMap"];
containsTransientMap
in interface ChaincodeProposalPayloadOrBuilder
@Deprecated public Map<String,com.google.protobuf.ByteString> getTransientMap()
getTransientMapMap()
instead.getTransientMap
in interface ChaincodeProposalPayloadOrBuilder
public Map<String,com.google.protobuf.ByteString> getTransientMapMap()
TransientMap contains data (e.g. cryptographic material) that might be used to implement some form of application-level confidentiality. The contents of this field are supposed to always be omitted from the transaction and excluded from the ledger.
map<string, bytes> TransientMap = 2 [json_name = "TransientMap"];
getTransientMapMap
in interface ChaincodeProposalPayloadOrBuilder
public com.google.protobuf.ByteString getTransientMapOrDefault(String key, com.google.protobuf.ByteString defaultValue)
TransientMap contains data (e.g. cryptographic material) that might be used to implement some form of application-level confidentiality. The contents of this field are supposed to always be omitted from the transaction and excluded from the ledger.
map<string, bytes> TransientMap = 2 [json_name = "TransientMap"];
getTransientMapOrDefault
in interface ChaincodeProposalPayloadOrBuilder
public com.google.protobuf.ByteString getTransientMapOrThrow(String key)
TransientMap contains data (e.g. cryptographic material) that might be used to implement some form of application-level confidentiality. The contents of this field are supposed to always be omitted from the transaction and excluded from the ledger.
map<string, bytes> TransientMap = 2 [json_name = "TransientMap"];
getTransientMapOrThrow
in interface ChaincodeProposalPayloadOrBuilder
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 ChaincodeProposalPayload parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeProposalPayload parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeProposalPayload parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeProposalPayload parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeProposalPayload parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeProposalPayload parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeProposalPayload parseFrom(InputStream input) throws IOException
IOException
public static ChaincodeProposalPayload parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ChaincodeProposalPayload parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ChaincodeProposalPayload parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ChaincodeProposalPayload parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ChaincodeProposalPayload parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ChaincodeProposalPayload.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ChaincodeProposalPayload.Builder newBuilder()
public static ChaincodeProposalPayload.Builder newBuilder(ChaincodeProposalPayload prototype)
public ChaincodeProposalPayload.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public static ChaincodeProposalPayload getDefaultInstance()
public static com.google.protobuf.Parser<ChaincodeProposalPayload> parser()
public com.google.protobuf.Parser<ChaincodeProposalPayload> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ChaincodeProposalPayload getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.