Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface ThrottleUsageSnapshotsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
ThrottleUsageSnapshots,ThrottleUsageSnapshots.Builder
@Generated
public interface ThrottleUsageSnapshotsOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* 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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getTpsThrottlesList
List<ThrottleUsageSnapshot> getTpsThrottlesList()* A list of snapshots for TPS throttles. <p> <blockquote>Question:<blockquote>What is the order?</blockquote></blockquote>
repeated .proto.ThrottleUsageSnapshot tps_throttles = 1; -
getTpsThrottles
* A list of snapshots for TPS throttles. <p> <blockquote>Question:<blockquote>What is the order?</blockquote></blockquote>
repeated .proto.ThrottleUsageSnapshot tps_throttles = 1; -
getTpsThrottlesCount
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; -
hasGasThrottle
boolean hasGasThrottle()* A single snapshot for the gas throttle.
.proto.ThrottleUsageSnapshot gas_throttle = 2;- Returns:
- Whether the gasThrottle field is set.
-
getGasThrottle
ThrottleUsageSnapshot getGasThrottle()* A single snapshot for the gas throttle.
.proto.ThrottleUsageSnapshot gas_throttle = 2;- Returns:
- The gasThrottle.
-
hasEvmOpsDurationThrottle
boolean hasEvmOpsDurationThrottle()* A single snapshot for evm ops duration throttle.
.proto.ThrottleUsageSnapshot evm_ops_duration_throttle = 3;- Returns:
- Whether the evmOpsDurationThrottle field is set.
-
getEvmOpsDurationThrottle
ThrottleUsageSnapshot getEvmOpsDurationThrottle()* A single snapshot for evm ops duration throttle.
.proto.ThrottleUsageSnapshot evm_ops_duration_throttle = 3;- Returns:
- The evmOpsDurationThrottle.
-