Package akka.persistence.serialization
Class MessageFormats.PersistentMessage
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite
-
- akka.protobufv3.internal.AbstractMessage
-
- akka.protobufv3.internal.GeneratedMessageV3
-
- akka.persistence.serialization.MessageFormats.PersistentMessage
-
- All Implemented Interfaces:
MessageFormats.PersistentMessageOrBuilder
,akka.protobufv3.internal.Message
,akka.protobufv3.internal.MessageLite
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,java.io.Serializable
- Enclosing class:
- MessageFormats
public static final class MessageFormats.PersistentMessage extends akka.protobufv3.internal.GeneratedMessageV3 implements MessageFormats.PersistentMessageOrBuilder
Protobuf typePersistentMessage
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MessageFormats.PersistentMessage.Builder
Protobuf typePersistentMessage
-
Nested classes/interfaces inherited from class akka.protobufv3.internal.GeneratedMessageV3
akka.protobufv3.internal.GeneratedMessageV3.BuilderParent, akka.protobufv3.internal.GeneratedMessageV3.ExtendableBuilder<MessageT extends akka.protobufv3.internal.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends akka.protobufv3.internal.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, akka.protobufv3.internal.GeneratedMessageV3.ExtendableMessage<MessageT extends akka.protobufv3.internal.GeneratedMessageV3.ExtendableMessage<MessageT>>, akka.protobufv3.internal.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends akka.protobufv3.internal.GeneratedMessageV3.ExtendableMessage<MessageT>>, akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable, akka.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
DELETED_FIELD_NUMBER
static int
MANIFEST_FIELD_NUMBER
static int
METADATA_FIELD_NUMBER
static akka.protobufv3.internal.Parser<MessageFormats.PersistentMessage>
PARSER
Deprecated.static int
PAYLOAD_FIELD_NUMBER
static int
PERSISTENCEID_FIELD_NUMBER
static int
SENDER_FIELD_NUMBER
static int
SEQUENCENR_FIELD_NUMBER
static int
TIMESTAMP_FIELD_NUMBER
static int
WRITERUUID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static MessageFormats.PersistentMessage
getDefaultInstance()
MessageFormats.PersistentMessage
getDefaultInstanceForType()
boolean
getDeleted()
not used in new records from 2.4static akka.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
java.lang.String
getManifest()
optional string manifest = 12;
akka.protobufv3.internal.ByteString
getManifestBytes()
optional string manifest = 12;
MessageFormats.PersistentPayload
getMetadata()
optional .PersistentPayload metadata = 15;
MessageFormats.PersistentPayloadOrBuilder
getMetadataOrBuilder()
optional .PersistentPayload metadata = 15;
akka.protobufv3.internal.Parser<MessageFormats.PersistentMessage>
getParserForType()
MessageFormats.PersistentPayload
getPayload()
optional .PersistentPayload payload = 1;
MessageFormats.PersistentPayloadOrBuilder
getPayloadOrBuilder()
optional .PersistentPayload payload = 1;
java.lang.String
getPersistenceId()
optional string persistenceId = 3;
akka.protobufv3.internal.ByteString
getPersistenceIdBytes()
optional string persistenceId = 3;
java.lang.String
getSender()
optional int32 redeliveries = 6; // Removed in 2.4 repeated string confirms = 7; // Removed in 2.4 optional bool confirmable = 8; // Removed in 2.4 optional DeliveredMessage confirmMessage = 9; // Removed in 2.4 optional string confirmTarget = 10; // Removed in 2.4akka.protobufv3.internal.ByteString
getSenderBytes()
optional int32 redeliveries = 6; // Removed in 2.4 repeated string confirms = 7; // Removed in 2.4 optional bool confirmable = 8; // Removed in 2.4 optional DeliveredMessage confirmMessage = 9; // Removed in 2.4 optional string confirmTarget = 10; // Removed in 2.4long
getSequenceNr()
optional int64 sequenceNr = 2;
int
getSerializedSize()
long
getTimestamp()
optional sint64 timestamp = 14;
java.lang.String
getWriterUuid()
optional string writerUuid = 13;
akka.protobufv3.internal.ByteString
getWriterUuidBytes()
optional string writerUuid = 13;
boolean
hasDeleted()
not used in new records from 2.4int
hashCode()
boolean
hasManifest()
optional string manifest = 12;
boolean
hasMetadata()
optional .PersistentPayload metadata = 15;
boolean
hasPayload()
optional .PersistentPayload payload = 1;
boolean
hasPersistenceId()
optional string persistenceId = 3;
boolean
hasSender()
optional int32 redeliveries = 6; // Removed in 2.4 repeated string confirms = 7; // Removed in 2.4 optional bool confirmable = 8; // Removed in 2.4 optional DeliveredMessage confirmMessage = 9; // Removed in 2.4 optional string confirmTarget = 10; // Removed in 2.4boolean
hasSequenceNr()
optional int64 sequenceNr = 2;
boolean
hasTimestamp()
optional sint64 timestamp = 14;
boolean
hasWriterUuid()
optional string writerUuid = 13;
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static MessageFormats.PersistentMessage.Builder
newBuilder()
static MessageFormats.PersistentMessage.Builder
newBuilder(MessageFormats.PersistentMessage prototype)
MessageFormats.PersistentMessage.Builder
newBuilderForType()
protected MessageFormats.PersistentMessage.Builder
newBuilderForType(akka.protobufv3.internal.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(akka.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused)
static MessageFormats.PersistentMessage
parseDelimitedFrom(java.io.InputStream input)
static MessageFormats.PersistentMessage
parseDelimitedFrom(java.io.InputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static MessageFormats.PersistentMessage
parseFrom(byte[] data)
static MessageFormats.PersistentMessage
parseFrom(byte[] data, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static MessageFormats.PersistentMessage
parseFrom(akka.protobufv3.internal.ByteString data)
static MessageFormats.PersistentMessage
parseFrom(akka.protobufv3.internal.ByteString data, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static MessageFormats.PersistentMessage
parseFrom(akka.protobufv3.internal.CodedInputStream input)
static MessageFormats.PersistentMessage
parseFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static MessageFormats.PersistentMessage
parseFrom(java.io.InputStream input)
static MessageFormats.PersistentMessage
parseFrom(java.io.InputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static MessageFormats.PersistentMessage
parseFrom(java.nio.ByteBuffer data)
static MessageFormats.PersistentMessage
parseFrom(java.nio.ByteBuffer data, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static akka.protobufv3.internal.Parser<MessageFormats.PersistentMessage>
parser()
MessageFormats.PersistentMessage.Builder
toBuilder()
void
writeTo(akka.protobufv3.internal.CodedOutputStream output)
-
Methods inherited from class akka.protobufv3.internal.GeneratedMessageV3
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, 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 akka.protobufv3.internal.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class akka.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
-
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEQUENCENR_FIELD_NUMBER
public static final int SEQUENCENR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PERSISTENCEID_FIELD_NUMBER
public static final int PERSISTENCEID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETED_FIELD_NUMBER
public static final int DELETED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SENDER_FIELD_NUMBER
public static final int SENDER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MANIFEST_FIELD_NUMBER
public static final int MANIFEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WRITERUUID_FIELD_NUMBER
public static final int WRITERUUID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_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 akka.protobufv3.internal.Parser<MessageFormats.PersistentMessage> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(akka.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classakka.protobufv3.internal.GeneratedMessageV3
-
getDescriptor
public static final akka.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classakka.protobufv3.internal.GeneratedMessageV3
-
hasPayload
public boolean hasPayload()
optional .PersistentPayload payload = 1;
- Specified by:
hasPayload
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the payload field is set.
-
getPayload
public MessageFormats.PersistentPayload getPayload()
optional .PersistentPayload payload = 1;
- Specified by:
getPayload
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- The payload.
-
getPayloadOrBuilder
public MessageFormats.PersistentPayloadOrBuilder 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
public java.lang.String getPersistenceId()
optional string persistenceId = 3;
- Specified by:
getPersistenceId
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- The persistenceId.
-
getPersistenceIdBytes
public akka.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 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 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 2.4 repeated string confirms = 7; // Removed in 2.4 optional bool confirmable = 8; // Removed in 2.4 optional DeliveredMessage confirmMessage = 9; // Removed in 2.4 optional string confirmTarget = 10; // Removed in 2.4
optional string sender = 11;
- Specified by:
hasSender
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- Whether the sender field is set.
-
getSender
public java.lang.String getSender()
optional int32 redeliveries = 6; // Removed in 2.4 repeated string confirms = 7; // Removed in 2.4 optional bool confirmable = 8; // Removed in 2.4 optional DeliveredMessage confirmMessage = 9; // Removed in 2.4 optional string confirmTarget = 10; // Removed in 2.4
optional string sender = 11;
- Specified by:
getSender
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- The sender.
-
getSenderBytes
public akka.protobufv3.internal.ByteString getSenderBytes()
optional int32 redeliveries = 6; // Removed in 2.4 repeated string confirms = 7; // Removed in 2.4 optional bool confirmable = 8; // Removed in 2.4 optional DeliveredMessage confirmMessage = 9; // Removed in 2.4 optional string confirmTarget = 10; // Removed in 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
public java.lang.String getManifest()
optional string manifest = 12;
- Specified by:
getManifest
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- The manifest.
-
getManifestBytes
public akka.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
public java.lang.String getWriterUuid()
optional string writerUuid = 13;
- Specified by:
getWriterUuid
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- The writerUuid.
-
getWriterUuidBytes
public akka.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
public MessageFormats.PersistentPayload getMetadata()
optional .PersistentPayload metadata = 15;
- Specified by:
getMetadata
in interfaceMessageFormats.PersistentMessageOrBuilder
- Returns:
- The metadata.
-
getMetadataOrBuilder
public MessageFormats.PersistentPayloadOrBuilder getMetadataOrBuilder()
optional .PersistentPayload metadata = 15;
- Specified by:
getMetadataOrBuilder
in interfaceMessageFormats.PersistentMessageOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3
-
writeTo
public void writeTo(akka.protobufv3.internal.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfaceakka.protobufv3.internal.MessageLite
- Overrides:
writeTo
in classakka.protobufv3.internal.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfaceakka.protobufv3.internal.MessageLite
- Overrides:
getSerializedSize
in classakka.protobufv3.internal.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfaceakka.protobufv3.internal.Message
- Overrides:
equals
in classakka.protobufv3.internal.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceakka.protobufv3.internal.Message
- Overrides:
hashCode
in classakka.protobufv3.internal.AbstractMessage
-
parseFrom
public static MessageFormats.PersistentMessage parseFrom(java.nio.ByteBuffer data) throws akka.protobufv3.internal.InvalidProtocolBufferException
- Throws:
akka.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static MessageFormats.PersistentMessage parseFrom(java.nio.ByteBuffer data, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws akka.protobufv3.internal.InvalidProtocolBufferException
- Throws:
akka.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static MessageFormats.PersistentMessage parseFrom(akka.protobufv3.internal.ByteString data) throws akka.protobufv3.internal.InvalidProtocolBufferException
- Throws:
akka.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static MessageFormats.PersistentMessage parseFrom(akka.protobufv3.internal.ByteString data, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws akka.protobufv3.internal.InvalidProtocolBufferException
- Throws:
akka.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static MessageFormats.PersistentMessage parseFrom(byte[] data) throws akka.protobufv3.internal.InvalidProtocolBufferException
- Throws:
akka.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static MessageFormats.PersistentMessage parseFrom(byte[] data, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws akka.protobufv3.internal.InvalidProtocolBufferException
- Throws:
akka.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static MessageFormats.PersistentMessage parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MessageFormats.PersistentMessage parseFrom(java.io.InputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MessageFormats.PersistentMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MessageFormats.PersistentMessage parseDelimitedFrom(java.io.InputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MessageFormats.PersistentMessage parseFrom(akka.protobufv3.internal.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MessageFormats.PersistentMessage parseFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public MessageFormats.PersistentMessage.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfaceakka.protobufv3.internal.Message
- Specified by:
newBuilderForType
in interfaceakka.protobufv3.internal.MessageLite
-
newBuilder
public static MessageFormats.PersistentMessage.Builder newBuilder()
-
newBuilder
public static MessageFormats.PersistentMessage.Builder newBuilder(MessageFormats.PersistentMessage prototype)
-
toBuilder
public MessageFormats.PersistentMessage.Builder toBuilder()
- Specified by:
toBuilder
in interfaceakka.protobufv3.internal.Message
- Specified by:
toBuilder
in interfaceakka.protobufv3.internal.MessageLite
-
newBuilderForType
protected MessageFormats.PersistentMessage.Builder newBuilderForType(akka.protobufv3.internal.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classakka.protobufv3.internal.GeneratedMessageV3
-
getDefaultInstance
public static MessageFormats.PersistentMessage getDefaultInstance()
-
parser
public static akka.protobufv3.internal.Parser<MessageFormats.PersistentMessage> parser()
-
getParserForType
public akka.protobufv3.internal.Parser<MessageFormats.PersistentMessage> getParserForType()
- Specified by:
getParserForType
in interfaceakka.protobufv3.internal.Message
- Specified by:
getParserForType
in interfaceakka.protobufv3.internal.MessageLite
- Overrides:
getParserForType
in classakka.protobufv3.internal.GeneratedMessageV3
-
getDefaultInstanceForType
public MessageFormats.PersistentMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
-