public static enum AttachedDiskInitializeParams.OnUpdateAction extends Enum<AttachedDiskInitializeParams.OnUpdateAction> implements com.google.protobuf.ProtocolMessageEnum
Specifies which action to take on instance update with this disk. Default is to use the existing disk.Protobuf enum
google.cloud.compute.v1.AttachedDiskInitializeParams.OnUpdateAction| Enum Constant and Description |
|---|
RECREATE_DISK
Always recreate the disk.
|
RECREATE_DISK_IF_SOURCE_CHANGED
Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk.
|
UNDEFINED_ON_UPDATE_ACTION
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
USE_EXISTING_DISK
Use the existing disk, this is the default behaviour.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
RECREATE_DISK_IF_SOURCE_CHANGED_VALUE
Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk.
|
static int |
RECREATE_DISK_VALUE
Always recreate the disk.
|
static int |
UNDEFINED_ON_UPDATE_ACTION_VALUE
A value indicating that the enum field is not set.
|
static int |
USE_EXISTING_DISK_VALUE
Use the existing disk, this is the default behaviour.
|
| Modifier and Type | Method and Description |
|---|---|
static AttachedDiskInitializeParams.OnUpdateAction |
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<AttachedDiskInitializeParams.OnUpdateAction> |
internalGetValueMap() |
static AttachedDiskInitializeParams.OnUpdateAction |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AttachedDiskInitializeParams.OnUpdateAction |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AttachedDiskInitializeParams.OnUpdateAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttachedDiskInitializeParams.OnUpdateAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttachedDiskInitializeParams.OnUpdateAction UNDEFINED_ON_UPDATE_ACTION
A value indicating that the enum field is not set.
UNDEFINED_ON_UPDATE_ACTION = 0;public static final AttachedDiskInitializeParams.OnUpdateAction RECREATE_DISK
Always recreate the disk.
RECREATE_DISK = 494767853;public static final AttachedDiskInitializeParams.OnUpdateAction RECREATE_DISK_IF_SOURCE_CHANGED
Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk.
RECREATE_DISK_IF_SOURCE_CHANGED = 398099712;public static final AttachedDiskInitializeParams.OnUpdateAction USE_EXISTING_DISK
Use the existing disk, this is the default behaviour.
USE_EXISTING_DISK = 232682233;public static final AttachedDiskInitializeParams.OnUpdateAction UNRECOGNIZED
public static final int UNDEFINED_ON_UPDATE_ACTION_VALUE
A value indicating that the enum field is not set.
UNDEFINED_ON_UPDATE_ACTION = 0;public static final int RECREATE_DISK_VALUE
Always recreate the disk.
RECREATE_DISK = 494767853;public static final int RECREATE_DISK_IF_SOURCE_CHANGED_VALUE
Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk.
RECREATE_DISK_IF_SOURCE_CHANGED = 398099712;public static final int USE_EXISTING_DISK_VALUE
Use the existing disk, this is the default behaviour.
USE_EXISTING_DISK = 232682233;public static AttachedDiskInitializeParams.OnUpdateAction[] values()
for (AttachedDiskInitializeParams.OnUpdateAction c : AttachedDiskInitializeParams.OnUpdateAction.values()) System.out.println(c);
public static AttachedDiskInitializeParams.OnUpdateAction 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 AttachedDiskInitializeParams.OnUpdateAction valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AttachedDiskInitializeParams.OnUpdateAction forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AttachedDiskInitializeParams.OnUpdateAction> 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 AttachedDiskInitializeParams.OnUpdateAction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.