@InterfaceAudience.Private public interface ProtobufMessageHandler
Modifier and Type | Method and Description |
---|---|
byte[] |
createProtobufOutput()
Returns the protobuf represention of the model
|
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–2020 The Apache Software Foundation. All rights reserved.