Package akka.persistence.serialization
Class MessageFormats.PersistentPayload
- java.lang.Object
-
- akka.protobuf.AbstractMessageLite
-
- akka.protobuf.AbstractMessage
-
- akka.protobuf.GeneratedMessage
-
- akka.persistence.serialization.MessageFormats.PersistentPayload
-
- All Implemented Interfaces:
MessageFormats.PersistentPayloadOrBuilder
,akka.protobuf.Message
,akka.protobuf.MessageLite
,akka.protobuf.MessageLiteOrBuilder
,akka.protobuf.MessageOrBuilder
,java.io.Serializable
- Enclosing class:
- MessageFormats
public static final class MessageFormats.PersistentPayload extends akka.protobuf.GeneratedMessage implements MessageFormats.PersistentPayloadOrBuilder
Protobuf typePersistentPayload
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MessageFormats.PersistentPayload.Builder
Protobuf typePersistentPayload
-
Nested classes/interfaces inherited from class akka.protobuf.GeneratedMessage
akka.protobuf.GeneratedMessage.BuilderParent, akka.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends akka.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends akka.protobuf.GeneratedMessage.ExtendableBuilder>, akka.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends akka.protobuf.GeneratedMessage.ExtendableMessage>, akka.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends akka.protobuf.GeneratedMessage.ExtendableMessage>, akka.protobuf.GeneratedMessage.FieldAccessorTable, akka.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends akka.protobuf.Message,Type extends java.lang.Object>
-
-
Field Summary
Fields Modifier and Type Field Description static akka.protobuf.Parser<MessageFormats.PersistentPayload>
PARSER
static int
PAYLOAD_FIELD_NUMBER
static int
PAYLOADMANIFEST_FIELD_NUMBER
static int
SERIALIZERID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessageFormats.PersistentPayload
getDefaultInstance()
MessageFormats.PersistentPayload
getDefaultInstanceForType()
static akka.protobuf.Descriptors.Descriptor
getDescriptor()
akka.protobuf.Parser<MessageFormats.PersistentPayload>
getParserForType()
akka.protobuf.ByteString
getPayload()
required bytes payload = 2;
akka.protobuf.ByteString
getPayloadManifest()
optional bytes payloadManifest = 3;
int
getSerializedSize()
int
getSerializerId()
required int32 serializerId = 1;
akka.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasPayload()
required bytes payload = 2;
boolean
hasPayloadManifest()
optional bytes payloadManifest = 3;
boolean
hasSerializerId()
required int32 serializerId = 1;
protected akka.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static MessageFormats.PersistentPayload.Builder
newBuilder()
static MessageFormats.PersistentPayload.Builder
newBuilder(MessageFormats.PersistentPayload prototype)
MessageFormats.PersistentPayload.Builder
newBuilderForType()
protected MessageFormats.PersistentPayload.Builder
newBuilderForType(akka.protobuf.GeneratedMessage.BuilderParent parent)
static MessageFormats.PersistentPayload
parseDelimitedFrom(java.io.InputStream input)
static MessageFormats.PersistentPayload
parseDelimitedFrom(java.io.InputStream input, akka.protobuf.ExtensionRegistryLite extensionRegistry)
static MessageFormats.PersistentPayload
parseFrom(byte[] data)
static MessageFormats.PersistentPayload
parseFrom(byte[] data, akka.protobuf.ExtensionRegistryLite extensionRegistry)
static MessageFormats.PersistentPayload
parseFrom(akka.protobuf.ByteString data)
static MessageFormats.PersistentPayload
parseFrom(akka.protobuf.ByteString data, akka.protobuf.ExtensionRegistryLite extensionRegistry)
static MessageFormats.PersistentPayload
parseFrom(akka.protobuf.CodedInputStream input)
static MessageFormats.PersistentPayload
parseFrom(akka.protobuf.CodedInputStream input, akka.protobuf.ExtensionRegistryLite extensionRegistry)
static MessageFormats.PersistentPayload
parseFrom(java.io.InputStream input)
static MessageFormats.PersistentPayload
parseFrom(java.io.InputStream input, akka.protobuf.ExtensionRegistryLite extensionRegistry)
MessageFormats.PersistentPayload.Builder
toBuilder()
protected java.lang.Object
writeReplace()
void
writeTo(akka.protobuf.CodedOutputStream output)
-
Methods inherited from class akka.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
-
Methods inherited from class akka.protobuf.AbstractMessage
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class akka.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PARSER
public static akka.protobuf.Parser<MessageFormats.PersistentPayload> PARSER
-
SERIALIZERID_FIELD_NUMBER
public static final int SERIALIZERID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAYLOADMANIFEST_FIELD_NUMBER
public static final int PAYLOADMANIFEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultInstance
public static MessageFormats.PersistentPayload getDefaultInstance()
-
getDefaultInstanceForType
public MessageFormats.PersistentPayload getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobuf.MessageOrBuilder
-
getUnknownFields
public final akka.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfaceakka.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classakka.protobuf.GeneratedMessage
-
getDescriptor
public static final akka.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected akka.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classakka.protobuf.GeneratedMessage
-
getParserForType
public akka.protobuf.Parser<MessageFormats.PersistentPayload> getParserForType()
- Specified by:
getParserForType
in interfaceakka.protobuf.Message
- Specified by:
getParserForType
in interfaceakka.protobuf.MessageLite
- Overrides:
getParserForType
in classakka.protobuf.GeneratedMessage
-
hasSerializerId
public boolean hasSerializerId()
required int32 serializerId = 1;
- Specified by:
hasSerializerId
in interfaceMessageFormats.PersistentPayloadOrBuilder
-
getSerializerId
public int getSerializerId()
required int32 serializerId = 1;
- Specified by:
getSerializerId
in interfaceMessageFormats.PersistentPayloadOrBuilder
-
hasPayload
public boolean hasPayload()
required bytes payload = 2;
- Specified by:
hasPayload
in interfaceMessageFormats.PersistentPayloadOrBuilder
-
getPayload
public akka.protobuf.ByteString getPayload()
required bytes payload = 2;
- Specified by:
getPayload
in interfaceMessageFormats.PersistentPayloadOrBuilder
-
hasPayloadManifest
public boolean hasPayloadManifest()
optional bytes payloadManifest = 3;
- Specified by:
hasPayloadManifest
in interfaceMessageFormats.PersistentPayloadOrBuilder
-
getPayloadManifest
public akka.protobuf.ByteString getPayloadManifest()
optional bytes payloadManifest = 3;
- Specified by:
getPayloadManifest
in interfaceMessageFormats.PersistentPayloadOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobuf.GeneratedMessage
-
writeTo
public void writeTo(akka.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfaceakka.protobuf.MessageLite
- Overrides:
writeTo
in classakka.protobuf.AbstractMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfaceakka.protobuf.MessageLite
- Overrides:
getSerializedSize
in classakka.protobuf.AbstractMessage
-
writeReplace
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
- Overrides:
writeReplace
in classakka.protobuf.GeneratedMessage
- Throws:
java.io.ObjectStreamException
-
parseFrom
public static MessageFormats.PersistentPayload parseFrom(akka.protobuf.ByteString data) throws akka.protobuf.InvalidProtocolBufferException
- Throws:
akka.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MessageFormats.PersistentPayload parseFrom(akka.protobuf.ByteString data, akka.protobuf.ExtensionRegistryLite extensionRegistry) throws akka.protobuf.InvalidProtocolBufferException
- Throws:
akka.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MessageFormats.PersistentPayload parseFrom(byte[] data) throws akka.protobuf.InvalidProtocolBufferException
- Throws:
akka.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MessageFormats.PersistentPayload parseFrom(byte[] data, akka.protobuf.ExtensionRegistryLite extensionRegistry) throws akka.protobuf.InvalidProtocolBufferException
- Throws:
akka.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MessageFormats.PersistentPayload parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MessageFormats.PersistentPayload parseFrom(java.io.InputStream input, akka.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MessageFormats.PersistentPayload parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MessageFormats.PersistentPayload parseDelimitedFrom(java.io.InputStream input, akka.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MessageFormats.PersistentPayload parseFrom(akka.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MessageFormats.PersistentPayload parseFrom(akka.protobuf.CodedInputStream input, akka.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static MessageFormats.PersistentPayload.Builder newBuilder()
-
newBuilderForType
public MessageFormats.PersistentPayload.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfaceakka.protobuf.Message
- Specified by:
newBuilderForType
in interfaceakka.protobuf.MessageLite
-
newBuilder
public static MessageFormats.PersistentPayload.Builder newBuilder(MessageFormats.PersistentPayload prototype)
-
toBuilder
public MessageFormats.PersistentPayload.Builder toBuilder()
- Specified by:
toBuilder
in interfaceakka.protobuf.Message
- Specified by:
toBuilder
in interfaceakka.protobuf.MessageLite
-
newBuilderForType
protected MessageFormats.PersistentPayload.Builder newBuilderForType(akka.protobuf.GeneratedMessage.BuilderParent parent)
- Specified by:
newBuilderForType
in classakka.protobuf.GeneratedMessage
-
-