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.v1beta2.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 type
google.cloud.bigquery.storage.v1beta2.AppendRowsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Result if the append is successful.Error returned when problems were encountered.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) If backend detects a schema update, pass it to user so that user can use it to input new type of message.clone()Result if the append is successful.Result if the append is successful.Result if the append is successful.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.rpc.StatusgetError()Error returned when problems were encountered.com.google.rpc.Status.BuilderError returned when problems were encountered.com.google.rpc.StatusOrBuilderError returned when problems were encountered.If backend detects a schema update, pass it to user so that user can use it to input new type of message.If backend detects a schema update, pass it to user so that user can use it to input new type of message.If backend detects a schema update, pass it to user so that user can use it to input new type of message.booleanResult if the append is successful.booleanhasError()Error returned when problems were encountered.booleanIf 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.FieldAccessorTablefinal booleanResult if the append is successful.mergeError(com.google.rpc.Status value) Error returned when problems were encountered.mergeFrom(AppendRowsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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.Result if the append is successful.setAppendResult(AppendRowsResponse.AppendResult.Builder builderForValue) Result if the append is successful.setError(com.google.rpc.Status value) Error returned when problems were encountered.setError(com.google.rpc.Status.Builder builderForValue) Error returned when problems were encountered.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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.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.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
setField
public AppendRowsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
setRepeatedField
public AppendRowsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
addRepeatedField
public AppendRowsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AppendRowsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AppendRowsResponse.Builder>- Throws:
IOException
-
getResponseCase
- Specified by:
getResponseCasein interfaceAppendRowsResponseOrBuilder
-
clearResponse
-
hasAppendResult
public boolean hasAppendResult()Result if the append is successful.
.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1;- Specified by:
hasAppendResultin interfaceAppendRowsResponseOrBuilder- Returns:
- Whether the appendResult field is set.
-
getAppendResult
Result if the append is successful.
.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1;- Specified by:
getAppendResultin interfaceAppendRowsResponseOrBuilder- Returns:
- The appendResult.
-
setAppendResult
Result if the append is successful.
.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; -
setAppendResult
public AppendRowsResponse.Builder setAppendResult(AppendRowsResponse.AppendResult.Builder builderForValue) Result if the append is successful.
.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; -
mergeAppendResult
Result if the append is successful.
.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; -
clearAppendResult
Result if the append is successful.
.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; -
getAppendResultBuilder
Result if the append is successful.
.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; -
getAppendResultOrBuilder
Result if the append is successful.
.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1;- Specified by:
getAppendResultOrBuilderin 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:
hasErrorin 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:
getErrorin interfaceAppendRowsResponseOrBuilder- Returns:
- The error.
-
setError
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
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
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
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:
getErrorOrBuilderin 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.v1beta2.TableSchema updated_schema = 3;- Specified by:
hasUpdatedSchemain interfaceAppendRowsResponseOrBuilder- Returns:
- Whether the updatedSchema field is set.
-
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;- Specified by:
getUpdatedSchemain interfaceAppendRowsResponseOrBuilder- Returns:
- The updatedSchema.
-
setUpdatedSchema
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
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; -
mergeUpdatedSchema
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; -
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; -
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
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;- Specified by:
getUpdatedSchemaOrBuilderin interfaceAppendRowsResponseOrBuilder
-
setUnknownFields
public final AppendRowsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-
mergeUnknownFields
public final AppendRowsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsResponse.Builder>
-