Package org.tribuo.protos
Annotation Interface ProtoSerializableClass
Mark a class as being
ProtoSerializable
and specify
the class type used to serialize the "serialized_data".-
Required Element Summary
Modifier and TypeRequired ElementDescriptionint
The current version of this proto serialized class. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionClass<? extends com.google.protobuf.Message>
Specifies the type of the serialized data payload.
-
Element Details
-
version
int versionThe current version of this proto serialized class.- Returns:
- The version number.
-
-
-
serializedDataClass
Class<? extends com.google.protobuf.Message> serializedDataClassSpecifies the type of the serialized data payload.- Returns:
- The proto class of the serialized data.
- Default:
- com.google.protobuf.Message.class
-