Enum ArrowSerializationOptions.CompressionCodec
java.lang.Object
java.lang.Enum<ArrowSerializationOptions.CompressionCodec>
com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ArrowSerializationOptions.CompressionCodec>
- Enclosing class:
- ArrowSerializationOptions
public static enum ArrowSerializationOptions.CompressionCodec
extends Enum<ArrowSerializationOptions.CompressionCodec>
implements com.google.protobuf.ProtocolMessageEnum
Compression codec's supported by Arrow.Protobuf enum
google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIf unspecified no compression will be used.LZ4 Frame (https://github.com/lz4/lz4/blob/dev/doc/lz4_Frame_format.md)Zstandard compression. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIf unspecified no compression will be used.static final intLZ4 Frame (https://github.com/lz4/lz4/blob/dev/doc/lz4_Frame_format.md)static final intZstandard compression. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(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<ArrowSerializationOptions.CompressionCodec>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
COMPRESSION_UNSPECIFIED
If unspecified no compression will be used.
COMPRESSION_UNSPECIFIED = 0; -
LZ4_FRAME
LZ4 Frame (https://github.com/lz4/lz4/blob/dev/doc/lz4_Frame_format.md)
LZ4_FRAME = 1; -
ZSTD
Zstandard compression.
ZSTD = 2; -
UNRECOGNIZED
-
-
Field Details
-
COMPRESSION_UNSPECIFIED_VALUE
public static final int COMPRESSION_UNSPECIFIED_VALUEIf unspecified no compression will be used.
COMPRESSION_UNSPECIFIED = 0;- See Also:
-
LZ4_FRAME_VALUE
public static final int LZ4_FRAME_VALUELZ4 Frame (https://github.com/lz4/lz4/blob/dev/doc/lz4_Frame_format.md)
LZ4_FRAME = 1;- See Also:
-
ZSTD_VALUE
public static final int ZSTD_VALUEZstandard compression.
ZSTD = 2;- 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
public static com.google.protobuf.Internal.EnumLiteMap<ArrowSerializationOptions.CompressionCodec> 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 ArrowSerializationOptions.CompressionCodec 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
-