Package com.google.cloud.clouddms.v1
Enum CloudSqlSettings.SqlDatabaseVersion
- java.lang.Object
-
- java.lang.Enum<CloudSqlSettings.SqlDatabaseVersion>
-
- com.google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<CloudSqlSettings.SqlDatabaseVersion>
- Enclosing class:
- CloudSqlSettings
public static enum CloudSqlSettings.SqlDatabaseVersion extends Enum<CloudSqlSettings.SqlDatabaseVersion> implements com.google.protobuf.ProtocolMessageEnum
The database engine type and version.
Protobuf enumgoogle.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MYSQL_5_6
MySQL 5.6.MYSQL_5_7
MySQL 5.7.MYSQL_8_0
MySQL 8.0.POSTGRES_10
PostgreSQL 10.POSTGRES_11
PostgreSQL 11.POSTGRES_12
PostgreSQL 12.POSTGRES_13
PostgreSQL 13.POSTGRES_14
PostgreSQL 14.POSTGRES_15
PostgreSQL 15.POSTGRES_9_6
PostgreSQL 9.6.SQL_DATABASE_VERSION_UNSPECIFIED
Unspecified version.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
MYSQL_5_6_VALUE
MySQL 5.6.static int
MYSQL_5_7_VALUE
MySQL 5.7.static int
MYSQL_8_0_VALUE
MySQL 8.0.static int
POSTGRES_10_VALUE
PostgreSQL 10.static int
POSTGRES_11_VALUE
PostgreSQL 11.static int
POSTGRES_12_VALUE
PostgreSQL 12.static int
POSTGRES_13_VALUE
PostgreSQL 13.static int
POSTGRES_14_VALUE
PostgreSQL 14.static int
POSTGRES_15_VALUE
PostgreSQL 15.static int
POSTGRES_9_6_VALUE
PostgreSQL 9.6.static int
SQL_DATABASE_VERSION_UNSPECIFIED_VALUE
Unspecified version.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CloudSqlSettings.SqlDatabaseVersion
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.SqlDatabaseVersion>
internalGetValueMap()
static CloudSqlSettings.SqlDatabaseVersion
valueOf(int value)
Deprecated.static CloudSqlSettings.SqlDatabaseVersion
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static CloudSqlSettings.SqlDatabaseVersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static CloudSqlSettings.SqlDatabaseVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SQL_DATABASE_VERSION_UNSPECIFIED
public static final CloudSqlSettings.SqlDatabaseVersion SQL_DATABASE_VERSION_UNSPECIFIED
Unspecified version.
SQL_DATABASE_VERSION_UNSPECIFIED = 0;
-
MYSQL_5_6
public static final CloudSqlSettings.SqlDatabaseVersion MYSQL_5_6
MySQL 5.6.
MYSQL_5_6 = 1;
-
MYSQL_5_7
public static final CloudSqlSettings.SqlDatabaseVersion MYSQL_5_7
MySQL 5.7.
MYSQL_5_7 = 2;
-
POSTGRES_9_6
public static final CloudSqlSettings.SqlDatabaseVersion POSTGRES_9_6
PostgreSQL 9.6.
POSTGRES_9_6 = 3;
-
POSTGRES_11
public static final CloudSqlSettings.SqlDatabaseVersion POSTGRES_11
PostgreSQL 11.
POSTGRES_11 = 4;
-
POSTGRES_10
public static final CloudSqlSettings.SqlDatabaseVersion POSTGRES_10
PostgreSQL 10.
POSTGRES_10 = 5;
-
MYSQL_8_0
public static final CloudSqlSettings.SqlDatabaseVersion MYSQL_8_0
MySQL 8.0.
MYSQL_8_0 = 6;
-
POSTGRES_12
public static final CloudSqlSettings.SqlDatabaseVersion POSTGRES_12
PostgreSQL 12.
POSTGRES_12 = 7;
-
POSTGRES_13
public static final CloudSqlSettings.SqlDatabaseVersion POSTGRES_13
PostgreSQL 13.
POSTGRES_13 = 8;
-
POSTGRES_14
public static final CloudSqlSettings.SqlDatabaseVersion POSTGRES_14
PostgreSQL 14.
POSTGRES_14 = 17;
-
POSTGRES_15
public static final CloudSqlSettings.SqlDatabaseVersion POSTGRES_15
PostgreSQL 15.
POSTGRES_15 = 18;
-
UNRECOGNIZED
public static final CloudSqlSettings.SqlDatabaseVersion UNRECOGNIZED
-
-
Field Detail
-
SQL_DATABASE_VERSION_UNSPECIFIED_VALUE
public static final int SQL_DATABASE_VERSION_UNSPECIFIED_VALUE
Unspecified version.
SQL_DATABASE_VERSION_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
MYSQL_5_6_VALUE
public static final int MYSQL_5_6_VALUE
MySQL 5.6.
MYSQL_5_6 = 1;
- See Also:
- Constant Field Values
-
MYSQL_5_7_VALUE
public static final int MYSQL_5_7_VALUE
MySQL 5.7.
MYSQL_5_7 = 2;
- See Also:
- Constant Field Values
-
POSTGRES_9_6_VALUE
public static final int POSTGRES_9_6_VALUE
PostgreSQL 9.6.
POSTGRES_9_6 = 3;
- See Also:
- Constant Field Values
-
POSTGRES_11_VALUE
public static final int POSTGRES_11_VALUE
PostgreSQL 11.
POSTGRES_11 = 4;
- See Also:
- Constant Field Values
-
POSTGRES_10_VALUE
public static final int POSTGRES_10_VALUE
PostgreSQL 10.
POSTGRES_10 = 5;
- See Also:
- Constant Field Values
-
MYSQL_8_0_VALUE
public static final int MYSQL_8_0_VALUE
MySQL 8.0.
MYSQL_8_0 = 6;
- See Also:
- Constant Field Values
-
POSTGRES_12_VALUE
public static final int POSTGRES_12_VALUE
PostgreSQL 12.
POSTGRES_12 = 7;
- See Also:
- Constant Field Values
-
POSTGRES_13_VALUE
public static final int POSTGRES_13_VALUE
PostgreSQL 13.
POSTGRES_13 = 8;
- See Also:
- Constant Field Values
-
POSTGRES_14_VALUE
public static final int POSTGRES_14_VALUE
PostgreSQL 14.
POSTGRES_14 = 17;
- See Also:
- Constant Field Values
-
POSTGRES_15_VALUE
public static final int POSTGRES_15_VALUE
PostgreSQL 15.
POSTGRES_15 = 18;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CloudSqlSettings.SqlDatabaseVersion[] 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 (CloudSqlSettings.SqlDatabaseVersion c : CloudSqlSettings.SqlDatabaseVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CloudSqlSettings.SqlDatabaseVersion 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 CloudSqlSettings.SqlDatabaseVersion 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 CloudSqlSettings.SqlDatabaseVersion 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<CloudSqlSettings.SqlDatabaseVersion> 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 CloudSqlSettings.SqlDatabaseVersion 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
-
-