Class StreamMetastorePartitionsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<StreamMetastorePartitionsResponse.Builder>
com.google.cloud.bigquery.storage.v1alpha.StreamMetastorePartitionsResponse.Builder
All Implemented Interfaces:
StreamMetastorePartitionsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
StreamMetastorePartitionsResponse

public static final class StreamMetastorePartitionsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StreamMetastorePartitionsResponse.Builder> implements StreamMetastorePartitionsResponseOrBuilder
 This is the response message sent by the server
 to the client for the [Partitions.StreamMetastorePartitions][] method when
 the commit is successful. Server will close the stream after sending this
 message.
 
Protobuf type google.cloud.bigquery.storage.v1alpha.StreamMetastorePartitionsResponse
  • Method Details

    • 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<StreamMetastorePartitionsResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<StreamMetastorePartitionsResponse.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<StreamMetastorePartitionsResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<StreamMetastorePartitionsResponse.Builder>
    • setField

      public StreamMetastorePartitionsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamMetastorePartitionsResponse.Builder>
    • clearField

      public StreamMetastorePartitionsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamMetastorePartitionsResponse.Builder>
    • clearOneof

      public StreamMetastorePartitionsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StreamMetastorePartitionsResponse.Builder>
    • setRepeatedField

      public StreamMetastorePartitionsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamMetastorePartitionsResponse.Builder>
    • addRepeatedField

      public StreamMetastorePartitionsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamMetastorePartitionsResponse.Builder>
    • mergeFrom

      public StreamMetastorePartitionsResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamMetastorePartitionsResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StreamMetastorePartitionsResponse.Builder>
    • mergeFrom

      public StreamMetastorePartitionsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamMetastorePartitionsResponse.Builder>
      Throws:
      IOException
    • getTotalPartitionsStreamedCount

      public long getTotalPartitionsStreamedCount()
       Total count of partitions streamed by the client during the lifetime of the
       stream. This is only set in the final response message before closing the
       stream.
       
      int64 total_partitions_streamed_count = 2;
      Specified by:
      getTotalPartitionsStreamedCount in interface StreamMetastorePartitionsResponseOrBuilder
      Returns:
      The totalPartitionsStreamedCount.
    • setTotalPartitionsStreamedCount

      public StreamMetastorePartitionsResponse.Builder setTotalPartitionsStreamedCount(long value)
       Total count of partitions streamed by the client during the lifetime of the
       stream. This is only set in the final response message before closing the
       stream.
       
      int64 total_partitions_streamed_count = 2;
      Parameters:
      value - The totalPartitionsStreamedCount to set.
      Returns:
      This builder for chaining.
    • clearTotalPartitionsStreamedCount

      public StreamMetastorePartitionsResponse.Builder clearTotalPartitionsStreamedCount()
       Total count of partitions streamed by the client during the lifetime of the
       stream. This is only set in the final response message before closing the
       stream.
       
      int64 total_partitions_streamed_count = 2;
      Returns:
      This builder for chaining.
    • getTotalPartitionsInsertedCount

      public long getTotalPartitionsInsertedCount()
       Total count of partitions inserted by the server during the lifetime of the
       stream. This is only set in the final response message before closing the
       stream.
       
      int64 total_partitions_inserted_count = 3;
      Specified by:
      getTotalPartitionsInsertedCount in interface StreamMetastorePartitionsResponseOrBuilder
      Returns:
      The totalPartitionsInsertedCount.
    • setTotalPartitionsInsertedCount

      public StreamMetastorePartitionsResponse.Builder setTotalPartitionsInsertedCount(long value)
       Total count of partitions inserted by the server during the lifetime of the
       stream. This is only set in the final response message before closing the
       stream.
       
      int64 total_partitions_inserted_count = 3;
      Parameters:
      value - The totalPartitionsInsertedCount to set.
      Returns:
      This builder for chaining.
    • clearTotalPartitionsInsertedCount

      public StreamMetastorePartitionsResponse.Builder clearTotalPartitionsInsertedCount()
       Total count of partitions inserted by the server during the lifetime of the
       stream. This is only set in the final response message before closing the
       stream.
       
      int64 total_partitions_inserted_count = 3;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final StreamMetastorePartitionsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamMetastorePartitionsResponse.Builder>
    • mergeUnknownFields

      public final StreamMetastorePartitionsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamMetastorePartitionsResponse.Builder>