public static enum Constraint.ConstraintTypeCase extends Enum<Constraint.ConstraintTypeCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
| Enum Constant and Description |
|---|
BOOLEAN_CONSTRAINT |
CONSTRAINTTYPE_NOT_SET |
LIST_CONSTRAINT |
| Modifier and Type | Method and Description |
|---|---|
static Constraint.ConstraintTypeCase |
forNumber(int value) |
int |
getNumber() |
static Constraint.ConstraintTypeCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Constraint.ConstraintTypeCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constraint.ConstraintTypeCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constraint.ConstraintTypeCase LIST_CONSTRAINT
public static final Constraint.ConstraintTypeCase BOOLEAN_CONSTRAINT
public static final Constraint.ConstraintTypeCase CONSTRAINTTYPE_NOT_SET
public static Constraint.ConstraintTypeCase[] values()
for (Constraint.ConstraintTypeCase c : Constraint.ConstraintTypeCase.values()) System.out.println(c);
public static Constraint.ConstraintTypeCase 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@Deprecated public static Constraint.ConstraintTypeCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Constraint.ConstraintTypeCase forNumber(int value)
public int getNumber()
getNumber in interface AbstractMessageLite.InternalOneOfEnumgetNumber in interface Internal.EnumLiteCopyright © 2021 Google LLC. All rights reserved.