Class BatchCommitWriteStreamsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.Builder
- All Implemented Interfaces:
BatchCommitWriteStreamsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchCommitWriteStreamsResponse
public static final class BatchCommitWriteStreamsResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
implements BatchCommitWriteStreamsResponseOrBuilder
Response message for `BatchCommitWriteStreams`.Protobuf type
google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllStreamErrors(Iterable<? extends StorageError> values) Stream level error if commit failed.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addStreamErrors(int index, StorageError value) Stream level error if commit failed.addStreamErrors(int index, StorageError.Builder builderForValue) Stream level error if commit failed.addStreamErrors(StorageError value) Stream level error if commit failed.addStreamErrors(StorageError.Builder builderForValue) Stream level error if commit failed.Stream level error if commit failed.addStreamErrorsBuilder(int index) Stream level error if commit failed.build()clear()The time at which streams were committed in microseconds granularity.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Stream level error if commit failed.clone()com.google.protobuf.TimestampThe time at which streams were committed in microseconds granularity.com.google.protobuf.Timestamp.BuilderThe time at which streams were committed in microseconds granularity.com.google.protobuf.TimestampOrBuilderThe time at which streams were committed in microseconds granularity.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetStreamErrors(int index) Stream level error if commit failed.getStreamErrorsBuilder(int index) Stream level error if commit failed.Stream level error if commit failed.intStream level error if commit failed.Stream level error if commit failed.getStreamErrorsOrBuilder(int index) Stream level error if commit failed.List<? extends StorageErrorOrBuilder>Stream level error if commit failed.booleanThe time at which streams were committed in microseconds granularity.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCommitTime(com.google.protobuf.Timestamp value) The time at which streams were committed in microseconds granularity.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeStreamErrors(int index) Stream level error if commit failed.setCommitTime(com.google.protobuf.Timestamp value) The time at which streams were committed in microseconds granularity.setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which streams were committed in microseconds granularity.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStreamErrors(int index, StorageError value) Stream level error if commit failed.setStreamErrors(int index, StorageError.Builder builderForValue) Stream level error if commit failed.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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<BatchCommitWriteStreamsResponse.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<BatchCommitWriteStreamsResponse.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<BatchCommitWriteStreamsResponse.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<BatchCommitWriteStreamsResponse.Builder>
-
setField
public BatchCommitWriteStreamsResponse.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<BatchCommitWriteStreamsResponse.Builder>
-
clearField
public BatchCommitWriteStreamsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
-
clearOneof
public BatchCommitWriteStreamsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
-
setRepeatedField
public BatchCommitWriteStreamsResponse.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<BatchCommitWriteStreamsResponse.Builder>
-
addRepeatedField
public BatchCommitWriteStreamsResponse.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<BatchCommitWriteStreamsResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchCommitWriteStreamsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
-
mergeFrom
public BatchCommitWriteStreamsResponse.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<BatchCommitWriteStreamsResponse.Builder>- Throws:
IOException
-
hasCommitTime
public boolean hasCommitTime()The time at which streams were committed in microseconds granularity. This field will only exist when there are no stream errors. **Note** if this field is not set, it means the commit was not successful.
.google.protobuf.Timestamp commit_time = 1;- Specified by:
hasCommitTimein interfaceBatchCommitWriteStreamsResponseOrBuilder- Returns:
- Whether the commitTime field is set.
-
getCommitTime
public com.google.protobuf.Timestamp getCommitTime()The time at which streams were committed in microseconds granularity. This field will only exist when there are no stream errors. **Note** if this field is not set, it means the commit was not successful.
.google.protobuf.Timestamp commit_time = 1;- Specified by:
getCommitTimein interfaceBatchCommitWriteStreamsResponseOrBuilder- Returns:
- The commitTime.
-
setCommitTime
The time at which streams were committed in microseconds granularity. This field will only exist when there are no stream errors. **Note** if this field is not set, it means the commit was not successful.
.google.protobuf.Timestamp commit_time = 1; -
setCommitTime
public BatchCommitWriteStreamsResponse.Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which streams were committed in microseconds granularity. This field will only exist when there are no stream errors. **Note** if this field is not set, it means the commit was not successful.
.google.protobuf.Timestamp commit_time = 1; -
mergeCommitTime
The time at which streams were committed in microseconds granularity. This field will only exist when there are no stream errors. **Note** if this field is not set, it means the commit was not successful.
.google.protobuf.Timestamp commit_time = 1; -
clearCommitTime
The time at which streams were committed in microseconds granularity. This field will only exist when there are no stream errors. **Note** if this field is not set, it means the commit was not successful.
.google.protobuf.Timestamp commit_time = 1; -
getCommitTimeBuilder
public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder()The time at which streams were committed in microseconds granularity. This field will only exist when there are no stream errors. **Note** if this field is not set, it means the commit was not successful.
.google.protobuf.Timestamp commit_time = 1; -
getCommitTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder()The time at which streams were committed in microseconds granularity. This field will only exist when there are no stream errors. **Note** if this field is not set, it means the commit was not successful.
.google.protobuf.Timestamp commit_time = 1;- Specified by:
getCommitTimeOrBuilderin interfaceBatchCommitWriteStreamsResponseOrBuilder
-
getStreamErrorsList
Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;- Specified by:
getStreamErrorsListin interfaceBatchCommitWriteStreamsResponseOrBuilder
-
getStreamErrorsCount
public int getStreamErrorsCount()Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;- Specified by:
getStreamErrorsCountin interfaceBatchCommitWriteStreamsResponseOrBuilder
-
getStreamErrors
Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;- Specified by:
getStreamErrorsin interfaceBatchCommitWriteStreamsResponseOrBuilder
-
setStreamErrors
Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2; -
setStreamErrors
public BatchCommitWriteStreamsResponse.Builder setStreamErrors(int index, StorageError.Builder builderForValue) Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2; -
addStreamErrors
Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2; -
addStreamErrors
Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2; -
addStreamErrors
public BatchCommitWriteStreamsResponse.Builder addStreamErrors(StorageError.Builder builderForValue) Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2; -
addStreamErrors
public BatchCommitWriteStreamsResponse.Builder addStreamErrors(int index, StorageError.Builder builderForValue) Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2; -
addAllStreamErrors
public BatchCommitWriteStreamsResponse.Builder addAllStreamErrors(Iterable<? extends StorageError> values) Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2; -
clearStreamErrors
Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2; -
removeStreamErrors
Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2; -
getStreamErrorsBuilder
Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2; -
getStreamErrorsOrBuilder
Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;- Specified by:
getStreamErrorsOrBuilderin interfaceBatchCommitWriteStreamsResponseOrBuilder
-
getStreamErrorsOrBuilderList
Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;- Specified by:
getStreamErrorsOrBuilderListin interfaceBatchCommitWriteStreamsResponseOrBuilder
-
addStreamErrorsBuilder
Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2; -
addStreamErrorsBuilder
Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2; -
getStreamErrorsBuilderList
Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2; -
setUnknownFields
public final BatchCommitWriteStreamsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
-
mergeUnknownFields
public final BatchCommitWriteStreamsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
-