Enum Class NamespaceRegionStatus.State

java.lang.Object
java.lang.Enum<NamespaceRegionStatus.State>
io.temporal.api.cloud.namespace.v1.NamespaceRegionStatus.State
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<NamespaceRegionStatus.State>, Constable
Enclosing class:
NamespaceRegionStatus

public static enum NamespaceRegionStatus.State extends Enum<NamespaceRegionStatus.State> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum temporal.api.cloud.namespace.v1.NamespaceRegionStatus.State
  • Enum Constant Details

    • STATE_UNSPECIFIED

      public static final NamespaceRegionStatus.State STATE_UNSPECIFIED
      STATE_UNSPECIFIED = 0;
    • STATE_ADDING

      public static final NamespaceRegionStatus.State STATE_ADDING
       The region is being added to the namespace.
       
      STATE_ADDING = 1;
    • STATE_ACTIVE

      public static final NamespaceRegionStatus.State STATE_ACTIVE
       The namespace is active in this region.
       
      STATE_ACTIVE = 2;
    • STATE_PASSIVE

      public static final NamespaceRegionStatus.State STATE_PASSIVE
       The namespace is passive in this region.
       
      STATE_PASSIVE = 3;
    • STATE_REMOVING

      public static final NamespaceRegionStatus.State STATE_REMOVING
       The region is being removed from the namespace.
       
      STATE_REMOVING = 4;
    • STATE_FAILED

      public static final NamespaceRegionStatus.State STATE_FAILED
       The region failed to be added/removed, check failure_reason in the last async_operation status for more details.
       
      STATE_FAILED = 5;
    • UNRECOGNIZED

      public static final NamespaceRegionStatus.State UNRECOGNIZED
  • Field Details

    • STATE_UNSPECIFIED_VALUE

      public static final int STATE_UNSPECIFIED_VALUE
      STATE_UNSPECIFIED = 0;
      See Also:
    • STATE_ADDING_VALUE

      public static final int STATE_ADDING_VALUE
       The region is being added to the namespace.
       
      STATE_ADDING = 1;
      See Also:
    • STATE_ACTIVE_VALUE

      public static final int STATE_ACTIVE_VALUE
       The namespace is active in this region.
       
      STATE_ACTIVE = 2;
      See Also:
    • STATE_PASSIVE_VALUE

      public static final int STATE_PASSIVE_VALUE
       The namespace is passive in this region.
       
      STATE_PASSIVE = 3;
      See Also:
    • STATE_REMOVING_VALUE

      public static final int STATE_REMOVING_VALUE
       The region is being removed from the namespace.
       
      STATE_REMOVING = 4;
      See Also:
    • STATE_FAILED_VALUE

      public static final int STATE_FAILED_VALUE
       The region failed to be added/removed, check failure_reason in the last async_operation status for more details.
       
      STATE_FAILED = 5;
      See Also:
  • Method Details

    • values

      public static NamespaceRegionStatus.State[] 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 NamespaceRegionStatus.State 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 NamespaceRegionStatus.State 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 NamespaceRegionStatus.State 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<NamespaceRegionStatus.State> 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 NamespaceRegionStatus.State 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