Interface ClusterShardingMessages.ShardHomesEntryOrBuilder

All Superinterfaces:
org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder, org.apache.pekko.protobufv3.internal.MessageOrBuilder
All Known Implementing Classes:
ClusterShardingMessages.ShardHomesEntry, ClusterShardingMessages.ShardHomesEntry.Builder
Enclosing class:
ClusterShardingMessages

public static interface ClusterShardingMessages.ShardHomesEntryOrBuilder extends org.apache.pekko.protobufv3.internal.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    required string region = 1;
    org.apache.pekko.protobufv3.internal.ByteString
    required string region = 1;
    getShard(int index)
    repeated string shard = 2;
    org.apache.pekko.protobufv3.internal.ByteString
    getShardBytes(int index)
    repeated string shard = 2;
    int
    repeated string shard = 2;
    repeated string shard = 2;
    boolean
    required string region = 1;

    Methods inherited from interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface org.apache.pekko.protobufv3.internal.MessageOrBuilder

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

    • hasRegion

      boolean hasRegion()
      required string region = 1;
      Returns:
      Whether the region field is set.
    • getRegion

      String getRegion()
      required string region = 1;
      Returns:
      The region.
    • getRegionBytes

      org.apache.pekko.protobufv3.internal.ByteString getRegionBytes()
      required string region = 1;
      Returns:
      The bytes for region.
    • getShardList

      List<String> getShardList()
      repeated string shard = 2;
      Returns:
      A list containing the shard.
    • getShardCount

      int getShardCount()
      repeated string shard = 2;
      Returns:
      The count of shard.
    • getShard

      String getShard(int index)
      repeated string shard = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The shard at the given index.
    • getShardBytes

      org.apache.pekko.protobufv3.internal.ByteString getShardBytes(int index)
      repeated string shard = 2;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the shard at the given index.