# Enum LifecycleState (3.34.0)

3.34.0 (latest) 3.32.0 3.29.0 3.28.0 3.26.0 3.24.0 3.23.10 3.22.6 3.21.4 3.20.7 3.19.0 3.18.0 3.17.2 3.16.2 3.15.17 3.14.9 3.13.7 3.12.1 3.11.10 3.10.7 3.9.0 3.8.0 3.7.6 3.6.4 3.5.3

    public enum LifecycleState extends Enum<LifecycleState> implements ProtocolMessageEnum

LogBucket lifecycle states.

Protobuf enum `google.logging.v2.LifecycleState`

## 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** |
| `ACTIVE` | The normal and active state. `ACTIVE = 1;` |
| `ACTIVE_VALUE` | The normal and active state. `ACTIVE = 1;` |
| `CREATING` | The resource has been marked for creation by the user. It will remain in this state until the creation is complete. `CREATING = 4;` |
| `CREATING_VALUE` | The resource has been marked for creation by the user. It will remain in this state until the creation is complete. `CREATING = 4;` |
| `DELETE_REQUESTED` | The resource has been marked for deletion by the user. For some resources (e.g. buckets), this can be reversed by an un-delete operation. `DELETE_REQUESTED = 2;` |
| `DELETE_REQUESTED_VALUE` | The resource has been marked for deletion by the user. For some resources (e.g. buckets), this can be reversed by an un-delete operation. `DELETE_REQUESTED = 2;` |
| `FAILED` | The resource is in an INTERNAL error state. `FAILED = 5;` |
| `FAILED_VALUE` | The resource is in an INTERNAL error state. `FAILED = 5;` |
| `LIFECYCLE_STATE_UNSPECIFIED` | Unspecified state. This is only used/useful for distinguishing unset values. `LIFECYCLE_STATE_UNSPECIFIED = 0;` |
| `LIFECYCLE_STATE_UNSPECIFIED_VALUE` | Unspecified state. This is only used/useful for distinguishing unset values. `LIFECYCLE_STATE_UNSPECIFIED = 0;` |
| `UNRECOGNIZED` |   |
| `UPDATING` | The resource has been marked for an update by the user. It will remain in this state until the update is complete. `UPDATING = 3;` |
| `UPDATING_VALUE` | The resource has been marked for an update by the user. It will remain in this state until the update is complete. `UPDATING = 3;` |

| ## 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-logging/latest/com.google.logging.v2.LifecycleState#com_google_logging_v2_LifecycleState_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

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