akka.persistence.serialization
Class MessageFormats.PersistentPayload.Builder

java.lang.Object
  extended by 
      extended by akka.persistence.serialization.MessageFormats.PersistentPayload.Builder
All Implemented Interfaces:
MessageFormats.PersistentPayloadOrBuilder
Enclosing class:
MessageFormats.PersistentPayload

public static final class MessageFormats.PersistentPayload.Builder
extends
implements MessageFormats.PersistentPayloadOrBuilder

Protobuf type PersistentPayload


Method Summary
 MessageFormats.PersistentPayload build()
           
 MessageFormats.PersistentPayload buildPartial()
           
 MessageFormats.PersistentPayload.Builder clear()
           
 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 com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 com.google.protobuf.ByteString getPayload()
          required bytes payload = 2;
 com.google.protobuf.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  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 MessageFormats.PersistentPayload.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 MessageFormats.PersistentPayload.Builder mergeFrom(com.google.protobuf.Message other)
           
 MessageFormats.PersistentPayload.Builder setPayload(com.google.protobuf.ByteString value)
          required bytes payload = 2;
 MessageFormats.PersistentPayload.Builder setPayloadManifest(com.google.protobuf.ByteString value)
          optional bytes payloadManifest = 3;
 MessageFormats.PersistentPayload.Builder setSerializerId(int value)
          required int32 serializerId = 1;
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()

clear

public MessageFormats.PersistentPayload.Builder clear()

clone

public MessageFormats.PersistentPayload.Builder clone()

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()

getDefaultInstanceForType

public MessageFormats.PersistentPayload getDefaultInstanceForType()

build

public MessageFormats.PersistentPayload build()

buildPartial

public MessageFormats.PersistentPayload buildPartial()

mergeFrom

public MessageFormats.PersistentPayload.Builder mergeFrom(com.google.protobuf.Message other)

isInitialized

public final boolean isInitialized()

mergeFrom

public MessageFormats.PersistentPayload.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws java.io.IOException
Throws:
java.io.IOException

hasSerializerId

public boolean hasSerializerId()
required int32 serializerId = 1;

Specified by:
hasSerializerId in interface MessageFormats.PersistentPayloadOrBuilder

getSerializerId

public int getSerializerId()
required int32 serializerId = 1;

Specified by:
getSerializerId in interface MessageFormats.PersistentPayloadOrBuilder

setSerializerId

public MessageFormats.PersistentPayload.Builder setSerializerId(int value)
required int32 serializerId = 1;


clearSerializerId

public MessageFormats.PersistentPayload.Builder clearSerializerId()
required int32 serializerId = 1;


hasPayload

public boolean hasPayload()
required bytes payload = 2;

Specified by:
hasPayload in interface MessageFormats.PersistentPayloadOrBuilder

getPayload

public com.google.protobuf.ByteString getPayload()
required bytes payload = 2;

Specified by:
getPayload in interface MessageFormats.PersistentPayloadOrBuilder

setPayload

public MessageFormats.PersistentPayload.Builder setPayload(com.google.protobuf.ByteString value)
required bytes payload = 2;


clearPayload

public MessageFormats.PersistentPayload.Builder clearPayload()
required bytes payload = 2;


hasPayloadManifest

public boolean hasPayloadManifest()
optional bytes payloadManifest = 3;

Specified by:
hasPayloadManifest in interface MessageFormats.PersistentPayloadOrBuilder

getPayloadManifest

public com.google.protobuf.ByteString getPayloadManifest()
optional bytes payloadManifest = 3;

Specified by:
getPayloadManifest in interface MessageFormats.PersistentPayloadOrBuilder

setPayloadManifest

public MessageFormats.PersistentPayload.Builder setPayloadManifest(com.google.protobuf.ByteString value)
optional bytes payloadManifest = 3;


clearPayloadManifest

public MessageFormats.PersistentPayload.Builder clearPayloadManifest()
optional bytes payloadManifest = 3;