public interface ProtocolBufferMessage
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getMessage(java.lang.Class type)
Gets the protocol buffer message as a parsed message of type T.
|
void |
setMessage(java.lang.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.
|
java.lang.Object getMessage(java.lang.Class type)
type
- the type class of the parsed protocol buffervoid setMessage(java.lang.Object object)
object
- the Message or the Message.Builder to be set as the protocol buffer message