Reference documentation and code samples for the Google BigQuery Storage V1 Client class AppendRowsResponse.
Response message for AppendRows
.
Generated from protobuf message google.cloud.bigquery.storage.v1.AppendRowsResponse
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ append_result
Google\Cloud\BigQuery\Storage\V1\AppendRowsResponse\AppendResult
Result if the append is successful.
↳ error
Google\Rpc\Status
Error returned when problems were encountered. If present, it indicates rows were not accepted into the system. Users can retry or continue with other append requests within the same connection. Additional information about error signalling: ALREADY_EXISTS: Happens when an append specified an offset, and the backend already has received data at this offset. Typically encountered in retry scenarios, and can be ignored. OUT_OF_RANGE: Returned when the specified offset in the stream is beyond the current end of the stream. INVALID_ARGUMENT: Indicates a malformed request or data. ABORTED: Request processing is aborted because of prior failures. The request can be retried if previous failure is addressed. INTERNAL: Indicates server side error(s) that can be retried.
↳ updated_schema
Google\Cloud\BigQuery\Storage\V1\TableSchema
If backend detects a schema update, pass it to user so that user can use it to input new type of message. It will be empty when no schema updates have occurred.
↳ row_errors
array< Google\Cloud\BigQuery\Storage\V1\RowError
>
If a request failed due to corrupted rows, no rows in the batch will be appended. The API will return row level error info, so that the caller can remove the bad rows and retry the request.
↳ write_stream
string
The target of the append operation. Matches the write_stream in the corresponding request.
getAppendResult
Result if the append is successful.
hasAppendResult
setAppendResult
Result if the append is successful.
$this
getError
Error returned when problems were encountered. If present, it indicates rows were not accepted into the system.
Users can retry or continue with other append requests within the same connection. Additional information about error signalling: ALREADY_EXISTS: Happens when an append specified an offset, and the backend already has received data at this offset. Typically encountered in retry scenarios, and can be ignored. OUT_OF_RANGE: Returned when the specified offset in the stream is beyond the current end of the stream. INVALID_ARGUMENT: Indicates a malformed request or data. ABORTED: Request processing is aborted because of prior failures. The request can be retried if previous failure is addressed. INTERNAL: Indicates server side error(s) that can be retried.
hasError
setError
Error returned when problems were encountered. If present, it indicates rows were not accepted into the system.
Users can retry or continue with other append requests within the same connection. Additional information about error signalling: ALREADY_EXISTS: Happens when an append specified an offset, and the backend already has received data at this offset. Typically encountered in retry scenarios, and can be ignored. OUT_OF_RANGE: Returned when the specified offset in the stream is beyond the current end of the stream. INVALID_ARGUMENT: Indicates a malformed request or data. ABORTED: Request processing is aborted because of prior failures. The request can be retried if previous failure is addressed. INTERNAL: Indicates server side error(s) that can be retried.
$this
getUpdatedSchema
If backend detects a schema update, pass it to user so that user can use it to input new type of message. It will be empty when no schema updates have occurred.
hasUpdatedSchema
clearUpdatedSchema
setUpdatedSchema
If backend detects a schema update, pass it to user so that user can use it to input new type of message. It will be empty when no schema updates have occurred.
$this
getRowErrors
If a request failed due to corrupted rows, no rows in the batch will be appended. The API will return row level error info, so that the caller can remove the bad rows and retry the request.
setRowErrors
If a request failed due to corrupted rows, no rows in the batch will be appended. The API will return row level error info, so that the caller can remove the bad rows and retry the request.
$this
getWriteStream
The target of the append operation. Matches the write_stream in the corresponding request.
string
setWriteStream
The target of the append operation. Matches the write_stream in the corresponding request.
var
string
$this
getResponse
string