# Enum Restore.State (0.16.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.16.0 (latest)](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.metastore.v1.Restore.State)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.metastore.v1.Restore.State)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.metastore.v1.Restore.State)

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

The current state of the restore.

Protobuf enum `google.events.cloud.metastore.v1.Restore.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** |
| `CANCELLED` | The metadata restore is cancelled. `CANCELLED = 4;` |
| `CANCELLED_VALUE` | The metadata restore is cancelled. `CANCELLED = 4;` |
| `FAILED` | The metadata restore failed. `FAILED = 3;` |
| `FAILED_VALUE` | The metadata restore failed. `FAILED = 3;` |
| `RUNNING` | The metadata restore is running. `RUNNING = 1;` |
| `RUNNING_VALUE` | The metadata restore is running. `RUNNING = 1;` |
| `STATE_UNSPECIFIED` | The state of the metadata restore is unknown. `STATE_UNSPECIFIED = 0;` |
| `STATE_UNSPECIFIED_VALUE` | The state of the metadata restore is unknown. `STATE_UNSPECIFIED = 0;` |
| `SUCCEEDED` | The metadata restore completed successfully. `SUCCEEDED = 2;` |
| `SUCCEEDED_VALUE` | The metadata restore completed successfully. `SUCCEEDED = 2;` |
| `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-cloudevent-types/latest/com.google.events.cloud.metastore.v1.Restore.State#com_google_events_cloud_metastore_v1_Restore_State_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

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