Package akka.persistence.serialization
Interface MessageFormats.PersistentMessageOrBuilder
-
- All Superinterfaces:
akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
- All Known Implementing Classes:
MessageFormats.PersistentMessage
,MessageFormats.PersistentMessage.Builder
- Enclosing class:
- MessageFormats
public static interface MessageFormats.PersistentMessageOrBuilder extends akka.protobufv3.internal.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getDeleted()
not used in new records from 2.4java.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;
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;
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.4boolean
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;
-
Methods inherited from interface akka.protobufv3.internal.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasPayload
boolean hasPayload()
optional .PersistentPayload payload = 1;
- Returns:
- Whether the payload field is set.
-
getPayload
MessageFormats.PersistentPayload getPayload()
optional .PersistentPayload payload = 1;
- Returns:
- The payload.
-
getPayloadOrBuilder
MessageFormats.PersistentPayloadOrBuilder getPayloadOrBuilder()
optional .PersistentPayload payload = 1;
-
hasSequenceNr
boolean hasSequenceNr()
optional int64 sequenceNr = 2;
- Returns:
- Whether the sequenceNr field is set.
-
getSequenceNr
long getSequenceNr()
optional int64 sequenceNr = 2;
- Returns:
- The sequenceNr.
-
hasPersistenceId
boolean hasPersistenceId()
optional string persistenceId = 3;
- Returns:
- Whether the persistenceId field is set.
-
getPersistenceId
java.lang.String getPersistenceId()
optional string persistenceId = 3;
- Returns:
- The persistenceId.
-
getPersistenceIdBytes
akka.protobufv3.internal.ByteString getPersistenceIdBytes()
optional string persistenceId = 3;
- Returns:
- The bytes for persistenceId.
-
hasDeleted
boolean hasDeleted()
not used in new records from 2.4
optional bool deleted = 4;
- Returns:
- Whether the deleted field is set.
-
getDeleted
boolean getDeleted()
not used in new records from 2.4
optional bool deleted = 4;
- Returns:
- The deleted.
-
hasSender
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;
- Returns:
- Whether the sender field is set.
-
getSender
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;
- Returns:
- The sender.
-
getSenderBytes
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;
- Returns:
- The bytes for sender.
-
hasManifest
boolean hasManifest()
optional string manifest = 12;
- Returns:
- Whether the manifest field is set.
-
getManifest
java.lang.String getManifest()
optional string manifest = 12;
- Returns:
- The manifest.
-
getManifestBytes
akka.protobufv3.internal.ByteString getManifestBytes()
optional string manifest = 12;
- Returns:
- The bytes for manifest.
-
hasWriterUuid
boolean hasWriterUuid()
optional string writerUuid = 13;
- Returns:
- Whether the writerUuid field is set.
-
getWriterUuid
java.lang.String getWriterUuid()
optional string writerUuid = 13;
- Returns:
- The writerUuid.
-
getWriterUuidBytes
akka.protobufv3.internal.ByteString getWriterUuidBytes()
optional string writerUuid = 13;
- Returns:
- The bytes for writerUuid.
-
hasTimestamp
boolean hasTimestamp()
optional sint64 timestamp = 14;
- Returns:
- Whether the timestamp field is set.
-
getTimestamp
long getTimestamp()
optional sint64 timestamp = 14;
- Returns:
- The timestamp.
-
hasMetadata
boolean hasMetadata()
optional .PersistentPayload metadata = 15;
- Returns:
- Whether the metadata field is set.
-
getMetadata
MessageFormats.PersistentPayload getMetadata()
optional .PersistentPayload metadata = 15;
- Returns:
- The metadata.
-
getMetadataOrBuilder
MessageFormats.PersistentPayloadOrBuilder getMetadataOrBuilder()
optional .PersistentPayload metadata = 15;
-
-