Class ClusterShardingMessages.ShardHomesEntry
java.lang.Object
org.apache.pekko.protobufv3.internal.AbstractMessageLite
org.apache.pekko.protobufv3.internal.AbstractMessage
org.apache.pekko.protobufv3.internal.GeneratedMessage
org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.ShardHomesEntry
- All Implemented Interfaces:
Serializable,ClusterShardingMessages.ShardHomesEntryOrBuilder,org.apache.pekko.protobufv3.internal.Message,org.apache.pekko.protobufv3.internal.MessageLite,org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder,org.apache.pekko.protobufv3.internal.MessageOrBuilder
- Enclosing class:
- ClusterShardingMessages
public static final class ClusterShardingMessages.ShardHomesEntry
extends org.apache.pekko.protobufv3.internal.GeneratedMessage
implements ClusterShardingMessages.ShardHomesEntryOrBuilder
only used nested in ShardHomesProtobuf type
ShardHomesEntry- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classonly used nested in ShardHomesNested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage
org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableBuilder<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT>>, org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT>>, org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable, org.apache.pekko.protobufv3.internal.GeneratedMessage.GeneratedExtension<ContainingT extends org.apache.pekko.protobufv3.internal.Message, T extends Object>, org.apache.pekko.protobufv3.internal.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage
org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParentNested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite
org.apache.pekko.protobufv3.internal.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage
memoizedSizeFields inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final org.apache.pekko.protobufv3.internal.Descriptors.Descriptororg.apache.pekko.protobufv3.internal.Parser<ClusterShardingMessages.ShardHomesEntry>required string region = 1;org.apache.pekko.protobufv3.internal.ByteStringrequired string region = 1;intgetShard(int index) repeated string shard = 2;org.apache.pekko.protobufv3.internal.ByteStringgetShardBytes(int index) repeated string shard = 2;intrepeated string shard = 2;org.apache.pekko.protobufv3.internal.ProtocolStringListrepeated string shard = 2;inthashCode()booleanrequired string region = 1;protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTablefinal booleannewBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) parseFrom(org.apache.pekko.protobufv3.internal.ByteString data) parseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) static org.apache.pekko.protobufv3.internal.Parser<ClusterShardingMessages.ShardHomesEntry>parser()voidwriteTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.pekko.protobufv3.internal.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface org.apache.pekko.protobufv3.internal.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER- See Also:
-
SHARD_FIELD_NUMBER
public static final int SHARD_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
hasRegion
public boolean hasRegion()required string region = 1;- Specified by:
hasRegionin interfaceClusterShardingMessages.ShardHomesEntryOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
required string region = 1;- Specified by:
getRegionin interfaceClusterShardingMessages.ShardHomesEntryOrBuilder- Returns:
- The region.
-
getRegionBytes
public org.apache.pekko.protobufv3.internal.ByteString getRegionBytes()required string region = 1;- Specified by:
getRegionBytesin interfaceClusterShardingMessages.ShardHomesEntryOrBuilder- Returns:
- The bytes for region.
-
getShardList
public org.apache.pekko.protobufv3.internal.ProtocolStringList getShardList()repeated string shard = 2;- Specified by:
getShardListin interfaceClusterShardingMessages.ShardHomesEntryOrBuilder- Returns:
- A list containing the shard.
-
getShardCount
public int getShardCount()repeated string shard = 2;- Specified by:
getShardCountin interfaceClusterShardingMessages.ShardHomesEntryOrBuilder- Returns:
- The count of shard.
-
getShard
repeated string shard = 2;- Specified by:
getShardin interfaceClusterShardingMessages.ShardHomesEntryOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The shard at the given index.
-
getShardBytes
public org.apache.pekko.protobufv3.internal.ByteString getShardBytes(int index) repeated string shard = 2;- Specified by:
getShardBytesin interfaceClusterShardingMessages.ShardHomesEntryOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the shard at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
writeTo
public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) throws IOException - Specified by:
writeToin interfaceorg.apache.pekko.protobufv3.internal.MessageLite- Overrides:
writeToin classorg.apache.pekko.protobufv3.internal.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceorg.apache.pekko.protobufv3.internal.MessageLite- Overrides:
getSerializedSizein classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
equals
- Specified by:
equalsin interfaceorg.apache.pekko.protobufv3.internal.Message- Overrides:
equalsin classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceorg.apache.pekko.protobufv3.internal.Message- Overrides:
hashCodein classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
parseFrom
public static ClusterShardingMessages.ShardHomesEntry parseFrom(ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException - Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ClusterShardingMessages.ShardHomesEntry parseFrom(ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException - Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ClusterShardingMessages.ShardHomesEntry parseFrom(org.apache.pekko.protobufv3.internal.ByteString data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException - Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ClusterShardingMessages.ShardHomesEntry parseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException - Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ClusterShardingMessages.ShardHomesEntry parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException - Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ClusterShardingMessages.ShardHomesEntry parseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException - Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ClusterShardingMessages.ShardHomesEntry parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ClusterShardingMessages.ShardHomesEntry parseFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ClusterShardingMessages.ShardHomesEntry parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ClusterShardingMessages.ShardHomesEntry parseDelimitedFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ClusterShardingMessages.ShardHomesEntry parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ClusterShardingMessages.ShardHomesEntry parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceorg.apache.pekko.protobufv3.internal.Message- Specified by:
newBuilderForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilder
-
newBuilder
public static ClusterShardingMessages.ShardHomesEntry.Builder newBuilder(ClusterShardingMessages.ShardHomesEntry prototype) -
toBuilder
- Specified by:
toBuilderin interfaceorg.apache.pekko.protobufv3.internal.Message- Specified by:
toBuilderin interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilderForType
protected ClusterShardingMessages.ShardHomesEntry.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
getDefaultInstance
-
parser
public static org.apache.pekko.protobufv3.internal.Parser<ClusterShardingMessages.ShardHomesEntry> parser() -
getParserForType
public org.apache.pekko.protobufv3.internal.Parser<ClusterShardingMessages.ShardHomesEntry> getParserForType()- Specified by:
getParserForTypein interfaceorg.apache.pekko.protobufv3.internal.Message- Specified by:
getParserForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLite- Overrides:
getParserForTypein classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-