org.apache.activemq.console.command.store.proto
Class QueueEntryPB.Bean

java.lang.Object
  extended by org.apache.activemq.console.command.store.proto.QueueEntryPB.Bean
All Implemented Interfaces:
QueueEntryPB.Getter, org.fusesource.hawtbuf.proto.PBMessage<QueueEntryPB.Bean,QueueEntryPB.Buffer>
Enclosing class:
QueueEntryPB

public static final class QueueEntryPB.Bean
extends Object
implements QueueEntryPB.Getter


Constructor Summary
QueueEntryPB.Bean()
           
QueueEntryPB.Bean(QueueEntryPB.Bean copy)
           
 
Method Summary
 QueueEntryPB.Bean addAllSender(Iterable<? extends org.fusesource.hawtbuf.Buffer> collection)
           
 QueueEntryPB.Bean addSender(org.fusesource.hawtbuf.Buffer value)
           
 void clear()
           
 void clearAttachment()
           
 void clearExpiration()
           
 void clearMessageKey()
           
 void clearMessageLocator()
           
 void clearQueueKey()
           
 void clearQueueSeq()
           
 void clearRedeliveries()
           
 void clearSender()
           
 void clearSize()
           
 QueueEntryPB.Bean copy()
           
 List<org.fusesource.hawtbuf.Buffer> createSenderList()
           
 boolean equals(Object obj)
           
 boolean equals(QueueEntryPB.Bean obj)
           
 QueueEntryPB.Buffer freeze()
           
 boolean frozen()
           
 org.fusesource.hawtbuf.Buffer getAttachment()
           
 long getExpiration()
           
 long getMessageKey()
           
 org.fusesource.hawtbuf.Buffer getMessageLocator()
           
 long getQueueKey()
           
 long getQueueSeq()
           
 int getRedeliveries()
           
 org.fusesource.hawtbuf.Buffer getSender(int index)
           
 int getSenderCount()
           
 List<org.fusesource.hawtbuf.Buffer> getSenderList()
           
 int getSize()
           
 boolean hasAttachment()
           
 boolean hasExpiration()
           
 int hashCode()
           
 boolean hasMessageKey()
           
 boolean hasMessageLocator()
           
 boolean hasQueueKey()
           
 boolean hasQueueSeq()
           
 boolean hasRedeliveries()
           
 boolean hasSender()
           
 boolean hasSize()
           
 QueueEntryPB.Bean mergeFrom(QueueEntryPB.Getter other)
           
 QueueEntryPB.Bean mergeUnframed(org.fusesource.hawtbuf.proto.CodedInputStream input)
           
 QueueEntryPB.Bean mergeUnframed(InputStream input)
           
 void readExternal(DataInput in)
           
 QueueEntryPB.Bean setAttachment(org.fusesource.hawtbuf.Buffer attachment)
           
 QueueEntryPB.Bean setExpiration(long expiration)
           
 QueueEntryPB.Bean setMessageKey(long messageKey)
           
 QueueEntryPB.Bean setMessageLocator(org.fusesource.hawtbuf.Buffer messageLocator)
           
 QueueEntryPB.Bean setQueueKey(long queueKey)
           
 QueueEntryPB.Bean setQueueSeq(long queueSeq)
           
 QueueEntryPB.Bean setRedeliveries(int redeliveries)
           
 QueueEntryPB.Bean setSender(int index, org.fusesource.hawtbuf.Buffer value)
           
 QueueEntryPB.Bean setSenderList(List<org.fusesource.hawtbuf.Buffer> sender)
           
 QueueEntryPB.Bean setSize(int size)
           
 String toString()
           
 StringBuilder toString(StringBuilder sb, String prefix)
           
 void writeExternal(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueueEntryPB.Bean

public QueueEntryPB.Bean()

QueueEntryPB.Bean

public QueueEntryPB.Bean(QueueEntryPB.Bean copy)
Method Detail

copy

public QueueEntryPB.Bean copy()
Specified by:
copy in interface QueueEntryPB.Getter
Specified by:
copy in interface org.fusesource.hawtbuf.proto.PBMessage<QueueEntryPB.Bean,QueueEntryPB.Buffer>

frozen

public boolean frozen()
Specified by:
frozen in interface org.fusesource.hawtbuf.proto.PBMessage<QueueEntryPB.Bean,QueueEntryPB.Buffer>

freeze

public QueueEntryPB.Buffer freeze()
Specified by:
freeze in interface QueueEntryPB.Getter
Specified by:
freeze in interface org.fusesource.hawtbuf.proto.PBMessage<QueueEntryPB.Bean,QueueEntryPB.Buffer>

hasQueueKey

public boolean hasQueueKey()
Specified by:
hasQueueKey in interface QueueEntryPB.Getter

getQueueKey

public long getQueueKey()
Specified by:
getQueueKey in interface QueueEntryPB.Getter

setQueueKey

public QueueEntryPB.Bean setQueueKey(long queueKey)

clearQueueKey

public void clearQueueKey()

hasQueueSeq

public boolean hasQueueSeq()
Specified by:
hasQueueSeq in interface QueueEntryPB.Getter

getQueueSeq

public long getQueueSeq()
Specified by:
getQueueSeq in interface QueueEntryPB.Getter

setQueueSeq

public QueueEntryPB.Bean setQueueSeq(long queueSeq)

clearQueueSeq

public void clearQueueSeq()

hasMessageKey

public boolean hasMessageKey()
Specified by:
hasMessageKey in interface QueueEntryPB.Getter

getMessageKey

public long getMessageKey()
Specified by:
getMessageKey in interface QueueEntryPB.Getter

setMessageKey

public QueueEntryPB.Bean setMessageKey(long messageKey)

clearMessageKey

public void clearMessageKey()

hasSize

public boolean hasSize()
Specified by:
hasSize in interface QueueEntryPB.Getter

getSize

public int getSize()
Specified by:
getSize in interface QueueEntryPB.Getter

setSize

public QueueEntryPB.Bean setSize(int size)

clearSize

public void clearSize()

hasAttachment

public boolean hasAttachment()
Specified by:
hasAttachment in interface QueueEntryPB.Getter

getAttachment

public org.fusesource.hawtbuf.Buffer getAttachment()
Specified by:
getAttachment in interface QueueEntryPB.Getter

setAttachment

public QueueEntryPB.Bean setAttachment(org.fusesource.hawtbuf.Buffer attachment)

clearAttachment

public void clearAttachment()

hasRedeliveries

public boolean hasRedeliveries()
Specified by:
hasRedeliveries in interface QueueEntryPB.Getter

getRedeliveries

public int getRedeliveries()
Specified by:
getRedeliveries in interface QueueEntryPB.Getter

setRedeliveries

public QueueEntryPB.Bean setRedeliveries(int redeliveries)

clearRedeliveries

public void clearRedeliveries()

hasExpiration

public boolean hasExpiration()
Specified by:
hasExpiration in interface QueueEntryPB.Getter

getExpiration

public long getExpiration()
Specified by:
getExpiration in interface QueueEntryPB.Getter

setExpiration

public QueueEntryPB.Bean setExpiration(long expiration)

clearExpiration

public void clearExpiration()

hasMessageLocator

public boolean hasMessageLocator()
Specified by:
hasMessageLocator in interface QueueEntryPB.Getter

getMessageLocator

public org.fusesource.hawtbuf.Buffer getMessageLocator()
Specified by:
getMessageLocator in interface QueueEntryPB.Getter

setMessageLocator

public QueueEntryPB.Bean setMessageLocator(org.fusesource.hawtbuf.Buffer messageLocator)

clearMessageLocator

public void clearMessageLocator()

hasSender

public boolean hasSender()
Specified by:
hasSender in interface QueueEntryPB.Getter

getSenderList

public List<org.fusesource.hawtbuf.Buffer> getSenderList()
Specified by:
getSenderList in interface QueueEntryPB.Getter

createSenderList

public List<org.fusesource.hawtbuf.Buffer> createSenderList()

setSenderList

public QueueEntryPB.Bean setSenderList(List<org.fusesource.hawtbuf.Buffer> sender)

getSenderCount

public int getSenderCount()
Specified by:
getSenderCount in interface QueueEntryPB.Getter

getSender

public org.fusesource.hawtbuf.Buffer getSender(int index)
Specified by:
getSender in interface QueueEntryPB.Getter

setSender

public QueueEntryPB.Bean setSender(int index,
                                   org.fusesource.hawtbuf.Buffer value)

addSender

public QueueEntryPB.Bean addSender(org.fusesource.hawtbuf.Buffer value)

addAllSender

public QueueEntryPB.Bean addAllSender(Iterable<? extends org.fusesource.hawtbuf.Buffer> collection)

clearSender

public void clearSender()

toString

public String toString()
Overrides:
toString in class Object

toString

public StringBuilder toString(StringBuilder sb,
                              String prefix)
Specified by:
toString in interface QueueEntryPB.Getter

mergeUnframed

public QueueEntryPB.Bean mergeUnframed(InputStream input)
                                throws IOException
Throws:
IOException

mergeUnframed

public QueueEntryPB.Bean mergeUnframed(org.fusesource.hawtbuf.proto.CodedInputStream input)
                                throws IOException
Throws:
IOException

equals

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

equals

public boolean equals(QueueEntryPB.Bean obj)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

mergeFrom

public QueueEntryPB.Bean mergeFrom(QueueEntryPB.Getter other)

clear

public void clear()

readExternal

public void readExternal(DataInput in)
                  throws IOException
Throws:
IOException

writeExternal

public void writeExternal(DataOutput out)
                   throws IOException
Throws:
IOException


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.