Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface TransactionGetRecordResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
TransactionGetRecordResponse,TransactionGetRecordResponse.Builder
@Generated
public interface TransactionGetRecordResponseOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetChildTransactionRecords(int index) * A list of records for all child transactions spawned by the requested transaction.int* A list of records for all child transactions spawned by the requested transaction.* A list of records for all child transactions spawned by the requested transaction.getDuplicateTransactionRecords(int index) * A list of duplicate transaction records.int* A list of duplicate transaction records.* A list of duplicate transaction records.* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).* A transaction record.boolean* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).boolean* A transaction record.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasHeader
boolean hasHeader()* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1;- Returns:
- Whether the header field is set.
-
getHeader
ResponseHeader getHeader()* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1;- Returns:
- The header.
-
hasTransactionRecord
boolean hasTransactionRecord()* A transaction record. <p> This SHALL be the record for the "first" transaction that matches the transaction identifier requested.<br/> If the identified transaction has not reached consensus, this record SHALL have a `status` of `UNKNOWN`.<br/> If the identified transaction reached consensus prior to the current configured record cache duration, this record SHALL have a `status` of `UNKNOWN`.
.proto.TransactionRecord transactionRecord = 3;- Returns:
- Whether the transactionRecord field is set.
-
getTransactionRecord
TransactionRecord getTransactionRecord()* A transaction record. <p> This SHALL be the record for the "first" transaction that matches the transaction identifier requested.<br/> If the identified transaction has not reached consensus, this record SHALL have a `status` of `UNKNOWN`.<br/> If the identified transaction reached consensus prior to the current configured record cache duration, this record SHALL have a `status` of `UNKNOWN`.
.proto.TransactionRecord transactionRecord = 3;- Returns:
- The transactionRecord.
-
getDuplicateTransactionRecordsList
List<TransactionRecord> getDuplicateTransactionRecordsList()* A list of duplicate transaction records. <p> If the request set the `includeDuplicates` flat, this list SHALL include the records for each duplicate transaction associated to the requested transaction identifier. If the request did not set the `includeDuplicates` flag, this list SHALL be empty.<br/> If the `transactionRecord` status is `UNKNOWN`, this list SHALL be empty.<br/> This list SHALL be in order by consensus timestamp.
repeated .proto.TransactionRecord duplicateTransactionRecords = 4; -
getDuplicateTransactionRecords
* A list of duplicate transaction records. <p> If the request set the `includeDuplicates` flat, this list SHALL include the records for each duplicate transaction associated to the requested transaction identifier. If the request did not set the `includeDuplicates` flag, this list SHALL be empty.<br/> If the `transactionRecord` status is `UNKNOWN`, this list SHALL be empty.<br/> This list SHALL be in order by consensus timestamp.
repeated .proto.TransactionRecord duplicateTransactionRecords = 4; -
getDuplicateTransactionRecordsCount
int getDuplicateTransactionRecordsCount()* A list of duplicate transaction records. <p> If the request set the `includeDuplicates` flat, this list SHALL include the records for each duplicate transaction associated to the requested transaction identifier. If the request did not set the `includeDuplicates` flag, this list SHALL be empty.<br/> If the `transactionRecord` status is `UNKNOWN`, this list SHALL be empty.<br/> This list SHALL be in order by consensus timestamp.
repeated .proto.TransactionRecord duplicateTransactionRecords = 4; -
getChildTransactionRecordsList
List<TransactionRecord> getChildTransactionRecordsList()* A list of records for all child transactions spawned by the requested transaction. <p> If the request set the `include_child_records` flag, this list SHALL include records for each child transaction executed as part of the requested parent transaction.<br/> If the request did not set the `include_child_records` flag, this list SHALL be empty. <br/> If the parent transaction did not initiate any child transactions this list SHALL be empty.<br/> If the `transactionRecord` status is `UNKNOWN`, this list SHALL be empty.<br/> This list SHALL be in order by consensus timestamp.
repeated .proto.TransactionRecord child_transaction_records = 5; -
getChildTransactionRecords
* A list of records for all child transactions spawned by the requested transaction. <p> If the request set the `include_child_records` flag, this list SHALL include records for each child transaction executed as part of the requested parent transaction.<br/> If the request did not set the `include_child_records` flag, this list SHALL be empty. <br/> If the parent transaction did not initiate any child transactions this list SHALL be empty.<br/> If the `transactionRecord` status is `UNKNOWN`, this list SHALL be empty.<br/> This list SHALL be in order by consensus timestamp.
repeated .proto.TransactionRecord child_transaction_records = 5; -
getChildTransactionRecordsCount
int getChildTransactionRecordsCount()* A list of records for all child transactions spawned by the requested transaction. <p> If the request set the `include_child_records` flag, this list SHALL include records for each child transaction executed as part of the requested parent transaction.<br/> If the request did not set the `include_child_records` flag, this list SHALL be empty. <br/> If the parent transaction did not initiate any child transactions this list SHALL be empty.<br/> If the `transactionRecord` status is `UNKNOWN`, this list SHALL be empty.<br/> This list SHALL be in order by consensus timestamp.
repeated .proto.TransactionRecord child_transaction_records = 5;
-