public static enum PreservedStatePreservedDisk.AutoDelete extends Enum<PreservedStatePreservedDisk.AutoDelete> implements com.google.protobuf.ProtocolMessageEnum
These stateful disks will never be deleted during autohealing, update, instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole MIG is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted.Protobuf enum
google.cloud.compute.v1.PreservedStatePreservedDisk.AutoDelete| Enum Constant and Description |
|---|
NEVER
NEVER = 74175084; |
ON_PERMANENT_INSTANCE_DELETION
ON_PERMANENT_INSTANCE_DELETION = 95727719; |
UNDEFINED_AUTO_DELETE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
NEVER_VALUE
NEVER = 74175084; |
static int |
ON_PERMANENT_INSTANCE_DELETION_VALUE
ON_PERMANENT_INSTANCE_DELETION = 95727719; |
static int |
UNDEFINED_AUTO_DELETE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static PreservedStatePreservedDisk.AutoDelete |
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<PreservedStatePreservedDisk.AutoDelete> |
internalGetValueMap() |
static PreservedStatePreservedDisk.AutoDelete |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PreservedStatePreservedDisk.AutoDelete |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PreservedStatePreservedDisk.AutoDelete |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreservedStatePreservedDisk.AutoDelete[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreservedStatePreservedDisk.AutoDelete UNDEFINED_AUTO_DELETE
A value indicating that the enum field is not set.
UNDEFINED_AUTO_DELETE = 0;public static final PreservedStatePreservedDisk.AutoDelete NEVER
NEVER = 74175084;public static final PreservedStatePreservedDisk.AutoDelete ON_PERMANENT_INSTANCE_DELETION
ON_PERMANENT_INSTANCE_DELETION = 95727719;public static final PreservedStatePreservedDisk.AutoDelete UNRECOGNIZED
public static final int UNDEFINED_AUTO_DELETE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_AUTO_DELETE = 0;public static final int NEVER_VALUE
NEVER = 74175084;public static final int ON_PERMANENT_INSTANCE_DELETION_VALUE
ON_PERMANENT_INSTANCE_DELETION = 95727719;public static PreservedStatePreservedDisk.AutoDelete[] values()
for (PreservedStatePreservedDisk.AutoDelete c : PreservedStatePreservedDisk.AutoDelete.values()) System.out.println(c);
public static PreservedStatePreservedDisk.AutoDelete 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 PreservedStatePreservedDisk.AutoDelete valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static PreservedStatePreservedDisk.AutoDelete forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PreservedStatePreservedDisk.AutoDelete> 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 PreservedStatePreservedDisk.AutoDelete valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.