Class AppendRowsRequest.ProtoData.Builder (3.11.0)

public static final class AppendRowsRequest.ProtoData.Builder extends GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder> implements AppendRowsRequest.ProtoDataOrBuilder

Proto schema and data.

Protobuf type google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRows()

public AppendRowsRequest.ProtoData.Builder clearRows()

Serialized row data in protobuf message format.

.google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2;

Returns
Type Description
AppendRowsRequest.ProtoData.Builder

clearWriterSchema()

public AppendRowsRequest.ProtoData.Builder clearWriterSchema()

Proto schema used to serialize the data.

.google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1;

Returns
Type Description
AppendRowsRequest.ProtoData.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getRows()

public ProtoRows getRows()

Serialized row data in protobuf message format.

.google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2;

Returns
Type Description
ProtoRows

The rows.

getRowsBuilder()

public ProtoRows.Builder getRowsBuilder()

Serialized row data in protobuf message format.

.google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2;

Returns
Type Description
ProtoRows.Builder

getRowsOrBuilder()

public ProtoRowsOrBuilder getRowsOrBuilder()

Serialized row data in protobuf message format.

.google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2;

Returns
Type Description
ProtoRowsOrBuilder

getWriterSchema()

public ProtoSchema getWriterSchema()

Proto schema used to serialize the data.

.google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1;

Returns
Type Description
ProtoSchema

The writerSchema.

getWriterSchemaBuilder()

public ProtoSchema.Builder getWriterSchemaBuilder()

Proto schema used to serialize the data.

.google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1;

Returns
Type Description
ProtoSchema.Builder

getWriterSchemaOrBuilder()

public ProtoSchemaOrBuilder getWriterSchemaOrBuilder()

Proto schema used to serialize the data.

.google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1;

Returns
Type Description
ProtoSchemaOrBuilder

hasRows()

public boolean hasRows()

Serialized row data in protobuf message format.

.google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2;

Returns
Type Description
boolean

Whether the rows field is set.

hasWriterSchema()

public boolean hasWriterSchema()

Proto schema used to serialize the data.

.google.cloud.bigquery.storage.v1beta2.ProtoSchema 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.ProtoData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRows(ProtoRows value)

public AppendRowsRequest.ProtoData.Builder mergeRows(ProtoRows value)

Serialized row data in protobuf message format.

.google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2;

Parameter
Name Description
value ProtoRows
Returns
Type Description
AppendRowsRequest.ProtoData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWriterSchema(ProtoSchema value)

public AppendRowsRequest.ProtoData.Builder mergeWriterSchema(ProtoSchema value)

Proto schema used to serialize the data.

.google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1;

Parameter
Name Description
value ProtoSchema
Returns
Type Description
AppendRowsRequest.ProtoData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRows(ProtoRows value)

public AppendRowsRequest.ProtoData.Builder setRows(ProtoRows value)

Serialized row data in protobuf message format.

.google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2;

Parameter
Name Description
value ProtoRows
Returns
Type Description
AppendRowsRequest.ProtoData.Builder

setRows(ProtoRows.Builder builderForValue)

public AppendRowsRequest.ProtoData.Builder setRows(ProtoRows.Builder builderForValue)

Serialized row data in protobuf message format.

.google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2;

Parameter
Name Description
builderForValue ProtoRows.Builder
Returns
Type Description
AppendRowsRequest.ProtoData.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setWriterSchema(ProtoSchema value)

public AppendRowsRequest.ProtoData.Builder setWriterSchema(ProtoSchema value)

Proto schema used to serialize the data.

.google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1;

Parameter
Name Description
value ProtoSchema
Returns
Type Description
AppendRowsRequest.ProtoData.Builder

setWriterSchema(ProtoSchema.Builder builderForValue)

public AppendRowsRequest.ProtoData.Builder setWriterSchema(ProtoSchema.Builder builderForValue)

Proto schema used to serialize the data.

.google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1;

Parameter
Name Description
builderForValue ProtoSchema.Builder
Returns
Type Description
AppendRowsRequest.ProtoData.Builder