public static enum Table.TableFieldSchema.Type extends Enum<Table.TableFieldSchema.Type> implements com.google.protobuf.ProtocolMessageEnum
google.cloud.bigquery.storage.v1alpha2.TableFieldSchema.Type| Enum Constant and Description |
|---|
BOOL
2-valued
|
BYTES
64K, Binary
|
DATE
Civil date - Year, Month, Day
|
DATETIME
Combination of civil date and civil time
|
DOUBLE
64-bit IEEE floating point
|
GEOGRAPHY
Geography object (go/googlesql_geography)
|
INT64
64-bit signed
|
NUMERIC
Numeric value (go/googlesql_numeric)
|
STRING
64K, UTF8
|
STRUCT
Aggregate type
|
TIME
Civil time - Hour, Minute, Second, Microseconds
|
TIMESTAMP
64-bit signed usec since UTC epoch
|
TYPE_UNSPECIFIED
Illegal value
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BOOL_VALUE
2-valued
|
static int |
BYTES_VALUE
64K, Binary
|
static int |
DATE_VALUE
Civil date - Year, Month, Day
|
static int |
DATETIME_VALUE
Combination of civil date and civil time
|
static int |
DOUBLE_VALUE
64-bit IEEE floating point
|
static int |
GEOGRAPHY_VALUE
Geography object (go/googlesql_geography)
|
static int |
INT64_VALUE
64-bit signed
|
static int |
NUMERIC_VALUE
Numeric value (go/googlesql_numeric)
|
static int |
STRING_VALUE
64K, UTF8
|
static int |
STRUCT_VALUE
Aggregate type
|
static int |
TIME_VALUE
Civil time - Hour, Minute, Second, Microseconds
|
static int |
TIMESTAMP_VALUE
64-bit signed usec since UTC epoch
|
static int |
TYPE_UNSPECIFIED_VALUE
Illegal value
|
| Modifier and Type | Method and Description |
|---|---|
static Table.TableFieldSchema.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<Table.TableFieldSchema.Type> |
internalGetValueMap() |
static Table.TableFieldSchema.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Table.TableFieldSchema.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Table.TableFieldSchema.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Table.TableFieldSchema.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Table.TableFieldSchema.Type TYPE_UNSPECIFIED
Illegal value
TYPE_UNSPECIFIED = 0;public static final Table.TableFieldSchema.Type STRING
64K, UTF8
STRING = 1;public static final Table.TableFieldSchema.Type INT64
64-bit signed
INT64 = 2;public static final Table.TableFieldSchema.Type DOUBLE
64-bit IEEE floating point
DOUBLE = 3;public static final Table.TableFieldSchema.Type STRUCT
Aggregate type
STRUCT = 4;public static final Table.TableFieldSchema.Type BYTES
64K, Binary
BYTES = 5;public static final Table.TableFieldSchema.Type BOOL
2-valued
BOOL = 6;public static final Table.TableFieldSchema.Type TIMESTAMP
64-bit signed usec since UTC epoch
TIMESTAMP = 7;public static final Table.TableFieldSchema.Type DATE
Civil date - Year, Month, Day
DATE = 8;public static final Table.TableFieldSchema.Type TIME
Civil time - Hour, Minute, Second, Microseconds
TIME = 9;public static final Table.TableFieldSchema.Type DATETIME
Combination of civil date and civil time
DATETIME = 10;public static final Table.TableFieldSchema.Type GEOGRAPHY
Geography object (go/googlesql_geography)
GEOGRAPHY = 11;public static final Table.TableFieldSchema.Type NUMERIC
Numeric value (go/googlesql_numeric)
NUMERIC = 12;public static final Table.TableFieldSchema.Type UNRECOGNIZED
public static final int TYPE_UNSPECIFIED_VALUE
Illegal value
TYPE_UNSPECIFIED = 0;public static final int STRING_VALUE
64K, UTF8
STRING = 1;public static final int INT64_VALUE
64-bit signed
INT64 = 2;public static final int DOUBLE_VALUE
64-bit IEEE floating point
DOUBLE = 3;public static final int STRUCT_VALUE
Aggregate type
STRUCT = 4;public static final int BYTES_VALUE
64K, Binary
BYTES = 5;public static final int BOOL_VALUE
2-valued
BOOL = 6;public static final int TIMESTAMP_VALUE
64-bit signed usec since UTC epoch
TIMESTAMP = 7;public static final int DATE_VALUE
Civil date - Year, Month, Day
DATE = 8;public static final int TIME_VALUE
Civil time - Hour, Minute, Second, Microseconds
TIME = 9;public static final int DATETIME_VALUE
Combination of civil date and civil time
DATETIME = 10;public static final int GEOGRAPHY_VALUE
Geography object (go/googlesql_geography)
GEOGRAPHY = 11;public static final int NUMERIC_VALUE
Numeric value (go/googlesql_numeric)
NUMERIC = 12;public static Table.TableFieldSchema.Type[] values()
for (Table.TableFieldSchema.Type c : Table.TableFieldSchema.Type.values()) System.out.println(c);
public static Table.TableFieldSchema.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 Table.TableFieldSchema.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Table.TableFieldSchema.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Table.TableFieldSchema.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 Table.TableFieldSchema.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020 Google LLC. All rights reserved.