Class ArrowSerializationOptions.Builder (3.6.1)

public static final class ArrowSerializationOptions.Builder extends GeneratedMessageV3.Builder<ArrowSerializationOptions.Builder> implements ArrowSerializationOptionsOrBuilder

Contains options specific to Arrow Serialization.

Protobuf type google.cloud.bigquery.storage.v1.ArrowSerializationOptions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ArrowSerializationOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ArrowSerializationOptions.Builder
Overrides

build()

public ArrowSerializationOptions build()
Returns
Type Description
ArrowSerializationOptions

buildPartial()

public ArrowSerializationOptions buildPartial()
Returns
Type Description
ArrowSerializationOptions

clear()

public ArrowSerializationOptions.Builder clear()
Returns
Type Description
ArrowSerializationOptions.Builder
Overrides

clearBufferCompression()

public ArrowSerializationOptions.Builder clearBufferCompression()

The compression codec to use for Arrow buffers in serialized record batches.

.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2;

Returns
Type Description
ArrowSerializationOptions.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ArrowSerializationOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ArrowSerializationOptions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ArrowSerializationOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ArrowSerializationOptions.Builder
Overrides

clone()

public ArrowSerializationOptions.Builder clone()
Returns
Type Description
ArrowSerializationOptions.Builder
Overrides

getBufferCompression()

public ArrowSerializationOptions.CompressionCodec getBufferCompression()

The compression codec to use for Arrow buffers in serialized record batches.

.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2;

Returns
Type Description
ArrowSerializationOptions.CompressionCodec

The bufferCompression.

getBufferCompressionValue()

public int getBufferCompressionValue()

The compression codec to use for Arrow buffers in serialized record batches.

.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2;

Returns
Type Description
int

The enum numeric value on the wire for bufferCompression.

getDefaultInstanceForType()

public ArrowSerializationOptions getDefaultInstanceForType()
Returns
Type Description
ArrowSerializationOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ArrowSerializationOptions other)

public ArrowSerializationOptions.Builder mergeFrom(ArrowSerializationOptions other)
Parameter
Name Description
other ArrowSerializationOptions
Returns
Type Description
ArrowSerializationOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ArrowSerializationOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ArrowSerializationOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ArrowSerializationOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ArrowSerializationOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ArrowSerializationOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ArrowSerializationOptions.Builder
Overrides

setBufferCompression(ArrowSerializationOptions.CompressionCodec value)

public ArrowSerializationOptions.Builder setBufferCompression(ArrowSerializationOptions.CompressionCodec value)

The compression codec to use for Arrow buffers in serialized record batches.

.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2;

Parameter
Name Description
value ArrowSerializationOptions.CompressionCodec

The bufferCompression to set.

Returns
Type Description
ArrowSerializationOptions.Builder

This builder for chaining.

setBufferCompressionValue(int value)

public ArrowSerializationOptions.Builder setBufferCompressionValue(int value)

The compression codec to use for Arrow buffers in serialized record batches.

.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for bufferCompression to set.

Returns
Type Description
ArrowSerializationOptions.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ArrowSerializationOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ArrowSerializationOptions.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ArrowSerializationOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ArrowSerializationOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ArrowSerializationOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ArrowSerializationOptions.Builder
Overrides