Package com.google.ortools.sat
Class ConstraintProto
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ortools.sat.ConstraintProto
-
- All Implemented Interfaces:
ConstraintProtoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class ConstraintProto extends com.google.protobuf.GeneratedMessageV3 implements ConstraintProtoOrBuilder
Next id: 31
Protobuf typeoperations_research.sat.ConstraintProto- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConstraintProto.BuilderNext id: 31static classConstraintProto.ConstraintCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intALL_DIFF_FIELD_NUMBERstatic intAT_MOST_ONE_FIELD_NUMBERstatic intAUTOMATON_FIELD_NUMBERstatic intBOOL_AND_FIELD_NUMBERstatic intBOOL_OR_FIELD_NUMBERstatic intBOOL_XOR_FIELD_NUMBERstatic intCIRCUIT_FIELD_NUMBERstatic intCUMULATIVE_FIELD_NUMBERstatic intDUMMY_CONSTRAINT_FIELD_NUMBERstatic intELEMENT_FIELD_NUMBERstatic intENFORCEMENT_LITERAL_FIELD_NUMBERstatic intEXACTLY_ONE_FIELD_NUMBERstatic intINT_DIV_FIELD_NUMBERstatic intINT_MOD_FIELD_NUMBERstatic intINT_PROD_FIELD_NUMBERstatic intINTERVAL_FIELD_NUMBERstatic intINVERSE_FIELD_NUMBERstatic intLIN_MAX_FIELD_NUMBERstatic intLINEAR_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNO_OVERLAP_2D_FIELD_NUMBERstatic intNO_OVERLAP_FIELD_NUMBERstatic intRESERVOIR_FIELD_NUMBERstatic intROUTES_FIELD_NUMBERstatic intTABLE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)AllDifferentConstraintProtogetAllDiff()The all_diff constraint forces all variables to take different values.AllDifferentConstraintProtoOrBuildergetAllDiffOrBuilder()The all_diff constraint forces all variables to take different values.BoolArgumentProtogetAtMostOne()The at_most_one constraint enforces that no more than one literal is true at the same time.BoolArgumentProtoOrBuildergetAtMostOneOrBuilder()The at_most_one constraint enforces that no more than one literal is true at the same time.AutomatonConstraintProtogetAutomaton()The automaton constraint forces a sequence of variables to be accepted by an automaton.AutomatonConstraintProtoOrBuildergetAutomatonOrBuilder()The automaton constraint forces a sequence of variables to be accepted by an automaton.BoolArgumentProtogetBoolAnd()The bool_and constraint forces all of the literals to be true.BoolArgumentProtoOrBuildergetBoolAndOrBuilder()The bool_and constraint forces all of the literals to be true.BoolArgumentProtogetBoolOr()The bool_or constraint forces at least one literal to be true.BoolArgumentProtoOrBuildergetBoolOrOrBuilder()The bool_or constraint forces at least one literal to be true.BoolArgumentProtogetBoolXor()The bool_xor constraint forces an odd number of the literals to be true.BoolArgumentProtoOrBuildergetBoolXorOrBuilder()The bool_xor constraint forces an odd number of the literals to be true.CircuitConstraintProtogetCircuit()The circuit constraint takes a graph and forces the arcs present (with arc presence indicated by a literal) to form a unique cycle.CircuitConstraintProtoOrBuildergetCircuitOrBuilder()The circuit constraint takes a graph and forces the arcs present (with arc presence indicated by a literal) to form a unique cycle.ConstraintProto.ConstraintCasegetConstraintCase()CumulativeConstraintProtogetCumulative()The cumulative constraint ensures that for any integer point, the sum of the demands of the intervals containing that point does not exceed the capacity.CumulativeConstraintProtoOrBuildergetCumulativeOrBuilder()The cumulative constraint ensures that for any integer point, the sum of the demands of the intervals containing that point does not exceed the capacity.static ConstraintProtogetDefaultInstance()ConstraintProtogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()ListOfVariablesProtogetDummyConstraint()This constraint is not meant to be used and will be rejected by the solver.ListOfVariablesProtoOrBuildergetDummyConstraintOrBuilder()This constraint is not meant to be used and will be rejected by the solver.ElementConstraintProtogetElement()The element constraint forces the variable with the given index to be equal to the target.ElementConstraintProtoOrBuildergetElementOrBuilder()The element constraint forces the variable with the given index to be equal to the target.intgetEnforcementLiteral(int index)The constraint will be enforced iff all literals listed here are true.intgetEnforcementLiteralCount()The constraint will be enforced iff all literals listed here are true.java.util.List<java.lang.Integer>getEnforcementLiteralList()The constraint will be enforced iff all literals listed here are true.BoolArgumentProtogetExactlyOne()The exactly_one constraint force exactly one literal to true and no more.BoolArgumentProtoOrBuildergetExactlyOneOrBuilder()The exactly_one constraint force exactly one literal to true and no more.LinearArgumentProtogetIntDiv()The int_div constraint forces the target to equal exprs[0] / exprs[1].LinearArgumentProtoOrBuildergetIntDivOrBuilder()The int_div constraint forces the target to equal exprs[0] / exprs[1].IntervalConstraintProtogetInterval()The interval constraint takes a start, end, and size, and forces start + size == end.IntervalConstraintProtoOrBuildergetIntervalOrBuilder()The interval constraint takes a start, end, and size, and forces start + size == end.LinearArgumentProtogetIntMod()The int_mod constraint forces the target to equal exprs[0] % exprs[1].LinearArgumentProtoOrBuildergetIntModOrBuilder()The int_mod constraint forces the target to equal exprs[0] % exprs[1].LinearArgumentProtogetIntProd()The int_prod constraint forces the target to equal the product of all variables.LinearArgumentProtoOrBuildergetIntProdOrBuilder()The int_prod constraint forces the target to equal the product of all variables.InverseConstraintProtogetInverse()The inverse constraint forces two arrays to be inverses of each other: the values of one are the indices of the other, and vice versa.InverseConstraintProtoOrBuildergetInverseOrBuilder()The inverse constraint forces two arrays to be inverses of each other: the values of one are the indices of the other, and vice versa.LinearConstraintProtogetLinear()The linear constraint enforces a linear inequality among the variables, such as 0 <= x + 2y <= 10.LinearConstraintProtoOrBuildergetLinearOrBuilder()The linear constraint enforces a linear inequality among the variables, such as 0 <= x + 2y <= 10.LinearArgumentProtogetLinMax()The lin_max constraint forces the target to equal the maximum of all linear expressions.LinearArgumentProtoOrBuildergetLinMaxOrBuilder()The lin_max constraint forces the target to equal the maximum of all linear expressions.java.lang.StringgetName()For debug/logging only.com.google.protobuf.ByteStringgetNameBytes()For debug/logging only.NoOverlapConstraintProtogetNoOverlap()The no_overlap constraint prevents a set of intervals from overlapping; in scheduling, this is called a disjunctive constraint.NoOverlap2DConstraintProtogetNoOverlap2D()The no_overlap_2d constraint prevents a set of boxes from overlapping.NoOverlap2DConstraintProtoOrBuildergetNoOverlap2DOrBuilder()The no_overlap_2d constraint prevents a set of boxes from overlapping.NoOverlapConstraintProtoOrBuildergetNoOverlapOrBuilder()The no_overlap constraint prevents a set of intervals from overlapping; in scheduling, this is called a disjunctive constraint.com.google.protobuf.Parser<ConstraintProto>getParserForType()ReservoirConstraintProtogetReservoir()The reservoir constraint forces the sum of a set of active demands to always be between a specified minimum and maximum value during specific times.ReservoirConstraintProtoOrBuildergetReservoirOrBuilder()The reservoir constraint forces the sum of a set of active demands to always be between a specified minimum and maximum value during specific times.RoutesConstraintProtogetRoutes()The routes constraint implements the vehicle routing problem.RoutesConstraintProtoOrBuildergetRoutesOrBuilder()The routes constraint implements the vehicle routing problem.intgetSerializedSize()TableConstraintProtogetTable()The table constraint enforces what values a tuple of variables may take.TableConstraintProtoOrBuildergetTableOrBuilder()The table constraint enforces what values a tuple of variables may take.booleanhasAllDiff()The all_diff constraint forces all variables to take different values.booleanhasAtMostOne()The at_most_one constraint enforces that no more than one literal is true at the same time.booleanhasAutomaton()The automaton constraint forces a sequence of variables to be accepted by an automaton.booleanhasBoolAnd()The bool_and constraint forces all of the literals to be true.booleanhasBoolOr()The bool_or constraint forces at least one literal to be true.booleanhasBoolXor()The bool_xor constraint forces an odd number of the literals to be true.booleanhasCircuit()The circuit constraint takes a graph and forces the arcs present (with arc presence indicated by a literal) to form a unique cycle.booleanhasCumulative()The cumulative constraint ensures that for any integer point, the sum of the demands of the intervals containing that point does not exceed the capacity.booleanhasDummyConstraint()This constraint is not meant to be used and will be rejected by the solver.booleanhasElement()The element constraint forces the variable with the given index to be equal to the target.booleanhasExactlyOne()The exactly_one constraint force exactly one literal to true and no more.inthashCode()booleanhasIntDiv()The int_div constraint forces the target to equal exprs[0] / exprs[1].booleanhasInterval()The interval constraint takes a start, end, and size, and forces start + size == end.booleanhasIntMod()The int_mod constraint forces the target to equal exprs[0] % exprs[1].booleanhasIntProd()The int_prod constraint forces the target to equal the product of all variables.booleanhasInverse()The inverse constraint forces two arrays to be inverses of each other: the values of one are the indices of the other, and vice versa.booleanhasLinear()The linear constraint enforces a linear inequality among the variables, such as 0 <= x + 2y <= 10.booleanhasLinMax()The lin_max constraint forces the target to equal the maximum of all linear expressions.booleanhasNoOverlap()The no_overlap constraint prevents a set of intervals from overlapping; in scheduling, this is called a disjunctive constraint.booleanhasNoOverlap2D()The no_overlap_2d constraint prevents a set of boxes from overlapping.booleanhasReservoir()The reservoir constraint forces the sum of a set of active demands to always be between a specified minimum and maximum value during specific times.booleanhasRoutes()The routes constraint implements the vehicle routing problem.booleanhasTable()The table constraint enforces what values a tuple of variables may take.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ConstraintProto.BuildernewBuilder()static ConstraintProto.BuildernewBuilder(ConstraintProto prototype)ConstraintProto.BuildernewBuilderForType()protected ConstraintProto.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ConstraintProtoparseDelimitedFrom(java.io.InputStream input)static ConstraintProtoparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConstraintProtoparseFrom(byte[] data)static ConstraintProtoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConstraintProtoparseFrom(com.google.protobuf.ByteString data)static ConstraintProtoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConstraintProtoparseFrom(com.google.protobuf.CodedInputStream input)static ConstraintProtoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConstraintProtoparseFrom(java.io.InputStream input)static ConstraintProtoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConstraintProtoparseFrom(java.nio.ByteBuffer data)static ConstraintProtoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ConstraintProto>parser()ConstraintProto.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENFORCEMENT_LITERAL_FIELD_NUMBER
public static final int ENFORCEMENT_LITERAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BOOL_OR_FIELD_NUMBER
public static final int BOOL_OR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BOOL_AND_FIELD_NUMBER
public static final int BOOL_AND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AT_MOST_ONE_FIELD_NUMBER
public static final int AT_MOST_ONE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXACTLY_ONE_FIELD_NUMBER
public static final int EXACTLY_ONE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BOOL_XOR_FIELD_NUMBER
public static final int BOOL_XOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INT_DIV_FIELD_NUMBER
public static final int INT_DIV_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INT_MOD_FIELD_NUMBER
public static final int INT_MOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INT_PROD_FIELD_NUMBER
public static final int INT_PROD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIN_MAX_FIELD_NUMBER
public static final int LIN_MAX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LINEAR_FIELD_NUMBER
public static final int LINEAR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALL_DIFF_FIELD_NUMBER
public static final int ALL_DIFF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ELEMENT_FIELD_NUMBER
public static final int ELEMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CIRCUIT_FIELD_NUMBER
public static final int CIRCUIT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROUTES_FIELD_NUMBER
public static final int ROUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TABLE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTOMATON_FIELD_NUMBER
public static final int AUTOMATON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INVERSE_FIELD_NUMBER
public static final int INVERSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESERVOIR_FIELD_NUMBER
public static final int RESERVOIR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTERVAL_FIELD_NUMBER
public static final int INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NO_OVERLAP_FIELD_NUMBER
public static final int NO_OVERLAP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NO_OVERLAP_2D_FIELD_NUMBER
public static final int NO_OVERLAP_2D_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUMULATIVE_FIELD_NUMBER
public static final int CUMULATIVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DUMMY_CONSTRAINT_FIELD_NUMBER
public static final int DUMMY_CONSTRAINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getConstraintCase
public ConstraintProto.ConstraintCase getConstraintCase()
- Specified by:
getConstraintCasein interfaceConstraintProtoOrBuilder
-
getName
public java.lang.String getName()
For debug/logging only. Can be empty.
string name = 1;- Specified by:
getNamein interfaceConstraintProtoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
For debug/logging only. Can be empty.
string name = 1;- Specified by:
getNameBytesin interfaceConstraintProtoOrBuilder- Returns:
- The bytes for name.
-
getEnforcementLiteralList
public java.util.List<java.lang.Integer> getEnforcementLiteralList()
The constraint will be enforced iff all literals listed here are true. If this is empty, then the constraint will always be enforced. An enforced constraint must be satisfied, and an un-enforced one will simply be ignored. This is also called half-reification. To have an equivalence between a literal and a constraint (full reification), one must add both a constraint (controlled by a literal l) and its negation (controlled by the negation of l). Important: as of September 2018, only a few constraint support enforcement: - bool_or, bool_and, linear: fully supported. - interval: only support a single enforcement literal. - other: no support (but can be added on a per-demand basis).
repeated int32 enforcement_literal = 2;- Specified by:
getEnforcementLiteralListin interfaceConstraintProtoOrBuilder- Returns:
- A list containing the enforcementLiteral.
-
getEnforcementLiteralCount
public int getEnforcementLiteralCount()
The constraint will be enforced iff all literals listed here are true. If this is empty, then the constraint will always be enforced. An enforced constraint must be satisfied, and an un-enforced one will simply be ignored. This is also called half-reification. To have an equivalence between a literal and a constraint (full reification), one must add both a constraint (controlled by a literal l) and its negation (controlled by the negation of l). Important: as of September 2018, only a few constraint support enforcement: - bool_or, bool_and, linear: fully supported. - interval: only support a single enforcement literal. - other: no support (but can be added on a per-demand basis).
repeated int32 enforcement_literal = 2;- Specified by:
getEnforcementLiteralCountin interfaceConstraintProtoOrBuilder- Returns:
- The count of enforcementLiteral.
-
getEnforcementLiteral
public int getEnforcementLiteral(int index)
The constraint will be enforced iff all literals listed here are true. If this is empty, then the constraint will always be enforced. An enforced constraint must be satisfied, and an un-enforced one will simply be ignored. This is also called half-reification. To have an equivalence between a literal and a constraint (full reification), one must add both a constraint (controlled by a literal l) and its negation (controlled by the negation of l). Important: as of September 2018, only a few constraint support enforcement: - bool_or, bool_and, linear: fully supported. - interval: only support a single enforcement literal. - other: no support (but can be added on a per-demand basis).
repeated int32 enforcement_literal = 2;- Specified by:
getEnforcementLiteralin interfaceConstraintProtoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The enforcementLiteral at the given index.
-
hasBoolOr
public boolean hasBoolOr()
The bool_or constraint forces at least one literal to be true.
.operations_research.sat.BoolArgumentProto bool_or = 3;- Specified by:
hasBoolOrin interfaceConstraintProtoOrBuilder- Returns:
- Whether the boolOr field is set.
-
getBoolOr
public BoolArgumentProto getBoolOr()
The bool_or constraint forces at least one literal to be true.
.operations_research.sat.BoolArgumentProto bool_or = 3;- Specified by:
getBoolOrin interfaceConstraintProtoOrBuilder- Returns:
- The boolOr.
-
getBoolOrOrBuilder
public BoolArgumentProtoOrBuilder getBoolOrOrBuilder()
The bool_or constraint forces at least one literal to be true.
.operations_research.sat.BoolArgumentProto bool_or = 3;- Specified by:
getBoolOrOrBuilderin interfaceConstraintProtoOrBuilder
-
hasBoolAnd
public boolean hasBoolAnd()
The bool_and constraint forces all of the literals to be true. This is a "redundant" constraint in the sense that this can easily be encoded with many bool_or or at_most_one. It is just more space efficient and handled slightly differently internally.
.operations_research.sat.BoolArgumentProto bool_and = 4;- Specified by:
hasBoolAndin interfaceConstraintProtoOrBuilder- Returns:
- Whether the boolAnd field is set.
-
getBoolAnd
public BoolArgumentProto getBoolAnd()
The bool_and constraint forces all of the literals to be true. This is a "redundant" constraint in the sense that this can easily be encoded with many bool_or or at_most_one. It is just more space efficient and handled slightly differently internally.
.operations_research.sat.BoolArgumentProto bool_and = 4;- Specified by:
getBoolAndin interfaceConstraintProtoOrBuilder- Returns:
- The boolAnd.
-
getBoolAndOrBuilder
public BoolArgumentProtoOrBuilder getBoolAndOrBuilder()
The bool_and constraint forces all of the literals to be true. This is a "redundant" constraint in the sense that this can easily be encoded with many bool_or or at_most_one. It is just more space efficient and handled slightly differently internally.
.operations_research.sat.BoolArgumentProto bool_and = 4;- Specified by:
getBoolAndOrBuilderin interfaceConstraintProtoOrBuilder
-
hasAtMostOne
public boolean hasAtMostOne()
The at_most_one constraint enforces that no more than one literal is true at the same time. Note that an at most one constraint of length n could be encoded with n bool_and constraint with n-1 term on the right hand side. So in a sense, this constraint contribute directly to the "implication-graph" or the 2-SAT part of the model. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto at_most_one = 26;- Specified by:
hasAtMostOnein interfaceConstraintProtoOrBuilder- Returns:
- Whether the atMostOne field is set.
-
getAtMostOne
public BoolArgumentProto getAtMostOne()
The at_most_one constraint enforces that no more than one literal is true at the same time. Note that an at most one constraint of length n could be encoded with n bool_and constraint with n-1 term on the right hand side. So in a sense, this constraint contribute directly to the "implication-graph" or the 2-SAT part of the model. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto at_most_one = 26;- Specified by:
getAtMostOnein interfaceConstraintProtoOrBuilder- Returns:
- The atMostOne.
-
getAtMostOneOrBuilder
public BoolArgumentProtoOrBuilder getAtMostOneOrBuilder()
The at_most_one constraint enforces that no more than one literal is true at the same time. Note that an at most one constraint of length n could be encoded with n bool_and constraint with n-1 term on the right hand side. So in a sense, this constraint contribute directly to the "implication-graph" or the 2-SAT part of the model. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto at_most_one = 26;- Specified by:
getAtMostOneOrBuilderin interfaceConstraintProtoOrBuilder
-
hasExactlyOne
public boolean hasExactlyOne()
The exactly_one constraint force exactly one literal to true and no more. Anytime a bool_or (it could have been called at_least_one) is included into an at_most_one, then the bool_or is actually an exactly one constraint, and the extra literal in the at_most_one can be set to false. So in this sense, this constraint is not really needed. it is just here for a better description of the problem structure and to facilitate some algorithm. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto exactly_one = 29;- Specified by:
hasExactlyOnein interfaceConstraintProtoOrBuilder- Returns:
- Whether the exactlyOne field is set.
-
getExactlyOne
public BoolArgumentProto getExactlyOne()
The exactly_one constraint force exactly one literal to true and no more. Anytime a bool_or (it could have been called at_least_one) is included into an at_most_one, then the bool_or is actually an exactly one constraint, and the extra literal in the at_most_one can be set to false. So in this sense, this constraint is not really needed. it is just here for a better description of the problem structure and to facilitate some algorithm. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto exactly_one = 29;- Specified by:
getExactlyOnein interfaceConstraintProtoOrBuilder- Returns:
- The exactlyOne.
-
getExactlyOneOrBuilder
public BoolArgumentProtoOrBuilder getExactlyOneOrBuilder()
The exactly_one constraint force exactly one literal to true and no more. Anytime a bool_or (it could have been called at_least_one) is included into an at_most_one, then the bool_or is actually an exactly one constraint, and the extra literal in the at_most_one can be set to false. So in this sense, this constraint is not really needed. it is just here for a better description of the problem structure and to facilitate some algorithm. This constraint does not support enforcement_literal. Just use a linear constraint if you need to enforce it. You also do not need to use it directly, we will extract it from the model in most situations.
.operations_research.sat.BoolArgumentProto exactly_one = 29;- Specified by:
getExactlyOneOrBuilderin interfaceConstraintProtoOrBuilder
-
hasBoolXor
public boolean hasBoolXor()
The bool_xor constraint forces an odd number of the literals to be true.
.operations_research.sat.BoolArgumentProto bool_xor = 5;- Specified by:
hasBoolXorin interfaceConstraintProtoOrBuilder- Returns:
- Whether the boolXor field is set.
-
getBoolXor
public BoolArgumentProto getBoolXor()
The bool_xor constraint forces an odd number of the literals to be true.
.operations_research.sat.BoolArgumentProto bool_xor = 5;- Specified by:
getBoolXorin interfaceConstraintProtoOrBuilder- Returns:
- The boolXor.
-
getBoolXorOrBuilder
public BoolArgumentProtoOrBuilder getBoolXorOrBuilder()
The bool_xor constraint forces an odd number of the literals to be true.
.operations_research.sat.BoolArgumentProto bool_xor = 5;- Specified by:
getBoolXorOrBuilderin interfaceConstraintProtoOrBuilder
-
hasIntDiv
public boolean hasIntDiv()
The int_div constraint forces the target to equal exprs[0] / exprs[1]. The division is "rounded" towards zero, so we can have for instance (2 = 12 / 5) or (-3 = -10 / 3). If you only want exact integer division, then you should use instead of t = a / b, the int_prod constraint a = b * t. If 0 belongs to the domain of exprs[1], then the model is deemed invalid.
.operations_research.sat.LinearArgumentProto int_div = 7;- Specified by:
hasIntDivin interfaceConstraintProtoOrBuilder- Returns:
- Whether the intDiv field is set.
-
getIntDiv
public LinearArgumentProto getIntDiv()
The int_div constraint forces the target to equal exprs[0] / exprs[1]. The division is "rounded" towards zero, so we can have for instance (2 = 12 / 5) or (-3 = -10 / 3). If you only want exact integer division, then you should use instead of t = a / b, the int_prod constraint a = b * t. If 0 belongs to the domain of exprs[1], then the model is deemed invalid.
.operations_research.sat.LinearArgumentProto int_div = 7;- Specified by:
getIntDivin interfaceConstraintProtoOrBuilder- Returns:
- The intDiv.
-
getIntDivOrBuilder
public LinearArgumentProtoOrBuilder getIntDivOrBuilder()
The int_div constraint forces the target to equal exprs[0] / exprs[1]. The division is "rounded" towards zero, so we can have for instance (2 = 12 / 5) or (-3 = -10 / 3). If you only want exact integer division, then you should use instead of t = a / b, the int_prod constraint a = b * t. If 0 belongs to the domain of exprs[1], then the model is deemed invalid.
.operations_research.sat.LinearArgumentProto int_div = 7;- Specified by:
getIntDivOrBuilderin interfaceConstraintProtoOrBuilder
-
hasIntMod
public boolean hasIntMod()
The int_mod constraint forces the target to equal exprs[0] % exprs[1]. The domain of exprs[1] must be strictly positive. The sign of the target is the same as the sign of exprs[0].
.operations_research.sat.LinearArgumentProto int_mod = 8;- Specified by:
hasIntModin interfaceConstraintProtoOrBuilder- Returns:
- Whether the intMod field is set.
-
getIntMod
public LinearArgumentProto getIntMod()
The int_mod constraint forces the target to equal exprs[0] % exprs[1]. The domain of exprs[1] must be strictly positive. The sign of the target is the same as the sign of exprs[0].
.operations_research.sat.LinearArgumentProto int_mod = 8;- Specified by:
getIntModin interfaceConstraintProtoOrBuilder- Returns:
- The intMod.
-
getIntModOrBuilder
public LinearArgumentProtoOrBuilder getIntModOrBuilder()
The int_mod constraint forces the target to equal exprs[0] % exprs[1]. The domain of exprs[1] must be strictly positive. The sign of the target is the same as the sign of exprs[0].
.operations_research.sat.LinearArgumentProto int_mod = 8;- Specified by:
getIntModOrBuilderin interfaceConstraintProtoOrBuilder
-
hasIntProd
public boolean hasIntProd()
The int_prod constraint forces the target to equal the product of all variables. By convention, because we can just remove term equal to one, the empty product forces the target to be one. Note that the solver checks for potential integer overflow. So the product of the maximum absolute value of all the terms (using the initial domain) should fit on an int64. Otherwise the model will be declared invalid.
.operations_research.sat.LinearArgumentProto int_prod = 11;- Specified by:
hasIntProdin interfaceConstraintProtoOrBuilder- Returns:
- Whether the intProd field is set.
-
getIntProd
public LinearArgumentProto getIntProd()
The int_prod constraint forces the target to equal the product of all variables. By convention, because we can just remove term equal to one, the empty product forces the target to be one. Note that the solver checks for potential integer overflow. So the product of the maximum absolute value of all the terms (using the initial domain) should fit on an int64. Otherwise the model will be declared invalid.
.operations_research.sat.LinearArgumentProto int_prod = 11;- Specified by:
getIntProdin interfaceConstraintProtoOrBuilder- Returns:
- The intProd.
-
getIntProdOrBuilder
public LinearArgumentProtoOrBuilder getIntProdOrBuilder()
The int_prod constraint forces the target to equal the product of all variables. By convention, because we can just remove term equal to one, the empty product forces the target to be one. Note that the solver checks for potential integer overflow. So the product of the maximum absolute value of all the terms (using the initial domain) should fit on an int64. Otherwise the model will be declared invalid.
.operations_research.sat.LinearArgumentProto int_prod = 11;- Specified by:
getIntProdOrBuilderin interfaceConstraintProtoOrBuilder
-
hasLinMax
public boolean hasLinMax()
The lin_max constraint forces the target to equal the maximum of all linear expressions. Note that this can model a minimum simply by negating all expressions.
.operations_research.sat.LinearArgumentProto lin_max = 27;- Specified by:
hasLinMaxin interfaceConstraintProtoOrBuilder- Returns:
- Whether the linMax field is set.
-
getLinMax
public LinearArgumentProto getLinMax()
The lin_max constraint forces the target to equal the maximum of all linear expressions. Note that this can model a minimum simply by negating all expressions.
.operations_research.sat.LinearArgumentProto lin_max = 27;- Specified by:
getLinMaxin interfaceConstraintProtoOrBuilder- Returns:
- The linMax.
-
getLinMaxOrBuilder
public LinearArgumentProtoOrBuilder getLinMaxOrBuilder()
The lin_max constraint forces the target to equal the maximum of all linear expressions. Note that this can model a minimum simply by negating all expressions.
.operations_research.sat.LinearArgumentProto lin_max = 27;- Specified by:
getLinMaxOrBuilderin interfaceConstraintProtoOrBuilder
-
hasLinear
public boolean hasLinear()
The linear constraint enforces a linear inequality among the variables, such as 0 <= x + 2y <= 10.
.operations_research.sat.LinearConstraintProto linear = 12;- Specified by:
hasLinearin interfaceConstraintProtoOrBuilder- Returns:
- Whether the linear field is set.
-
getLinear
public LinearConstraintProto getLinear()
The linear constraint enforces a linear inequality among the variables, such as 0 <= x + 2y <= 10.
.operations_research.sat.LinearConstraintProto linear = 12;- Specified by:
getLinearin interfaceConstraintProtoOrBuilder- Returns:
- The linear.
-
getLinearOrBuilder
public LinearConstraintProtoOrBuilder getLinearOrBuilder()
The linear constraint enforces a linear inequality among the variables, such as 0 <= x + 2y <= 10.
.operations_research.sat.LinearConstraintProto linear = 12;- Specified by:
getLinearOrBuilderin interfaceConstraintProtoOrBuilder
-
hasAllDiff
public boolean hasAllDiff()
The all_diff constraint forces all variables to take different values.
.operations_research.sat.AllDifferentConstraintProto all_diff = 13;- Specified by:
hasAllDiffin interfaceConstraintProtoOrBuilder- Returns:
- Whether the allDiff field is set.
-
getAllDiff
public AllDifferentConstraintProto getAllDiff()
The all_diff constraint forces all variables to take different values.
.operations_research.sat.AllDifferentConstraintProto all_diff = 13;- Specified by:
getAllDiffin interfaceConstraintProtoOrBuilder- Returns:
- The allDiff.
-
getAllDiffOrBuilder
public AllDifferentConstraintProtoOrBuilder getAllDiffOrBuilder()
The all_diff constraint forces all variables to take different values.
.operations_research.sat.AllDifferentConstraintProto all_diff = 13;- Specified by:
getAllDiffOrBuilderin interfaceConstraintProtoOrBuilder
-
hasElement
public boolean hasElement()
The element constraint forces the variable with the given index to be equal to the target.
.operations_research.sat.ElementConstraintProto element = 14;- Specified by:
hasElementin interfaceConstraintProtoOrBuilder- Returns:
- Whether the element field is set.
-
getElement
public ElementConstraintProto getElement()
The element constraint forces the variable with the given index to be equal to the target.
.operations_research.sat.ElementConstraintProto element = 14;- Specified by:
getElementin interfaceConstraintProtoOrBuilder- Returns:
- The element.
-
getElementOrBuilder
public ElementConstraintProtoOrBuilder getElementOrBuilder()
The element constraint forces the variable with the given index to be equal to the target.
.operations_research.sat.ElementConstraintProto element = 14;- Specified by:
getElementOrBuilderin interfaceConstraintProtoOrBuilder
-
hasCircuit
public boolean hasCircuit()
The circuit constraint takes a graph and forces the arcs present (with arc presence indicated by a literal) to form a unique cycle.
.operations_research.sat.CircuitConstraintProto circuit = 15;- Specified by:
hasCircuitin interfaceConstraintProtoOrBuilder- Returns:
- Whether the circuit field is set.
-
getCircuit
public CircuitConstraintProto getCircuit()
The circuit constraint takes a graph and forces the arcs present (with arc presence indicated by a literal) to form a unique cycle.
.operations_research.sat.CircuitConstraintProto circuit = 15;- Specified by:
getCircuitin interfaceConstraintProtoOrBuilder- Returns:
- The circuit.
-
getCircuitOrBuilder
public CircuitConstraintProtoOrBuilder getCircuitOrBuilder()
The circuit constraint takes a graph and forces the arcs present (with arc presence indicated by a literal) to form a unique cycle.
.operations_research.sat.CircuitConstraintProto circuit = 15;- Specified by:
getCircuitOrBuilderin interfaceConstraintProtoOrBuilder
-
hasRoutes
public boolean hasRoutes()
The routes constraint implements the vehicle routing problem.
.operations_research.sat.RoutesConstraintProto routes = 23;- Specified by:
hasRoutesin interfaceConstraintProtoOrBuilder- Returns:
- Whether the routes field is set.
-
getRoutes
public RoutesConstraintProto getRoutes()
The routes constraint implements the vehicle routing problem.
.operations_research.sat.RoutesConstraintProto routes = 23;- Specified by:
getRoutesin interfaceConstraintProtoOrBuilder- Returns:
- The routes.
-
getRoutesOrBuilder
public RoutesConstraintProtoOrBuilder getRoutesOrBuilder()
The routes constraint implements the vehicle routing problem.
.operations_research.sat.RoutesConstraintProto routes = 23;- Specified by:
getRoutesOrBuilderin interfaceConstraintProtoOrBuilder
-
hasTable
public boolean hasTable()
The table constraint enforces what values a tuple of variables may take.
.operations_research.sat.TableConstraintProto table = 16;- Specified by:
hasTablein interfaceConstraintProtoOrBuilder- Returns:
- Whether the table field is set.
-
getTable
public TableConstraintProto getTable()
The table constraint enforces what values a tuple of variables may take.
.operations_research.sat.TableConstraintProto table = 16;- Specified by:
getTablein interfaceConstraintProtoOrBuilder- Returns:
- The table.
-
getTableOrBuilder
public TableConstraintProtoOrBuilder getTableOrBuilder()
The table constraint enforces what values a tuple of variables may take.
.operations_research.sat.TableConstraintProto table = 16;- Specified by:
getTableOrBuilderin interfaceConstraintProtoOrBuilder
-
hasAutomaton
public boolean hasAutomaton()
The automaton constraint forces a sequence of variables to be accepted by an automaton.
.operations_research.sat.AutomatonConstraintProto automaton = 17;- Specified by:
hasAutomatonin interfaceConstraintProtoOrBuilder- Returns:
- Whether the automaton field is set.
-
getAutomaton
public AutomatonConstraintProto getAutomaton()
The automaton constraint forces a sequence of variables to be accepted by an automaton.
.operations_research.sat.AutomatonConstraintProto automaton = 17;- Specified by:
getAutomatonin interfaceConstraintProtoOrBuilder- Returns:
- The automaton.
-
getAutomatonOrBuilder
public AutomatonConstraintProtoOrBuilder getAutomatonOrBuilder()
The automaton constraint forces a sequence of variables to be accepted by an automaton.
.operations_research.sat.AutomatonConstraintProto automaton = 17;- Specified by:
getAutomatonOrBuilderin interfaceConstraintProtoOrBuilder
-
hasInverse
public boolean hasInverse()
The inverse constraint forces two arrays to be inverses of each other: the values of one are the indices of the other, and vice versa.
.operations_research.sat.InverseConstraintProto inverse = 18;- Specified by:
hasInversein interfaceConstraintProtoOrBuilder- Returns:
- Whether the inverse field is set.
-
getInverse
public InverseConstraintProto getInverse()
The inverse constraint forces two arrays to be inverses of each other: the values of one are the indices of the other, and vice versa.
.operations_research.sat.InverseConstraintProto inverse = 18;- Specified by:
getInversein interfaceConstraintProtoOrBuilder- Returns:
- The inverse.
-
getInverseOrBuilder
public InverseConstraintProtoOrBuilder getInverseOrBuilder()
The inverse constraint forces two arrays to be inverses of each other: the values of one are the indices of the other, and vice versa.
.operations_research.sat.InverseConstraintProto inverse = 18;- Specified by:
getInverseOrBuilderin interfaceConstraintProtoOrBuilder
-
hasReservoir
public boolean hasReservoir()
The reservoir constraint forces the sum of a set of active demands to always be between a specified minimum and maximum value during specific times.
.operations_research.sat.ReservoirConstraintProto reservoir = 24;- Specified by:
hasReservoirin interfaceConstraintProtoOrBuilder- Returns:
- Whether the reservoir field is set.
-
getReservoir
public ReservoirConstraintProto getReservoir()
The reservoir constraint forces the sum of a set of active demands to always be between a specified minimum and maximum value during specific times.
.operations_research.sat.ReservoirConstraintProto reservoir = 24;- Specified by:
getReservoirin interfaceConstraintProtoOrBuilder- Returns:
- The reservoir.
-
getReservoirOrBuilder
public ReservoirConstraintProtoOrBuilder getReservoirOrBuilder()
The reservoir constraint forces the sum of a set of active demands to always be between a specified minimum and maximum value during specific times.
.operations_research.sat.ReservoirConstraintProto reservoir = 24;- Specified by:
getReservoirOrBuilderin interfaceConstraintProtoOrBuilder
-
hasInterval
public boolean hasInterval()
The interval constraint takes a start, end, and size, and forces start + size == end.
.operations_research.sat.IntervalConstraintProto interval = 19;- Specified by:
hasIntervalin interfaceConstraintProtoOrBuilder- Returns:
- Whether the interval field is set.
-
getInterval
public IntervalConstraintProto getInterval()
The interval constraint takes a start, end, and size, and forces start + size == end.
.operations_research.sat.IntervalConstraintProto interval = 19;- Specified by:
getIntervalin interfaceConstraintProtoOrBuilder- Returns:
- The interval.
-
getIntervalOrBuilder
public IntervalConstraintProtoOrBuilder getIntervalOrBuilder()
The interval constraint takes a start, end, and size, and forces start + size == end.
.operations_research.sat.IntervalConstraintProto interval = 19;- Specified by:
getIntervalOrBuilderin interfaceConstraintProtoOrBuilder
-
hasNoOverlap
public boolean hasNoOverlap()
The no_overlap constraint prevents a set of intervals from overlapping; in scheduling, this is called a disjunctive constraint.
.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;- Specified by:
hasNoOverlapin interfaceConstraintProtoOrBuilder- Returns:
- Whether the noOverlap field is set.
-
getNoOverlap
public NoOverlapConstraintProto getNoOverlap()
The no_overlap constraint prevents a set of intervals from overlapping; in scheduling, this is called a disjunctive constraint.
.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;- Specified by:
getNoOverlapin interfaceConstraintProtoOrBuilder- Returns:
- The noOverlap.
-
getNoOverlapOrBuilder
public NoOverlapConstraintProtoOrBuilder getNoOverlapOrBuilder()
The no_overlap constraint prevents a set of intervals from overlapping; in scheduling, this is called a disjunctive constraint.
.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;- Specified by:
getNoOverlapOrBuilderin interfaceConstraintProtoOrBuilder
-
hasNoOverlap2D
public boolean hasNoOverlap2D()
The no_overlap_2d constraint prevents a set of boxes from overlapping.
.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;- Specified by:
hasNoOverlap2Din interfaceConstraintProtoOrBuilder- Returns:
- Whether the noOverlap2d field is set.
-
getNoOverlap2D
public NoOverlap2DConstraintProto getNoOverlap2D()
The no_overlap_2d constraint prevents a set of boxes from overlapping.
.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;- Specified by:
getNoOverlap2Din interfaceConstraintProtoOrBuilder- Returns:
- The noOverlap2d.
-
getNoOverlap2DOrBuilder
public NoOverlap2DConstraintProtoOrBuilder getNoOverlap2DOrBuilder()
The no_overlap_2d constraint prevents a set of boxes from overlapping.
.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;- Specified by:
getNoOverlap2DOrBuilderin interfaceConstraintProtoOrBuilder
-
hasCumulative
public boolean hasCumulative()
The cumulative constraint ensures that for any integer point, the sum of the demands of the intervals containing that point does not exceed the capacity.
.operations_research.sat.CumulativeConstraintProto cumulative = 22;- Specified by:
hasCumulativein interfaceConstraintProtoOrBuilder- Returns:
- Whether the cumulative field is set.
-
getCumulative
public CumulativeConstraintProto getCumulative()
The cumulative constraint ensures that for any integer point, the sum of the demands of the intervals containing that point does not exceed the capacity.
.operations_research.sat.CumulativeConstraintProto cumulative = 22;- Specified by:
getCumulativein interfaceConstraintProtoOrBuilder- Returns:
- The cumulative.
-
getCumulativeOrBuilder
public CumulativeConstraintProtoOrBuilder getCumulativeOrBuilder()
The cumulative constraint ensures that for any integer point, the sum of the demands of the intervals containing that point does not exceed the capacity.
.operations_research.sat.CumulativeConstraintProto cumulative = 22;- Specified by:
getCumulativeOrBuilderin interfaceConstraintProtoOrBuilder
-
hasDummyConstraint
public boolean hasDummyConstraint()
This constraint is not meant to be used and will be rejected by the solver. It is meant to mark variable when testing the presolve code.
.operations_research.sat.ListOfVariablesProto dummy_constraint = 30;- Specified by:
hasDummyConstraintin interfaceConstraintProtoOrBuilder- Returns:
- Whether the dummyConstraint field is set.
-
getDummyConstraint
public ListOfVariablesProto getDummyConstraint()
This constraint is not meant to be used and will be rejected by the solver. It is meant to mark variable when testing the presolve code.
.operations_research.sat.ListOfVariablesProto dummy_constraint = 30;- Specified by:
getDummyConstraintin interfaceConstraintProtoOrBuilder- Returns:
- The dummyConstraint.
-
getDummyConstraintOrBuilder
public ListOfVariablesProtoOrBuilder getDummyConstraintOrBuilder()
This constraint is not meant to be used and will be rejected by the solver. It is meant to mark variable when testing the presolve code.
.operations_research.sat.ListOfVariablesProto dummy_constraint = 30;- Specified by:
getDummyConstraintOrBuilderin interfaceConstraintProtoOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ConstraintProto parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConstraintProto parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConstraintProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConstraintProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConstraintProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConstraintProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConstraintProto parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ConstraintProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ConstraintProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ConstraintProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ConstraintProto parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ConstraintProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public ConstraintProto.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ConstraintProto.Builder newBuilder()
-
newBuilder
public static ConstraintProto.Builder newBuilder(ConstraintProto prototype)
-
toBuilder
public ConstraintProto.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ConstraintProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ConstraintProto getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ConstraintProto> parser()
-
getParserForType
public com.google.protobuf.Parser<ConstraintProto> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ConstraintProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-