public static enum ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete extends Enum<ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete> implements com.google.protobuf.ProtocolMessageEnum
Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.Protobuf enum
google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete| Enum Constant and Description |
|---|
APPLY_RETENTION_POLICY
APPLY_RETENTION_POLICY = 535071332; |
KEEP_AUTO_SNAPSHOTS
KEEP_AUTO_SNAPSHOTS = 258925689; |
UNDEFINED_ON_SOURCE_DISK_DELETE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
UNSPECIFIED_ON_SOURCE_DISK_DELETE
UNSPECIFIED_ON_SOURCE_DISK_DELETE = 239140769; |
| Modifier and Type | Field and Description |
|---|---|
static int |
APPLY_RETENTION_POLICY_VALUE
APPLY_RETENTION_POLICY = 535071332; |
static int |
KEEP_AUTO_SNAPSHOTS_VALUE
KEEP_AUTO_SNAPSHOTS = 258925689; |
static int |
UNDEFINED_ON_SOURCE_DISK_DELETE_VALUE
A value indicating that the enum field is not set.
|
static int |
UNSPECIFIED_ON_SOURCE_DISK_DELETE_VALUE
UNSPECIFIED_ON_SOURCE_DISK_DELETE = 239140769; |
public static final ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete UNDEFINED_ON_SOURCE_DISK_DELETE
A value indicating that the enum field is not set.
UNDEFINED_ON_SOURCE_DISK_DELETE = 0;public static final ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete APPLY_RETENTION_POLICY
APPLY_RETENTION_POLICY = 535071332;public static final ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete KEEP_AUTO_SNAPSHOTS
KEEP_AUTO_SNAPSHOTS = 258925689;public static final ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete UNSPECIFIED_ON_SOURCE_DISK_DELETE
UNSPECIFIED_ON_SOURCE_DISK_DELETE = 239140769;public static final ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete UNRECOGNIZED
public static final int UNDEFINED_ON_SOURCE_DISK_DELETE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_ON_SOURCE_DISK_DELETE = 0;public static final int APPLY_RETENTION_POLICY_VALUE
APPLY_RETENTION_POLICY = 535071332;public static final int KEEP_AUTO_SNAPSHOTS_VALUE
KEEP_AUTO_SNAPSHOTS = 258925689;public static final int UNSPECIFIED_ON_SOURCE_DISK_DELETE_VALUE
UNSPECIFIED_ON_SOURCE_DISK_DELETE = 239140769;public static ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete[] values()
for (ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete c : ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete.values()) System.out.println(c);
public static ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete 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 ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete> 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 ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.