Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class NetworkGetExecutionTimeResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<NetworkGetExecutionTimeResponse,NetworkGetExecutionTimeResponse.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<NetworkGetExecutionTimeResponse,NetworkGetExecutionTimeResponse.Builder>
com.hedera.hashgraph.sdk.proto.NetworkGetExecutionTimeResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,NetworkGetExecutionTimeResponseOrBuilder,Cloneable
- Enclosing class:
NetworkGetExecutionTimeResponse
public static final class NetworkGetExecutionTimeResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<NetworkGetExecutionTimeResponse,NetworkGetExecutionTimeResponse.Builder>
implements NetworkGetExecutionTimeResponseOrBuilder
* A response to a `networkGetExecutionTime` query.Protobuf type
proto.NetworkGetExecutionTimeResponse-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllExecutionTimes(Iterable<? extends Long> values) * A list of execution times, in nanoseconds.addExecutionTimes(long value) * A list of execution times, in nanoseconds.* A list of execution times, in nanoseconds.* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).longgetExecutionTimes(int index) * A list of execution times, in nanoseconds.int* A list of execution times, in nanoseconds.* A list of execution times, in nanoseconds.* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).boolean* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).mergeHeader(ResponseHeader value) * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).setExecutionTimes(int index, long value) * A list of execution times, in nanoseconds.setHeader(ResponseHeader value) * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).setHeader(ResponseHeader.Builder builderForValue) * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).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()* 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 interfaceNetworkGetExecutionTimeResponseOrBuilder- 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 interfaceNetworkGetExecutionTimeResponseOrBuilder- Returns:
- The header.
-
setHeader
* 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; -
setHeader
* 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; -
mergeHeader
* 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; -
clearHeader
* 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; -
getExecutionTimesList
* A list of execution times, in nanoseconds. <p> This list SHALL be in the same order as the transaction identifiers were presented in the query.
repeated uint64 execution_times = 2;- Specified by:
getExecutionTimesListin interfaceNetworkGetExecutionTimeResponseOrBuilder- Returns:
- A list containing the executionTimes.
-
getExecutionTimesCount
public int getExecutionTimesCount()* A list of execution times, in nanoseconds. <p> This list SHALL be in the same order as the transaction identifiers were presented in the query.
repeated uint64 execution_times = 2;- Specified by:
getExecutionTimesCountin interfaceNetworkGetExecutionTimeResponseOrBuilder- Returns:
- The count of executionTimes.
-
getExecutionTimes
public long getExecutionTimes(int index) * A list of execution times, in nanoseconds. <p> This list SHALL be in the same order as the transaction identifiers were presented in the query.
repeated uint64 execution_times = 2;- Specified by:
getExecutionTimesin interfaceNetworkGetExecutionTimeResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The executionTimes at the given index.
-
setExecutionTimes
* A list of execution times, in nanoseconds. <p> This list SHALL be in the same order as the transaction identifiers were presented in the query.
repeated uint64 execution_times = 2;- Parameters:
value- The executionTimes to set.- Returns:
- This builder for chaining.
-
addExecutionTimes
* A list of execution times, in nanoseconds. <p> This list SHALL be in the same order as the transaction identifiers were presented in the query.
repeated uint64 execution_times = 2;- Parameters:
value- The executionTimes to add.- Returns:
- This builder for chaining.
-
addAllExecutionTimes
public NetworkGetExecutionTimeResponse.Builder addAllExecutionTimes(Iterable<? extends Long> values) * A list of execution times, in nanoseconds. <p> This list SHALL be in the same order as the transaction identifiers were presented in the query.
repeated uint64 execution_times = 2;- Parameters:
values- The executionTimes to add.- Returns:
- This builder for chaining.
-
clearExecutionTimes
* A list of execution times, in nanoseconds. <p> This list SHALL be in the same order as the transaction identifiers were presented in the query.
repeated uint64 execution_times = 2;- Returns:
- This builder for chaining.
-