Annotation Type ProtoEnumValue

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String name
      The name of the Protobuf enum value.
      int number
      The Protocol Buffers tag number.
      int value
      Alias for number().
    • Element Detail

      • value

        int value
        Alias for number().
        Default:
        0
      • number

        int number
        The Protocol Buffers tag number. Alias for value() (mutually exclusive).
        Default:
        0
      • name

        String name
        The name of the Protobuf enum value. If missing, the Java name will be used for Protobuf too.
        Default:
        ""