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.
|
DELETE_REQUESTED
The bucket has been marked for deletion by the user.
|
LIFECYCLE_STATE_UNSPECIFIED
Unspecified state.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
The normal and active state.
|
static int |
DELETE_REQUESTED_VALUE
The bucket has been marked for deletion by the user.
|
static int |
LIFECYCLE_STATE_UNSPECIFIED_VALUE
Unspecified state.
|
| 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 bucket has been marked for deletion by the user.
DELETE_REQUESTED = 2;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 bucket has been marked for deletion by the user.
DELETE_REQUESTED = 2;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.EnumLitegetNumber 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.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static LifecycleState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021 Google LLC. All rights reserved.