public static enum AutomatedBackupPolicy.RetentionCase extends Enum<AutomatedBackupPolicy.RetentionCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
QUANTITY_BASED_RETENTION |
RETENTION_NOT_SET |
TIME_BASED_RETENTION |
| Modifier and Type | Method and Description |
|---|---|
static AutomatedBackupPolicy.RetentionCase |
forNumber(int value) |
int |
getNumber() |
static AutomatedBackupPolicy.RetentionCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AutomatedBackupPolicy.RetentionCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutomatedBackupPolicy.RetentionCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutomatedBackupPolicy.RetentionCase TIME_BASED_RETENTION
public static final AutomatedBackupPolicy.RetentionCase QUANTITY_BASED_RETENTION
public static final AutomatedBackupPolicy.RetentionCase RETENTION_NOT_SET
public static AutomatedBackupPolicy.RetentionCase[] values()
for (AutomatedBackupPolicy.RetentionCase c : AutomatedBackupPolicy.RetentionCase.values()) System.out.println(c);
public static AutomatedBackupPolicy.RetentionCase 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 null@Deprecated public static AutomatedBackupPolicy.RetentionCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static AutomatedBackupPolicy.RetentionCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2025 Google LLC. All rights reserved.