Enum 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.ProtocolMessageEnum
    Protobuf enum temporal.api.cloud.resource.v1.ResourceState
    • 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;
    • 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 name
        java.lang.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 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 name
        java.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:
        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 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 name
        java.lang.NullPointerException - if the argument is null