Package akka.persistence.serialization
Class MessageFormats.PersistentPayload
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite
-
- akka.protobufv3.internal.AbstractMessage
-
- akka.protobufv3.internal.GeneratedMessageV3
-
- akka.persistence.serialization.MessageFormats.PersistentPayload
-
- All Implemented Interfaces:
MessageFormats.PersistentPayloadOrBuilder
,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.PersistentPayload extends akka.protobufv3.internal.GeneratedMessageV3 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.protobufv3.internal.GeneratedMessageV3
akka.protobufv3.internal.GeneratedMessageV3.BuilderParent, akka.protobufv3.internal.GeneratedMessageV3.ExtendableBuilder<MessageType extends akka.protobufv3.internal.GeneratedMessageV3.ExtendableMessage,BuilderType extends akka.protobufv3.internal.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, akka.protobufv3.internal.GeneratedMessageV3.ExtendableMessage<MessageType extends akka.protobufv3.internal.GeneratedMessageV3.ExtendableMessage>, akka.protobufv3.internal.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends akka.protobufv3.internal.GeneratedMessageV3.ExtendableMessage>, akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable, akka.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static akka.protobufv3.internal.Parser<MessageFormats.PersistentPayload>
PARSER
Deprecated.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 boolean
equals(java.lang.Object obj)
static MessageFormats.PersistentPayload
getDefaultInstance()
MessageFormats.PersistentPayload
getDefaultInstanceForType()
static akka.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
akka.protobufv3.internal.Parser<MessageFormats.PersistentPayload>
getParserForType()
akka.protobufv3.internal.ByteString
getPayload()
required bytes payload = 2;
akka.protobufv3.internal.ByteString
getPayloadManifest()
optional bytes payloadManifest = 3;
int
getSerializedSize()
int
getSerializerId()
required int32 serializerId = 1;
akka.protobufv3.internal.UnknownFieldSet
getUnknownFields()
int
hashCode()
boolean
hasPayload()
required bytes payload = 2;
boolean
hasPayloadManifest()
optional bytes payloadManifest = 3;
boolean
hasSerializerId()
required int32 serializerId = 1;
protected akka.protobufv3.internal.GeneratedMessageV3.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.protobufv3.internal.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(akka.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused)
static MessageFormats.PersistentPayload
parseDelimitedFrom(java.io.InputStream input)
static MessageFormats.PersistentPayload
parseDelimitedFrom(java.io.InputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static MessageFormats.PersistentPayload
parseFrom(byte[] data)
static MessageFormats.PersistentPayload
parseFrom(byte[] data, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static MessageFormats.PersistentPayload
parseFrom(akka.protobufv3.internal.ByteString data)
static MessageFormats.PersistentPayload
parseFrom(akka.protobufv3.internal.ByteString data, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static MessageFormats.PersistentPayload
parseFrom(akka.protobufv3.internal.CodedInputStream input)
static MessageFormats.PersistentPayload
parseFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static MessageFormats.PersistentPayload
parseFrom(java.io.InputStream input)
static MessageFormats.PersistentPayload
parseFrom(java.io.InputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static MessageFormats.PersistentPayload
parseFrom(java.nio.ByteBuffer data)
static MessageFormats.PersistentPayload
parseFrom(java.nio.ByteBuffer data, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static akka.protobufv3.internal.Parser<MessageFormats.PersistentPayload>
parser()
MessageFormats.PersistentPayload.Builder
toBuilder()
void
writeTo(akka.protobufv3.internal.CodedOutputStream output)
-
Methods inherited from class akka.protobufv3.internal.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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
-
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
-
PARSER
@Deprecated public static final akka.protobufv3.internal.Parser<MessageFormats.PersistentPayload> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(akka.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classakka.protobufv3.internal.GeneratedMessageV3
-
getUnknownFields
public final akka.protobufv3.internal.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfaceakka.protobufv3.internal.MessageOrBuilder
- Overrides:
getUnknownFields
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
-
hasSerializerId
public boolean hasSerializerId()
required int32 serializerId = 1;
- Specified by:
hasSerializerId
in interfaceMessageFormats.PersistentPayloadOrBuilder
- Returns:
- Whether the serializerId field is set.
-
getSerializerId
public int getSerializerId()
required int32 serializerId = 1;
- Specified by:
getSerializerId
in interfaceMessageFormats.PersistentPayloadOrBuilder
- Returns:
- The serializerId.
-
hasPayload
public boolean hasPayload()
required bytes payload = 2;
- Specified by:
hasPayload
in interfaceMessageFormats.PersistentPayloadOrBuilder
- Returns:
- Whether the payload field is set.
-
getPayload
public akka.protobufv3.internal.ByteString getPayload()
required bytes payload = 2;
- Specified by:
getPayload
in interfaceMessageFormats.PersistentPayloadOrBuilder
- Returns:
- The payload.
-
hasPayloadManifest
public boolean hasPayloadManifest()
optional bytes payloadManifest = 3;
- Specified by:
hasPayloadManifest
in interfaceMessageFormats.PersistentPayloadOrBuilder
- Returns:
- Whether the payloadManifest field is set.
-
getPayloadManifest
public akka.protobufv3.internal.ByteString getPayloadManifest()
optional bytes payloadManifest = 3;
- Specified by:
getPayloadManifest
in interfaceMessageFormats.PersistentPayloadOrBuilder
- Returns:
- The payloadManifest.
-
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.PersistentPayload parseFrom(java.nio.ByteBuffer data) throws akka.protobufv3.internal.InvalidProtocolBufferException
- Throws:
akka.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static MessageFormats.PersistentPayload parseFrom(java.nio.ByteBuffer data, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws akka.protobufv3.internal.InvalidProtocolBufferException
- Throws:
akka.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static MessageFormats.PersistentPayload parseFrom(akka.protobufv3.internal.ByteString data) throws akka.protobufv3.internal.InvalidProtocolBufferException
- Throws:
akka.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static MessageFormats.PersistentPayload 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.PersistentPayload parseFrom(byte[] data) throws akka.protobufv3.internal.InvalidProtocolBufferException
- Throws:
akka.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static MessageFormats.PersistentPayload parseFrom(byte[] data, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws akka.protobufv3.internal.InvalidProtocolBufferException
- Throws:
akka.protobufv3.internal.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.protobufv3.internal.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.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MessageFormats.PersistentPayload parseFrom(akka.protobufv3.internal.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MessageFormats.PersistentPayload parseFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public MessageFormats.PersistentPayload.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfaceakka.protobufv3.internal.Message
- Specified by:
newBuilderForType
in interfaceakka.protobufv3.internal.MessageLite
-
newBuilder
public static MessageFormats.PersistentPayload.Builder newBuilder()
-
newBuilder
public static MessageFormats.PersistentPayload.Builder newBuilder(MessageFormats.PersistentPayload prototype)
-
toBuilder
public MessageFormats.PersistentPayload.Builder toBuilder()
- Specified by:
toBuilder
in interfaceakka.protobufv3.internal.Message
- Specified by:
toBuilder
in interfaceakka.protobufv3.internal.MessageLite
-
newBuilderForType
protected MessageFormats.PersistentPayload.Builder newBuilderForType(akka.protobufv3.internal.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classakka.protobufv3.internal.GeneratedMessageV3
-
getDefaultInstance
public static MessageFormats.PersistentPayload getDefaultInstance()
-
parser
public static akka.protobufv3.internal.Parser<MessageFormats.PersistentPayload> parser()
-
getParserForType
public akka.protobufv3.internal.Parser<MessageFormats.PersistentPayload> 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.PersistentPayload getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
-