public static enum UpgradeClusterResponse.Stage extends Enum<UpgradeClusterResponse.Stage> implements com.google.protobuf.ProtocolMessageEnum
Stage in the upgrade.Protobuf enum
google.cloud.alloydb.v1.UpgradeClusterResponse.Stage| Enum Constant and Description |
|---|
ALLOYDB_PRECHECK
Pre-upgrade custom checks, not covered by pg_upgrade.
|
CLEANUP
Cleanup.
|
PG_UPGRADE_CHECK
Pre-upgrade pg_upgrade checks.
|
PREPARE_FOR_UPGRADE
Clone the original cluster.
|
PRIMARY_INSTANCE_UPGRADE
Upgrade the primary instance(downtime).
|
READ_POOL_INSTANCES_UPGRADE
This stage is read pool upgrade.
|
ROLLBACK
Rollback in case of critical failures.
|
STAGE_UNSPECIFIED
Unspecified stage.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOYDB_PRECHECK_VALUE
Pre-upgrade custom checks, not covered by pg_upgrade.
|
static int |
CLEANUP_VALUE
Cleanup.
|
static int |
PG_UPGRADE_CHECK_VALUE
Pre-upgrade pg_upgrade checks.
|
static int |
PREPARE_FOR_UPGRADE_VALUE
Clone the original cluster.
|
static int |
PRIMARY_INSTANCE_UPGRADE_VALUE
Upgrade the primary instance(downtime).
|
static int |
READ_POOL_INSTANCES_UPGRADE_VALUE
This stage is read pool upgrade.
|
static int |
ROLLBACK_VALUE
Rollback in case of critical failures.
|
static int |
STAGE_UNSPECIFIED_VALUE
Unspecified stage.
|
| Modifier and Type | Method and Description |
|---|---|
static UpgradeClusterResponse.Stage |
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.Stage> |
internalGetValueMap() |
static UpgradeClusterResponse.Stage |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UpgradeClusterResponse.Stage |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UpgradeClusterResponse.Stage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpgradeClusterResponse.Stage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpgradeClusterResponse.Stage STAGE_UNSPECIFIED
Unspecified stage.
STAGE_UNSPECIFIED = 0;public static final UpgradeClusterResponse.Stage ALLOYDB_PRECHECK
Pre-upgrade custom checks, not covered by pg_upgrade.
ALLOYDB_PRECHECK = 1;public static final UpgradeClusterResponse.Stage PG_UPGRADE_CHECK
Pre-upgrade pg_upgrade checks.
PG_UPGRADE_CHECK = 2;public static final UpgradeClusterResponse.Stage PREPARE_FOR_UPGRADE
Clone the original cluster.
PREPARE_FOR_UPGRADE = 5;public static final UpgradeClusterResponse.Stage PRIMARY_INSTANCE_UPGRADE
Upgrade the primary instance(downtime).
PRIMARY_INSTANCE_UPGRADE = 3;public static final UpgradeClusterResponse.Stage READ_POOL_INSTANCES_UPGRADE
This stage is read pool upgrade.
READ_POOL_INSTANCES_UPGRADE = 4;public static final UpgradeClusterResponse.Stage ROLLBACK
Rollback in case of critical failures.
ROLLBACK = 6;public static final UpgradeClusterResponse.Stage CLEANUP
Cleanup.
CLEANUP = 7;public static final UpgradeClusterResponse.Stage UNRECOGNIZED
public static final int STAGE_UNSPECIFIED_VALUE
Unspecified stage.
STAGE_UNSPECIFIED = 0;public static final int ALLOYDB_PRECHECK_VALUE
Pre-upgrade custom checks, not covered by pg_upgrade.
ALLOYDB_PRECHECK = 1;public static final int PG_UPGRADE_CHECK_VALUE
Pre-upgrade pg_upgrade checks.
PG_UPGRADE_CHECK = 2;public static final int PREPARE_FOR_UPGRADE_VALUE
Clone the original cluster.
PREPARE_FOR_UPGRADE = 5;public static final int PRIMARY_INSTANCE_UPGRADE_VALUE
Upgrade the primary instance(downtime).
PRIMARY_INSTANCE_UPGRADE = 3;public static final int READ_POOL_INSTANCES_UPGRADE_VALUE
This stage is read pool upgrade.
READ_POOL_INSTANCES_UPGRADE = 4;public static final int ROLLBACK_VALUE
Rollback in case of critical failures.
ROLLBACK = 6;public static final int CLEANUP_VALUE
Cleanup.
CLEANUP = 7;public static UpgradeClusterResponse.Stage[] values()
for (UpgradeClusterResponse.Stage c : UpgradeClusterResponse.Stage.values()) System.out.println(c);
public static UpgradeClusterResponse.Stage 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.Stage valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static UpgradeClusterResponse.Stage forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UpgradeClusterResponse.Stage> 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.Stage valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.