Class ArrowSerializationOptions (2.47.0)

public final class ArrowSerializationOptions extends GeneratedMessageV3 implements ArrowSerializationOptionsOrBuilder

Contains options specific to Arrow Serialization.

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

Static Fields

BUFFER_COMPRESSION_FIELD_NUMBER

public static final int BUFFER_COMPRESSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ArrowSerializationOptions getDefaultInstance()
Returns
TypeDescription
ArrowSerializationOptions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ArrowSerializationOptions.Builder newBuilder()
Returns
TypeDescription
ArrowSerializationOptions.Builder

newBuilder(ArrowSerializationOptions prototype)

public static ArrowSerializationOptions.Builder newBuilder(ArrowSerializationOptions prototype)
Parameter
NameDescription
prototypeArrowSerializationOptions
Returns
TypeDescription
ArrowSerializationOptions.Builder

parseDelimitedFrom(InputStream input)

public static ArrowSerializationOptions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ArrowSerializationOptions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ArrowSerializationOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ArrowSerializationOptions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ArrowSerializationOptions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ArrowSerializationOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ArrowSerializationOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ArrowSerializationOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ArrowSerializationOptions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ArrowSerializationOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ArrowSerializationOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ArrowSerializationOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ArrowSerializationOptions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ArrowSerializationOptions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ArrowSerializationOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ArrowSerializationOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ArrowSerializationOptions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ArrowSerializationOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ArrowSerializationOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ArrowSerializationOptions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ArrowSerializationOptions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ArrowSerializationOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ArrowSerializationOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ArrowSerializationOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ArrowSerializationOptions> parser()
Returns
TypeDescription
Parser<ArrowSerializationOptions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getParserForType()

public Parser<ArrowSerializationOptions> getParserForType()
Returns
TypeDescription
Parser<ArrowSerializationOptions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ArrowSerializationOptions.Builder newBuilderForType()
Returns
TypeDescription
ArrowSerializationOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ArrowSerializationOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ArrowSerializationOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ArrowSerializationOptions.Builder toBuilder()
Returns
TypeDescription
ArrowSerializationOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException