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 ShardHomes
 
Protobuf type ShardHomesEntry
See Also:
  • Field Details

  • 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:
      internalGetFieldAccessorTable in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • hasRegion

      public boolean hasRegion()
      required string region = 1;
      Specified by:
      hasRegion in interface ClusterShardingMessages.ShardHomesEntryOrBuilder
      Returns:
      Whether the region field is set.
    • getRegion

      public String getRegion()
      required string region = 1;
      Specified by:
      getRegion in interface ClusterShardingMessages.ShardHomesEntryOrBuilder
      Returns:
      The region.
    • getRegionBytes

      public org.apache.pekko.protobufv3.internal.ByteString getRegionBytes()
      required string region = 1;
      Specified by:
      getRegionBytes in interface ClusterShardingMessages.ShardHomesEntryOrBuilder
      Returns:
      The bytes for region.
    • getShardList

      public org.apache.pekko.protobufv3.internal.ProtocolStringList getShardList()
      repeated string shard = 2;
      Specified by:
      getShardList in interface ClusterShardingMessages.ShardHomesEntryOrBuilder
      Returns:
      A list containing the shard.
    • getShardCount

      public int getShardCount()
      repeated string shard = 2;
      Specified by:
      getShardCount in interface ClusterShardingMessages.ShardHomesEntryOrBuilder
      Returns:
      The count of shard.
    • getShard

      public String getShard(int index)
      repeated string shard = 2;
      Specified by:
      getShard in interface ClusterShardingMessages.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:
      getShardBytes in interface ClusterShardingMessages.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:
      isInitialized in interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
      Overrides:
      isInitialized in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • writeTo

      public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface org.apache.pekko.protobufv3.internal.MessageLite
      Overrides:
      writeTo in class org.apache.pekko.protobufv3.internal.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface org.apache.pekko.protobufv3.internal.MessageLite
      Overrides:
      getSerializedSize in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface org.apache.pekko.protobufv3.internal.Message
      Overrides:
      equals in class org.apache.pekko.protobufv3.internal.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface org.apache.pekko.protobufv3.internal.Message
      Overrides:
      hashCode in class org.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:
      newBuilderForType in interface org.apache.pekko.protobufv3.internal.Message
      Specified by:
      newBuilderForType in interface org.apache.pekko.protobufv3.internal.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface org.apache.pekko.protobufv3.internal.Message
      Specified by:
      toBuilder in interface org.apache.pekko.protobufv3.internal.MessageLite
    • newBuilderForType

      protected ClusterShardingMessages.ShardHomesEntry.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class org.apache.pekko.protobufv3.internal.AbstractMessage
    • getDefaultInstance

      public static ClusterShardingMessages.ShardHomesEntry 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:
      getParserForType in interface org.apache.pekko.protobufv3.internal.Message
      Specified by:
      getParserForType in interface org.apache.pekko.protobufv3.internal.MessageLite
      Overrides:
      getParserForType in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • getDefaultInstanceForType

      public ClusterShardingMessages.ShardHomesEntry getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageOrBuilder