static class ProtobufTranslationImpl.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) |
| Modifier and Type | Method and Description |
|---|---|
Service.Response |
transform(com.google.protobuf.ByteString serializedMessage) |
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–2018 The Apache Software Foundation. All rights reserved.