@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
Copyright © 2007–2019 Cloudera. All rights reserved.