protobuf_unittest
Class UnittestProto.TestAllTypes.OptionalGroup

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

public static final class UnittestProto.TestAllTypes.OptionalGroup
extends BaseMessage<T>


Field Summary
 
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize
 
Constructor Summary
UnittestProto.TestAllTypes.OptionalGroup()
           
 
Method Summary
 void clear()
           
 void clearA()
           
 UnittestProto.TestAllTypes.OptionalGroup clone()
           
 boolean equals(Object obj)
           
 boolean equals(UnittestProto.TestAllTypes.OptionalGroup obj)
           
 int getA()
           
 boolean hasA()
           
 int hashCode()
           
 UnittestProto.TestAllTypes.OptionalGroup mergeFrom(UnittestProto.TestAllTypes.OptionalGroup other)
           
 UnittestProto.TestAllTypes.OptionalGroup mergeUnframed(CodedInputStream input)
           
 ArrayList<String> missingFields()
           
static UnittestProto.TestAllTypes.OptionalGroup parseFramed(Buffer data)
           
static UnittestProto.TestAllTypes.OptionalGroup parseFramed(byte[] data)
           
static UnittestProto.TestAllTypes.OptionalGroup parseFramed(CodedInputStream data)
           
static UnittestProto.TestAllTypes.OptionalGroup parseFramed(InputStream data)
           
static UnittestProto.TestAllTypes.OptionalGroup parseUnframed(Buffer data)
           
static UnittestProto.TestAllTypes.OptionalGroup parseUnframed(byte[] data)
           
static UnittestProto.TestAllTypes.OptionalGroup parseUnframed(CodedInputStream data)
           
static UnittestProto.TestAllTypes.OptionalGroup parseUnframed(InputStream data)
           
 int serializedSizeUnframed()
           
 T setA(int a)
           
 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.TestAllTypes.OptionalGroup

public UnittestProto.TestAllTypes.OptionalGroup()
Method Detail

missingFields

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

clear

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

clone

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

mergeFrom

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

serializedSizeUnframed

public int serializedSizeUnframed()

mergeUnframed

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

writeUnframed

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

parseUnframed

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

parseUnframed

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

parseUnframed

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

parseUnframed

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

parseFramed

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

parseFramed

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

parseFramed

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

parseFramed

public static UnittestProto.TestAllTypes.OptionalGroup 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.TestAllTypes.OptionalGroup obj)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

hasA

public boolean hasA()

getA

public int getA()

setA

public T setA(int a)

clearA

public void clearA()


Copyright © 2009 FuseSource. All Rights Reserved.