public static enum MPGeneralConstraintProto.GeneralConstraintCase extends java.lang.Enum<MPGeneralConstraintProto.GeneralConstraintCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
ABS_CONSTRAINT |
AND_CONSTRAINT |
GENERALCONSTRAINT_NOT_SET |
INDICATOR_CONSTRAINT |
MAX_CONSTRAINT |
MIN_CONSTRAINT |
OR_CONSTRAINT |
QUADRATIC_CONSTRAINT |
SOS_CONSTRAINT |
| Modifier and Type | Method and Description |
|---|---|
static MPGeneralConstraintProto.GeneralConstraintCase |
forNumber(int value) |
int |
getNumber() |
static MPGeneralConstraintProto.GeneralConstraintCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MPGeneralConstraintProto.GeneralConstraintCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MPGeneralConstraintProto.GeneralConstraintCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MPGeneralConstraintProto.GeneralConstraintCase INDICATOR_CONSTRAINT
public static final MPGeneralConstraintProto.GeneralConstraintCase SOS_CONSTRAINT
public static final MPGeneralConstraintProto.GeneralConstraintCase QUADRATIC_CONSTRAINT
public static final MPGeneralConstraintProto.GeneralConstraintCase ABS_CONSTRAINT
public static final MPGeneralConstraintProto.GeneralConstraintCase AND_CONSTRAINT
public static final MPGeneralConstraintProto.GeneralConstraintCase OR_CONSTRAINT
public static final MPGeneralConstraintProto.GeneralConstraintCase MIN_CONSTRAINT
public static final MPGeneralConstraintProto.GeneralConstraintCase MAX_CONSTRAINT
public static final MPGeneralConstraintProto.GeneralConstraintCase GENERALCONSTRAINT_NOT_SET
public static MPGeneralConstraintProto.GeneralConstraintCase[] values()
for (MPGeneralConstraintProto.GeneralConstraintCase c : MPGeneralConstraintProto.GeneralConstraintCase.values()) System.out.println(c);
public static MPGeneralConstraintProto.GeneralConstraintCase valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@Deprecated public static MPGeneralConstraintProto.GeneralConstraintCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static MPGeneralConstraintProto.GeneralConstraintCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2024. All rights reserved.