Package 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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MessageWithNoOuter.NestedEnum
static class
MessageWithNoOuter.NestedMessage
-
Field Summary
-
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize
-
-
Constructor Summary
Constructors Constructor Description MessageWithNoOuter()
-
Method Summary
-
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
-
-
-
-
Method Detail
-
missingFields
public java.util.ArrayList<java.lang.String> missingFields()
- Overrides:
missingFields
in classBaseMessage<MessageWithNoOuter>
-
clear
public void clear()
- Specified by:
clear
in interfaceMessage<MessageWithNoOuter>
- Overrides:
clear
in classBaseMessage<MessageWithNoOuter>
-
clone
public MessageWithNoOuter clone()
- Specified by:
clone
in interfaceMessage<MessageWithNoOuter>
- Specified by:
clone
in classBaseMessage<MessageWithNoOuter>
-
mergeFrom
public MessageWithNoOuter mergeFrom(MessageWithNoOuter other)
- Specified by:
mergeFrom
in interfaceMessage<MessageWithNoOuter>
- Overrides:
mergeFrom
in classBaseMessage<MessageWithNoOuter>
-
serializedSizeUnframed
public int serializedSizeUnframed()
-
mergeUnframed
public MessageWithNoOuter mergeUnframed(CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
writeUnframed
public void writeUnframed(CodedOutputStream output) throws java.io.IOException
- Specified by:
writeUnframed
in interfaceMessage<MessageWithNoOuter>
- Overrides:
writeUnframed
in classBaseMessage<MessageWithNoOuter>
- Throws:
java.io.IOException
-
parseUnframed
public static MessageWithNoOuter parseUnframed(CodedInputStream data) throws InvalidProtocolBufferException, java.io.IOException
- Throws:
InvalidProtocolBufferException
java.io.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(java.io.InputStream data) throws InvalidProtocolBufferException, java.io.IOException
- Throws:
InvalidProtocolBufferException
java.io.IOException
-
parseFramed
public static MessageWithNoOuter parseFramed(CodedInputStream data) throws InvalidProtocolBufferException, java.io.IOException
- Throws:
InvalidProtocolBufferException
java.io.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(java.io.InputStream data) throws InvalidProtocolBufferException, java.io.IOException
- Throws:
InvalidProtocolBufferException
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toString
public java.lang.StringBuilder toString(java.lang.StringBuilder sb, java.lang.String prefix)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(MessageWithNoOuter obj)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.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 java.util.List<UnittestProto.TestAllTypes> getForeignList()
-
setForeignList
public T setForeignList(java.util.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(java.lang.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()
-
-