Enum ImportedDataInfo.Format
- java.lang.Object
-
- java.lang.Enum<ImportedDataInfo.Format>
-
- com.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Format
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<ImportedDataInfo.Format>
- Enclosing class:
- ImportedDataInfo
public static enum ImportedDataInfo.Format extends Enum<ImportedDataInfo.Format> implements com.google.protobuf.ProtocolMessageEnum
Data format.
Protobuf enumgoogle.cloud.bigquery.datatransfer.v1.ImportedDataInfo.Format
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVRO
Avro format.CAPACITOR
Capacitor.COLUMNIO
ColumnIO.CSV
CSV format.FORMAT_UNSPECIFIED
Unspecified format.JSON
Newline-delimited JSON.ORC
ORC format.PARQUET
Parquet format.RECORDIO
RecordIO.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
AVRO_VALUE
Avro format.static int
CAPACITOR_VALUE
Capacitor.static int
COLUMNIO_VALUE
ColumnIO.static int
CSV_VALUE
CSV format.static int
FORMAT_UNSPECIFIED_VALUE
Unspecified format.static int
JSON_VALUE
Newline-delimited JSON.static int
ORC_VALUE
ORC format.static int
PARQUET_VALUE
Parquet format.static int
RECORDIO_VALUE
RecordIO.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ImportedDataInfo.Format
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.Format>
internalGetValueMap()
static ImportedDataInfo.Format
valueOf(int value)
Deprecated.static ImportedDataInfo.Format
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ImportedDataInfo.Format
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImportedDataInfo.Format[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FORMAT_UNSPECIFIED
public static final ImportedDataInfo.Format FORMAT_UNSPECIFIED
Unspecified format. In this case, we have to infer the format from the data source.
FORMAT_UNSPECIFIED = 0;
-
CSV
public static final ImportedDataInfo.Format CSV
CSV format.
CSV = 1;
-
JSON
public static final ImportedDataInfo.Format JSON
Newline-delimited JSON.
JSON = 2;
-
AVRO
public static final ImportedDataInfo.Format AVRO
Avro format. See http://avro.apache.org .
AVRO = 3;
-
RECORDIO
public static final ImportedDataInfo.Format RECORDIO
RecordIO.
RECORDIO = 4;
-
COLUMNIO
public static final ImportedDataInfo.Format COLUMNIO
ColumnIO.
COLUMNIO = 5;
-
CAPACITOR
public static final ImportedDataInfo.Format CAPACITOR
Capacitor.
CAPACITOR = 6;
-
PARQUET
public static final ImportedDataInfo.Format PARQUET
Parquet format. See https://parquet.apache.org .
PARQUET = 7;
-
ORC
public static final ImportedDataInfo.Format ORC
ORC format. See https://orc.apache.org .
ORC = 8;
-
UNRECOGNIZED
public static final ImportedDataInfo.Format UNRECOGNIZED
-
-
Field Detail
-
FORMAT_UNSPECIFIED_VALUE
public static final int FORMAT_UNSPECIFIED_VALUE
Unspecified format. In this case, we have to infer the format from the data source.
FORMAT_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
CSV_VALUE
public static final int CSV_VALUE
CSV format.
CSV = 1;
- See Also:
- Constant Field Values
-
JSON_VALUE
public static final int JSON_VALUE
Newline-delimited JSON.
JSON = 2;
- See Also:
- Constant Field Values
-
AVRO_VALUE
public static final int AVRO_VALUE
Avro format. See http://avro.apache.org .
AVRO = 3;
- See Also:
- Constant Field Values
-
RECORDIO_VALUE
public static final int RECORDIO_VALUE
RecordIO.
RECORDIO = 4;
- See Also:
- Constant Field Values
-
COLUMNIO_VALUE
public static final int COLUMNIO_VALUE
ColumnIO.
COLUMNIO = 5;
- See Also:
- Constant Field Values
-
CAPACITOR_VALUE
public static final int CAPACITOR_VALUE
Capacitor.
CAPACITOR = 6;
- See Also:
- Constant Field Values
-
PARQUET_VALUE
public static final int PARQUET_VALUE
Parquet format. See https://parquet.apache.org .
PARQUET = 7;
- See Also:
- Constant Field Values
-
ORC_VALUE
public static final int ORC_VALUE
ORC format. See https://orc.apache.org .
ORC = 8;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ImportedDataInfo.Format[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ImportedDataInfo.Format c : ImportedDataInfo.Format.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImportedDataInfo.Format valueOf(String name)
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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ImportedDataInfo.Format valueOf(int value)
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
public static ImportedDataInfo.Format forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ImportedDataInfo.Format> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ImportedDataInfo.Format 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
-
-