Class ClusterShardingMessages.ShardHomesEntry.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardHomesEntry.Builder>
-
- akka.cluster.sharding.protobuf.msg.ClusterShardingMessages.ShardHomesEntry.Builder
-
- All Implemented Interfaces:
ClusterShardingMessages.ShardHomesEntryOrBuilder
,akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ClusterShardingMessages.ShardHomesEntry
public static final class ClusterShardingMessages.ShardHomesEntry.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardHomesEntry.Builder> implements ClusterShardingMessages.ShardHomesEntryOrBuilder
only used nested in ShardHomes
Protobuf typeShardHomesEntry
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterShardingMessages.ShardHomesEntry.Builder
addAllShard(java.lang.Iterable<java.lang.String> values)
repeated string shard = 2;
ClusterShardingMessages.ShardHomesEntry.Builder
addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterShardingMessages.ShardHomesEntry.Builder
addShard(java.lang.String value)
repeated string shard = 2;
ClusterShardingMessages.ShardHomesEntry.Builder
addShardBytes(akka.protobufv3.internal.ByteString value)
repeated string shard = 2;
ClusterShardingMessages.ShardHomesEntry
build()
ClusterShardingMessages.ShardHomesEntry
buildPartial()
ClusterShardingMessages.ShardHomesEntry.Builder
clear()
ClusterShardingMessages.ShardHomesEntry.Builder
clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
ClusterShardingMessages.ShardHomesEntry.Builder
clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
ClusterShardingMessages.ShardHomesEntry.Builder
clearRegion()
required string region = 1;
ClusterShardingMessages.ShardHomesEntry.Builder
clearShard()
repeated string shard = 2;
ClusterShardingMessages.ShardHomesEntry.Builder
clone()
ClusterShardingMessages.ShardHomesEntry
getDefaultInstanceForType()
static akka.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
akka.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getRegion()
required string region = 1;
akka.protobufv3.internal.ByteString
getRegionBytes()
required string region = 1;
java.lang.String
getShard(int index)
repeated string shard = 2;
akka.protobufv3.internal.ByteString
getShardBytes(int index)
repeated string shard = 2;
int
getShardCount()
repeated string shard = 2;
akka.protobufv3.internal.ProtocolStringList
getShardList()
repeated string shard = 2;
boolean
hasRegion()
required string region = 1;
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ClusterShardingMessages.ShardHomesEntry.Builder
mergeFrom(ClusterShardingMessages.ShardHomesEntry other)
ClusterShardingMessages.ShardHomesEntry.Builder
mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
ClusterShardingMessages.ShardHomesEntry.Builder
mergeFrom(akka.protobufv3.internal.Message other)
ClusterShardingMessages.ShardHomesEntry.Builder
mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
ClusterShardingMessages.ShardHomesEntry.Builder
setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterShardingMessages.ShardHomesEntry.Builder
setRegion(java.lang.String value)
required string region = 1;
ClusterShardingMessages.ShardHomesEntry.Builder
setRegionBytes(akka.protobufv3.internal.ByteString value)
required string region = 1;
ClusterShardingMessages.ShardHomesEntry.Builder
setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ClusterShardingMessages.ShardHomesEntry.Builder
setShard(int index, java.lang.String value)
repeated string shard = 2;
ClusterShardingMessages.ShardHomesEntry.Builder
setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
-
Methods inherited from class akka.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 akka.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class akka.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 akka.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardHomesEntry.Builder>
-
clear
public ClusterShardingMessages.ShardHomesEntry.Builder clear()
- Specified by:
clear
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clear
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clear
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardHomesEntry.Builder>
-
getDescriptorForType
public akka.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
- Overrides:
getDescriptorForType
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardHomesEntry.Builder>
-
getDefaultInstanceForType
public ClusterShardingMessages.ShardHomesEntry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public ClusterShardingMessages.ShardHomesEntry build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public ClusterShardingMessages.ShardHomesEntry buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public ClusterShardingMessages.ShardHomesEntry.Builder clone()
- Specified by:
clone
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clone
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clone
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardHomesEntry.Builder>
-
setField
public ClusterShardingMessages.ShardHomesEntry.Builder setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardHomesEntry.Builder>
-
clearField
public ClusterShardingMessages.ShardHomesEntry.Builder clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardHomesEntry.Builder>
-
clearOneof
public ClusterShardingMessages.ShardHomesEntry.Builder clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearOneof
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardHomesEntry.Builder>
-
setRepeatedField
public ClusterShardingMessages.ShardHomesEntry.Builder setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardHomesEntry.Builder>
-
addRepeatedField
public ClusterShardingMessages.ShardHomesEntry.Builder addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
addRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardHomesEntry.Builder>
-
mergeFrom
public ClusterShardingMessages.ShardHomesEntry.Builder mergeFrom(akka.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<ClusterShardingMessages.ShardHomesEntry.Builder>
-
mergeFrom
public ClusterShardingMessages.ShardHomesEntry.Builder mergeFrom(ClusterShardingMessages.ShardHomesEntry other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardHomesEntry.Builder>
-
mergeFrom
public ClusterShardingMessages.ShardHomesEntry.Builder mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<ClusterShardingMessages.ShardHomesEntry.Builder>
- Throws:
java.io.IOException
-
hasRegion
public boolean hasRegion()
required string region = 1;
- Specified by:
hasRegion
in interfaceClusterShardingMessages.ShardHomesEntryOrBuilder
- Returns:
- Whether the region field is set.
-
getRegion
public java.lang.String getRegion()
required string region = 1;
- Specified by:
getRegion
in interfaceClusterShardingMessages.ShardHomesEntryOrBuilder
- Returns:
- The region.
-
getRegionBytes
public akka.protobufv3.internal.ByteString getRegionBytes()
required string region = 1;
- Specified by:
getRegionBytes
in interfaceClusterShardingMessages.ShardHomesEntryOrBuilder
- Returns:
- The bytes for region.
-
setRegion
public ClusterShardingMessages.ShardHomesEntry.Builder setRegion(java.lang.String value)
required string region = 1;
- Parameters:
value
- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
public ClusterShardingMessages.ShardHomesEntry.Builder clearRegion()
required string region = 1;
- Returns:
- This builder for chaining.
-
setRegionBytes
public ClusterShardingMessages.ShardHomesEntry.Builder setRegionBytes(akka.protobufv3.internal.ByteString value)
required string region = 1;
- Parameters:
value
- The bytes for region to set.- Returns:
- This builder for chaining.
-
getShardList
public akka.protobufv3.internal.ProtocolStringList getShardList()
repeated string shard = 2;
- Specified by:
getShardList
in interfaceClusterShardingMessages.ShardHomesEntryOrBuilder
- Returns:
- A list containing the shard.
-
getShardCount
public int getShardCount()
repeated string shard = 2;
- Specified by:
getShardCount
in interfaceClusterShardingMessages.ShardHomesEntryOrBuilder
- Returns:
- The count of shard.
-
getShard
public java.lang.String getShard(int index)
repeated string shard = 2;
- Specified by:
getShard
in interfaceClusterShardingMessages.ShardHomesEntryOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The shard at the given index.
-
getShardBytes
public akka.protobufv3.internal.ByteString getShardBytes(int index)
repeated string shard = 2;
- Specified by:
getShardBytes
in interfaceClusterShardingMessages.ShardHomesEntryOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the shard at the given index.
-
setShard
public ClusterShardingMessages.ShardHomesEntry.Builder setShard(int index, java.lang.String value)
repeated string shard = 2;
- Parameters:
index
- The index to set the value at.value
- The shard to set.- Returns:
- This builder for chaining.
-
addShard
public ClusterShardingMessages.ShardHomesEntry.Builder addShard(java.lang.String value)
repeated string shard = 2;
- Parameters:
value
- The shard to add.- Returns:
- This builder for chaining.
-
addAllShard
public ClusterShardingMessages.ShardHomesEntry.Builder addAllShard(java.lang.Iterable<java.lang.String> values)
repeated string shard = 2;
- Parameters:
values
- The shard to add.- Returns:
- This builder for chaining.
-
clearShard
public ClusterShardingMessages.ShardHomesEntry.Builder clearShard()
repeated string shard = 2;
- Returns:
- This builder for chaining.
-
addShardBytes
public ClusterShardingMessages.ShardHomesEntry.Builder addShardBytes(akka.protobufv3.internal.ByteString value)
repeated string shard = 2;
- Parameters:
value
- The bytes of the shard to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClusterShardingMessages.ShardHomesEntry.Builder setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardHomesEntry.Builder>
-
mergeUnknownFields
public final ClusterShardingMessages.ShardHomesEntry.Builder mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardHomesEntry.Builder>
-
-