Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class ThrottleUsageSnapshots.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<ThrottleUsageSnapshots,ThrottleUsageSnapshots.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<ThrottleUsageSnapshots,ThrottleUsageSnapshots.Builder>
com.hedera.hashgraph.sdk.proto.ThrottleUsageSnapshots.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ThrottleUsageSnapshotsOrBuilder,Cloneable
- Enclosing class:
ThrottleUsageSnapshots
public static final class ThrottleUsageSnapshots.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ThrottleUsageSnapshots,ThrottleUsageSnapshots.Builder>
implements ThrottleUsageSnapshotsOrBuilder
* All point-in-time snapshots of throttle usage for TPS, "gas" throttle values for a given point in time and evm ops duration throttle. > Question: >> What point in time? Should this store consensus timestamp here?Protobuf type
proto.ThrottleUsageSnapshots-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllTpsThrottles(Iterable<? extends ThrottleUsageSnapshot> values) * A list of snapshots for TPS throttles.addTpsThrottles(int index, ThrottleUsageSnapshot value) * A list of snapshots for TPS throttles.addTpsThrottles(int index, ThrottleUsageSnapshot.Builder builderForValue) * A list of snapshots for TPS throttles.* A list of snapshots for TPS throttles.addTpsThrottles(ThrottleUsageSnapshot.Builder builderForValue) * A list of snapshots for TPS throttles.* A single snapshot for evm ops duration throttle.* A single snapshot for the gas throttle.* A list of snapshots for TPS throttles.* A single snapshot for evm ops duration throttle.* A single snapshot for the gas throttle.getTpsThrottles(int index) * A list of snapshots for TPS throttles.int* A list of snapshots for TPS throttles.* A list of snapshots for TPS throttles.boolean* A single snapshot for evm ops duration throttle.boolean* A single snapshot for the gas throttle.* A single snapshot for evm ops duration throttle.* A single snapshot for the gas throttle.removeTpsThrottles(int index) * A list of snapshots for TPS throttles.* A single snapshot for evm ops duration throttle.setEvmOpsDurationThrottle(ThrottleUsageSnapshot.Builder builderForValue) * A single snapshot for evm ops duration throttle.* A single snapshot for the gas throttle.setGasThrottle(ThrottleUsageSnapshot.Builder builderForValue) * A single snapshot for the gas throttle.setTpsThrottles(int index, ThrottleUsageSnapshot value) * A list of snapshots for TPS throttles.setTpsThrottles(int index, ThrottleUsageSnapshot.Builder builderForValue) * A list of snapshots for TPS throttles.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
-
getTpsThrottlesList
* A list of snapshots for TPS throttles. <p> <blockquote>Question:<blockquote>What is the order?</blockquote></blockquote>
repeated .proto.ThrottleUsageSnapshot tps_throttles = 1;- Specified by:
getTpsThrottlesListin interfaceThrottleUsageSnapshotsOrBuilder
-
getTpsThrottlesCount
public int getTpsThrottlesCount()* A list of snapshots for TPS throttles. <p> <blockquote>Question:<blockquote>What is the order?</blockquote></blockquote>
repeated .proto.ThrottleUsageSnapshot tps_throttles = 1;- Specified by:
getTpsThrottlesCountin interfaceThrottleUsageSnapshotsOrBuilder
-
getTpsThrottles
* A list of snapshots for TPS throttles. <p> <blockquote>Question:<blockquote>What is the order?</blockquote></blockquote>
repeated .proto.ThrottleUsageSnapshot tps_throttles = 1;- Specified by:
getTpsThrottlesin interfaceThrottleUsageSnapshotsOrBuilder
-
setTpsThrottles
* A list of snapshots for TPS throttles. <p> <blockquote>Question:<blockquote>What is the order?</blockquote></blockquote>
repeated .proto.ThrottleUsageSnapshot tps_throttles = 1; -
setTpsThrottles
public ThrottleUsageSnapshots.Builder setTpsThrottles(int index, ThrottleUsageSnapshot.Builder builderForValue) * A list of snapshots for TPS throttles. <p> <blockquote>Question:<blockquote>What is the order?</blockquote></blockquote>
repeated .proto.ThrottleUsageSnapshot tps_throttles = 1; -
addTpsThrottles
* A list of snapshots for TPS throttles. <p> <blockquote>Question:<blockquote>What is the order?</blockquote></blockquote>
repeated .proto.ThrottleUsageSnapshot tps_throttles = 1; -
addTpsThrottles
* A list of snapshots for TPS throttles. <p> <blockquote>Question:<blockquote>What is the order?</blockquote></blockquote>
repeated .proto.ThrottleUsageSnapshot tps_throttles = 1; -
addTpsThrottles
public ThrottleUsageSnapshots.Builder addTpsThrottles(ThrottleUsageSnapshot.Builder builderForValue) * A list of snapshots for TPS throttles. <p> <blockquote>Question:<blockquote>What is the order?</blockquote></blockquote>
repeated .proto.ThrottleUsageSnapshot tps_throttles = 1; -
addTpsThrottles
public ThrottleUsageSnapshots.Builder addTpsThrottles(int index, ThrottleUsageSnapshot.Builder builderForValue) * A list of snapshots for TPS throttles. <p> <blockquote>Question:<blockquote>What is the order?</blockquote></blockquote>
repeated .proto.ThrottleUsageSnapshot tps_throttles = 1; -
addAllTpsThrottles
public ThrottleUsageSnapshots.Builder addAllTpsThrottles(Iterable<? extends ThrottleUsageSnapshot> values) * A list of snapshots for TPS throttles. <p> <blockquote>Question:<blockquote>What is the order?</blockquote></blockquote>
repeated .proto.ThrottleUsageSnapshot tps_throttles = 1; -
clearTpsThrottles
* A list of snapshots for TPS throttles. <p> <blockquote>Question:<blockquote>What is the order?</blockquote></blockquote>
repeated .proto.ThrottleUsageSnapshot tps_throttles = 1; -
removeTpsThrottles
* A list of snapshots for TPS throttles. <p> <blockquote>Question:<blockquote>What is the order?</blockquote></blockquote>
repeated .proto.ThrottleUsageSnapshot tps_throttles = 1; -
hasGasThrottle
public boolean hasGasThrottle()* A single snapshot for the gas throttle.
.proto.ThrottleUsageSnapshot gas_throttle = 2;- Specified by:
hasGasThrottlein interfaceThrottleUsageSnapshotsOrBuilder- Returns:
- Whether the gasThrottle field is set.
-
getGasThrottle
* A single snapshot for the gas throttle.
.proto.ThrottleUsageSnapshot gas_throttle = 2;- Specified by:
getGasThrottlein interfaceThrottleUsageSnapshotsOrBuilder- Returns:
- The gasThrottle.
-
setGasThrottle
* A single snapshot for the gas throttle.
.proto.ThrottleUsageSnapshot gas_throttle = 2; -
setGasThrottle
* A single snapshot for the gas throttle.
.proto.ThrottleUsageSnapshot gas_throttle = 2; -
mergeGasThrottle
* A single snapshot for the gas throttle.
.proto.ThrottleUsageSnapshot gas_throttle = 2; -
clearGasThrottle
* A single snapshot for the gas throttle.
.proto.ThrottleUsageSnapshot gas_throttle = 2; -
hasEvmOpsDurationThrottle
public boolean hasEvmOpsDurationThrottle()* A single snapshot for evm ops duration throttle.
.proto.ThrottleUsageSnapshot evm_ops_duration_throttle = 3;- Specified by:
hasEvmOpsDurationThrottlein interfaceThrottleUsageSnapshotsOrBuilder- Returns:
- Whether the evmOpsDurationThrottle field is set.
-
getEvmOpsDurationThrottle
* A single snapshot for evm ops duration throttle.
.proto.ThrottleUsageSnapshot evm_ops_duration_throttle = 3;- Specified by:
getEvmOpsDurationThrottlein interfaceThrottleUsageSnapshotsOrBuilder- Returns:
- The evmOpsDurationThrottle.
-
setEvmOpsDurationThrottle
* A single snapshot for evm ops duration throttle.
.proto.ThrottleUsageSnapshot evm_ops_duration_throttle = 3; -
setEvmOpsDurationThrottle
public ThrottleUsageSnapshots.Builder setEvmOpsDurationThrottle(ThrottleUsageSnapshot.Builder builderForValue) * A single snapshot for evm ops duration throttle.
.proto.ThrottleUsageSnapshot evm_ops_duration_throttle = 3; -
mergeEvmOpsDurationThrottle
* A single snapshot for evm ops duration throttle.
.proto.ThrottleUsageSnapshot evm_ops_duration_throttle = 3; -
clearEvmOpsDurationThrottle
* A single snapshot for evm ops duration throttle.
.proto.ThrottleUsageSnapshot evm_ops_duration_throttle = 3;
-