Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class TransactionGetRecordResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite<TransactionGetRecordResponse,TransactionGetRecordResponse.Builder>
com.google.protobuf.GeneratedMessageLite<TransactionGetRecordResponse,TransactionGetRecordResponse.Builder>
com.hedera.hashgraph.sdk.proto.TransactionGetRecordResponse
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,TransactionGetRecordResponseOrBuilder
@Generated
public final class TransactionGetRecordResponse
extends com.google.protobuf.GeneratedMessageLite<TransactionGetRecordResponse,TransactionGetRecordResponse.Builder>
implements TransactionGetRecordResponseOrBuilder
* Response message for a `getTxRecordByTxID` query. The `transactionRecord` field SHALL return the record for the "first" transaction that matches the transaction identifier requested.<br/> If records for duplicate transactions are requested, those duplicate records SHALL be present in the `duplicateTransactionReceipts` list.<br/> If records for child transactions are requested, those child records SHALL be present in the `child_transaction_records` list.<br/> A state proof MAY be provided for this response; provided the record is still available from the consensus nodes. <dl> <dt>What is the "first" transaction?</dt> <dd>The "first" transaction receipt SHALL be the receipt for the first transaction with status that is neither `INVALID_NODE_ACCOUNT` nor `INVALID_PAYER_SIGNATURE`.<br/> If no transaction is found meeting the status criteria, the "first" transaction SHALL be the first transaction by consensus time.</dd> <dt>What is a "child" transaction?</dt> <dd>A "child" transaction is any transaction created in the process of completing another transaction. These are most common with a smart contract call, where a call to a contract may initiate one or more additional transactions to complete a complex process.</dd> </dl>Protobuf type
proto.TransactionGetRecordResponse-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* Response message for a `getTxRecordByTxID` query.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 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) getChildTransactionRecords(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.getChildTransactionRecordsOrBuilder(int index) * A list of records for all child transactions spawned by the requested transaction.List<? extends TransactionRecordOrBuilder> * A list of records for all child transactions spawned by the requested transaction.static TransactionGetRecordResponsegetDuplicateTransactionRecords(int index) * A list of duplicate transaction records.int* A list of duplicate transaction records.* A list of duplicate transaction records.getDuplicateTransactionRecordsOrBuilder(int index) * A list of duplicate transaction records.List<? extends TransactionRecordOrBuilder> * 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.newBuilder(TransactionGetRecordResponse prototype) static TransactionGetRecordResponseparseDelimitedFrom(InputStream input) static TransactionGetRecordResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TransactionGetRecordResponseparseFrom(byte[] data) static TransactionGetRecordResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TransactionGetRecordResponseparseFrom(com.google.protobuf.ByteString data) static TransactionGetRecordResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TransactionGetRecordResponseparseFrom(com.google.protobuf.CodedInputStream input) static TransactionGetRecordResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TransactionGetRecordResponseparseFrom(InputStream input) static TransactionGetRecordResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TransactionGetRecordResponseparseFrom(ByteBuffer data) static TransactionGetRecordResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TransactionGetRecordResponse> 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
-
HEADER_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER- See Also:
-
TRANSACTIONRECORD_FIELD_NUMBER
public static final int TRANSACTIONRECORD_FIELD_NUMBER- See Also:
-
DUPLICATETRANSACTIONRECORDS_FIELD_NUMBER
public static final int DUPLICATETRANSACTIONRECORDS_FIELD_NUMBER- See Also:
-
CHILD_TRANSACTION_RECORDS_FIELD_NUMBER
public static final int CHILD_TRANSACTION_RECORDS_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasHeader
public 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;- Specified by:
hasHeaderin interfaceTransactionGetRecordResponseOrBuilder- Returns:
- Whether the header field is set.
-
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;- Specified by:
getHeaderin interfaceTransactionGetRecordResponseOrBuilder- Returns:
- The header.
-
hasTransactionRecord
public 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;- Specified by:
hasTransactionRecordin interfaceTransactionGetRecordResponseOrBuilder- Returns:
- Whether the transactionRecord field is set.
-
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;- Specified by:
getTransactionRecordin interfaceTransactionGetRecordResponseOrBuilder- Returns:
- The 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;- Specified by:
getDuplicateTransactionRecordsListin interfaceTransactionGetRecordResponseOrBuilder
-
getDuplicateTransactionRecordsOrBuilderList
* 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
public 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;- Specified by:
getDuplicateTransactionRecordsCountin interfaceTransactionGetRecordResponseOrBuilder
-
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;- Specified by:
getDuplicateTransactionRecordsin interfaceTransactionGetRecordResponseOrBuilder
-
getDuplicateTransactionRecordsOrBuilder
* 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
* 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;- Specified by:
getChildTransactionRecordsListin interfaceTransactionGetRecordResponseOrBuilder
-
getChildTransactionRecordsOrBuilderList
* 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
public 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;- Specified by:
getChildTransactionRecordsCountin interfaceTransactionGetRecordResponseOrBuilder
-
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;- Specified by:
getChildTransactionRecordsin interfaceTransactionGetRecordResponseOrBuilder
-
getChildTransactionRecordsOrBuilder
* 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; -
parseFrom
public static TransactionGetRecordResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionGetRecordResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionGetRecordResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionGetRecordResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionGetRecordResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionGetRecordResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TransactionGetRecordResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TransactionGetRecordResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static TransactionGetRecordResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static TransactionGetRecordResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static TransactionGetRecordResponse.Builder newBuilder(TransactionGetRecordResponse prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<TransactionGetRecordResponse,TransactionGetRecordResponse.Builder>
-
getDefaultInstance
-
parser
-