Enum LifecycleState (3.20.2)

public enum LifecycleState extends Enum<LifecycleState> implements ProtocolMessageEnum

LogBucket lifecycle states.

Protobuf enum google.logging.v2.LifecycleState

Implements

ProtocolMessageEnum

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) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()