protobuf_unittest
Class UnittestProto.ForeignMessage

java.lang.Object
  extended by org.apache.activemq.protobuf.BaseMessage<T>
      extended by protobuf_unittest.UnittestProto.ForeignMessage
All Implemented Interfaces:
Message<UnittestProto.ForeignMessage>
Enclosing class:
UnittestProto

public static final class UnittestProto.ForeignMessage
extends BaseMessage<T>


Field Summary
 
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize
 
Constructor Summary
UnittestProto.ForeignMessage()
           
 
Method Summary
 void clear()
           
 void clearC()
           
 UnittestProto.ForeignMessage clone()
           
 boolean equals(Object obj)
           
 boolean equals(UnittestProto.ForeignMessage obj)
           
 int getC()
           
 boolean hasC()
           
 int hashCode()
           
 UnittestProto.ForeignMessage mergeFrom(UnittestProto.ForeignMessage other)
           
 UnittestProto.ForeignMessage mergeUnframed(CodedInputStream input)
           
 ArrayList<String> missingFields()
           
static UnittestProto.ForeignMessage parseFramed(Buffer data)
           
static UnittestProto.ForeignMessage parseFramed(byte[] data)
           
static UnittestProto.ForeignMessage parseFramed(CodedInputStream data)
           
static UnittestProto.ForeignMessage parseFramed(InputStream data)
           
static UnittestProto.ForeignMessage parseUnframed(Buffer data)
           
static UnittestProto.ForeignMessage parseUnframed(byte[] data)
           
static UnittestProto.ForeignMessage parseUnframed(CodedInputStream data)
           
static UnittestProto.ForeignMessage parseUnframed(InputStream data)
           
 int serializedSizeUnframed()
           
 T setC(int c)
           
 String toString()
           
 StringBuilder toString(StringBuilder sb, String prefix)
           
 void writeUnframed(CodedOutputStream output)
           
 
Methods inherited from class org.apache.activemq.protobuf.BaseMessage
addAll, assertInitialized, checktInitialized, computeGroupSize, computeMessageSize, isInitialized, load, loadAndClear, mergeFramed, mergeFramed, mergeFramed, mergeFramed, mergeUnframed, mergeUnframed, mergeUnframed, prefix, readGroup, readRawByte, readRawVarint32, serializedSizeFramed, toFramedBuffer, toFramedByteArray, toUnframedBuffer, toUnframedByteArray, writeFramed, writeFramed, writeGroup, writeMessage, writeUnframed
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnittestProto.ForeignMessage

public UnittestProto.ForeignMessage()
Method Detail

missingFields

public ArrayList<String> missingFields()
Overrides:
missingFields in class BaseMessage<UnittestProto.ForeignMessage>

clear

public void clear()
Specified by:
clear in interface Message<UnittestProto.ForeignMessage>
Overrides:
clear in class BaseMessage<UnittestProto.ForeignMessage>

clone

public UnittestProto.ForeignMessage clone()
Specified by:
clone in interface Message<UnittestProto.ForeignMessage>
Specified by:
clone in class BaseMessage<UnittestProto.ForeignMessage>

mergeFrom

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

serializedSizeUnframed

public int serializedSizeUnframed()

mergeUnframed

public UnittestProto.ForeignMessage mergeUnframed(CodedInputStream input)
                                           throws IOException
Throws:
IOException

writeUnframed

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

parseUnframed

public static UnittestProto.ForeignMessage parseUnframed(CodedInputStream data)
                                                  throws InvalidProtocolBufferException,
                                                         IOException
Throws:
InvalidProtocolBufferException
IOException

parseUnframed

public static UnittestProto.ForeignMessage parseUnframed(Buffer data)
                                                  throws InvalidProtocolBufferException
Throws:
InvalidProtocolBufferException

parseUnframed

public static UnittestProto.ForeignMessage parseUnframed(byte[] data)
                                                  throws InvalidProtocolBufferException
Throws:
InvalidProtocolBufferException

parseUnframed

public static UnittestProto.ForeignMessage parseUnframed(InputStream data)
                                                  throws InvalidProtocolBufferException,
                                                         IOException
Throws:
InvalidProtocolBufferException
IOException

parseFramed

public static UnittestProto.ForeignMessage parseFramed(CodedInputStream data)
                                                throws InvalidProtocolBufferException,
                                                       IOException
Throws:
InvalidProtocolBufferException
IOException

parseFramed

public static UnittestProto.ForeignMessage parseFramed(Buffer data)
                                                throws InvalidProtocolBufferException
Throws:
InvalidProtocolBufferException

parseFramed

public static UnittestProto.ForeignMessage parseFramed(byte[] data)
                                                throws InvalidProtocolBufferException
Throws:
InvalidProtocolBufferException

parseFramed

public static UnittestProto.ForeignMessage 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(UnittestProto.ForeignMessage obj)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

hasC

public boolean hasC()

getC

public int getC()

setC

public T setC(int c)

clearC

public void clearC()


Copyright © 2009 FuseSource. All Rights Reserved.