Package protobuf_unittest
Class UnittestProto.TestAllTypes.OptionalGroup
- java.lang.Object
-
- org.apache.activemq.protobuf.BaseMessage<T>
-
- protobuf_unittest.UnittestProto.TestAllTypes.OptionalGroup
-
- All Implemented Interfaces:
Message<UnittestProto.TestAllTypes.OptionalGroup>
- Enclosing class:
- UnittestProto.TestAllTypes
public static final class UnittestProto.TestAllTypes.OptionalGroup extends BaseMessage<T>
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize
-
-
Constructor Summary
Constructors Constructor Description OptionalGroup()
-
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.TestAllTypes.OptionalGroup>
-
clear
public void clear()
- Specified by:
clear
in interfaceMessage<UnittestProto.TestAllTypes.OptionalGroup>
- Overrides:
clear
in classBaseMessage<UnittestProto.TestAllTypes.OptionalGroup>
-
clone
public UnittestProto.TestAllTypes.OptionalGroup clone()
- Specified by:
clone
in interfaceMessage<UnittestProto.TestAllTypes.OptionalGroup>
- Specified by:
clone
in classBaseMessage<UnittestProto.TestAllTypes.OptionalGroup>
-
mergeFrom
public UnittestProto.TestAllTypes.OptionalGroup mergeFrom(UnittestProto.TestAllTypes.OptionalGroup other)
- Specified by:
mergeFrom
in interfaceMessage<UnittestProto.TestAllTypes.OptionalGroup>
- Overrides:
mergeFrom
in classBaseMessage<UnittestProto.TestAllTypes.OptionalGroup>
-
serializedSizeUnframed
public int serializedSizeUnframed()
-
mergeUnframed
public UnittestProto.TestAllTypes.OptionalGroup 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.TestAllTypes.OptionalGroup>
- Overrides:
writeUnframed
in classBaseMessage<UnittestProto.TestAllTypes.OptionalGroup>
- Throws:
java.io.IOException
-
parseUnframed
public static UnittestProto.TestAllTypes.OptionalGroup parseUnframed(CodedInputStream data) throws InvalidProtocolBufferException, java.io.IOException
- Throws:
InvalidProtocolBufferException
java.io.IOException
-
parseUnframed
public static UnittestProto.TestAllTypes.OptionalGroup parseUnframed(Buffer data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseUnframed
public static UnittestProto.TestAllTypes.OptionalGroup parseUnframed(byte[] data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseUnframed
public static UnittestProto.TestAllTypes.OptionalGroup parseUnframed(java.io.InputStream data) throws InvalidProtocolBufferException, java.io.IOException
- Throws:
InvalidProtocolBufferException
java.io.IOException
-
parseFramed
public static UnittestProto.TestAllTypes.OptionalGroup parseFramed(CodedInputStream data) throws InvalidProtocolBufferException, java.io.IOException
- Throws:
InvalidProtocolBufferException
java.io.IOException
-
parseFramed
public static UnittestProto.TestAllTypes.OptionalGroup parseFramed(Buffer data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFramed
public static UnittestProto.TestAllTypes.OptionalGroup parseFramed(byte[] data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFramed
public static UnittestProto.TestAllTypes.OptionalGroup 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.TestAllTypes.OptionalGroup 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()
-
-