    public enum DatabaseInstance.SqlInstanceState extends Enum<DatabaseInstance.SqlInstanceState> implements ProtocolMessageEnum

The current serving state of the database instance.

Protobuf enum `google.cloud.sql.v1.DatabaseInstance.SqlInstanceState`

## Implements

[ProtocolMessageEnum](https://cloud-0google-0com.linkedin.net.nz/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** |
| `FAILED` | The creation of the instance failed or a fatal error occurred during maintenance. `FAILED = 6;` |
| `FAILED_VALUE` | The creation of the instance failed or a fatal error occurred during maintenance. `FAILED = 6;` |
| `MAINTENANCE` | The instance is down for maintenance. `MAINTENANCE = 5;` |
| `MAINTENANCE_VALUE` | The instance is down for maintenance. `MAINTENANCE = 5;` |
| `ONLINE_MAINTENANCE` | Deprecated `ONLINE_MAINTENANCE = 7 [deprecated = true];` |
| `ONLINE_MAINTENANCE_VALUE` | Deprecated `ONLINE_MAINTENANCE = 7 [deprecated = true];` |
| `PENDING_CREATE` | The instance is being created. `PENDING_CREATE = 4;` |
| `PENDING_CREATE_VALUE` | The instance is being created. `PENDING_CREATE = 4;` |
| `PENDING_DELETE` | The instance is being deleted. `PENDING_DELETE = 3;` |
| `PENDING_DELETE_VALUE` | The instance is being deleted. `PENDING_DELETE = 3;` |
| `REPAIRING` | (Applicable to read pool nodes only.) The read pool node needs to be repaired. The database might be unavailable. `REPAIRING = 8;` |
| `REPAIRING_VALUE` | (Applicable to read pool nodes only.) The read pool node needs to be repaired. The database might be unavailable. `REPAIRING = 8;` |
| `RUNNABLE` | The instance is running, or has been stopped by owner. `RUNNABLE = 1;` |
| `RUNNABLE_VALUE` | The instance is running, or has been stopped by owner. `RUNNABLE = 1;` |
| `SQL_INSTANCE_STATE_UNSPECIFIED` | The state of the instance is unknown. `SQL_INSTANCE_STATE_UNSPECIFIED = 0;` |
| `SQL_INSTANCE_STATE_UNSPECIFIED_VALUE` | The state of the instance is unknown. `SQL_INSTANCE_STATE_UNSPECIFIED = 0;` |
| `SUSPENDED` | The instance is not available, for example due to problems with billing. `SUSPENDED = 2;` |
| `SUSPENDED_VALUE` | The instance is not available, for example due to problems with billing. `SUSPENDED = 2;` |
| `UNRECOGNIZED` |   |

| ## Static Methods ||
|---|---|
| **Name** | **Description** |
| `forNumber(int value)` |   |
| `getDescriptor()` |   |
| `internalGetValueMap()` |   |
| `valueOf(Descriptors.EnumValueDescriptor desc)` |   |
| `valueOf(int value)` | **Deprecated.** *Use [#forNumber(int)](https://docs-0cloud-0google-0com.linkedin.net.nz/java/docs/reference/google-cloud-sql/latest/com.google.cloud.sql.v1.DatabaseInstance.SqlInstanceState#com_google_cloud_sql_v1_DatabaseInstance_SqlInstanceState_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

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