Class AppendRowsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
- com.google.cloud.bigquery.storage.v1.AppendRowsResponse.Builder
-
- All Implemented Interfaces:
AppendRowsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AppendRowsResponse
public static final class AppendRowsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder> implements AppendRowsResponseOrBuilder
Response message for `AppendRows`.
Protobuf typegoogle.cloud.bigquery.storage.v1.AppendRowsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AppendRowsResponse.Builder
addAllRowErrors(Iterable<? extends RowError> values)
If a request failed due to corrupted rows, no rows in the batch will be appended.AppendRowsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AppendRowsResponse.Builder
addRowErrors(int index, RowError value)
If a request failed due to corrupted rows, no rows in the batch will be appended.AppendRowsResponse.Builder
addRowErrors(int index, RowError.Builder builderForValue)
If a request failed due to corrupted rows, no rows in the batch will be appended.AppendRowsResponse.Builder
addRowErrors(RowError value)
If a request failed due to corrupted rows, no rows in the batch will be appended.AppendRowsResponse.Builder
addRowErrors(RowError.Builder builderForValue)
If a request failed due to corrupted rows, no rows in the batch will be appended.RowError.Builder
addRowErrorsBuilder()
If a request failed due to corrupted rows, no rows in the batch will be appended.RowError.Builder
addRowErrorsBuilder(int index)
If a request failed due to corrupted rows, no rows in the batch will be appended.AppendRowsResponse
build()
AppendRowsResponse
buildPartial()
AppendRowsResponse.Builder
clear()
AppendRowsResponse.Builder
clearAppendResult()
Result if the append is successful.AppendRowsResponse.Builder
clearError()
Error returned when problems were encountered.AppendRowsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AppendRowsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AppendRowsResponse.Builder
clearResponse()
AppendRowsResponse.Builder
clearRowErrors()
If a request failed due to corrupted rows, no rows in the batch will be appended.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.AppendRowsResponse.Builder
clearWriteStream()
The target of the append operation.AppendRowsResponse.Builder
clone()
AppendRowsResponse.AppendResult
getAppendResult()
Result if the append is successful.AppendRowsResponse.AppendResult.Builder
getAppendResultBuilder()
Result if the append is successful.AppendRowsResponse.AppendResultOrBuilder
getAppendResultOrBuilder()
Result if the append is successful.AppendRowsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.rpc.Status
getError()
Error returned when problems were encountered.com.google.rpc.Status.Builder
getErrorBuilder()
Error returned when problems were encountered.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
Error returned when problems were encountered.AppendRowsResponse.ResponseCase
getResponseCase()
RowError
getRowErrors(int index)
If a request failed due to corrupted rows, no rows in the batch will be appended.RowError.Builder
getRowErrorsBuilder(int index)
If a request failed due to corrupted rows, no rows in the batch will be appended.List<RowError.Builder>
getRowErrorsBuilderList()
If a request failed due to corrupted rows, no rows in the batch will be appended.int
getRowErrorsCount()
If a request failed due to corrupted rows, no rows in the batch will be appended.List<RowError>
getRowErrorsList()
If a request failed due to corrupted rows, no rows in the batch will be appended.RowErrorOrBuilder
getRowErrorsOrBuilder(int index)
If a request failed due to corrupted rows, no rows in the batch will be appended.List<? extends RowErrorOrBuilder>
getRowErrorsOrBuilderList()
If a request failed due to corrupted rows, no rows in the batch will be appended.TableSchema
getUpdatedSchema()
If backend detects a schema update, pass it to user so that user can use it to input new type of message.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.TableSchemaOrBuilder
getUpdatedSchemaOrBuilder()
If backend detects a schema update, pass it to user so that user can use it to input new type of message.String
getWriteStream()
The target of the append operation.com.google.protobuf.ByteString
getWriteStreamBytes()
The target of the append operation.boolean
hasAppendResult()
Result if the append is successful.boolean
hasError()
Error returned when problems were encountered.boolean
hasUpdatedSchema()
If backend detects a schema update, pass it to user so that user can use it to input new type of message.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AppendRowsResponse.Builder
mergeAppendResult(AppendRowsResponse.AppendResult value)
Result if the append is successful.AppendRowsResponse.Builder
mergeError(com.google.rpc.Status value)
Error returned when problems were encountered.AppendRowsResponse.Builder
mergeFrom(AppendRowsResponse other)
AppendRowsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AppendRowsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
AppendRowsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.AppendRowsResponse.Builder
removeRowErrors(int index)
If a request failed due to corrupted rows, no rows in the batch will be appended.AppendRowsResponse.Builder
setAppendResult(AppendRowsResponse.AppendResult value)
Result if the append is successful.AppendRowsResponse.Builder
setAppendResult(AppendRowsResponse.AppendResult.Builder builderForValue)
Result if the append is successful.AppendRowsResponse.Builder
setError(com.google.rpc.Status value)
Error returned when problems were encountered.AppendRowsResponse.Builder
setError(com.google.rpc.Status.Builder builderForValue)
Error returned when problems were encountered.AppendRowsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AppendRowsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AppendRowsResponse.Builder
setRowErrors(int index, RowError value)
If a request failed due to corrupted rows, no rows in the batch will be appended.AppendRowsResponse.Builder
setRowErrors(int index, RowError.Builder builderForValue)
If a request failed due to corrupted rows, no rows in the batch will be appended.AppendRowsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.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.AppendRowsResponse.Builder
setWriteStream(String value)
The target of the append operation.AppendRowsResponse.Builder
setWriteStreamBytes(com.google.protobuf.ByteString value)
The target of the append operation.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
clear
public AppendRowsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
getDefaultInstanceForType
public AppendRowsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AppendRowsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AppendRowsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AppendRowsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
setField
public AppendRowsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
clearField
public AppendRowsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
clearOneof
public AppendRowsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
setRepeatedField
public AppendRowsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
addRepeatedField
public AppendRowsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
mergeFrom
public AppendRowsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AppendRowsResponse.Builder>
-
mergeFrom
public AppendRowsResponse.Builder mergeFrom(AppendRowsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
mergeFrom
public AppendRowsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AppendRowsResponse.Builder>
- Throws:
IOException
-
getResponseCase
public AppendRowsResponse.ResponseCase getResponseCase()
- Specified by:
getResponseCase
in interfaceAppendRowsResponseOrBuilder
-
clearResponse
public AppendRowsResponse.Builder clearResponse()
-
hasAppendResult
public boolean hasAppendResult()
Result if the append is successful.
.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1;
- Specified by:
hasAppendResult
in interfaceAppendRowsResponseOrBuilder
- Returns:
- Whether the appendResult field is set.
-
getAppendResult
public AppendRowsResponse.AppendResult getAppendResult()
Result if the append is successful.
.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1;
- Specified by:
getAppendResult
in interfaceAppendRowsResponseOrBuilder
- Returns:
- The appendResult.
-
setAppendResult
public AppendRowsResponse.Builder setAppendResult(AppendRowsResponse.AppendResult value)
Result if the append is successful.
.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1;
-
setAppendResult
public AppendRowsResponse.Builder setAppendResult(AppendRowsResponse.AppendResult.Builder builderForValue)
Result if the append is successful.
.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1;
-
mergeAppendResult
public AppendRowsResponse.Builder mergeAppendResult(AppendRowsResponse.AppendResult value)
Result if the append is successful.
.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1;
-
clearAppendResult
public AppendRowsResponse.Builder clearAppendResult()
Result if the append is successful.
.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1;
-
getAppendResultBuilder
public AppendRowsResponse.AppendResult.Builder getAppendResultBuilder()
Result if the append is successful.
.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1;
-
getAppendResultOrBuilder
public AppendRowsResponse.AppendResultOrBuilder getAppendResultOrBuilder()
Result if the append is successful.
.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1;
- Specified by:
getAppendResultOrBuilder
in interfaceAppendRowsResponseOrBuilder
-
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;
- Specified by:
hasError
in interfaceAppendRowsResponseOrBuilder
- Returns:
- Whether the error field is set.
-
getError
public com.google.rpc.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;
- Specified by:
getError
in interfaceAppendRowsResponseOrBuilder
- Returns:
- The error.
-
setError
public AppendRowsResponse.Builder setError(com.google.rpc.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;
-
setError
public AppendRowsResponse.Builder setError(com.google.rpc.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;
-
mergeError
public AppendRowsResponse.Builder mergeError(com.google.rpc.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;
-
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;
-
getErrorBuilder
public com.google.rpc.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;
-
getErrorOrBuilder
public com.google.rpc.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;
- Specified by:
getErrorOrBuilder
in interfaceAppendRowsResponseOrBuilder
-
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;
- Specified by:
hasUpdatedSchema
in interfaceAppendRowsResponseOrBuilder
- Returns:
- Whether the updatedSchema field is set.
-
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;
- Specified by:
getUpdatedSchema
in interfaceAppendRowsResponseOrBuilder
- Returns:
- The updatedSchema.
-
setUpdatedSchema
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;
-
setUpdatedSchema
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;
-
mergeUpdatedSchema
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;
-
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;
-
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;
-
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;
- Specified by:
getUpdatedSchemaOrBuilder
in interfaceAppendRowsResponseOrBuilder
-
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;
- Specified by:
getRowErrorsList
in interfaceAppendRowsResponseOrBuilder
-
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;
- Specified by:
getRowErrorsCount
in interfaceAppendRowsResponseOrBuilder
-
getRowErrors
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;
- Specified by:
getRowErrors
in interfaceAppendRowsResponseOrBuilder
-
setRowErrors
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;
-
setRowErrors
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;
-
addRowErrors
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;
-
addRowErrors
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;
-
addRowErrors
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;
-
addRowErrors
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;
-
addAllRowErrors
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;
-
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;
-
removeRowErrors
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;
-
getRowErrorsBuilder
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;
-
getRowErrorsOrBuilder
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;
- Specified by:
getRowErrorsOrBuilder
in interfaceAppendRowsResponseOrBuilder
-
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;
- Specified by:
getRowErrorsOrBuilderList
in interfaceAppendRowsResponseOrBuilder
-
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;
-
addRowErrorsBuilder
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;
-
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;
-
getWriteStream
public String getWriteStream()
The target of the append operation. Matches the write_stream in the corresponding request.
string write_stream = 5;
- Specified by:
getWriteStream
in interfaceAppendRowsResponseOrBuilder
- Returns:
- The writeStream.
-
getWriteStreamBytes
public com.google.protobuf.ByteString getWriteStreamBytes()
The target of the append operation. Matches the write_stream in the corresponding request.
string write_stream = 5;
- Specified by:
getWriteStreamBytes
in interfaceAppendRowsResponseOrBuilder
- Returns:
- The bytes for writeStream.
-
setWriteStream
public AppendRowsResponse.Builder setWriteStream(String value)
The target of the append operation. Matches the write_stream in the corresponding request.
string write_stream = 5;
- Parameters:
value
- The writeStream to set.- Returns:
- This builder for chaining.
-
clearWriteStream
public AppendRowsResponse.Builder clearWriteStream()
The target of the append operation. Matches the write_stream in the corresponding request.
string write_stream = 5;
- Returns:
- This builder for chaining.
-
setWriteStreamBytes
public AppendRowsResponse.Builder setWriteStreamBytes(com.google.protobuf.ByteString value)
The target of the append operation. Matches the write_stream in the corresponding request.
string write_stream = 5;
- Parameters:
value
- The bytes for writeStream to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AppendRowsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
mergeUnknownFields
public final AppendRowsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
-