public static enum Volume.SnapshotAutoDeleteBehavior extends Enum<Volume.SnapshotAutoDeleteBehavior> implements com.google.protobuf.ProtocolMessageEnum
The kinds of auto delete behavior to use when snapshot reserved space is full.Protobuf enum
google.cloud.baremetalsolution.v2.Volume.SnapshotAutoDeleteBehavior| Enum Constant and Description |
|---|
DISABLED
Don't delete any snapshots.
|
NEWEST_FIRST
Delete the newest snapshots first.
|
OLDEST_FIRST
Delete the oldest snapshots first.
|
SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED
The unspecified behavior.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DISABLED_VALUE
Don't delete any snapshots.
|
static int |
NEWEST_FIRST_VALUE
Delete the newest snapshots first.
|
static int |
OLDEST_FIRST_VALUE
Delete the oldest snapshots first.
|
static int |
SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED_VALUE
The unspecified behavior.
|
| Modifier and Type | Method and Description |
|---|---|
static Volume.SnapshotAutoDeleteBehavior |
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<Volume.SnapshotAutoDeleteBehavior> |
internalGetValueMap() |
static Volume.SnapshotAutoDeleteBehavior |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Volume.SnapshotAutoDeleteBehavior |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Volume.SnapshotAutoDeleteBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Volume.SnapshotAutoDeleteBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Volume.SnapshotAutoDeleteBehavior SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED
The unspecified behavior.
SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED = 0;public static final Volume.SnapshotAutoDeleteBehavior DISABLED
Don't delete any snapshots. This disables new snapshot creation, as long as the snapshot reserved space is full.
DISABLED = 1;public static final Volume.SnapshotAutoDeleteBehavior OLDEST_FIRST
Delete the oldest snapshots first.
OLDEST_FIRST = 2;public static final Volume.SnapshotAutoDeleteBehavior NEWEST_FIRST
Delete the newest snapshots first.
NEWEST_FIRST = 3;public static final Volume.SnapshotAutoDeleteBehavior UNRECOGNIZED
public static final int SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED_VALUE
The unspecified behavior.
SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED = 0;public static final int DISABLED_VALUE
Don't delete any snapshots. This disables new snapshot creation, as long as the snapshot reserved space is full.
DISABLED = 1;public static final int OLDEST_FIRST_VALUE
Delete the oldest snapshots first.
OLDEST_FIRST = 2;public static final int NEWEST_FIRST_VALUE
Delete the newest snapshots first.
NEWEST_FIRST = 3;public static Volume.SnapshotAutoDeleteBehavior[] values()
for (Volume.SnapshotAutoDeleteBehavior c : Volume.SnapshotAutoDeleteBehavior.values()) System.out.println(c);
public static Volume.SnapshotAutoDeleteBehavior 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 Volume.SnapshotAutoDeleteBehavior valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Volume.SnapshotAutoDeleteBehavior forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Volume.SnapshotAutoDeleteBehavior> 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 Volume.SnapshotAutoDeleteBehavior valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.