public static enum InstanceGroupManagerUpdatePolicy.ReplacementMethod extends Enum<InstanceGroupManagerUpdatePolicy.ReplacementMethod> implements com.google.protobuf.ProtocolMessageEnum
What action should be used to replace instances. See minimal_action.REPLACEProtobuf enum
google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy.ReplacementMethod| Enum Constant and Description |
|---|
RECREATE
Instances will be recreated (with the same name)
|
SUBSTITUTE
Default option: instances will be deleted and created (with a new name)
|
UNDEFINED_REPLACEMENT_METHOD
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
RECREATE_VALUE
Instances will be recreated (with the same name)
|
static int |
SUBSTITUTE_VALUE
Default option: instances will be deleted and created (with a new name)
|
static int |
UNDEFINED_REPLACEMENT_METHOD_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static InstanceGroupManagerUpdatePolicy.ReplacementMethod |
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.ReplacementMethod> |
internalGetValueMap() |
static InstanceGroupManagerUpdatePolicy.ReplacementMethod |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static InstanceGroupManagerUpdatePolicy.ReplacementMethod |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static InstanceGroupManagerUpdatePolicy.ReplacementMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceGroupManagerUpdatePolicy.ReplacementMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceGroupManagerUpdatePolicy.ReplacementMethod UNDEFINED_REPLACEMENT_METHOD
A value indicating that the enum field is not set.
UNDEFINED_REPLACEMENT_METHOD = 0;public static final InstanceGroupManagerUpdatePolicy.ReplacementMethod RECREATE
Instances will be recreated (with the same name)
RECREATE = 522644719;public static final InstanceGroupManagerUpdatePolicy.ReplacementMethod SUBSTITUTE
Default option: instances will be deleted and created (with a new name)
SUBSTITUTE = 280924314;public static final InstanceGroupManagerUpdatePolicy.ReplacementMethod UNRECOGNIZED
public static final int UNDEFINED_REPLACEMENT_METHOD_VALUE
A value indicating that the enum field is not set.
UNDEFINED_REPLACEMENT_METHOD = 0;public static final int RECREATE_VALUE
Instances will be recreated (with the same name)
RECREATE = 522644719;public static final int SUBSTITUTE_VALUE
Default option: instances will be deleted and created (with a new name)
SUBSTITUTE = 280924314;public static InstanceGroupManagerUpdatePolicy.ReplacementMethod[] values()
for (InstanceGroupManagerUpdatePolicy.ReplacementMethod c : InstanceGroupManagerUpdatePolicy.ReplacementMethod.values()) System.out.println(c);
public static InstanceGroupManagerUpdatePolicy.ReplacementMethod 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.ReplacementMethod valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static InstanceGroupManagerUpdatePolicy.ReplacementMethod forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<InstanceGroupManagerUpdatePolicy.ReplacementMethod> 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.ReplacementMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.