Enum 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,java.io.Serializable,java.lang.Comparable<NamespaceRegionStatus.State>
- Enclosing class:
- NamespaceRegionStatus
public static enum NamespaceRegionStatus.State extends java.lang.Enum<NamespaceRegionStatus.State> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumtemporal.api.cloud.namespace.v1.NamespaceRegionStatus.State
-
-
Enum Constant Summary
Enum Constants Enum Constant Description STATE_ACTIVEThe namespace is active in this region.STATE_ADDINGThe region is being added to the namespace.STATE_FAILEDThe region failed to be added/removed, check failure_reason in the last async_operation status for more details.STATE_PASSIVEThe namespace is passive in this region.STATE_REMOVINGThe region is being removed from the namespace.STATE_UNSPECIFIEDSTATE_UNSPECIFIED = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intSTATE_ACTIVE_VALUEThe namespace is active in this region.static intSTATE_ADDING_VALUEThe region is being added to the namespace.static intSTATE_FAILED_VALUEThe region failed to be added/removed, check failure_reason in the last async_operation status for more details.static intSTATE_PASSIVE_VALUEThe namespace is passive in this region.static intSTATE_REMOVING_VALUEThe region is being removed from the namespace.static intSTATE_UNSPECIFIED_VALUESTATE_UNSPECIFIED = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static NamespaceRegionStatus.StateforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<NamespaceRegionStatus.State>internalGetValueMap()static NamespaceRegionStatus.StatevalueOf(int value)Deprecated.static NamespaceRegionStatus.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static NamespaceRegionStatus.StatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static NamespaceRegionStatus.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUE
STATE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
STATE_ADDING_VALUE
public static final int STATE_ADDING_VALUE
The region is being added to the namespace.
STATE_ADDING = 1;- See Also:
- Constant Field Values
-
STATE_ACTIVE_VALUE
public static final int STATE_ACTIVE_VALUE
The namespace is active in this region.
STATE_ACTIVE = 2;- See Also:
- Constant Field Values
-
STATE_PASSIVE_VALUE
public static final int STATE_PASSIVE_VALUE
The namespace is passive in this region.
STATE_PASSIVE = 3;- See Also:
- Constant Field Values
-
STATE_REMOVING_VALUE
public static final int STATE_REMOVING_VALUE
The region is being removed from the namespace.
STATE_REMOVING = 4;- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
-
Method Detail
-
values
public static NamespaceRegionStatus.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NamespaceRegionStatus.State c : NamespaceRegionStatus.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NamespaceRegionStatus.State valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static NamespaceRegionStatus.State valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-