- Enclosing interface:
Grpc
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Inherited
public static @interface Grpc.GrpcMarshaller
An annotation used to annotate a type or method to specify the
named marshaller supplier to use for rpc method calls.
-
Optional Element Summary
-
Field Summary
-
Field Details
-
PROTO
The name of the Protocol Buffer marshaller supplier.- See Also:
-
DEFAULT
The name to use to specify the default marshaller supplier.- See Also:
-
-
Element Details
-
value
String valueObtain the type of theMarshallerSupplier
to use.- Returns:
- the type of the
MarshallerSupplier
to use
- Default:
"default"
-