org.apache.activemq.console.command.store.proto
Class MessagePB.Bean
java.lang.Object
org.apache.activemq.console.command.store.proto.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 Object
- implements MessagePB.Getter
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()
hasCodec
public boolean hasCodec()
- Specified by:
hasCodec in interface MessagePB.Getter
getCodec
public org.fusesource.hawtbuf.AsciiBuffer getCodec()
- Specified by:
getCodec in interface MessagePB.Getter
setCodec
public MessagePB.Bean setCodec(org.fusesource.hawtbuf.AsciiBuffer codec)
clearCodec
public void clearCodec()
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()
hasCompression
public boolean hasCompression()
- Specified by:
hasCompression in interface MessagePB.Getter
getCompression
public int getCompression()
- Specified by:
getCompression in interface MessagePB.Getter
setCompression
public MessagePB.Bean setCompression(int compression)
clearCompression
public void clearCompression()
hasDirectData
public boolean hasDirectData()
- Specified by:
hasDirectData in interface MessagePB.Getter
getDirectData
public org.fusesource.hawtbuf.Buffer getDirectData()
- Specified by:
getDirectData in interface MessagePB.Getter
setDirectData
public MessagePB.Bean setDirectData(org.fusesource.hawtbuf.Buffer directData)
clearDirectData
public void clearDirectData()
hasDirectFile
public boolean hasDirectFile()
- Specified by:
hasDirectFile in interface MessagePB.Getter
getDirectFile
public org.fusesource.hawtbuf.Buffer getDirectFile()
- Specified by:
getDirectFile in interface MessagePB.Getter
setDirectFile
public MessagePB.Bean setDirectFile(org.fusesource.hawtbuf.Buffer directFile)
clearDirectFile
public void clearDirectFile()
hasDirectOffset
public boolean hasDirectOffset()
- Specified by:
hasDirectOffset in interface MessagePB.Getter
getDirectOffset
public long getDirectOffset()
- Specified by:
getDirectOffset in interface MessagePB.Getter
setDirectOffset
public MessagePB.Bean setDirectOffset(long directOffset)
clearDirectOffset
public void clearDirectOffset()
hasDirectSize
public boolean hasDirectSize()
- Specified by:
hasDirectSize in interface MessagePB.Getter
getDirectSize
public int getDirectSize()
- Specified by:
getDirectSize in interface MessagePB.Getter
setDirectSize
public MessagePB.Bean setDirectSize(int directSize)
clearDirectSize
public void clearDirectSize()
toString
public String toString()
- Overrides:
toString in class Object
toString
public StringBuilder toString(StringBuilder sb,
String prefix)
- Specified by:
toString in interface MessagePB.Getter
mergeUnframed
public MessagePB.Bean mergeUnframed(InputStream input)
throws IOException
- Throws:
IOException
mergeUnframed
public MessagePB.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(MessagePB.Bean obj)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
mergeFrom
public MessagePB.Bean mergeFrom(MessagePB.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.