Class AppendRowsRequest.ArrowData.Builder (3.10.3)

public static final class AppendRowsRequest.ArrowData.Builder extends GeneratedMessageV3.Builder<AppendRowsRequest.ArrowData.Builder> implements AppendRowsRequest.ArrowDataOrBuilder

Arrow schema and data. Arrow format is an experimental feature only selected for allowlisted customers.

Protobuf type google.cloud.bigquery.storage.v1.AppendRowsRequest.ArrowData

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AppendRowsRequest.ArrowData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AppendRowsRequest.ArrowData.Builder
Overrides

build()

public AppendRowsRequest.ArrowData build()
Returns
Type Description
AppendRowsRequest.ArrowData

buildPartial()

public AppendRowsRequest.ArrowData buildPartial()
Returns
Type Description
AppendRowsRequest.ArrowData

clear()

public AppendRowsRequest.ArrowData.Builder clear()
Returns
Type Description
AppendRowsRequest.ArrowData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AppendRowsRequest.ArrowData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AppendRowsRequest.ArrowData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AppendRowsRequest.ArrowData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AppendRowsRequest.ArrowData.Builder
Overrides

clearRows()

public AppendRowsRequest.ArrowData.Builder clearRows()

Required. Serialized row data in Arrow format.

.google.cloud.bigquery.storage.v1.ArrowRecordBatch rows = 2;

Returns
Type Description
AppendRowsRequest.ArrowData.Builder

clearWriterSchema()

public AppendRowsRequest.ArrowData.Builder clearWriterSchema()

Optional. Arrow Schema used to serialize the data.

.google.cloud.bigquery.storage.v1.ArrowSchema writer_schema = 1;

Returns
Type Description
AppendRowsRequest.ArrowData.Builder

clone()

public AppendRowsRequest.ArrowData.Builder clone()
Returns
Type Description
AppendRowsRequest.ArrowData.Builder
Overrides

getDefaultInstanceForType()

public AppendRowsRequest.ArrowData getDefaultInstanceForType()
Returns
Type Description
AppendRowsRequest.ArrowData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRows()

public ArrowRecordBatch getRows()

Required. Serialized row data in Arrow format.

.google.cloud.bigquery.storage.v1.ArrowRecordBatch rows = 2;

Returns
Type Description
ArrowRecordBatch

The rows.

getRowsBuilder()

public ArrowRecordBatch.Builder getRowsBuilder()

Required. Serialized row data in Arrow format.

.google.cloud.bigquery.storage.v1.ArrowRecordBatch rows = 2;

Returns
Type Description
ArrowRecordBatch.Builder

getRowsOrBuilder()

public ArrowRecordBatchOrBuilder getRowsOrBuilder()

Required. Serialized row data in Arrow format.

.google.cloud.bigquery.storage.v1.ArrowRecordBatch rows = 2;

Returns
Type Description
ArrowRecordBatchOrBuilder

getWriterSchema()

public ArrowSchema getWriterSchema()

Optional. Arrow Schema used to serialize the data.

.google.cloud.bigquery.storage.v1.ArrowSchema writer_schema = 1;

Returns
Type Description
ArrowSchema

The writerSchema.

getWriterSchemaBuilder()

public ArrowSchema.Builder getWriterSchemaBuilder()

Optional. Arrow Schema used to serialize the data.

.google.cloud.bigquery.storage.v1.ArrowSchema writer_schema = 1;

Returns
Type Description
ArrowSchema.Builder

getWriterSchemaOrBuilder()

public ArrowSchemaOrBuilder getWriterSchemaOrBuilder()

Optional. Arrow Schema used to serialize the data.

.google.cloud.bigquery.storage.v1.ArrowSchema writer_schema = 1;

Returns
Type Description
ArrowSchemaOrBuilder

hasRows()

public boolean hasRows()

Required. Serialized row data in Arrow format.

.google.cloud.bigquery.storage.v1.ArrowRecordBatch rows = 2;

Returns
Type Description
boolean

Whether the rows field is set.

hasWriterSchema()

public boolean hasWriterSchema()

Optional. Arrow Schema used to serialize the data.

.google.cloud.bigquery.storage.v1.ArrowSchema writer_schema = 1;

Returns
Type Description
boolean

Whether the writerSchema field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AppendRowsRequest.ArrowData other)

public AppendRowsRequest.ArrowData.Builder mergeFrom(AppendRowsRequest.ArrowData other)
Parameter
Name Description
other AppendRowsRequest.ArrowData
Returns
Type Description
AppendRowsRequest.ArrowData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AppendRowsRequest.ArrowData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppendRowsRequest.ArrowData.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AppendRowsRequest.ArrowData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AppendRowsRequest.ArrowData.Builder
Overrides

mergeRows(ArrowRecordBatch value)

public AppendRowsRequest.ArrowData.Builder mergeRows(ArrowRecordBatch value)

Required. Serialized row data in Arrow format.

.google.cloud.bigquery.storage.v1.ArrowRecordBatch rows = 2;

Parameter
Name Description
value ArrowRecordBatch
Returns
Type Description
AppendRowsRequest.ArrowData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AppendRowsRequest.ArrowData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AppendRowsRequest.ArrowData.Builder
Overrides

mergeWriterSchema(ArrowSchema value)

public AppendRowsRequest.ArrowData.Builder mergeWriterSchema(ArrowSchema value)

Optional. Arrow Schema used to serialize the data.

.google.cloud.bigquery.storage.v1.ArrowSchema writer_schema = 1;

Parameter
Name Description
value ArrowSchema
Returns
Type Description
AppendRowsRequest.ArrowData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AppendRowsRequest.ArrowData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AppendRowsRequest.ArrowData.Builder
Overrides

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

public AppendRowsRequest.ArrowData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AppendRowsRequest.ArrowData.Builder
Overrides

setRows(ArrowRecordBatch value)

public AppendRowsRequest.ArrowData.Builder setRows(ArrowRecordBatch value)

Required. Serialized row data in Arrow format.

.google.cloud.bigquery.storage.v1.ArrowRecordBatch rows = 2;

Parameter
Name Description
value ArrowRecordBatch
Returns
Type Description
AppendRowsRequest.ArrowData.Builder

setRows(ArrowRecordBatch.Builder builderForValue)

public AppendRowsRequest.ArrowData.Builder setRows(ArrowRecordBatch.Builder builderForValue)

Required. Serialized row data in Arrow format.

.google.cloud.bigquery.storage.v1.ArrowRecordBatch rows = 2;

Parameter
Name Description
builderForValue ArrowRecordBatch.Builder
Returns
Type Description
AppendRowsRequest.ArrowData.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AppendRowsRequest.ArrowData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AppendRowsRequest.ArrowData.Builder
Overrides

setWriterSchema(ArrowSchema value)

public AppendRowsRequest.ArrowData.Builder setWriterSchema(ArrowSchema value)

Optional. Arrow Schema used to serialize the data.

.google.cloud.bigquery.storage.v1.ArrowSchema writer_schema = 1;

Parameter
Name Description
value ArrowSchema
Returns
Type Description
AppendRowsRequest.ArrowData.Builder

setWriterSchema(ArrowSchema.Builder builderForValue)

public AppendRowsRequest.ArrowData.Builder setWriterSchema(ArrowSchema.Builder builderForValue)

Optional. Arrow Schema used to serialize the data.

.google.cloud.bigquery.storage.v1.ArrowSchema writer_schema = 1;

Parameter
Name Description
builderForValue ArrowSchema.Builder
Returns
Type Description
AppendRowsRequest.ArrowData.Builder