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