public enum DatabaseEngine extends Enum<DatabaseEngine> implements com.google.protobuf.ProtocolMessageEnum
The database engine types.Protobuf enum
google.cloud.clouddms.v1.DatabaseEngine| Enum Constant and Description |
|---|
DATABASE_ENGINE_UNSPECIFIED
The source database engine of the migration job is unknown.
|
MYSQL
The source engine is MySQL.
|
ORACLE
The source engine is Oracle.
|
POSTGRESQL
The source engine is PostgreSQL.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DATABASE_ENGINE_UNSPECIFIED_VALUE
The source database engine of the migration job is unknown.
|
static int |
MYSQL_VALUE
The source engine is MySQL.
|
static int |
ORACLE_VALUE
The source engine is Oracle.
|
static int |
POSTGRESQL_VALUE
The source engine is PostgreSQL.
|
| Modifier and Type | Method and Description |
|---|---|
static DatabaseEngine |
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<DatabaseEngine> |
internalGetValueMap() |
static DatabaseEngine |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DatabaseEngine |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DatabaseEngine |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseEngine[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseEngine DATABASE_ENGINE_UNSPECIFIED
The source database engine of the migration job is unknown.
DATABASE_ENGINE_UNSPECIFIED = 0;public static final DatabaseEngine MYSQL
The source engine is MySQL.
MYSQL = 1;public static final DatabaseEngine POSTGRESQL
The source engine is PostgreSQL.
POSTGRESQL = 2;public static final DatabaseEngine ORACLE
The source engine is Oracle.
ORACLE = 4;public static final DatabaseEngine UNRECOGNIZED
public static final int DATABASE_ENGINE_UNSPECIFIED_VALUE
The source database engine of the migration job is unknown.
DATABASE_ENGINE_UNSPECIFIED = 0;public static final int MYSQL_VALUE
The source engine is MySQL.
MYSQL = 1;public static final int POSTGRESQL_VALUE
The source engine is PostgreSQL.
POSTGRESQL = 2;public static final int ORACLE_VALUE
The source engine is Oracle.
ORACLE = 4;public static DatabaseEngine[] values()
for (DatabaseEngine c : DatabaseEngine.values()) System.out.println(c);
public static DatabaseEngine 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 DatabaseEngine valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DatabaseEngine forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DatabaseEngine> 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 DatabaseEngine valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.