protobuf_unittest
Class MessageWithNoOuter
java.lang.Object
org.apache.activemq.protobuf.BaseMessage<T>
protobuf_unittest.MessageWithNoOuter
- All Implemented Interfaces:
- Message<MessageWithNoOuter>
public final class MessageWithNoOuter
- extends BaseMessage<T>
| 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 |
MessageWithNoOuter
public MessageWithNoOuter()
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.