Class TransactionGetFastRecordQuery.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<TransactionGetFastRecordQuery,TransactionGetFastRecordQuery.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<TransactionGetFastRecordQuery,TransactionGetFastRecordQuery.Builder>
com.hedera.hashgraph.sdk.proto.TransactionGetFastRecordQuery.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, TransactionGetFastRecordQueryOrBuilder, Cloneable
Enclosing class:
TransactionGetFastRecordQuery

public static final class TransactionGetFastRecordQuery.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<TransactionGetFastRecordQuery,TransactionGetFastRecordQuery.Builder> implements TransactionGetFastRecordQueryOrBuilder
 *
 Get the tx record of a transaction, given its transaction ID.

 Once a transaction reaches consensus, then information about whether it
 succeeded or failed will be available until the end of the receipt period.
 Before and after the receipt period, and for a transaction that was never
 submitted, the receipt is unknown.<br/>
 This query is free (the payment field is left empty).
 
Protobuf type proto.TransactionGetFastRecordQuery
  • 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 TransactionGetFastRecordQueryOrBuilder
      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 TransactionGetFastRecordQueryOrBuilder
      Returns:
      The header.
    • setHeader

       *
       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;
    • setHeader

      public TransactionGetFastRecordQuery.Builder setHeader(QueryHeader.Builder builderForValue)
       *
       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;
    • mergeHeader

       *
       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;
    • clearHeader

       *
       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;
    • hasTransactionID

      public boolean hasTransactionID()
       *
       The ID of the transaction for which the record is requested.
       
      .proto.TransactionID transactionID = 2;
      Specified by:
      hasTransactionID in interface TransactionGetFastRecordQueryOrBuilder
      Returns:
      Whether the transactionID field is set.
    • getTransactionID

      public TransactionID getTransactionID()
       *
       The ID of the transaction for which the record is requested.
       
      .proto.TransactionID transactionID = 2;
      Specified by:
      getTransactionID in interface TransactionGetFastRecordQueryOrBuilder
      Returns:
      The transactionID.
    • setTransactionID

      public TransactionGetFastRecordQuery.Builder setTransactionID(TransactionID value)
       *
       The ID of the transaction for which the record is requested.
       
      .proto.TransactionID transactionID = 2;
    • setTransactionID

      public TransactionGetFastRecordQuery.Builder setTransactionID(TransactionID.Builder builderForValue)
       *
       The ID of the transaction for which the record is requested.
       
      .proto.TransactionID transactionID = 2;
    • mergeTransactionID

      public TransactionGetFastRecordQuery.Builder mergeTransactionID(TransactionID value)
       *
       The ID of the transaction for which the record is requested.
       
      .proto.TransactionID transactionID = 2;
    • clearTransactionID

      public TransactionGetFastRecordQuery.Builder clearTransactionID()
       *
       The ID of the transaction for which the record is requested.
       
      .proto.TransactionID transactionID = 2;