Annotation Type GrpcGenerated


  • @Retention(CLASS)
    @Target(TYPE)
    public @interface GrpcGenerated
    Annotates that the class is gRPC-generated code to assist Java Annotation Processors.

    This annotation is used by the gRPC stub compiler to annotate outer classes. Users should not annotate their own classes with this annotation. Not all stubs may have this annotation, so consumers should not assume that it is present.

    Since:
    1.40.0