Enum Engine
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Engine>
@Generated
public enum Engine
extends Enum<Engine>
implements com.google.protobuf.ProtocolMessageEnum
Engine refers to underlying database binary running in an instance.Protobuf enum
google.cloud.databasecenter.v1beta.Engine-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOracle Autonomous DB Serverless engine.Oracle Exadata engine.Firestore with datastore mode.Firestore with MongoDB compatibility.Firestore with native mode.Memorystore with Redis dialect.Memorystore with Redis cluster dialect.MySQL binary running as an engine in the database instance.Native database binary running as engine in instance.Other refers to rest of other database engine.Postgres binary running as engine in database instance.SQLServer binary running as engine in database instance.UNSPECIFIED means engine type is not known or available. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intOracle Autonomous DB Serverless engine.static final intOracle Exadata engine.static final intFirestore with datastore mode.static final intFirestore with MongoDB compatibility.static final intFirestore with native mode.static final intMemorystore with Redis cluster dialect.static final intMemorystore with Redis dialect.static final intMySQL binary running as an engine in the database instance.static final intNative database binary running as engine in instance.static final intOther refers to rest of other database engine.static final intPostgres binary running as engine in database instance.static final intSQLServer binary running as engine in database instance.static final intUNSPECIFIED means engine type is not known or available. -
Method Summary
Modifier and TypeMethodDescriptionstatic EngineforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Engine>static EnginevalueOf(int value) Deprecated.static EnginevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static EngineReturns the enum constant of this type with the specified name.static Engine[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ENGINE_UNSPECIFIED
UNSPECIFIED means engine type is not known or available.
ENGINE_UNSPECIFIED = 0; -
ENGINE_MYSQL
MySQL binary running as an engine in the database instance.
ENGINE_MYSQL = 1; -
ENGINE_POSTGRES
Postgres binary running as engine in database instance.
ENGINE_POSTGRES = 2; -
ENGINE_SQL_SERVER
SQLServer binary running as engine in database instance.
ENGINE_SQL_SERVER = 3; -
ENGINE_NATIVE
Native database binary running as engine in instance.
ENGINE_NATIVE = 4; -
ENGINE_MEMORYSTORE_FOR_REDIS
Memorystore with Redis dialect.
ENGINE_MEMORYSTORE_FOR_REDIS = 8; -
ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER
Memorystore with Redis cluster dialect.
ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER = 9; -
ENGINE_FIRESTORE_WITH_NATIVE_MODE
Firestore with native mode.
ENGINE_FIRESTORE_WITH_NATIVE_MODE = 10; -
ENGINE_FIRESTORE_WITH_DATASTORE_MODE
Firestore with datastore mode.
ENGINE_FIRESTORE_WITH_DATASTORE_MODE = 11; -
ENGINE_EXADATA_ORACLE
Oracle Exadata engine.
ENGINE_EXADATA_ORACLE = 12; -
ENGINE_ADB_SERVERLESS_ORACLE
Oracle Autonomous DB Serverless engine.
ENGINE_ADB_SERVERLESS_ORACLE = 13; -
ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE
Firestore with MongoDB compatibility.
ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE = 14; -
ENGINE_OTHER
Other refers to rest of other database engine. This is to be when engine is known, but it is not present in this enum.
ENGINE_OTHER = 6; -
UNRECOGNIZED
-
-
Field Details
-
ENGINE_UNSPECIFIED_VALUE
public static final int ENGINE_UNSPECIFIED_VALUEUNSPECIFIED means engine type is not known or available.
ENGINE_UNSPECIFIED = 0;- See Also:
-
ENGINE_MYSQL_VALUE
public static final int ENGINE_MYSQL_VALUEMySQL binary running as an engine in the database instance.
ENGINE_MYSQL = 1;- See Also:
-
ENGINE_POSTGRES_VALUE
public static final int ENGINE_POSTGRES_VALUEPostgres binary running as engine in database instance.
ENGINE_POSTGRES = 2;- See Also:
-
ENGINE_SQL_SERVER_VALUE
public static final int ENGINE_SQL_SERVER_VALUESQLServer binary running as engine in database instance.
ENGINE_SQL_SERVER = 3;- See Also:
-
ENGINE_NATIVE_VALUE
public static final int ENGINE_NATIVE_VALUENative database binary running as engine in instance.
ENGINE_NATIVE = 4;- See Also:
-
ENGINE_MEMORYSTORE_FOR_REDIS_VALUE
public static final int ENGINE_MEMORYSTORE_FOR_REDIS_VALUEMemorystore with Redis dialect.
ENGINE_MEMORYSTORE_FOR_REDIS = 8;- See Also:
-
ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER_VALUE
public static final int ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER_VALUEMemorystore with Redis cluster dialect.
ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER = 9;- See Also:
-
ENGINE_FIRESTORE_WITH_NATIVE_MODE_VALUE
public static final int ENGINE_FIRESTORE_WITH_NATIVE_MODE_VALUEFirestore with native mode.
ENGINE_FIRESTORE_WITH_NATIVE_MODE = 10;- See Also:
-
ENGINE_FIRESTORE_WITH_DATASTORE_MODE_VALUE
public static final int ENGINE_FIRESTORE_WITH_DATASTORE_MODE_VALUEFirestore with datastore mode.
ENGINE_FIRESTORE_WITH_DATASTORE_MODE = 11;- See Also:
-
ENGINE_EXADATA_ORACLE_VALUE
public static final int ENGINE_EXADATA_ORACLE_VALUEOracle Exadata engine.
ENGINE_EXADATA_ORACLE = 12;- See Also:
-
ENGINE_ADB_SERVERLESS_ORACLE_VALUE
public static final int ENGINE_ADB_SERVERLESS_ORACLE_VALUEOracle Autonomous DB Serverless engine.
ENGINE_ADB_SERVERLESS_ORACLE = 13;- See Also:
-
ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE_VALUE
public static final int ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE_VALUEFirestore with MongoDB compatibility.
ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE = 14;- See Also:
-
ENGINE_OTHER_VALUE
public static final int ENGINE_OTHER_VALUEOther refers to rest of other database engine. This is to be when engine is known, but it is not present in this enum.
ENGINE_OTHER = 6;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-