Package com.google.cloud.vmmigration.v1
Enum ComputeEngineDiskType
- java.lang.Object
-
- java.lang.Enum<ComputeEngineDiskType>
-
- com.google.cloud.vmmigration.v1.ComputeEngineDiskType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<ComputeEngineDiskType>
public enum ComputeEngineDiskType extends Enum<ComputeEngineDiskType> implements com.google.protobuf.ProtocolMessageEnum
Types of disks supported for Compute Engine VM.
Protobuf enumgoogle.cloud.vmmigration.v1.ComputeEngineDiskType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPUTE_ENGINE_DISK_TYPE_BALANCED
An alternative to SSD persistent disks that balance performance and cost.COMPUTE_ENGINE_DISK_TYPE_SSD
SSD hard disk type.COMPUTE_ENGINE_DISK_TYPE_STANDARD
A Standard disk type.COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED
An unspecified disk type.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
COMPUTE_ENGINE_DISK_TYPE_BALANCED_VALUE
An alternative to SSD persistent disks that balance performance and cost.static int
COMPUTE_ENGINE_DISK_TYPE_SSD_VALUE
SSD hard disk type.static int
COMPUTE_ENGINE_DISK_TYPE_STANDARD_VALUE
A Standard disk type.static int
COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED_VALUE
An unspecified disk type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ComputeEngineDiskType
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<ComputeEngineDiskType>
internalGetValueMap()
static ComputeEngineDiskType
valueOf(int value)
Deprecated.static ComputeEngineDiskType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ComputeEngineDiskType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ComputeEngineDiskType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED
public static final ComputeEngineDiskType COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED
An unspecified disk type. Will be used as STANDARD.
COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED = 0;
-
COMPUTE_ENGINE_DISK_TYPE_STANDARD
public static final ComputeEngineDiskType COMPUTE_ENGINE_DISK_TYPE_STANDARD
A Standard disk type.
COMPUTE_ENGINE_DISK_TYPE_STANDARD = 1;
-
COMPUTE_ENGINE_DISK_TYPE_SSD
public static final ComputeEngineDiskType COMPUTE_ENGINE_DISK_TYPE_SSD
SSD hard disk type.
COMPUTE_ENGINE_DISK_TYPE_SSD = 2;
-
COMPUTE_ENGINE_DISK_TYPE_BALANCED
public static final ComputeEngineDiskType COMPUTE_ENGINE_DISK_TYPE_BALANCED
An alternative to SSD persistent disks that balance performance and cost.
COMPUTE_ENGINE_DISK_TYPE_BALANCED = 3;
-
UNRECOGNIZED
public static final ComputeEngineDiskType UNRECOGNIZED
-
-
Field Detail
-
COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED_VALUE
public static final int COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED_VALUE
An unspecified disk type. Will be used as STANDARD.
COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
COMPUTE_ENGINE_DISK_TYPE_STANDARD_VALUE
public static final int COMPUTE_ENGINE_DISK_TYPE_STANDARD_VALUE
A Standard disk type.
COMPUTE_ENGINE_DISK_TYPE_STANDARD = 1;
- See Also:
- Constant Field Values
-
COMPUTE_ENGINE_DISK_TYPE_SSD_VALUE
public static final int COMPUTE_ENGINE_DISK_TYPE_SSD_VALUE
SSD hard disk type.
COMPUTE_ENGINE_DISK_TYPE_SSD = 2;
- See Also:
- Constant Field Values
-
COMPUTE_ENGINE_DISK_TYPE_BALANCED_VALUE
public static final int COMPUTE_ENGINE_DISK_TYPE_BALANCED_VALUE
An alternative to SSD persistent disks that balance performance and cost.
COMPUTE_ENGINE_DISK_TYPE_BALANCED = 3;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ComputeEngineDiskType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ComputeEngineDiskType c : ComputeEngineDiskType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ComputeEngineDiskType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ComputeEngineDiskType valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static ComputeEngineDiskType forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ComputeEngineDiskType> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ComputeEngineDiskType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-