public final class ChaincodeMessage extends com.google.protobuf.GeneratedMessageV3 implements ChaincodeMessageOrBuilder
protos.ChaincodeMessage
Modifier and Type | Class and Description |
---|---|
static class |
ChaincodeMessage.Builder
Protobuf type
protos.ChaincodeMessage |
static class |
ChaincodeMessage.Type
Protobuf enum
protos.ChaincodeMessage.Type |
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 |
CHAINCODE_EVENT_FIELD_NUMBER |
static int |
CHANNEL_ID_FIELD_NUMBER |
static int |
PAYLOAD_FIELD_NUMBER |
static int |
PROPOSAL_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
static int |
TXID_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ChaincodeEvent |
getChaincodeEvent()
event emitted by chaincode.
|
ChaincodeEventOrBuilder |
getChaincodeEventOrBuilder()
event emitted by chaincode.
|
String |
getChannelId()
channel id
|
com.google.protobuf.ByteString |
getChannelIdBytes()
channel id
|
static ChaincodeMessage |
getDefaultInstance() |
ChaincodeMessage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ChaincodeMessage> |
getParserForType() |
com.google.protobuf.ByteString |
getPayload()
bytes payload = 3 [json_name = "payload"]; |
SignedProposal |
getProposal()
.protos.SignedProposal proposal = 5 [json_name = "proposal"]; |
SignedProposalOrBuilder |
getProposalOrBuilder()
.protos.SignedProposal proposal = 5 [json_name = "proposal"]; |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getTimestamp()
.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"]; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasChaincodeEvent()
event emitted by chaincode.
|
int |
hashCode() |
boolean |
hasProposal()
.protos.SignedProposal proposal = 5 [json_name = "proposal"]; |
boolean |
hasTimestamp()
.google.protobuf.Timestamp timestamp = 2 [json_name = "timestamp"]; |
boolean |
isInitialized() |
static ChaincodeMessage.Builder |
newBuilder() |
static ChaincodeMessage.Builder |
newBuilder(ChaincodeMessage prototype) |
ChaincodeMessage.Builder |
newBuilderForType() |
static ChaincodeMessage |
parseDelimitedFrom(InputStream input) |
static ChaincodeMessage |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeMessage |
parseFrom(byte[] data) |
static ChaincodeMessage |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeMessage |
parseFrom(ByteBuffer data) |
static ChaincodeMessage |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeMessage |
parseFrom(com.google.protobuf.ByteString data) |
static ChaincodeMessage |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeMessage |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ChaincodeMessage |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeMessage |
parseFrom(InputStream input) |
static ChaincodeMessage |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ChaincodeMessage> |
parser() |
ChaincodeMessage.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 TYPE_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
public static final int TXID_FIELD_NUMBER
public static final int PROPOSAL_FIELD_NUMBER
public static final int CHAINCODE_EVENT_FIELD_NUMBER
public static final int CHANNEL_ID_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 int getTypeValue()
.protos.ChaincodeMessage.Type type = 1 [json_name = "type"];
getTypeValue
in interface ChaincodeMessageOrBuilder
public ChaincodeMessage.Type getType()
.protos.ChaincodeMessage.Type type = 1 [json_name = "type"];
getType
in interface ChaincodeMessageOrBuilder
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 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 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 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 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 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 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 ChaincodeMessage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeMessage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeMessage parseFrom(InputStream input) throws IOException
IOException
public static ChaincodeMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ChaincodeMessage parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ChaincodeMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ChaincodeMessage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ChaincodeMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ChaincodeMessage.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ChaincodeMessage.Builder newBuilder()
public static ChaincodeMessage.Builder newBuilder(ChaincodeMessage prototype)
public ChaincodeMessage.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public static ChaincodeMessage getDefaultInstance()
public static com.google.protobuf.Parser<ChaincodeMessage> parser()
public com.google.protobuf.Parser<ChaincodeMessage> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ChaincodeMessage getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.