Enum TableFieldSchema.Type
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<TableFieldSchema.Type>
- Enclosing class:
- TableFieldSchema
public static enum TableFieldSchema.Type
extends Enum<TableFieldSchema.Type>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
google.cloud.bigquery.storage.v1.TableFieldSchema.Type-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBigNumeric value2-valued64K, BinaryCivil date - Year, Month, DayCombination of civil date and civil time64-bit IEEE floating pointGeography object64-bit signedIntervalJSON, StringNumeric valueRANGE64K, UTF8Aggregate typeCivil time - Hour, Minute, Second, Microseconds64-bit signed usec since UTC epochIllegal value -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBigNumeric valuestatic final int2-valuedstatic final int64K, Binarystatic final intCivil date - Year, Month, Daystatic final intCombination of civil date and civil timestatic final int64-bit IEEE floating pointstatic final intGeography objectstatic final int64-bit signedstatic final intIntervalstatic final intJSON, Stringstatic final intNumeric valuestatic final intRANGEstatic final int64K, UTF8static final intAggregate typestatic final intCivil time - Hour, Minute, Second, Microsecondsstatic final int64-bit signed usec since UTC epochstatic final intIllegal value -
Method Summary
Modifier and TypeMethodDescriptionstatic TableFieldSchema.TypeforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<TableFieldSchema.Type>static TableFieldSchema.TypevalueOf(int value) Deprecated.static TableFieldSchema.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static TableFieldSchema.TypeReturns the enum constant of this type with the specified name.static TableFieldSchema.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TYPE_UNSPECIFIED
Illegal value
TYPE_UNSPECIFIED = 0; -
STRING
64K, UTF8
STRING = 1; -
INT64
64-bit signed
INT64 = 2; -
DOUBLE
64-bit IEEE floating point
DOUBLE = 3; -
STRUCT
Aggregate type
STRUCT = 4; -
BYTES
64K, Binary
BYTES = 5; -
BOOL
2-valued
BOOL = 6; -
TIMESTAMP
64-bit signed usec since UTC epoch
TIMESTAMP = 7; -
DATE
Civil date - Year, Month, Day
DATE = 8; -
TIME
Civil time - Hour, Minute, Second, Microseconds
TIME = 9; -
DATETIME
Combination of civil date and civil time
DATETIME = 10; -
GEOGRAPHY
Geography object
GEOGRAPHY = 11; -
NUMERIC
Numeric value
NUMERIC = 12; -
BIGNUMERIC
BigNumeric value
BIGNUMERIC = 13; -
INTERVAL
Interval
INTERVAL = 14; -
JSON
JSON, String
JSON = 15; -
RANGE
RANGE
RANGE = 16; -
UNRECOGNIZED
-
-
Field Details
-
TYPE_UNSPECIFIED_VALUE
public static final int TYPE_UNSPECIFIED_VALUEIllegal value
TYPE_UNSPECIFIED = 0;- See Also:
-
STRING_VALUE
public static final int STRING_VALUE64K, UTF8
STRING = 1;- See Also:
-
INT64_VALUE
public static final int INT64_VALUE64-bit signed
INT64 = 2;- See Also:
-
DOUBLE_VALUE
public static final int DOUBLE_VALUE64-bit IEEE floating point
DOUBLE = 3;- See Also:
-
STRUCT_VALUE
public static final int STRUCT_VALUEAggregate type
STRUCT = 4;- See Also:
-
BYTES_VALUE
public static final int BYTES_VALUE64K, Binary
BYTES = 5;- See Also:
-
BOOL_VALUE
public static final int BOOL_VALUE2-valued
BOOL = 6;- See Also:
-
TIMESTAMP_VALUE
public static final int TIMESTAMP_VALUE64-bit signed usec since UTC epoch
TIMESTAMP = 7;- See Also:
-
DATE_VALUE
public static final int DATE_VALUECivil date - Year, Month, Day
DATE = 8;- See Also:
-
TIME_VALUE
public static final int TIME_VALUECivil time - Hour, Minute, Second, Microseconds
TIME = 9;- See Also:
-
DATETIME_VALUE
public static final int DATETIME_VALUECombination of civil date and civil time
DATETIME = 10;- See Also:
-
GEOGRAPHY_VALUE
public static final int GEOGRAPHY_VALUEGeography object
GEOGRAPHY = 11;- See Also:
-
NUMERIC_VALUE
public static final int NUMERIC_VALUENumeric value
NUMERIC = 12;- See Also:
-
BIGNUMERIC_VALUE
public static final int BIGNUMERIC_VALUEBigNumeric value
BIGNUMERIC = 13;- See Also:
-
INTERVAL_VALUE
public static final int INTERVAL_VALUEInterval
INTERVAL = 14;- See Also:
-
JSON_VALUE
public static final int JSON_VALUEJSON, String
JSON = 15;- See Also:
-
RANGE_VALUE
public static final int RANGE_VALUERANGE
RANGE = 16;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static TableFieldSchema.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-