public static final class BatchCommitWriteStreamsResponse.Builder extends GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder> implements BatchCommitWriteStreamsResponseOrBuilder
Response message for BatchCommitWriteStreams
.
Protobuf type google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllStreamErrors(Iterable<? extends StorageError> values)
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;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.bigquery.storage.v1.StorageError>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchCommitWriteStreamsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addStreamErrors(StorageError value)
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.v1.StorageError stream_errors = 2;
Parameter
Returns
addStreamErrors(StorageError.Builder builderForValue)
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;
Parameter
Returns
addStreamErrors(int index, StorageError value)
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.v1.StorageError stream_errors = 2;
Parameters
Returns
addStreamErrors(int index, StorageError.Builder builderForValue)
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;
Parameters
Returns
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.v1.StorageError stream_errors = 2;
Returns
addStreamErrorsBuilder(int index)
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.v1.StorageError stream_errors = 2;
Parameter
Returns
build()
public BatchCommitWriteStreamsResponse build()
Returns
buildPartial()
public BatchCommitWriteStreamsResponse buildPartial()
Returns
clear()
public BatchCommitWriteStreamsResponse.Builder clear()
Returns
Overrides
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public BatchCommitWriteStreamsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchCommitWriteStreamsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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.v1.StorageError stream_errors = 2;
Returns
clone()
public BatchCommitWriteStreamsResponse.Builder clone()
Returns
Overrides
getCommitTime()
public 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;
Returns
getCommitTimeBuilder()
public 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;
Returns
getCommitTimeOrBuilder()
public 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;
Returns
getDefaultInstanceForType()
public BatchCommitWriteStreamsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getStreamErrors(int index)
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.v1.StorageError stream_errors = 2;
Parameter
Returns
getStreamErrorsBuilder(int index)
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.v1.StorageError stream_errors = 2;
Parameter
Returns
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.v1.StorageError stream_errors = 2;
Returns
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;
Returns
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.v1.StorageError stream_errors = 2;
Returns
getStreamErrorsOrBuilder(int index)
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.v1.StorageError stream_errors = 2;
Parameter
Returns
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.v1.StorageError stream_errors = 2;
Returns
Type | Description |
List<? extends com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder> | |
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;
Returns
Type | Description |
boolean | Whether the commitTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCommitTime(Timestamp value)
public BatchCommitWriteStreamsResponse.Builder mergeCommitTime(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;
Parameter
Returns
mergeFrom(BatchCommitWriteStreamsResponse other)
public BatchCommitWriteStreamsResponse.Builder mergeFrom(BatchCommitWriteStreamsResponse other)
Parameter
Returns
public BatchCommitWriteStreamsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BatchCommitWriteStreamsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchCommitWriteStreamsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeStreamErrors(int index)
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.v1.StorageError stream_errors = 2;
Parameter
Returns
setCommitTime(Timestamp value)
public BatchCommitWriteStreamsResponse.Builder setCommitTime(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;
Parameter
Returns
setCommitTime(Timestamp.Builder builderForValue)
public BatchCommitWriteStreamsResponse.Builder setCommitTime(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;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BatchCommitWriteStreamsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchCommitWriteStreamsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setStreamErrors(int index, StorageError value)
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.v1.StorageError stream_errors = 2;
Parameters
Returns
setStreamErrors(int index, StorageError.Builder builderForValue)
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;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchCommitWriteStreamsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides