Annotation Interface Grpc.Proto

Enclosing interface:
Grpc

@Target(METHOD) @Retention(RUNTIME) @Documented @Inherited public static @interface Grpc.Proto
An annotation to mark a method that provides the protocol buffer file descriptor. The annotated method must have no parameters and return com.google.protobuf.Descriptors.FileDescriptor.

For declarative gRPC, the method must be non-private and declare no checked exceptions. Declarative server endpoints may use a static or instance method; declarative clients may use a static or default interface method.