org.apache.activemq.console.command.store.proto
Class MapEntryPB.Buffer

java.lang.Object
  extended by org.apache.activemq.console.command.store.proto.MapEntryPB.Buffer
All Implemented Interfaces:
MapEntryPB.Getter, org.fusesource.hawtbuf.proto.MessageBuffer<MapEntryPB.Bean,MapEntryPB.Buffer>, org.fusesource.hawtbuf.proto.PBMessage<MapEntryPB.Bean,MapEntryPB.Buffer>
Enclosing class:
MapEntryPB

public static final class MapEntryPB.Buffer
extends Object
implements org.fusesource.hawtbuf.proto.MessageBuffer<MapEntryPB.Bean,MapEntryPB.Buffer>, MapEntryPB.Getter


Method Summary
 MapEntryPB.Bean copy()
           
 boolean equals(MapEntryPB.Buffer obj)
           
 boolean equals(Object obj)
           
 MapEntryPB.Buffer freeze()
           
 boolean frozen()
           
 org.fusesource.hawtbuf.Buffer getKey()
           
 org.fusesource.hawtbuf.Buffer getValue()
           
 int hashCode()
           
 boolean hasKey()
           
 boolean hasValue()
           
 int serializedSizeFramed()
           
 int serializedSizeUnframed()
           
 org.fusesource.hawtbuf.Buffer toFramedBuffer()
           
 byte[] toFramedByteArray()
           
 String toString()
           
 StringBuilder toString(StringBuilder sb, String prefix)
           
 org.fusesource.hawtbuf.Buffer toUnframedBuffer()
           
 byte[] toUnframedByteArray()
           
 void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
           
 void writeFramed(OutputStream output)
           
 void writeUnframed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
           
 void writeUnframed(OutputStream output)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

copy

public MapEntryPB.Bean copy()
Specified by:
copy in interface MapEntryPB.Getter
Specified by:
copy in interface org.fusesource.hawtbuf.proto.PBMessage<MapEntryPB.Bean,MapEntryPB.Buffer>

freeze

public MapEntryPB.Buffer freeze()
Specified by:
freeze in interface MapEntryPB.Getter
Specified by:
freeze in interface org.fusesource.hawtbuf.proto.PBMessage<MapEntryPB.Bean,MapEntryPB.Buffer>

toString

public String toString()
Overrides:
toString in class Object

toString

public StringBuilder toString(StringBuilder sb,
                              String prefix)
Specified by:
toString in interface MapEntryPB.Getter

hasKey

public boolean hasKey()
Specified by:
hasKey in interface MapEntryPB.Getter

getKey

public org.fusesource.hawtbuf.Buffer getKey()
Specified by:
getKey in interface MapEntryPB.Getter

hasValue

public boolean hasValue()
Specified by:
hasValue in interface MapEntryPB.Getter

getValue

public org.fusesource.hawtbuf.Buffer getValue()
Specified by:
getValue in interface MapEntryPB.Getter

toUnframedBuffer

public org.fusesource.hawtbuf.Buffer toUnframedBuffer()
Specified by:
toUnframedBuffer in interface org.fusesource.hawtbuf.proto.MessageBuffer<MapEntryPB.Bean,MapEntryPB.Buffer>

toFramedBuffer

public org.fusesource.hawtbuf.Buffer toFramedBuffer()
Specified by:
toFramedBuffer in interface org.fusesource.hawtbuf.proto.MessageBuffer<MapEntryPB.Bean,MapEntryPB.Buffer>

toUnframedByteArray

public byte[] toUnframedByteArray()
Specified by:
toUnframedByteArray in interface org.fusesource.hawtbuf.proto.MessageBuffer<MapEntryPB.Bean,MapEntryPB.Buffer>

toFramedByteArray

public byte[] toFramedByteArray()
Specified by:
toFramedByteArray in interface org.fusesource.hawtbuf.proto.MessageBuffer<MapEntryPB.Bean,MapEntryPB.Buffer>

writeFramed

public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
                 throws IOException
Specified by:
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<MapEntryPB.Bean,MapEntryPB.Buffer>
Throws:
IOException

writeFramed

public void writeFramed(OutputStream output)
                 throws IOException
Specified by:
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<MapEntryPB.Bean,MapEntryPB.Buffer>
Throws:
IOException

writeUnframed

public void writeUnframed(OutputStream output)
                   throws IOException
Specified by:
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<MapEntryPB.Bean,MapEntryPB.Buffer>
Throws:
IOException

writeUnframed

public void writeUnframed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
                   throws IOException
Specified by:
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<MapEntryPB.Bean,MapEntryPB.Buffer>
Throws:
IOException

serializedSizeFramed

public int serializedSizeFramed()
Specified by:
serializedSizeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<MapEntryPB.Bean,MapEntryPB.Buffer>

serializedSizeUnframed

public int serializedSizeUnframed()
Specified by:
serializedSizeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<MapEntryPB.Bean,MapEntryPB.Buffer>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

equals

public boolean equals(MapEntryPB.Buffer obj)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

frozen

public boolean frozen()
Specified by:
frozen in interface org.fusesource.hawtbuf.proto.PBMessage<MapEntryPB.Bean,MapEntryPB.Buffer>


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.