public static enum AllocationPolicy.ProvisioningModel extends Enum<AllocationPolicy.ProvisioningModel> implements com.google.protobuf.ProtocolMessageEnum
Compute Engine VM instance provisioning model.Protobuf enum
google.cloud.batch.v1.AllocationPolicy.ProvisioningModel| Enum Constant and Description |
|---|
FLEX_START
Instance is provisioned with DWS Flex Start and has limited max run
duration.
|
PREEMPTIBLE
Deprecated.
|
PROVISIONING_MODEL_UNSPECIFIED
Unspecified.
|
RESERVATION_BOUND
Bound to the lifecycle of the reservation in which it is provisioned.
|
SPOT
SPOT VM.
|
STANDARD
Standard VM.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FLEX_START_VALUE
Instance is provisioned with DWS Flex Start and has limited max run
duration.
|
static int |
PREEMPTIBLE_VALUE
Deprecated.
|
static int |
PROVISIONING_MODEL_UNSPECIFIED_VALUE
Unspecified.
|
static int |
RESERVATION_BOUND_VALUE
Bound to the lifecycle of the reservation in which it is provisioned.
|
static int |
SPOT_VALUE
SPOT VM.
|
static int |
STANDARD_VALUE
Standard VM.
|
| Modifier and Type | Method and Description |
|---|---|
static AllocationPolicy.ProvisioningModel |
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<AllocationPolicy.ProvisioningModel> |
internalGetValueMap() |
static AllocationPolicy.ProvisioningModel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AllocationPolicy.ProvisioningModel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AllocationPolicy.ProvisioningModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AllocationPolicy.ProvisioningModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllocationPolicy.ProvisioningModel PROVISIONING_MODEL_UNSPECIFIED
Unspecified.
PROVISIONING_MODEL_UNSPECIFIED = 0;public static final AllocationPolicy.ProvisioningModel STANDARD
Standard VM.
STANDARD = 1;public static final AllocationPolicy.ProvisioningModel SPOT
SPOT VM.
SPOT = 2;@Deprecated public static final AllocationPolicy.ProvisioningModel PREEMPTIBLE
Preemptible VM (PVM). Above SPOT VM is the preferable model for preemptible VM instances: the old preemptible VM model (indicated by this field) is the older model, and has been migrated to use the SPOT model as the underlying technology. This old model will still be supported.
PREEMPTIBLE = 3 [deprecated = true];public static final AllocationPolicy.ProvisioningModel RESERVATION_BOUND
Bound to the lifecycle of the reservation in which it is provisioned.
RESERVATION_BOUND = 4;public static final AllocationPolicy.ProvisioningModel FLEX_START
Instance is provisioned with DWS Flex Start and has limited max run duration.
FLEX_START = 5;public static final AllocationPolicy.ProvisioningModel UNRECOGNIZED
public static final int PROVISIONING_MODEL_UNSPECIFIED_VALUE
Unspecified.
PROVISIONING_MODEL_UNSPECIFIED = 0;public static final int STANDARD_VALUE
Standard VM.
STANDARD = 1;public static final int SPOT_VALUE
SPOT VM.
SPOT = 2;@Deprecated public static final int PREEMPTIBLE_VALUE
Preemptible VM (PVM). Above SPOT VM is the preferable model for preemptible VM instances: the old preemptible VM model (indicated by this field) is the older model, and has been migrated to use the SPOT model as the underlying technology. This old model will still be supported.
PREEMPTIBLE = 3 [deprecated = true];public static final int RESERVATION_BOUND_VALUE
Bound to the lifecycle of the reservation in which it is provisioned.
RESERVATION_BOUND = 4;public static final int FLEX_START_VALUE
Instance is provisioned with DWS Flex Start and has limited max run duration.
FLEX_START = 5;public static AllocationPolicy.ProvisioningModel[] values()
for (AllocationPolicy.ProvisioningModel c : AllocationPolicy.ProvisioningModel.values()) System.out.println(c);
public static AllocationPolicy.ProvisioningModel 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 AllocationPolicy.ProvisioningModel valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AllocationPolicy.ProvisioningModel forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AllocationPolicy.ProvisioningModel> 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 AllocationPolicy.ProvisioningModel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.