Package org.tribuo.protos
Annotation Interface ProtoSerializableMapField
Annotation which denotes that a map field should be part of the protobuf serialized representation.
Behaviour is undefined when used on a class which doesn't implement ProtoSerializable
.
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionThe name of the field in the protobuf in Java.int
The protobuf version when this field was added.
-
Element Details
-
sinceVersion
int sinceVersionThe protobuf version when this field was added.- Returns:
- The version.
- Default:
- 0
-
name
String nameThe name of the field in the protobuf in Java.- Returns:
- The field name.
- Default:
- "[DEFAULT_FIELD_NAME]"
-