ProtoData contains the data rows and schema when constructing append requests.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#rows
def rows() -> ::Google::Cloud::Bigquery::Storage::V1::ProtoRows
Returns
- (::Google::Cloud::Bigquery::Storage::V1::ProtoRows) — 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.
#rows=
def rows=(value) -> ::Google::Cloud::Bigquery::Storage::V1::ProtoRows
Parameter
- value (::Google::Cloud::Bigquery::Storage::V1::ProtoRows) — 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.
Returns
- (::Google::Cloud::Bigquery::Storage::V1::ProtoRows) — 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.
#writer_schema
def writer_schema() -> ::Google::Cloud::Bigquery::Storage::V1::ProtoSchema
Returns
- (::Google::Cloud::Bigquery::Storage::V1::ProtoSchema) — Proto schema used to serialize the data. This value only needs to be provided as part of the first request on a gRPC network connection, and will be ignored for subsequent requests on the connection.
#writer_schema=
def writer_schema=(value) -> ::Google::Cloud::Bigquery::Storage::V1::ProtoSchema
Parameter
- value (::Google::Cloud::Bigquery::Storage::V1::ProtoSchema) — Proto schema used to serialize the data. This value only needs to be provided as part of the first request on a gRPC network connection, and will be ignored for subsequent requests on the connection.
Returns
- (::Google::Cloud::Bigquery::Storage::V1::ProtoSchema) — Proto schema used to serialize the data. This value only needs to be provided as part of the first request on a gRPC network connection, and will be ignored for subsequent requests on the connection.