public static enum Instance.UpdatePolicy.Mode extends Enum<Instance.UpdatePolicy.Mode> implements com.google.protobuf.ProtocolMessageEnum
Specifies the available modes of update.Protobuf enum
google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode| Enum Constant and Description |
|---|
DEFAULT
Least disruptive way to apply the update.
|
FORCE_APPLY
Performs a forced update when applicable.
|
MODE_UNSPECIFIED
Mode is unknown.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_VALUE
Least disruptive way to apply the update.
|
static int |
FORCE_APPLY_VALUE
Performs a forced update when applicable.
|
static int |
MODE_UNSPECIFIED_VALUE
Mode is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
static Instance.UpdatePolicy.Mode |
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<Instance.UpdatePolicy.Mode> |
internalGetValueMap() |
static Instance.UpdatePolicy.Mode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Instance.UpdatePolicy.Mode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Instance.UpdatePolicy.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instance.UpdatePolicy.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.UpdatePolicy.Mode MODE_UNSPECIFIED
Mode is unknown.
MODE_UNSPECIFIED = 0;public static final Instance.UpdatePolicy.Mode DEFAULT
Least disruptive way to apply the update.
DEFAULT = 1;public static final Instance.UpdatePolicy.Mode FORCE_APPLY
Performs a forced update when applicable. This will be fast but may incur a downtime.
FORCE_APPLY = 2;public static final Instance.UpdatePolicy.Mode UNRECOGNIZED
public static final int MODE_UNSPECIFIED_VALUE
Mode is unknown.
MODE_UNSPECIFIED = 0;public static final int DEFAULT_VALUE
Least disruptive way to apply the update.
DEFAULT = 1;public static final int FORCE_APPLY_VALUE
Performs a forced update when applicable. This will be fast but may incur a downtime.
FORCE_APPLY = 2;public static Instance.UpdatePolicy.Mode[] values()
for (Instance.UpdatePolicy.Mode c : Instance.UpdatePolicy.Mode.values()) System.out.println(c);
public static Instance.UpdatePolicy.Mode 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 Instance.UpdatePolicy.Mode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Instance.UpdatePolicy.Mode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Instance.UpdatePolicy.Mode> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Instance.UpdatePolicy.Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2026 Google LLC. All rights reserved.