MethodDescriptor.Marshaller<T>
MethodDescriptor.PrototypeMarshaller<T>
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/2222") public static interface MethodDescriptor.ReflectableMarshaller<T> extends MethodDescriptor.Marshaller<T>
T
at runtime.Modifier and Type | Method | Description |
---|---|---|
java.lang.Class<T> |
getMessageClass() |
Returns the
Class that this marshaller serializes and deserializes. |
parse, stream
java.lang.Class<T> getMessageClass()
Class
that this marshaller serializes and deserializes. If inheritance is
allowed, this is the base class or interface for all supported classes.null
base class for all objects produced and consumed by this marshaller