oneofIndex property

int oneofIndex
read / write

The index of the field type in Type.oneofs, for message or enumeration types. The first type has index 1; zero means the type is not in the list.

Implementation

core.int oneofIndex;