public static enum UpdateInstanceRequest.MostDisruptiveAllowedAction extends Enum<UpdateInstanceRequest.MostDisruptiveAllowedAction> implements com.google.protobuf.ProtocolMessageEnum
Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART. Additional supported values which may be not listed in the enum directly due to technical reasons: INVALID NO_EFFECT REFRESH RESTARTProtobuf enum
google.cloud.compute.v1.UpdateInstanceRequest.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 UpdateInstanceRequest.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<UpdateInstanceRequest.MostDisruptiveAllowedAction> |
internalGetValueMap() |
static UpdateInstanceRequest.MostDisruptiveAllowedAction |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UpdateInstanceRequest.MostDisruptiveAllowedAction |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UpdateInstanceRequest.MostDisruptiveAllowedAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateInstanceRequest.MostDisruptiveAllowedAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateInstanceRequest.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 UpdateInstanceRequest.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 UpdateInstanceRequest.MostDisruptiveAllowedAction[] values()
for (UpdateInstanceRequest.MostDisruptiveAllowedAction c : UpdateInstanceRequest.MostDisruptiveAllowedAction.values()) System.out.println(c);
public static UpdateInstanceRequest.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 UpdateInstanceRequest.MostDisruptiveAllowedAction valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static UpdateInstanceRequest.MostDisruptiveAllowedAction forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UpdateInstanceRequest.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 UpdateInstanceRequest.MostDisruptiveAllowedAction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.