Class KahaLocation
- java.lang.Object
-
- org.apache.activemq.protobuf.BaseMessage<T>
-
- org.apache.activemq.store.kahadb.data.KahaLocation
-
- All Implemented Interfaces:
org.apache.activemq.protobuf.Message<KahaLocation>
public final class KahaLocation extends org.apache.activemq.protobuf.BaseMessage<T>
-
-
Constructor Summary
Constructors Constructor Description KahaLocation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
void
clearLogId()
void
clearOffset()
KahaLocation
clone()
boolean
equals(Object obj)
boolean
equals(KahaLocation obj)
int
getLogId()
int
getOffset()
int
hashCode()
boolean
hasLogId()
boolean
hasOffset()
KahaLocation
mergeFrom(KahaLocation other)
KahaLocation
mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input)
ArrayList<String>
missingFields()
static KahaLocation
parseFramed(byte[] data)
static KahaLocation
parseFramed(InputStream data)
static KahaLocation
parseFramed(org.apache.activemq.protobuf.Buffer data)
static KahaLocation
parseFramed(org.apache.activemq.protobuf.CodedInputStream data)
static KahaLocation
parseUnframed(byte[] data)
static KahaLocation
parseUnframed(InputStream data)
static KahaLocation
parseUnframed(org.apache.activemq.protobuf.Buffer data)
static KahaLocation
parseUnframed(org.apache.activemq.protobuf.CodedInputStream data)
int
serializedSizeUnframed()
T
setLogId(int logId)
T
setOffset(int offset)
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
-
-
-
-
Method Detail
-
missingFields
public ArrayList<String> missingFields()
- Overrides:
missingFields
in classorg.apache.activemq.protobuf.BaseMessage<KahaLocation>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.activemq.protobuf.Message<KahaLocation>
- Overrides:
clear
in classorg.apache.activemq.protobuf.BaseMessage<KahaLocation>
-
clone
public KahaLocation clone()
- Specified by:
clone
in interfaceorg.apache.activemq.protobuf.Message<KahaLocation>
- Specified by:
clone
in classorg.apache.activemq.protobuf.BaseMessage<KahaLocation>
-
mergeFrom
public KahaLocation mergeFrom(KahaLocation other)
- Specified by:
mergeFrom
in interfaceorg.apache.activemq.protobuf.Message<KahaLocation>
- Overrides:
mergeFrom
in classorg.apache.activemq.protobuf.BaseMessage<KahaLocation>
-
serializedSizeUnframed
public int serializedSizeUnframed()
-
mergeUnframed
public KahaLocation 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<KahaLocation>
- Overrides:
writeUnframed
in classorg.apache.activemq.protobuf.BaseMessage<KahaLocation>
- Throws:
IOException
-
parseUnframed
public static KahaLocation parseUnframed(org.apache.activemq.protobuf.CodedInputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException
-
parseUnframed
public static KahaLocation parseUnframed(org.apache.activemq.protobuf.Buffer data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseUnframed
public static KahaLocation parseUnframed(byte[] data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseUnframed
public static KahaLocation parseUnframed(InputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException
-
parseFramed
public static KahaLocation parseFramed(org.apache.activemq.protobuf.CodedInputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException
-
parseFramed
public static KahaLocation parseFramed(org.apache.activemq.protobuf.Buffer data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseFramed
public static KahaLocation parseFramed(byte[] data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseFramed
public static KahaLocation 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(KahaLocation obj)
-
hasLogId
public boolean hasLogId()
-
getLogId
public int getLogId()
-
setLogId
public T setLogId(int logId)
-
clearLogId
public void clearLogId()
-
hasOffset
public boolean hasOffset()
-
getOffset
public int getOffset()
-
setOffset
public T setOffset(int offset)
-
clearOffset
public void clearOffset()
-
-