Enum Class RateLimitSource

java.lang.Object
java.lang.Enum<RateLimitSource>
io.temporal.api.enums.v1.RateLimitSource
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<RateLimitSource>, Constable

@Generated(value="protoc", comments="annotations:RateLimitSource.java.pb.meta") public enum RateLimitSource extends Enum<RateLimitSource> implements com.google.protobuf.ProtocolMessageEnum
 Source for the effective rate limit.
 
Protobuf enum temporal.api.enums.v1.RateLimitSource
  • Enum Constant Details

    • RATE_LIMIT_SOURCE_UNSPECIFIED

      public static final RateLimitSource RATE_LIMIT_SOURCE_UNSPECIFIED
      RATE_LIMIT_SOURCE_UNSPECIFIED = 0;
    • RATE_LIMIT_SOURCE_API

      public static final RateLimitSource RATE_LIMIT_SOURCE_API
       The value was set by the API.
       
      RATE_LIMIT_SOURCE_API = 1;
    • RATE_LIMIT_SOURCE_WORKER

      public static final RateLimitSource RATE_LIMIT_SOURCE_WORKER
       The value was set by a worker.
       
      RATE_LIMIT_SOURCE_WORKER = 2;
    • RATE_LIMIT_SOURCE_SYSTEM

      public static final RateLimitSource RATE_LIMIT_SOURCE_SYSTEM
       The value was set as the system default.
       
      RATE_LIMIT_SOURCE_SYSTEM = 3;
    • UNRECOGNIZED

      public static final RateLimitSource UNRECOGNIZED
  • Field Details

    • RATE_LIMIT_SOURCE_UNSPECIFIED_VALUE

      public static final int RATE_LIMIT_SOURCE_UNSPECIFIED_VALUE
      RATE_LIMIT_SOURCE_UNSPECIFIED = 0;
      See Also:
    • RATE_LIMIT_SOURCE_API_VALUE

      public static final int RATE_LIMIT_SOURCE_API_VALUE
       The value was set by the API.
       
      RATE_LIMIT_SOURCE_API = 1;
      See Also:
    • RATE_LIMIT_SOURCE_WORKER_VALUE

      public static final int RATE_LIMIT_SOURCE_WORKER_VALUE
       The value was set by a worker.
       
      RATE_LIMIT_SOURCE_WORKER = 2;
      See Also:
    • RATE_LIMIT_SOURCE_SYSTEM_VALUE

      public static final int RATE_LIMIT_SOURCE_SYSTEM_VALUE
       The value was set as the system default.
       
      RATE_LIMIT_SOURCE_SYSTEM = 3;
      See Also:
  • Method Details

    • values

      public static RateLimitSource[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RateLimitSource valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static RateLimitSource valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static RateLimitSource forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<RateLimitSource> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static RateLimitSource valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null