Class BatchUpdatePartitionsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchUpdatePartitionsResponse.Builder>
com.google.cloud.biglake.hive.v1beta.BatchUpdatePartitionsResponse.Builder
All Implemented Interfaces:
BatchUpdatePartitionsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BatchUpdatePartitionsResponse

public static final class BatchUpdatePartitionsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchUpdatePartitionsResponse.Builder> implements BatchUpdatePartitionsResponseOrBuilder
 Response message for BatchUpdatePartitions.
 
Protobuf type google.cloud.biglake.hive.v1beta.BatchUpdatePartitionsResponse
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BatchUpdatePartitionsResponse.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.GeneratedMessage.Builder<BatchUpdatePartitionsResponse.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.GeneratedMessage.Builder<BatchUpdatePartitionsResponse.Builder>
    • getDefaultInstanceForType

      public BatchUpdatePartitionsResponse 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 BatchUpdatePartitionsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

    • isInitialized

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

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

      public List<Partition> getPartitionsList()
       The list of partitions that have been updated.
       A maximum of 900 partitions can be updated in a batch.
       
      repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;
      Specified by:
      getPartitionsList in interface BatchUpdatePartitionsResponseOrBuilder
    • getPartitionsCount

      public int getPartitionsCount()
       The list of partitions that have been updated.
       A maximum of 900 partitions can be updated in a batch.
       
      repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;
      Specified by:
      getPartitionsCount in interface BatchUpdatePartitionsResponseOrBuilder
    • getPartitions

      public Partition getPartitions(int index)
       The list of partitions that have been updated.
       A maximum of 900 partitions can be updated in a batch.
       
      repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;
      Specified by:
      getPartitions in interface BatchUpdatePartitionsResponseOrBuilder
    • setPartitions

      public BatchUpdatePartitionsResponse.Builder setPartitions(int index, Partition value)
       The list of partitions that have been updated.
       A maximum of 900 partitions can be updated in a batch.
       
      repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;
    • setPartitions

      public BatchUpdatePartitionsResponse.Builder setPartitions(int index, Partition.Builder builderForValue)
       The list of partitions that have been updated.
       A maximum of 900 partitions can be updated in a batch.
       
      repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;
    • addPartitions

      public BatchUpdatePartitionsResponse.Builder addPartitions(Partition value)
       The list of partitions that have been updated.
       A maximum of 900 partitions can be updated in a batch.
       
      repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;
    • addPartitions

      public BatchUpdatePartitionsResponse.Builder addPartitions(int index, Partition value)
       The list of partitions that have been updated.
       A maximum of 900 partitions can be updated in a batch.
       
      repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;
    • addPartitions

      public BatchUpdatePartitionsResponse.Builder addPartitions(Partition.Builder builderForValue)
       The list of partitions that have been updated.
       A maximum of 900 partitions can be updated in a batch.
       
      repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;
    • addPartitions

      public BatchUpdatePartitionsResponse.Builder addPartitions(int index, Partition.Builder builderForValue)
       The list of partitions that have been updated.
       A maximum of 900 partitions can be updated in a batch.
       
      repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;
    • addAllPartitions

      public BatchUpdatePartitionsResponse.Builder addAllPartitions(Iterable<? extends Partition> values)
       The list of partitions that have been updated.
       A maximum of 900 partitions can be updated in a batch.
       
      repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;
    • clearPartitions

      public BatchUpdatePartitionsResponse.Builder clearPartitions()
       The list of partitions that have been updated.
       A maximum of 900 partitions can be updated in a batch.
       
      repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;
    • removePartitions

      public BatchUpdatePartitionsResponse.Builder removePartitions(int index)
       The list of partitions that have been updated.
       A maximum of 900 partitions can be updated in a batch.
       
      repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;
    • getPartitionsBuilder

      public Partition.Builder getPartitionsBuilder(int index)
       The list of partitions that have been updated.
       A maximum of 900 partitions can be updated in a batch.
       
      repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;
    • getPartitionsOrBuilder

      public PartitionOrBuilder getPartitionsOrBuilder(int index)
       The list of partitions that have been updated.
       A maximum of 900 partitions can be updated in a batch.
       
      repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;
      Specified by:
      getPartitionsOrBuilder in interface BatchUpdatePartitionsResponseOrBuilder
    • getPartitionsOrBuilderList

      public List<? extends PartitionOrBuilder> getPartitionsOrBuilderList()
       The list of partitions that have been updated.
       A maximum of 900 partitions can be updated in a batch.
       
      repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;
      Specified by:
      getPartitionsOrBuilderList in interface BatchUpdatePartitionsResponseOrBuilder
    • addPartitionsBuilder

      public Partition.Builder addPartitionsBuilder()
       The list of partitions that have been updated.
       A maximum of 900 partitions can be updated in a batch.
       
      repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;
    • addPartitionsBuilder

      public Partition.Builder addPartitionsBuilder(int index)
       The list of partitions that have been updated.
       A maximum of 900 partitions can be updated in a batch.
       
      repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;
    • getPartitionsBuilderList

      public List<Partition.Builder> getPartitionsBuilderList()
       The list of partitions that have been updated.
       A maximum of 900 partitions can be updated in a batch.
       
      repeated .google.cloud.biglake.hive.v1beta.Partition partitions = 1;