Class DistributedPubSubMessages.Payload

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.pubsub.protobuf.msg.DistributedPubSubMessages.Payload
All Implemented Interfaces:
Serializable, DistributedPubSubMessages.PayloadOrBuilder, 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:
DistributedPubSubMessages

public static final class DistributedPubSubMessages.Payload extends org.apache.pekko.protobufv3.internal.GeneratedMessage implements DistributedPubSubMessages.PayloadOrBuilder
Protobuf type Payload
See Also:
  • Field Details

    • ENCLOSEDMESSAGE_FIELD_NUMBER

      public static final int ENCLOSEDMESSAGE_FIELD_NUMBER
      See Also:
    • SERIALIZERID_FIELD_NUMBER

      public static final int SERIALIZERID_FIELD_NUMBER
      See Also:
    • MESSAGEMANIFEST_FIELD_NUMBER

      public static final int MESSAGEMANIFEST_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:
      internalGetFieldAccessorTable in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • hasEnclosedMessage

      public boolean hasEnclosedMessage()
      required bytes enclosedMessage = 1;
      Specified by:
      hasEnclosedMessage in interface DistributedPubSubMessages.PayloadOrBuilder
      Returns:
      Whether the enclosedMessage field is set.
    • getEnclosedMessage

      public org.apache.pekko.protobufv3.internal.ByteString getEnclosedMessage()
      required bytes enclosedMessage = 1;
      Specified by:
      getEnclosedMessage in interface DistributedPubSubMessages.PayloadOrBuilder
      Returns:
      The enclosedMessage.
    • hasSerializerId

      public boolean hasSerializerId()
      required int32 serializerId = 2;
      Specified by:
      hasSerializerId in interface DistributedPubSubMessages.PayloadOrBuilder
      Returns:
      Whether the serializerId field is set.
    • getSerializerId

      public int getSerializerId()
      required int32 serializerId = 2;
      Specified by:
      getSerializerId in interface DistributedPubSubMessages.PayloadOrBuilder
      Returns:
      The serializerId.
    • hasMessageManifest

      public boolean hasMessageManifest()
      optional bytes messageManifest = 4;
      Specified by:
      hasMessageManifest in interface DistributedPubSubMessages.PayloadOrBuilder
      Returns:
      Whether the messageManifest field is set.
    • getMessageManifest

      public org.apache.pekko.protobufv3.internal.ByteString getMessageManifest()
      optional bytes messageManifest = 4;
      Specified by:
      getMessageManifest in interface DistributedPubSubMessages.PayloadOrBuilder
      Returns:
      The messageManifest.
    • 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 DistributedPubSubMessages.Payload parseFrom(ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

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

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

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

      public static DistributedPubSubMessages.Payload parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static DistributedPubSubMessages.Payload getDefaultInstance()
    • parser

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

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