Annotation Interface ProtoName


@Target(TYPE) @Retention(RUNTIME) @Documented public @interface ProtoName
An optional annotation for specifying the Protobuf message or enum type name. If missing, the (simple) Java class name (Class.getSimpleName()) will be used for Protobuf too.
Since:
4.3
Author:
[email protected]
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Defines the name of the Protobuf message or enum type.
  • Element Details

    • value

      String value
      Defines the name of the Protobuf message or enum type. Must not be fully qualified (ie. no dots allowed).