public static final class BatchCommitWriteStreamsResponse.Builder extends GeneratedMessage.Builder<BatchCommitWriteStreamsResponse.Builder> implements BatchCommitWriteStreamsResponseOrBuilder Response message for BatchCommitWriteStreams.
Protobuf type google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchCommitWriteStreamsResponse.BuilderImplements
BatchCommitWriteStreamsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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.v1beta2.StorageError stream_errors = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.bigquery.storage.v1beta2.StorageError> |
| Returns | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse.Builder |
|
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.v1beta2.StorageError stream_errors = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StorageError |
| Returns | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse.Builder |
|
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.v1beta2.StorageError stream_errors = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
StorageError.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse.Builder |
|
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.v1beta2.StorageError stream_errors = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
StorageError |
| Returns | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse.Builder |
|
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.v1beta2.StorageError stream_errors = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
StorageError.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
StorageError.Builder |
|
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.v1beta2.StorageError stream_errors = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StorageError.Builder |
|
build()
public BatchCommitWriteStreamsResponse build()| Returns | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse |
|
buildPartial()
public BatchCommitWriteStreamsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse |
|
clear()
public BatchCommitWriteStreamsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse.Builder |
|
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 | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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 | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public BatchCommitWriteStreamsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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.v1beta2.StorageError stream_errors = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StorageError |
|
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.v1beta2.StorageError stream_errors = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StorageError.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| 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.v1beta2.StorageError stream_errors = 2;
| Returns | |
|---|---|
| Type | Description |
List<StorageError> |
|
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.v1beta2.StorageError stream_errors = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StorageErrorOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.bigquery.storage.v1beta2.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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse.Builder |
|
mergeFrom(BatchCommitWriteStreamsResponse other)
public BatchCommitWriteStreamsResponse.Builder mergeFrom(BatchCommitWriteStreamsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchCommitWriteStreamsResponse |
| Returns | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchCommitWriteStreamsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchCommitWriteStreamsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse.Builder |
|
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.v1beta2.StorageError stream_errors = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse.Builder |
|
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 | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse.Builder |
|
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.v1beta2.StorageError stream_errors = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
StorageError |
| Returns | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse.Builder |
|
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.v1beta2.StorageError stream_errors = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
StorageError.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchCommitWriteStreamsResponse.Builder |
|