Class AppendRowsResponse.Builder (3.11.0)

public static final class AppendRowsResponse.Builder extends GeneratedMessageV3.Builder<AppendRowsResponse.Builder> implements AppendRowsResponseOrBuilder

Response message for AppendRows.

Protobuf type google.cloud.bigquery.storage.v1beta2.AppendRowsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AppendRowsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AppendRowsResponse.Builder
Overrides

build()

public AppendRowsResponse build()
Returns
Type Description
AppendRowsResponse

buildPartial()

public AppendRowsResponse buildPartial()
Returns
Type Description
AppendRowsResponse

clear()

public AppendRowsResponse.Builder clear()
Returns
Type Description
AppendRowsResponse.Builder
Overrides

clearAppendResult()

public AppendRowsResponse.Builder clearAppendResult()

Result if the append is successful.

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

Returns
Type Description
AppendRowsResponse.Builder

clearError()

public AppendRowsResponse.Builder clearError()

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
Type Description
AppendRowsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public AppendRowsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AppendRowsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AppendRowsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AppendRowsResponse.Builder
Overrides

clearResponse()

public AppendRowsResponse.Builder clearResponse()
Returns
Type Description
AppendRowsResponse.Builder

clearUpdatedSchema()

public AppendRowsResponse.Builder clearUpdatedSchema()

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
Type Description
AppendRowsResponse.Builder

clone()

public AppendRowsResponse.Builder clone()
Returns
Type Description
AppendRowsResponse.Builder
Overrides

getAppendResult()

public AppendRowsResponse.AppendResult getAppendResult()

Result if the append is successful.

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

Returns
Type Description
AppendRowsResponse.AppendResult

The appendResult.

getAppendResultBuilder()

public AppendRowsResponse.AppendResult.Builder getAppendResultBuilder()

Result if the append is successful.

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

Returns
Type Description
AppendRowsResponse.AppendResult.Builder

getAppendResultOrBuilder()

public AppendRowsResponse.AppendResultOrBuilder getAppendResultOrBuilder()

Result if the append is successful.

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

Returns
Type Description
AppendRowsResponse.AppendResultOrBuilder

getDefaultInstanceForType()

public AppendRowsResponse getDefaultInstanceForType()
Returns
Type Description
AppendRowsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getError()

public 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
Type Description
com.google.rpc.Status

The error.

getErrorBuilder()

public Status.Builder getErrorBuilder()

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
Type Description
com.google.rpc.Status.Builder

getErrorOrBuilder()

public 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
Type Description
com.google.rpc.StatusOrBuilder

getResponseCase()

public AppendRowsResponse.ResponseCase getResponseCase()
Returns
Type Description
AppendRowsResponse.ResponseCase

getUpdatedSchema()

public 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
Type Description
TableSchema

The updatedSchema.

getUpdatedSchemaBuilder()

public TableSchema.Builder getUpdatedSchemaBuilder()

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
Type Description
TableSchema.Builder

getUpdatedSchemaOrBuilder()

public 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
Type Description
TableSchemaOrBuilder

hasAppendResult()

public boolean hasAppendResult()

Result if the append is successful.

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

Returns
Type Description
boolean

Whether the appendResult field is set.

hasError()

public 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
Type Description
boolean

Whether the error field is set.

hasUpdatedSchema()

public 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
Type Description
boolean

Whether the updatedSchema field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAppendResult(AppendRowsResponse.AppendResult value)

public AppendRowsResponse.Builder mergeAppendResult(AppendRowsResponse.AppendResult value)

Result if the append is successful.

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

Parameter
Name Description
value AppendRowsResponse.AppendResult
Returns
Type Description
AppendRowsResponse.Builder

mergeError(Status value)

public AppendRowsResponse.Builder mergeError(Status value)

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;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
AppendRowsResponse.Builder

mergeFrom(AppendRowsResponse other)

public AppendRowsResponse.Builder mergeFrom(AppendRowsResponse other)
Parameter
Name Description
other AppendRowsResponse
Returns
Type Description
AppendRowsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AppendRowsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppendRowsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AppendRowsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AppendRowsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AppendRowsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AppendRowsResponse.Builder
Overrides

mergeUpdatedSchema(TableSchema value)

public AppendRowsResponse.Builder mergeUpdatedSchema(TableSchema value)

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;

Parameter
Name Description
value TableSchema
Returns
Type Description
AppendRowsResponse.Builder

setAppendResult(AppendRowsResponse.AppendResult value)

public AppendRowsResponse.Builder setAppendResult(AppendRowsResponse.AppendResult value)

Result if the append is successful.

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

Parameter
Name Description
value AppendRowsResponse.AppendResult
Returns
Type Description
AppendRowsResponse.Builder

setAppendResult(AppendRowsResponse.AppendResult.Builder builderForValue)

public AppendRowsResponse.Builder setAppendResult(AppendRowsResponse.AppendResult.Builder builderForValue)

Result if the append is successful.

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

Parameter
Name Description
builderForValue AppendRowsResponse.AppendResult.Builder
Returns
Type Description
AppendRowsResponse.Builder

setError(Status value)

public AppendRowsResponse.Builder setError(Status value)

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;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
AppendRowsResponse.Builder

setError(Status.Builder builderForValue)

public AppendRowsResponse.Builder setError(Status.Builder builderForValue)

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;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
AppendRowsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AppendRowsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AppendRowsResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AppendRowsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AppendRowsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AppendRowsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AppendRowsResponse.Builder
Overrides

setUpdatedSchema(TableSchema value)

public AppendRowsResponse.Builder setUpdatedSchema(TableSchema value)

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;

Parameter
Name Description
value TableSchema
Returns
Type Description
AppendRowsResponse.Builder

setUpdatedSchema(TableSchema.Builder builderForValue)

public AppendRowsResponse.Builder setUpdatedSchema(TableSchema.Builder builderForValue)

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;

Parameter
Name Description
builderForValue TableSchema.Builder
Returns
Type Description
AppendRowsResponse.Builder