Package akka.persistence.serialization
Interface MessageFormats.PersistentPayloadOrBuilder
-
- All Superinterfaces:
akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
- All Known Implementing Classes:
MessageFormats.PersistentPayload
,MessageFormats.PersistentPayload.Builder
- Enclosing class:
- MessageFormats
public static interface MessageFormats.PersistentPayloadOrBuilder extends akka.protobufv3.internal.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description akka.protobufv3.internal.ByteString
getPayload()
required bytes payload = 2;
akka.protobufv3.internal.ByteString
getPayloadManifest()
optional bytes payloadManifest = 3;
int
getSerializerId()
required int32 serializerId = 1;
boolean
hasPayload()
required bytes payload = 2;
boolean
hasPayloadManifest()
optional bytes payloadManifest = 3;
boolean
hasSerializerId()
required int32 serializerId = 1;
-
Methods inherited from interface akka.protobufv3.internal.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSerializerId
boolean hasSerializerId()
required int32 serializerId = 1;
- Returns:
- Whether the serializerId field is set.
-
getSerializerId
int getSerializerId()
required int32 serializerId = 1;
- Returns:
- The serializerId.
-
hasPayload
boolean hasPayload()
required bytes payload = 2;
- Returns:
- Whether the payload field is set.
-
getPayload
akka.protobufv3.internal.ByteString getPayload()
required bytes payload = 2;
- Returns:
- The payload.
-
hasPayloadManifest
boolean hasPayloadManifest()
optional bytes payloadManifest = 3;
- Returns:
- Whether the payloadManifest field is set.
-
getPayloadManifest
akka.protobufv3.internal.ByteString getPayloadManifest()
optional bytes payloadManifest = 3;
- Returns:
- The payloadManifest.
-
-