Package akka.persistence.serialization
Class MessageFormats.PersistentPayload.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
- akka.persistence.serialization.MessageFormats.PersistentPayload.Builder
-
- All Implemented Interfaces:
MessageFormats.PersistentPayloadOrBuilder
,akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- MessageFormats.PersistentPayload
public static final class MessageFormats.PersistentPayload.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder> implements MessageFormats.PersistentPayloadOrBuilder
Protobuf typePersistentPayload
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageFormats.PersistentPayload.Builder
addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
MessageFormats.PersistentPayload
build()
MessageFormats.PersistentPayload
buildPartial()
MessageFormats.PersistentPayload.Builder
clear()
MessageFormats.PersistentPayload.Builder
clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
MessageFormats.PersistentPayload.Builder
clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
MessageFormats.PersistentPayload.Builder
clearPayload()
required bytes payload = 2;
MessageFormats.PersistentPayload.Builder
clearPayloadManifest()
optional bytes payloadManifest = 3;
MessageFormats.PersistentPayload.Builder
clearSerializerId()
required int32 serializerId = 1;
MessageFormats.PersistentPayload.Builder
clone()
MessageFormats.PersistentPayload
getDefaultInstanceForType()
static akka.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
akka.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
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;
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
MessageFormats.PersistentPayload.Builder
mergeFrom(MessageFormats.PersistentPayload other)
MessageFormats.PersistentPayload.Builder
mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
MessageFormats.PersistentPayload.Builder
mergeFrom(akka.protobufv3.internal.Message other)
MessageFormats.PersistentPayload.Builder
mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
MessageFormats.PersistentPayload.Builder
setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
MessageFormats.PersistentPayload.Builder
setPayload(akka.protobufv3.internal.ByteString value)
required bytes payload = 2;
MessageFormats.PersistentPayload.Builder
setPayloadManifest(akka.protobufv3.internal.ByteString value)
optional bytes payloadManifest = 3;
MessageFormats.PersistentPayload.Builder
setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
MessageFormats.PersistentPayload.Builder
setSerializerId(int value)
required int32 serializerId = 1;
MessageFormats.PersistentPayload.Builder
setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
-
Methods inherited from class akka.protobufv3.internal.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class akka.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class akka.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<MessageFormats.PersistentPayload.Builder>
-
clear
public MessageFormats.PersistentPayload.Builder clear()
- Specified by:
clear
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clear
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clear
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
getDescriptorForType
public akka.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
- Overrides:
getDescriptorForType
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
getDefaultInstanceForType
public MessageFormats.PersistentPayload getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public MessageFormats.PersistentPayload build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public MessageFormats.PersistentPayload buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public MessageFormats.PersistentPayload.Builder clone()
- Specified by:
clone
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clone
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clone
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
setField
public MessageFormats.PersistentPayload.Builder setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
clearField
public MessageFormats.PersistentPayload.Builder clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
clearOneof
public MessageFormats.PersistentPayload.Builder clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearOneof
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
setRepeatedField
public MessageFormats.PersistentPayload.Builder setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
addRepeatedField
public MessageFormats.PersistentPayload.Builder addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
addRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
mergeFrom
public MessageFormats.PersistentPayload.Builder mergeFrom(akka.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<MessageFormats.PersistentPayload.Builder>
-
mergeFrom
public MessageFormats.PersistentPayload.Builder mergeFrom(MessageFormats.PersistentPayload other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
mergeFrom
public MessageFormats.PersistentPayload.Builder mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<MessageFormats.PersistentPayload.Builder>
- Throws:
java.io.IOException
-
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.
-
setSerializerId
public MessageFormats.PersistentPayload.Builder setSerializerId(int value)
required int32 serializerId = 1;
- Parameters:
value
- The serializerId to set.- Returns:
- This builder for chaining.
-
clearSerializerId
public MessageFormats.PersistentPayload.Builder clearSerializerId()
required int32 serializerId = 1;
- Returns:
- This builder for chaining.
-
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.
-
setPayload
public MessageFormats.PersistentPayload.Builder setPayload(akka.protobufv3.internal.ByteString value)
required bytes payload = 2;
- Parameters:
value
- The payload to set.- Returns:
- This builder for chaining.
-
clearPayload
public MessageFormats.PersistentPayload.Builder clearPayload()
required bytes payload = 2;
- Returns:
- This builder for chaining.
-
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.
-
setPayloadManifest
public MessageFormats.PersistentPayload.Builder setPayloadManifest(akka.protobufv3.internal.ByteString value)
optional bytes payloadManifest = 3;
- Parameters:
value
- The payloadManifest to set.- Returns:
- This builder for chaining.
-
clearPayloadManifest
public MessageFormats.PersistentPayload.Builder clearPayloadManifest()
optional bytes payloadManifest = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final MessageFormats.PersistentPayload.Builder setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
mergeUnknownFields
public final MessageFormats.PersistentPayload.Builder mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
-