Interface AbstractMessageLite.InternalOneOfEnum

protected static interface AbstractMessageLite.InternalOneOfEnum

Interface for an enum which signifies which field in a oneof was specified.

Methods

getNumber()

public abstract int getNumber()

Retrieves the field number of the field which was set in this oneof, or 0 if none were.

Returns
TypeDescription
int