Package protobuf_unittest
Class UnittestProto.TestFieldOrderings
java.lang.Object
org.apache.activemq.protobuf.BaseMessage<T>
protobuf_unittest.UnittestProto.TestFieldOrderings
- All Implemented Interfaces:
Message<UnittestProto.TestFieldOrderings>
- Enclosing class:
- UnittestProto
-
Field Summary
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
void
void
clone()
boolean
boolean
float
long
getMyInt()
int
hashCode()
boolean
boolean
hasMyInt()
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
setMyFloat
(float myFloat) setMyInt
(long myInt) setMyString
(String myString) 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
-
TestFieldOrderings
public TestFieldOrderings()
-
-
Method Details
-
missingFields
- Overrides:
missingFields
in classBaseMessage<UnittestProto.TestFieldOrderings>
-
clear
public void clear()- Specified by:
clear
in interfaceMessage<UnittestProto.TestFieldOrderings>
- Overrides:
clear
in classBaseMessage<UnittestProto.TestFieldOrderings>
-
clone
- Specified by:
clone
in interfaceMessage<UnittestProto.TestFieldOrderings>
- Specified by:
clone
in classBaseMessage<UnittestProto.TestFieldOrderings>
-
mergeFrom
- Specified by:
mergeFrom
in interfaceMessage<UnittestProto.TestFieldOrderings>
- Overrides:
mergeFrom
in classBaseMessage<UnittestProto.TestFieldOrderings>
-
serializedSizeUnframed
public int serializedSizeUnframed() -
mergeUnframed
- Throws:
IOException
-
writeUnframed
- Specified by:
writeUnframed
in interfaceMessage<UnittestProto.TestFieldOrderings>
- Overrides:
writeUnframed
in classBaseMessage<UnittestProto.TestFieldOrderings>
- Throws:
IOException
-
parseUnframed
public static UnittestProto.TestFieldOrderings parseUnframed(CodedInputStream data) throws InvalidProtocolBufferException, IOException -
parseUnframed
public static UnittestProto.TestFieldOrderings parseUnframed(Buffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseUnframed
public static UnittestProto.TestFieldOrderings parseUnframed(byte[] data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseUnframed
public static UnittestProto.TestFieldOrderings parseUnframed(InputStream data) throws InvalidProtocolBufferException, IOException -
parseFramed
public static UnittestProto.TestFieldOrderings parseFramed(CodedInputStream data) throws InvalidProtocolBufferException, IOException -
parseFramed
public static UnittestProto.TestFieldOrderings parseFramed(Buffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFramed
public static UnittestProto.TestFieldOrderings parseFramed(byte[] data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFramed
public static UnittestProto.TestFieldOrderings parseFramed(InputStream data) throws InvalidProtocolBufferException, IOException -
toString
-
toString
-
equals
-
equals
-
hashCode
public int hashCode() -
hasMyString
public boolean hasMyString() -
getMyString
-
setMyString
-
clearMyString
public void clearMyString() -
hasMyInt
public boolean hasMyInt() -
getMyInt
public long getMyInt() -
setMyInt
-
clearMyInt
public void clearMyInt() -
hasMyFloat
public boolean hasMyFloat() -
getMyFloat
public float getMyFloat() -
setMyFloat
-
clearMyFloat
public void clearMyFloat()
-