Class ClusterShardingMessages.CoordinatorState.Builder
- java.lang.Object
-
- org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
-
- org.apache.pekko.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.CoordinatorState.Builder>
-
- org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.CoordinatorState.Builder
-
- All Implemented Interfaces:
java.lang.Cloneable
,ClusterShardingMessages.CoordinatorStateOrBuilder
,org.apache.pekko.protobufv3.internal.Message.Builder
,org.apache.pekko.protobufv3.internal.MessageLite.Builder
,org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
,org.apache.pekko.protobufv3.internal.MessageOrBuilder
- Enclosing class:
- ClusterShardingMessages.CoordinatorState
public static final class ClusterShardingMessages.CoordinatorState.Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.CoordinatorState.Builder> implements ClusterShardingMessages.CoordinatorStateOrBuilder
Protobuf typeCoordinatorState
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterShardingMessages.CoordinatorState.Builder
addAllRegionProxies(java.lang.Iterable<java.lang.String> values)
repeated string regionProxies = 3;
ClusterShardingMessages.CoordinatorState.Builder
addAllRegions(java.lang.Iterable<java.lang.String> values)
repeated string regions = 2;
ClusterShardingMessages.CoordinatorState.Builder
addAllShards(java.lang.Iterable<? extends ClusterShardingMessages.CoordinatorState.ShardEntry> values)
repeated .CoordinatorState.ShardEntry shards = 1;
ClusterShardingMessages.CoordinatorState.Builder
addAllUnallocatedShards(java.lang.Iterable<java.lang.String> values)
repeated string unallocatedShards = 4;
ClusterShardingMessages.CoordinatorState.Builder
addRegionProxies(java.lang.String value)
repeated string regionProxies = 3;
ClusterShardingMessages.CoordinatorState.Builder
addRegionProxiesBytes(org.apache.pekko.protobufv3.internal.ByteString value)
repeated string regionProxies = 3;
ClusterShardingMessages.CoordinatorState.Builder
addRegions(java.lang.String value)
repeated string regions = 2;
ClusterShardingMessages.CoordinatorState.Builder
addRegionsBytes(org.apache.pekko.protobufv3.internal.ByteString value)
repeated string regions = 2;
ClusterShardingMessages.CoordinatorState.Builder
addRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterShardingMessages.CoordinatorState.Builder
addShards(int index, ClusterShardingMessages.CoordinatorState.ShardEntry value)
repeated .CoordinatorState.ShardEntry shards = 1;
ClusterShardingMessages.CoordinatorState.Builder
addShards(int index, ClusterShardingMessages.CoordinatorState.ShardEntry.Builder builderForValue)
repeated .CoordinatorState.ShardEntry shards = 1;
ClusterShardingMessages.CoordinatorState.Builder
addShards(ClusterShardingMessages.CoordinatorState.ShardEntry value)
repeated .CoordinatorState.ShardEntry shards = 1;
ClusterShardingMessages.CoordinatorState.Builder
addShards(ClusterShardingMessages.CoordinatorState.ShardEntry.Builder builderForValue)
repeated .CoordinatorState.ShardEntry shards = 1;
ClusterShardingMessages.CoordinatorState.ShardEntry.Builder
addShardsBuilder()
repeated .CoordinatorState.ShardEntry shards = 1;
ClusterShardingMessages.CoordinatorState.ShardEntry.Builder
addShardsBuilder(int index)
repeated .CoordinatorState.ShardEntry shards = 1;
ClusterShardingMessages.CoordinatorState.Builder
addUnallocatedShards(java.lang.String value)
repeated string unallocatedShards = 4;
ClusterShardingMessages.CoordinatorState.Builder
addUnallocatedShardsBytes(org.apache.pekko.protobufv3.internal.ByteString value)
repeated string unallocatedShards = 4;
ClusterShardingMessages.CoordinatorState
build()
ClusterShardingMessages.CoordinatorState
buildPartial()
ClusterShardingMessages.CoordinatorState.Builder
clear()
ClusterShardingMessages.CoordinatorState.Builder
clearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
ClusterShardingMessages.CoordinatorState.Builder
clearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
ClusterShardingMessages.CoordinatorState.Builder
clearRegionProxies()
repeated string regionProxies = 3;
ClusterShardingMessages.CoordinatorState.Builder
clearRegions()
repeated string regions = 2;
ClusterShardingMessages.CoordinatorState.Builder
clearShards()
repeated .CoordinatorState.ShardEntry shards = 1;
ClusterShardingMessages.CoordinatorState.Builder
clearUnallocatedShards()
repeated string unallocatedShards = 4;
ClusterShardingMessages.CoordinatorState.Builder
clone()
ClusterShardingMessages.CoordinatorState
getDefaultInstanceForType()
static org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getRegionProxies(int index)
repeated string regionProxies = 3;
org.apache.pekko.protobufv3.internal.ByteString
getRegionProxiesBytes(int index)
repeated string regionProxies = 3;
int
getRegionProxiesCount()
repeated string regionProxies = 3;
org.apache.pekko.protobufv3.internal.ProtocolStringList
getRegionProxiesList()
repeated string regionProxies = 3;
java.lang.String
getRegions(int index)
repeated string regions = 2;
org.apache.pekko.protobufv3.internal.ByteString
getRegionsBytes(int index)
repeated string regions = 2;
int
getRegionsCount()
repeated string regions = 2;
org.apache.pekko.protobufv3.internal.ProtocolStringList
getRegionsList()
repeated string regions = 2;
ClusterShardingMessages.CoordinatorState.ShardEntry
getShards(int index)
repeated .CoordinatorState.ShardEntry shards = 1;
ClusterShardingMessages.CoordinatorState.ShardEntry.Builder
getShardsBuilder(int index)
repeated .CoordinatorState.ShardEntry shards = 1;
java.util.List<ClusterShardingMessages.CoordinatorState.ShardEntry.Builder>
getShardsBuilderList()
repeated .CoordinatorState.ShardEntry shards = 1;
int
getShardsCount()
repeated .CoordinatorState.ShardEntry shards = 1;
java.util.List<ClusterShardingMessages.CoordinatorState.ShardEntry>
getShardsList()
repeated .CoordinatorState.ShardEntry shards = 1;
ClusterShardingMessages.CoordinatorState.ShardEntryOrBuilder
getShardsOrBuilder(int index)
repeated .CoordinatorState.ShardEntry shards = 1;
java.util.List<? extends ClusterShardingMessages.CoordinatorState.ShardEntryOrBuilder>
getShardsOrBuilderList()
repeated .CoordinatorState.ShardEntry shards = 1;
java.lang.String
getUnallocatedShards(int index)
repeated string unallocatedShards = 4;
org.apache.pekko.protobufv3.internal.ByteString
getUnallocatedShardsBytes(int index)
repeated string unallocatedShards = 4;
int
getUnallocatedShardsCount()
repeated string unallocatedShards = 4;
org.apache.pekko.protobufv3.internal.ProtocolStringList
getUnallocatedShardsList()
repeated string unallocatedShards = 4;
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ClusterShardingMessages.CoordinatorState.Builder
mergeFrom(ClusterShardingMessages.CoordinatorState other)
ClusterShardingMessages.CoordinatorState.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
ClusterShardingMessages.CoordinatorState.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
ClusterShardingMessages.CoordinatorState.Builder
mergeUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
ClusterShardingMessages.CoordinatorState.Builder
removeShards(int index)
repeated .CoordinatorState.ShardEntry shards = 1;
ClusterShardingMessages.CoordinatorState.Builder
setField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterShardingMessages.CoordinatorState.Builder
setRegionProxies(int index, java.lang.String value)
repeated string regionProxies = 3;
ClusterShardingMessages.CoordinatorState.Builder
setRegions(int index, java.lang.String value)
repeated string regions = 2;
ClusterShardingMessages.CoordinatorState.Builder
setRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ClusterShardingMessages.CoordinatorState.Builder
setShards(int index, ClusterShardingMessages.CoordinatorState.ShardEntry value)
repeated .CoordinatorState.ShardEntry shards = 1;
ClusterShardingMessages.CoordinatorState.Builder
setShards(int index, ClusterShardingMessages.CoordinatorState.ShardEntry.Builder builderForValue)
repeated .CoordinatorState.ShardEntry shards = 1;
ClusterShardingMessages.CoordinatorState.Builder
setUnallocatedShards(int index, java.lang.String value)
repeated string unallocatedShards = 4;
ClusterShardingMessages.CoordinatorState.Builder
setUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
-
Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.CoordinatorState.Builder>
-
clear
public ClusterShardingMessages.CoordinatorState.Builder clear()
- Specified by:
clear
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
clear
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
clear
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.CoordinatorState.Builder>
-
getDescriptorForType
public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.CoordinatorState.Builder>
-
getDefaultInstanceForType
public ClusterShardingMessages.CoordinatorState getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
public ClusterShardingMessages.CoordinatorState build()
- Specified by:
build
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
buildPartial
public ClusterShardingMessages.CoordinatorState buildPartial()
- Specified by:
buildPartial
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
clone
public ClusterShardingMessages.CoordinatorState.Builder clone()
- Specified by:
clone
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
clone
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
clone
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.CoordinatorState.Builder>
-
setField
public ClusterShardingMessages.CoordinatorState.Builder setField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.CoordinatorState.Builder>
-
clearField
public ClusterShardingMessages.CoordinatorState.Builder clearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
clearField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.CoordinatorState.Builder>
-
clearOneof
public ClusterShardingMessages.CoordinatorState.Builder clearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
clearOneof
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.CoordinatorState.Builder>
-
setRepeatedField
public ClusterShardingMessages.CoordinatorState.Builder setRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setRepeatedField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.CoordinatorState.Builder>
-
addRepeatedField
public ClusterShardingMessages.CoordinatorState.Builder addRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
addRepeatedField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.CoordinatorState.Builder>
-
mergeFrom
public ClusterShardingMessages.CoordinatorState.Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classorg.apache.pekko.protobufv3.internal.AbstractMessage.Builder<ClusterShardingMessages.CoordinatorState.Builder>
-
mergeFrom
public ClusterShardingMessages.CoordinatorState.Builder mergeFrom(ClusterShardingMessages.CoordinatorState other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.CoordinatorState.Builder>
-
mergeFrom
public ClusterShardingMessages.CoordinatorState.Builder mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.apache.pekko.protobufv3.internal.AbstractMessage.Builder<ClusterShardingMessages.CoordinatorState.Builder>
- Throws:
java.io.IOException
-
getShardsList
public java.util.List<ClusterShardingMessages.CoordinatorState.ShardEntry> getShardsList()
repeated .CoordinatorState.ShardEntry shards = 1;
- Specified by:
getShardsList
in interfaceClusterShardingMessages.CoordinatorStateOrBuilder
-
getShardsCount
public int getShardsCount()
repeated .CoordinatorState.ShardEntry shards = 1;
- Specified by:
getShardsCount
in interfaceClusterShardingMessages.CoordinatorStateOrBuilder
-
getShards
public ClusterShardingMessages.CoordinatorState.ShardEntry getShards(int index)
repeated .CoordinatorState.ShardEntry shards = 1;
- Specified by:
getShards
in interfaceClusterShardingMessages.CoordinatorStateOrBuilder
-
setShards
public ClusterShardingMessages.CoordinatorState.Builder setShards(int index, ClusterShardingMessages.CoordinatorState.ShardEntry value)
repeated .CoordinatorState.ShardEntry shards = 1;
-
setShards
public ClusterShardingMessages.CoordinatorState.Builder setShards(int index, ClusterShardingMessages.CoordinatorState.ShardEntry.Builder builderForValue)
repeated .CoordinatorState.ShardEntry shards = 1;
-
addShards
public ClusterShardingMessages.CoordinatorState.Builder addShards(ClusterShardingMessages.CoordinatorState.ShardEntry value)
repeated .CoordinatorState.ShardEntry shards = 1;
-
addShards
public ClusterShardingMessages.CoordinatorState.Builder addShards(int index, ClusterShardingMessages.CoordinatorState.ShardEntry value)
repeated .CoordinatorState.ShardEntry shards = 1;
-
addShards
public ClusterShardingMessages.CoordinatorState.Builder addShards(ClusterShardingMessages.CoordinatorState.ShardEntry.Builder builderForValue)
repeated .CoordinatorState.ShardEntry shards = 1;
-
addShards
public ClusterShardingMessages.CoordinatorState.Builder addShards(int index, ClusterShardingMessages.CoordinatorState.ShardEntry.Builder builderForValue)
repeated .CoordinatorState.ShardEntry shards = 1;
-
addAllShards
public ClusterShardingMessages.CoordinatorState.Builder addAllShards(java.lang.Iterable<? extends ClusterShardingMessages.CoordinatorState.ShardEntry> values)
repeated .CoordinatorState.ShardEntry shards = 1;
-
clearShards
public ClusterShardingMessages.CoordinatorState.Builder clearShards()
repeated .CoordinatorState.ShardEntry shards = 1;
-
removeShards
public ClusterShardingMessages.CoordinatorState.Builder removeShards(int index)
repeated .CoordinatorState.ShardEntry shards = 1;
-
getShardsBuilder
public ClusterShardingMessages.CoordinatorState.ShardEntry.Builder getShardsBuilder(int index)
repeated .CoordinatorState.ShardEntry shards = 1;
-
getShardsOrBuilder
public ClusterShardingMessages.CoordinatorState.ShardEntryOrBuilder getShardsOrBuilder(int index)
repeated .CoordinatorState.ShardEntry shards = 1;
- Specified by:
getShardsOrBuilder
in interfaceClusterShardingMessages.CoordinatorStateOrBuilder
-
getShardsOrBuilderList
public java.util.List<? extends ClusterShardingMessages.CoordinatorState.ShardEntryOrBuilder> getShardsOrBuilderList()
repeated .CoordinatorState.ShardEntry shards = 1;
- Specified by:
getShardsOrBuilderList
in interfaceClusterShardingMessages.CoordinatorStateOrBuilder
-
addShardsBuilder
public ClusterShardingMessages.CoordinatorState.ShardEntry.Builder addShardsBuilder()
repeated .CoordinatorState.ShardEntry shards = 1;
-
addShardsBuilder
public ClusterShardingMessages.CoordinatorState.ShardEntry.Builder addShardsBuilder(int index)
repeated .CoordinatorState.ShardEntry shards = 1;
-
getShardsBuilderList
public java.util.List<ClusterShardingMessages.CoordinatorState.ShardEntry.Builder> getShardsBuilderList()
repeated .CoordinatorState.ShardEntry shards = 1;
-
getRegionsList
public org.apache.pekko.protobufv3.internal.ProtocolStringList getRegionsList()
repeated string regions = 2;
- Specified by:
getRegionsList
in interfaceClusterShardingMessages.CoordinatorStateOrBuilder
- Returns:
- A list containing the regions.
-
getRegionsCount
public int getRegionsCount()
repeated string regions = 2;
- Specified by:
getRegionsCount
in interfaceClusterShardingMessages.CoordinatorStateOrBuilder
- Returns:
- The count of regions.
-
getRegions
public java.lang.String getRegions(int index)
repeated string regions = 2;
- Specified by:
getRegions
in interfaceClusterShardingMessages.CoordinatorStateOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The regions at the given index.
-
getRegionsBytes
public org.apache.pekko.protobufv3.internal.ByteString getRegionsBytes(int index)
repeated string regions = 2;
- Specified by:
getRegionsBytes
in interfaceClusterShardingMessages.CoordinatorStateOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the regions at the given index.
-
setRegions
public ClusterShardingMessages.CoordinatorState.Builder setRegions(int index, java.lang.String value)
repeated string regions = 2;
- Parameters:
index
- The index to set the value at.value
- The regions to set.- Returns:
- This builder for chaining.
-
addRegions
public ClusterShardingMessages.CoordinatorState.Builder addRegions(java.lang.String value)
repeated string regions = 2;
- Parameters:
value
- The regions to add.- Returns:
- This builder for chaining.
-
addAllRegions
public ClusterShardingMessages.CoordinatorState.Builder addAllRegions(java.lang.Iterable<java.lang.String> values)
repeated string regions = 2;
- Parameters:
values
- The regions to add.- Returns:
- This builder for chaining.
-
clearRegions
public ClusterShardingMessages.CoordinatorState.Builder clearRegions()
repeated string regions = 2;
- Returns:
- This builder for chaining.
-
addRegionsBytes
public ClusterShardingMessages.CoordinatorState.Builder addRegionsBytes(org.apache.pekko.protobufv3.internal.ByteString value)
repeated string regions = 2;
- Parameters:
value
- The bytes of the regions to add.- Returns:
- This builder for chaining.
-
getRegionProxiesList
public org.apache.pekko.protobufv3.internal.ProtocolStringList getRegionProxiesList()
repeated string regionProxies = 3;
- Specified by:
getRegionProxiesList
in interfaceClusterShardingMessages.CoordinatorStateOrBuilder
- Returns:
- A list containing the regionProxies.
-
getRegionProxiesCount
public int getRegionProxiesCount()
repeated string regionProxies = 3;
- Specified by:
getRegionProxiesCount
in interfaceClusterShardingMessages.CoordinatorStateOrBuilder
- Returns:
- The count of regionProxies.
-
getRegionProxies
public java.lang.String getRegionProxies(int index)
repeated string regionProxies = 3;
- Specified by:
getRegionProxies
in interfaceClusterShardingMessages.CoordinatorStateOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The regionProxies at the given index.
-
getRegionProxiesBytes
public org.apache.pekko.protobufv3.internal.ByteString getRegionProxiesBytes(int index)
repeated string regionProxies = 3;
- Specified by:
getRegionProxiesBytes
in interfaceClusterShardingMessages.CoordinatorStateOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the regionProxies at the given index.
-
setRegionProxies
public ClusterShardingMessages.CoordinatorState.Builder setRegionProxies(int index, java.lang.String value)
repeated string regionProxies = 3;
- Parameters:
index
- The index to set the value at.value
- The regionProxies to set.- Returns:
- This builder for chaining.
-
addRegionProxies
public ClusterShardingMessages.CoordinatorState.Builder addRegionProxies(java.lang.String value)
repeated string regionProxies = 3;
- Parameters:
value
- The regionProxies to add.- Returns:
- This builder for chaining.
-
addAllRegionProxies
public ClusterShardingMessages.CoordinatorState.Builder addAllRegionProxies(java.lang.Iterable<java.lang.String> values)
repeated string regionProxies = 3;
- Parameters:
values
- The regionProxies to add.- Returns:
- This builder for chaining.
-
clearRegionProxies
public ClusterShardingMessages.CoordinatorState.Builder clearRegionProxies()
repeated string regionProxies = 3;
- Returns:
- This builder for chaining.
-
addRegionProxiesBytes
public ClusterShardingMessages.CoordinatorState.Builder addRegionProxiesBytes(org.apache.pekko.protobufv3.internal.ByteString value)
repeated string regionProxies = 3;
- Parameters:
value
- The bytes of the regionProxies to add.- Returns:
- This builder for chaining.
-
getUnallocatedShardsList
public org.apache.pekko.protobufv3.internal.ProtocolStringList getUnallocatedShardsList()
repeated string unallocatedShards = 4;
- Specified by:
getUnallocatedShardsList
in interfaceClusterShardingMessages.CoordinatorStateOrBuilder
- Returns:
- A list containing the unallocatedShards.
-
getUnallocatedShardsCount
public int getUnallocatedShardsCount()
repeated string unallocatedShards = 4;
- Specified by:
getUnallocatedShardsCount
in interfaceClusterShardingMessages.CoordinatorStateOrBuilder
- Returns:
- The count of unallocatedShards.
-
getUnallocatedShards
public java.lang.String getUnallocatedShards(int index)
repeated string unallocatedShards = 4;
- Specified by:
getUnallocatedShards
in interfaceClusterShardingMessages.CoordinatorStateOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The unallocatedShards at the given index.
-
getUnallocatedShardsBytes
public org.apache.pekko.protobufv3.internal.ByteString getUnallocatedShardsBytes(int index)
repeated string unallocatedShards = 4;
- Specified by:
getUnallocatedShardsBytes
in interfaceClusterShardingMessages.CoordinatorStateOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the unallocatedShards at the given index.
-
setUnallocatedShards
public ClusterShardingMessages.CoordinatorState.Builder setUnallocatedShards(int index, java.lang.String value)
repeated string unallocatedShards = 4;
- Parameters:
index
- The index to set the value at.value
- The unallocatedShards to set.- Returns:
- This builder for chaining.
-
addUnallocatedShards
public ClusterShardingMessages.CoordinatorState.Builder addUnallocatedShards(java.lang.String value)
repeated string unallocatedShards = 4;
- Parameters:
value
- The unallocatedShards to add.- Returns:
- This builder for chaining.
-
addAllUnallocatedShards
public ClusterShardingMessages.CoordinatorState.Builder addAllUnallocatedShards(java.lang.Iterable<java.lang.String> values)
repeated string unallocatedShards = 4;
- Parameters:
values
- The unallocatedShards to add.- Returns:
- This builder for chaining.
-
clearUnallocatedShards
public ClusterShardingMessages.CoordinatorState.Builder clearUnallocatedShards()
repeated string unallocatedShards = 4;
- Returns:
- This builder for chaining.
-
addUnallocatedShardsBytes
public ClusterShardingMessages.CoordinatorState.Builder addUnallocatedShardsBytes(org.apache.pekko.protobufv3.internal.ByteString value)
repeated string unallocatedShards = 4;
- Parameters:
value
- The bytes of the unallocatedShards to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClusterShardingMessages.CoordinatorState.Builder setUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.CoordinatorState.Builder>
-
mergeUnknownFields
public final ClusterShardingMessages.CoordinatorState.Builder mergeUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.CoordinatorState.Builder>
-
-