Annotation Type ProtoMessage


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Documented
    public @interface ProtoMessage
    Deprecated.
    replaced by ProtoName. To be removed in version 5.
    An optional annotation for specifying the Protobuf message type name.
    Since:
    3.0
    Author:
    anistor@redhat.com
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String name
      Deprecated.
      Defines the name of the Protobuf message type.
    • Element Detail

      • name

        String name
        Deprecated.
        Defines the name of the Protobuf message type. Must not be fully qualified (ie. no dots allowed). If missing, the Java class name Class.getSimpleName()) will be used for Protobuf too.
        Default:
        ""