public class ProtocolBufferParser extends Object implements ResultParser
| Constructor and Description |
|---|
ProtocolBufferParser(com.google.protobuf.Message message,
String traceId) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getObject(ResponseMessage response)
Converts the result from stream to a java object.
|
public ProtocolBufferParser(com.google.protobuf.Message message,
String traceId)
public Object getObject(ResponseMessage response) throws ResultParseException
ResultParsergetObject in interface ResultParserresponse - The stream of the result.ResultParseException - Failed to parse the result.Copyright © 2024. All Rights Reserved.