Interface AppendRowsResponseOrBuilder (3.3.1)

public interface AppendRowsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAppendResult()

public abstract AppendRowsResponse.AppendResult getAppendResult()

Result if the append is successful.

.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1;

Returns
TypeDescription
AppendRowsResponse.AppendResult

The appendResult.

getAppendResultOrBuilder()

public abstract AppendRowsResponse.AppendResultOrBuilder getAppendResultOrBuilder()

Result if the append is successful.

.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1;

Returns
TypeDescription
AppendRowsResponse.AppendResultOrBuilder

getError()

public abstract Status 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.

.google.rpc.Status error = 2;

Returns
TypeDescription
com.google.rpc.Status

The error.

getErrorOrBuilder()

public abstract StatusOrBuilder getErrorOrBuilder()

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.

.google.rpc.Status error = 2;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getResponseCase()

public abstract AppendRowsResponse.ResponseCase getResponseCase()
Returns
TypeDescription
AppendRowsResponse.ResponseCase

getUpdatedSchema()

public abstract TableSchema 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.

.google.cloud.bigquery.storage.v1beta2.TableSchema updated_schema = 3;

Returns
TypeDescription
TableSchema

The updatedSchema.

getUpdatedSchemaOrBuilder()

public abstract TableSchemaOrBuilder getUpdatedSchemaOrBuilder()

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.

.google.cloud.bigquery.storage.v1beta2.TableSchema updated_schema = 3;

Returns
TypeDescription
TableSchemaOrBuilder

hasAppendResult()

public abstract boolean hasAppendResult()

Result if the append is successful.

.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1;

Returns
TypeDescription
boolean

Whether the appendResult field is set.

hasError()

public abstract boolean hasError()

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.

.google.rpc.Status error = 2;

Returns
TypeDescription
boolean

Whether the error field is set.

hasUpdatedSchema()

public abstract boolean hasUpdatedSchema()

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.

.google.cloud.bigquery.storage.v1beta2.TableSchema updated_schema = 3;

Returns
TypeDescription
boolean

Whether the updatedSchema field is set.