$_whichOneof method

int $_whichOneof (int oneofIndex)

Implementation

int $_whichOneof(int oneofIndex) => _fieldSet.oneofCases[oneofIndex] ?? 0;