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.v1beta2.BatchCommitWriteStreamsResponse| Modifier and Type | Method and Description |
|---|---|
BatchCommitWriteStreamsResponse.Builder |
addAllStreamErrors(Iterable<? extends StorageError> values)
Stream level error if commit failed.
|
BatchCommitWriteStreamsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchCommitWriteStreamsResponse.Builder |
addStreamErrors(int index,
StorageError.Builder builderForValue)
Stream level error if commit failed.
|
BatchCommitWriteStreamsResponse.Builder |
addStreamErrors(int index,
StorageError value)
Stream level error if commit failed.
|
BatchCommitWriteStreamsResponse.Builder |
addStreamErrors(StorageError.Builder builderForValue)
Stream level error if commit failed.
|
BatchCommitWriteStreamsResponse.Builder |
addStreamErrors(StorageError value)
Stream level error if commit failed.
|
StorageError.Builder |
addStreamErrorsBuilder()
Stream level error if commit failed.
|
StorageError.Builder |
addStreamErrorsBuilder(int index)
Stream level error if commit failed.
|
BatchCommitWriteStreamsResponse |
build() |
BatchCommitWriteStreamsResponse |
buildPartial() |
BatchCommitWriteStreamsResponse.Builder |
clear() |
BatchCommitWriteStreamsResponse.Builder |
clearCommitTime()
The time at which streams were committed in microseconds granularity.
|
BatchCommitWriteStreamsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BatchCommitWriteStreamsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BatchCommitWriteStreamsResponse.Builder |
clearStreamErrors()
Stream level error if commit failed.
|
BatchCommitWriteStreamsResponse.Builder |
clone() |
com.google.protobuf.Timestamp |
getCommitTime()
The time at which streams were committed in microseconds granularity.
|
com.google.protobuf.Timestamp.Builder |
getCommitTimeBuilder()
The time at which streams were committed in microseconds granularity.
|
com.google.protobuf.TimestampOrBuilder |
getCommitTimeOrBuilder()
The time at which streams were committed in microseconds granularity.
|
BatchCommitWriteStreamsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
StorageError |
getStreamErrors(int index)
Stream level error if commit failed.
|
StorageError.Builder |
getStreamErrorsBuilder(int index)
Stream level error if commit failed.
|
List<StorageError.Builder> |
getStreamErrorsBuilderList()
Stream level error if commit failed.
|
int |
getStreamErrorsCount()
Stream level error if commit failed.
|
List<StorageError> |
getStreamErrorsList()
Stream level error if commit failed.
|
StorageErrorOrBuilder |
getStreamErrorsOrBuilder(int index)
Stream level error if commit failed.
|
List<? extends StorageErrorOrBuilder> |
getStreamErrorsOrBuilderList()
Stream level error if commit failed.
|
boolean |
hasCommitTime()
The time at which streams were committed in microseconds granularity.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BatchCommitWriteStreamsResponse.Builder |
mergeCommitTime(com.google.protobuf.Timestamp value)
The time at which streams were committed in microseconds granularity.
|
BatchCommitWriteStreamsResponse.Builder |
mergeFrom(BatchCommitWriteStreamsResponse other) |
BatchCommitWriteStreamsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BatchCommitWriteStreamsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
BatchCommitWriteStreamsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchCommitWriteStreamsResponse.Builder |
removeStreamErrors(int index)
Stream level error if commit failed.
|
BatchCommitWriteStreamsResponse.Builder |
setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which streams were committed in microseconds granularity.
|
BatchCommitWriteStreamsResponse.Builder |
setCommitTime(com.google.protobuf.Timestamp value)
The time at which streams were committed in microseconds granularity.
|
BatchCommitWriteStreamsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchCommitWriteStreamsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BatchCommitWriteStreamsResponse.Builder |
setStreamErrors(int index,
StorageError.Builder builderForValue)
Stream level error if commit failed.
|
BatchCommitWriteStreamsResponse.Builder |
setStreamErrors(int index,
StorageError value)
Stream level error if commit failed.
|
BatchCommitWriteStreamsResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>public BatchCommitWriteStreamsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>public BatchCommitWriteStreamsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchCommitWriteStreamsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchCommitWriteStreamsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchCommitWriteStreamsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>public BatchCommitWriteStreamsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>public BatchCommitWriteStreamsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>public BatchCommitWriteStreamsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>public BatchCommitWriteStreamsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>public BatchCommitWriteStreamsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>public BatchCommitWriteStreamsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchCommitWriteStreamsResponse.Builder>public BatchCommitWriteStreamsResponse.Builder mergeFrom(BatchCommitWriteStreamsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>public BatchCommitWriteStreamsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchCommitWriteStreamsResponse.Builder>IOExceptionpublic 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;hasCommitTime in interface BatchCommitWriteStreamsResponseOrBuilderpublic 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;getCommitTime in interface BatchCommitWriteStreamsResponseOrBuilderpublic 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;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;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;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;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;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;getCommitTimeOrBuilder in interface BatchCommitWriteStreamsResponseOrBuilderpublic 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;getStreamErrorsList in interface BatchCommitWriteStreamsResponseOrBuilderpublic 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;getStreamErrorsCount in interface BatchCommitWriteStreamsResponseOrBuilderpublic 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;getStreamErrors in interface BatchCommitWriteStreamsResponseOrBuilderpublic 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;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;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;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;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;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;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;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;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;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;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;getStreamErrorsOrBuilder in interface BatchCommitWriteStreamsResponseOrBuilderpublic 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;getStreamErrorsOrBuilderList in interface BatchCommitWriteStreamsResponseOrBuilderpublic 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;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;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;public final BatchCommitWriteStreamsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>public final BatchCommitWriteStreamsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>Copyright © 2021 Google LLC. All rights reserved.