Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface ThrottleUsageSnapshotOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
ThrottleUsageSnapshot,ThrottleUsageSnapshot.Builder
@Generated
public interface ThrottleUsageSnapshotOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* The time at which the this snapshot of capacity was calculated.<br/> Stored as an offset from the `epoch`.longgetUsed()* Used throttle capacity.boolean* The time at which the this snapshot of capacity was calculated.<br/> Stored as an offset from the `epoch`.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getUsed
long getUsed()* Used throttle capacity.
int64 used = 1;- Returns:
- The used.
-
hasLastDecisionTime
boolean hasLastDecisionTime()* The time at which the this snapshot of capacity was calculated.<br/> Stored as an offset from the `epoch`. <p> For this purpose, `epoch` SHALL be the UNIX epoch with 0 at `1970-01-01T00:00:00.000Z`.
.proto.Timestamp last_decision_time = 2;- Returns:
- Whether the lastDecisionTime field is set.
-
getLastDecisionTime
Timestamp getLastDecisionTime()* The time at which the this snapshot of capacity was calculated.<br/> Stored as an offset from the `epoch`. <p> For this purpose, `epoch` SHALL be the UNIX epoch with 0 at `1970-01-01T00:00:00.000Z`.
.proto.Timestamp last_decision_time = 2;- Returns:
- The lastDecisionTime.
-