java.lang.Object
com.google.protobuf.AbstractMessageLite<TransactionRecordEntry,TransactionRecordEntry.Builder>
com.google.protobuf.GeneratedMessageLite<TransactionRecordEntry,TransactionRecordEntry.Builder>
com.hedera.hashgraph.sdk.proto.TransactionRecordEntry
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,TransactionRecordEntryOrBuilder
@Generated
public final class TransactionRecordEntry
extends com.google.protobuf.GeneratedMessageLite<TransactionRecordEntry,TransactionRecordEntry.Builder>
implements TransactionRecordEntryOrBuilder
* As transactions are handled and records and receipts are created, they are stored in state for a configured time period (for example, 3 minutes). During this time, any client can query the node and get the record or receipt for the transaction. The `TransactionRecordEntry` is the object stored in state with this information.Protobuf type
proto.TransactionRecordEntry-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* As transactions are handled and records and receipts are created, they are stored in state for a configured time period (for example, 3 minutes).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 TransactionRecordEntrylong* A node identifier.<br/> This identifier is the node, as known to the address book, that submitted the transaction for consensus.* An Account identifier for the payer for the transaction.* A transaction record for the transaction.boolean* An Account identifier for the payer for the transaction.boolean* A transaction record for the transaction.newBuilder(TransactionRecordEntry prototype) static TransactionRecordEntryparseDelimitedFrom(InputStream input) static TransactionRecordEntryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TransactionRecordEntryparseFrom(byte[] data) static TransactionRecordEntryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TransactionRecordEntryparseFrom(com.google.protobuf.ByteString data) static TransactionRecordEntryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TransactionRecordEntryparseFrom(com.google.protobuf.CodedInputStream input) static TransactionRecordEntryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TransactionRecordEntryparseFrom(InputStream input) static TransactionRecordEntryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TransactionRecordEntryparseFrom(ByteBuffer data) static TransactionRecordEntryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TransactionRecordEntry> 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:
-
PAYER_ACCOUNT_ID_FIELD_NUMBER
public static final int PAYER_ACCOUNT_ID_FIELD_NUMBER- See Also:
-
TRANSACTION_RECORD_FIELD_NUMBER
public static final int TRANSACTION_RECORD_FIELD_NUMBER- See Also:
-
-
Method Details
-
getNodeId
public long getNodeId()* A node identifier.<br/> This identifier is the node, as known to the address book, that submitted the transaction for consensus. <p> This SHALL be a whole number.
int64 node_id = 1;- Specified by:
getNodeIdin interfaceTransactionRecordEntryOrBuilder- Returns:
- The nodeId.
-
hasPayerAccountId
public boolean hasPayerAccountId()* An Account identifier for the payer for the transaction. <p> This MAY be the same as the account ID within the Transaction ID of the record, or it MAY be the account ID of the node that submitted the transaction to consensus if the account ID in the Transaction ID was not able to pay.
.proto.AccountID payer_account_id = 2;- Specified by:
hasPayerAccountIdin interfaceTransactionRecordEntryOrBuilder- Returns:
- Whether the payerAccountId field is set.
-
getPayerAccountId
* An Account identifier for the payer for the transaction. <p> This MAY be the same as the account ID within the Transaction ID of the record, or it MAY be the account ID of the node that submitted the transaction to consensus if the account ID in the Transaction ID was not able to pay.
.proto.AccountID payer_account_id = 2;- Specified by:
getPayerAccountIdin interfaceTransactionRecordEntryOrBuilder- Returns:
- The payerAccountId.
-
hasTransactionRecord
public boolean hasTransactionRecord()* A transaction record for the transaction.
.proto.TransactionRecord transaction_record = 3;- Specified by:
hasTransactionRecordin interfaceTransactionRecordEntryOrBuilder- Returns:
- Whether the transactionRecord field is set.
-
getTransactionRecord
* A transaction record for the transaction.
.proto.TransactionRecord transaction_record = 3;- Specified by:
getTransactionRecordin interfaceTransactionRecordEntryOrBuilder- Returns:
- The transactionRecord.
-
parseFrom
public static TransactionRecordEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionRecordEntry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionRecordEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionRecordEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionRecordEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionRecordEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TransactionRecordEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TransactionRecordEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static TransactionRecordEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static TransactionRecordEntry 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<TransactionRecordEntry,TransactionRecordEntry.Builder>
-
getDefaultInstance
-
parser
-