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