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.EventEnvelopeProtobuf type
org.apache.pekko.persistence.query.EventEnvelope- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classfor org.apache.pekko.persistence.query.typed.EventEnvelopeNested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage
org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableBuilder<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT>>, org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT>>, org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable, org.apache.pekko.protobufv3.internal.GeneratedMessage.GeneratedExtension<ContainingT extends org.apache.pekko.protobufv3.internal.Message, T extends Object>, org.apache.pekko.protobufv3.internal.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage
org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParentNested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite
org.apache.pekko.protobufv3.internal.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage
memoizedSizeFields inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic QueryMessages.EventEnvelopestatic final org.apache.pekko.protobufv3.internal.Descriptors.Descriptorrequired string entity_type = 2;org.apache.pekko.protobufv3.internal.ByteStringrequired string entity_type = 2;getEvent()optional .Payload event = 8;optional .Payload event = 8;optional .Payload metadata = 9;optional .Payload metadata = 9;required string offset = 6;org.apache.pekko.protobufv3.internal.ByteStringrequired string offset = 6;required string offset_manifest = 7;org.apache.pekko.protobufv3.internal.ByteStringrequired string offset_manifest = 7;org.apache.pekko.protobufv3.internal.Parser<QueryMessages.EventEnvelope>required string persistence_id = 1;org.apache.pekko.protobufv3.internal.ByteStringrequired string persistence_id = 1;longrequired int64 sequence_nr = 4;intintgetSlice()required int32 slice = 3;longrequired int64 timestamp = 5;booleanrequired string entity_type = 2;booleanhasEvent()optional .Payload event = 8;inthashCode()booleanoptional .Payload metadata = 9;booleanrequired string offset = 6;booleanrequired string offset_manifest = 7;booleanrequired string persistence_id = 1;booleanrequired int64 sequence_nr = 4;booleanhasSlice()required int32 slice = 3;booleanrequired int64 timestamp = 5;protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(QueryMessages.EventEnvelope prototype) protected QueryMessages.EventEnvelope.BuildernewBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent) static QueryMessages.EventEnvelopeparseDelimitedFrom(InputStream input) static QueryMessages.EventEnvelopeparseDelimitedFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) static QueryMessages.EventEnvelopeparseFrom(byte[] data) static QueryMessages.EventEnvelopeparseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) static QueryMessages.EventEnvelopeparseFrom(InputStream input) static QueryMessages.EventEnvelopeparseFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) static QueryMessages.EventEnvelopeparseFrom(ByteBuffer data) static QueryMessages.EventEnvelopeparseFrom(ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) static QueryMessages.EventEnvelopeparseFrom(org.apache.pekko.protobufv3.internal.ByteString data) static QueryMessages.EventEnvelopeparseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) static QueryMessages.EventEnvelopeparseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) static QueryMessages.EventEnvelopeparseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) static org.apache.pekko.protobufv3.internal.Parser<QueryMessages.EventEnvelope>parser()voidwriteTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.pekko.protobufv3.internal.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface org.apache.pekko.protobufv3.internal.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PERSISTENCE_ID_FIELD_NUMBER
public static final int PERSISTENCE_ID_FIELD_NUMBER- See Also:
-
ENTITY_TYPE_FIELD_NUMBER
public static final int ENTITY_TYPE_FIELD_NUMBER- See Also:
-
SLICE_FIELD_NUMBER
public static final int SLICE_FIELD_NUMBER- See Also:
-
SEQUENCE_NR_FIELD_NUMBER
public static final int SEQUENCE_NR_FIELD_NUMBER- See Also:
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER- See Also:
-
OFFSET_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER- See Also:
-
OFFSET_MANIFEST_FIELD_NUMBER
public static final int OFFSET_MANIFEST_FIELD_NUMBER- See Also:
-
EVENT_FIELD_NUMBER
public static final int EVENT_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_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:
internalGetFieldAccessorTablein classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
hasPersistenceId
public boolean hasPersistenceId()required string persistence_id = 1;- Specified by:
hasPersistenceIdin interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- Whether the persistenceId field is set.
-
getPersistenceId
required string persistence_id = 1;- Specified by:
getPersistenceIdin interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- The persistenceId.
-
getPersistenceIdBytes
public org.apache.pekko.protobufv3.internal.ByteString getPersistenceIdBytes()required string persistence_id = 1;- Specified by:
getPersistenceIdBytesin interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- The bytes for persistenceId.
-
hasEntityType
public boolean hasEntityType()required string entity_type = 2;- Specified by:
hasEntityTypein interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- Whether the entityType field is set.
-
getEntityType
required string entity_type = 2;- Specified by:
getEntityTypein interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- The entityType.
-
getEntityTypeBytes
public org.apache.pekko.protobufv3.internal.ByteString getEntityTypeBytes()required string entity_type = 2;- Specified by:
getEntityTypeBytesin interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- The bytes for entityType.
-
hasSlice
public boolean hasSlice()required int32 slice = 3;- Specified by:
hasSlicein interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- Whether the slice field is set.
-
getSlice
public int getSlice()required int32 slice = 3;- Specified by:
getSlicein interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- The slice.
-
hasSequenceNr
public boolean hasSequenceNr()required int64 sequence_nr = 4;- Specified by:
hasSequenceNrin interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- Whether the sequenceNr field is set.
-
getSequenceNr
public long getSequenceNr()required int64 sequence_nr = 4;- Specified by:
getSequenceNrin interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- The sequenceNr.
-
hasTimestamp
public boolean hasTimestamp()required int64 timestamp = 5;- Specified by:
hasTimestampin interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public long getTimestamp()required int64 timestamp = 5;- Specified by:
getTimestampin interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- The timestamp.
-
hasOffset
public boolean hasOffset()required string offset = 6;- Specified by:
hasOffsetin interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- Whether the offset field is set.
-
getOffset
required string offset = 6;- Specified by:
getOffsetin interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- The offset.
-
getOffsetBytes
public org.apache.pekko.protobufv3.internal.ByteString getOffsetBytes()required string offset = 6;- Specified by:
getOffsetBytesin interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- The bytes for offset.
-
hasOffsetManifest
public boolean hasOffsetManifest()required string offset_manifest = 7;- Specified by:
hasOffsetManifestin interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- Whether the offsetManifest field is set.
-
getOffsetManifest
required string offset_manifest = 7;- Specified by:
getOffsetManifestin interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- The offsetManifest.
-
getOffsetManifestBytes
public org.apache.pekko.protobufv3.internal.ByteString getOffsetManifestBytes()required string offset_manifest = 7;- Specified by:
getOffsetManifestBytesin interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- The bytes for offsetManifest.
-
hasEvent
public boolean hasEvent()optional .Payload event = 8;- Specified by:
hasEventin interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- Whether the event field is set.
-
getEvent
optional .Payload event = 8;- Specified by:
getEventin interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- The event.
-
getEventOrBuilder
optional .Payload event = 8;- Specified by:
getEventOrBuilderin interfaceQueryMessages.EventEnvelopeOrBuilder
-
hasMetadata
public boolean hasMetadata()optional .Payload metadata = 9;- Specified by:
hasMetadatain interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
optional .Payload metadata = 9;- Specified by:
getMetadatain interfaceQueryMessages.EventEnvelopeOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
optional .Payload metadata = 9;- Specified by:
getMetadataOrBuilderin interfaceQueryMessages.EventEnvelopeOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
writeTo
public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) throws IOException - Specified by:
writeToin interfaceorg.apache.pekko.protobufv3.internal.MessageLite- Overrides:
writeToin classorg.apache.pekko.protobufv3.internal.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceorg.apache.pekko.protobufv3.internal.MessageLite- Overrides:
getSerializedSizein classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
equals
- Specified by:
equalsin interfaceorg.apache.pekko.protobufv3.internal.Message- Overrides:
equalsin classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceorg.apache.pekko.protobufv3.internal.Message- Overrides:
hashCodein classorg.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
- Throws:
IOException
-
parseFrom
public static QueryMessages.EventEnvelope parseFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfaceorg.apache.pekko.protobufv3.internal.Message- Specified by:
newBuilderForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfaceorg.apache.pekko.protobufv3.internal.Message- Specified by:
toBuilderin interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilderForType
protected QueryMessages.EventEnvelope.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceorg.apache.pekko.protobufv3.internal.Message- Specified by:
getParserForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLite- Overrides:
getParserForTypein classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-