Class MessageFormats.PersistentMessage
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.serialization.MessageFormats.PersistentMessage
- All Implemented Interfaces:
- Serializable,- MessageFormats.PersistentMessageOrBuilder,- 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:
- MessageFormats
public static final class MessageFormats.PersistentMessage
extends org.apache.pekko.protobufv3.internal.GeneratedMessage
implements MessageFormats.PersistentMessageOrBuilder
Protobuf type 
PersistentMessage- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typePersistentMessageNested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessageorg.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.AbstractMessageorg.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParentNested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLiteorg.apache.pekko.protobufv3.internal.AbstractMessageLite.InternalOneOfEnum
- 
Field SummaryFieldsModifier 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.GeneratedMessagealwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class org.apache.pekko.protobufv3.internal.AbstractMessagememoizedSizeFields inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLitememoizedHashCode
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleannot used in new records from Akka 2.4static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptoroptional string manifest = 12;org.apache.pekko.protobufv3.internal.ByteStringoptional string manifest = 12;optional .PersistentPayload metadata = 15;optional .PersistentPayload metadata = 15;org.apache.pekko.protobufv3.internal.Parser<MessageFormats.PersistentMessage>optional .PersistentPayload payload = 1;optional .PersistentPayload payload = 1;optional string persistenceId = 3;org.apache.pekko.protobufv3.internal.ByteStringoptional string persistenceId = 3;optional int32 redeliveries = 6; // Removed in Akka 2.4 repeated string confirms = 7; // Removed in Akka 2.4 optional bool confirmable = 8; // Removed in Akka 2.4 optional DeliveredMessage confirmMessage = 9; // Removed in Akka 2.4 optional string confirmTarget = 10; // Removed in Akka 2.4org.apache.pekko.protobufv3.internal.ByteStringoptional int32 redeliveries = 6; // Removed in Akka 2.4 repeated string confirms = 7; // Removed in Akka 2.4 optional bool confirmable = 8; // Removed in Akka 2.4 optional DeliveredMessage confirmMessage = 9; // Removed in Akka 2.4 optional string confirmTarget = 10; // Removed in Akka 2.4longoptional int64 sequenceNr = 2;intlongoptional sint64 timestamp = 14;optional string writerUuid = 13;org.apache.pekko.protobufv3.internal.ByteStringoptional string writerUuid = 13;booleannot used in new records from Akka 2.4inthashCode()booleanoptional string manifest = 12;booleanoptional .PersistentPayload metadata = 15;booleanoptional .PersistentPayload payload = 1;booleanoptional string persistenceId = 3;booleanoptional int32 redeliveries = 6; // Removed in Akka 2.4 repeated string confirms = 7; // Removed in Akka 2.4 optional bool confirmable = 8; // Removed in Akka 2.4 optional DeliveredMessage confirmMessage = 9; // Removed in Akka 2.4 optional string confirmTarget = 10; // Removed in Akka 2.4booleanoptional int64 sequenceNr = 2;booleanoptional sint64 timestamp = 14;booleanoptional string writerUuid = 13;protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(MessageFormats.PersistentMessage prototype) protected MessageFormats.PersistentMessage.BuildernewBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) parseFrom(org.apache.pekko.protobufv3.internal.ByteString data) parseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) static org.apache.pekko.protobufv3.internal.Parser<MessageFormats.PersistentMessage>parser()voidwriteTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessagecanUseUnsafe, 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.AbstractMessagefindInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLiteaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.pekko.protobufv3.internal.MessageLitetoByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface org.apache.pekko.protobufv3.internal.MessageOrBuilderfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
- 
Field Details- 
PAYLOAD_FIELD_NUMBERpublic static final int PAYLOAD_FIELD_NUMBER- See Also:
 
- 
SEQUENCENR_FIELD_NUMBERpublic static final int SEQUENCENR_FIELD_NUMBER- See Also:
 
- 
PERSISTENCEID_FIELD_NUMBERpublic static final int PERSISTENCEID_FIELD_NUMBER- See Also:
 
- 
DELETED_FIELD_NUMBERpublic static final int DELETED_FIELD_NUMBER- See Also:
 
- 
SENDER_FIELD_NUMBERpublic static final int SENDER_FIELD_NUMBER- See Also:
 
- 
MANIFEST_FIELD_NUMBERpublic static final int MANIFEST_FIELD_NUMBER- See Also:
 
- 
WRITERUUID_FIELD_NUMBERpublic static final int WRITERUUID_FIELD_NUMBER- See Also:
 
- 
TIMESTAMP_FIELD_NUMBERpublic static final int TIMESTAMP_FIELD_NUMBER- See Also:
 
- 
METADATA_FIELD_NUMBERpublic static final int METADATA_FIELD_NUMBER- See Also:
 
 
- 
- 
Method Details- 
getDescriptorpublic static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor()
- 
internalGetFieldAccessorTableprotected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
- internalGetFieldAccessorTablein class- org.apache.pekko.protobufv3.internal.GeneratedMessage
 
- 
hasPayloadpublic boolean hasPayload()optional .PersistentPayload payload = 1;- Specified by:
- hasPayloadin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the payload field is set.
 
- 
getPayloadoptional .PersistentPayload payload = 1;- Specified by:
- getPayloadin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- The payload.
 
- 
getPayloadOrBuilderoptional .PersistentPayload payload = 1;- Specified by:
- getPayloadOrBuilderin interface- MessageFormats.PersistentMessageOrBuilder
 
- 
hasSequenceNrpublic boolean hasSequenceNr()optional int64 sequenceNr = 2;- Specified by:
- hasSequenceNrin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the sequenceNr field is set.
 
- 
getSequenceNrpublic long getSequenceNr()optional int64 sequenceNr = 2;- Specified by:
- getSequenceNrin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- The sequenceNr.
 
- 
hasPersistenceIdpublic boolean hasPersistenceId()optional string persistenceId = 3;- Specified by:
- hasPersistenceIdin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the persistenceId field is set.
 
- 
getPersistenceIdoptional string persistenceId = 3;- Specified by:
- getPersistenceIdin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- The persistenceId.
 
- 
getPersistenceIdBytespublic org.apache.pekko.protobufv3.internal.ByteString getPersistenceIdBytes()optional string persistenceId = 3;- Specified by:
- getPersistenceIdBytesin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- The bytes for persistenceId.
 
- 
hasDeletedpublic boolean hasDeleted()not used in new records from Akka 2.4 optional bool deleted = 4;- Specified by:
- hasDeletedin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the deleted field is set.
 
- 
getDeletedpublic boolean getDeleted()not used in new records from Akka 2.4 optional bool deleted = 4;- Specified by:
- getDeletedin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- The deleted.
 
- 
hasSenderpublic boolean hasSender()optional int32 redeliveries = 6; // Removed in Akka 2.4 repeated string confirms = 7; // Removed in Akka 2.4 optional bool confirmable = 8; // Removed in Akka 2.4 optional DeliveredMessage confirmMessage = 9; // Removed in Akka 2.4 optional string confirmTarget = 10; // Removed in Akka 2.4 optional string sender = 11;- Specified by:
- hasSenderin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the sender field is set.
 
- 
getSenderoptional int32 redeliveries = 6; // Removed in Akka 2.4 repeated string confirms = 7; // Removed in Akka 2.4 optional bool confirmable = 8; // Removed in Akka 2.4 optional DeliveredMessage confirmMessage = 9; // Removed in Akka 2.4 optional string confirmTarget = 10; // Removed in Akka 2.4 optional string sender = 11;- Specified by:
- getSenderin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- The sender.
 
- 
getSenderBytespublic org.apache.pekko.protobufv3.internal.ByteString getSenderBytes()optional int32 redeliveries = 6; // Removed in Akka 2.4 repeated string confirms = 7; // Removed in Akka 2.4 optional bool confirmable = 8; // Removed in Akka 2.4 optional DeliveredMessage confirmMessage = 9; // Removed in Akka 2.4 optional string confirmTarget = 10; // Removed in Akka 2.4 optional string sender = 11;- Specified by:
- getSenderBytesin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- The bytes for sender.
 
- 
hasManifestpublic boolean hasManifest()optional string manifest = 12;- Specified by:
- hasManifestin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the manifest field is set.
 
- 
getManifestoptional string manifest = 12;- Specified by:
- getManifestin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- The manifest.
 
- 
getManifestBytespublic org.apache.pekko.protobufv3.internal.ByteString getManifestBytes()optional string manifest = 12;- Specified by:
- getManifestBytesin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- The bytes for manifest.
 
- 
hasWriterUuidpublic boolean hasWriterUuid()optional string writerUuid = 13;- Specified by:
- hasWriterUuidin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the writerUuid field is set.
 
- 
getWriterUuidoptional string writerUuid = 13;- Specified by:
- getWriterUuidin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- The writerUuid.
 
- 
getWriterUuidBytespublic org.apache.pekko.protobufv3.internal.ByteString getWriterUuidBytes()optional string writerUuid = 13;- Specified by:
- getWriterUuidBytesin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- The bytes for writerUuid.
 
- 
hasTimestamppublic boolean hasTimestamp()optional sint64 timestamp = 14;- Specified by:
- hasTimestampin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the timestamp field is set.
 
- 
getTimestamppublic long getTimestamp()optional sint64 timestamp = 14;- Specified by:
- getTimestampin interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- The timestamp.
 
- 
hasMetadatapublic boolean hasMetadata()optional .PersistentPayload metadata = 15;- Specified by:
- hasMetadatain interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the metadata field is set.
 
- 
getMetadataoptional .PersistentPayload metadata = 15;- Specified by:
- getMetadatain interface- MessageFormats.PersistentMessageOrBuilder
- Returns:
- The metadata.
 
- 
getMetadataOrBuilderoptional .PersistentPayload metadata = 15;- Specified by:
- getMetadataOrBuilderin interface- MessageFormats.PersistentMessageOrBuilder
 
- 
isInitializedpublic final boolean isInitialized()- Specified by:
- isInitializedin interface- org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
- isInitializedin class- org.apache.pekko.protobufv3.internal.GeneratedMessage
 
- 
writeTopublic void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) throws IOException - Specified by:
- writeToin interface- org.apache.pekko.protobufv3.internal.MessageLite
- Overrides:
- writeToin class- org.apache.pekko.protobufv3.internal.GeneratedMessage
- Throws:
- IOException
 
- 
getSerializedSizepublic int getSerializedSize()- Specified by:
- getSerializedSizein interface- org.apache.pekko.protobufv3.internal.MessageLite
- Overrides:
- getSerializedSizein class- org.apache.pekko.protobufv3.internal.GeneratedMessage
 
- 
equals- Specified by:
- equalsin interface- org.apache.pekko.protobufv3.internal.Message
- Overrides:
- equalsin class- org.apache.pekko.protobufv3.internal.AbstractMessage
 
- 
hashCodepublic int hashCode()- Specified by:
- hashCodein interface- org.apache.pekko.protobufv3.internal.Message
- Overrides:
- hashCodein class- org.apache.pekko.protobufv3.internal.AbstractMessage
 
- 
parseFrompublic static MessageFormats.PersistentMessage parseFrom(ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException - Throws:
- org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
 
- 
parseFrompublic static MessageFormats.PersistentMessage parseFrom(ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException - Throws:
- org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
 
- 
parseFrompublic static MessageFormats.PersistentMessage parseFrom(org.apache.pekko.protobufv3.internal.ByteString data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException - Throws:
- org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
 
- 
parseFrompublic static MessageFormats.PersistentMessage 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
 
- 
parseFrompublic static MessageFormats.PersistentMessage parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException - Throws:
- org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
 
- 
parseFrompublic static MessageFormats.PersistentMessage 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
 
- 
parseFrompublic static MessageFormats.PersistentMessage parseFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
- IOException
 
- 
parseDelimitedFrompublic static MessageFormats.PersistentMessage parseDelimitedFrom(InputStream input) throws IOException - Throws:
- IOException
 
- 
parseDelimitedFrompublic static MessageFormats.PersistentMessage parseDelimitedFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
- IOException
 
- 
parseFrompublic static MessageFormats.PersistentMessage parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) throws IOException - Throws:
- IOException
 
- 
parseFrompublic static MessageFormats.PersistentMessage parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
- IOException
 
- 
newBuilderForType- Specified by:
- newBuilderForTypein interface- org.apache.pekko.protobufv3.internal.Message
- Specified by:
- newBuilderForTypein interface- org.apache.pekko.protobufv3.internal.MessageLite
 
- 
newBuilder
- 
newBuilderpublic static MessageFormats.PersistentMessage.Builder newBuilder(MessageFormats.PersistentMessage prototype) 
- 
toBuilder- Specified by:
- toBuilderin interface- org.apache.pekko.protobufv3.internal.Message
- Specified by:
- toBuilderin interface- org.apache.pekko.protobufv3.internal.MessageLite
 
- 
newBuilderForTypeprotected MessageFormats.PersistentMessage.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent) - Overrides:
- newBuilderForTypein class- org.apache.pekko.protobufv3.internal.AbstractMessage
 
- 
getDefaultInstance
- 
parserpublic static org.apache.pekko.protobufv3.internal.Parser<MessageFormats.PersistentMessage> parser()
- 
getParserForTypepublic org.apache.pekko.protobufv3.internal.Parser<MessageFormats.PersistentMessage> getParserForType()- Specified by:
- getParserForTypein interface- org.apache.pekko.protobufv3.internal.Message
- Specified by:
- getParserForTypein interface- org.apache.pekko.protobufv3.internal.MessageLite
- Overrides:
- getParserForTypein class- org.apache.pekko.protobufv3.internal.GeneratedMessage
 
- 
getDefaultInstanceForType- Specified by:
- getDefaultInstanceForTypein interface- org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- org.apache.pekko.protobufv3.internal.MessageOrBuilder
 
 
-