org.apache.activemq.protobuf
Class DeferredUnmarshal.Foo

java.lang.Object
  extended by org.apache.activemq.protobuf.BaseMessage<T>
      extended by org.apache.activemq.protobuf.DeferredDecodeMessage<T>
          extended by org.apache.activemq.protobuf.DeferredUnmarshal.Foo
All Implemented Interfaces:
Message<DeferredUnmarshal.Foo>
Enclosing class:
DeferredUnmarshal

public static final class DeferredUnmarshal.Foo
extends DeferredDecodeMessage<T>


Field Summary
 
Fields inherited from class org.apache.activemq.protobuf.DeferredDecodeMessage
decoded, encodedForm
 
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize
 
Constructor Summary
DeferredUnmarshal.Foo()
           
 
Method Summary
 void clear()
           
 void clearField1()
           
 void clearField2()
           
 DeferredUnmarshal.Foo clone()
           
 boolean equals(DeferredUnmarshal.Foo obj)
           
 boolean equals(Object obj)
           
 int getField1()
           
 long getField2()
           
 boolean hasField1()
           
 boolean hasField2()
           
 int hashCode()
           
 DeferredUnmarshal.Foo mergeFrom(DeferredUnmarshal.Foo other)
           
 DeferredUnmarshal.Foo mergeUnframed(CodedInputStream input)
           
 ArrayList<String> missingFields()
           
static DeferredUnmarshal.Foo parseFramed(Buffer data)
           
static DeferredUnmarshal.Foo parseFramed(byte[] data)
           
static DeferredUnmarshal.Foo parseFramed(CodedInputStream data)
           
static DeferredUnmarshal.Foo parseFramed(InputStream data)
           
static DeferredUnmarshal.Foo parseUnframed(Buffer data)
           
static DeferredUnmarshal.Foo parseUnframed(byte[] data)
           
static DeferredUnmarshal.Foo parseUnframed(CodedInputStream data)
           
static DeferredUnmarshal.Foo parseUnframed(InputStream data)
           
 int serializedSizeUnframed()
           
 T setField1(int field1)
           
 T setField2(long field2)
           
 String toString()
           
 StringBuilder toString(StringBuilder sb, String prefix)
           
 void writeUnframed(CodedOutputStream output)
           
 
Methods inherited from class org.apache.activemq.protobuf.DeferredDecodeMessage
isDecoded, isEncoded, load, loadAndClear, mergeFramed, mergeUnframed, toUnframedBuffer
 
Methods inherited from class org.apache.activemq.protobuf.BaseMessage
addAll, assertInitialized, checktInitialized, computeGroupSize, computeMessageSize, isInitialized, mergeFramed, mergeFramed, mergeFramed, mergeUnframed, mergeUnframed, prefix, readGroup, readRawByte, readRawVarint32, serializedSizeFramed, toFramedBuffer, toFramedByteArray, toUnframedByteArray, writeFramed, writeFramed, writeGroup, writeMessage, writeUnframed
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeferredUnmarshal.Foo

public DeferredUnmarshal.Foo()
Method Detail

missingFields

public ArrayList<String> missingFields()
Overrides:
missingFields in class BaseMessage<DeferredUnmarshal.Foo>

clear

public void clear()
Specified by:
clear in interface Message<DeferredUnmarshal.Foo>
Overrides:
clear in class DeferredDecodeMessage<DeferredUnmarshal.Foo>

clone

public DeferredUnmarshal.Foo clone()
Specified by:
clone in interface Message<DeferredUnmarshal.Foo>
Specified by:
clone in class BaseMessage<DeferredUnmarshal.Foo>

mergeFrom

public DeferredUnmarshal.Foo mergeFrom(DeferredUnmarshal.Foo other)
Specified by:
mergeFrom in interface Message<DeferredUnmarshal.Foo>
Overrides:
mergeFrom in class BaseMessage<DeferredUnmarshal.Foo>

serializedSizeUnframed

public int serializedSizeUnframed()

mergeUnframed

public DeferredUnmarshal.Foo mergeUnframed(CodedInputStream input)
                                    throws IOException
Throws:
IOException

writeUnframed

public void writeUnframed(CodedOutputStream output)
                   throws IOException
Specified by:
writeUnframed in interface Message<DeferredUnmarshal.Foo>
Overrides:
writeUnframed in class BaseMessage<DeferredUnmarshal.Foo>
Throws:
IOException

parseUnframed

public static DeferredUnmarshal.Foo parseUnframed(CodedInputStream data)
                                           throws InvalidProtocolBufferException,
                                                  IOException
Throws:
InvalidProtocolBufferException
IOException

parseUnframed

public static DeferredUnmarshal.Foo parseUnframed(Buffer data)
                                           throws InvalidProtocolBufferException
Throws:
InvalidProtocolBufferException

parseUnframed

public static DeferredUnmarshal.Foo parseUnframed(byte[] data)
                                           throws InvalidProtocolBufferException
Throws:
InvalidProtocolBufferException

parseUnframed

public static DeferredUnmarshal.Foo parseUnframed(InputStream data)
                                           throws InvalidProtocolBufferException,
                                                  IOException
Throws:
InvalidProtocolBufferException
IOException

parseFramed

public static DeferredUnmarshal.Foo parseFramed(CodedInputStream data)
                                         throws InvalidProtocolBufferException,
                                                IOException
Throws:
InvalidProtocolBufferException
IOException

parseFramed

public static DeferredUnmarshal.Foo parseFramed(Buffer data)
                                         throws InvalidProtocolBufferException
Throws:
InvalidProtocolBufferException

parseFramed

public static DeferredUnmarshal.Foo parseFramed(byte[] data)
                                         throws InvalidProtocolBufferException
Throws:
InvalidProtocolBufferException

parseFramed

public static DeferredUnmarshal.Foo parseFramed(InputStream data)
                                         throws InvalidProtocolBufferException,
                                                IOException
Throws:
InvalidProtocolBufferException
IOException

toString

public String toString()
Overrides:
toString in class Object

toString

public StringBuilder toString(StringBuilder sb,
                              String prefix)

equals

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

equals

public boolean equals(DeferredUnmarshal.Foo obj)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

hasField1

public boolean hasField1()

getField1

public int getField1()

setField1

public T setField1(int field1)

clearField1

public void clearField1()

hasField2

public boolean hasField2()

getField2

public long getField2()

setField2

public T setField2(long field2)

clearField2

public void clearField2()


Copyright © 2009 FuseSource. All Rights Reserved.