Package akka.persistence.serialization
Class MessageFormats.PersistentMessage.Builder
- java.lang.Object
-
- akka.protobuf.AbstractMessageLite.Builder<BuilderType>
-
- akka.protobuf.AbstractMessage.Builder<BuilderType>
-
- akka.protobuf.GeneratedMessage.Builder<MessageFormats.PersistentMessage.Builder>
-
- akka.persistence.serialization.MessageFormats.PersistentMessage.Builder
-
- All Implemented Interfaces:
MessageFormats.PersistentMessageOrBuilder
,akka.protobuf.Message.Builder
,akka.protobuf.MessageLite.Builder
,akka.protobuf.MessageLiteOrBuilder
,akka.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- MessageFormats.PersistentMessage
public static final class MessageFormats.PersistentMessage.Builder extends akka.protobuf.GeneratedMessage.Builder<MessageFormats.PersistentMessage.Builder> implements MessageFormats.PersistentMessageOrBuilder
Protobuf typePersistentMessage
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageFormats.PersistentMessage
build()
MessageFormats.PersistentMessage
buildPartial()
MessageFormats.PersistentMessage.Builder
clear()
MessageFormats.PersistentMessage.Builder
clearDeleted()
optional bool deleted = 4;
MessageFormats.PersistentMessage.Builder
clearManifest()
optional string manifest = 12;
MessageFormats.PersistentMessage.Builder
clearPayload()
optional .PersistentPayload payload = 1;
MessageFormats.PersistentMessage.Builder
clearPersistenceId()
optional string persistenceId = 3;
MessageFormats.PersistentMessage.Builder
clearSender()
optional string sender = 11;
MessageFormats.PersistentMessage.Builder
clearSequenceNr()
optional int64 sequenceNr = 2;
MessageFormats.PersistentMessage.Builder
clearTimestamp()
optional sint64 timestamp = 14;
MessageFormats.PersistentMessage.Builder
clearWriterUuid()
optional string writerUuid = 13;
MessageFormats.PersistentMessage.Builder
clone()
MessageFormats.PersistentMessage
getDefaultInstanceForType()
boolean
getDeleted()
optional bool deleted = 4;
static akka.protobuf.Descriptors.Descriptor
getDescriptor()
akka.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getManifest()
optional string manifest = 12;
akka.protobuf.ByteString
getManifestBytes()
optional string manifest = 12;
MessageFormats.PersistentPayload
getPayload()
optional .PersistentPayload payload = 1;
MessageFormats.PersistentPayload.Builder
getPayloadBuilder()
optional .PersistentPayload payload = 1;
MessageFormats.PersistentPayloadOrBuilder
getPayloadOrBuilder()
optional .PersistentPayload payload = 1;
java.lang.String
getPersistenceId()
optional string persistenceId = 3;
akka.protobuf.ByteString
getPersistenceIdBytes()
optional string persistenceId = 3;
java.lang.String
getSender()
optional string sender = 11;
akka.protobuf.ByteString
getSenderBytes()
optional string sender = 11;
long
getSequenceNr()
optional int64 sequenceNr = 2;
long
getTimestamp()
optional sint64 timestamp = 14;
java.lang.String
getWriterUuid()
optional string writerUuid = 13;
akka.protobuf.ByteString
getWriterUuidBytes()
optional string writerUuid = 13;
boolean
hasDeleted()
optional bool deleted = 4;
boolean
hasManifest()
optional string manifest = 12;
boolean
hasPayload()
optional .PersistentPayload payload = 1;
boolean
hasPersistenceId()
optional string persistenceId = 3;
boolean
hasSender()
optional string sender = 11;
boolean
hasSequenceNr()
optional int64 sequenceNr = 2;
boolean
hasTimestamp()
optional sint64 timestamp = 14;
boolean
hasWriterUuid()
optional string writerUuid = 13;
protected akka.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
MessageFormats.PersistentMessage.Builder
mergeFrom(MessageFormats.PersistentMessage other)
MessageFormats.PersistentMessage.Builder
mergeFrom(akka.protobuf.CodedInputStream input, akka.protobuf.ExtensionRegistryLite extensionRegistry)
MessageFormats.PersistentMessage.Builder
mergeFrom(akka.protobuf.Message other)
MessageFormats.PersistentMessage.Builder
mergePayload(MessageFormats.PersistentPayload value)
optional .PersistentPayload payload = 1;
MessageFormats.PersistentMessage.Builder
setDeleted(boolean value)
optional bool deleted = 4;
MessageFormats.PersistentMessage.Builder
setManifest(java.lang.String value)
optional string manifest = 12;
MessageFormats.PersistentMessage.Builder
setManifestBytes(akka.protobuf.ByteString value)
optional string manifest = 12;
MessageFormats.PersistentMessage.Builder
setPayload(MessageFormats.PersistentPayload value)
optional .PersistentPayload payload = 1;
MessageFormats.PersistentMessage.Builder
setPayload(MessageFormats.PersistentPayload.Builder builderForValue)
optional .PersistentPayload payload = 1;
MessageFormats.PersistentMessage.Builder
setPersistenceId(java.lang.String value)
optional string persistenceId = 3;
MessageFormats.PersistentMessage.Builder
setPersistenceIdBytes(akka.protobuf.ByteString value)
optional string persistenceId = 3;
MessageFormats.PersistentMessage.Builder
setSender(java.lang.String value)
optional string sender = 11;
MessageFormats.PersistentMessage.Builder
setSenderBytes(akka.protobuf.ByteString value)
optional string sender = 11;
MessageFormats.PersistentMessage.Builder
setSequenceNr(long value)
optional int64 sequenceNr = 2;
MessageFormats.PersistentMessage.Builder
setTimestamp(long value)
optional sint64 timestamp = 14;
MessageFormats.PersistentMessage.Builder
setWriterUuid(java.lang.String value)
optional string writerUuid = 13;
MessageFormats.PersistentMessage.Builder
setWriterUuidBytes(akka.protobuf.ByteString value)
optional string writerUuid = 13;
-
Methods inherited from class akka.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
-
Methods inherited from class akka.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class akka.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final akka.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected akka.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classakka.protobuf.GeneratedMessage.Builder<MessageFormats.PersistentMessage.Builder>
-
clear
public MessageFormats.PersistentMessage.Builder clear()
- Specified by:
clear
in interfaceakka.protobuf.Message.Builder
- Specified by:
clear
in interfaceakka.protobuf.MessageLite.Builder
- Overrides:
clear
in classakka.protobuf.GeneratedMessage.Builder<MessageFormats.PersistentMessage.Builder>
-
clone
public MessageFormats.PersistentMessage.Builder clone()
- Specified by:
clone
in interfaceakka.protobuf.Message.Builder
- Specified by:
clone
in interfaceakka.protobuf.MessageLite.Builder
- Overrides:
clone
in classakka.protobuf.GeneratedMessage.Builder<MessageFormats.PersistentMessage.Builder>
-
getDescriptorForType
public akka.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceakka.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceakka.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classakka.protobuf.GeneratedMessage.Builder<MessageFormats.PersistentMessage.Builder>
-
getDefaultInstanceForType
public MessageFormats.PersistentMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobuf.MessageOrBuilder
-
build
public MessageFormats.PersistentMessage build()
- Specified by:
build
in interfaceakka.protobuf.Message.Builder
- Specified by:
build
in interfaceakka.protobuf.MessageLite.Builder
-
buildPartial
public MessageFormats.PersistentMessage buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobuf.MessageLite.Builder
-
mergeFrom
public MessageFormats.PersistentMessage.Builder mergeFrom(akka.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceakka.protobuf.Message.Builder
- Overrides:
mergeFrom
in classakka.protobuf.AbstractMessage.Builder<MessageFormats.PersistentMessage.Builder>
-
mergeFrom
public MessageFormats.PersistentMessage.Builder mergeFrom(MessageFormats.PersistentMessage other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobuf.GeneratedMessage.Builder<MessageFormats.PersistentMessage.Builder>
-
mergeFrom
public MessageFormats.PersistentMessage.Builder mergeFrom(akka.protobuf.CodedInputStream input, akka.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfaceakka.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceakka.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classakka.protobuf.AbstractMessage.Builder<MessageFormats.PersistentMessage.Builder>
- Throws:
java.io.IOException
-
hasPayload
public boolean hasPayload()
optional .PersistentPayload payload = 1;
- Specified by:
hasPayload
in interfaceMessageFormats.PersistentMessageOrBuilder
-
getPayload
public MessageFormats.PersistentPayload getPayload()
optional .PersistentPayload payload = 1;
- Specified by:
getPayload
in interfaceMessageFormats.PersistentMessageOrBuilder
-
setPayload
public MessageFormats.PersistentMessage.Builder setPayload(MessageFormats.PersistentPayload value)
optional .PersistentPayload payload = 1;
-
setPayload
public MessageFormats.PersistentMessage.Builder setPayload(MessageFormats.PersistentPayload.Builder builderForValue)
optional .PersistentPayload payload = 1;
-
mergePayload
public MessageFormats.PersistentMessage.Builder mergePayload(MessageFormats.PersistentPayload value)
optional .PersistentPayload payload = 1;
-
clearPayload
public MessageFormats.PersistentMessage.Builder clearPayload()
optional .PersistentPayload payload = 1;
-
getPayloadBuilder
public MessageFormats.PersistentPayload.Builder getPayloadBuilder()
optional .PersistentPayload payload = 1;
-
getPayloadOrBuilder
public MessageFormats.PersistentPayloadOrBuilder getPayloadOrBuilder()
optional .PersistentPayload payload = 1;
- Specified by:
getPayloadOrBuilder
in interfaceMessageFormats.PersistentMessageOrBuilder
-
hasSequenceNr
public boolean hasSequenceNr()
optional int64 sequenceNr = 2;
- Specified by:
hasSequenceNr
in interfaceMessageFormats.PersistentMessageOrBuilder
-
getSequenceNr
public long getSequenceNr()
optional int64 sequenceNr = 2;
- Specified by:
getSequenceNr
in interfaceMessageFormats.PersistentMessageOrBuilder
-
setSequenceNr
public MessageFormats.PersistentMessage.Builder setSequenceNr(long value)
optional int64 sequenceNr = 2;
-
clearSequenceNr
public MessageFormats.PersistentMessage.Builder clearSequenceNr()
optional int64 sequenceNr = 2;
-
hasPersistenceId
public boolean hasPersistenceId()
optional string persistenceId = 3;
- Specified by:
hasPersistenceId
in interfaceMessageFormats.PersistentMessageOrBuilder
-
getPersistenceId
public java.lang.String getPersistenceId()
optional string persistenceId = 3;
- Specified by:
getPersistenceId
in interfaceMessageFormats.PersistentMessageOrBuilder
-
getPersistenceIdBytes
public akka.protobuf.ByteString getPersistenceIdBytes()
optional string persistenceId = 3;
- Specified by:
getPersistenceIdBytes
in interfaceMessageFormats.PersistentMessageOrBuilder
-
setPersistenceId
public MessageFormats.PersistentMessage.Builder setPersistenceId(java.lang.String value)
optional string persistenceId = 3;
-
clearPersistenceId
public MessageFormats.PersistentMessage.Builder clearPersistenceId()
optional string persistenceId = 3;
-
setPersistenceIdBytes
public MessageFormats.PersistentMessage.Builder setPersistenceIdBytes(akka.protobuf.ByteString value)
optional string persistenceId = 3;
-
hasDeleted
public boolean hasDeleted()
optional bool deleted = 4;
not used in new records from 2.4
- Specified by:
hasDeleted
in interfaceMessageFormats.PersistentMessageOrBuilder
-
getDeleted
public boolean getDeleted()
optional bool deleted = 4;
not used in new records from 2.4
- Specified by:
getDeleted
in interfaceMessageFormats.PersistentMessageOrBuilder
-
setDeleted
public MessageFormats.PersistentMessage.Builder setDeleted(boolean value)
optional bool deleted = 4;
not used in new records from 2.4
-
clearDeleted
public MessageFormats.PersistentMessage.Builder clearDeleted()
optional bool deleted = 4;
not used in new records from 2.4
-
hasSender
public boolean hasSender()
optional string sender = 11;
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
- Specified by:
hasSender
in interfaceMessageFormats.PersistentMessageOrBuilder
-
getSender
public java.lang.String getSender()
optional string sender = 11;
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
- Specified by:
getSender
in interfaceMessageFormats.PersistentMessageOrBuilder
-
getSenderBytes
public akka.protobuf.ByteString getSenderBytes()
optional string sender = 11;
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
- Specified by:
getSenderBytes
in interfaceMessageFormats.PersistentMessageOrBuilder
-
setSender
public MessageFormats.PersistentMessage.Builder setSender(java.lang.String value)
optional string sender = 11;
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
-
clearSender
public MessageFormats.PersistentMessage.Builder clearSender()
optional string sender = 11;
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
-
setSenderBytes
public MessageFormats.PersistentMessage.Builder setSenderBytes(akka.protobuf.ByteString value)
optional string sender = 11;
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
-
hasManifest
public boolean hasManifest()
optional string manifest = 12;
- Specified by:
hasManifest
in interfaceMessageFormats.PersistentMessageOrBuilder
-
getManifest
public java.lang.String getManifest()
optional string manifest = 12;
- Specified by:
getManifest
in interfaceMessageFormats.PersistentMessageOrBuilder
-
getManifestBytes
public akka.protobuf.ByteString getManifestBytes()
optional string manifest = 12;
- Specified by:
getManifestBytes
in interfaceMessageFormats.PersistentMessageOrBuilder
-
setManifest
public MessageFormats.PersistentMessage.Builder setManifest(java.lang.String value)
optional string manifest = 12;
-
clearManifest
public MessageFormats.PersistentMessage.Builder clearManifest()
optional string manifest = 12;
-
setManifestBytes
public MessageFormats.PersistentMessage.Builder setManifestBytes(akka.protobuf.ByteString value)
optional string manifest = 12;
-
hasWriterUuid
public boolean hasWriterUuid()
optional string writerUuid = 13;
- Specified by:
hasWriterUuid
in interfaceMessageFormats.PersistentMessageOrBuilder
-
getWriterUuid
public java.lang.String getWriterUuid()
optional string writerUuid = 13;
- Specified by:
getWriterUuid
in interfaceMessageFormats.PersistentMessageOrBuilder
-
getWriterUuidBytes
public akka.protobuf.ByteString getWriterUuidBytes()
optional string writerUuid = 13;
- Specified by:
getWriterUuidBytes
in interfaceMessageFormats.PersistentMessageOrBuilder
-
setWriterUuid
public MessageFormats.PersistentMessage.Builder setWriterUuid(java.lang.String value)
optional string writerUuid = 13;
-
clearWriterUuid
public MessageFormats.PersistentMessage.Builder clearWriterUuid()
optional string writerUuid = 13;
-
setWriterUuidBytes
public MessageFormats.PersistentMessage.Builder setWriterUuidBytes(akka.protobuf.ByteString value)
optional string writerUuid = 13;
-
hasTimestamp
public boolean hasTimestamp()
optional sint64 timestamp = 14;
- Specified by:
hasTimestamp
in interfaceMessageFormats.PersistentMessageOrBuilder
-
getTimestamp
public long getTimestamp()
optional sint64 timestamp = 14;
- Specified by:
getTimestamp
in interfaceMessageFormats.PersistentMessageOrBuilder
-
setTimestamp
public MessageFormats.PersistentMessage.Builder setTimestamp(long value)
optional sint64 timestamp = 14;
-
clearTimestamp
public MessageFormats.PersistentMessage.Builder clearTimestamp()
optional sint64 timestamp = 14;
-
-