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 classMessageFormats.PersistentPayload.BuilderProtobuf 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>PARSERstatic intPAYLOAD_FIELD_NUMBERstatic intPAYLOADMANIFEST_FIELD_NUMBERstatic intSERIALIZERID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessageFormats.PersistentPayloadgetDefaultInstance()MessageFormats.PersistentPayloadgetDefaultInstanceForType()static akka.protobuf.Descriptors.DescriptorgetDescriptor()akka.protobuf.Parser<MessageFormats.PersistentPayload>getParserForType()akka.protobuf.ByteStringgetPayload()required bytes payload = 2;akka.protobuf.ByteStringgetPayloadManifest()optional bytes payloadManifest = 3;intgetSerializedSize()intgetSerializerId()required int32 serializerId = 1;akka.protobuf.UnknownFieldSetgetUnknownFields()booleanhasPayload()required bytes payload = 2;booleanhasPayloadManifest()optional bytes payloadManifest = 3;booleanhasSerializerId()required int32 serializerId = 1;protected akka.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static MessageFormats.PersistentPayload.BuildernewBuilder()static MessageFormats.PersistentPayload.BuildernewBuilder(MessageFormats.PersistentPayload prototype)MessageFormats.PersistentPayload.BuildernewBuilderForType()protected MessageFormats.PersistentPayload.BuildernewBuilderForType(akka.protobuf.GeneratedMessage.BuilderParent parent)static MessageFormats.PersistentPayloadparseDelimitedFrom(java.io.InputStream input)static MessageFormats.PersistentPayloadparseDelimitedFrom(java.io.InputStream input, akka.protobuf.ExtensionRegistryLite extensionRegistry)static MessageFormats.PersistentPayloadparseFrom(byte[] data)static MessageFormats.PersistentPayloadparseFrom(byte[] data, akka.protobuf.ExtensionRegistryLite extensionRegistry)static MessageFormats.PersistentPayloadparseFrom(akka.protobuf.ByteString data)static MessageFormats.PersistentPayloadparseFrom(akka.protobuf.ByteString data, akka.protobuf.ExtensionRegistryLite extensionRegistry)static MessageFormats.PersistentPayloadparseFrom(akka.protobuf.CodedInputStream input)static MessageFormats.PersistentPayloadparseFrom(akka.protobuf.CodedInputStream input, akka.protobuf.ExtensionRegistryLite extensionRegistry)static MessageFormats.PersistentPayloadparseFrom(java.io.InputStream input)static MessageFormats.PersistentPayloadparseFrom(java.io.InputStream input, akka.protobuf.ExtensionRegistryLite extensionRegistry)MessageFormats.PersistentPayload.BuildertoBuilder()protected java.lang.ObjectwriteReplace()voidwriteTo(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:
getDefaultInstanceForTypein interfaceakka.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceakka.protobuf.MessageOrBuilder
-
getUnknownFields
public final akka.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfaceakka.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classakka.protobuf.GeneratedMessage
-
getDescriptor
public static final akka.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected akka.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classakka.protobuf.GeneratedMessage
-
getParserForType
public akka.protobuf.Parser<MessageFormats.PersistentPayload> getParserForType()
- Specified by:
getParserForTypein interfaceakka.protobuf.Message- Specified by:
getParserForTypein interfaceakka.protobuf.MessageLite- Overrides:
getParserForTypein classakka.protobuf.GeneratedMessage
-
hasSerializerId
public boolean hasSerializerId()
required int32 serializerId = 1;- Specified by:
hasSerializerIdin interfaceMessageFormats.PersistentPayloadOrBuilder
-
getSerializerId
public int getSerializerId()
required int32 serializerId = 1;- Specified by:
getSerializerIdin interfaceMessageFormats.PersistentPayloadOrBuilder
-
hasPayload
public boolean hasPayload()
required bytes payload = 2;- Specified by:
hasPayloadin interfaceMessageFormats.PersistentPayloadOrBuilder
-
getPayload
public akka.protobuf.ByteString getPayload()
required bytes payload = 2;- Specified by:
getPayloadin interfaceMessageFormats.PersistentPayloadOrBuilder
-
hasPayloadManifest
public boolean hasPayloadManifest()
optional bytes payloadManifest = 3;- Specified by:
hasPayloadManifestin interfaceMessageFormats.PersistentPayloadOrBuilder
-
getPayloadManifest
public akka.protobuf.ByteString getPayloadManifest()
optional bytes payloadManifest = 3;- Specified by:
getPayloadManifestin interfaceMessageFormats.PersistentPayloadOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceakka.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classakka.protobuf.GeneratedMessage
-
writeTo
public void writeTo(akka.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfaceakka.protobuf.MessageLite- Overrides:
writeToin classakka.protobuf.AbstractMessage- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfaceakka.protobuf.MessageLite- Overrides:
getSerializedSizein classakka.protobuf.AbstractMessage
-
writeReplace
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException- Overrides:
writeReplacein 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:
newBuilderForTypein interfaceakka.protobuf.Message- Specified by:
newBuilderForTypein interfaceakka.protobuf.MessageLite
-
newBuilder
public static MessageFormats.PersistentPayload.Builder newBuilder(MessageFormats.PersistentPayload prototype)
-
toBuilder
public MessageFormats.PersistentPayload.Builder toBuilder()
- Specified by:
toBuilderin interfaceakka.protobuf.Message- Specified by:
toBuilderin interfaceakka.protobuf.MessageLite
-
newBuilderForType
protected MessageFormats.PersistentPayload.Builder newBuilderForType(akka.protobuf.GeneratedMessage.BuilderParent parent)
- Specified by:
newBuilderForTypein classakka.protobuf.GeneratedMessage
-
-