Class QueryMessages.EventEnvelope
- java.lang.Object
-
- org.apache.pekko.protobufv3.internal.AbstractMessageLite
-
- org.apache.pekko.protobufv3.internal.AbstractMessage
-
- org.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
- org.apache.pekko.persistence.query.internal.protobuf.QueryMessages.EventEnvelope
-
- All Implemented Interfaces:
java.io.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.GeneratedMessageV3 implements QueryMessages.EventEnvelopeOrBuilder
for org.apache.pekko.persistence.query.typed.EventEnvelope
Protobuf typeorg.apache.pekko.persistence.query.EventEnvelope
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QueryMessages.EventEnvelope.Builder
for org.apache.pekko.persistence.query.typed.EventEnvelope-
Nested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessageV3
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent, org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessage<MessageType extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessage>, org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessage>, org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable, org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ENTITY_TYPE_FIELD_NUMBER
static int
EVENT_FIELD_NUMBER
static int
METADATA_FIELD_NUMBER
static int
OFFSET_FIELD_NUMBER
static int
OFFSET_MANIFEST_FIELD_NUMBER
static org.apache.pekko.protobufv3.internal.Parser<QueryMessages.EventEnvelope>
PARSER
Deprecated.static int
PERSISTENCE_ID_FIELD_NUMBER
static int
SEQUENCE_NR_FIELD_NUMBER
static int
SLICE_FIELD_NUMBER
static int
TIMESTAMP_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static QueryMessages.EventEnvelope
getDefaultInstance()
QueryMessages.EventEnvelope
getDefaultInstanceForType()
static org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
java.lang.String
getEntityType()
required string entity_type = 2;
org.apache.pekko.protobufv3.internal.ByteString
getEntityTypeBytes()
required string entity_type = 2;
ContainerFormats.Payload
getEvent()
optional .Payload event = 8;
ContainerFormats.PayloadOrBuilder
getEventOrBuilder()
optional .Payload event = 8;
ContainerFormats.Payload
getMetadata()
optional .Payload metadata = 9;
ContainerFormats.PayloadOrBuilder
getMetadataOrBuilder()
optional .Payload metadata = 9;
java.lang.String
getOffset()
required string offset = 6;
org.apache.pekko.protobufv3.internal.ByteString
getOffsetBytes()
required string offset = 6;
java.lang.String
getOffsetManifest()
required string offset_manifest = 7;
org.apache.pekko.protobufv3.internal.ByteString
getOffsetManifestBytes()
required string offset_manifest = 7;
org.apache.pekko.protobufv3.internal.Parser<QueryMessages.EventEnvelope>
getParserForType()
java.lang.String
getPersistenceId()
required string persistence_id = 1;
org.apache.pekko.protobufv3.internal.ByteString
getPersistenceIdBytes()
required string persistence_id = 1;
long
getSequenceNr()
required int64 sequence_nr = 4;
int
getSerializedSize()
int
getSlice()
required int32 slice = 3;
long
getTimestamp()
required int64 timestamp = 5;
org.apache.pekko.protobufv3.internal.UnknownFieldSet
getUnknownFields()
boolean
hasEntityType()
required string entity_type = 2;
boolean
hasEvent()
optional .Payload event = 8;
int
hashCode()
boolean
hasMetadata()
optional .Payload metadata = 9;
boolean
hasOffset()
required string offset = 6;
boolean
hasOffsetManifest()
required string offset_manifest = 7;
boolean
hasPersistenceId()
required string persistence_id = 1;
boolean
hasSequenceNr()
required int64 sequence_nr = 4;
boolean
hasSlice()
required int32 slice = 3;
boolean
hasTimestamp()
required int64 timestamp = 5;
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static QueryMessages.EventEnvelope.Builder
newBuilder()
static QueryMessages.EventEnvelope.Builder
newBuilder(QueryMessages.EventEnvelope prototype)
QueryMessages.EventEnvelope.Builder
newBuilderForType()
protected QueryMessages.EventEnvelope.Builder
newBuilderForType(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused)
static QueryMessages.EventEnvelope
parseDelimitedFrom(java.io.InputStream input)
static QueryMessages.EventEnvelope
parseDelimitedFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static QueryMessages.EventEnvelope
parseFrom(byte[] data)
static QueryMessages.EventEnvelope
parseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static QueryMessages.EventEnvelope
parseFrom(java.io.InputStream input)
static QueryMessages.EventEnvelope
parseFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static QueryMessages.EventEnvelope
parseFrom(java.nio.ByteBuffer data)
static QueryMessages.EventEnvelope
parseFrom(java.nio.ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static QueryMessages.EventEnvelope
parseFrom(org.apache.pekko.protobufv3.internal.ByteString data)
static QueryMessages.EventEnvelope
parseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static QueryMessages.EventEnvelope
parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)
static QueryMessages.EventEnvelope
parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static org.apache.pekko.protobufv3.internal.Parser<QueryMessages.EventEnvelope>
parser()
QueryMessages.EventEnvelope.Builder
toBuilder()
void
writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
-
Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PERSISTENCE_ID_FIELD_NUMBER
public static final int PERSISTENCE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENTITY_TYPE_FIELD_NUMBER
public static final int ENTITY_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SLICE_FIELD_NUMBER
public static final int SLICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEQUENCE_NR_FIELD_NUMBER
public static final int SEQUENCE_NR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OFFSET_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OFFSET_MANIFEST_FIELD_NUMBER
public static final int OFFSET_MANIFEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENT_FIELD_NUMBER
public static final int EVENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final org.apache.pekko.protobufv3.internal.Parser<QueryMessages.EventEnvelope> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
getUnknownFields
public final org.apache.pekko.protobufv3.internal.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
- Overrides:
getUnknownFields
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
getDescriptor
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
hasPersistenceId
public boolean hasPersistenceId()
required string persistence_id = 1;
- Specified by:
hasPersistenceId
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- Whether the persistenceId field is set.
-
getPersistenceId
public java.lang.String getPersistenceId()
required string persistence_id = 1;
- Specified by:
getPersistenceId
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- The persistenceId.
-
getPersistenceIdBytes
public org.apache.pekko.protobufv3.internal.ByteString getPersistenceIdBytes()
required string persistence_id = 1;
- Specified by:
getPersistenceIdBytes
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- The bytes for persistenceId.
-
hasEntityType
public boolean hasEntityType()
required string entity_type = 2;
- Specified by:
hasEntityType
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- Whether the entityType field is set.
-
getEntityType
public java.lang.String getEntityType()
required string entity_type = 2;
- Specified by:
getEntityType
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- The entityType.
-
getEntityTypeBytes
public org.apache.pekko.protobufv3.internal.ByteString getEntityTypeBytes()
required string entity_type = 2;
- Specified by:
getEntityTypeBytes
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- The bytes for entityType.
-
hasSlice
public boolean hasSlice()
required int32 slice = 3;
- Specified by:
hasSlice
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- Whether the slice field is set.
-
getSlice
public int getSlice()
required int32 slice = 3;
- Specified by:
getSlice
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- The slice.
-
hasSequenceNr
public boolean hasSequenceNr()
required int64 sequence_nr = 4;
- Specified by:
hasSequenceNr
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- Whether the sequenceNr field is set.
-
getSequenceNr
public long getSequenceNr()
required int64 sequence_nr = 4;
- Specified by:
getSequenceNr
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- The sequenceNr.
-
hasTimestamp
public boolean hasTimestamp()
required int64 timestamp = 5;
- Specified by:
hasTimestamp
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public long getTimestamp()
required int64 timestamp = 5;
- Specified by:
getTimestamp
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- The timestamp.
-
hasOffset
public boolean hasOffset()
required string offset = 6;
- Specified by:
hasOffset
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- Whether the offset field is set.
-
getOffset
public java.lang.String getOffset()
required string offset = 6;
- Specified by:
getOffset
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- The offset.
-
getOffsetBytes
public org.apache.pekko.protobufv3.internal.ByteString getOffsetBytes()
required string offset = 6;
- Specified by:
getOffsetBytes
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- The bytes for offset.
-
hasOffsetManifest
public boolean hasOffsetManifest()
required string offset_manifest = 7;
- Specified by:
hasOffsetManifest
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- Whether the offsetManifest field is set.
-
getOffsetManifest
public java.lang.String getOffsetManifest()
required string offset_manifest = 7;
- Specified by:
getOffsetManifest
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- The offsetManifest.
-
getOffsetManifestBytes
public org.apache.pekko.protobufv3.internal.ByteString getOffsetManifestBytes()
required string offset_manifest = 7;
- Specified by:
getOffsetManifestBytes
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- The bytes for offsetManifest.
-
hasEvent
public boolean hasEvent()
optional .Payload event = 8;
- Specified by:
hasEvent
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- Whether the event field is set.
-
getEvent
public ContainerFormats.Payload getEvent()
optional .Payload event = 8;
- Specified by:
getEvent
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- The event.
-
getEventOrBuilder
public ContainerFormats.PayloadOrBuilder getEventOrBuilder()
optional .Payload event = 8;
- Specified by:
getEventOrBuilder
in interfaceQueryMessages.EventEnvelopeOrBuilder
-
hasMetadata
public boolean hasMetadata()
optional .Payload metadata = 9;
- Specified by:
hasMetadata
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
public ContainerFormats.Payload getMetadata()
optional .Payload metadata = 9;
- Specified by:
getMetadata
in interfaceQueryMessages.EventEnvelopeOrBuilder
- Returns:
- The metadata.
-
getMetadataOrBuilder
public ContainerFormats.PayloadOrBuilder getMetadataOrBuilder()
optional .Payload metadata = 9;
- Specified by:
getMetadataOrBuilder
in interfaceQueryMessages.EventEnvelopeOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
writeTo
public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
- Overrides:
writeTo
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
- Overrides:
getSerializedSize
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Overrides:
equals
in classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Overrides:
hashCode
in classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
parseFrom
public static QueryMessages.EventEnvelope parseFrom(java.nio.ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static QueryMessages.EventEnvelope parseFrom(java.nio.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(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QueryMessages.EventEnvelope parseFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static QueryMessages.EventEnvelope parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static QueryMessages.EventEnvelope parseDelimitedFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QueryMessages.EventEnvelope parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QueryMessages.EventEnvelope parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public QueryMessages.EventEnvelope.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Specified by:
newBuilderForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilder
public static QueryMessages.EventEnvelope.Builder newBuilder()
-
newBuilder
public static QueryMessages.EventEnvelope.Builder newBuilder(QueryMessages.EventEnvelope prototype)
-
toBuilder
public QueryMessages.EventEnvelope.Builder toBuilder()
- Specified by:
toBuilder
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Specified by:
toBuilder
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilderForType
protected QueryMessages.EventEnvelope.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
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 interfaceorg.apache.pekko.protobufv3.internal.Message
- Specified by:
getParserForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
- Overrides:
getParserForType
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
getDefaultInstanceForType
public QueryMessages.EventEnvelope getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
-