public final class ResolverImpl extends Object implements MethodSignatureResolver
| Constructor and Description |
|---|
ResolverImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTypes(com.google.protobuf.Descriptors.MethodDescriptor md,
com.google.protobuf.MessageLite inputType,
com.google.protobuf.MessageLite outputType)
Add a description for a method in an RPC callable
procedure.
|
static Rpc.MethodSignature |
getMethodSignatureFromMethodDescriptor(com.google.protobuf.Descriptors.MethodDescriptor key) |
com.google.protobuf.MessageLite |
getPrototypeForParameter(Rpc.MethodSignature methodSignature)
Given a method signature (which is a protobuf-serializable
description of an RPC invoked procedure), return the prototype
instance for the parameter type.
|
com.google.protobuf.MessageLite |
getPrototypeForReturnValue(Rpc.MethodSignature methodSignature)
Given a method signature (which is a protobuf-serializable
description of an RPC invoked procedure), return the prototype
instance for the return type.
|
public com.google.protobuf.MessageLite getPrototypeForParameter(Rpc.MethodSignature methodSignature)
MethodSignatureResolvergetPrototypeForParameter in interface MethodSignatureResolvermethodSignature - A method signature describing which
procedure this request is all about.public com.google.protobuf.MessageLite getPrototypeForReturnValue(Rpc.MethodSignature methodSignature)
MethodSignatureResolvergetPrototypeForReturnValue in interface MethodSignatureResolvermethodSignature - A method signature describing which
procedure this request is all about.public void addTypes(com.google.protobuf.Descriptors.MethodDescriptor md,
com.google.protobuf.MessageLite inputType,
com.google.protobuf.MessageLite outputType)
MethodSignatureResolveraddTypes in interface MethodSignatureResolvermd - The method.inputType - The prototype for the parameter.outputType - The prototype for the return value.public static Rpc.MethodSignature getMethodSignatureFromMethodDescriptor(com.google.protobuf.Descriptors.MethodDescriptor key)
Copyright © 2013. All Rights Reserved.