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.v1beta2.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 typegoogle.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchCommitWriteStreamsResponse.BuilderaddAllStreamErrors(Iterable<? extends StorageError> values)Stream level error if commit failed.BatchCommitWriteStreamsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchCommitWriteStreamsResponse.BuilderaddStreamErrors(int index, StorageError value)Stream level error if commit failed.BatchCommitWriteStreamsResponse.BuilderaddStreamErrors(int index, StorageError.Builder builderForValue)Stream level error if commit failed.BatchCommitWriteStreamsResponse.BuilderaddStreamErrors(StorageError value)Stream level error if commit failed.BatchCommitWriteStreamsResponse.BuilderaddStreamErrors(StorageError.Builder builderForValue)Stream level error if commit failed.StorageError.BuilderaddStreamErrorsBuilder()Stream level error if commit failed.StorageError.BuilderaddStreamErrorsBuilder(int index)Stream level error if commit failed.BatchCommitWriteStreamsResponsebuild()BatchCommitWriteStreamsResponsebuildPartial()BatchCommitWriteStreamsResponse.Builderclear()BatchCommitWriteStreamsResponse.BuilderclearCommitTime()The time at which streams were committed in microseconds granularity.BatchCommitWriteStreamsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BatchCommitWriteStreamsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BatchCommitWriteStreamsResponse.BuilderclearStreamErrors()Stream level error if commit failed.BatchCommitWriteStreamsResponse.Builderclone()com.google.protobuf.TimestampgetCommitTime()The time at which streams were committed in microseconds granularity.com.google.protobuf.Timestamp.BuildergetCommitTimeBuilder()The time at which streams were committed in microseconds granularity.com.google.protobuf.TimestampOrBuildergetCommitTimeOrBuilder()The time at which streams were committed in microseconds granularity.BatchCommitWriteStreamsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StorageErrorgetStreamErrors(int index)Stream level error if commit failed.StorageError.BuildergetStreamErrorsBuilder(int index)Stream level error if commit failed.List<StorageError.Builder>getStreamErrorsBuilderList()Stream level error if commit failed.intgetStreamErrorsCount()Stream level error if commit failed.List<StorageError>getStreamErrorsList()Stream level error if commit failed.StorageErrorOrBuildergetStreamErrorsOrBuilder(int index)Stream level error if commit failed.List<? extends StorageErrorOrBuilder>getStreamErrorsOrBuilderList()Stream level error if commit failed.booleanhasCommitTime()The time at which streams were committed in microseconds granularity.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BatchCommitWriteStreamsResponse.BuildermergeCommitTime(com.google.protobuf.Timestamp value)The time at which streams were committed in microseconds granularity.BatchCommitWriteStreamsResponse.BuildermergeFrom(BatchCommitWriteStreamsResponse other)BatchCommitWriteStreamsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BatchCommitWriteStreamsResponse.BuildermergeFrom(com.google.protobuf.Message other)BatchCommitWriteStreamsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BatchCommitWriteStreamsResponse.BuilderremoveStreamErrors(int index)Stream level error if commit failed.BatchCommitWriteStreamsResponse.BuildersetCommitTime(com.google.protobuf.Timestamp value)The time at which streams were committed in microseconds granularity.BatchCommitWriteStreamsResponse.BuildersetCommitTime(com.google.protobuf.Timestamp.Builder builderForValue)The time at which streams were committed in microseconds granularity.BatchCommitWriteStreamsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchCommitWriteStreamsResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BatchCommitWriteStreamsResponse.BuildersetStreamErrors(int index, StorageError value)Stream level error if commit failed.BatchCommitWriteStreamsResponse.BuildersetStreamErrors(int index, StorageError.Builder builderForValue)Stream level error if commit failed.BatchCommitWriteStreamsResponse.BuildersetUnknownFields(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, 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
-
clear
public 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
public BatchCommitWriteStreamsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchCommitWriteStreamsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchCommitWriteStreamsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchCommitWriteStreamsResponse.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
public BatchCommitWriteStreamsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchCommitWriteStreamsResponse.Builder>
-
mergeFrom
public BatchCommitWriteStreamsResponse.Builder mergeFrom(BatchCommitWriteStreamsResponse other)
-
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
public BatchCommitWriteStreamsResponse.Builder setCommitTime(com.google.protobuf.Timestamp value)
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
public BatchCommitWriteStreamsResponse.Builder mergeCommitTime(com.google.protobuf.Timestamp value)
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
public BatchCommitWriteStreamsResponse.Builder 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
public List<StorageError> 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.v1beta2.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.v1beta2.StorageError stream_errors = 2;- Specified by:
getStreamErrorsCountin interfaceBatchCommitWriteStreamsResponseOrBuilder
-
getStreamErrors
public StorageError getStreamErrors(int index)
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.v1beta2.StorageError stream_errors = 2;- Specified by:
getStreamErrorsin interfaceBatchCommitWriteStreamsResponseOrBuilder
-
setStreamErrors
public BatchCommitWriteStreamsResponse.Builder setStreamErrors(int index, StorageError value)
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.v1beta2.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.v1beta2.StorageError stream_errors = 2;
-
addStreamErrors
public BatchCommitWriteStreamsResponse.Builder addStreamErrors(StorageError value)
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.v1beta2.StorageError stream_errors = 2;
-
addStreamErrors
public BatchCommitWriteStreamsResponse.Builder addStreamErrors(int index, StorageError value)
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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.StorageError stream_errors = 2;
-
clearStreamErrors
public BatchCommitWriteStreamsResponse.Builder 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.v1beta2.StorageError stream_errors = 2;
-
removeStreamErrors
public BatchCommitWriteStreamsResponse.Builder removeStreamErrors(int index)
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.v1beta2.StorageError stream_errors = 2;
-
getStreamErrorsBuilder
public StorageError.Builder getStreamErrorsBuilder(int index)
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.v1beta2.StorageError stream_errors = 2;
-
getStreamErrorsOrBuilder
public StorageErrorOrBuilder getStreamErrorsOrBuilder(int index)
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.v1beta2.StorageError stream_errors = 2;- Specified by:
getStreamErrorsOrBuilderin interfaceBatchCommitWriteStreamsResponseOrBuilder
-
getStreamErrorsOrBuilderList
public List<? extends StorageErrorOrBuilder> 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.v1beta2.StorageError stream_errors = 2;- Specified by:
getStreamErrorsOrBuilderListin interfaceBatchCommitWriteStreamsResponseOrBuilder
-
addStreamErrorsBuilder
public StorageError.Builder 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.v1beta2.StorageError stream_errors = 2;
-
addStreamErrorsBuilder
public StorageError.Builder addStreamErrorsBuilder(int index)
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.v1beta2.StorageError stream_errors = 2;
-
getStreamErrorsBuilderList
public List<StorageError.Builder> 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.v1beta2.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>
-
-