Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class TransactionRecordEntry.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<TransactionRecordEntry,TransactionRecordEntry.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<TransactionRecordEntry,TransactionRecordEntry.Builder>
com.hedera.hashgraph.sdk.proto.TransactionRecordEntry.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TransactionRecordEntryOrBuilder,Cloneable
- Enclosing class:
TransactionRecordEntry
public static final class TransactionRecordEntry.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<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-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* 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.long* 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.mergePayerAccountId(AccountID value) * An Account identifier for the payer for the transaction.* A transaction record for the transaction.setNodeId(long value) * A node identifier.<br/> This identifier is the node, as known to the address book, that submitted the transaction for consensus.setPayerAccountId(AccountID value) * An Account identifier for the payer for the transaction.setPayerAccountId(AccountID.Builder builderForValue) * An Account identifier for the payer for the transaction.* A transaction record for the transaction.setTransactionRecord(TransactionRecord.Builder builderForValue) * A transaction record for the transaction.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
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.
-
setNodeId
* 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;- Parameters:
value- The nodeId to set.- Returns:
- This builder for chaining.
-
clearNodeId
* 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;- Returns:
- This builder for chaining.
-
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.
-
setPayerAccountId
* 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; -
setPayerAccountId
* 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; -
mergePayerAccountId
* 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; -
clearPayerAccountId
* 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; -
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.
-
setTransactionRecord
* A transaction record for the transaction.
.proto.TransactionRecord transaction_record = 3; -
setTransactionRecord
public TransactionRecordEntry.Builder setTransactionRecord(TransactionRecord.Builder builderForValue) * A transaction record for the transaction.
.proto.TransactionRecord transaction_record = 3; -
mergeTransactionRecord
* A transaction record for the transaction.
.proto.TransactionRecord transaction_record = 3; -
clearTransactionRecord
* A transaction record for the transaction.
.proto.TransactionRecord transaction_record = 3;
-