protobuf_unittest
Class MessageWithNoOuter

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

public final class MessageWithNoOuter
extends BaseMessage<T>


Nested Class Summary
static class MessageWithNoOuter.NestedEnum
           
static class MessageWithNoOuter.NestedMessage
           
 
Field Summary
 
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize
 
Constructor Summary
MessageWithNoOuter()
           
 
Method Summary
 T addAllForeign(Iterable<? extends UnittestProto.TestAllTypes> collection)
           
 T addForeign(UnittestProto.TestAllTypes value)
           
 void clear()
           
 void clearForeign()
           
 void clearForeignEnum()
           
 void clearNested()
           
 void clearNestedEnum()
           
 MessageWithNoOuter clone()
           
 boolean equals(MessageWithNoOuter obj)
           
 boolean equals(Object obj)
           
 UnittestProto.TestAllTypes getForeign(int index)
           
 int getForeignCount()
           
 EnumWithNoOuter getForeignEnum()
           
 List<UnittestProto.TestAllTypes> getForeignList()
           
 MessageWithNoOuter.NestedMessage getNested()
           
 MessageWithNoOuter.NestedEnum getNestedEnum()
           
 boolean hasForeign()
           
 boolean hasForeignEnum()
           
 int hashCode()
           
 boolean hasNested()
           
 boolean hasNestedEnum()
           
 MessageWithNoOuter mergeFrom(MessageWithNoOuter other)
           
 MessageWithNoOuter mergeUnframed(CodedInputStream input)
           
 ArrayList<String> missingFields()
           
static MessageWithNoOuter parseFramed(Buffer data)
           
static MessageWithNoOuter parseFramed(byte[] data)
           
static MessageWithNoOuter parseFramed(CodedInputStream data)
           
static MessageWithNoOuter parseFramed(InputStream data)
           
static MessageWithNoOuter parseUnframed(Buffer data)
           
static MessageWithNoOuter parseUnframed(byte[] data)
           
static MessageWithNoOuter parseUnframed(CodedInputStream data)
           
static MessageWithNoOuter parseUnframed(InputStream data)
           
 int serializedSizeUnframed()
           
 T setForeign(int index, UnittestProto.TestAllTypes value)
           
 T setForeignEnum(EnumWithNoOuter foreignEnum)
           
 T setForeignList(List<UnittestProto.TestAllTypes> foreign)
           
 T setNested(MessageWithNoOuter.NestedMessage nested)
           
 T setNestedEnum(MessageWithNoOuter.NestedEnum nestedEnum)
           
 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

MessageWithNoOuter

public MessageWithNoOuter()
Method Detail

missingFields

public ArrayList<String> missingFields()
Overrides:
missingFields in class BaseMessage<MessageWithNoOuter>

clear

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

clone

public MessageWithNoOuter clone()
Specified by:
clone in interface Message<MessageWithNoOuter>
Specified by:
clone in class BaseMessage<MessageWithNoOuter>

mergeFrom

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

serializedSizeUnframed

public int serializedSizeUnframed()

mergeUnframed

public MessageWithNoOuter mergeUnframed(CodedInputStream input)
                                 throws IOException
Throws:
IOException

writeUnframed

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

parseUnframed

public static MessageWithNoOuter parseUnframed(CodedInputStream data)
                                        throws InvalidProtocolBufferException,
                                               IOException
Throws:
InvalidProtocolBufferException
IOException

parseUnframed

public static MessageWithNoOuter parseUnframed(Buffer data)
                                        throws InvalidProtocolBufferException
Throws:
InvalidProtocolBufferException

parseUnframed

public static MessageWithNoOuter parseUnframed(byte[] data)
                                        throws InvalidProtocolBufferException
Throws:
InvalidProtocolBufferException

parseUnframed

public static MessageWithNoOuter parseUnframed(InputStream data)
                                        throws InvalidProtocolBufferException,
                                               IOException
Throws:
InvalidProtocolBufferException
IOException

parseFramed

public static MessageWithNoOuter parseFramed(CodedInputStream data)
                                      throws InvalidProtocolBufferException,
                                             IOException
Throws:
InvalidProtocolBufferException
IOException

parseFramed

public static MessageWithNoOuter parseFramed(Buffer data)
                                      throws InvalidProtocolBufferException
Throws:
InvalidProtocolBufferException

parseFramed

public static MessageWithNoOuter parseFramed(byte[] data)
                                      throws InvalidProtocolBufferException
Throws:
InvalidProtocolBufferException

parseFramed

public static MessageWithNoOuter 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(MessageWithNoOuter obj)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

hasNested

public boolean hasNested()

getNested

public MessageWithNoOuter.NestedMessage getNested()

setNested

public T setNested(MessageWithNoOuter.NestedMessage nested)

clearNested

public void clearNested()

hasForeign

public boolean hasForeign()

getForeignList

public List<UnittestProto.TestAllTypes> getForeignList()

setForeignList

public T setForeignList(List<UnittestProto.TestAllTypes> foreign)

getForeignCount

public int getForeignCount()

getForeign

public UnittestProto.TestAllTypes getForeign(int index)

setForeign

public T setForeign(int index,
                    UnittestProto.TestAllTypes value)

addForeign

public T addForeign(UnittestProto.TestAllTypes value)

addAllForeign

public T addAllForeign(Iterable<? extends UnittestProto.TestAllTypes> collection)

clearForeign

public void clearForeign()

hasNestedEnum

public boolean hasNestedEnum()

getNestedEnum

public MessageWithNoOuter.NestedEnum getNestedEnum()

setNestedEnum

public T setNestedEnum(MessageWithNoOuter.NestedEnum nestedEnum)

clearNestedEnum

public void clearNestedEnum()

hasForeignEnum

public boolean hasForeignEnum()

getForeignEnum

public EnumWithNoOuter getForeignEnum()

setForeignEnum

public T setForeignEnum(EnumWithNoOuter foreignEnum)

clearForeignEnum

public void clearForeignEnum()


Copyright © 2009 FuseSource. All Rights Reserved.