public enum DataFormat extends Enum<DataFormat> implements com.google.protobuf.ProtocolMessageEnum
Data format for input or output data.Protobuf enum
google.cloud.bigquery.storage.v1beta2.DataFormat| Enum Constant and Description |
|---|
ARROW
Arrow is a standard open source column-based message format.
|
AVRO
Avro is a standard open source row based file format.
|
DATA_FORMAT_UNSPECIFIED
DATA_FORMAT_UNSPECIFIED = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ARROW_VALUE
Arrow is a standard open source column-based message format.
|
static int |
AVRO_VALUE
Avro is a standard open source row based file format.
|
static int |
DATA_FORMAT_UNSPECIFIED_VALUE
DATA_FORMAT_UNSPECIFIED = 0; |
| Modifier and Type | Method and Description |
|---|---|
static DataFormat |
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<DataFormat> |
internalGetValueMap() |
static DataFormat |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DataFormat |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DataFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataFormat DATA_FORMAT_UNSPECIFIED
DATA_FORMAT_UNSPECIFIED = 0;public static final DataFormat AVRO
Avro is a standard open source row based file format. See https://avro.apache.org/ for more details.
AVRO = 1;public static final DataFormat ARROW
Arrow is a standard open source column-based message format. See https://arrow.apache.org/ for more details.
ARROW = 2;public static final DataFormat UNRECOGNIZED
public static final int DATA_FORMAT_UNSPECIFIED_VALUE
DATA_FORMAT_UNSPECIFIED = 0;public static final int AVRO_VALUE
Avro is a standard open source row based file format. See https://avro.apache.org/ for more details.
AVRO = 1;public static final int ARROW_VALUE
Arrow is a standard open source column-based message format. See https://arrow.apache.org/ for more details.
ARROW = 2;public static DataFormat[] values()
for (DataFormat c : DataFormat.values()) System.out.println(c);
public static DataFormat 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 DataFormat valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DataFormat forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DataFormat> 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 DataFormat valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021 Google LLC. All rights reserved.