Class ArrowSerializationOptions.Builder (3.3.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.v1beta2.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

clearField(Descriptors.FieldDescriptor field)

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

clearFormat()

public ArrowSerializationOptions.Builder clearFormat()

The Arrow IPC format to use.

.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1;

Returns
TypeDescription
ArrowSerializationOptions.Builder

This builder for chaining.

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

getDefaultInstanceForType()

public ArrowSerializationOptions getDefaultInstanceForType()
Returns
TypeDescription
ArrowSerializationOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFormat()

public ArrowSerializationOptions.Format getFormat()

The Arrow IPC format to use.

.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1;

Returns
TypeDescription
ArrowSerializationOptions.Format

The format.

getFormatValue()

public int getFormatValue()

The Arrow IPC format to use.

.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for format.

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFormat(ArrowSerializationOptions.Format value)

public ArrowSerializationOptions.Builder setFormat(ArrowSerializationOptions.Format value)

The Arrow IPC format to use.

.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1;

Parameter
NameDescription
valueArrowSerializationOptions.Format

The format to set.

Returns
TypeDescription
ArrowSerializationOptions.Builder

This builder for chaining.

setFormatValue(int value)

public ArrowSerializationOptions.Builder setFormatValue(int value)

The Arrow IPC format to use.

.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ArrowSerializationOptions.Builder

This builder for chaining.

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