Package protobuf_unittest
Class UnittestProto.TestForeignNested
java.lang.Object
org.apache.activemq.protobuf.BaseMessage<UnittestProto.TestForeignNested>
protobuf_unittest.UnittestProto.TestForeignNested
- All Implemented Interfaces:
Message<UnittestProto.TestForeignNested>
- Enclosing class:
UnittestProto
public static final class UnittestProto.TestForeignNested
extends BaseMessage<UnittestProto.TestForeignNested>
-
Field Summary
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
clone()
boolean
boolean
boolean
int
hashCode()
mergeUnframed
(CodedInputStream input) parseFramed
(byte[] data) parseFramed
(InputStream data) parseFramed
(Buffer data) parseFramed
(CodedInputStream data) parseUnframed
(byte[] data) parseUnframed
(InputStream data) parseUnframed
(Buffer data) int
setForeignNested
(UnittestProto.TestAllTypes.NestedMessage foreignNested) toString()
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
-
Constructor Details
-
TestForeignNested
public TestForeignNested()
-
-
Method Details
-
missingFields
- Overrides:
missingFields
in classBaseMessage<UnittestProto.TestForeignNested>
-
clear
public void clear()- Specified by:
clear
in interfaceMessage<UnittestProto.TestForeignNested>
- Overrides:
clear
in classBaseMessage<UnittestProto.TestForeignNested>
-
clone
- Specified by:
clone
in interfaceMessage<UnittestProto.TestForeignNested>
- Specified by:
clone
in classBaseMessage<UnittestProto.TestForeignNested>
-
mergeFrom
- Specified by:
mergeFrom
in interfaceMessage<UnittestProto.TestForeignNested>
- Overrides:
mergeFrom
in classBaseMessage<UnittestProto.TestForeignNested>
-
serializedSizeUnframed
public int serializedSizeUnframed() -
mergeUnframed
- Throws:
IOException
-
writeUnframed
- Specified by:
writeUnframed
in interfaceMessage<UnittestProto.TestForeignNested>
- Overrides:
writeUnframed
in classBaseMessage<UnittestProto.TestForeignNested>
- Throws:
IOException
-
parseUnframed
public static UnittestProto.TestForeignNested parseUnframed(CodedInputStream data) throws InvalidProtocolBufferException, IOException -
parseUnframed
public static UnittestProto.TestForeignNested parseUnframed(Buffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseUnframed
public static UnittestProto.TestForeignNested parseUnframed(byte[] data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseUnframed
public static UnittestProto.TestForeignNested parseUnframed(InputStream data) throws InvalidProtocolBufferException, IOException -
parseFramed
public static UnittestProto.TestForeignNested parseFramed(CodedInputStream data) throws InvalidProtocolBufferException, IOException -
parseFramed
public static UnittestProto.TestForeignNested parseFramed(Buffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFramed
public static UnittestProto.TestForeignNested parseFramed(byte[] data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFramed
public static UnittestProto.TestForeignNested parseFramed(InputStream data) throws InvalidProtocolBufferException, IOException -
toString
-
toString
-
equals
-
equals
-
hashCode
public int hashCode() -
hasForeignNested
public boolean hasForeignNested() -
getForeignNested
-
setForeignNested
public UnittestProto.TestForeignNested setForeignNested(UnittestProto.TestAllTypes.NestedMessage foreignNested) -
clearForeignNested
public void clearForeignNested()
-