public static enum Field.OneOfThemEmptyMode extends Enum<Field.OneOfThemEmptyMode>
Enum Constant and Description |
---|
EMPTY_NO_MATCHES
An empty repeated field is treated like any other list, just with no elements, so none can match.
|
EMPTY_UNKNOWN
An empty repeated field causes
oneOfThem predicates to return UNKNOWN, like a scalar NULL value. |
Modifier and Type | Method and Description |
---|---|
static Field.OneOfThemEmptyMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Field.OneOfThemEmptyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Field.OneOfThemEmptyMode EMPTY_UNKNOWN
oneOfThem
predicates to return UNKNOWN, like a scalar NULL value.public static final Field.OneOfThemEmptyMode EMPTY_NO_MATCHES
public static Field.OneOfThemEmptyMode[] values()
for (Field.OneOfThemEmptyMode c : Field.OneOfThemEmptyMode.values()) System.out.println(c);
public static Field.OneOfThemEmptyMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null