Class QueryMessages.EventEnvelope

java.lang.Object
org.apache.pekko.protobufv3.internal.AbstractMessageLite
org.apache.pekko.protobufv3.internal.AbstractMessage
org.apache.pekko.protobufv3.internal.GeneratedMessage
org.apache.pekko.persistence.query.internal.protobuf.QueryMessages.EventEnvelope
All Implemented Interfaces:
Serializable, QueryMessages.EventEnvelopeOrBuilder, 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:
QueryMessages

public static final class QueryMessages.EventEnvelope extends org.apache.pekko.protobufv3.internal.GeneratedMessage implements QueryMessages.EventEnvelopeOrBuilder
 for org.apache.pekko.persistence.query.typed.EventEnvelope
 
Protobuf type org.apache.pekko.persistence.query.EventEnvelope
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
    • hasPersistenceId

      public boolean hasPersistenceId()
      required string persistence_id = 1;
      Specified by:
      hasPersistenceId in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      Whether the persistenceId field is set.
    • getPersistenceId

      public String getPersistenceId()
      required string persistence_id = 1;
      Specified by:
      getPersistenceId in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      The persistenceId.
    • getPersistenceIdBytes

      public org.apache.pekko.protobufv3.internal.ByteString getPersistenceIdBytes()
      required string persistence_id = 1;
      Specified by:
      getPersistenceIdBytes in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      The bytes for persistenceId.
    • hasEntityType

      public boolean hasEntityType()
      required string entity_type = 2;
      Specified by:
      hasEntityType in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      Whether the entityType field is set.
    • getEntityType

      public String getEntityType()
      required string entity_type = 2;
      Specified by:
      getEntityType in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      The entityType.
    • getEntityTypeBytes

      public org.apache.pekko.protobufv3.internal.ByteString getEntityTypeBytes()
      required string entity_type = 2;
      Specified by:
      getEntityTypeBytes in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      The bytes for entityType.
    • hasSlice

      public boolean hasSlice()
      required int32 slice = 3;
      Specified by:
      hasSlice in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      Whether the slice field is set.
    • getSlice

      public int getSlice()
      required int32 slice = 3;
      Specified by:
      getSlice in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      The slice.
    • hasSequenceNr

      public boolean hasSequenceNr()
      required int64 sequence_nr = 4;
      Specified by:
      hasSequenceNr in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      Whether the sequenceNr field is set.
    • getSequenceNr

      public long getSequenceNr()
      required int64 sequence_nr = 4;
      Specified by:
      getSequenceNr in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      The sequenceNr.
    • hasTimestamp

      public boolean hasTimestamp()
      required int64 timestamp = 5;
      Specified by:
      hasTimestamp in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      public long getTimestamp()
      required int64 timestamp = 5;
      Specified by:
      getTimestamp in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      The timestamp.
    • hasOffset

      public boolean hasOffset()
      required string offset = 6;
      Specified by:
      hasOffset in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      Whether the offset field is set.
    • getOffset

      public String getOffset()
      required string offset = 6;
      Specified by:
      getOffset in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      The offset.
    • getOffsetBytes

      public org.apache.pekko.protobufv3.internal.ByteString getOffsetBytes()
      required string offset = 6;
      Specified by:
      getOffsetBytes in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      The bytes for offset.
    • hasOffsetManifest

      public boolean hasOffsetManifest()
      required string offset_manifest = 7;
      Specified by:
      hasOffsetManifest in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      Whether the offsetManifest field is set.
    • getOffsetManifest

      public String getOffsetManifest()
      required string offset_manifest = 7;
      Specified by:
      getOffsetManifest in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      The offsetManifest.
    • getOffsetManifestBytes

      public org.apache.pekko.protobufv3.internal.ByteString getOffsetManifestBytes()
      required string offset_manifest = 7;
      Specified by:
      getOffsetManifestBytes in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      The bytes for offsetManifest.
    • hasEvent

      public boolean hasEvent()
      optional .Payload event = 8;
      Specified by:
      hasEvent in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      Whether the event field is set.
    • getEvent

      public ContainerFormats.Payload getEvent()
      optional .Payload event = 8;
      Specified by:
      getEvent in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      The event.
    • getEventOrBuilder

      public ContainerFormats.PayloadOrBuilder getEventOrBuilder()
      optional .Payload event = 8;
      Specified by:
      getEventOrBuilder in interface QueryMessages.EventEnvelopeOrBuilder
    • hasMetadata

      public boolean hasMetadata()
      optional .Payload metadata = 9;
      Specified by:
      hasMetadata in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadata

      public ContainerFormats.Payload getMetadata()
      optional .Payload metadata = 9;
      Specified by:
      getMetadata in interface QueryMessages.EventEnvelopeOrBuilder
      Returns:
      The metadata.
    • getMetadataOrBuilder

      public ContainerFormats.PayloadOrBuilder getMetadataOrBuilder()
      optional .Payload metadata = 9;
      Specified by:
      getMetadataOrBuilder in interface QueryMessages.EventEnvelopeOrBuilder
    • 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 QueryMessages.EventEnvelope parseFrom(ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

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

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

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

      public static QueryMessages.EventEnvelope parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static QueryMessages.EventEnvelope getDefaultInstance()
    • parser

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

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