Class TransactionGetRecordQuery

java.lang.Object
com.google.protobuf.AbstractMessageLite<TransactionGetRecordQuery,TransactionGetRecordQuery.Builder>
com.google.protobuf.GeneratedMessageLite<TransactionGetRecordQuery,TransactionGetRecordQuery.Builder>
com.hedera.hashgraph.sdk.proto.TransactionGetRecordQuery
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, TransactionGetRecordQueryOrBuilder

@Generated public final class TransactionGetRecordQuery extends com.google.protobuf.GeneratedMessageLite<TransactionGetRecordQuery,TransactionGetRecordQuery.Builder> implements TransactionGetRecordQueryOrBuilder
 *
 Request for a `TransactionGetRecord` (a.k.a. `getTxRecordByTxID`) query.
 <p>
 A transaction record SHALL be available after the network reaches
 consensus and completes execution for a transaction.<br/>
 A transaction record SHALL NOT be available after the end of the network
 configured "record cache duration".

 <dl>
 <dt>What is the "first" transaction?</dt>
 <dd>The "first" transaction SHALL be the the transaction with
 the earliest consensus time and a status that is neither
 `INVALID_NODE_ACCOUNT` nor `INVALID_PAYER_SIGNATURE`.<br/>
 If no transaction is found meeting this status criteria, the
 "first" transaction SHALL be the transaction with the earliest
 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.TransactionGetRecordQuery
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    * Request for a `TransactionGetRecord` (a.k.a.

    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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
     
    * Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
    boolean
    * A flag to request "child" records.
    boolean
    * A flag to request duplicates.
    * A transaction identifier.
    boolean
    * Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
    boolean
    * A transaction identifier.
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<TransactionGetRecordQuery>
     

    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, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Field Details

    • HEADER_FIELD_NUMBER

      public static final int HEADER_FIELD_NUMBER
      See Also:
    • TRANSACTIONID_FIELD_NUMBER

      public static final int TRANSACTIONID_FIELD_NUMBER
      See Also:
    • INCLUDEDUPLICATES_FIELD_NUMBER

      public static final int INCLUDEDUPLICATES_FIELD_NUMBER
      See Also:
    • INCLUDE_CHILD_RECORDS_FIELD_NUMBER

      public static final int INCLUDE_CHILD_RECORDS_FIELD_NUMBER
      See Also:
  • Method Details

    • hasHeader

      public boolean hasHeader()
       *
       Standard information sent with every query operation.<br/>
       This includes the signed payment and what kind of response is requested
       (cost, state proof, both, or neither).
       
      .proto.QueryHeader header = 1;
      Specified by:
      hasHeader in interface TransactionGetRecordQueryOrBuilder
      Returns:
      Whether the header field is set.
    • getHeader

      public QueryHeader getHeader()
       *
       Standard information sent with every query operation.<br/>
       This includes the signed payment and what kind of response is requested
       (cost, state proof, both, or neither).
       
      .proto.QueryHeader header = 1;
      Specified by:
      getHeader in interface TransactionGetRecordQueryOrBuilder
      Returns:
      The header.
    • hasTransactionID

      public boolean hasTransactionID()
       *
       A transaction identifier.
       <p>
       This MUST contain the full identifier, as submitted, for the
       transaction to query.
       
      .proto.TransactionID transactionID = 2;
      Specified by:
      hasTransactionID in interface TransactionGetRecordQueryOrBuilder
      Returns:
      Whether the transactionID field is set.
    • getTransactionID

      public TransactionID getTransactionID()
       *
       A transaction identifier.
       <p>
       This MUST contain the full identifier, as submitted, for the
       transaction to query.
       
      .proto.TransactionID transactionID = 2;
      Specified by:
      getTransactionID in interface TransactionGetRecordQueryOrBuilder
      Returns:
      The transactionID.
    • getIncludeDuplicates

      public boolean getIncludeDuplicates()
       *
       A flag to request duplicates.
       <p>
       If set, every transaction record within the record cache duration that
       matches the requested transaction identifier SHALL be returned.<br/>
       If not set, duplicate transactions SHALL NOT be returned.<br/>
       If not set, only the record for the first matching transaction to
       reach consensus SHALL be returned.
       
      bool includeDuplicates = 3;
      Specified by:
      getIncludeDuplicates in interface TransactionGetRecordQueryOrBuilder
      Returns:
      The includeDuplicates.
    • getIncludeChildRecords

      public boolean getIncludeChildRecords()
       *
       A flag to request "child" records.
       <p>
       If set, the response SHALL include records for each child transaction
       executed as part of the requested parent transaction.<br/>
       If not set, the response SHALL NOT include any records for child
       transactions.
       
      bool include_child_records = 4;
      Specified by:
      getIncludeChildRecords in interface TransactionGetRecordQueryOrBuilder
      Returns:
      The includeChildRecords.
    • parseFrom

      public static TransactionGetRecordQuery parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransactionGetRecordQuery parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransactionGetRecordQuery parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransactionGetRecordQuery parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransactionGetRecordQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransactionGetRecordQuery parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransactionGetRecordQuery parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TransactionGetRecordQuery parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TransactionGetRecordQuery parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TransactionGetRecordQuery parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TransactionGetRecordQuery parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TransactionGetRecordQuery parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static TransactionGetRecordQuery.Builder newBuilder()
    • newBuilder

      public static TransactionGetRecordQuery.Builder newBuilder(TransactionGetRecordQuery prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<TransactionGetRecordQuery,TransactionGetRecordQuery.Builder>
    • getDefaultInstance

      public static TransactionGetRecordQuery getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<TransactionGetRecordQuery> parser()