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