public sealed class AppendRowsResponse : IMessage<AppendRowsResponse>, IEquatable<AppendRowsResponse>, IDeepCloneable<AppendRowsResponse>, IBufferMessage, IMessage
Response message for AppendRows
.
Implements
IMessage<AppendRowsResponse>, IEquatable<AppendRowsResponse>, IDeepCloneable<AppendRowsResponse>, IBufferMessage, IMessageNamespace
Google.Cloud.BigQuery.Storage.V1Assembly
Google.Cloud.BigQuery.Storage.V1.dll
Constructors
AppendRowsResponse()
public AppendRowsResponse()
AppendRowsResponse(AppendRowsResponse)
public AppendRowsResponse(AppendRowsResponse other)
Parameter | |
---|---|
Name | Description |
other | AppendRowsResponse |
Properties
AppendResult
public AppendRowsResponse.Types.AppendResult AppendResult { get; set; }
Result if the append is successful.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Status |
ResponseCase
public AppendRowsResponse.ResponseOneofCase ResponseCase { get; }
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
TableSchema |