public static final class ChaincodeProposalPayload.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeProposalPayload.Builder> 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 | Method and Description |
---|---|
ChaincodeProposalPayload.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ChaincodeProposalPayload |
build() |
ChaincodeProposalPayload |
buildPartial() |
ChaincodeProposalPayload.Builder |
clear() |
ChaincodeProposalPayload.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ChaincodeProposalPayload.Builder |
clearInput()
Input contains the arguments for this invocation.
|
ChaincodeProposalPayload.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ChaincodeProposalPayload.Builder |
clearTransientMap() |
ChaincodeProposalPayload.Builder |
clone() |
boolean |
containsTransientMap(String key)
TransientMap contains data (e.g.
|
ChaincodeProposalPayload |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getInput()
Input contains the arguments for this invocation.
|
Map<String,com.google.protobuf.ByteString> |
getMutableTransientMap()
Deprecated.
|
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.
|
boolean |
isInitialized() |
ChaincodeProposalPayload.Builder |
mergeFrom(ChaincodeProposalPayload other) |
ChaincodeProposalPayload.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ChaincodeProposalPayload.Builder |
mergeFrom(com.google.protobuf.Message other) |
ChaincodeProposalPayload.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ChaincodeProposalPayload.Builder |
putAllTransientMap(Map<String,com.google.protobuf.ByteString> values)
TransientMap contains data (e.g.
|
ChaincodeProposalPayload.Builder |
putTransientMap(String key,
com.google.protobuf.ByteString value)
TransientMap contains data (e.g.
|
ChaincodeProposalPayload.Builder |
removeTransientMap(String key)
TransientMap contains data (e.g.
|
ChaincodeProposalPayload.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ChaincodeProposalPayload.Builder |
setInput(com.google.protobuf.ByteString value)
Input contains the arguments for this invocation.
|
ChaincodeProposalPayload.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ChaincodeProposalPayload.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public ChaincodeProposalPayload.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeProposalPayload.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeProposalPayload.Builder>
public ChaincodeProposalPayload getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ChaincodeProposalPayload build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ChaincodeProposalPayload buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ChaincodeProposalPayload.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeProposalPayload.Builder>
public ChaincodeProposalPayload.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeProposalPayload.Builder>
public ChaincodeProposalPayload.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeProposalPayload.Builder>
public ChaincodeProposalPayload.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeProposalPayload.Builder>
public ChaincodeProposalPayload.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeProposalPayload.Builder>
public ChaincodeProposalPayload.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeProposalPayload.Builder>
public ChaincodeProposalPayload.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ChaincodeProposalPayload.Builder>
public ChaincodeProposalPayload.Builder mergeFrom(ChaincodeProposalPayload other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeProposalPayload.Builder>
public ChaincodeProposalPayload.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ChaincodeProposalPayload.Builder>
IOException
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 ChaincodeProposalPayload.Builder setInput(com.google.protobuf.ByteString value)
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"];
value
- The input to set.public ChaincodeProposalPayload.Builder clearInput()
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"];
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 ChaincodeProposalPayload.Builder clearTransientMap()
public ChaincodeProposalPayload.Builder removeTransientMap(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"];
@Deprecated public Map<String,com.google.protobuf.ByteString> getMutableTransientMap()
public ChaincodeProposalPayload.Builder putTransientMap(String key, com.google.protobuf.ByteString value)
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"];
public ChaincodeProposalPayload.Builder putAllTransientMap(Map<String,com.google.protobuf.ByteString> values)
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"];
public final ChaincodeProposalPayload.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeProposalPayload.Builder>
public final ChaincodeProposalPayload.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeProposalPayload.Builder>
Copyright © 2022. All rights reserved.