Class NetworkGetExecutionTimeQuery.Builder

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

public static final class NetworkGetExecutionTimeQuery.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<NetworkGetExecutionTimeQuery,NetworkGetExecutionTimeQuery.Builder> implements NetworkGetExecutionTimeQueryOrBuilder
 *
 Retrieve the time, in nanoseconds, spent in direct processing for one
 or more recent transactions.

 For each transaction identifier provided, if that transaction is
 sufficiently recent (that is, it is within the range of the configuration
 value `stats.executionTimesToTrack`), the node SHALL return the time, in
 nanoseconds, spent to directly process that transaction.<br/>
 This time will generally correspond to the time spent in a `handle` call
 within the workflow.

 Note that because each node processes every transaction for the Hedera
 network, this query MAY be sent to any node, and results MAY be different
 between different nodes.
 
Protobuf type proto.NetworkGetExecutionTimeQuery
  • 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 NetworkGetExecutionTimeQueryOrBuilder
      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 NetworkGetExecutionTimeQueryOrBuilder
      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 NetworkGetExecutionTimeQuery.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;
    • getTransactionIdsList

      public List<TransactionID> getTransactionIdsList()
       *
       A list of transaction identifiers to query.
       <p>
       All of the queried transaction identifiers MUST have execution time
       available. If any identifier does not have available execution time,
       the query SHALL fail with an `INVALID_TRANSACTION_ID` response.
       
      repeated .proto.TransactionID transaction_ids = 2;
      Specified by:
      getTransactionIdsList in interface NetworkGetExecutionTimeQueryOrBuilder
    • getTransactionIdsCount

      public int getTransactionIdsCount()
       *
       A list of transaction identifiers to query.
       <p>
       All of the queried transaction identifiers MUST have execution time
       available. If any identifier does not have available execution time,
       the query SHALL fail with an `INVALID_TRANSACTION_ID` response.
       
      repeated .proto.TransactionID transaction_ids = 2;
      Specified by:
      getTransactionIdsCount in interface NetworkGetExecutionTimeQueryOrBuilder
    • getTransactionIds

      public TransactionID getTransactionIds(int index)
       *
       A list of transaction identifiers to query.
       <p>
       All of the queried transaction identifiers MUST have execution time
       available. If any identifier does not have available execution time,
       the query SHALL fail with an `INVALID_TRANSACTION_ID` response.
       
      repeated .proto.TransactionID transaction_ids = 2;
      Specified by:
      getTransactionIds in interface NetworkGetExecutionTimeQueryOrBuilder
    • setTransactionIds

      public NetworkGetExecutionTimeQuery.Builder setTransactionIds(int index, TransactionID value)
       *
       A list of transaction identifiers to query.
       <p>
       All of the queried transaction identifiers MUST have execution time
       available. If any identifier does not have available execution time,
       the query SHALL fail with an `INVALID_TRANSACTION_ID` response.
       
      repeated .proto.TransactionID transaction_ids = 2;
    • setTransactionIds

      public NetworkGetExecutionTimeQuery.Builder setTransactionIds(int index, TransactionID.Builder builderForValue)
       *
       A list of transaction identifiers to query.
       <p>
       All of the queried transaction identifiers MUST have execution time
       available. If any identifier does not have available execution time,
       the query SHALL fail with an `INVALID_TRANSACTION_ID` response.
       
      repeated .proto.TransactionID transaction_ids = 2;
    • addTransactionIds

      public NetworkGetExecutionTimeQuery.Builder addTransactionIds(TransactionID value)
       *
       A list of transaction identifiers to query.
       <p>
       All of the queried transaction identifiers MUST have execution time
       available. If any identifier does not have available execution time,
       the query SHALL fail with an `INVALID_TRANSACTION_ID` response.
       
      repeated .proto.TransactionID transaction_ids = 2;
    • addTransactionIds

      public NetworkGetExecutionTimeQuery.Builder addTransactionIds(int index, TransactionID value)
       *
       A list of transaction identifiers to query.
       <p>
       All of the queried transaction identifiers MUST have execution time
       available. If any identifier does not have available execution time,
       the query SHALL fail with an `INVALID_TRANSACTION_ID` response.
       
      repeated .proto.TransactionID transaction_ids = 2;
    • addTransactionIds

      public NetworkGetExecutionTimeQuery.Builder addTransactionIds(TransactionID.Builder builderForValue)
       *
       A list of transaction identifiers to query.
       <p>
       All of the queried transaction identifiers MUST have execution time
       available. If any identifier does not have available execution time,
       the query SHALL fail with an `INVALID_TRANSACTION_ID` response.
       
      repeated .proto.TransactionID transaction_ids = 2;
    • addTransactionIds

      public NetworkGetExecutionTimeQuery.Builder addTransactionIds(int index, TransactionID.Builder builderForValue)
       *
       A list of transaction identifiers to query.
       <p>
       All of the queried transaction identifiers MUST have execution time
       available. If any identifier does not have available execution time,
       the query SHALL fail with an `INVALID_TRANSACTION_ID` response.
       
      repeated .proto.TransactionID transaction_ids = 2;
    • addAllTransactionIds

      public NetworkGetExecutionTimeQuery.Builder addAllTransactionIds(Iterable<? extends TransactionID> values)
       *
       A list of transaction identifiers to query.
       <p>
       All of the queried transaction identifiers MUST have execution time
       available. If any identifier does not have available execution time,
       the query SHALL fail with an `INVALID_TRANSACTION_ID` response.
       
      repeated .proto.TransactionID transaction_ids = 2;
    • clearTransactionIds

      public NetworkGetExecutionTimeQuery.Builder clearTransactionIds()
       *
       A list of transaction identifiers to query.
       <p>
       All of the queried transaction identifiers MUST have execution time
       available. If any identifier does not have available execution time,
       the query SHALL fail with an `INVALID_TRANSACTION_ID` response.
       
      repeated .proto.TransactionID transaction_ids = 2;
    • removeTransactionIds

      public NetworkGetExecutionTimeQuery.Builder removeTransactionIds(int index)
       *
       A list of transaction identifiers to query.
       <p>
       All of the queried transaction identifiers MUST have execution time
       available. If any identifier does not have available execution time,
       the query SHALL fail with an `INVALID_TRANSACTION_ID` response.
       
      repeated .proto.TransactionID transaction_ids = 2;