Class ListPartitionsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListPartitionsResponse.Builder>
com.google.cloud.dataplex.v1.ListPartitionsResponse.Builder
All Implemented Interfaces:
ListPartitionsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListPartitionsResponse

public static final class ListPartitionsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListPartitionsResponse.Builder> implements ListPartitionsResponseOrBuilder
 List metadata partitions response.
 
Protobuf type google.cloud.dataplex.v1.ListPartitionsResponse
  • 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<ListPartitionsResponse.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<ListPartitionsResponse.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<ListPartitionsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public List<Partition> getPartitionsList()
       Partitions under the specified parent entity.
       
      repeated .google.cloud.dataplex.v1.Partition partitions = 1;
      Specified by:
      getPartitionsList in interface ListPartitionsResponseOrBuilder
    • getPartitionsCount

      public int getPartitionsCount()
       Partitions under the specified parent entity.
       
      repeated .google.cloud.dataplex.v1.Partition partitions = 1;
      Specified by:
      getPartitionsCount in interface ListPartitionsResponseOrBuilder
    • getPartitions

      public Partition getPartitions(int index)
       Partitions under the specified parent entity.
       
      repeated .google.cloud.dataplex.v1.Partition partitions = 1;
      Specified by:
      getPartitions in interface ListPartitionsResponseOrBuilder
    • setPartitions

      public ListPartitionsResponse.Builder setPartitions(int index, Partition value)
       Partitions under the specified parent entity.
       
      repeated .google.cloud.dataplex.v1.Partition partitions = 1;
    • setPartitions

      public ListPartitionsResponse.Builder setPartitions(int index, Partition.Builder builderForValue)
       Partitions under the specified parent entity.
       
      repeated .google.cloud.dataplex.v1.Partition partitions = 1;
    • addPartitions

      public ListPartitionsResponse.Builder addPartitions(Partition value)
       Partitions under the specified parent entity.
       
      repeated .google.cloud.dataplex.v1.Partition partitions = 1;
    • addPartitions

      public ListPartitionsResponse.Builder addPartitions(int index, Partition value)
       Partitions under the specified parent entity.
       
      repeated .google.cloud.dataplex.v1.Partition partitions = 1;
    • addPartitions

      public ListPartitionsResponse.Builder addPartitions(Partition.Builder builderForValue)
       Partitions under the specified parent entity.
       
      repeated .google.cloud.dataplex.v1.Partition partitions = 1;
    • addPartitions

      public ListPartitionsResponse.Builder addPartitions(int index, Partition.Builder builderForValue)
       Partitions under the specified parent entity.
       
      repeated .google.cloud.dataplex.v1.Partition partitions = 1;
    • addAllPartitions

      public ListPartitionsResponse.Builder addAllPartitions(Iterable<? extends Partition> values)
       Partitions under the specified parent entity.
       
      repeated .google.cloud.dataplex.v1.Partition partitions = 1;
    • clearPartitions

      public ListPartitionsResponse.Builder clearPartitions()
       Partitions under the specified parent entity.
       
      repeated .google.cloud.dataplex.v1.Partition partitions = 1;
    • removePartitions

      public ListPartitionsResponse.Builder removePartitions(int index)
       Partitions under the specified parent entity.
       
      repeated .google.cloud.dataplex.v1.Partition partitions = 1;
    • getPartitionsBuilder

      public Partition.Builder getPartitionsBuilder(int index)
       Partitions under the specified parent entity.
       
      repeated .google.cloud.dataplex.v1.Partition partitions = 1;
    • getPartitionsOrBuilder

      public PartitionOrBuilder getPartitionsOrBuilder(int index)
       Partitions under the specified parent entity.
       
      repeated .google.cloud.dataplex.v1.Partition partitions = 1;
      Specified by:
      getPartitionsOrBuilder in interface ListPartitionsResponseOrBuilder
    • getPartitionsOrBuilderList

      public List<? extends PartitionOrBuilder> getPartitionsOrBuilderList()
       Partitions under the specified parent entity.
       
      repeated .google.cloud.dataplex.v1.Partition partitions = 1;
      Specified by:
      getPartitionsOrBuilderList in interface ListPartitionsResponseOrBuilder
    • addPartitionsBuilder

      public Partition.Builder addPartitionsBuilder()
       Partitions under the specified parent entity.
       
      repeated .google.cloud.dataplex.v1.Partition partitions = 1;
    • addPartitionsBuilder

      public Partition.Builder addPartitionsBuilder(int index)
       Partitions under the specified parent entity.
       
      repeated .google.cloud.dataplex.v1.Partition partitions = 1;
    • getPartitionsBuilderList

      public List<Partition.Builder> getPartitionsBuilderList()
       Partitions under the specified parent entity.
       
      repeated .google.cloud.dataplex.v1.Partition partitions = 1;
    • getNextPageToken

      public String getNextPageToken()
       Token to retrieve the next page of results, or empty if there are no
       remaining results in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListPartitionsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Token to retrieve the next page of results, or empty if there are no
       remaining results in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListPartitionsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListPartitionsResponse.Builder setNextPageToken(String value)
       Token to retrieve the next page of results, or empty if there are no
       remaining results in the list.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListPartitionsResponse.Builder clearNextPageToken()
       Token to retrieve the next page of results, or empty if there are no
       remaining results in the list.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListPartitionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Token to retrieve the next page of results, or empty if there are no
       remaining results in the list.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.