public static enum UpgradeClusterResponse.Status extends Enum<UpgradeClusterResponse.Status> implements com.google.protobuf.ProtocolMessageEnum
Status of upgrade operation.Protobuf enum
google.cloud.alloydb.v1.UpgradeClusterResponse.Status| Enum Constant and Description |
|---|
CANCEL_IN_PROGRESS
Cancel is in progress.
|
CANCELLED
Cancellation complete.
|
FAILED
Operation failed.
|
IN_PROGRESS
In progress.
|
NOT_STARTED
Not started.
|
PARTIAL_SUCCESS
Operation partially succeeded.
|
STATUS_UNSPECIFIED
Unspecified status.
|
SUCCESS
Operation succeeded.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CANCEL_IN_PROGRESS_VALUE
Cancel is in progress.
|
static int |
CANCELLED_VALUE
Cancellation complete.
|
static int |
FAILED_VALUE
Operation failed.
|
static int |
IN_PROGRESS_VALUE
In progress.
|
static int |
NOT_STARTED_VALUE
Not started.
|
static int |
PARTIAL_SUCCESS_VALUE
Operation partially succeeded.
|
static int |
STATUS_UNSPECIFIED_VALUE
Unspecified status.
|
static int |
SUCCESS_VALUE
Operation succeeded.
|
| Modifier and Type | Method and Description |
|---|---|
static UpgradeClusterResponse.Status |
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<UpgradeClusterResponse.Status> |
internalGetValueMap() |
static UpgradeClusterResponse.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UpgradeClusterResponse.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UpgradeClusterResponse.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpgradeClusterResponse.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpgradeClusterResponse.Status STATUS_UNSPECIFIED
Unspecified status.
STATUS_UNSPECIFIED = 0;public static final UpgradeClusterResponse.Status NOT_STARTED
Not started.
NOT_STARTED = 4;public static final UpgradeClusterResponse.Status IN_PROGRESS
In progress.
IN_PROGRESS = 5;public static final UpgradeClusterResponse.Status SUCCESS
Operation succeeded.
SUCCESS = 1;public static final UpgradeClusterResponse.Status FAILED
Operation failed.
FAILED = 2;public static final UpgradeClusterResponse.Status PARTIAL_SUCCESS
Operation partially succeeded.
PARTIAL_SUCCESS = 3;public static final UpgradeClusterResponse.Status CANCEL_IN_PROGRESS
Cancel is in progress.
CANCEL_IN_PROGRESS = 6;public static final UpgradeClusterResponse.Status CANCELLED
Cancellation complete.
CANCELLED = 7;public static final UpgradeClusterResponse.Status UNRECOGNIZED
public static final int STATUS_UNSPECIFIED_VALUE
Unspecified status.
STATUS_UNSPECIFIED = 0;public static final int NOT_STARTED_VALUE
Not started.
NOT_STARTED = 4;public static final int IN_PROGRESS_VALUE
In progress.
IN_PROGRESS = 5;public static final int SUCCESS_VALUE
Operation succeeded.
SUCCESS = 1;public static final int FAILED_VALUE
Operation failed.
FAILED = 2;public static final int PARTIAL_SUCCESS_VALUE
Operation partially succeeded.
PARTIAL_SUCCESS = 3;public static final int CANCEL_IN_PROGRESS_VALUE
Cancel is in progress.
CANCEL_IN_PROGRESS = 6;public static final int CANCELLED_VALUE
Cancellation complete.
CANCELLED = 7;public static UpgradeClusterResponse.Status[] values()
for (UpgradeClusterResponse.Status c : UpgradeClusterResponse.Status.values()) System.out.println(c);
public static UpgradeClusterResponse.Status 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 UpgradeClusterResponse.Status valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static UpgradeClusterResponse.Status forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UpgradeClusterResponse.Status> 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 UpgradeClusterResponse.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.