Class ClusterShardingMessages.CurrentShardState.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.CurrentShardState.Builder>
-
- akka.cluster.sharding.protobuf.msg.ClusterShardingMessages.CurrentShardState.Builder
-
- All Implemented Interfaces:
ClusterShardingMessages.CurrentShardStateOrBuilder
,akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ClusterShardingMessages.CurrentShardState
public static final class ClusterShardingMessages.CurrentShardState.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.CurrentShardState.Builder> implements ClusterShardingMessages.CurrentShardStateOrBuilder
Protobuf typeCurrentShardState
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterShardingMessages.CurrentShardState.Builder
addAllEntityIds(java.lang.Iterable<java.lang.String> values)
repeated string entityIds = 2;
ClusterShardingMessages.CurrentShardState.Builder
addEntityIds(java.lang.String value)
repeated string entityIds = 2;
ClusterShardingMessages.CurrentShardState.Builder
addEntityIdsBytes(akka.protobufv3.internal.ByteString value)
repeated string entityIds = 2;
ClusterShardingMessages.CurrentShardState.Builder
addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterShardingMessages.CurrentShardState
build()
ClusterShardingMessages.CurrentShardState
buildPartial()
ClusterShardingMessages.CurrentShardState.Builder
clear()
ClusterShardingMessages.CurrentShardState.Builder
clearEntityIds()
repeated string entityIds = 2;
ClusterShardingMessages.CurrentShardState.Builder
clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
ClusterShardingMessages.CurrentShardState.Builder
clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
ClusterShardingMessages.CurrentShardState.Builder
clearShardId()
required string shardId = 1;
ClusterShardingMessages.CurrentShardState.Builder
clone()
ClusterShardingMessages.CurrentShardState
getDefaultInstanceForType()
static akka.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
akka.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getEntityIds(int index)
repeated string entityIds = 2;
akka.protobufv3.internal.ByteString
getEntityIdsBytes(int index)
repeated string entityIds = 2;
int
getEntityIdsCount()
repeated string entityIds = 2;
akka.protobufv3.internal.ProtocolStringList
getEntityIdsList()
repeated string entityIds = 2;
java.lang.String
getShardId()
required string shardId = 1;
akka.protobufv3.internal.ByteString
getShardIdBytes()
required string shardId = 1;
boolean
hasShardId()
required string shardId = 1;
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ClusterShardingMessages.CurrentShardState.Builder
mergeFrom(ClusterShardingMessages.CurrentShardState other)
ClusterShardingMessages.CurrentShardState.Builder
mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
ClusterShardingMessages.CurrentShardState.Builder
mergeFrom(akka.protobufv3.internal.Message other)
ClusterShardingMessages.CurrentShardState.Builder
mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
ClusterShardingMessages.CurrentShardState.Builder
setEntityIds(int index, java.lang.String value)
repeated string entityIds = 2;
ClusterShardingMessages.CurrentShardState.Builder
setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterShardingMessages.CurrentShardState.Builder
setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ClusterShardingMessages.CurrentShardState.Builder
setShardId(java.lang.String value)
required string shardId = 1;
ClusterShardingMessages.CurrentShardState.Builder
setShardIdBytes(akka.protobufv3.internal.ByteString value)
required string shardId = 1;
ClusterShardingMessages.CurrentShardState.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.CurrentShardState.Builder>
-
clear
public ClusterShardingMessages.CurrentShardState.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.CurrentShardState.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.CurrentShardState.Builder>
-
getDefaultInstanceForType
public ClusterShardingMessages.CurrentShardState getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public ClusterShardingMessages.CurrentShardState build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public ClusterShardingMessages.CurrentShardState buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public ClusterShardingMessages.CurrentShardState.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.CurrentShardState.Builder>
-
setField
public ClusterShardingMessages.CurrentShardState.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.CurrentShardState.Builder>
-
clearField
public ClusterShardingMessages.CurrentShardState.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.CurrentShardState.Builder>
-
clearOneof
public ClusterShardingMessages.CurrentShardState.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.CurrentShardState.Builder>
-
setRepeatedField
public ClusterShardingMessages.CurrentShardState.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.CurrentShardState.Builder>
-
addRepeatedField
public ClusterShardingMessages.CurrentShardState.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.CurrentShardState.Builder>
-
mergeFrom
public ClusterShardingMessages.CurrentShardState.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.CurrentShardState.Builder>
-
mergeFrom
public ClusterShardingMessages.CurrentShardState.Builder mergeFrom(ClusterShardingMessages.CurrentShardState other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.CurrentShardState.Builder>
-
mergeFrom
public ClusterShardingMessages.CurrentShardState.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.CurrentShardState.Builder>
- Throws:
java.io.IOException
-
hasShardId
public boolean hasShardId()
required string shardId = 1;
- Specified by:
hasShardId
in interfaceClusterShardingMessages.CurrentShardStateOrBuilder
- Returns:
- Whether the shardId field is set.
-
getShardId
public java.lang.String getShardId()
required string shardId = 1;
- Specified by:
getShardId
in interfaceClusterShardingMessages.CurrentShardStateOrBuilder
- Returns:
- The shardId.
-
getShardIdBytes
public akka.protobufv3.internal.ByteString getShardIdBytes()
required string shardId = 1;
- Specified by:
getShardIdBytes
in interfaceClusterShardingMessages.CurrentShardStateOrBuilder
- Returns:
- The bytes for shardId.
-
setShardId
public ClusterShardingMessages.CurrentShardState.Builder setShardId(java.lang.String value)
required string shardId = 1;
- Parameters:
value
- The shardId to set.- Returns:
- This builder for chaining.
-
clearShardId
public ClusterShardingMessages.CurrentShardState.Builder clearShardId()
required string shardId = 1;
- Returns:
- This builder for chaining.
-
setShardIdBytes
public ClusterShardingMessages.CurrentShardState.Builder setShardIdBytes(akka.protobufv3.internal.ByteString value)
required string shardId = 1;
- Parameters:
value
- The bytes for shardId to set.- Returns:
- This builder for chaining.
-
getEntityIdsList
public akka.protobufv3.internal.ProtocolStringList getEntityIdsList()
repeated string entityIds = 2;
- Specified by:
getEntityIdsList
in interfaceClusterShardingMessages.CurrentShardStateOrBuilder
- Returns:
- A list containing the entityIds.
-
getEntityIdsCount
public int getEntityIdsCount()
repeated string entityIds = 2;
- Specified by:
getEntityIdsCount
in interfaceClusterShardingMessages.CurrentShardStateOrBuilder
- Returns:
- The count of entityIds.
-
getEntityIds
public java.lang.String getEntityIds(int index)
repeated string entityIds = 2;
- Specified by:
getEntityIds
in interfaceClusterShardingMessages.CurrentShardStateOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The entityIds at the given index.
-
getEntityIdsBytes
public akka.protobufv3.internal.ByteString getEntityIdsBytes(int index)
repeated string entityIds = 2;
- Specified by:
getEntityIdsBytes
in interfaceClusterShardingMessages.CurrentShardStateOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the entityIds at the given index.
-
setEntityIds
public ClusterShardingMessages.CurrentShardState.Builder setEntityIds(int index, java.lang.String value)
repeated string entityIds = 2;
- Parameters:
index
- The index to set the value at.value
- The entityIds to set.- Returns:
- This builder for chaining.
-
addEntityIds
public ClusterShardingMessages.CurrentShardState.Builder addEntityIds(java.lang.String value)
repeated string entityIds = 2;
- Parameters:
value
- The entityIds to add.- Returns:
- This builder for chaining.
-
addAllEntityIds
public ClusterShardingMessages.CurrentShardState.Builder addAllEntityIds(java.lang.Iterable<java.lang.String> values)
repeated string entityIds = 2;
- Parameters:
values
- The entityIds to add.- Returns:
- This builder for chaining.
-
clearEntityIds
public ClusterShardingMessages.CurrentShardState.Builder clearEntityIds()
repeated string entityIds = 2;
- Returns:
- This builder for chaining.
-
addEntityIdsBytes
public ClusterShardingMessages.CurrentShardState.Builder addEntityIdsBytes(akka.protobufv3.internal.ByteString value)
repeated string entityIds = 2;
- Parameters:
value
- The bytes of the entityIds to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClusterShardingMessages.CurrentShardState.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.CurrentShardState.Builder>
-
mergeUnknownFields
public final ClusterShardingMessages.CurrentShardState.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.CurrentShardState.Builder>
-
-