Class ThrottleGroup

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 Classes
    Modifier and Type
    Class
    Description
    static 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
     
    long
    * 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.
    int
    getOperationsValue(int index)
    * A list of operations to be throttled.
    * A list of operations to be throttled.
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<ThrottleGroup>
     

    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, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods 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

      public 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;
      Specified by:
      getOperationsList in interface ThrottleGroupOrBuilder
      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:
      getOperationsCount in interface ThrottleGroupOrBuilder
      Returns:
      The count of operations.
    • getOperations

      public HederaFunctionality getOperations(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:
      getOperations in interface ThrottleGroupOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The operations at the given index.
    • getOperationsValueList

      public List<Integer> 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:
      getOperationsValueList in interface ThrottleGroupOrBuilder
      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:
      getOperationsValue in interface ThrottleGroupOrBuilder
      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:
      getMilliOpsPerSec in interface ThrottleGroupOrBuilder
      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

      public static ThrottleGroup parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ThrottleGroup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ThrottleGroup parseDelimitedFrom(InputStream input) throws IOException
      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

      public static ThrottleGroup.Builder newBuilder()
    • newBuilder

      public static ThrottleGroup.Builder newBuilder(ThrottleGroup prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<ThrottleGroup,ThrottleGroup.Builder>
    • getDefaultInstance

      public static ThrottleGroup getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ThrottleGroup> parser()