# Enum Execution.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.notebooks.v1.Execution.State)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.notebooks.v1.Execution.State)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.notebooks.v1.Execution.State)

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

Enum description of the state of the underlying AIP job.

Protobuf enum `google.events.cloud.notebooks.v1.Execution.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 job has been cancelled. `error_message` should describe the reason for the cancellation. `CANCELLED = 7;` |
| `CANCELLED_VALUE` | The job has been cancelled. `error_message` should describe the reason for the cancellation. `CANCELLED = 7;` |
| `CANCELLING` | The job is being cancelled. `error_message` should describe the reason for the cancellation. `CANCELLING = 6;` |
| `CANCELLING_VALUE` | The job is being cancelled. `error_message` should describe the reason for the cancellation. `CANCELLING = 6;` |
| `EXPIRED` | The job has become expired (relevant to Vertex AI jobs) <https://cloud.google.com/vertex-ai/docs/reference/rest/v1/JobState> `EXPIRED = 9;` |
| `EXPIRED_VALUE` | The job has become expired (relevant to Vertex AI jobs) <https://cloud.google.com/vertex-ai/docs/reference/rest/v1/JobState> `EXPIRED = 9;` |
| `FAILED` | The job failed. `error_message` should contain the details of the failure. `FAILED = 5;` |
| `FAILED_VALUE` | The job failed. `error_message` should contain the details of the failure. `FAILED = 5;` |
| `INITIALIZING` | The Execution is being created. `INITIALIZING = 10;` |
| `INITIALIZING_VALUE` | The Execution is being created. `INITIALIZING = 10;` |
| `PREPARING` | The service is preparing to execution the job. `PREPARING = 2;` |
| `PREPARING_VALUE` | The service is preparing to execution the job. `PREPARING = 2;` |
| `QUEUED` | The job has been just created and processing has not yet begun. `QUEUED = 1;` |
| `QUEUED_VALUE` | The job has been just created and processing has not yet begun. `QUEUED = 1;` |
| `RUNNING` | The job is in progress. `RUNNING = 3;` |
| `RUNNING_VALUE` | The job is in progress. `RUNNING = 3;` |
| `STATE_UNSPECIFIED` | The job state is unspecified. `STATE_UNSPECIFIED = 0;` |
| `STATE_UNSPECIFIED_VALUE` | The job state is unspecified. `STATE_UNSPECIFIED = 0;` |
| `SUCCEEDED` | The job completed successfully. `SUCCEEDED = 4;` |
| `SUCCEEDED_VALUE` | The job completed successfully. `SUCCEEDED = 4;` |
| `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.notebooks.v1.Execution.State#com_google_events_cloud_notebooks_v1_Execution_State_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

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