public static enum Scheduling.ProvisioningModel extends Enum<Scheduling.ProvisioningModel> implements com.google.protobuf.ProtocolMessageEnum
Specifies the provisioning model of the instance.Protobuf enum
google.cloud.compute.v1.Scheduling.ProvisioningModel| Enum Constant and Description |
|---|
SPOT
Heavily discounted, no guaranteed runtime.
|
STANDARD
Standard provisioning with user controlled runtime, no discounts.
|
UNDEFINED_PROVISIONING_MODEL
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
SPOT_VALUE
Heavily discounted, no guaranteed runtime.
|
static int |
STANDARD_VALUE
Standard provisioning with user controlled runtime, no discounts.
|
static int |
UNDEFINED_PROVISIONING_MODEL_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static Scheduling.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<Scheduling.ProvisioningModel> |
internalGetValueMap() |
static Scheduling.ProvisioningModel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Scheduling.ProvisioningModel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Scheduling.ProvisioningModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scheduling.ProvisioningModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scheduling.ProvisioningModel UNDEFINED_PROVISIONING_MODEL
A value indicating that the enum field is not set.
UNDEFINED_PROVISIONING_MODEL = 0;public static final Scheduling.ProvisioningModel SPOT
Heavily discounted, no guaranteed runtime.
SPOT = 2552066;public static final Scheduling.ProvisioningModel STANDARD
Standard provisioning with user controlled runtime, no discounts.
STANDARD = 484642493;public static final Scheduling.ProvisioningModel UNRECOGNIZED
public static final int UNDEFINED_PROVISIONING_MODEL_VALUE
A value indicating that the enum field is not set.
UNDEFINED_PROVISIONING_MODEL = 0;public static final int SPOT_VALUE
Heavily discounted, no guaranteed runtime.
SPOT = 2552066;public static final int STANDARD_VALUE
Standard provisioning with user controlled runtime, no discounts.
STANDARD = 484642493;public static Scheduling.ProvisioningModel[] values()
for (Scheduling.ProvisioningModel c : Scheduling.ProvisioningModel.values()) System.out.println(c);
public static Scheduling.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 Scheduling.ProvisioningModel valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Scheduling.ProvisioningModel forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Scheduling.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 Scheduling.ProvisioningModel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.