public static final class AppendRowsResponse.Builder extends GeneratedMessageV3.Builder<AppendRowsResponse.Builder> implements AppendRowsResponseOrBuilder
Response message for AppendRows
.
Protobuf type google.cloud.bigquery.storage.v1.AppendRowsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AppendRowsResponse.BuilderImplements
AppendRowsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllRowErrors(Iterable<? extends RowError> values)
public AppendRowsResponse.Builder addAllRowErrors(Iterable<? extends RowError> values)
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.
repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.bigquery.storage.v1.RowError> |
Returns | |
---|---|
Type | Description |
AppendRowsResponse.Builder |
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 |
addRowErrors(RowError value)
public AppendRowsResponse.Builder addRowErrors(RowError value)
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.
repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
Parameter | |
---|---|
Name | Description |
value | RowError |
Returns | |
---|---|
Type | Description |
AppendRowsResponse.Builder |
addRowErrors(RowError.Builder builderForValue)
public AppendRowsResponse.Builder addRowErrors(RowError.Builder builderForValue)
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.
repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | RowError.Builder |
Returns | |
---|---|
Type | Description |
AppendRowsResponse.Builder |
addRowErrors(int index, RowError value)
public AppendRowsResponse.Builder addRowErrors(int index, RowError value)
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.
repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
Parameters | |
---|---|
Name | Description |
index | int |
value | RowError |
Returns | |
---|---|
Type | Description |
AppendRowsResponse.Builder |
addRowErrors(int index, RowError.Builder builderForValue)
public AppendRowsResponse.Builder addRowErrors(int index, RowError.Builder builderForValue)
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.
repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | RowError.Builder |
Returns | |
---|---|
Type | Description |
AppendRowsResponse.Builder |
addRowErrorsBuilder()
public RowError.Builder addRowErrorsBuilder()
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.
repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
Returns | |
---|---|
Type | Description |
RowError.Builder |
addRowErrorsBuilder(int index)
public RowError.Builder addRowErrorsBuilder(int index)
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.
repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
RowError.Builder |
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 |
clearAppendResult()
public AppendRowsResponse.Builder clearAppendResult()
Result if the append is successful.
.google.cloud.bigquery.storage.v1.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 |
clearOneof(Descriptors.OneofDescriptor oneof)
public AppendRowsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
AppendRowsResponse.Builder |
clearResponse()
public AppendRowsResponse.Builder clearResponse()
Returns | |
---|---|
Type | Description |
AppendRowsResponse.Builder |
clearRowErrors()
public AppendRowsResponse.Builder clearRowErrors()
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.
repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
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.v1.TableSchema updated_schema = 3;
Returns | |
---|---|
Type | Description |
AppendRowsResponse.Builder |
clearWriteStream()
public AppendRowsResponse.Builder clearWriteStream()
The target of the append operation. Matches the write_stream in the corresponding request.
string write_stream = 5;
Returns | |
---|---|
Type | Description |
AppendRowsResponse.Builder | This builder for chaining. |
clone()
public AppendRowsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
AppendRowsResponse.Builder |
getAppendResult()
public AppendRowsResponse.AppendResult getAppendResult()
Result if the append is successful.
.google.cloud.bigquery.storage.v1.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.v1.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.v1.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 |
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 |
getRowErrors(int index)
public RowError getRowErrors(int index)
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.
repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
RowError |
getRowErrorsBuilder(int index)
public RowError.Builder getRowErrorsBuilder(int index)
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.
repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
RowError.Builder |
getRowErrorsBuilderList()
public List<RowError.Builder> getRowErrorsBuilderList()
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.
repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
Returns | |
---|---|
Type | Description |
List<Builder> |
getRowErrorsCount()
public int getRowErrorsCount()
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.
repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
Returns | |
---|---|
Type | Description |
int |
getRowErrorsList()
public List<RowError> getRowErrorsList()
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.
repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
Returns | |
---|---|
Type | Description |
List<RowError> |
getRowErrorsOrBuilder(int index)
public RowErrorOrBuilder getRowErrorsOrBuilder(int index)
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.
repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
RowErrorOrBuilder |
getRowErrorsOrBuilderList()
public List<? extends RowErrorOrBuilder> getRowErrorsOrBuilderList()
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.
repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder> |
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.v1.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.v1.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.v1.TableSchema updated_schema = 3;
Returns | |
---|---|
Type | Description |
TableSchemaOrBuilder |
getWriteStream()
public String getWriteStream()
The target of the append operation. Matches the write_stream in the corresponding request.
string write_stream = 5;
Returns | |
---|---|
Type | Description |
String | The writeStream. |
getWriteStreamBytes()
public ByteString getWriteStreamBytes()
The target of the append operation. Matches the write_stream in the corresponding request.
string write_stream = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for writeStream. |
hasAppendResult()
public boolean hasAppendResult()
Result if the append is successful.
.google.cloud.bigquery.storage.v1.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.v1.TableSchema updated_schema = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the updatedSchema field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAppendResult(AppendRowsResponse.AppendResult value)
public AppendRowsResponse.Builder mergeAppendResult(AppendRowsResponse.AppendResult value)
Result if the append is successful.
.google.cloud.bigquery.storage.v1.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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AppendRowsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
AppendRowsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AppendRowsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AppendRowsResponse.Builder |
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.v1.TableSchema updated_schema = 3;
Parameter | |
---|---|
Name | Description |
value | TableSchema |
Returns | |
---|---|
Type | Description |
AppendRowsResponse.Builder |
removeRowErrors(int index)
public AppendRowsResponse.Builder removeRowErrors(int index)
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.
repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
Parameter | |
---|---|
Name | Description |
index | int |
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.v1.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.v1.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 |
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 |
setRowErrors(int index, RowError value)
public AppendRowsResponse.Builder setRowErrors(int index, RowError value)
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.
repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
Parameters | |
---|---|
Name | Description |
index | int |
value | RowError |
Returns | |
---|---|
Type | Description |
AppendRowsResponse.Builder |
setRowErrors(int index, RowError.Builder builderForValue)
public AppendRowsResponse.Builder setRowErrors(int index, RowError.Builder builderForValue)
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.
repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | RowError.Builder |
Returns | |
---|---|
Type | Description |
AppendRowsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AppendRowsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AppendRowsResponse.Builder |
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.v1.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.v1.TableSchema updated_schema = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | TableSchema.Builder |
Returns | |
---|---|
Type | Description |
AppendRowsResponse.Builder |
setWriteStream(String value)
public AppendRowsResponse.Builder setWriteStream(String value)
The target of the append operation. Matches the write_stream in the corresponding request.
string write_stream = 5;
Parameter | |
---|---|
Name | Description |
value | String The writeStream to set. |
Returns | |
---|---|
Type | Description |
AppendRowsResponse.Builder | This builder for chaining. |
setWriteStreamBytes(ByteString value)
public AppendRowsResponse.Builder setWriteStreamBytes(ByteString value)
The target of the append operation. Matches the write_stream in the corresponding request.
string write_stream = 5;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for writeStream to set. |
Returns | |
---|---|
Type | Description |
AppendRowsResponse.Builder | This builder for chaining. |