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