Enum ReadSession.TableReadOptions.ResponseCompressionCodec (3.9.0)

public enum ReadSession.TableReadOptions.ResponseCompressionCodec extends Enum<ReadSession.TableReadOptions.ResponseCompressionCodec> implements ProtocolMessageEnum

Specifies which compression codec to attempt on the entire serialized response payload (either Arrow record batch or Avro rows). This is not to be confused with the Apache Arrow native compression codecs specified in ArrowSerializationOptions. For performance reasons, when creating a read session requesting Arrow responses, setting both native Arrow compression and application-level response compression will not be allowed - choose, at most, one kind of compression.

Protobuf enum google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec

Implements

ProtocolMessageEnum

Static Fields

Name Description
RESPONSE_COMPRESSION_CODEC_LZ4

Use raw LZ4 compression.

RESPONSE_COMPRESSION_CODEC_LZ4 = 2;

RESPONSE_COMPRESSION_CODEC_LZ4_VALUE

Use raw LZ4 compression.

RESPONSE_COMPRESSION_CODEC_LZ4 = 2;

RESPONSE_COMPRESSION_CODEC_UNSPECIFIED

Default is no compression.

RESPONSE_COMPRESSION_CODEC_UNSPECIFIED = 0;

RESPONSE_COMPRESSION_CODEC_UNSPECIFIED_VALUE

Default is no compression.

RESPONSE_COMPRESSION_CODEC_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()