types OperatorType ValidationType are declared in the interface class. Both consist of static int fields. Per issue 59836, we should convert these to true enums.