public class ResponseTranslator extends Object
| Modifier and Type | Field and Description |
|---|---|
private Service.Response |
impl |
private com.google.protobuf.Parser<? extends com.google.protobuf.Message> |
parser |
| Constructor and Description |
|---|
ResponseTranslator(com.google.protobuf.Parser<? extends com.google.protobuf.Message> parser,
Service.Response impl) |
private final com.google.protobuf.Parser<? extends com.google.protobuf.Message> parser
private final Service.Response impl
public ResponseTranslator(com.google.protobuf.Parser<? extends com.google.protobuf.Message> parser,
Service.Response impl)
public Service.Response transform(com.google.protobuf.ByteString serializedMessage) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionCopyright © 2012–2016 The Apache Software Foundation. All rights reserved.