Interface PartitionAssignmentOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    PartitionAssignment, PartitionAssignment.Builder

    public interface PartitionAssignmentOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getPartitions​(int index)
      The list of partition numbers this subscriber is assigned to.
      int getPartitionsCount()
      The list of partition numbers this subscriber is assigned to.
      List<Long> getPartitionsList()
      The list of partition numbers this subscriber is assigned to.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getPartitionsList

        List<Long> getPartitionsList()
         The list of partition numbers this subscriber is assigned to.
         
        repeated int64 partitions = 1;
        Returns:
        A list containing the partitions.
      • getPartitionsCount

        int getPartitionsCount()
         The list of partition numbers this subscriber is assigned to.
         
        repeated int64 partitions = 1;
        Returns:
        The count of partitions.
      • getPartitions

        long getPartitions​(int index)
         The list of partition numbers this subscriber is assigned to.
         
        repeated int64 partitions = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The partitions at the given index.