org.apache.activemq.apollo.broker.store
Class MessagePB.Bean
java.lang.Object
org.apache.activemq.apollo.broker.store.MessagePB.Bean
- All Implemented Interfaces:
- MessagePB.Getter, org.fusesource.hawtbuf.proto.PBMessage<MessagePB.Bean,MessagePB.Buffer>
- Enclosing class:
- MessagePB
public static final class MessagePB.Bean
- extends java.lang.Object
- implements MessagePB.Getter
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
MessagePB.Bean
public MessagePB.Bean()
MessagePB.Bean
public MessagePB.Bean(MessagePB.Bean copy)
copy
public MessagePB.Bean copy()
- Specified by:
copy
in interface MessagePB.Getter
- Specified by:
copy
in interface org.fusesource.hawtbuf.proto.PBMessage<MessagePB.Bean,MessagePB.Buffer>
frozen
public boolean frozen()
- Specified by:
frozen
in interface org.fusesource.hawtbuf.proto.PBMessage<MessagePB.Bean,MessagePB.Buffer>
freeze
public MessagePB.Buffer freeze()
- Specified by:
freeze
in interface MessagePB.Getter
- Specified by:
freeze
in interface org.fusesource.hawtbuf.proto.PBMessage<MessagePB.Bean,MessagePB.Buffer>
hasMessageKey
public boolean hasMessageKey()
- Specified by:
hasMessageKey
in interface MessagePB.Getter
getMessageKey
public long getMessageKey()
- Specified by:
getMessageKey
in interface MessagePB.Getter
setMessageKey
public MessagePB.Bean setMessageKey(long messageKey)
clearMessageKey
public void clearMessageKey()
hasProtocol
public boolean hasProtocol()
- Specified by:
hasProtocol
in interface MessagePB.Getter
getProtocol
public org.fusesource.hawtbuf.AsciiBuffer getProtocol()
- Specified by:
getProtocol
in interface MessagePB.Getter
setProtocol
public MessagePB.Bean setProtocol(org.fusesource.hawtbuf.AsciiBuffer protocol)
clearProtocol
public void clearProtocol()
hasSize
public boolean hasSize()
- Specified by:
hasSize
in interface MessagePB.Getter
getSize
public int getSize()
- Specified by:
getSize
in interface MessagePB.Getter
setSize
public MessagePB.Bean setSize(int size)
clearSize
public void clearSize()
hasValue
public boolean hasValue()
- Specified by:
hasValue
in interface MessagePB.Getter
getValue
public org.fusesource.hawtbuf.Buffer getValue()
- Specified by:
getValue
in interface MessagePB.Getter
setValue
public MessagePB.Bean setValue(org.fusesource.hawtbuf.Buffer value)
clearValue
public void clearValue()
hasExpiration
public boolean hasExpiration()
- Specified by:
hasExpiration
in interface MessagePB.Getter
getExpiration
public long getExpiration()
- Specified by:
getExpiration
in interface MessagePB.Getter
setExpiration
public MessagePB.Bean setExpiration(long expiration)
clearExpiration
public void clearExpiration()
hasZcpData
public boolean hasZcpData()
- Specified by:
hasZcpData
in interface MessagePB.Getter
getZcpData
public org.fusesource.hawtbuf.Buffer getZcpData()
- Specified by:
getZcpData
in interface MessagePB.Getter
setZcpData
public MessagePB.Bean setZcpData(org.fusesource.hawtbuf.Buffer zcpData)
clearZcpData
public void clearZcpData()
hasZcpFile
public boolean hasZcpFile()
- Specified by:
hasZcpFile
in interface MessagePB.Getter
getZcpFile
public int getZcpFile()
- Specified by:
getZcpFile
in interface MessagePB.Getter
setZcpFile
public MessagePB.Bean setZcpFile(int zcpFile)
clearZcpFile
public void clearZcpFile()
hasZcpOffset
public boolean hasZcpOffset()
- Specified by:
hasZcpOffset
in interface MessagePB.Getter
getZcpOffset
public long getZcpOffset()
- Specified by:
getZcpOffset
in interface MessagePB.Getter
setZcpOffset
public MessagePB.Bean setZcpOffset(long zcpOffset)
clearZcpOffset
public void clearZcpOffset()
hasZcpSize
public boolean hasZcpSize()
- Specified by:
hasZcpSize
in interface MessagePB.Getter
getZcpSize
public int getZcpSize()
- Specified by:
getZcpSize
in interface MessagePB.Getter
setZcpSize
public MessagePB.Bean setZcpSize(int zcpSize)
clearZcpSize
public void clearZcpSize()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toString
public java.lang.StringBuilder toString(java.lang.StringBuilder sb,
java.lang.String prefix)
- Specified by:
toString
in interface MessagePB.Getter
mergeUnframed
public MessagePB.Bean mergeUnframed(java.io.InputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
mergeUnframed
public MessagePB.Bean mergeUnframed(org.fusesource.hawtbuf.proto.CodedInputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
equals
public boolean equals(MessagePB.Bean obj)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
mergeFrom
public MessagePB.Bean mergeFrom(MessagePB.Getter other)
clear
public void clear()
readExternal
public void readExternal(java.io.DataInput in)
throws java.io.IOException
- Throws:
java.io.IOException
writeExternal
public void writeExternal(java.io.DataOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.