Interface AppendRowsRequest.ProtoDataOrBuilder (3.8.0)

public static interface AppendRowsRequest.ProtoDataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRows()

public abstract ProtoRows getRows()

Serialized row data in protobuf message format. Currently, the backend expects the serialized rows to adhere to proto2 semantics when appending rows, particularly with respect to how default values are encoded.

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

Returns
Type Description
ProtoRows

The rows.

getRowsOrBuilder()

public abstract ProtoRowsOrBuilder getRowsOrBuilder()

Serialized row data in protobuf message format. Currently, the backend expects the serialized rows to adhere to proto2 semantics when appending rows, particularly with respect to how default values are encoded.

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

Returns
Type Description
ProtoRowsOrBuilder

getWriterSchema()

public abstract ProtoSchema getWriterSchema()

The protocol buffer schema used to serialize the data. Provide this value whenever:

  • You send the first request of an RPC connection.

  • You change the input schema.

  • You specify a new destination table.

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

Returns
Type Description
ProtoSchema

The writerSchema.

getWriterSchemaOrBuilder()

public abstract ProtoSchemaOrBuilder getWriterSchemaOrBuilder()

The protocol buffer schema used to serialize the data. Provide this value whenever:

  • You send the first request of an RPC connection.

  • You change the input schema.

  • You specify a new destination table.

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

Returns
Type Description
ProtoSchemaOrBuilder

hasRows()

public abstract boolean hasRows()

Serialized row data in protobuf message format. Currently, the backend expects the serialized rows to adhere to proto2 semantics when appending rows, particularly with respect to how default values are encoded.

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

Returns
Type Description
boolean

Whether the rows field is set.

hasWriterSchema()

public abstract boolean hasWriterSchema()

The protocol buffer schema used to serialize the data. Provide this value whenever:

  • You send the first request of an RPC connection.

  • You change the input schema.

  • You specify a new destination table.

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

Returns
Type Description
boolean

Whether the writerSchema field is set.