public static enum SoleTenancyPreferences.HostMaintenancePolicy extends Enum<SoleTenancyPreferences.HostMaintenancePolicy> implements com.google.protobuf.ProtocolMessageEnum
Sole Tenancy nodes maintenance policy.Protobuf enum
google.cloud.migrationcenter.v1.SoleTenancyPreferences.HostMaintenancePolicy| Enum Constant and Description |
|---|
HOST_MAINTENANCE_POLICY_DEFAULT
Default host maintenance policy.
|
HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP
Migrate within node group host maintenance policy.
|
HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE
Restart in place host maintenance policy.
|
HOST_MAINTENANCE_POLICY_UNSPECIFIED
Unspecified host maintenance policy.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
HOST_MAINTENANCE_POLICY_DEFAULT_VALUE
Default host maintenance policy.
|
static int |
HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP_VALUE
Migrate within node group host maintenance policy.
|
static int |
HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE_VALUE
Restart in place host maintenance policy.
|
static int |
HOST_MAINTENANCE_POLICY_UNSPECIFIED_VALUE
Unspecified host maintenance policy.
|
| Modifier and Type | Method and Description |
|---|---|
static SoleTenancyPreferences.HostMaintenancePolicy |
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<SoleTenancyPreferences.HostMaintenancePolicy> |
internalGetValueMap() |
static SoleTenancyPreferences.HostMaintenancePolicy |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SoleTenancyPreferences.HostMaintenancePolicy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SoleTenancyPreferences.HostMaintenancePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SoleTenancyPreferences.HostMaintenancePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoleTenancyPreferences.HostMaintenancePolicy HOST_MAINTENANCE_POLICY_UNSPECIFIED
Unspecified host maintenance policy.
HOST_MAINTENANCE_POLICY_UNSPECIFIED = 0;public static final SoleTenancyPreferences.HostMaintenancePolicy HOST_MAINTENANCE_POLICY_DEFAULT
Default host maintenance policy.
HOST_MAINTENANCE_POLICY_DEFAULT = 1;public static final SoleTenancyPreferences.HostMaintenancePolicy HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE
Restart in place host maintenance policy.
HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE = 2;public static final SoleTenancyPreferences.HostMaintenancePolicy HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP
Migrate within node group host maintenance policy.
HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP = 3;public static final SoleTenancyPreferences.HostMaintenancePolicy UNRECOGNIZED
public static final int HOST_MAINTENANCE_POLICY_UNSPECIFIED_VALUE
Unspecified host maintenance policy.
HOST_MAINTENANCE_POLICY_UNSPECIFIED = 0;public static final int HOST_MAINTENANCE_POLICY_DEFAULT_VALUE
Default host maintenance policy.
HOST_MAINTENANCE_POLICY_DEFAULT = 1;public static final int HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE_VALUE
Restart in place host maintenance policy.
HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE = 2;public static final int HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP_VALUE
Migrate within node group host maintenance policy.
HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP = 3;public static SoleTenancyPreferences.HostMaintenancePolicy[] values()
for (SoleTenancyPreferences.HostMaintenancePolicy c : SoleTenancyPreferences.HostMaintenancePolicy.values()) System.out.println(c);
public static SoleTenancyPreferences.HostMaintenancePolicy 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 SoleTenancyPreferences.HostMaintenancePolicy valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SoleTenancyPreferences.HostMaintenancePolicy forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SoleTenancyPreferences.HostMaintenancePolicy> 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 SoleTenancyPreferences.HostMaintenancePolicy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.