org.apache.activemq.store.kahadb.data
Class KahaDestination

java.lang.Object
  extended by org.apache.activemq.protobuf.BaseMessage<T>
      extended by org.apache.activemq.store.kahadb.data.KahaDestination
All Implemented Interfaces:
org.apache.activemq.protobuf.Message<KahaDestination>

public final class KahaDestination
extends org.apache.activemq.protobuf.BaseMessage<T>


Nested Class Summary
static class KahaDestination.DestinationType
           
 
Field Summary
 
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize
 
Constructor Summary
KahaDestination()
           
 
Method Summary
 void clear()
           
 void clearName()
           
 void clearType()
           
 KahaDestination clone()
           
 boolean equals(KahaDestination obj)
           
 boolean equals(Object obj)
           
 String getName()
           
 KahaDestination.DestinationType getType()
           
 int hashCode()
           
 boolean hasName()
           
 boolean hasType()
           
 KahaDestination mergeFrom(KahaDestination other)
           
 KahaDestination mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input)
           
 ArrayList<String> missingFields()
           
static KahaDestination parseFramed(org.apache.activemq.protobuf.Buffer data)
           
static KahaDestination parseFramed(byte[] data)
           
static KahaDestination parseFramed(org.apache.activemq.protobuf.CodedInputStream data)
           
static KahaDestination parseFramed(InputStream data)
           
static KahaDestination parseUnframed(org.apache.activemq.protobuf.Buffer data)
           
static KahaDestination parseUnframed(byte[] data)
           
static KahaDestination parseUnframed(org.apache.activemq.protobuf.CodedInputStream data)
           
static KahaDestination parseUnframed(InputStream data)
           
 int serializedSizeUnframed()
           
 T setName(String name)
           
 T setType(KahaDestination.DestinationType type)
           
 String toString()
           
 StringBuilder toString(StringBuilder sb, String prefix)
           
 void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output)
           
 
Methods inherited from class org.apache.activemq.protobuf.BaseMessage
addAll, assertInitialized, checktInitialized, computeGroupSize, computeMessageSize, isInitialized, load, loadAndClear, mergeFramed, mergeFramed, mergeFramed, mergeFramed, mergeUnframed, mergeUnframed, mergeUnframed, prefix, readGroup, readRawByte, readRawVarint32, serializedSizeFramed, toFramedBuffer, toFramedByteArray, toUnframedBuffer, toUnframedByteArray, writeFramed, writeFramed, writeGroup, writeMessage, writeUnframed
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KahaDestination

public KahaDestination()
Method Detail

missingFields

public ArrayList<String> missingFields()
Overrides:
missingFields in class org.apache.activemq.protobuf.BaseMessage<KahaDestination>

clear

public void clear()
Specified by:
clear in interface org.apache.activemq.protobuf.Message<KahaDestination>
Overrides:
clear in class org.apache.activemq.protobuf.BaseMessage<KahaDestination>

clone

public KahaDestination clone()
Specified by:
clone in interface org.apache.activemq.protobuf.Message<KahaDestination>
Specified by:
clone in class org.apache.activemq.protobuf.BaseMessage<KahaDestination>

mergeFrom

public KahaDestination mergeFrom(KahaDestination other)
Specified by:
mergeFrom in interface org.apache.activemq.protobuf.Message<KahaDestination>
Overrides:
mergeFrom in class org.apache.activemq.protobuf.BaseMessage<KahaDestination>

serializedSizeUnframed

public int serializedSizeUnframed()

mergeUnframed

public KahaDestination mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input)
                              throws IOException
Throws:
IOException

writeUnframed

public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output)
                   throws IOException
Specified by:
writeUnframed in interface org.apache.activemq.protobuf.Message<KahaDestination>
Overrides:
writeUnframed in class org.apache.activemq.protobuf.BaseMessage<KahaDestination>
Throws:
IOException

parseUnframed

public static KahaDestination parseUnframed(org.apache.activemq.protobuf.CodedInputStream data)
                                     throws org.apache.activemq.protobuf.InvalidProtocolBufferException,
                                            IOException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException

parseUnframed

public static KahaDestination parseUnframed(org.apache.activemq.protobuf.Buffer data)
                                     throws org.apache.activemq.protobuf.InvalidProtocolBufferException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException

parseUnframed

public static KahaDestination parseUnframed(byte[] data)
                                     throws org.apache.activemq.protobuf.InvalidProtocolBufferException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException

parseUnframed

public static KahaDestination parseUnframed(InputStream data)
                                     throws org.apache.activemq.protobuf.InvalidProtocolBufferException,
                                            IOException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException

parseFramed

public static KahaDestination parseFramed(org.apache.activemq.protobuf.CodedInputStream data)
                                   throws org.apache.activemq.protobuf.InvalidProtocolBufferException,
                                          IOException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException

parseFramed

public static KahaDestination parseFramed(org.apache.activemq.protobuf.Buffer data)
                                   throws org.apache.activemq.protobuf.InvalidProtocolBufferException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException

parseFramed

public static KahaDestination parseFramed(byte[] data)
                                   throws org.apache.activemq.protobuf.InvalidProtocolBufferException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException

parseFramed

public static KahaDestination parseFramed(InputStream data)
                                   throws org.apache.activemq.protobuf.InvalidProtocolBufferException,
                                          IOException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException

toString

public String toString()
Overrides:
toString in class Object

toString

public StringBuilder toString(StringBuilder sb,
                              String prefix)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

equals

public boolean equals(KahaDestination obj)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

hasType

public boolean hasType()

getType

public KahaDestination.DestinationType getType()

setType

public T setType(KahaDestination.DestinationType type)

clearType

public void clearType()

hasName

public boolean hasName()

getName

public String getName()

setName

public T setName(String name)

clearName

public void clearName()


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.