Package protobuf_unittest
Class UnittestProto.TestDupFieldNumber
- java.lang.Object
-
- org.apache.activemq.protobuf.BaseMessage<T>
-
- protobuf_unittest.UnittestProto.TestDupFieldNumber
-
- All Implemented Interfaces:
Message<UnittestProto.TestDupFieldNumber>
- Enclosing class:
- UnittestProto
public static final class UnittestProto.TestDupFieldNumber extends BaseMessage<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UnittestProto.TestDupFieldNumber.Bar
static class
UnittestProto.TestDupFieldNumber.Foo
-
Field Summary
-
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize
-
-
Constructor Summary
Constructors Constructor Description TestDupFieldNumber()
-
Method Summary
-
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
-
-
-
-
Method Detail
-
missingFields
public java.util.ArrayList<java.lang.String> missingFields()
- Overrides:
missingFields
in classBaseMessage<UnittestProto.TestDupFieldNumber>
-
clear
public void clear()
- Specified by:
clear
in interfaceMessage<UnittestProto.TestDupFieldNumber>
- Overrides:
clear
in classBaseMessage<UnittestProto.TestDupFieldNumber>
-
clone
public UnittestProto.TestDupFieldNumber clone()
- Specified by:
clone
in interfaceMessage<UnittestProto.TestDupFieldNumber>
- Specified by:
clone
in classBaseMessage<UnittestProto.TestDupFieldNumber>
-
mergeFrom
public UnittestProto.TestDupFieldNumber mergeFrom(UnittestProto.TestDupFieldNumber other)
- Specified by:
mergeFrom
in interfaceMessage<UnittestProto.TestDupFieldNumber>
- Overrides:
mergeFrom
in classBaseMessage<UnittestProto.TestDupFieldNumber>
-
serializedSizeUnframed
public int serializedSizeUnframed()
-
mergeUnframed
public UnittestProto.TestDupFieldNumber mergeUnframed(CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
writeUnframed
public void writeUnframed(CodedOutputStream output) throws java.io.IOException
- Specified by:
writeUnframed
in interfaceMessage<UnittestProto.TestDupFieldNumber>
- Overrides:
writeUnframed
in classBaseMessage<UnittestProto.TestDupFieldNumber>
- Throws:
java.io.IOException
-
parseUnframed
public static UnittestProto.TestDupFieldNumber parseUnframed(CodedInputStream data) throws InvalidProtocolBufferException, java.io.IOException
- Throws:
InvalidProtocolBufferException
java.io.IOException
-
parseUnframed
public static UnittestProto.TestDupFieldNumber parseUnframed(Buffer data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseUnframed
public static UnittestProto.TestDupFieldNumber parseUnframed(byte[] data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseUnframed
public static UnittestProto.TestDupFieldNumber parseUnframed(java.io.InputStream data) throws InvalidProtocolBufferException, java.io.IOException
- Throws:
InvalidProtocolBufferException
java.io.IOException
-
parseFramed
public static UnittestProto.TestDupFieldNumber parseFramed(CodedInputStream data) throws InvalidProtocolBufferException, java.io.IOException
- Throws:
InvalidProtocolBufferException
java.io.IOException
-
parseFramed
public static UnittestProto.TestDupFieldNumber parseFramed(Buffer data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFramed
public static UnittestProto.TestDupFieldNumber parseFramed(byte[] data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFramed
public static UnittestProto.TestDupFieldNumber parseFramed(java.io.InputStream data) throws InvalidProtocolBufferException, java.io.IOException
- Throws:
InvalidProtocolBufferException
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toString
public java.lang.StringBuilder toString(java.lang.StringBuilder sb, java.lang.String prefix)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(UnittestProto.TestDupFieldNumber obj)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
hasA
public boolean hasA()
-
getA
public int getA()
-
setA
public T setA(int a)
-
clearA
public void clearA()
-
hasFoo
public boolean hasFoo()
-
getFoo
public UnittestProto.TestDupFieldNumber.Foo getFoo()
-
setFoo
public T setFoo(UnittestProto.TestDupFieldNumber.Foo foo)
-
clearFoo
public void clearFoo()
-
hasBar
public boolean hasBar()
-
getBar
public UnittestProto.TestDupFieldNumber.Bar getBar()
-
setBar
public T setBar(UnittestProto.TestDupFieldNumber.Bar bar)
-
clearBar
public void clearBar()
-
-