Class ArrowSerializationOptions.Builder (3.1.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ArrowSerializationOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ArrowSerializationOptions.Builder
Overrides

build()

public ArrowSerializationOptions build()
Returns
TypeDescription
ArrowSerializationOptions

buildPartial()

public ArrowSerializationOptions buildPartial()
Returns
TypeDescription
ArrowSerializationOptions

clear()

public ArrowSerializationOptions.Builder clear()
Returns
TypeDescription
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
TypeDescription
ArrowSerializationOptions.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ArrowSerializationOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ArrowSerializationOptions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ArrowSerializationOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ArrowSerializationOptions.Builder
Overrides

clone()

public ArrowSerializationOptions.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for bufferCompression.

getDefaultInstanceForType()

public ArrowSerializationOptions getDefaultInstanceForType()
Returns
TypeDescription
ArrowSerializationOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ArrowSerializationOptions other)

public ArrowSerializationOptions.Builder mergeFrom(ArrowSerializationOptions other)
Parameter
NameDescription
otherArrowSerializationOptions
Returns
TypeDescription
ArrowSerializationOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ArrowSerializationOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ArrowSerializationOptions.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ArrowSerializationOptions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ArrowSerializationOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ArrowSerializationOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueArrowSerializationOptions.CompressionCodec

The bufferCompression to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
ArrowSerializationOptions.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ArrowSerializationOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ArrowSerializationOptions.Builder
Overrides

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

public ArrowSerializationOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ArrowSerializationOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ArrowSerializationOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ArrowSerializationOptions.Builder
Overrides