Class ArrowProto.ArrowSchema.Builder (2.45.0)

public static final class ArrowProto.ArrowSchema.Builder extends GeneratedMessageV3.Builder<ArrowProto.ArrowSchema.Builder> implements ArrowProto.ArrowSchemaOrBuilder

Arrow schema.

Protobuf type google.cloud.bigquery.storage.v1beta1.ArrowSchema

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ArrowProto.ArrowSchema build()
Returns
TypeDescription
ArrowProto.ArrowSchema

buildPartial()

public ArrowProto.ArrowSchema buildPartial()
Returns
TypeDescription
ArrowProto.ArrowSchema

clear()

public ArrowProto.ArrowSchema.Builder clear()
Returns
TypeDescription
ArrowProto.ArrowSchema.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSerializedSchema()

public ArrowProto.ArrowSchema.Builder clearSerializedSchema()

IPC serialized Arrow schema.

bytes serialized_schema = 1;

Returns
TypeDescription
ArrowProto.ArrowSchema.Builder

This builder for chaining.

clone()

public ArrowProto.ArrowSchema.Builder clone()
Returns
TypeDescription
ArrowProto.ArrowSchema.Builder
Overrides

getDefaultInstanceForType()

public ArrowProto.ArrowSchema getDefaultInstanceForType()
Returns
TypeDescription
ArrowProto.ArrowSchema

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSerializedSchema()

public ByteString getSerializedSchema()

IPC serialized Arrow schema.

bytes serialized_schema = 1;

Returns
TypeDescription
ByteString

The serializedSchema.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ArrowProto.ArrowSchema other)

public ArrowProto.ArrowSchema.Builder mergeFrom(ArrowProto.ArrowSchema other)
Parameter
NameDescription
otherArrowProto.ArrowSchema
Returns
TypeDescription
ArrowProto.ArrowSchema.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ArrowProto.ArrowSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ArrowProto.ArrowSchema.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSerializedSchema(ByteString value)

public ArrowProto.ArrowSchema.Builder setSerializedSchema(ByteString value)

IPC serialized Arrow schema.

bytes serialized_schema = 1;

Parameter
NameDescription
valueByteString

The serializedSchema to set.

Returns
TypeDescription
ArrowProto.ArrowSchema.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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