Package io.grpc

Annotation Type Internal


  • @Retention(CLASS)
    @Target({ANNOTATION_TYPE,CONSTRUCTOR,FIELD,METHOD,PACKAGE,TYPE})
    @Documented
    public @interface Internal
    Annotates a program element (class, method, package, etc) which is internal to gRPC, not part of the public API, and should not be used by users of gRPC.

    However, if you want to implement an alternative transport you may use the internal parts. Please consult the gRPC team first, because internal APIs don't have the same API stability guarantee as the public APIs do.

    Note: This annotation is intended only for gRPC library code. Users should not attach this annotation to their own code.

    See: grpc-java-api-checker, an Error Prone plugin to automatically check for usages of this API.