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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ArrowSerializationOptions.BuilderImplements
ArrowSerializationOptionsOrBuilderStatic 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 |
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 |
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 |
clearOneof(Descriptors.OneofDescriptor oneof)
public ArrowSerializationOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ArrowSerializationOptions.Builder |
clone()
public ArrowSerializationOptions.Builder clone()
Returns | |
---|---|
Type | Description |
ArrowSerializationOptions.Builder |
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 |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ArrowSerializationOptions.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ArrowSerializationOptions.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ArrowSerializationOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ArrowSerializationOptions.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final ArrowSerializationOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ArrowSerializationOptions.Builder |