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

java.lang.Object
  extended by 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


Constructor Summary
MessagePB.Bean()
           
MessagePB.Bean(MessagePB.Bean copy)
           
 
Method Summary
 void clear()
           
 void clearCodec()
           
 void clearCompression()
           
 void clearDirectData()
           
 void clearDirectFile()
           
 void clearDirectOffset()
           
 void clearDirectSize()
           
 void clearExpiration()
           
 void clearMessageKey()
           
 void clearSize()
           
 void clearValue()
           
 MessagePB.Bean copy()
           
 boolean equals(MessagePB.Bean obj)
           
 boolean equals(Object obj)
           
 MessagePB.Buffer freeze()
           
 boolean frozen()
           
 org.fusesource.hawtbuf.AsciiBuffer getCodec()
           
 int getCompression()
           
 org.fusesource.hawtbuf.Buffer getDirectData()
           
 org.fusesource.hawtbuf.Buffer getDirectFile()
           
 long getDirectOffset()
           
 int getDirectSize()
           
 long getExpiration()
           
 long getMessageKey()
           
 int getSize()
           
 org.fusesource.hawtbuf.Buffer getValue()
           
 boolean hasCodec()
           
 boolean hasCompression()
           
 boolean hasDirectData()
           
 boolean hasDirectFile()
           
 boolean hasDirectOffset()
           
 boolean hasDirectSize()
           
 boolean hasExpiration()
           
 int hashCode()
           
 boolean hasMessageKey()
           
 boolean hasSize()
           
 boolean hasValue()
           
 MessagePB.Bean mergeFrom(MessagePB.Getter other)
           
 MessagePB.Bean mergeUnframed(org.fusesource.hawtbuf.proto.CodedInputStream input)
           
 MessagePB.Bean mergeUnframed(InputStream input)
           
 void readExternal(DataInput in)
           
 MessagePB.Bean setCodec(org.fusesource.hawtbuf.AsciiBuffer codec)
           
 MessagePB.Bean setCompression(int compression)
           
 MessagePB.Bean setDirectData(org.fusesource.hawtbuf.Buffer directData)
           
 MessagePB.Bean setDirectFile(org.fusesource.hawtbuf.Buffer directFile)
           
 MessagePB.Bean setDirectOffset(long directOffset)
           
 MessagePB.Bean setDirectSize(int directSize)
           
 MessagePB.Bean setExpiration(long expiration)
           
 MessagePB.Bean setMessageKey(long messageKey)
           
 MessagePB.Bean setSize(int size)
           
 MessagePB.Bean setValue(org.fusesource.hawtbuf.Buffer value)
           
 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

MessagePB.Bean

public MessagePB.Bean()

MessagePB.Bean

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

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.