Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class TransactionReceiptEntry
java.lang.Object
com.google.protobuf.AbstractMessageLite<TransactionReceiptEntry,TransactionReceiptEntry.Builder>
com.google.protobuf.GeneratedMessageLite<TransactionReceiptEntry,TransactionReceiptEntry.Builder>
com.hedera.hashgraph.sdk.proto.TransactionReceiptEntry
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,TransactionReceiptEntryOrBuilder
@Generated
public final class TransactionReceiptEntry
extends com.google.protobuf.GeneratedMessageLite<TransactionReceiptEntry,TransactionReceiptEntry.Builder>
implements TransactionReceiptEntryOrBuilder
* An entry in the record cache with the receipt for a transaction. This is the entry stored in state that enables returning the receipt information when queried by clients. When a transaction is handled a receipt SHALL be created.<br/> This receipt MUST be stored in state for a configured time limit (e.g. 3 minutes).<br/> While a receipt is stored, a client MAY query the node and retrieve the receipt.Protobuf type
proto.TransactionReceiptEntry-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* An entry in the record cache with the receipt for a transaction.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static TransactionReceiptEntrylong* A node identifier.<br/> This identifies the node that submitted the transaction to consensus.* A status result.<br/> This is the final status after handling the transaction.int* A status result.<br/> This is the final status after handling the transaction.* A transaction identifier.<br/> This identifies the submitted transaction for this receipt.boolean* A transaction identifier.<br/> This identifies the submitted transaction for this receipt.newBuilder(TransactionReceiptEntry prototype) static TransactionReceiptEntryparseDelimitedFrom(InputStream input) static TransactionReceiptEntryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TransactionReceiptEntryparseFrom(byte[] data) static TransactionReceiptEntryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TransactionReceiptEntryparseFrom(com.google.protobuf.ByteString data) static TransactionReceiptEntryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TransactionReceiptEntryparseFrom(com.google.protobuf.CodedInputStream input) static TransactionReceiptEntryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TransactionReceiptEntryparseFrom(InputStream input) static TransactionReceiptEntryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TransactionReceiptEntryparseFrom(ByteBuffer data) static TransactionReceiptEntryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TransactionReceiptEntry> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
NODE_ID_FIELD_NUMBER
public static final int NODE_ID_FIELD_NUMBER- See Also:
-
TRANSACTION_ID_FIELD_NUMBER
public static final int TRANSACTION_ID_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getNodeId
public long getNodeId()* A node identifier.<br/> This identifies the node that submitted the transaction to consensus. The value is the identifier as known to the current address book. <p> Valid node identifiers SHALL be between 0 and <tt>2<sup>63-1</sup></tt>, inclusive.
uint64 node_id = 1;- Specified by:
getNodeIdin interfaceTransactionReceiptEntryOrBuilder- Returns:
- The nodeId.
-
hasTransactionId
public boolean hasTransactionId()* A transaction identifier.<br/> This identifies the submitted transaction for this receipt.
.proto.TransactionID transaction_id = 2;- Specified by:
hasTransactionIdin interfaceTransactionReceiptEntryOrBuilder- Returns:
- Whether the transactionId field is set.
-
getTransactionId
* A transaction identifier.<br/> This identifies the submitted transaction for this receipt.
.proto.TransactionID transaction_id = 2;- Specified by:
getTransactionIdin interfaceTransactionReceiptEntryOrBuilder- Returns:
- The transactionId.
-
getStatusValue
public int getStatusValue()* A status result.<br/> This is the final status after handling the transaction.
.proto.ResponseCodeEnum status = 3;- Specified by:
getStatusValuein interfaceTransactionReceiptEntryOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
* A status result.<br/> This is the final status after handling the transaction.
.proto.ResponseCodeEnum status = 3;- Specified by:
getStatusin interfaceTransactionReceiptEntryOrBuilder- Returns:
- The status.
-
parseFrom
public static TransactionReceiptEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionReceiptEntry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionReceiptEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionReceiptEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionReceiptEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionReceiptEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TransactionReceiptEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TransactionReceiptEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static TransactionReceiptEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static TransactionReceiptEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<TransactionReceiptEntry,TransactionReceiptEntry.Builder>
-
getDefaultInstance
-
parser
-