# Enum Instance.State (1.94.0)

1.94.0 (latest) 1.92.0 1.89.0 1.88.0 1.86.0 1.84.0 1.83.0 1.82.0 1.81.0 1.79.0 1.77.0 1.76.0 1.75.0 1.74.0 1.73.0 1.71.0 1.69.0 1.68.0 1.65.0 1.64.0 1.63.0 1.61.0 1.60.0 1.59.0 1.58.0 1.57.0 1.56.0 1.55.0 1.54.0 1.53.0 1.52.0 1.50.0 1.49.0 1.48.0 1.47.0 1.46.0 1.45.0 1.44.0 1.43.0 1.42.0 1.41.0 1.40.0 1.38.0 1.37.0 1.36.0 1.35.0 1.34.0 1.33.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.25.0 1.24.0 1.23.0 1.22.0 1.21.0 1.20.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.2.0

    public enum Instance.State extends Enum<Instance.State> implements ProtocolMessageEnum

The instance state.

Protobuf enum `google.cloud.filestore.v1.Instance.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** |
| `CREATING` | The instance is being created. `CREATING = 1;` |
| `CREATING_VALUE` | The instance is being created. `CREATING = 1;` |
| `DELETING` | The instance is shutting down. `DELETING = 4;` |
| `DELETING_VALUE` | The instance is shutting down. `DELETING = 4;` |
| `ERROR` | The instance is experiencing an issue and might be unusable. You can get further details from the `statusMessage` field of the `Instance` resource. `ERROR = 6;` |
| `ERROR_VALUE` | The instance is experiencing an issue and might be unusable. You can get further details from the `statusMessage` field of the `Instance` resource. `ERROR = 6;` |
| `PROMOTING` | The replica instance is being promoted. `PROMOTING = 13;` |
| `PROMOTING_VALUE` | The replica instance is being promoted. `PROMOTING = 13;` |
| `READY` | The instance is available for use. `READY = 2;` |
| `READY_VALUE` | The instance is available for use. `READY = 2;` |
| `REPAIRING` | Work is being done on the instance. You can get further details from the `statusMessage` field of the `Instance` resource. `REPAIRING = 3;` |
| `REPAIRING_VALUE` | Work is being done on the instance. You can get further details from the `statusMessage` field of the `Instance` resource. `REPAIRING = 3;` |
| `RESTORING` | The instance is restoring a backup to an existing file share and may be unusable during this time. `RESTORING = 7;` |
| `RESTORING_VALUE` | The instance is restoring a backup to an existing file share and may be unusable during this time. `RESTORING = 7;` |
| `RESUMING` | The instance is in the process of becoming active. `RESUMING = 10;` |
| `RESUMING_VALUE` | The instance is in the process of becoming active. `RESUMING = 10;` |
| `REVERTING` | The instance is reverting to a snapshot. `REVERTING = 12;` |
| `REVERTING_VALUE` | The instance is reverting to a snapshot. `REVERTING = 12;` |
| `STATE_UNSPECIFIED` | State not set. `STATE_UNSPECIFIED = 0;` |
| `STATE_UNSPECIFIED_VALUE` | State not set. `STATE_UNSPECIFIED = 0;` |
| `SUSPENDED` | The instance is suspended. You can get further details from the `suspension_reasons` field of the `Instance` resource. `SUSPENDED = 8;` |
| `SUSPENDED_VALUE` | The instance is suspended. You can get further details from the `suspension_reasons` field of the `Instance` resource. `SUSPENDED = 8;` |
| `SUSPENDING` | The instance is in the process of becoming suspended. `SUSPENDING = 9;` |
| `SUSPENDING_VALUE` | The instance is in the process of becoming suspended. `SUSPENDING = 9;` |
| `UNRECOGNIZED` |   |

| ## 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-filestore/latest/com.google.cloud.filestore.v1.Instance.State#com_google_cloud_filestore_v1_Instance_State_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

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