java.lang.Object
com.google.protobuf.AbstractMessageLite<ThrottleGroup,ThrottleGroup.Builder>
com.google.protobuf.GeneratedMessageLite<ThrottleGroup,ThrottleGroup.Builder>
com.hedera.hashgraph.sdk.proto.ThrottleGroup
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,ThrottleGroupOrBuilder
@Generated
public final class ThrottleGroup
extends com.google.protobuf.GeneratedMessageLite<ThrottleGroup,ThrottleGroup.Builder>
implements ThrottleGroupOrBuilder
* A single throttle limit applied to one or more operations. The list of operations MUST contain at least one entry.<br/> The throttle limit SHALL be specified in thousandths of an operation per second; one operation per second for the network would be `1000`.<br/> The throttle limit MUST be greater than zero (`0`).Protobuf type
proto.ThrottleGroup-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* A single throttle limit applied to one or more operations.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static ThrottleGrouplong* 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.static ThrottleGroup.Builderstatic ThrottleGroup.BuildernewBuilder(ThrottleGroup prototype) static ThrottleGroupparseDelimitedFrom(InputStream input) static ThrottleGroupparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ThrottleGroupparseFrom(byte[] data) static ThrottleGroupparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ThrottleGroupparseFrom(com.google.protobuf.ByteString data) static ThrottleGroupparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ThrottleGroupparseFrom(com.google.protobuf.CodedInputStream input) static ThrottleGroupparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ThrottleGroupparseFrom(InputStream input) static ThrottleGroupparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ThrottleGroupparseFrom(ByteBuffer data) static ThrottleGroupparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ThrottleGroup> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
OPERATIONS_FIELD_NUMBER
public static final int OPERATIONS_FIELD_NUMBER- See Also:
-
MILLIOPSPERSEC_FIELD_NUMBER
public static final int MILLIOPSPERSEC_FIELD_NUMBER- See Also:
-
-
Method Details
-
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;- Specified by:
getOperationsListin interfaceThrottleGroupOrBuilder- Returns:
- A list containing the operations.
-
getOperationsCount
public 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;- Specified by:
getOperationsCountin interfaceThrottleGroupOrBuilder- 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;- Specified by:
getOperationsin interfaceThrottleGroupOrBuilder- 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;- Specified by:
getOperationsValueListin interfaceThrottleGroupOrBuilder- Returns:
- A list containing the enum numeric values on the wire for operations.
-
getOperationsValue
public 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;- Specified by:
getOperationsValuein interfaceThrottleGroupOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of operations at the given index.
-
getMilliOpsPerSec
public 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;- Specified by:
getMilliOpsPerSecin interfaceThrottleGroupOrBuilder- Returns:
- The milliOpsPerSec.
-
parseFrom
public static ThrottleGroup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThrottleGroup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThrottleGroup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThrottleGroup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThrottleGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThrottleGroup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ThrottleGroup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ThrottleGroup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ThrottleGroup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ThrottleGroup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<ThrottleGroup,ThrottleGroup.Builder>
-
getDefaultInstance
-
parser
-