public static final class QueueEntryPB.Bean extends Object implements QueueEntryPB.Getter
| Constructor and Description |
|---|
QueueEntryPB.Bean() |
QueueEntryPB.Bean(QueueEntryPB.Bean copy) |
public QueueEntryPB.Bean()
public QueueEntryPB.Bean(QueueEntryPB.Bean copy)
public QueueEntryPB.Bean copy()
copy in interface QueueEntryPB.Gettercopy in interface org.fusesource.hawtbuf.proto.PBMessage<QueueEntryPB.Bean,QueueEntryPB.Buffer>public boolean frozen()
frozen in interface org.fusesource.hawtbuf.proto.PBMessage<QueueEntryPB.Bean,QueueEntryPB.Buffer>public QueueEntryPB.Buffer freeze()
freeze in interface QueueEntryPB.Getterfreeze in interface org.fusesource.hawtbuf.proto.PBMessage<QueueEntryPB.Bean,QueueEntryPB.Buffer>public boolean hasQueueKey()
hasQueueKey in interface QueueEntryPB.Getterpublic long getQueueKey()
getQueueKey in interface QueueEntryPB.Getterpublic QueueEntryPB.Bean setQueueKey(long queueKey)
public void clearQueueKey()
public boolean hasQueueSeq()
hasQueueSeq in interface QueueEntryPB.Getterpublic long getQueueSeq()
getQueueSeq in interface QueueEntryPB.Getterpublic QueueEntryPB.Bean setQueueSeq(long queueSeq)
public void clearQueueSeq()
public boolean hasMessageKey()
hasMessageKey in interface QueueEntryPB.Getterpublic long getMessageKey()
getMessageKey in interface QueueEntryPB.Getterpublic QueueEntryPB.Bean setMessageKey(long messageKey)
public void clearMessageKey()
public boolean hasSize()
hasSize in interface QueueEntryPB.Getterpublic int getSize()
getSize in interface QueueEntryPB.Getterpublic QueueEntryPB.Bean setSize(int size)
public void clearSize()
public boolean hasAttachment()
hasAttachment in interface QueueEntryPB.Getterpublic org.fusesource.hawtbuf.Buffer getAttachment()
getAttachment in interface QueueEntryPB.Getterpublic QueueEntryPB.Bean setAttachment(org.fusesource.hawtbuf.Buffer attachment)
public void clearAttachment()
public boolean hasRedeliveries()
hasRedeliveries in interface QueueEntryPB.Getterpublic int getRedeliveries()
getRedeliveries in interface QueueEntryPB.Getterpublic QueueEntryPB.Bean setRedeliveries(int redeliveries)
public void clearRedeliveries()
public boolean hasExpiration()
hasExpiration in interface QueueEntryPB.Getterpublic long getExpiration()
getExpiration in interface QueueEntryPB.Getterpublic QueueEntryPB.Bean setExpiration(long expiration)
public void clearExpiration()
public boolean hasMessageLocator()
hasMessageLocator in interface QueueEntryPB.Getterpublic org.fusesource.hawtbuf.Buffer getMessageLocator()
getMessageLocator in interface QueueEntryPB.Getterpublic QueueEntryPB.Bean setMessageLocator(org.fusesource.hawtbuf.Buffer messageLocator)
public void clearMessageLocator()
public boolean hasSender()
hasSender in interface QueueEntryPB.Getterpublic List<org.fusesource.hawtbuf.Buffer> getSenderList()
getSenderList in interface QueueEntryPB.Getterpublic List<org.fusesource.hawtbuf.Buffer> createSenderList()
public QueueEntryPB.Bean setSenderList(List<org.fusesource.hawtbuf.Buffer> sender)
public int getSenderCount()
getSenderCount in interface QueueEntryPB.Getterpublic org.fusesource.hawtbuf.Buffer getSender(int index)
getSender in interface QueueEntryPB.Getterpublic QueueEntryPB.Bean setSender(int index, org.fusesource.hawtbuf.Buffer value)
public QueueEntryPB.Bean addSender(org.fusesource.hawtbuf.Buffer value)
public QueueEntryPB.Bean addAllSender(Iterable<? extends org.fusesource.hawtbuf.Buffer> collection)
public void clearSender()
public StringBuilder toString(StringBuilder sb, String prefix)
toString in interface QueueEntryPB.Getterpublic QueueEntryPB.Bean mergeUnframed(InputStream input) throws IOException
IOExceptionpublic QueueEntryPB.Bean mergeUnframed(org.fusesource.hawtbuf.proto.CodedInputStream input) throws IOException
IOExceptionpublic boolean equals(QueueEntryPB.Bean obj)
public QueueEntryPB.Bean mergeFrom(QueueEntryPB.Getter other)
public void clear()
public void readExternal(DataInput in) throws IOException
IOExceptionpublic void writeExternal(DataOutput out) throws IOException
IOExceptionCopyright © 2005–2018 FuseSource, Corp.. All rights reserved.