Interface AppendRowsRequest.ProtoDataOrBuilder (3.3.1)

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the writerSchema field is set.