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

    public enum BuildEventData.Status extends Enum<BuildEventData.Status> implements ProtocolMessageEnum

Possible status of a build or build step.

Protobuf enum `google.events.cloud.cloudbuild.v1.BuildEventData.Status`

## 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` | Build or step was canceled by a user. `CANCELLED = 7;` |
| `CANCELLED_VALUE` | Build or step was canceled by a user. `CANCELLED = 7;` |
| `EXPIRED` | Build was enqueued for longer than the value of `queue_ttl`. `EXPIRED = 9;` |
| `EXPIRED_VALUE` | Build was enqueued for longer than the value of `queue_ttl`. `EXPIRED = 9;` |
| `FAILURE` | Build or step failed to complete successfully. `FAILURE = 4;` |
| `FAILURE_VALUE` | Build or step failed to complete successfully. `FAILURE = 4;` |
| `INTERNAL_ERROR` | Build or step failed due to an internal cause. `INTERNAL_ERROR = 5;` |
| `INTERNAL_ERROR_VALUE` | Build or step failed due to an internal cause. `INTERNAL_ERROR = 5;` |
| `QUEUED` | Build or step is queued; work has not yet begun. `QUEUED = 1;` |
| `QUEUED_VALUE` | Build or step is queued; work has not yet begun. `QUEUED = 1;` |
| `STATUS_UNKNOWN` | Status of the build is unknown. `STATUS_UNKNOWN = 0;` |
| `STATUS_UNKNOWN_VALUE` | Status of the build is unknown. `STATUS_UNKNOWN = 0;` |
| `SUCCESS` | Build or step finished successfully. `SUCCESS = 3;` |
| `SUCCESS_VALUE` | Build or step finished successfully. `SUCCESS = 3;` |
| `TIMEOUT` | Build or step took longer than was allowed. `TIMEOUT = 6;` |
| `TIMEOUT_VALUE` | Build or step took longer than was allowed. `TIMEOUT = 6;` |
| `UNRECOGNIZED` |   |
| `WORKING` | Build or step is being executed. `WORKING = 2;` |
| `WORKING_VALUE` | Build or step is being executed. `WORKING = 2;` |

| ## 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.cloudbuild.v1.BuildEventData.Status#com_google_events_cloud_cloudbuild_v1_BuildEventData_Status_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

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