@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 © 2014 The Apache Software Foundation. All rights reserved.