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 TypeMethodDescriptionrequired string region = 1;org.apache.pekko.protobufv3.internal.ByteStringrequired string region = 1;getShard(int index) repeated string shard = 2;org.apache.pekko.protobufv3.internal.ByteStringgetShardBytes(int index) repeated string shard = 2;intrepeated string shard = 2;repeated string shard = 2;booleanrequired string region = 1;Methods inherited from interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
isInitializedMethods 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
repeated string shard = 2;- Returns:
- A list containing the shard.
-
getShardCount
int getShardCount()repeated string shard = 2;- Returns:
- The count of shard.
-
getShard
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.
-