public interface PartitionAssignmentOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getPartitions(int index)
public abstract long getPartitions(int index)The list of partition numbers this subscriber is assigned to.
repeated int64 partitions = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
long |
The partitions at the given index. |
getPartitionsCount()
public abstract int getPartitionsCount()The list of partition numbers this subscriber is assigned to.
repeated int64 partitions = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of partitions. |
getPartitionsList()
public abstract List<Long> getPartitionsList()The list of partition numbers this subscriber is assigned to.
repeated int64 partitions = 1;
| Returns | |
|---|---|
| Type | Description |
List<Long> |
A list containing the partitions. |