public static enum Reservation.DeploymentType extends Enum<Reservation.DeploymentType> implements com.google.protobuf.ProtocolMessageEnum
Specifies the deployment strategy for this reservation.Protobuf enum
google.cloud.compute.v1.Reservation.DeploymentType| Enum Constant and Description |
|---|
DENSE
The reserved capacity is made up of densely deployed reservation blocks.
|
DEPLOYMENT_TYPE_UNSPECIFIED
DEPLOYMENT_TYPE_UNSPECIFIED = 234847180; |
UNDEFINED_DEPLOYMENT_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DENSE_VALUE
The reserved capacity is made up of densely deployed reservation blocks.
|
static int |
DEPLOYMENT_TYPE_UNSPECIFIED_VALUE
DEPLOYMENT_TYPE_UNSPECIFIED = 234847180; |
static int |
UNDEFINED_DEPLOYMENT_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static Reservation.DeploymentType |
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<Reservation.DeploymentType> |
internalGetValueMap() |
static Reservation.DeploymentType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Reservation.DeploymentType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Reservation.DeploymentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Reservation.DeploymentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Reservation.DeploymentType UNDEFINED_DEPLOYMENT_TYPE
A value indicating that the enum field is not set.
UNDEFINED_DEPLOYMENT_TYPE = 0;public static final Reservation.DeploymentType DENSE
The reserved capacity is made up of densely deployed reservation blocks.
DENSE = 64932607;public static final Reservation.DeploymentType DEPLOYMENT_TYPE_UNSPECIFIED
DEPLOYMENT_TYPE_UNSPECIFIED = 234847180;public static final Reservation.DeploymentType UNRECOGNIZED
public static final int UNDEFINED_DEPLOYMENT_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_DEPLOYMENT_TYPE = 0;public static final int DENSE_VALUE
The reserved capacity is made up of densely deployed reservation blocks.
DENSE = 64932607;public static final int DEPLOYMENT_TYPE_UNSPECIFIED_VALUE
DEPLOYMENT_TYPE_UNSPECIFIED = 234847180;public static Reservation.DeploymentType[] values()
for (Reservation.DeploymentType c : Reservation.DeploymentType.values()) System.out.println(c);
public static Reservation.DeploymentType 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 Reservation.DeploymentType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Reservation.DeploymentType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Reservation.DeploymentType> 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 Reservation.DeploymentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.