Enum Class ResourceState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ResourceState>,Constable
@Generated(value="protoc",
comments="annotations:ResourceState.java.pb.meta")
public enum ResourceState
extends Enum<ResourceState>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
temporal.api.cloud.resource.v1.ResourceState-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe resource is being activated.The resource failed to activate.The resource is active and ready to use.The resource failed to delete.The resource has been deleted.The resource is being deleted.The resource has expired and is no longer available for use.The resource is suspended and not available for use.RESOURCE_STATE_UNSPECIFIED = 0;The resource failed to update.The resource is being updated. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe resource is being activated.static final intThe resource failed to activate.static final intThe resource is active and ready to use.static final intThe resource failed to delete.static final intThe resource has been deleted.static final intThe resource is being deleted.static final intThe resource has expired and is no longer available for use.static final intThe resource is suspended and not available for use.static final intRESOURCE_STATE_UNSPECIFIED = 0;static final intThe resource failed to update.static final intThe resource is being updated. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceStateforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ResourceState> static ResourceStatevalueOf(int value) Deprecated.static ResourceStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static ResourceStateReturns the enum constant of this class with the specified name.static ResourceState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RESOURCE_STATE_UNSPECIFIED
RESOURCE_STATE_UNSPECIFIED = 0; -
RESOURCE_STATE_ACTIVATING
The resource is being activated.
RESOURCE_STATE_ACTIVATING = 1; -
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
The resource is active and ready to use.
RESOURCE_STATE_ACTIVE = 3; -
RESOURCE_STATE_UPDATING
The resource is being updated.
RESOURCE_STATE_UPDATING = 4; -
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
The resource is being deleted.
RESOURCE_STATE_DELETING = 6; -
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
The resource has been deleted.
RESOURCE_STATE_DELETED = 8; -
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
The resource has expired and is no longer available for use.
RESOURCE_STATE_EXPIRED = 10; -
UNRECOGNIZED
-
-
Field Details
-
RESOURCE_STATE_UNSPECIFIED_VALUE
public static final int RESOURCE_STATE_UNSPECIFIED_VALUERESOURCE_STATE_UNSPECIFIED = 0;- See Also:
-
RESOURCE_STATE_ACTIVATING_VALUE
public static final int RESOURCE_STATE_ACTIVATING_VALUEThe resource is being activated.
RESOURCE_STATE_ACTIVATING = 1;- See Also:
-
RESOURCE_STATE_ACTIVATION_FAILED_VALUE
public static final int RESOURCE_STATE_ACTIVATION_FAILED_VALUEThe resource failed to activate. This is an error state. Reach out to support for remediation.
RESOURCE_STATE_ACTIVATION_FAILED = 2;- See Also:
-
RESOURCE_STATE_ACTIVE_VALUE
public static final int RESOURCE_STATE_ACTIVE_VALUEThe resource is active and ready to use.
RESOURCE_STATE_ACTIVE = 3;- See Also:
-
RESOURCE_STATE_UPDATING_VALUE
public static final int RESOURCE_STATE_UPDATING_VALUEThe resource is being updated.
RESOURCE_STATE_UPDATING = 4;- See Also:
-
RESOURCE_STATE_UPDATE_FAILED_VALUE
public static final int RESOURCE_STATE_UPDATE_FAILED_VALUEThe resource failed to update. This is an error state. Reach out to support for remediation.
RESOURCE_STATE_UPDATE_FAILED = 5;- See Also:
-
RESOURCE_STATE_DELETING_VALUE
public static final int RESOURCE_STATE_DELETING_VALUEThe resource is being deleted.
RESOURCE_STATE_DELETING = 6;- See Also:
-
RESOURCE_STATE_DELETE_FAILED_VALUE
public static final int RESOURCE_STATE_DELETE_FAILED_VALUEThe resource failed to delete. This is an error state. Reach out to support for remediation.
RESOURCE_STATE_DELETE_FAILED = 7;- See Also:
-
RESOURCE_STATE_DELETED_VALUE
public static final int RESOURCE_STATE_DELETED_VALUEThe resource has been deleted.
RESOURCE_STATE_DELETED = 8;- See Also:
-
RESOURCE_STATE_SUSPENDED_VALUE
public static final int RESOURCE_STATE_SUSPENDED_VALUEThe resource is suspended and not available for use. Reach out to support for remediation.
RESOURCE_STATE_SUSPENDED = 9;- See Also:
-
RESOURCE_STATE_EXPIRED_VALUE
public static final int RESOURCE_STATE_EXPIRED_VALUEThe resource has expired and is no longer available for use.
RESOURCE_STATE_EXPIRED = 10;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- 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.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 nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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
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 nameNullPointerException- if the argument is null
-