Package protobuf_unittest
Class UnittestProto.TestNestedMessageHasBits
java.lang.Object
org.apache.activemq.protobuf.BaseMessage<UnittestProto.TestNestedMessageHasBits>
protobuf_unittest.UnittestProto.TestNestedMessageHasBits
- All Implemented Interfaces:
Message<UnittestProto.TestNestedMessageHasBits>
- Enclosing class:
UnittestProto
public static final class UnittestProto.TestNestedMessageHasBits
extends BaseMessage<UnittestProto.TestNestedMessageHasBits>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
-
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
int
hashCode()
boolean
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
setOptionalNestedMessage
(UnittestProto.TestNestedMessageHasBits.NestedMessage optionalNestedMessage) 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
-
TestNestedMessageHasBits
public TestNestedMessageHasBits()
-
-
Method Details
-
missingFields
- Overrides:
missingFields
in classBaseMessage<UnittestProto.TestNestedMessageHasBits>
-
clear
public void clear()- Specified by:
clear
in interfaceMessage<UnittestProto.TestNestedMessageHasBits>
- Overrides:
clear
in classBaseMessage<UnittestProto.TestNestedMessageHasBits>
-
clone
- Specified by:
clone
in interfaceMessage<UnittestProto.TestNestedMessageHasBits>
- Specified by:
clone
in classBaseMessage<UnittestProto.TestNestedMessageHasBits>
-
mergeFrom
public UnittestProto.TestNestedMessageHasBits mergeFrom(UnittestProto.TestNestedMessageHasBits other) - Specified by:
mergeFrom
in interfaceMessage<UnittestProto.TestNestedMessageHasBits>
- Overrides:
mergeFrom
in classBaseMessage<UnittestProto.TestNestedMessageHasBits>
-
serializedSizeUnframed
public int serializedSizeUnframed() -
mergeUnframed
public UnittestProto.TestNestedMessageHasBits mergeUnframed(CodedInputStream input) throws IOException - Throws:
IOException
-
writeUnframed
- Specified by:
writeUnframed
in interfaceMessage<UnittestProto.TestNestedMessageHasBits>
- Overrides:
writeUnframed
in classBaseMessage<UnittestProto.TestNestedMessageHasBits>
- Throws:
IOException
-
parseUnframed
public static UnittestProto.TestNestedMessageHasBits parseUnframed(CodedInputStream data) throws InvalidProtocolBufferException, IOException -
parseUnframed
public static UnittestProto.TestNestedMessageHasBits parseUnframed(Buffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseUnframed
public static UnittestProto.TestNestedMessageHasBits parseUnframed(byte[] data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseUnframed
public static UnittestProto.TestNestedMessageHasBits parseUnframed(InputStream data) throws InvalidProtocolBufferException, IOException -
parseFramed
public static UnittestProto.TestNestedMessageHasBits parseFramed(CodedInputStream data) throws InvalidProtocolBufferException, IOException -
parseFramed
public static UnittestProto.TestNestedMessageHasBits parseFramed(Buffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFramed
public static UnittestProto.TestNestedMessageHasBits parseFramed(byte[] data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFramed
public static UnittestProto.TestNestedMessageHasBits parseFramed(InputStream data) throws InvalidProtocolBufferException, IOException -
toString
-
toString
-
equals
-
equals
-
hashCode
public int hashCode() -
hasOptionalNestedMessage
public boolean hasOptionalNestedMessage() -
getOptionalNestedMessage
-
setOptionalNestedMessage
public UnittestProto.TestNestedMessageHasBits setOptionalNestedMessage(UnittestProto.TestNestedMessageHasBits.NestedMessage optionalNestedMessage) -
clearOptionalNestedMessage
public void clearOptionalNestedMessage()
-