Package protobuf_unittest
Class UnittestProto.TestNestedMessageHasBits
java.lang.Object
org.apache.activemq.protobuf.BaseMessage<T>
protobuf_unittest.UnittestProto.TestNestedMessageHasBits
- All Implemented Interfaces:
Message<UnittestProto.TestNestedMessageHasBits>
- Enclosing class:
- UnittestProto
-
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 TypeMethodDescriptionvoidclear()voidclone()booleanbooleaninthashCode()booleanmergeUnframed(CodedInputStream input) parseFramed(byte[] data) parseFramed(InputStream data) parseFramed(Buffer data) parseFramed(CodedInputStream data) parseUnframed(byte[] data) parseUnframed(InputStream data) parseUnframed(Buffer data) intsetOptionalNestedMessage(UnittestProto.TestNestedMessageHasBits.NestedMessage optionalNestedMessage) toString()toString(StringBuilder sb, String prefix) voidwriteUnframed(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:
missingFieldsin classBaseMessage<UnittestProto.TestNestedMessageHasBits>
-
clear
public void clear()- Specified by:
clearin interfaceMessage<UnittestProto.TestNestedMessageHasBits>- Overrides:
clearin classBaseMessage<UnittestProto.TestNestedMessageHasBits>
-
clone
- Specified by:
clonein interfaceMessage<UnittestProto.TestNestedMessageHasBits>- Specified by:
clonein classBaseMessage<UnittestProto.TestNestedMessageHasBits>
-
mergeFrom
public UnittestProto.TestNestedMessageHasBits mergeFrom(UnittestProto.TestNestedMessageHasBits other) - Specified by:
mergeFromin interfaceMessage<UnittestProto.TestNestedMessageHasBits>- Overrides:
mergeFromin classBaseMessage<UnittestProto.TestNestedMessageHasBits>
-
serializedSizeUnframed
public int serializedSizeUnframed() -
mergeUnframed
public UnittestProto.TestNestedMessageHasBits mergeUnframed(CodedInputStream input) throws IOException - Throws:
IOException
-
writeUnframed
- Specified by:
writeUnframedin interfaceMessage<UnittestProto.TestNestedMessageHasBits>- Overrides:
writeUnframedin 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()
-