public static enum BackupPlan.State extends Enum<BackupPlan.State> implements com.google.protobuf.ProtocolMessageEnum
StateProtobuf enum
google.cloud.gkebackup.v1.BackupPlan.State| Enum Constant and Description |
|---|
CLUSTER_PENDING
Waiting for cluster state to be RUNNING.
|
DEACTIVATED
The BackupPlan has been deactivated.
|
DELETING
The BackupPlan is in the process of being deleted.
|
FAILED
BackupPlan creation has failed.
|
PROVISIONING
The BackupPlan is in the process of being created.
|
READY
The BackupPlan has successfully been created and is ready for Backups.
|
STATE_UNSPECIFIED
Default first value for Enums.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_PENDING_VALUE
Waiting for cluster state to be RUNNING.
|
static int |
DEACTIVATED_VALUE
The BackupPlan has been deactivated.
|
static int |
DELETING_VALUE
The BackupPlan is in the process of being deleted.
|
static int |
FAILED_VALUE
BackupPlan creation has failed.
|
static int |
PROVISIONING_VALUE
The BackupPlan is in the process of being created.
|
static int |
READY_VALUE
The BackupPlan has successfully been created and is ready for Backups.
|
static int |
STATE_UNSPECIFIED_VALUE
Default first value for Enums.
|
| Modifier and Type | Method and Description |
|---|---|
static BackupPlan.State |
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<BackupPlan.State> |
internalGetValueMap() |
static BackupPlan.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BackupPlan.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BackupPlan.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackupPlan.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackupPlan.State STATE_UNSPECIFIED
Default first value for Enums.
STATE_UNSPECIFIED = 0;public static final BackupPlan.State CLUSTER_PENDING
Waiting for cluster state to be RUNNING.
CLUSTER_PENDING = 1;public static final BackupPlan.State PROVISIONING
The BackupPlan is in the process of being created.
PROVISIONING = 2;public static final BackupPlan.State READY
The BackupPlan has successfully been created and is ready for Backups.
READY = 3;public static final BackupPlan.State FAILED
BackupPlan creation has failed.
FAILED = 4;public static final BackupPlan.State DEACTIVATED
The BackupPlan has been deactivated.
DEACTIVATED = 5;public static final BackupPlan.State DELETING
The BackupPlan is in the process of being deleted.
DELETING = 6;public static final BackupPlan.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Default first value for Enums.
STATE_UNSPECIFIED = 0;public static final int CLUSTER_PENDING_VALUE
Waiting for cluster state to be RUNNING.
CLUSTER_PENDING = 1;public static final int PROVISIONING_VALUE
The BackupPlan is in the process of being created.
PROVISIONING = 2;public static final int READY_VALUE
The BackupPlan has successfully been created and is ready for Backups.
READY = 3;public static final int FAILED_VALUE
BackupPlan creation has failed.
FAILED = 4;public static final int DEACTIVATED_VALUE
The BackupPlan has been deactivated.
DEACTIVATED = 5;public static final int DELETING_VALUE
The BackupPlan is in the process of being deleted.
DELETING = 6;public static BackupPlan.State[] values()
for (BackupPlan.State c : BackupPlan.State.values()) System.out.println(c);
public static BackupPlan.State 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 BackupPlan.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static BackupPlan.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<BackupPlan.State> 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 BackupPlan.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.