public enum LifecycleState extends Enum<LifecycleState> implements com.google.protobuf.ProtocolMessageEnum
LogBucket lifecycle states.Protobuf enum
google.logging.v2.LifecycleState
Enum Constant and Description |
---|
ACTIVE
The normal and active state.
|
CREATING
The resource has been marked for creation by the user.
|
DELETE_REQUESTED
The resource has been marked for deletion by the user.
|
FAILED
The resource is in an INTERNAL error state.
|
LIFECYCLE_STATE_UNSPECIFIED
Unspecified state.
|
UNRECOGNIZED |
UPDATING
The resource has been marked for an update by the user.
|
Modifier and Type | Field and Description |
---|---|
static int |
ACTIVE_VALUE
The normal and active state.
|
static int |
CREATING_VALUE
The resource has been marked for creation by the user.
|
static int |
DELETE_REQUESTED_VALUE
The resource has been marked for deletion by the user.
|
static int |
FAILED_VALUE
The resource is in an INTERNAL error state.
|
static int |
LIFECYCLE_STATE_UNSPECIFIED_VALUE
Unspecified state.
|
static int |
UPDATING_VALUE
The resource has been marked for an update by the user.
|
Modifier and Type | Method and Description |
---|---|
static LifecycleState |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<LifecycleState> |
internalGetValueMap() |
static LifecycleState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LifecycleState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LifecycleState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LifecycleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LifecycleState LIFECYCLE_STATE_UNSPECIFIED
Unspecified state. This is only used/useful for distinguishing unset values.
LIFECYCLE_STATE_UNSPECIFIED = 0;
public static final LifecycleState ACTIVE
The normal and active state.
ACTIVE = 1;
public static final LifecycleState 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;
public static final LifecycleState 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;
public static final LifecycleState CREATING
The resource has been marked for creation by the user. It will remain in this state until the creation is complete.
CREATING = 4;
public static final LifecycleState FAILED
The resource is in an INTERNAL error state.
FAILED = 5;
public static final LifecycleState UNRECOGNIZED
public static final int LIFECYCLE_STATE_UNSPECIFIED_VALUE
Unspecified state. This is only used/useful for distinguishing unset values.
LIFECYCLE_STATE_UNSPECIFIED = 0;
public static final int ACTIVE_VALUE
The normal and active state.
ACTIVE = 1;
public static final int 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;
public static final int 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;
public static final int 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;
public static final int FAILED_VALUE
The resource is in an INTERNAL error state.
FAILED = 5;
public static LifecycleState[] values()
for (LifecycleState c : LifecycleState.values()) System.out.println(c);
public static LifecycleState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static LifecycleState valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static LifecycleState forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<LifecycleState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static LifecycleState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.