Google BigQuery Storage v1 API - Class AppendRowsResponse (3.3.0)

Stay organized with collections Save and categorize content based on your preferences.
public sealed class AppendRowsResponse : IMessage<AppendRowsResponse>, IEquatable<AppendRowsResponse>, IDeepCloneable<AppendRowsResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Google BigQuery Storage v1 API class AppendRowsResponse.

Response message for AppendRows.

Inheritance

Object > AppendRowsResponse

Namespace

Google.Cloud.BigQuery.Storage.V1

Assembly

Google.Cloud.BigQuery.Storage.V1.dll

Constructors

AppendRowsResponse()

public AppendRowsResponse()

AppendRowsResponse(AppendRowsResponse)

public AppendRowsResponse(AppendRowsResponse other)
Parameter
NameDescription
otherAppendRowsResponse

Properties

AppendResult

public AppendRowsResponse.Types.AppendResult AppendResult { get; set; }

Result if the append is successful.

Property Value
TypeDescription
AppendRowsResponse.Types.AppendResult

Error

public Status Error { get; set; }

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.

Property Value
TypeDescription
Status

ResponseCase

public AppendRowsResponse.ResponseOneofCase ResponseCase { get; }
Property Value
TypeDescription
AppendRowsResponse.ResponseOneofCase

RowErrors

public RepeatedField<RowError> RowErrors { get; }

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.

Property Value
TypeDescription
RepeatedField<RowError>

UpdatedSchema

public TableSchema UpdatedSchema { get; set; }

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.

Property Value
TypeDescription
TableSchema

WriteStream

public string WriteStream { get; set; }

The target of the append operation. Matches the write_stream in the corresponding request.

Property Value
TypeDescription
String