# Enum State (0.42.0)

0.42.0 (latest) 0.40.0 0.37.0 0.36.0 0.34.0 0.32.0 0.31.0 0.29.0 0.27.0 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.19.0 0.17.0 0.16.0 0.13.0 0.12.0 0.11.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public enum State extends Enum<State> implements ProtocolMessageEnum

The various lifecycle states of the Autonomous Database.

Protobuf enum `google.cloud.oracledatabase.v1.State`

## Implements

[ProtocolMessageEnum](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolMessageEnum.html)

## Inherited Members

[Enum.\<T\>valueOf(Class\<T\>,String)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-) [Enum.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--) [Enum.compareTo(E)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-) [Enum.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-) [Enum.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--) [Enum.getDeclaringClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--) [Enum.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--) [Enum.name()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--) [Enum.ordinal()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--) [Enum.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

| ## Static Fields ||
|---|---|
| **Name** | **Description** |
| `AVAILABLE` | Indicates that the Autonomous Database is in available state. `AVAILABLE = 2;` |
| `AVAILABLE_NEEDS_ATTENTION` | Indicates that the Autonomous Database is available but needs attention state. `AVAILABLE_NEEDS_ATTENTION = 13;` |
| `AVAILABLE_NEEDS_ATTENTION_VALUE` | Indicates that the Autonomous Database is available but needs attention state. `AVAILABLE_NEEDS_ATTENTION = 13;` |
| `AVAILABLE_VALUE` | Indicates that the Autonomous Database is in available state. `AVAILABLE = 2;` |
| `BACKUP_IN_PROGRESS` | Indicates that the Autonomous Database backup is in progress. `BACKUP_IN_PROGRESS = 11;` |
| `BACKUP_IN_PROGRESS_VALUE` | Indicates that the Autonomous Database backup is in progress. `BACKUP_IN_PROGRESS = 11;` |
| `INACCESSIBLE` | Indicates that the Autonomous Database is in inaccessible state. `INACCESSIBLE = 20;` |
| `INACCESSIBLE_VALUE` | Indicates that the Autonomous Database is in inaccessible state. `INACCESSIBLE = 20;` |
| `MAINTENANCE_IN_PROGRESS` | Indicates that the Autonomous Database's maintenance is in progress state. `MAINTENANCE_IN_PROGRESS = 15;` |
| `MAINTENANCE_IN_PROGRESS_VALUE` | Indicates that the Autonomous Database's maintenance is in progress state. `MAINTENANCE_IN_PROGRESS = 15;` |
| `PROVISIONING` | Indicates that the Autonomous Database is in provisioning state. `PROVISIONING = 1;` |
| `PROVISIONING_VALUE` | Indicates that the Autonomous Database is in provisioning state. `PROVISIONING = 1;` |
| `RECREATING` | Indicates that the Autonomous Database is in recreating state. `RECREATING = 17;` |
| `RECREATING_VALUE` | Indicates that the Autonomous Database is in recreating state. `RECREATING = 17;` |
| `RESTARTING` | Indicates that the Autonomous Database is in restarting state. `RESTARTING = 16;` |
| `RESTARTING_VALUE` | Indicates that the Autonomous Database is in restarting state. `RESTARTING = 16;` |
| `RESTORE_FAILED` | Indicates that the Autonomous Database failed to restore. `RESTORE_FAILED = 10;` |
| `RESTORE_FAILED_VALUE` | Indicates that the Autonomous Database failed to restore. `RESTORE_FAILED = 10;` |
| `RESTORE_IN_PROGRESS` | Indicates that the Autonomous Database restore is in progress. `RESTORE_IN_PROGRESS = 9;` |
| `RESTORE_IN_PROGRESS_VALUE` | Indicates that the Autonomous Database restore is in progress. `RESTORE_IN_PROGRESS = 9;` |
| `ROLE_CHANGE_IN_PROGRESS` | Indicates that the Autonomous Database's role change is in progress state. `ROLE_CHANGE_IN_PROGRESS = 18;` |
| `ROLE_CHANGE_IN_PROGRESS_VALUE` | Indicates that the Autonomous Database's role change is in progress state. `ROLE_CHANGE_IN_PROGRESS = 18;` |
| `SCALE_IN_PROGRESS` | Indicates that the Autonomous Database scale is in progress. `SCALE_IN_PROGRESS = 12;` |
| `SCALE_IN_PROGRESS_VALUE` | Indicates that the Autonomous Database scale is in progress. `SCALE_IN_PROGRESS = 12;` |
| `STANDBY` | Indicates that the Autonomous Database is in standby state. `STANDBY = 21;` |
| `STANDBY_VALUE` | Indicates that the Autonomous Database is in standby state. `STANDBY = 21;` |
| `STARTING` | Indicates that the Autonomous Database is in starting state. `STARTING = 5;` |
| `STARTING_VALUE` | Indicates that the Autonomous Database is in starting state. `STARTING = 5;` |
| `STATE_UNSPECIFIED` | Default unspecified value. `STATE_UNSPECIFIED = 0;` |
| `STATE_UNSPECIFIED_VALUE` | Default unspecified value. `STATE_UNSPECIFIED = 0;` |
| `STOPPED` | Indicates that the Autonomous Database is in stopped state. `STOPPED = 4;` |
| `STOPPED_VALUE` | Indicates that the Autonomous Database is in stopped state. `STOPPED = 4;` |
| `STOPPING` | Indicates that the Autonomous Database is in stopping state. `STOPPING = 3;` |
| `STOPPING_VALUE` | Indicates that the Autonomous Database is in stopping state. `STOPPING = 3;` |
| `TERMINATED` | Indicates that the Autonomous Database is in terminated state. `TERMINATED = 7;` |
| `TERMINATED_VALUE` | Indicates that the Autonomous Database is in terminated state. `TERMINATED = 7;` |
| `TERMINATING` | Indicates that the Autonomous Database is in terminating state. `TERMINATING = 6;` |
| `TERMINATING_VALUE` | Indicates that the Autonomous Database is in terminating state. `TERMINATING = 6;` |
| `UNAVAILABLE` | Indicates that the Autonomous Database is in unavailable state. `UNAVAILABLE = 8;` |
| `UNAVAILABLE_VALUE` | Indicates that the Autonomous Database is in unavailable state. `UNAVAILABLE = 8;` |
| `UNRECOGNIZED` |   |
| `UPDATING` | Indicates that the Autonomous Database is in updating state. `UPDATING = 14;` |
| `UPDATING_VALUE` | Indicates that the Autonomous Database is in updating state. `UPDATING = 14;` |
| `UPGRADING` | Indicates that the Autonomous Database is in upgrading state. `UPGRADING = 19;` |
| `UPGRADING_VALUE` | Indicates that the Autonomous Database is in upgrading state. `UPGRADING = 19;` |

| ## Static Methods ||
|---|---|
| **Name** | **Description** |
| `forNumber(int value)` |   |
| `getDescriptor()` |   |
| `internalGetValueMap()` |   |
| `valueOf(Descriptors.EnumValueDescriptor desc)` |   |
| `valueOf(int value)` | **Deprecated.** *Use [#forNumber(int)](https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.State#com_google_cloud_oracledatabase_v1_State_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

| ## Methods ||
|---|---|
| **Name** | **Description** |
| `getDescriptorForType()` |   |
| `getNumber()` |   |
| `getValueDescriptor()` |   |