akka.remote
Class WireFormats.AkkaProtocolMessage.Builder

java.lang.Object
  extended by 
      extended by akka.remote.WireFormats.AkkaProtocolMessage.Builder
All Implemented Interfaces:
WireFormats.AkkaProtocolMessageOrBuilder
Enclosing class:
WireFormats.AkkaProtocolMessage

public static final class WireFormats.AkkaProtocolMessage.Builder
extends
implements WireFormats.AkkaProtocolMessageOrBuilder

Protobuf type AkkaProtocolMessage


 Message format of Akka Protocol.
 Message contains either a payload or an instruction.
 


Method Summary
 WireFormats.AkkaProtocolMessage build()
           
 WireFormats.AkkaProtocolMessage buildPartial()
           
 WireFormats.AkkaProtocolMessage.Builder clear()
           
 WireFormats.AkkaProtocolMessage.Builder clearInstruction()
          optional .AkkaControlMessage instruction = 2;
 WireFormats.AkkaProtocolMessage.Builder clearPayload()
          optional bytes payload = 1;
 WireFormats.AkkaProtocolMessage.Builder clone()
           
 WireFormats.AkkaProtocolMessage getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 WireFormats.AkkaControlMessage getInstruction()
          optional .AkkaControlMessage instruction = 2;
 WireFormats.AkkaControlMessage.Builder getInstructionBuilder()
          optional .AkkaControlMessage instruction = 2;
 WireFormats.AkkaControlMessageOrBuilder getInstructionOrBuilder()
          optional .AkkaControlMessage instruction = 2;
 com.google.protobuf.ByteString getPayload()
          optional bytes payload = 1;
 boolean hasInstruction()
          optional .AkkaControlMessage instruction = 2;
 boolean hasPayload()
          optional bytes payload = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 WireFormats.AkkaProtocolMessage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 WireFormats.AkkaProtocolMessage.Builder mergeFrom(com.google.protobuf.Message other)
           
 WireFormats.AkkaProtocolMessage.Builder mergeInstruction(WireFormats.AkkaControlMessage value)
          optional .AkkaControlMessage instruction = 2;
 WireFormats.AkkaProtocolMessage.Builder setInstruction(WireFormats.AkkaControlMessage.Builder builderForValue)
          optional .AkkaControlMessage instruction = 2;
 WireFormats.AkkaProtocolMessage.Builder setInstruction(WireFormats.AkkaControlMessage value)
          optional .AkkaControlMessage instruction = 2;
 WireFormats.AkkaProtocolMessage.Builder setPayload(com.google.protobuf.ByteString value)
          optional bytes payload = 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 WireFormats.AkkaProtocolMessage.Builder clear()

clone

public WireFormats.AkkaProtocolMessage.Builder clone()

getDescriptorForType

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

getDefaultInstanceForType

public WireFormats.AkkaProtocolMessage getDefaultInstanceForType()

build

public WireFormats.AkkaProtocolMessage build()

buildPartial

public WireFormats.AkkaProtocolMessage buildPartial()

mergeFrom

public WireFormats.AkkaProtocolMessage.Builder mergeFrom(com.google.protobuf.Message other)

isInitialized

public final boolean isInitialized()

mergeFrom

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

hasPayload

public boolean hasPayload()
optional bytes payload = 1;

Specified by:
hasPayload in interface WireFormats.AkkaProtocolMessageOrBuilder

getPayload

public com.google.protobuf.ByteString getPayload()
optional bytes payload = 1;

Specified by:
getPayload in interface WireFormats.AkkaProtocolMessageOrBuilder

setPayload

public WireFormats.AkkaProtocolMessage.Builder setPayload(com.google.protobuf.ByteString value)
optional bytes payload = 1;


clearPayload

public WireFormats.AkkaProtocolMessage.Builder clearPayload()
optional bytes payload = 1;


hasInstruction

public boolean hasInstruction()
optional .AkkaControlMessage instruction = 2;

Specified by:
hasInstruction in interface WireFormats.AkkaProtocolMessageOrBuilder

getInstruction

public WireFormats.AkkaControlMessage getInstruction()
optional .AkkaControlMessage instruction = 2;

Specified by:
getInstruction in interface WireFormats.AkkaProtocolMessageOrBuilder

setInstruction

public WireFormats.AkkaProtocolMessage.Builder setInstruction(WireFormats.AkkaControlMessage value)
optional .AkkaControlMessage instruction = 2;


setInstruction

public WireFormats.AkkaProtocolMessage.Builder setInstruction(WireFormats.AkkaControlMessage.Builder builderForValue)
optional .AkkaControlMessage instruction = 2;


mergeInstruction

public WireFormats.AkkaProtocolMessage.Builder mergeInstruction(WireFormats.AkkaControlMessage value)
optional .AkkaControlMessage instruction = 2;


clearInstruction

public WireFormats.AkkaProtocolMessage.Builder clearInstruction()
optional .AkkaControlMessage instruction = 2;


getInstructionBuilder

public WireFormats.AkkaControlMessage.Builder getInstructionBuilder()
optional .AkkaControlMessage instruction = 2;


getInstructionOrBuilder

public WireFormats.AkkaControlMessageOrBuilder getInstructionOrBuilder()
optional .AkkaControlMessage instruction = 2;

Specified by:
getInstructionOrBuilder in interface WireFormats.AkkaProtocolMessageOrBuilder