@InterfaceAudience.Private public interface ProtobufMessageHandler
| Modifier and Type | Method and Description |
|---|---|
byte[] |
createProtobufOutput() |
ProtobufMessageHandler |
getObjectFromMessage(byte[] message)
Initialize the model from a protobuf representation.
|
byte[] createProtobufOutput()
ProtobufMessageHandler getObjectFromMessage(byte[] message) throws IOException
message - the raw bytes of the protobuf messageIOExceptionCopyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.