protobuf_unittest
Class UnittestProto.TestRequiredForeign
java.lang.Object
org.apache.activemq.protobuf.BaseMessage<T>
protobuf_unittest.UnittestProto.TestRequiredForeign
- All Implemented Interfaces:
- Message<UnittestProto.TestRequiredForeign>
- Enclosing class:
- UnittestProto
public static final class UnittestProto.TestRequiredForeign
- extends BaseMessage<T>
| 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 |
UnittestProto.TestRequiredForeign
public UnittestProto.TestRequiredForeign()
missingFields
public ArrayList<String> missingFields()
- Overrides:
missingFields in class BaseMessage<UnittestProto.TestRequiredForeign>
clear
public void clear()
- Specified by:
clear in interface Message<UnittestProto.TestRequiredForeign>- Overrides:
clear in class BaseMessage<UnittestProto.TestRequiredForeign>
clone
public UnittestProto.TestRequiredForeign clone()
- Specified by:
clone in interface Message<UnittestProto.TestRequiredForeign>- Specified by:
clone in class BaseMessage<UnittestProto.TestRequiredForeign>
mergeFrom
public UnittestProto.TestRequiredForeign mergeFrom(UnittestProto.TestRequiredForeign other)
- Specified by:
mergeFrom in interface Message<UnittestProto.TestRequiredForeign>- Overrides:
mergeFrom in class BaseMessage<UnittestProto.TestRequiredForeign>
serializedSizeUnframed
public int serializedSizeUnframed()
mergeUnframed
public UnittestProto.TestRequiredForeign mergeUnframed(CodedInputStream input)
throws IOException
- Throws:
IOException
writeUnframed
public void writeUnframed(CodedOutputStream output)
throws IOException
- Specified by:
writeUnframed in interface Message<UnittestProto.TestRequiredForeign>- Overrides:
writeUnframed in class BaseMessage<UnittestProto.TestRequiredForeign>
- Throws:
IOException
parseUnframed
public static UnittestProto.TestRequiredForeign parseUnframed(CodedInputStream data)
throws InvalidProtocolBufferException,
IOException
- Throws:
InvalidProtocolBufferException
IOException
parseUnframed
public static UnittestProto.TestRequiredForeign parseUnframed(Buffer data)
throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
parseUnframed
public static UnittestProto.TestRequiredForeign parseUnframed(byte[] data)
throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
parseUnframed
public static UnittestProto.TestRequiredForeign parseUnframed(InputStream data)
throws InvalidProtocolBufferException,
IOException
- Throws:
InvalidProtocolBufferException
IOException
parseFramed
public static UnittestProto.TestRequiredForeign parseFramed(CodedInputStream data)
throws InvalidProtocolBufferException,
IOException
- Throws:
InvalidProtocolBufferException
IOException
parseFramed
public static UnittestProto.TestRequiredForeign parseFramed(Buffer data)
throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
parseFramed
public static UnittestProto.TestRequiredForeign parseFramed(byte[] data)
throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
parseFramed
public static UnittestProto.TestRequiredForeign parseFramed(InputStream data)
throws InvalidProtocolBufferException,
IOException
- Throws:
InvalidProtocolBufferException
IOException
toString
public String toString()
- Overrides:
toString in class Object
toString
public StringBuilder toString(StringBuilder sb,
String prefix)
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
equals
public boolean equals(UnittestProto.TestRequiredForeign obj)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
hasOptionalMessage
public boolean hasOptionalMessage()
getOptionalMessage
public UnittestProto.TestRequired getOptionalMessage()
setOptionalMessage
public T setOptionalMessage(UnittestProto.TestRequired optionalMessage)
clearOptionalMessage
public void clearOptionalMessage()
hasRepeatedMessage
public boolean hasRepeatedMessage()
getRepeatedMessageList
public List<UnittestProto.TestRequired> getRepeatedMessageList()
setRepeatedMessageList
public T setRepeatedMessageList(List<UnittestProto.TestRequired> repeatedMessage)
getRepeatedMessageCount
public int getRepeatedMessageCount()
getRepeatedMessage
public UnittestProto.TestRequired getRepeatedMessage(int index)
setRepeatedMessage
public T setRepeatedMessage(int index,
UnittestProto.TestRequired value)
addRepeatedMessage
public T addRepeatedMessage(UnittestProto.TestRequired value)
addAllRepeatedMessage
public T addAllRepeatedMessage(Iterable<? extends UnittestProto.TestRequired> collection)
clearRepeatedMessage
public void clearRepeatedMessage()
hasDummy
public boolean hasDummy()
getDummy
public int getDummy()
setDummy
public T setDummy(int dummy)
clearDummy
public void clearDummy()
Copyright © 2009 FuseSource. All Rights Reserved.