public static enum CloudSqlSettings.SqlDataDiskType extends Enum<CloudSqlSettings.SqlDataDiskType> implements com.google.protobuf.ProtocolMessageEnum
The storage options for Cloud SQL databases.Protobuf enum
google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType| Enum Constant and Description |
|---|
PD_HDD
HDD disk.
|
PD_SSD
SSD disk.
|
SQL_DATA_DISK_TYPE_UNSPECIFIED
Unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
PD_HDD_VALUE
HDD disk.
|
static int |
PD_SSD_VALUE
SSD disk.
|
static int |
SQL_DATA_DISK_TYPE_UNSPECIFIED_VALUE
Unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static CloudSqlSettings.SqlDataDiskType |
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<CloudSqlSettings.SqlDataDiskType> |
internalGetValueMap() |
static CloudSqlSettings.SqlDataDiskType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CloudSqlSettings.SqlDataDiskType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CloudSqlSettings.SqlDataDiskType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CloudSqlSettings.SqlDataDiskType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloudSqlSettings.SqlDataDiskType SQL_DATA_DISK_TYPE_UNSPECIFIED
Unspecified.
SQL_DATA_DISK_TYPE_UNSPECIFIED = 0;public static final CloudSqlSettings.SqlDataDiskType PD_SSD
SSD disk.
PD_SSD = 1;public static final CloudSqlSettings.SqlDataDiskType PD_HDD
HDD disk.
PD_HDD = 2;public static final CloudSqlSettings.SqlDataDiskType UNRECOGNIZED
public static final int SQL_DATA_DISK_TYPE_UNSPECIFIED_VALUE
Unspecified.
SQL_DATA_DISK_TYPE_UNSPECIFIED = 0;public static final int PD_SSD_VALUE
SSD disk.
PD_SSD = 1;public static final int PD_HDD_VALUE
HDD disk.
PD_HDD = 2;public static CloudSqlSettings.SqlDataDiskType[] values()
for (CloudSqlSettings.SqlDataDiskType c : CloudSqlSettings.SqlDataDiskType.values()) System.out.println(c);
public static CloudSqlSettings.SqlDataDiskType 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 CloudSqlSettings.SqlDataDiskType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static CloudSqlSettings.SqlDataDiskType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<CloudSqlSettings.SqlDataDiskType> 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 CloudSqlSettings.SqlDataDiskType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.