Annotation Interface ProtoSerializableMapValuesField


@Retention(RUNTIME) @Target(FIELD) public @interface ProtoSerializableMapValuesField
Annotation which denotes that the map field this is applied to is serialized as a list of values.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the value field in the protobuf in Java.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    The protobuf version when this field was added.
  • Element Details

    • valuesName

      String valuesName
      The name of the value field in the protobuf in Java.
      Returns:
      The value field name.
    • sinceVersion

      int sinceVersion
      The protobuf version when this field was added.
      Returns:
      The version.
      Default:
      0