# Enum OperationState (3.43.1)

3.43.1 (latest) 3.41.0 3.38.0 3.37.0 3.36.0 3.35.1 3.33.4 3.32.2 3.31.9 3.30.11 3.28.0 3.27.2 3.26.5 3.25.1 3.24.3 3.22.0 3.21.4 3.20.0 3.17.0 3.16.3 3.15.7 3.14.4 3.13.2 3.12.1 3.11.0 3.10.0 3.9.6 3.8.2 3.7.10 3.6.0 3.5.0 3.4.2 3.3.0 3.2.0 3.1.0 3.0.21

    public enum OperationState extends Enum<OperationState> implements ProtocolMessageEnum

Describes the state of the operation.

Protobuf enum `google.firestore.admin.v1.OperationState`

## 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` | Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation. `CANCELLED = 7;` |
| `CANCELLED_VALUE` | Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation. `CANCELLED = 7;` |
| `CANCELLING` | Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation. `CANCELLING = 3;` |
| `CANCELLING_VALUE` | Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation. `CANCELLING = 3;` |
| `FAILED` | Request has finished being processed, but encountered an error. `FAILED = 6;` |
| `FAILED_VALUE` | Request has finished being processed, but encountered an error. `FAILED = 6;` |
| `FINALIZING` | Request has been processed and is in its finalization stage. `FINALIZING = 4;` |
| `FINALIZING_VALUE` | Request has been processed and is in its finalization stage. `FINALIZING = 4;` |
| `INITIALIZING` | Request is being prepared for processing. `INITIALIZING = 1;` |
| `INITIALIZING_VALUE` | Request is being prepared for processing. `INITIALIZING = 1;` |
| `OPERATION_STATE_UNSPECIFIED` | Unspecified. `OPERATION_STATE_UNSPECIFIED = 0;` |
| `OPERATION_STATE_UNSPECIFIED_VALUE` | Unspecified. `OPERATION_STATE_UNSPECIFIED = 0;` |
| `PROCESSING` | Request is actively being processed. `PROCESSING = 2;` |
| `PROCESSING_VALUE` | Request is actively being processed. `PROCESSING = 2;` |
| `SUCCESSFUL` | Request has completed successfully. `SUCCESSFUL = 5;` |
| `SUCCESSFUL_VALUE` | Request has completed successfully. `SUCCESSFUL = 5;` |
| `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-firestore/latest/com.google.firestore.admin.v1.OperationState#com_google_firestore_admin_v1_OperationState_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

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