public static enum Database.Type extends Enum<Database.Type> implements com.google.protobuf.ProtocolMessageEnum
The database type.Protobuf enum
google.cloud.bigquery.biglake.v1.Database.Type| Enum Constant and Description |
|---|
HIVE
Represents a database storing tables compatible with Hive Metastore
tables.
|
TYPE_UNSPECIFIED
The type is not specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
HIVE_VALUE
Represents a database storing tables compatible with Hive Metastore
tables.
|
static int |
TYPE_UNSPECIFIED_VALUE
The type is not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static Database.Type |
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<Database.Type> |
internalGetValueMap() |
static Database.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Database.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Database.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Database.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Database.Type TYPE_UNSPECIFIED
The type is not specified.
TYPE_UNSPECIFIED = 0;public static final Database.Type HIVE
Represents a database storing tables compatible with Hive Metastore tables.
HIVE = 1;public static final Database.Type UNRECOGNIZED
public static final int TYPE_UNSPECIFIED_VALUE
The type is not specified.
TYPE_UNSPECIFIED = 0;public static final int HIVE_VALUE
Represents a database storing tables compatible with Hive Metastore tables.
HIVE = 1;public static Database.Type[] values()
for (Database.Type c : Database.Type.values()) System.out.println(c);
public static Database.Type 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 Database.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Database.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Database.Type> 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 Database.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.