Package com.google.ortools.sat
Enum ConstraintProto.ConstraintCase
java.lang.Object
java.lang.Enum<ConstraintProto.ConstraintCase>
com.google.ortools.sat.ConstraintProto.ConstraintCase
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<ConstraintProto.ConstraintCase>,java.lang.constant.Constable
- Enclosing class:
- ConstraintProto
public static enum ConstraintProto.ConstraintCase extends java.lang.Enum<ConstraintProto.ConstraintCase> implements com.google.protobuf.Internal.EnumLite
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description ALL_DIFFAT_MOST_ONEAUTOMATONBOOL_ANDBOOL_ORBOOL_XORCIRCUITCONSTRAINT_NOT_SETCUMULATIVEELEMENTEXACTLY_ONEINT_DIVINT_MAXINT_MININT_MODINT_PRODINTERVALINVERSELIN_MAXLIN_MINLINEARNO_OVERLAPNO_OVERLAP_2DRESERVOIRROUTESTABLE -
Method Summary
Modifier and Type Method Description static ConstraintProto.ConstraintCaseforNumber(int value)intgetNumber()static ConstraintProto.ConstraintCasevalueOf(int value)Deprecated.static ConstraintProto.ConstraintCasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ConstraintProto.ConstraintCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
BOOL_OR
-
BOOL_AND
-
AT_MOST_ONE
-
EXACTLY_ONE
-
BOOL_XOR
-
INT_DIV
-
INT_MOD
-
INT_MAX
-
LIN_MAX
-
INT_MIN
-
LIN_MIN
-
INT_PROD
-
LINEAR
-
ALL_DIFF
-
ELEMENT
-
CIRCUIT
-
ROUTES
-
TABLE
-
AUTOMATON
-
INVERSE
-
RESERVOIR
-
INTERVAL
-
NO_OVERLAP
-
NO_OVERLAP_2D
-
CUMULATIVE
-
CONSTRAINT_NOT_SET
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
-
getNumber
public int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-