Class ShardingMessages.ShardingEnvelope

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.typed.internal.protobuf.ShardingMessages.ShardingEnvelope
All Implemented Interfaces:
Serializable, ShardingMessages.ShardingEnvelopeOrBuilder, 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:
ShardingMessages

public static final class ShardingMessages.ShardingEnvelope extends org.apache.pekko.protobufv3.internal.GeneratedMessage implements ShardingMessages.ShardingEnvelopeOrBuilder
Protobuf type org.apache.pekko.cluster.sharding.typed.ShardingEnvelope
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
    • hasEntityId

      public boolean hasEntityId()
      required string entityId = 1;
      Specified by:
      hasEntityId in interface ShardingMessages.ShardingEnvelopeOrBuilder
      Returns:
      Whether the entityId field is set.
    • getEntityId

      public String getEntityId()
      required string entityId = 1;
      Specified by:
      getEntityId in interface ShardingMessages.ShardingEnvelopeOrBuilder
      Returns:
      The entityId.
    • getEntityIdBytes

      public org.apache.pekko.protobufv3.internal.ByteString getEntityIdBytes()
      required string entityId = 1;
      Specified by:
      getEntityIdBytes in interface ShardingMessages.ShardingEnvelopeOrBuilder
      Returns:
      The bytes for entityId.
    • hasMessage

      public boolean hasMessage()
      required .Payload message = 2;
      Specified by:
      hasMessage in interface ShardingMessages.ShardingEnvelopeOrBuilder
      Returns:
      Whether the message field is set.
    • getMessage

      public ContainerFormats.Payload getMessage()
      required .Payload message = 2;
      Specified by:
      getMessage in interface ShardingMessages.ShardingEnvelopeOrBuilder
      Returns:
      The message.
    • getMessageOrBuilder

      public ContainerFormats.PayloadOrBuilder getMessageOrBuilder()
      required .Payload message = 2;
      Specified by:
      getMessageOrBuilder in interface ShardingMessages.ShardingEnvelopeOrBuilder
    • 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 ShardingMessages.ShardingEnvelope parseFrom(ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static ShardingMessages.ShardingEnvelope 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 ShardingMessages.ShardingEnvelope 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 ShardingMessages.ShardingEnvelope 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 ShardingMessages.ShardingEnvelope parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static ShardingMessages.ShardingEnvelope 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 ShardingMessages.ShardingEnvelope parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ShardingMessages.ShardingEnvelope parseFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ShardingMessages.ShardingEnvelope parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ShardingMessages.ShardingEnvelope parseDelimitedFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ShardingMessages.ShardingEnvelope parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ShardingMessages.ShardingEnvelope parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ShardingMessages.ShardingEnvelope.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface org.apache.pekko.protobufv3.internal.Message
      Specified by:
      newBuilderForType in interface org.apache.pekko.protobufv3.internal.MessageLite
    • newBuilder

      public static ShardingMessages.ShardingEnvelope.Builder 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 ShardingMessages.ShardingEnvelope.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class org.apache.pekko.protobufv3.internal.AbstractMessage
    • getDefaultInstance

      public static ShardingMessages.ShardingEnvelope getDefaultInstance()
    • parser

      public static org.apache.pekko.protobufv3.internal.Parser<ShardingMessages.ShardingEnvelope> parser()
    • getParserForType

      public org.apache.pekko.protobufv3.internal.Parser<ShardingMessages.ShardingEnvelope> 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 ShardingMessages.ShardingEnvelope getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageOrBuilder