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 Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Protobuf typePersistentMessage
Nested 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.BuilderParent
Nested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite
org.apache.pekko.protobufv3.internal.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields
Fields inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage
memoizedSize
Fields inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
not used in new records from Akka 2.4static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
optional string manifest = 12;
org.apache.pekko.protobufv3.internal.ByteString
optional 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.ByteString
optional 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.ByteString
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.4long
optional int64 sequenceNr = 2;
int
long
optional sint64 timestamp = 14;
optional string writerUuid = 13;
org.apache.pekko.protobufv3.internal.ByteString
optional string writerUuid = 13;
boolean
not used in new records from Akka 2.4int
hashCode()
boolean
optional string manifest = 12;
boolean
optional .PersistentPayload metadata = 15;
boolean
optional .PersistentPayload payload = 1;
boolean
optional string persistenceId = 3;
boolean
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.4boolean
optional int64 sequenceNr = 2;
boolean
optional sint64 timestamp = 14;
boolean
optional string writerUuid = 13;
protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
final boolean
newBuilder
(MessageFormats.PersistentMessage prototype) protected MessageFormats.PersistentMessage.Builder
newBuilderForType
(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()
void
writeTo
(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, writeStringNoTag
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.pekko.protobufv3.internal.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface org.apache.pekko.protobufv3.internal.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER- See Also:
-
SEQUENCENR_FIELD_NUMBER
public static final int SEQUENCENR_FIELD_NUMBER- See Also:
-
PERSISTENCEID_FIELD_NUMBER
public static final int PERSISTENCEID_FIELD_NUMBER- See Also:
-
DELETED_FIELD_NUMBER
public static final int DELETED_FIELD_NUMBER- See Also:
-
SENDER_FIELD_NUMBER
public static final int SENDER_FIELD_NUMBER- See Also:
-
MANIFEST_FIELD_NUMBER
public static final int MANIFEST_FIELD_NUMBER- See Also:
-
WRITERUUID_FIELD_NUMBER
public static final int WRITERUUID_FIELD_NUMBER- See Also:
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_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:
internalGetFieldAccessorTable
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
hasPayload
public boolean hasPayload()optional .PersistentPayload payload = 1;
- Specified by:
hasPayload
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the payload field is set.
-
getPayload
optional .PersistentPayload payload = 1;
- Specified by:
getPayload
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- The payload.
-
getPayloadOrBuilder
optional .PersistentPayload payload = 1;
- Specified by:
getPayloadOrBuilder
in interfaceMessageFormats.PersistentMessageOrBuilder
-
hasSequenceNr
public boolean hasSequenceNr()optional int64 sequenceNr = 2;
- Specified by:
hasSequenceNr
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the sequenceNr field is set.
-
getSequenceNr
public long getSequenceNr()optional int64 sequenceNr = 2;
- Specified by:
getSequenceNr
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- The sequenceNr.
-
hasPersistenceId
public boolean hasPersistenceId()optional string persistenceId = 3;
- Specified by:
hasPersistenceId
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the persistenceId field is set.
-
getPersistenceId
optional string persistenceId = 3;
- Specified by:
getPersistenceId
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- The persistenceId.
-
getPersistenceIdBytes
public org.apache.pekko.protobufv3.internal.ByteString getPersistenceIdBytes()optional string persistenceId = 3;
- Specified by:
getPersistenceIdBytes
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- The bytes for persistenceId.
-
hasDeleted
public boolean hasDeleted()not used in new records from Akka 2.4
optional bool deleted = 4;
- Specified by:
hasDeleted
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the deleted field is set.
-
getDeleted
public boolean getDeleted()not used in new records from Akka 2.4
optional bool deleted = 4;
- Specified by:
getDeleted
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- The deleted.
-
hasSender
public 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:
hasSender
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the sender field is set.
-
getSender
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:
getSender
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- The sender.
-
getSenderBytes
public 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:
getSenderBytes
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- The bytes for sender.
-
hasManifest
public boolean hasManifest()optional string manifest = 12;
- Specified by:
hasManifest
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the manifest field is set.
-
getManifest
optional string manifest = 12;
- Specified by:
getManifest
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- The manifest.
-
getManifestBytes
public org.apache.pekko.protobufv3.internal.ByteString getManifestBytes()optional string manifest = 12;
- Specified by:
getManifestBytes
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- The bytes for manifest.
-
hasWriterUuid
public boolean hasWriterUuid()optional string writerUuid = 13;
- Specified by:
hasWriterUuid
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the writerUuid field is set.
-
getWriterUuid
optional string writerUuid = 13;
- Specified by:
getWriterUuid
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- The writerUuid.
-
getWriterUuidBytes
public org.apache.pekko.protobufv3.internal.ByteString getWriterUuidBytes()optional string writerUuid = 13;
- Specified by:
getWriterUuidBytes
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- The bytes for writerUuid.
-
hasTimestamp
public boolean hasTimestamp()optional sint64 timestamp = 14;
- Specified by:
hasTimestamp
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public long getTimestamp()optional sint64 timestamp = 14;
- Specified by:
getTimestamp
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- The timestamp.
-
hasMetadata
public boolean hasMetadata()optional .PersistentPayload metadata = 15;
- Specified by:
hasMetadata
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
optional .PersistentPayload metadata = 15;
- Specified by:
getMetadata
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- The metadata.
-
getMetadataOrBuilder
optional .PersistentPayload metadata = 15;
- Specified by:
getMetadataOrBuilder
in interfaceMessageFormats.PersistentMessageOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
writeTo
public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) throws IOException - Specified by:
writeTo
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
- Overrides:
writeTo
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
- Overrides:
getSerializedSize
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
equals
- 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 MessageFormats.PersistentMessage parseFrom(ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException - Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public 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
-
parseFrom
public 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
-
parseFrom
public 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
-
parseFrom
public static MessageFormats.PersistentMessage parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException - Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public 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
-
parseFrom
public static MessageFormats.PersistentMessage parseFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static MessageFormats.PersistentMessage parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static MessageFormats.PersistentMessage parseDelimitedFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static MessageFormats.PersistentMessage parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public 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:
newBuilderForType
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Specified by:
newBuilderForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilder
-
newBuilder
public static MessageFormats.PersistentMessage.Builder newBuilder(MessageFormats.PersistentMessage prototype) -
toBuilder
- Specified by:
toBuilder
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Specified by:
toBuilder
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilderForType
protected MessageFormats.PersistentMessage.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
getDefaultInstance
-
parser
public static org.apache.pekko.protobufv3.internal.Parser<MessageFormats.PersistentMessage> parser() -
getParserForType
public org.apache.pekko.protobufv3.internal.Parser<MessageFormats.PersistentMessage> 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.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-