public interface ProtocolBufferMessage
Modifier and Type | Method and Description |
---|---|
<T> T |
getMessage(Class<T> type)
Gets the protocol buffer message as a parsed message of type T.
|
void |
setMessage(Object object)
Sets the message of a protocol buffer message, from either a type of a protocol buffer Message interface or a
protocol buffer Message.Builder interface.
|
<T> T getMessage(Class<T> type)
T
- protocol buffer typetype
- the type class of the parsed protocol buffervoid setMessage(Object object)
object
- the Message or the Message.Builder to be set as the protocol buffer messageCopyright © 2010–2016 AdroitLogic. All rights reserved.