public static final class ChaincodeMessage.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeMessage.Builder> implements ChaincodeMessageOrBuilder
protos.ChaincodeMessage
Modifier and Type | Method and Description |
---|---|
ChaincodeMessage.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ChaincodeMessage |
build() |
ChaincodeMessage |
buildPartial() |
ChaincodeMessage.Builder |
clear() |
ChaincodeMessage.Builder |
clearChaincodeEvent()
event emitted by chaincode.
|
ChaincodeMessage.Builder |
clearChannelId()
channel id
|
ChaincodeMessage.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ChaincodeMessage.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ChaincodeMessage.Builder |
clearPayload()
bytes payload = 3 [json_name = "payload"]; |
ChaincodeMessage.Builder |
clearProposal()
.protos.SignedProposal proposal = 5 [json_name = "proposal"]; |
ChaincodeMessage.Builder |
clearTimestamp()
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"]; |
ChaincodeMessage.Builder |
clearTxid()
string txid = 4 [json_name = "txid"]; |
ChaincodeMessage.Builder |
clearType()
.protos.ChaincodeMessage.Type type = 1 [json_name = "type"]; |
ChaincodeMessage.Builder |
clone() |
ChaincodeEvent |
getChaincodeEvent()
event emitted by chaincode.
|
ChaincodeEvent.Builder |
getChaincodeEventBuilder()
event emitted by chaincode.
|
ChaincodeEventOrBuilder |
getChaincodeEventOrBuilder()
event emitted by chaincode.
|
String |
getChannelId()
channel id
|
com.google.protobuf.ByteString |
getChannelIdBytes()
channel id
|
ChaincodeMessage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getPayload()
bytes payload = 3 [json_name = "payload"]; |
SignedProposal |
getProposal()
.protos.SignedProposal proposal = 5 [json_name = "proposal"]; |
SignedProposal.Builder |
getProposalBuilder()
.protos.SignedProposal proposal = 5 [json_name = "proposal"]; |
SignedProposalOrBuilder |
getProposalOrBuilder()
.protos.SignedProposal proposal = 5 [json_name = "proposal"]; |
com.google.protobuf.Timestamp |
getTimestamp()
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"]; |
com.google.protobuf.Timestamp.Builder |
getTimestampBuilder()
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"]; |
com.google.protobuf.TimestampOrBuilder |
getTimestampOrBuilder()
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"]; |
String |
getTxid()
string txid = 4 [json_name = "txid"]; |
com.google.protobuf.ByteString |
getTxidBytes()
string txid = 4 [json_name = "txid"]; |
ChaincodeMessage.Type |
getType()
.protos.ChaincodeMessage.Type type = 1 [json_name = "type"]; |
int |
getTypeValue()
.protos.ChaincodeMessage.Type type = 1 [json_name = "type"]; |
boolean |
hasChaincodeEvent()
event emitted by chaincode.
|
boolean |
hasProposal()
.protos.SignedProposal proposal = 5 [json_name = "proposal"]; |
boolean |
hasTimestamp()
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"]; |
boolean |
isInitialized() |
ChaincodeMessage.Builder |
mergeChaincodeEvent(ChaincodeEvent value)
event emitted by chaincode.
|
ChaincodeMessage.Builder |
mergeFrom(ChaincodeMessage other) |
ChaincodeMessage.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ChaincodeMessage.Builder |
mergeFrom(com.google.protobuf.Message other) |
ChaincodeMessage.Builder |
mergeProposal(SignedProposal value)
.protos.SignedProposal proposal = 5 [json_name = "proposal"]; |
ChaincodeMessage.Builder |
mergeTimestamp(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"]; |
ChaincodeMessage.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ChaincodeMessage.Builder |
setChaincodeEvent(ChaincodeEvent.Builder builderForValue)
event emitted by chaincode.
|
ChaincodeMessage.Builder |
setChaincodeEvent(ChaincodeEvent value)
event emitted by chaincode.
|
ChaincodeMessage.Builder |
setChannelId(String value)
channel id
|
ChaincodeMessage.Builder |
setChannelIdBytes(com.google.protobuf.ByteString value)
channel id
|
ChaincodeMessage.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ChaincodeMessage.Builder |
setPayload(com.google.protobuf.ByteString value)
bytes payload = 3 [json_name = "payload"]; |
ChaincodeMessage.Builder |
setProposal(SignedProposal.Builder builderForValue)
.protos.SignedProposal proposal = 5 [json_name = "proposal"]; |
ChaincodeMessage.Builder |
setProposal(SignedProposal value)
.protos.SignedProposal proposal = 5 [json_name = "proposal"]; |
ChaincodeMessage.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ChaincodeMessage.Builder |
setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"]; |
ChaincodeMessage.Builder |
setTimestamp(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"]; |
ChaincodeMessage.Builder |
setTxid(String value)
string txid = 4 [json_name = "txid"]; |
ChaincodeMessage.Builder |
setTxidBytes(com.google.protobuf.ByteString value)
string txid = 4 [json_name = "txid"]; |
ChaincodeMessage.Builder |
setType(ChaincodeMessage.Type value)
.protos.ChaincodeMessage.Type type = 1 [json_name = "type"]; |
ChaincodeMessage.Builder |
setTypeValue(int value)
.protos.ChaincodeMessage.Type type = 1 [json_name = "type"]; |
ChaincodeMessage.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 ChaincodeMessage.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<ChaincodeMessage.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<ChaincodeMessage.Builder>
public ChaincodeMessage getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ChaincodeMessage build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ChaincodeMessage buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ChaincodeMessage.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<ChaincodeMessage.Builder>
public ChaincodeMessage.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<ChaincodeMessage.Builder>
public ChaincodeMessage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeMessage.Builder>
public ChaincodeMessage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeMessage.Builder>
public ChaincodeMessage.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<ChaincodeMessage.Builder>
public ChaincodeMessage.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<ChaincodeMessage.Builder>
public ChaincodeMessage.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ChaincodeMessage.Builder>
public ChaincodeMessage.Builder mergeFrom(ChaincodeMessage other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeMessage.Builder>
public ChaincodeMessage.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<ChaincodeMessage.Builder>
IOException
public int getTypeValue()
.protos.ChaincodeMessage.Type type = 1 [json_name = "type"];
getTypeValue
in interface ChaincodeMessageOrBuilder
public ChaincodeMessage.Builder setTypeValue(int value)
.protos.ChaincodeMessage.Type type = 1 [json_name = "type"];
value
- The enum numeric value on the wire for type to set.public ChaincodeMessage.Type getType()
.protos.ChaincodeMessage.Type type = 1 [json_name = "type"];
getType
in interface ChaincodeMessageOrBuilder
public ChaincodeMessage.Builder setType(ChaincodeMessage.Type value)
.protos.ChaincodeMessage.Type type = 1 [json_name = "type"];
value
- The type to set.public ChaincodeMessage.Builder clearType()
.protos.ChaincodeMessage.Type type = 1 [json_name = "type"];
public boolean hasTimestamp()
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"];
hasTimestamp
in interface ChaincodeMessageOrBuilder
public com.google.protobuf.Timestamp getTimestamp()
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"];
getTimestamp
in interface ChaincodeMessageOrBuilder
public ChaincodeMessage.Builder setTimestamp(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"];
public ChaincodeMessage.Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"];
public ChaincodeMessage.Builder mergeTimestamp(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"];
public ChaincodeMessage.Builder clearTimestamp()
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"];
public com.google.protobuf.Timestamp.Builder getTimestampBuilder()
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"];
public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"];
getTimestampOrBuilder
in interface ChaincodeMessageOrBuilder
public com.google.protobuf.ByteString getPayload()
bytes payload = 3 [json_name = "payload"];
getPayload
in interface ChaincodeMessageOrBuilder
public ChaincodeMessage.Builder setPayload(com.google.protobuf.ByteString value)
bytes payload = 3 [json_name = "payload"];
value
- The payload to set.public ChaincodeMessage.Builder clearPayload()
bytes payload = 3 [json_name = "payload"];
public String getTxid()
string txid = 4 [json_name = "txid"];
getTxid
in interface ChaincodeMessageOrBuilder
public com.google.protobuf.ByteString getTxidBytes()
string txid = 4 [json_name = "txid"];
getTxidBytes
in interface ChaincodeMessageOrBuilder
public ChaincodeMessage.Builder setTxid(String value)
string txid = 4 [json_name = "txid"];
value
- The txid to set.public ChaincodeMessage.Builder clearTxid()
string txid = 4 [json_name = "txid"];
public ChaincodeMessage.Builder setTxidBytes(com.google.protobuf.ByteString value)
string txid = 4 [json_name = "txid"];
value
- The bytes for txid to set.public boolean hasProposal()
.protos.SignedProposal proposal = 5 [json_name = "proposal"];
hasProposal
in interface ChaincodeMessageOrBuilder
public SignedProposal getProposal()
.protos.SignedProposal proposal = 5 [json_name = "proposal"];
getProposal
in interface ChaincodeMessageOrBuilder
public ChaincodeMessage.Builder setProposal(SignedProposal value)
.protos.SignedProposal proposal = 5 [json_name = "proposal"];
public ChaincodeMessage.Builder setProposal(SignedProposal.Builder builderForValue)
.protos.SignedProposal proposal = 5 [json_name = "proposal"];
public ChaincodeMessage.Builder mergeProposal(SignedProposal value)
.protos.SignedProposal proposal = 5 [json_name = "proposal"];
public ChaincodeMessage.Builder clearProposal()
.protos.SignedProposal proposal = 5 [json_name = "proposal"];
public SignedProposal.Builder getProposalBuilder()
.protos.SignedProposal proposal = 5 [json_name = "proposal"];
public SignedProposalOrBuilder getProposalOrBuilder()
.protos.SignedProposal proposal = 5 [json_name = "proposal"];
getProposalOrBuilder
in interface ChaincodeMessageOrBuilder
public boolean hasChaincodeEvent()
event emitted by chaincode. Used only with Init or Invoke. This event is then stored (currently) with Block.NonHashData.TransactionResult
.protos.ChaincodeEvent chaincode_event = 6 [json_name = "chaincodeEvent"];
hasChaincodeEvent
in interface ChaincodeMessageOrBuilder
public ChaincodeEvent getChaincodeEvent()
event emitted by chaincode. Used only with Init or Invoke. This event is then stored (currently) with Block.NonHashData.TransactionResult
.protos.ChaincodeEvent chaincode_event = 6 [json_name = "chaincodeEvent"];
getChaincodeEvent
in interface ChaincodeMessageOrBuilder
public ChaincodeMessage.Builder setChaincodeEvent(ChaincodeEvent value)
event emitted by chaincode. Used only with Init or Invoke. This event is then stored (currently) with Block.NonHashData.TransactionResult
.protos.ChaincodeEvent chaincode_event = 6 [json_name = "chaincodeEvent"];
public ChaincodeMessage.Builder setChaincodeEvent(ChaincodeEvent.Builder builderForValue)
event emitted by chaincode. Used only with Init or Invoke. This event is then stored (currently) with Block.NonHashData.TransactionResult
.protos.ChaincodeEvent chaincode_event = 6 [json_name = "chaincodeEvent"];
public ChaincodeMessage.Builder mergeChaincodeEvent(ChaincodeEvent value)
event emitted by chaincode. Used only with Init or Invoke. This event is then stored (currently) with Block.NonHashData.TransactionResult
.protos.ChaincodeEvent chaincode_event = 6 [json_name = "chaincodeEvent"];
public ChaincodeMessage.Builder clearChaincodeEvent()
event emitted by chaincode. Used only with Init or Invoke. This event is then stored (currently) with Block.NonHashData.TransactionResult
.protos.ChaincodeEvent chaincode_event = 6 [json_name = "chaincodeEvent"];
public ChaincodeEvent.Builder getChaincodeEventBuilder()
event emitted by chaincode. Used only with Init or Invoke. This event is then stored (currently) with Block.NonHashData.TransactionResult
.protos.ChaincodeEvent chaincode_event = 6 [json_name = "chaincodeEvent"];
public ChaincodeEventOrBuilder getChaincodeEventOrBuilder()
event emitted by chaincode. Used only with Init or Invoke. This event is then stored (currently) with Block.NonHashData.TransactionResult
.protos.ChaincodeEvent chaincode_event = 6 [json_name = "chaincodeEvent"];
getChaincodeEventOrBuilder
in interface ChaincodeMessageOrBuilder
public String getChannelId()
channel id
string channel_id = 7 [json_name = "channelId"];
getChannelId
in interface ChaincodeMessageOrBuilder
public com.google.protobuf.ByteString getChannelIdBytes()
channel id
string channel_id = 7 [json_name = "channelId"];
getChannelIdBytes
in interface ChaincodeMessageOrBuilder
public ChaincodeMessage.Builder setChannelId(String value)
channel id
string channel_id = 7 [json_name = "channelId"];
value
- The channelId to set.public ChaincodeMessage.Builder clearChannelId()
channel id
string channel_id = 7 [json_name = "channelId"];
public ChaincodeMessage.Builder setChannelIdBytes(com.google.protobuf.ByteString value)
channel id
string channel_id = 7 [json_name = "channelId"];
value
- The bytes for channelId to set.public final ChaincodeMessage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeMessage.Builder>
public final ChaincodeMessage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ChaincodeMessage.Builder>
Copyright © 2022. All rights reserved.