public static final class QueueEntryPB.Bean extends Object implements QueueEntryPB.Getter
Constructor and Description |
---|
Bean() |
Bean(QueueEntryPB.Bean copy) |
public Bean()
public Bean(QueueEntryPB.Bean copy)
public QueueEntryPB.Bean copy()
copy
in interface QueueEntryPB.Getter
copy
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.Getter
freeze
in interface org.fusesource.hawtbuf.proto.PBMessage<QueueEntryPB.Bean,QueueEntryPB.Buffer>
public boolean hasQueueKey()
hasQueueKey
in interface QueueEntryPB.Getter
public long getQueueKey()
getQueueKey
in interface QueueEntryPB.Getter
public QueueEntryPB.Bean setQueueKey(long queueKey)
public void clearQueueKey()
public boolean hasQueueSeq()
hasQueueSeq
in interface QueueEntryPB.Getter
public long getQueueSeq()
getQueueSeq
in interface QueueEntryPB.Getter
public QueueEntryPB.Bean setQueueSeq(long queueSeq)
public void clearQueueSeq()
public boolean hasMessageKey()
hasMessageKey
in interface QueueEntryPB.Getter
public long getMessageKey()
getMessageKey
in interface QueueEntryPB.Getter
public QueueEntryPB.Bean setMessageKey(long messageKey)
public void clearMessageKey()
public boolean hasSize()
hasSize
in interface QueueEntryPB.Getter
public int getSize()
getSize
in interface QueueEntryPB.Getter
public QueueEntryPB.Bean setSize(int size)
public void clearSize()
public boolean hasAttachment()
hasAttachment
in interface QueueEntryPB.Getter
public org.fusesource.hawtbuf.Buffer getAttachment()
getAttachment
in interface QueueEntryPB.Getter
public QueueEntryPB.Bean setAttachment(org.fusesource.hawtbuf.Buffer attachment)
public void clearAttachment()
public boolean hasRedeliveries()
hasRedeliveries
in interface QueueEntryPB.Getter
public int getRedeliveries()
getRedeliveries
in interface QueueEntryPB.Getter
public QueueEntryPB.Bean setRedeliveries(int redeliveries)
public void clearRedeliveries()
public boolean hasExpiration()
hasExpiration
in interface QueueEntryPB.Getter
public long getExpiration()
getExpiration
in interface QueueEntryPB.Getter
public QueueEntryPB.Bean setExpiration(long expiration)
public void clearExpiration()
public boolean hasMessageLocator()
hasMessageLocator
in interface QueueEntryPB.Getter
public org.fusesource.hawtbuf.Buffer getMessageLocator()
getMessageLocator
in interface QueueEntryPB.Getter
public QueueEntryPB.Bean setMessageLocator(org.fusesource.hawtbuf.Buffer messageLocator)
public void clearMessageLocator()
public boolean hasSender()
hasSender
in interface QueueEntryPB.Getter
public List<org.fusesource.hawtbuf.Buffer> getSenderList()
getSenderList
in interface QueueEntryPB.Getter
public List<org.fusesource.hawtbuf.Buffer> createSenderList()
public QueueEntryPB.Bean setSenderList(List<org.fusesource.hawtbuf.Buffer> sender)
public int getSenderCount()
getSenderCount
in interface QueueEntryPB.Getter
public org.fusesource.hawtbuf.Buffer getSender(int index)
getSender
in interface QueueEntryPB.Getter
public 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.Getter
public QueueEntryPB.Bean mergeUnframed(InputStream input) throws IOException
IOException
public QueueEntryPB.Bean mergeUnframed(org.fusesource.hawtbuf.proto.CodedInputStream input) throws IOException
IOException
public boolean equals(QueueEntryPB.Bean obj)
public QueueEntryPB.Bean mergeFrom(QueueEntryPB.Getter other)
public void clear()
public void readExternal(DataInput in) throws IOException
IOException
public void writeExternal(DataOutput out) throws IOException
IOException
Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.