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