Annotation Interface Grpc.ProtoDescriptor

Enclosing interface:
Grpc

@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited public static @interface Grpc.ProtoDescriptor
An annotation to identify the generated protocol buffer class that provides the proto file descriptor. The referenced class must declare a public static getDescriptor() method returning com.google.protobuf.Descriptors.FileDescriptor.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The generated protocol buffer class.
  • Element Details

    • value

      Class<?> value
      The generated protocol buffer class.
      Returns:
      the generated protocol buffer class