ProtoOneOf

Instructs that a particular property should be written as an oneof.

The type of the annotated property should be polymorphic (interface or abstract class). Inheritors of this type would represent one of choices, and each inheritor should have exactly one property, annotated with ProtoNumber.