Class MetastorePartitionList.Builder

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

public static final class MetastorePartitionList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MetastorePartitionList.Builder> implements MetastorePartitionListOrBuilder
 List of metastore partitions.
 
Protobuf type google.cloud.bigquery.storage.v1alpha.MetastorePartitionList
  • 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<MetastorePartitionList.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<MetastorePartitionList.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<MetastorePartitionList.Builder>
    • getDefaultInstanceForType

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

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

      public MetastorePartitionList 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<MetastorePartitionList.Builder>
    • setField

      public MetastorePartitionList.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<MetastorePartitionList.Builder>
    • clearField

      public MetastorePartitionList.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<MetastorePartitionList.Builder>
    • clearOneof

      public MetastorePartitionList.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<MetastorePartitionList.Builder>
    • setRepeatedField

      public MetastorePartitionList.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<MetastorePartitionList.Builder>
    • addRepeatedField

      public MetastorePartitionList.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<MetastorePartitionList.Builder>
    • mergeFrom

      public MetastorePartitionList.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<MetastorePartitionList.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<MetastorePartitionList.Builder>
    • mergeFrom

      public MetastorePartitionList.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<MetastorePartitionList.Builder>
      Throws:
      IOException
    • getPartitionsList

      public List<MetastorePartition> getPartitionsList()
       Required. List of partitions.
       
      repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPartitionsList in interface MetastorePartitionListOrBuilder
    • getPartitionsCount

      public int getPartitionsCount()
       Required. List of partitions.
       
      repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPartitionsCount in interface MetastorePartitionListOrBuilder
    • getPartitions

      public MetastorePartition getPartitions(int index)
       Required. List of partitions.
       
      repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPartitions in interface MetastorePartitionListOrBuilder
    • setPartitions

      public MetastorePartitionList.Builder setPartitions(int index, MetastorePartition value)
       Required. List of partitions.
       
      repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
    • setPartitions

      public MetastorePartitionList.Builder setPartitions(int index, MetastorePartition.Builder builderForValue)
       Required. List of partitions.
       
      repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
    • addPartitions

      public MetastorePartitionList.Builder addPartitions(MetastorePartition value)
       Required. List of partitions.
       
      repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
    • addPartitions

      public MetastorePartitionList.Builder addPartitions(int index, MetastorePartition value)
       Required. List of partitions.
       
      repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
    • addPartitions

      public MetastorePartitionList.Builder addPartitions(MetastorePartition.Builder builderForValue)
       Required. List of partitions.
       
      repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
    • addPartitions

      public MetastorePartitionList.Builder addPartitions(int index, MetastorePartition.Builder builderForValue)
       Required. List of partitions.
       
      repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAllPartitions

      public MetastorePartitionList.Builder addAllPartitions(Iterable<? extends MetastorePartition> values)
       Required. List of partitions.
       
      repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearPartitions

      public MetastorePartitionList.Builder clearPartitions()
       Required. List of partitions.
       
      repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
    • removePartitions

      public MetastorePartitionList.Builder removePartitions(int index)
       Required. List of partitions.
       
      repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
    • getPartitionsBuilder

      public MetastorePartition.Builder getPartitionsBuilder(int index)
       Required. List of partitions.
       
      repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
    • getPartitionsOrBuilder

      public MetastorePartitionOrBuilder getPartitionsOrBuilder(int index)
       Required. List of partitions.
       
      repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPartitionsOrBuilder in interface MetastorePartitionListOrBuilder
    • getPartitionsOrBuilderList

      public List<? extends MetastorePartitionOrBuilder> getPartitionsOrBuilderList()
       Required. List of partitions.
       
      repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPartitionsOrBuilderList in interface MetastorePartitionListOrBuilder
    • addPartitionsBuilder

      public MetastorePartition.Builder addPartitionsBuilder()
       Required. List of partitions.
       
      repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
    • addPartitionsBuilder

      public MetastorePartition.Builder addPartitionsBuilder(int index)
       Required. List of partitions.
       
      repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
    • getPartitionsBuilderList

      public List<MetastorePartition.Builder> getPartitionsBuilderList()
       Required. List of partitions.
       
      repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition partitions = 1 [(.google.api.field_behavior) = REQUIRED];
    • setUnknownFields

      public final MetastorePartitionList.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<MetastorePartitionList.Builder>
    • mergeUnknownFields

      public final MetastorePartitionList.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<MetastorePartitionList.Builder>