Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
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-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllTransactionIds(Iterable<? extends TransactionID> values) * A list of transaction identifiers to query.addTransactionIds(int index, TransactionID value) * A list of transaction identifiers to query.addTransactionIds(int index, TransactionID.Builder builderForValue) * A list of transaction identifiers to query.addTransactionIds(TransactionID value) * A list of transaction identifiers to query.addTransactionIds(TransactionID.Builder builderForValue) * A list of transaction identifiers to query.* 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).* A list of transaction identifiers to query.* 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).getTransactionIds(int index) * A list of transaction identifiers to query.int* A list of transaction identifiers to query.* A list of transaction identifiers to query.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).mergeHeader(QueryHeader value) * 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).removeTransactionIds(int index) * A list of transaction identifiers to query.setHeader(QueryHeader value) * 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).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).setTransactionIds(int index, TransactionID value) * A list of transaction identifiers to query.setTransactionIds(int index, TransactionID.Builder builderForValue) * A list of transaction identifiers to query.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
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:
hasHeaderin interfaceNetworkGetExecutionTimeQueryOrBuilder- Returns:
- Whether the header field is set.
-
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:
getHeaderin interfaceNetworkGetExecutionTimeQueryOrBuilder- 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
* 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
* 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:
getTransactionIdsListin interfaceNetworkGetExecutionTimeQueryOrBuilder
-
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:
getTransactionIdsCountin interfaceNetworkGetExecutionTimeQueryOrBuilder
-
getTransactionIds
* 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:
getTransactionIdsin interfaceNetworkGetExecutionTimeQueryOrBuilder
-
setTransactionIds
* 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
* 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
* 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
* 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
* 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;
-