public static enum StatefulPolicyPreservedStateDiskDevice.AutoDelete extends Enum<StatefulPolicyPreservedStateDiskDevice.AutoDelete> implements com.google.protobuf.ProtocolMessageEnum
These stateful disks will never be deleted during autohealing, update or VM 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 group is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted.Protobuf enum
google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice.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 StatefulPolicyPreservedStateDiskDevice.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<StatefulPolicyPreservedStateDiskDevice.AutoDelete> |
internalGetValueMap() |
static StatefulPolicyPreservedStateDiskDevice.AutoDelete |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static StatefulPolicyPreservedStateDiskDevice.AutoDelete |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static StatefulPolicyPreservedStateDiskDevice.AutoDelete |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatefulPolicyPreservedStateDiskDevice.AutoDelete[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatefulPolicyPreservedStateDiskDevice.AutoDelete UNDEFINED_AUTO_DELETE
A value indicating that the enum field is not set.
UNDEFINED_AUTO_DELETE = 0;public static final StatefulPolicyPreservedStateDiskDevice.AutoDelete NEVER
NEVER = 74175084;public static final StatefulPolicyPreservedStateDiskDevice.AutoDelete ON_PERMANENT_INSTANCE_DELETION
ON_PERMANENT_INSTANCE_DELETION = 95727719;public static final StatefulPolicyPreservedStateDiskDevice.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 StatefulPolicyPreservedStateDiskDevice.AutoDelete[] values()
for (StatefulPolicyPreservedStateDiskDevice.AutoDelete c : StatefulPolicyPreservedStateDiskDevice.AutoDelete.values()) System.out.println(c);
public static StatefulPolicyPreservedStateDiskDevice.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 StatefulPolicyPreservedStateDiskDevice.AutoDelete valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static StatefulPolicyPreservedStateDiskDevice.AutoDelete forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<StatefulPolicyPreservedStateDiskDevice.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 StatefulPolicyPreservedStateDiskDevice.AutoDelete valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.