Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface ThrottleGroupOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
ThrottleGroup,ThrottleGroup.Builder
@Generated
public interface ThrottleGroupOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlong* A throttle limit for this group.<br/> This is a total number of operations, in thousandths, the network may perform each second for this group.getOperations(int index) * A list of operations to be throttled.int* A list of operations to be throttled.* A list of operations to be throttled.intgetOperationsValue(int index) * A list of operations to be throttled.* A list of operations to be throttled.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getOperationsList
List<HederaFunctionality> getOperationsList()* A list of operations to be throttled. <p> This list MUST contain at least one item.<br/> This list SHOULD NOT contain any item included in any other active `ThrottleGroup`.
repeated .proto.HederaFunctionality operations = 1;- Returns:
- A list containing the operations.
-
getOperationsCount
int getOperationsCount()* A list of operations to be throttled. <p> This list MUST contain at least one item.<br/> This list SHOULD NOT contain any item included in any other active `ThrottleGroup`.
repeated .proto.HederaFunctionality operations = 1;- Returns:
- The count of operations.
-
getOperations
* A list of operations to be throttled. <p> This list MUST contain at least one item.<br/> This list SHOULD NOT contain any item included in any other active `ThrottleGroup`.
repeated .proto.HederaFunctionality operations = 1;- Parameters:
index- The index of the element to return.- Returns:
- The operations at the given index.
-
getOperationsValueList
* A list of operations to be throttled. <p> This list MUST contain at least one item.<br/> This list SHOULD NOT contain any item included in any other active `ThrottleGroup`.
repeated .proto.HederaFunctionality operations = 1;- Returns:
- A list containing the enum numeric values on the wire for operations.
-
getOperationsValue
int getOperationsValue(int index) * A list of operations to be throttled. <p> This list MUST contain at least one item.<br/> This list SHOULD NOT contain any item included in any other active `ThrottleGroup`.
repeated .proto.HederaFunctionality operations = 1;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of operations at the given index.
-
getMilliOpsPerSec
long getMilliOpsPerSec()* A throttle limit for this group.<br/> This is a total number of operations, in thousandths, the network may perform each second for this group. Every node executes every transaction, so this limit effectively applies individually to each node as well.<br/> <p> This value MUST be greater than zero (`0`).<br/> This value SHOULD be less than `9,223,372`.<br/>
uint64 milliOpsPerSec = 2;- Returns:
- The milliOpsPerSec.
-