Annotation Interface Grpc.GrpcMarshaller

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

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Obtain the type of the MarshallerSupplier to use.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The name to use to specify the default marshaller supplier.
    static final String
    The name of the Protocol Buffer marshaller supplier.
  • Field Details

  • Element Details

    • value

      String value
      Obtain the type of the MarshallerSupplier to use.
      Returns:
      the type of the MarshallerSupplier to use
      Default:
      "default"