Enum ResourceState
- java.lang.Object
-
- java.lang.Enum<ResourceState>
-
- io.temporal.api.cloud.resource.v1.ResourceState
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<ResourceState>
@Generated(value="protoc", comments="annotations:ResourceState.java.pb.meta") public enum ResourceState extends java.lang.Enum<ResourceState> implements com.google.protobuf.ProtocolMessageEnumProtobuf enumtemporal.api.cloud.resource.v1.ResourceState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RESOURCE_STATE_ACTIVATINGThe resource is being activated.RESOURCE_STATE_ACTIVATION_FAILEDThe resource failed to activate.RESOURCE_STATE_ACTIVEThe resource is active and ready to use.RESOURCE_STATE_DELETE_FAILEDThe resource failed to delete.RESOURCE_STATE_DELETEDThe resource has been deleted.RESOURCE_STATE_DELETINGThe resource is being deleted.RESOURCE_STATE_EXPIREDThe resource has expired and is no longer available for use.RESOURCE_STATE_SUSPENDEDThe resource is suspended and not available for use.RESOURCE_STATE_UNSPECIFIEDRESOURCE_STATE_UNSPECIFIED = 0;RESOURCE_STATE_UPDATE_FAILEDThe resource failed to update.RESOURCE_STATE_UPDATINGThe resource is being updated.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intRESOURCE_STATE_ACTIVATING_VALUEThe resource is being activated.static intRESOURCE_STATE_ACTIVATION_FAILED_VALUEThe resource failed to activate.static intRESOURCE_STATE_ACTIVE_VALUEThe resource is active and ready to use.static intRESOURCE_STATE_DELETE_FAILED_VALUEThe resource failed to delete.static intRESOURCE_STATE_DELETED_VALUEThe resource has been deleted.static intRESOURCE_STATE_DELETING_VALUEThe resource is being deleted.static intRESOURCE_STATE_EXPIRED_VALUEThe resource has expired and is no longer available for use.static intRESOURCE_STATE_SUSPENDED_VALUEThe resource is suspended and not available for use.static intRESOURCE_STATE_UNSPECIFIED_VALUERESOURCE_STATE_UNSPECIFIED = 0;static intRESOURCE_STATE_UPDATE_FAILED_VALUEThe resource failed to update.static intRESOURCE_STATE_UPDATING_VALUEThe resource is being updated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ResourceStateforNumber(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<ResourceState>internalGetValueMap()static ResourceStatevalueOf(int value)Deprecated.static ResourceStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ResourceStatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ResourceState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESOURCE_STATE_UNSPECIFIED
public static final ResourceState RESOURCE_STATE_UNSPECIFIED
RESOURCE_STATE_UNSPECIFIED = 0;
-
RESOURCE_STATE_ACTIVATING
public static final ResourceState RESOURCE_STATE_ACTIVATING
The resource is being activated.
RESOURCE_STATE_ACTIVATING = 1;
-
RESOURCE_STATE_ACTIVATION_FAILED
public static final ResourceState RESOURCE_STATE_ACTIVATION_FAILED
The resource failed to activate. This is an error state. Reach out to support for remediation.
RESOURCE_STATE_ACTIVATION_FAILED = 2;
-
RESOURCE_STATE_ACTIVE
public static final ResourceState RESOURCE_STATE_ACTIVE
The resource is active and ready to use.
RESOURCE_STATE_ACTIVE = 3;
-
RESOURCE_STATE_UPDATING
public static final ResourceState RESOURCE_STATE_UPDATING
The resource is being updated.
RESOURCE_STATE_UPDATING = 4;
-
RESOURCE_STATE_UPDATE_FAILED
public static final ResourceState RESOURCE_STATE_UPDATE_FAILED
The resource failed to update. This is an error state. Reach out to support for remediation.
RESOURCE_STATE_UPDATE_FAILED = 5;
-
RESOURCE_STATE_DELETING
public static final ResourceState RESOURCE_STATE_DELETING
The resource is being deleted.
RESOURCE_STATE_DELETING = 6;
-
RESOURCE_STATE_DELETE_FAILED
public static final ResourceState RESOURCE_STATE_DELETE_FAILED
The resource failed to delete. This is an error state. Reach out to support for remediation.
RESOURCE_STATE_DELETE_FAILED = 7;
-
RESOURCE_STATE_DELETED
public static final ResourceState RESOURCE_STATE_DELETED
The resource has been deleted.
RESOURCE_STATE_DELETED = 8;
-
RESOURCE_STATE_SUSPENDED
public static final ResourceState RESOURCE_STATE_SUSPENDED
The resource is suspended and not available for use. Reach out to support for remediation.
RESOURCE_STATE_SUSPENDED = 9;
-
RESOURCE_STATE_EXPIRED
public static final ResourceState RESOURCE_STATE_EXPIRED
The resource has expired and is no longer available for use.
RESOURCE_STATE_EXPIRED = 10;
-
UNRECOGNIZED
public static final ResourceState UNRECOGNIZED
-
-
Field Detail
-
RESOURCE_STATE_UNSPECIFIED_VALUE
public static final int RESOURCE_STATE_UNSPECIFIED_VALUE
RESOURCE_STATE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
RESOURCE_STATE_ACTIVATING_VALUE
public static final int RESOURCE_STATE_ACTIVATING_VALUE
The resource is being activated.
RESOURCE_STATE_ACTIVATING = 1;- See Also:
- Constant Field Values
-
RESOURCE_STATE_ACTIVATION_FAILED_VALUE
public static final int RESOURCE_STATE_ACTIVATION_FAILED_VALUE
The resource failed to activate. This is an error state. Reach out to support for remediation.
RESOURCE_STATE_ACTIVATION_FAILED = 2;- See Also:
- Constant Field Values
-
RESOURCE_STATE_ACTIVE_VALUE
public static final int RESOURCE_STATE_ACTIVE_VALUE
The resource is active and ready to use.
RESOURCE_STATE_ACTIVE = 3;- See Also:
- Constant Field Values
-
RESOURCE_STATE_UPDATING_VALUE
public static final int RESOURCE_STATE_UPDATING_VALUE
The resource is being updated.
RESOURCE_STATE_UPDATING = 4;- See Also:
- Constant Field Values
-
RESOURCE_STATE_UPDATE_FAILED_VALUE
public static final int RESOURCE_STATE_UPDATE_FAILED_VALUE
The resource failed to update. This is an error state. Reach out to support for remediation.
RESOURCE_STATE_UPDATE_FAILED = 5;- See Also:
- Constant Field Values
-
RESOURCE_STATE_DELETING_VALUE
public static final int RESOURCE_STATE_DELETING_VALUE
The resource is being deleted.
RESOURCE_STATE_DELETING = 6;- See Also:
- Constant Field Values
-
RESOURCE_STATE_DELETE_FAILED_VALUE
public static final int RESOURCE_STATE_DELETE_FAILED_VALUE
The resource failed to delete. This is an error state. Reach out to support for remediation.
RESOURCE_STATE_DELETE_FAILED = 7;- See Also:
- Constant Field Values
-
RESOURCE_STATE_DELETED_VALUE
public static final int RESOURCE_STATE_DELETED_VALUE
The resource has been deleted.
RESOURCE_STATE_DELETED = 8;- See Also:
- Constant Field Values
-
RESOURCE_STATE_SUSPENDED_VALUE
public static final int RESOURCE_STATE_SUSPENDED_VALUE
The resource is suspended and not available for use. Reach out to support for remediation.
RESOURCE_STATE_SUSPENDED = 9;- See Also:
- Constant Field Values
-
RESOURCE_STATE_EXPIRED_VALUE
public static final int RESOURCE_STATE_EXPIRED_VALUE
The resource has expired and is no longer available for use.
RESOURCE_STATE_EXPIRED = 10;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ResourceState[] 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 (ResourceState c : ResourceState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceState 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 ResourceState 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 ResourceState 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<ResourceState> 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 ResourceState 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
-
-