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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AppendRowsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AppendRowsResponse build()
Returns
buildPartial()
public AppendRowsResponse buildPartial()
Returns
clear()
public AppendRowsResponse.Builder clear()
Returns
Overrides
clearAppendResult()
public AppendRowsResponse.Builder clearAppendResult()
Result if the append is successful.
.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1;
Returns
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
clearField(Descriptors.FieldDescriptor field)
public AppendRowsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AppendRowsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResponse()
public AppendRowsResponse.Builder clearResponse()
Returns
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
clone()
public AppendRowsResponse.Builder clone()
Returns
Overrides
getAppendResult()
public AppendRowsResponse.AppendResult getAppendResult()
Result if the append is successful.
.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1;
Returns
getAppendResultBuilder()
public AppendRowsResponse.AppendResult.Builder getAppendResultBuilder()
Result if the append is successful.
.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1;
Returns
getAppendResultOrBuilder()
public AppendRowsResponse.AppendResultOrBuilder getAppendResultOrBuilder()
Result if the append is successful.
.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1;
Returns
getDefaultInstanceForType()
public AppendRowsResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
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
mergeFrom(AppendRowsResponse other)
public AppendRowsResponse.Builder mergeFrom(AppendRowsResponse other)
Parameter
Returns
public AppendRowsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AppendRowsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AppendRowsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public AppendRowsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AppendRowsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AppendRowsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns