Class ClusterShardingMessages.ShardIdMessage.Builder
- java.lang.Object
-
- org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
-
- org.apache.pekko.protobufv3.internal.AbstractMessage.Builder<BuilderType>
-
- org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardIdMessage.Builder>
-
- org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.ShardIdMessage.Builder
-
- All Implemented Interfaces:
java.lang.Cloneable
,ClusterShardingMessages.ShardIdMessageOrBuilder
,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.ShardIdMessage
public static final class ClusterShardingMessages.ShardIdMessage.Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardIdMessage.Builder> implements ClusterShardingMessages.ShardIdMessageOrBuilder
Protobuf typeShardIdMessage
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterShardingMessages.ShardIdMessage.Builder
addRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterShardingMessages.ShardIdMessage
build()
ClusterShardingMessages.ShardIdMessage
buildPartial()
ClusterShardingMessages.ShardIdMessage.Builder
clear()
ClusterShardingMessages.ShardIdMessage.Builder
clearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
ClusterShardingMessages.ShardIdMessage.Builder
clearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
ClusterShardingMessages.ShardIdMessage.Builder
clearShard()
required string shard = 1;
ClusterShardingMessages.ShardIdMessage.Builder
clone()
ClusterShardingMessages.ShardIdMessage
getDefaultInstanceForType()
static org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getShard()
required string shard = 1;
org.apache.pekko.protobufv3.internal.ByteString
getShardBytes()
required string shard = 1;
boolean
hasShard()
required string shard = 1;
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ClusterShardingMessages.ShardIdMessage.Builder
mergeFrom(ClusterShardingMessages.ShardIdMessage other)
ClusterShardingMessages.ShardIdMessage.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
ClusterShardingMessages.ShardIdMessage.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
ClusterShardingMessages.ShardIdMessage.Builder
mergeUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
ClusterShardingMessages.ShardIdMessage.Builder
setField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterShardingMessages.ShardIdMessage.Builder
setRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ClusterShardingMessages.ShardIdMessage.Builder
setShard(java.lang.String value)
required string shard = 1;
ClusterShardingMessages.ShardIdMessage.Builder
setShardBytes(org.apache.pekko.protobufv3.internal.ByteString value)
required string shard = 1;
ClusterShardingMessages.ShardIdMessage.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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
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.ShardIdMessage.Builder>
-
clear
public ClusterShardingMessages.ShardIdMessage.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.ShardIdMessage.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.ShardIdMessage.Builder>
-
getDefaultInstanceForType
public ClusterShardingMessages.ShardIdMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
public ClusterShardingMessages.ShardIdMessage 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.ShardIdMessage 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.ShardIdMessage.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.ShardIdMessage.Builder>
-
setField
public ClusterShardingMessages.ShardIdMessage.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.ShardIdMessage.Builder>
-
clearField
public ClusterShardingMessages.ShardIdMessage.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.ShardIdMessage.Builder>
-
clearOneof
public ClusterShardingMessages.ShardIdMessage.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.ShardIdMessage.Builder>
-
setRepeatedField
public ClusterShardingMessages.ShardIdMessage.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.ShardIdMessage.Builder>
-
addRepeatedField
public ClusterShardingMessages.ShardIdMessage.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.ShardIdMessage.Builder>
-
mergeFrom
public ClusterShardingMessages.ShardIdMessage.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.ShardIdMessage.Builder>
-
mergeFrom
public ClusterShardingMessages.ShardIdMessage.Builder mergeFrom(ClusterShardingMessages.ShardIdMessage 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.ShardIdMessage.Builder>
-
mergeFrom
public ClusterShardingMessages.ShardIdMessage.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.ShardIdMessage.Builder>
- Throws:
java.io.IOException
-
hasShard
public boolean hasShard()
required string shard = 1;
- Specified by:
hasShard
in interfaceClusterShardingMessages.ShardIdMessageOrBuilder
- Returns:
- Whether the shard field is set.
-
getShard
public java.lang.String getShard()
required string shard = 1;
- Specified by:
getShard
in interfaceClusterShardingMessages.ShardIdMessageOrBuilder
- Returns:
- The shard.
-
getShardBytes
public org.apache.pekko.protobufv3.internal.ByteString getShardBytes()
required string shard = 1;
- Specified by:
getShardBytes
in interfaceClusterShardingMessages.ShardIdMessageOrBuilder
- Returns:
- The bytes for shard.
-
setShard
public ClusterShardingMessages.ShardIdMessage.Builder setShard(java.lang.String value)
required string shard = 1;
- Parameters:
value
- The shard to set.- Returns:
- This builder for chaining.
-
clearShard
public ClusterShardingMessages.ShardIdMessage.Builder clearShard()
required string shard = 1;
- Returns:
- This builder for chaining.
-
setShardBytes
public ClusterShardingMessages.ShardIdMessage.Builder setShardBytes(org.apache.pekko.protobufv3.internal.ByteString value)
required string shard = 1;
- Parameters:
value
- The bytes for shard to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClusterShardingMessages.ShardIdMessage.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.ShardIdMessage.Builder>
-
mergeUnknownFields
public final ClusterShardingMessages.ShardIdMessage.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.ShardIdMessage.Builder>
-
-