Class KahaXATransactionId
- java.lang.Object
-
- org.apache.activemq.protobuf.BaseMessage<T>
-
- org.apache.activemq.store.kahadb.data.KahaXATransactionId
-
- All Implemented Interfaces:
org.apache.activemq.protobuf.Message<KahaXATransactionId>
public final class KahaXATransactionId extends org.apache.activemq.protobuf.BaseMessage<T>
-
-
Constructor Summary
Constructors Constructor Description KahaXATransactionId()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
void
clearBranchQualifier()
void
clearFormatId()
void
clearGlobalTransactionId()
KahaXATransactionId
clone()
boolean
equals(Object obj)
boolean
equals(KahaXATransactionId obj)
org.apache.activemq.protobuf.Buffer
getBranchQualifier()
int
getFormatId()
org.apache.activemq.protobuf.Buffer
getGlobalTransactionId()
boolean
hasBranchQualifier()
boolean
hasFormatId()
boolean
hasGlobalTransactionId()
int
hashCode()
KahaXATransactionId
mergeFrom(KahaXATransactionId other)
KahaXATransactionId
mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input)
ArrayList<String>
missingFields()
static KahaXATransactionId
parseFramed(byte[] data)
static KahaXATransactionId
parseFramed(InputStream data)
static KahaXATransactionId
parseFramed(org.apache.activemq.protobuf.Buffer data)
static KahaXATransactionId
parseFramed(org.apache.activemq.protobuf.CodedInputStream data)
static KahaXATransactionId
parseUnframed(byte[] data)
static KahaXATransactionId
parseUnframed(InputStream data)
static KahaXATransactionId
parseUnframed(org.apache.activemq.protobuf.Buffer data)
static KahaXATransactionId
parseUnframed(org.apache.activemq.protobuf.CodedInputStream data)
int
serializedSizeUnframed()
T
setBranchQualifier(org.apache.activemq.protobuf.Buffer branchQualifier)
T
setFormatId(int formatId)
T
setGlobalTransactionId(org.apache.activemq.protobuf.Buffer globalTransactionId)
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<KahaXATransactionId>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.activemq.protobuf.Message<KahaXATransactionId>
- Overrides:
clear
in classorg.apache.activemq.protobuf.BaseMessage<KahaXATransactionId>
-
clone
public KahaXATransactionId clone()
- Specified by:
clone
in interfaceorg.apache.activemq.protobuf.Message<KahaXATransactionId>
- Specified by:
clone
in classorg.apache.activemq.protobuf.BaseMessage<KahaXATransactionId>
-
mergeFrom
public KahaXATransactionId mergeFrom(KahaXATransactionId other)
- Specified by:
mergeFrom
in interfaceorg.apache.activemq.protobuf.Message<KahaXATransactionId>
- Overrides:
mergeFrom
in classorg.apache.activemq.protobuf.BaseMessage<KahaXATransactionId>
-
serializedSizeUnframed
public int serializedSizeUnframed()
-
mergeUnframed
public KahaXATransactionId 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<KahaXATransactionId>
- Overrides:
writeUnframed
in classorg.apache.activemq.protobuf.BaseMessage<KahaXATransactionId>
- Throws:
IOException
-
parseUnframed
public static KahaXATransactionId parseUnframed(org.apache.activemq.protobuf.CodedInputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException
-
parseUnframed
public static KahaXATransactionId parseUnframed(org.apache.activemq.protobuf.Buffer data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseUnframed
public static KahaXATransactionId parseUnframed(byte[] data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseUnframed
public static KahaXATransactionId parseUnframed(InputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException
-
parseFramed
public static KahaXATransactionId parseFramed(org.apache.activemq.protobuf.CodedInputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException
-
parseFramed
public static KahaXATransactionId parseFramed(org.apache.activemq.protobuf.Buffer data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseFramed
public static KahaXATransactionId parseFramed(byte[] data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseFramed
public static KahaXATransactionId 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(KahaXATransactionId obj)
-
hasFormatId
public boolean hasFormatId()
-
getFormatId
public int getFormatId()
-
setFormatId
public T setFormatId(int formatId)
-
clearFormatId
public void clearFormatId()
-
hasBranchQualifier
public boolean hasBranchQualifier()
-
getBranchQualifier
public org.apache.activemq.protobuf.Buffer getBranchQualifier()
-
setBranchQualifier
public T setBranchQualifier(org.apache.activemq.protobuf.Buffer branchQualifier)
-
clearBranchQualifier
public void clearBranchQualifier()
-
hasGlobalTransactionId
public boolean hasGlobalTransactionId()
-
getGlobalTransactionId
public org.apache.activemq.protobuf.Buffer getGlobalTransactionId()
-
setGlobalTransactionId
public T setGlobalTransactionId(org.apache.activemq.protobuf.Buffer globalTransactionId)
-
clearGlobalTransactionId
public void clearGlobalTransactionId()
-
-