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