public static enum NameMappingKey.Type extends Enum<NameMappingKey.Type> implements com.google.protobuf.ProtocolMessageEnum
The type of the object that is being mapped.Protobuf enum
google.cloud.bigquery.migration.v2.NameMappingKey.Type| Enum Constant and Description |
|---|
ATTRIBUTE
The object being mapped is an attribute.
|
ATTRIBUTE_ALIAS
The object being mapped is a an attribute alias.
|
DATABASE
The object being mapped is a database.
|
FUNCTION
The object being mapped is a function.
|
RELATION
The object being mapped is a relation.
|
RELATION_ALIAS
The object being mapped is a relation alias.
|
SCHEMA
The object being mapped is a schema.
|
TYPE_UNSPECIFIED
Unspecified name mapping type.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ATTRIBUTE_ALIAS_VALUE
The object being mapped is a an attribute alias.
|
static int |
ATTRIBUTE_VALUE
The object being mapped is an attribute.
|
static int |
DATABASE_VALUE
The object being mapped is a database.
|
static int |
FUNCTION_VALUE
The object being mapped is a function.
|
static int |
RELATION_ALIAS_VALUE
The object being mapped is a relation alias.
|
static int |
RELATION_VALUE
The object being mapped is a relation.
|
static int |
SCHEMA_VALUE
The object being mapped is a schema.
|
static int |
TYPE_UNSPECIFIED_VALUE
Unspecified name mapping type.
|
| Modifier and Type | Method and Description |
|---|---|
static NameMappingKey.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<NameMappingKey.Type> |
internalGetValueMap() |
static NameMappingKey.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NameMappingKey.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NameMappingKey.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NameMappingKey.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NameMappingKey.Type TYPE_UNSPECIFIED
Unspecified name mapping type.
TYPE_UNSPECIFIED = 0;public static final NameMappingKey.Type DATABASE
The object being mapped is a database.
DATABASE = 1;public static final NameMappingKey.Type SCHEMA
The object being mapped is a schema.
SCHEMA = 2;public static final NameMappingKey.Type RELATION
The object being mapped is a relation.
RELATION = 3;public static final NameMappingKey.Type ATTRIBUTE
The object being mapped is an attribute.
ATTRIBUTE = 4;public static final NameMappingKey.Type RELATION_ALIAS
The object being mapped is a relation alias.
RELATION_ALIAS = 5;public static final NameMappingKey.Type ATTRIBUTE_ALIAS
The object being mapped is a an attribute alias.
ATTRIBUTE_ALIAS = 6;public static final NameMappingKey.Type FUNCTION
The object being mapped is a function.
FUNCTION = 7;public static final NameMappingKey.Type UNRECOGNIZED
public static final int TYPE_UNSPECIFIED_VALUE
Unspecified name mapping type.
TYPE_UNSPECIFIED = 0;public static final int DATABASE_VALUE
The object being mapped is a database.
DATABASE = 1;public static final int SCHEMA_VALUE
The object being mapped is a schema.
SCHEMA = 2;public static final int RELATION_VALUE
The object being mapped is a relation.
RELATION = 3;public static final int ATTRIBUTE_VALUE
The object being mapped is an attribute.
ATTRIBUTE = 4;public static final int RELATION_ALIAS_VALUE
The object being mapped is a relation alias.
RELATION_ALIAS = 5;public static final int ATTRIBUTE_ALIAS_VALUE
The object being mapped is a an attribute alias.
ATTRIBUTE_ALIAS = 6;public static final int FUNCTION_VALUE
The object being mapped is a function.
FUNCTION = 7;public static NameMappingKey.Type[] values()
for (NameMappingKey.Type c : NameMappingKey.Type.values()) System.out.println(c);
public static NameMappingKey.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 NameMappingKey.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NameMappingKey.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NameMappingKey.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 NameMappingKey.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.