Class KahaDestination
- java.lang.Object
-
- org.apache.activemq.protobuf.BaseMessage<T>
-
- 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
Nested Classes Modifier and Type Class Description static class
KahaDestination.DestinationType
-
Constructor Summary
Constructors Constructor Description KahaDestination()
-
Method Summary
-
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
-
-
-
-
Method Detail
-
missingFields
public ArrayList<String> missingFields()
- Overrides:
missingFields
in classorg.apache.activemq.protobuf.BaseMessage<KahaDestination>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.activemq.protobuf.Message<KahaDestination>
- Overrides:
clear
in classorg.apache.activemq.protobuf.BaseMessage<KahaDestination>
-
clone
public KahaDestination clone()
- Specified by:
clone
in interfaceorg.apache.activemq.protobuf.Message<KahaDestination>
- Specified by:
clone
in classorg.apache.activemq.protobuf.BaseMessage<KahaDestination>
-
mergeFrom
public KahaDestination mergeFrom(KahaDestination other)
- Specified by:
mergeFrom
in interfaceorg.apache.activemq.protobuf.Message<KahaDestination>
- Overrides:
mergeFrom
in classorg.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 interfaceorg.apache.activemq.protobuf.Message<KahaDestination>
- Overrides:
writeUnframed
in classorg.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 StringBuilder toString(StringBuilder sb, String prefix)
-
equals
public boolean equals(KahaDestination obj)
-
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()
-
-