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()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchCommitWriteStreamsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
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;
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 |
---|
Name | Description |
index | int
|
build()
public BatchCommitWriteStreamsResponse build()
buildPartial()
public BatchCommitWriteStreamsResponse buildPartial()
clear()
public BatchCommitWriteStreamsResponse.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public BatchCommitWriteStreamsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchCommitWriteStreamsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public BatchCommitWriteStreamsResponse.Builder clone()
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 |
---|
Type | Description |
Timestamp | The commitTime.
|
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;
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;
getDefaultInstanceForType()
public BatchCommitWriteStreamsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(BatchCommitWriteStreamsResponse other)
public BatchCommitWriteStreamsResponse.Builder mergeFrom(BatchCommitWriteStreamsResponse other)
public BatchCommitWriteStreamsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchCommitWriteStreamsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchCommitWriteStreamsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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;
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchCommitWriteStreamsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchCommitWriteStreamsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchCommitWriteStreamsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides