Annotation Interface Grpc


An annotation used to mark a class as representing a gRPC service.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    An AnnotationLiteral for the Grpc annotation.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Obtain the service name.
    int
    Obtain the service version.
  • Element Details

    • name

      String name
      Obtain the service name.
      Returns:
      the service name
      Default:
      ""
    • version

      int version
      Obtain the service version.
      Returns:
      the service version
      Default:
      0