@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 messageIOException