public static enum TranslationTaskDetails.TokenType extends Enum<TranslationTaskDetails.TokenType> implements com.google.protobuf.ProtocolMessageEnum
The special token data type.Protobuf enum
google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType| Enum Constant and Description |
|---|
BOOL
Token type as boolean.
|
DATE
Token type as date.
|
FLOAT64
Token type as float.
|
INT64
Token type as integer.
|
NUMERIC
Token type as numeric.
|
STRING
Token type as string.
|
TIMESTAMP
Token type as timestamp.
|
TOKEN_TYPE_UNSPECIFIED
Token type is not specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BOOL_VALUE
Token type as boolean.
|
static int |
DATE_VALUE
Token type as date.
|
static int |
FLOAT64_VALUE
Token type as float.
|
static int |
INT64_VALUE
Token type as integer.
|
static int |
NUMERIC_VALUE
Token type as numeric.
|
static int |
STRING_VALUE
Token type as string.
|
static int |
TIMESTAMP_VALUE
Token type as timestamp.
|
static int |
TOKEN_TYPE_UNSPECIFIED_VALUE
Token type is not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static TranslationTaskDetails.TokenType |
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<TranslationTaskDetails.TokenType> |
internalGetValueMap() |
static TranslationTaskDetails.TokenType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TranslationTaskDetails.TokenType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TranslationTaskDetails.TokenType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TranslationTaskDetails.TokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TranslationTaskDetails.TokenType TOKEN_TYPE_UNSPECIFIED
Token type is not specified.
TOKEN_TYPE_UNSPECIFIED = 0;public static final TranslationTaskDetails.TokenType STRING
Token type as string.
STRING = 1;public static final TranslationTaskDetails.TokenType INT64
Token type as integer.
INT64 = 2;public static final TranslationTaskDetails.TokenType NUMERIC
Token type as numeric.
NUMERIC = 3;public static final TranslationTaskDetails.TokenType BOOL
Token type as boolean.
BOOL = 4;public static final TranslationTaskDetails.TokenType FLOAT64
Token type as float.
FLOAT64 = 5;public static final TranslationTaskDetails.TokenType DATE
Token type as date.
DATE = 6;public static final TranslationTaskDetails.TokenType TIMESTAMP
Token type as timestamp.
TIMESTAMP = 7;public static final TranslationTaskDetails.TokenType UNRECOGNIZED
public static final int TOKEN_TYPE_UNSPECIFIED_VALUE
Token type is not specified.
TOKEN_TYPE_UNSPECIFIED = 0;public static final int STRING_VALUE
Token type as string.
STRING = 1;public static final int INT64_VALUE
Token type as integer.
INT64 = 2;public static final int NUMERIC_VALUE
Token type as numeric.
NUMERIC = 3;public static final int BOOL_VALUE
Token type as boolean.
BOOL = 4;public static final int FLOAT64_VALUE
Token type as float.
FLOAT64 = 5;public static final int DATE_VALUE
Token type as date.
DATE = 6;public static final int TIMESTAMP_VALUE
Token type as timestamp.
TIMESTAMP = 7;public static TranslationTaskDetails.TokenType[] values()
for (TranslationTaskDetails.TokenType c : TranslationTaskDetails.TokenType.values()) System.out.println(c);
public static TranslationTaskDetails.TokenType 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 TranslationTaskDetails.TokenType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TranslationTaskDetails.TokenType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TranslationTaskDetails.TokenType> 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 TranslationTaskDetails.TokenType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.