public static enum InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction extends Enum<InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction> implements com.google.protobuf.ProtocolMessageEnum
Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all. Additional supported values which may be not listed in the enum directly due to technical reasons: NONE REFRESH REPLACE RESTARTProtobuf enum
google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction| Enum Constant and Description |
|---|
UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction |
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<InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction> |
internalGetValueMap() |
static InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION
A value indicating that the enum field is not set.
UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION = 0;public static final InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction UNRECOGNIZED
public static final int UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION_VALUE
A value indicating that the enum field is not set.
UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION = 0;public static InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction[] values()
for (InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction c : InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction.values()) System.out.println(c);
public static InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction 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 InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction> 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 InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.