oneofIndex

abstract val oneofIndex: Int(source)

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.