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.v1.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.v1.BatchCommitWriteStreamsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 value)
Stream level error if commit failed.BatchCommitWriteStreamsResponse.Builder
addStreamErrors(int index, StorageError.Builder builderForValue)
Stream level error if commit failed.BatchCommitWriteStreamsResponse.Builder
addStreamErrors(StorageError value)
Stream level error if commit failed.BatchCommitWriteStreamsResponse.Builder
addStreamErrors(StorageError.Builder builderForValue)
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 value)
The time at which streams were committed in microseconds granularity.BatchCommitWriteStreamsResponse.Builder
setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue)
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 value)
Stream level error if commit failed.BatchCommitWriteStreamsResponse.Builder
setStreamErrors(int index, StorageError.Builder builderForValue)
Stream level error if commit failed.BatchCommitWriteStreamsResponse.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
-
clear
public BatchCommitWriteStreamsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
-
getDefaultInstanceForType
public BatchCommitWriteStreamsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchCommitWriteStreamsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchCommitWriteStreamsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchCommitWriteStreamsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
-
setField
public BatchCommitWriteStreamsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
-
clearField
public BatchCommitWriteStreamsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
-
clearOneof
public BatchCommitWriteStreamsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
-
setRepeatedField
public BatchCommitWriteStreamsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
-
addRepeatedField
public BatchCommitWriteStreamsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
-
mergeFrom
public BatchCommitWriteStreamsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchCommitWriteStreamsResponse.Builder>
-
mergeFrom
public BatchCommitWriteStreamsResponse.Builder mergeFrom(BatchCommitWriteStreamsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasCommitTime
in 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:
getCommitTime
in 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:
getCommitTimeOrBuilder
in 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.v1.StorageError stream_errors = 2;
- Specified by:
getStreamErrorsList
in 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.v1.StorageError stream_errors = 2;
- Specified by:
getStreamErrorsCount
in 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.v1.StorageError stream_errors = 2;
- Specified by:
getStreamErrors
in 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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.StorageError stream_errors = 2;
- Specified by:
getStreamErrorsOrBuilder
in 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.v1.StorageError stream_errors = 2;
- Specified by:
getStreamErrorsOrBuilderList
in 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.v1.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.v1.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.v1.StorageError stream_errors = 2;
-
setUnknownFields
public final BatchCommitWriteStreamsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
-
mergeUnknownFields
public final BatchCommitWriteStreamsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
-
-