Class BatchCommitWriteStreamsResponse.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
      • getDefaultInstanceForType

        public BatchCommitWriteStreamsResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public BatchCommitWriteStreamsResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public BatchCommitWriteStreamsResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchCommitWriteStreamsResponse.Builder>
      • 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 interface BatchCommitWriteStreamsResponseOrBuilder
        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 interface BatchCommitWriteStreamsResponseOrBuilder
        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 interface BatchCommitWriteStreamsResponseOrBuilder
      • 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;
        Specified by:
        getStreamErrorsList in interface BatchCommitWriteStreamsResponseOrBuilder
      • 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;
        Specified by:
        getStreamErrorsCount in interface BatchCommitWriteStreamsResponseOrBuilder
      • 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.v1beta2.StorageError stream_errors = 2;
        Specified by:
        getStreamErrors in interface BatchCommitWriteStreamsResponseOrBuilder
      • 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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.StorageError stream_errors = 2;
        Specified by:
        getStreamErrorsOrBuilder in interface BatchCommitWriteStreamsResponseOrBuilder
      • 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;
        Specified by:
        getStreamErrorsOrBuilderList in interface BatchCommitWriteStreamsResponseOrBuilder
      • 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;
      • 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.v1beta2.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.v1beta2.StorageError stream_errors = 2;