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