public static enum Service.DatabaseType extends Enum<Service.DatabaseType> implements com.google.protobuf.ProtocolMessageEnum
The backend database type for the metastore service.Protobuf enum
google.cloud.metastore.v1beta.Service.DatabaseType| Enum Constant and Description |
|---|
DATABASE_TYPE_UNSPECIFIED
The DATABASE_TYPE is not set.
|
MYSQL
MySQL is used to persist the metastore data.
|
SPANNER
Spanner is used to persist the metastore data.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DATABASE_TYPE_UNSPECIFIED_VALUE
The DATABASE_TYPE is not set.
|
static int |
MYSQL_VALUE
MySQL is used to persist the metastore data.
|
static int |
SPANNER_VALUE
Spanner is used to persist the metastore data.
|
| Modifier and Type | Method and Description |
|---|---|
static Service.DatabaseType |
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<Service.DatabaseType> |
internalGetValueMap() |
static Service.DatabaseType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Service.DatabaseType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Service.DatabaseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Service.DatabaseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Service.DatabaseType DATABASE_TYPE_UNSPECIFIED
The DATABASE_TYPE is not set.
DATABASE_TYPE_UNSPECIFIED = 0;public static final Service.DatabaseType MYSQL
MySQL is used to persist the metastore data.
MYSQL = 1;public static final Service.DatabaseType SPANNER
Spanner is used to persist the metastore data.
SPANNER = 2;public static final Service.DatabaseType UNRECOGNIZED
public static final int DATABASE_TYPE_UNSPECIFIED_VALUE
The DATABASE_TYPE is not set.
DATABASE_TYPE_UNSPECIFIED = 0;public static final int MYSQL_VALUE
MySQL is used to persist the metastore data.
MYSQL = 1;public static final int SPANNER_VALUE
Spanner is used to persist the metastore data.
SPANNER = 2;public static Service.DatabaseType[] values()
for (Service.DatabaseType c : Service.DatabaseType.values()) System.out.println(c);
public static Service.DatabaseType 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 Service.DatabaseType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Service.DatabaseType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Service.DatabaseType> 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 Service.DatabaseType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.