public static enum ImportedDataInfo.FieldSchema.Type extends Enum<ImportedDataInfo.FieldSchema.Type> implements com.google.protobuf.ProtocolMessageEnum
LINT.IfChange Field type.Protobuf enum
google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema.Type| Enum Constant and Description |
|---|
BOOLEAN
2-valued.
|
BYTES
64K, Binary.
|
DATE
Civil date - Year, Month, Day.
|
DATETIME
Combination of civil date and civil time.
|
FLOAT
64-bit IEEE floating point.
|
GEOGRAPHY
Geography object (go/googlesql_geography).
|
INTEGER
64-bit signed.
|
NUMERIC
Numeric type with 38 decimal digits of precision and 9 decimal digits
of scale.
|
RECORD
Aggregate type.
|
STRING
64K, UTF8.
|
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 |
BOOLEAN_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 |
FLOAT_VALUE
64-bit IEEE floating point.
|
static int |
GEOGRAPHY_VALUE
Geography object (go/googlesql_geography).
|
static int |
INTEGER_VALUE
64-bit signed.
|
static int |
NUMERIC_VALUE
Numeric type with 38 decimal digits of precision and 9 decimal digits
of scale.
|
static int |
RECORD_VALUE
Aggregate type.
|
static int |
STRING_VALUE
64K, UTF8.
|
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 ImportedDataInfo.FieldSchema.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<ImportedDataInfo.FieldSchema.Type> |
internalGetValueMap() |
static ImportedDataInfo.FieldSchema.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ImportedDataInfo.FieldSchema.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ImportedDataInfo.FieldSchema.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImportedDataInfo.FieldSchema.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImportedDataInfo.FieldSchema.Type TYPE_UNSPECIFIED
Illegal value.
TYPE_UNSPECIFIED = 0;public static final ImportedDataInfo.FieldSchema.Type STRING
64K, UTF8.
STRING = 1;public static final ImportedDataInfo.FieldSchema.Type INTEGER
64-bit signed.
INTEGER = 2;public static final ImportedDataInfo.FieldSchema.Type FLOAT
64-bit IEEE floating point.
FLOAT = 3;public static final ImportedDataInfo.FieldSchema.Type RECORD
Aggregate type.
RECORD = 4;public static final ImportedDataInfo.FieldSchema.Type BYTES
64K, Binary.
BYTES = 5;public static final ImportedDataInfo.FieldSchema.Type BOOLEAN
2-valued.
BOOLEAN = 6;public static final ImportedDataInfo.FieldSchema.Type TIMESTAMP
64-bit signed usec since UTC epoch.
TIMESTAMP = 7;public static final ImportedDataInfo.FieldSchema.Type DATE
Civil date - Year, Month, Day.
DATE = 8;public static final ImportedDataInfo.FieldSchema.Type TIME
Civil time - Hour, Minute, Second, Microseconds.
TIME = 9;public static final ImportedDataInfo.FieldSchema.Type DATETIME
Combination of civil date and civil time.
DATETIME = 10;public static final ImportedDataInfo.FieldSchema.Type NUMERIC
Numeric type with 38 decimal digits of precision and 9 decimal digits of scale.
NUMERIC = 11;public static final ImportedDataInfo.FieldSchema.Type GEOGRAPHY
Geography object (go/googlesql_geography).
GEOGRAPHY = 12;public static final ImportedDataInfo.FieldSchema.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 INTEGER_VALUE
64-bit signed.
INTEGER = 2;public static final int FLOAT_VALUE
64-bit IEEE floating point.
FLOAT = 3;public static final int RECORD_VALUE
Aggregate type.
RECORD = 4;public static final int BYTES_VALUE
64K, Binary.
BYTES = 5;public static final int BOOLEAN_VALUE
2-valued.
BOOLEAN = 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 NUMERIC_VALUE
Numeric type with 38 decimal digits of precision and 9 decimal digits of scale.
NUMERIC = 11;public static final int GEOGRAPHY_VALUE
Geography object (go/googlesql_geography).
GEOGRAPHY = 12;public static ImportedDataInfo.FieldSchema.Type[] values()
for (ImportedDataInfo.FieldSchema.Type c : ImportedDataInfo.FieldSchema.Type.values()) System.out.println(c);
public static ImportedDataInfo.FieldSchema.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 ImportedDataInfo.FieldSchema.Type valueOf(int value)
forNumber(int) instead.public static ImportedDataInfo.FieldSchema.Type forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ImportedDataInfo.FieldSchema.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 ImportedDataInfo.FieldSchema.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.