Java Reference

Java Reference

ConstraintProto

Detailed Description

Next id: 29

Protobuf type

operations_research.sat.ConstraintProto

Definition at line 13 of file ConstraintProto.java.

Classes

class  Builder
 
enum  ConstraintCase
 

Public Member Functions

.lang.Override final com.google.protobuf.UnknownFieldSet getUnknownFields ()
 
ConstraintCase getConstraintCase ()
 
.lang.Override java.lang.String getName ()
 
.lang.Override com.google.protobuf.ByteString getNameBytes ()
 
.lang.Override java.util.List< java.lang.Integer > getEnforcementLiteralList ()
 
int getEnforcementLiteralCount ()
 
int getEnforcementLiteral (int index)
 
.lang.Override boolean hasBoolOr ()
 
.lang.Override com.google.ortools.sat.BoolArgumentProto getBoolOr ()
 
.lang.Override com.google.ortools.sat.BoolArgumentProtoOrBuilder getBoolOrOrBuilder ()
 
.lang.Override boolean hasBoolAnd ()
 
.lang.Override com.google.ortools.sat.BoolArgumentProto getBoolAnd ()
 
.lang.Override com.google.ortools.sat.BoolArgumentProtoOrBuilder getBoolAndOrBuilder ()
 
.lang.Override boolean hasAtMostOne ()
 
.lang.Override com.google.ortools.sat.BoolArgumentProto getAtMostOne ()
 
.lang.Override com.google.ortools.sat.BoolArgumentProtoOrBuilder getAtMostOneOrBuilder ()
 
.lang.Override boolean hasBoolXor ()
 
.lang.Override com.google.ortools.sat.BoolArgumentProto getBoolXor ()
 
.lang.Override com.google.ortools.sat.BoolArgumentProtoOrBuilder getBoolXorOrBuilder ()
 
.lang.Override boolean hasIntDiv ()
 
.lang.Override com.google.ortools.sat.IntegerArgumentProto getIntDiv ()
 
.lang.Override com.google.ortools.sat.IntegerArgumentProtoOrBuilder getIntDivOrBuilder ()
 
.lang.Override boolean hasIntMod ()
 
.lang.Override com.google.ortools.sat.IntegerArgumentProto getIntMod ()
 
.lang.Override com.google.ortools.sat.IntegerArgumentProtoOrBuilder getIntModOrBuilder ()
 
.lang.Override boolean hasIntMax ()
 
.lang.Override com.google.ortools.sat.IntegerArgumentProto getIntMax ()
 
.lang.Override com.google.ortools.sat.IntegerArgumentProtoOrBuilder getIntMaxOrBuilder ()
 
.lang.Override boolean hasLinMax ()
 
.lang.Override com.google.ortools.sat.LinearArgumentProto getLinMax ()
 
.lang.Override com.google.ortools.sat.LinearArgumentProtoOrBuilder getLinMaxOrBuilder ()
 
.lang.Override boolean hasIntMin ()
 
.lang.Override com.google.ortools.sat.IntegerArgumentProto getIntMin ()
 
.lang.Override com.google.ortools.sat.IntegerArgumentProtoOrBuilder getIntMinOrBuilder ()
 
.lang.Override boolean hasLinMin ()
 
.lang.Override com.google.ortools.sat.LinearArgumentProto getLinMin ()
 
.lang.Override com.google.ortools.sat.LinearArgumentProtoOrBuilder getLinMinOrBuilder ()
 
.lang.Override boolean hasIntProd ()
 
.lang.Override com.google.ortools.sat.IntegerArgumentProto getIntProd ()
 
.lang.Override com.google.ortools.sat.IntegerArgumentProtoOrBuilder getIntProdOrBuilder ()
 
.lang.Override boolean hasLinear ()
 
.lang.Override com.google.ortools.sat.LinearConstraintProto getLinear ()
 
.lang.Override com.google.ortools.sat.LinearConstraintProtoOrBuilder getLinearOrBuilder ()
 
.lang.Override boolean hasAllDiff ()
 
.lang.Override com.google.ortools.sat.AllDifferentConstraintProto getAllDiff ()
 
.lang.Override com.google.ortools.sat.AllDifferentConstraintProtoOrBuilder getAllDiffOrBuilder ()
 
.lang.Override boolean hasElement ()
 
.lang.Override com.google.ortools.sat.ElementConstraintProto getElement ()
 
.lang.Override com.google.ortools.sat.ElementConstraintProtoOrBuilder getElementOrBuilder ()
 
.lang.Override boolean hasCircuit ()
 
.lang.Override com.google.ortools.sat.CircuitConstraintProto getCircuit ()
 
.lang.Override com.google.ortools.sat.CircuitConstraintProtoOrBuilder getCircuitOrBuilder ()
 
.lang.Override boolean hasRoutes ()
 
.lang.Override com.google.ortools.sat.RoutesConstraintProto getRoutes ()
 
.lang.Override com.google.ortools.sat.RoutesConstraintProtoOrBuilder getRoutesOrBuilder ()
 
.lang.Override boolean hasCircuitCovering ()
 
.lang.Override com.google.ortools.sat.CircuitCoveringConstraintProto getCircuitCovering ()
 
.lang.Override com.google.ortools.sat.CircuitCoveringConstraintProtoOrBuilder getCircuitCoveringOrBuilder ()
 
.lang.Override boolean hasTable ()
 
.lang.Override com.google.ortools.sat.TableConstraintProto getTable ()
 
.lang.Override com.google.ortools.sat.TableConstraintProtoOrBuilder getTableOrBuilder ()
 
.lang.Override boolean hasAutomaton ()
 
.lang.Override com.google.ortools.sat.AutomatonConstraintProto getAutomaton ()
 
.lang.Override com.google.ortools.sat.AutomatonConstraintProtoOrBuilder getAutomatonOrBuilder ()
 
.lang.Override boolean hasInverse ()
 
.lang.Override com.google.ortools.sat.InverseConstraintProto getInverse ()
 
.lang.Override com.google.ortools.sat.InverseConstraintProtoOrBuilder getInverseOrBuilder ()
 
.lang.Override boolean hasReservoir ()
 
.lang.Override com.google.ortools.sat.ReservoirConstraintProto getReservoir ()
 
.lang.Override com.google.ortools.sat.ReservoirConstraintProtoOrBuilder getReservoirOrBuilder ()
 
.lang.Override boolean hasInterval ()
 
.lang.Override com.google.ortools.sat.IntervalConstraintProto getInterval ()
 
.lang.Override com.google.ortools.sat.IntervalConstraintProtoOrBuilder getIntervalOrBuilder ()
 
.lang.Override boolean hasNoOverlap ()
 
.lang.Override com.google.ortools.sat.NoOverlapConstraintProto getNoOverlap ()
 
.lang.Override com.google.ortools.sat.NoOverlapConstraintProtoOrBuilder getNoOverlapOrBuilder ()
 
.lang.Override boolean hasNoOverlap2D ()
 
.lang.Override com.google.ortools.sat.NoOverlap2DConstraintProto getNoOverlap2D ()
 
.lang.Override com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder getNoOverlap2DOrBuilder ()
 
.lang.Override boolean hasCumulative ()
 
.lang.Override com.google.ortools.sat.CumulativeConstraintProto getCumulative ()
 
.lang.Override com.google.ortools.sat.CumulativeConstraintProtoOrBuilder getCumulativeOrBuilder ()
 
.lang.Override final boolean isInitialized ()
 
.lang.Override void writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException
 
.lang.Override int getSerializedSize ()
 
.lang.Override boolean equals (final java.lang.Object obj)
 
.lang.Override int hashCode ()
 
.lang.Override Builder newBuilderForType ()
 
.lang.Override Builder toBuilder ()
 
.lang.Override com.google.protobuf.Parser< ConstraintProtogetParserForType ()
 
.lang.Override com.google.ortools.sat.ConstraintProto getDefaultInstanceForType ()
 

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
 
static com.google.ortools.sat.ConstraintProto parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.ConstraintProto parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.ConstraintProto parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.ConstraintProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.ConstraintProto parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.ConstraintProto parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.sat.ConstraintProto parseFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.sat.ConstraintProto parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.sat.ConstraintProto parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.sat.ConstraintProto parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.sat.ConstraintProto parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException
 
static com.google.ortools.sat.ConstraintProto parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static Builder newBuilder ()
 
static Builder newBuilder (com.google.ortools.sat.ConstraintProto prototype)
 
static com.google.ortools.sat.ConstraintProto getDefaultInstance ()
 
static com.google.protobuf.Parser< ConstraintProtoparser ()
 

Static Public Attributes

static final int NAME_FIELD_NUMBER = 1
 
static final int ENFORCEMENT_LITERAL_FIELD_NUMBER = 2
 
static final int BOOL_OR_FIELD_NUMBER = 3
 
static final int BOOL_AND_FIELD_NUMBER = 4
 
static final int AT_MOST_ONE_FIELD_NUMBER = 26
 
static final int BOOL_XOR_FIELD_NUMBER = 5
 
static final int INT_DIV_FIELD_NUMBER = 7
 
static final int INT_MOD_FIELD_NUMBER = 8
 
static final int INT_MAX_FIELD_NUMBER = 9
 
static final int LIN_MAX_FIELD_NUMBER = 27
 
static final int INT_MIN_FIELD_NUMBER = 10
 
static final int LIN_MIN_FIELD_NUMBER = 28
 
static final int INT_PROD_FIELD_NUMBER = 11
 
static final int LINEAR_FIELD_NUMBER = 12
 
static final int ALL_DIFF_FIELD_NUMBER = 13
 
static final int ELEMENT_FIELD_NUMBER = 14
 
static final int CIRCUIT_FIELD_NUMBER = 15
 
static final int ROUTES_FIELD_NUMBER = 23
 
static final int CIRCUIT_COVERING_FIELD_NUMBER = 25
 
static final int TABLE_FIELD_NUMBER = 16
 
static final int AUTOMATON_FIELD_NUMBER = 17
 
static final int INVERSE_FIELD_NUMBER = 18
 
static final int RESERVOIR_FIELD_NUMBER = 24
 
static final int INTERVAL_FIELD_NUMBER = 19
 
static final int NO_OVERLAP_FIELD_NUMBER = 20
 
static final int NO_OVERLAP_2D_FIELD_NUMBER = 21
 
static final int CUMULATIVE_FIELD_NUMBER = 22
 

Protected Member Functions

.lang.Override java.lang.Object newInstance (UnusedPrivateParameter unused)
 
.lang.Override com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable ()
 
.lang.Override Builder newBuilderForType (com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
 

Member Function Documentation

◆ equals()

.lang.Override boolean equals ( final java.lang.Object  obj)
inline

Definition at line 2067 of file ConstraintProto.java.

◆ getAllDiff()

.lang.Override com.google.ortools.sat.AllDifferentConstraintProto getAllDiff ( )
inline
The all_diff constraint forces all variables to take different values.

.operations_research.sat.AllDifferentConstraintProto all_diff = 13;

Returns
The allDiff.

Implements ConstraintProtoOrBuilder.

Definition at line 1259 of file ConstraintProto.java.

◆ getAllDiffOrBuilder()

.lang.Override com.google.ortools.sat.AllDifferentConstraintProtoOrBuilder getAllDiffOrBuilder ( )
inline
The all_diff constraint forces all variables to take different values.

.operations_research.sat.AllDifferentConstraintProto all_diff = 13;

Implements ConstraintProtoOrBuilder.

Definition at line 1273 of file ConstraintProto.java.

◆ getAtMostOne()

.lang.Override com.google.ortools.sat.BoolArgumentProto getAtMostOne ( )
inline
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.

.operations_research.sat.BoolArgumentProto at_most_one = 26;

Returns
The atMostOne.

Implements ConstraintProtoOrBuilder.

Definition at line 801 of file ConstraintProto.java.

◆ getAtMostOneOrBuilder()

.lang.Override com.google.ortools.sat.BoolArgumentProtoOrBuilder getAtMostOneOrBuilder ( )
inline
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.

.operations_research.sat.BoolArgumentProto at_most_one = 26;

Implements ConstraintProtoOrBuilder.

Definition at line 819 of file ConstraintProto.java.

◆ getAutomaton()

.lang.Override com.google.ortools.sat.AutomatonConstraintProto getAutomaton ( )
inline
The automaton constraint forces a sequence of variables to be accepted
by an automaton.

.operations_research.sat.AutomatonConstraintProto automaton = 17;

Returns
The automaton.

Implements ConstraintProtoOrBuilder.

Definition at line 1531 of file ConstraintProto.java.

◆ getAutomatonOrBuilder()

.lang.Override com.google.ortools.sat.AutomatonConstraintProtoOrBuilder getAutomatonOrBuilder ( )
inline
The automaton constraint forces a sequence of variables to be accepted
by an automaton.

.operations_research.sat.AutomatonConstraintProto automaton = 17;

Implements ConstraintProtoOrBuilder.

Definition at line 1546 of file ConstraintProto.java.

◆ getBoolAnd()

.lang.Override com.google.ortools.sat.BoolArgumentProto getBoolAnd ( )
inline
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. It is just more space efficient and handled
slightly differently internally.

.operations_research.sat.BoolArgumentProto bool_and = 4;

Returns
The boolAnd.

Implements ConstraintProtoOrBuilder.

Definition at line 747 of file ConstraintProto.java.

◆ getBoolAndOrBuilder()

.lang.Override com.google.ortools.sat.BoolArgumentProtoOrBuilder getBoolAndOrBuilder ( )
inline
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. It is just more space efficient and handled
slightly differently internally.

.operations_research.sat.BoolArgumentProto bool_and = 4;

Implements ConstraintProtoOrBuilder.

Definition at line 764 of file ConstraintProto.java.

◆ getBoolOr()

.lang.Override com.google.ortools.sat.BoolArgumentProto getBoolOr ( )
inline
The bool_or constraint forces at least one literal to be true.

.operations_research.sat.BoolArgumentProto bool_or = 3;

Returns
The boolOr.

Implements ConstraintProtoOrBuilder.

Definition at line 698 of file ConstraintProto.java.

◆ getBoolOrOrBuilder()

.lang.Override com.google.ortools.sat.BoolArgumentProtoOrBuilder getBoolOrOrBuilder ( )
inline
The bool_or constraint forces at least one literal to be true.

.operations_research.sat.BoolArgumentProto bool_or = 3;

Implements ConstraintProtoOrBuilder.

Definition at line 712 of file ConstraintProto.java.

◆ getBoolXor()

.lang.Override com.google.ortools.sat.BoolArgumentProto getBoolXor ( )
inline
The bool_xor constraint forces an odd number of the literals to be true.

.operations_research.sat.BoolArgumentProto bool_xor = 5;

Returns
The boolXor.

Implements ConstraintProtoOrBuilder.

Definition at line 848 of file ConstraintProto.java.

◆ getBoolXorOrBuilder()

.lang.Override com.google.ortools.sat.BoolArgumentProtoOrBuilder getBoolXorOrBuilder ( )
inline
The bool_xor constraint forces an odd number of the literals to be true.

.operations_research.sat.BoolArgumentProto bool_xor = 5;

Implements ConstraintProtoOrBuilder.

Definition at line 862 of file ConstraintProto.java.

◆ getCircuit()

.lang.Override com.google.ortools.sat.CircuitConstraintProto getCircuit ( )
inline
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;

Returns
The circuit.

Implements ConstraintProtoOrBuilder.

Definition at line 1350 of file ConstraintProto.java.

◆ getCircuitCovering()

.lang.Override com.google.ortools.sat.CircuitCoveringConstraintProto getCircuitCovering ( )
inline
The circuit_covering constraint is similar to the circuit constraint,
but allows multiple non-overlapping cycles instead of just one.

.operations_research.sat.CircuitCoveringConstraintProto circuit_covering = 25;

Returns
The circuitCovering.

Implements ConstraintProtoOrBuilder.

Definition at line 1439 of file ConstraintProto.java.

◆ getCircuitCoveringOrBuilder()

.lang.Override com.google.ortools.sat.CircuitCoveringConstraintProtoOrBuilder getCircuitCoveringOrBuilder ( )
inline
The circuit_covering constraint is similar to the circuit constraint,
but allows multiple non-overlapping cycles instead of just one.

.operations_research.sat.CircuitCoveringConstraintProto circuit_covering = 25;

Implements ConstraintProtoOrBuilder.

Definition at line 1454 of file ConstraintProto.java.

◆ getCircuitOrBuilder()

.lang.Override com.google.ortools.sat.CircuitConstraintProtoOrBuilder getCircuitOrBuilder ( )
inline
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;

Implements ConstraintProtoOrBuilder.

Definition at line 1365 of file ConstraintProto.java.

◆ getConstraintCase()

ConstraintCase getConstraintCase ( )
inline

Implements ConstraintProtoOrBuilder.

Definition at line 552 of file ConstraintProto.java.

◆ getCumulative()

.lang.Override com.google.ortools.sat.CumulativeConstraintProto getCumulative ( )
inline
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;

Returns
The cumulative.

Implements ConstraintProtoOrBuilder.

Definition at line 1812 of file ConstraintProto.java.

◆ getCumulativeOrBuilder()

.lang.Override com.google.ortools.sat.CumulativeConstraintProtoOrBuilder getCumulativeOrBuilder ( )
inline
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;

Implements ConstraintProtoOrBuilder.

Definition at line 1828 of file ConstraintProto.java.

◆ getDefaultInstance()

static com.google.ortools.sat.ConstraintProto getDefaultInstance ( )
inlinestatic

Definition at line 7848 of file ConstraintProto.java.

◆ getDefaultInstanceForType()

.lang.Override com.google.ortools.sat.ConstraintProto getDefaultInstanceForType ( )
inline

Definition at line 7873 of file ConstraintProto.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ( )
inlinestatic

Definition at line 458 of file ConstraintProto.java.

◆ getElement()

.lang.Override com.google.ortools.sat.ElementConstraintProto getElement ( )
inline
The element constraint forces the variable with the given index
to be equal to the target.

.operations_research.sat.ElementConstraintProto element = 14;

Returns
The element.

Implements ConstraintProtoOrBuilder.

Definition at line 1304 of file ConstraintProto.java.

◆ getElementOrBuilder()

.lang.Override com.google.ortools.sat.ElementConstraintProtoOrBuilder getElementOrBuilder ( )
inline
The element constraint forces the variable with the given index
to be equal to the target.

.operations_research.sat.ElementConstraintProto element = 14;

Implements ConstraintProtoOrBuilder.

Definition at line 1319 of file ConstraintProto.java.

◆ getEnforcementLiteral()

int getEnforcementLiteral ( int  index)
inline
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;
Parameters
indexThe index of the element to return.
Returns
The enforcementLiteral at the given index.

Implements ConstraintProtoOrBuilder.

Definition at line 671 of file ConstraintProto.java.

◆ getEnforcementLiteralCount()

int getEnforcementLiteralCount ( )
inline
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;
Returns
The count of enforcementLiteral.

Implements ConstraintProtoOrBuilder.

Definition at line 648 of file ConstraintProto.java.

◆ getEnforcementLiteralList()

.lang.Override java.util.List<java.lang.Integer> getEnforcementLiteralList ( )
inline
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;
Returns
A list containing the enforcementLiteral.

Implements ConstraintProtoOrBuilder.

Definition at line 626 of file ConstraintProto.java.

◆ getIntDiv()

.lang.Override com.google.ortools.sat.IntegerArgumentProto getIntDiv ( )
inline
The int_div constraint forces the target to equal vars[0] / vars[1].

.operations_research.sat.IntegerArgumentProto int_div = 7;

Returns
The intDiv.

Implements ConstraintProtoOrBuilder.

Definition at line 891 of file ConstraintProto.java.

◆ getIntDivOrBuilder()

.lang.Override com.google.ortools.sat.IntegerArgumentProtoOrBuilder getIntDivOrBuilder ( )
inline
The int_div constraint forces the target to equal vars[0] / vars[1].

.operations_research.sat.IntegerArgumentProto int_div = 7;

Implements ConstraintProtoOrBuilder.

Definition at line 905 of file ConstraintProto.java.

◆ getInterval()

.lang.Override com.google.ortools.sat.IntervalConstraintProto getInterval ( )
inline
The interval constraint takes a start, end, and size, and forces
start + size == end.

.operations_research.sat.IntervalConstraintProto interval = 19;

Returns
The interval.

Implements ConstraintProtoOrBuilder.

Definition at line 1672 of file ConstraintProto.java.

◆ getIntervalOrBuilder()

.lang.Override com.google.ortools.sat.IntervalConstraintProtoOrBuilder getIntervalOrBuilder ( )
inline
The interval constraint takes a start, end, and size, and forces
start + size == end.

.operations_research.sat.IntervalConstraintProto interval = 19;

Implements ConstraintProtoOrBuilder.

Definition at line 1687 of file ConstraintProto.java.

◆ getIntMax()

.lang.Override com.google.ortools.sat.IntegerArgumentProto getIntMax ( )
inline
The int_max constraint forces the target to equal the maximum of all
variables.
TODO(user): Remove int_max in favor of lin_max.

.operations_research.sat.IntegerArgumentProto int_max = 9;

Returns
The intMax.

Implements ConstraintProtoOrBuilder.

Definition at line 981 of file ConstraintProto.java.

◆ getIntMaxOrBuilder()

.lang.Override com.google.ortools.sat.IntegerArgumentProtoOrBuilder getIntMaxOrBuilder ( )
inline
The int_max constraint forces the target to equal the maximum of all
variables.
TODO(user): Remove int_max in favor of lin_max.

.operations_research.sat.IntegerArgumentProto int_max = 9;

Implements ConstraintProtoOrBuilder.

Definition at line 997 of file ConstraintProto.java.

◆ getIntMin()

.lang.Override com.google.ortools.sat.IntegerArgumentProto getIntMin ( )
inline
The int_min constraint forces the target to equal the minimum of all
variables.
TODO(user): Remove int_min in favor of lin_min.

.operations_research.sat.IntegerArgumentProto int_min = 10;

Returns
The intMin.

Implements ConstraintProtoOrBuilder.

Definition at line 1076 of file ConstraintProto.java.

◆ getIntMinOrBuilder()

.lang.Override com.google.ortools.sat.IntegerArgumentProtoOrBuilder getIntMinOrBuilder ( )
inline
The int_min constraint forces the target to equal the minimum of all
variables.
TODO(user): Remove int_min in favor of lin_min.

.operations_research.sat.IntegerArgumentProto int_min = 10;

Implements ConstraintProtoOrBuilder.

Definition at line 1092 of file ConstraintProto.java.

◆ getIntMod()

.lang.Override com.google.ortools.sat.IntegerArgumentProto getIntMod ( )
inline
The int_mod constraint forces the target to equal vars[0] % vars[1].

.operations_research.sat.IntegerArgumentProto int_mod = 8;

Returns
The intMod.

Implements ConstraintProtoOrBuilder.

Definition at line 934 of file ConstraintProto.java.

◆ getIntModOrBuilder()

.lang.Override com.google.ortools.sat.IntegerArgumentProtoOrBuilder getIntModOrBuilder ( )
inline
The int_mod constraint forces the target to equal vars[0] % vars[1].

.operations_research.sat.IntegerArgumentProto int_mod = 8;

Implements ConstraintProtoOrBuilder.

Definition at line 948 of file ConstraintProto.java.

◆ getIntProd()

.lang.Override com.google.ortools.sat.IntegerArgumentProto getIntProd ( )
inline
The int_prod constraint forces the target to equal the product of all
variables.

.operations_research.sat.IntegerArgumentProto int_prod = 11;

Returns
The intProd.

Implements ConstraintProtoOrBuilder.

Definition at line 1169 of file ConstraintProto.java.

◆ getIntProdOrBuilder()

.lang.Override com.google.ortools.sat.IntegerArgumentProtoOrBuilder getIntProdOrBuilder ( )
inline
The int_prod constraint forces the target to equal the product of all
variables.

.operations_research.sat.IntegerArgumentProto int_prod = 11;

Implements ConstraintProtoOrBuilder.

Definition at line 1184 of file ConstraintProto.java.

◆ getInverse()

.lang.Override com.google.ortools.sat.InverseConstraintProto getInverse ( )
inline
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;

Returns
The inverse.

Implements ConstraintProtoOrBuilder.

Definition at line 1577 of file ConstraintProto.java.

◆ getInverseOrBuilder()

.lang.Override com.google.ortools.sat.InverseConstraintProtoOrBuilder getInverseOrBuilder ( )
inline
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;

Implements ConstraintProtoOrBuilder.

Definition at line 1592 of file ConstraintProto.java.

◆ getLinear()

.lang.Override com.google.ortools.sat.LinearConstraintProto getLinear ( )
inline
The linear constraint enforces a linear inequality among the variables,
such as 0 <= x + 2y <= 10.

.operations_research.sat.LinearConstraintProto linear = 12;

Returns
The linear.

Implements ConstraintProtoOrBuilder.

Definition at line 1215 of file ConstraintProto.java.

◆ getLinearOrBuilder()

.lang.Override com.google.ortools.sat.LinearConstraintProtoOrBuilder getLinearOrBuilder ( )
inline
The linear constraint enforces a linear inequality among the variables,
such as 0 <= x + 2y <= 10.

.operations_research.sat.LinearConstraintProto linear = 12;

Implements ConstraintProtoOrBuilder.

Definition at line 1230 of file ConstraintProto.java.

◆ getLinMax()

.lang.Override com.google.ortools.sat.LinearArgumentProto getLinMax ( )
inline
The lin_max constraint forces the target to equal the maximum of all
linear expressions.

.operations_research.sat.LinearArgumentProto lin_max = 27;

Returns
The linMax.

Implements ConstraintProtoOrBuilder.

Definition at line 1028 of file ConstraintProto.java.

◆ getLinMaxOrBuilder()

.lang.Override com.google.ortools.sat.LinearArgumentProtoOrBuilder getLinMaxOrBuilder ( )
inline
The lin_max constraint forces the target to equal the maximum of all
linear expressions.

.operations_research.sat.LinearArgumentProto lin_max = 27;

Implements ConstraintProtoOrBuilder.

Definition at line 1043 of file ConstraintProto.java.

◆ getLinMin()

.lang.Override com.google.ortools.sat.LinearArgumentProto getLinMin ( )
inline
The lin_min constraint forces the target to equal the minimum of all
linear expressions.

.operations_research.sat.LinearArgumentProto lin_min = 28;

Returns
The linMin.

Implements ConstraintProtoOrBuilder.

Definition at line 1123 of file ConstraintProto.java.

◆ getLinMinOrBuilder()

.lang.Override com.google.ortools.sat.LinearArgumentProtoOrBuilder getLinMinOrBuilder ( )
inline
The lin_min constraint forces the target to equal the minimum of all
linear expressions.

.operations_research.sat.LinearArgumentProto lin_min = 28;

Implements ConstraintProtoOrBuilder.

Definition at line 1138 of file ConstraintProto.java.

◆ getName()

.lang.Override java.lang.String getName ( )
inline
For debug/logging only. Can be empty.

string name = 1;

Returns
The name.

Implements ConstraintProtoOrBuilder.

Definition at line 568 of file ConstraintProto.java.

◆ getNameBytes()

.lang.Override com.google.protobuf.ByteString getNameBytes ( )
inline
For debug/logging only. Can be empty.

string name = 1;

Returns
The bytes for name.

Implements ConstraintProtoOrBuilder.

Definition at line 590 of file ConstraintProto.java.

◆ getNoOverlap()

.lang.Override com.google.ortools.sat.NoOverlapConstraintProto getNoOverlap ( )
inline
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;

Returns
The noOverlap.

Implements ConstraintProtoOrBuilder.

Definition at line 1720 of file ConstraintProto.java.

◆ getNoOverlap2D()

.lang.Override com.google.ortools.sat.NoOverlap2DConstraintProto getNoOverlap2D ( )
inline
The no_overlap_2d constraint prevents a set of boxes from overlapping.

.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;

Returns
The noOverlap2d.

Implements ConstraintProtoOrBuilder.

Definition at line 1765 of file ConstraintProto.java.

◆ getNoOverlap2DOrBuilder()

.lang.Override com.google.ortools.sat.NoOverlap2DConstraintProtoOrBuilder getNoOverlap2DOrBuilder ( )
inline
The no_overlap_2d constraint prevents a set of boxes from overlapping.

.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;

Implements ConstraintProtoOrBuilder.

Definition at line 1779 of file ConstraintProto.java.

◆ getNoOverlapOrBuilder()

.lang.Override com.google.ortools.sat.NoOverlapConstraintProtoOrBuilder getNoOverlapOrBuilder ( )
inline
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;

Implements ConstraintProtoOrBuilder.

Definition at line 1736 of file ConstraintProto.java.

◆ getParserForType()

.lang.Override com.google.protobuf.Parser<ConstraintProto> getParserForType ( )
inline

Definition at line 7868 of file ConstraintProto.java.

◆ getReservoir()

.lang.Override com.google.ortools.sat.ReservoirConstraintProto getReservoir ( )
inline
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;

Returns
The reservoir.

Implements ConstraintProtoOrBuilder.

Definition at line 1625 of file ConstraintProto.java.

◆ getReservoirOrBuilder()

.lang.Override com.google.ortools.sat.ReservoirConstraintProtoOrBuilder getReservoirOrBuilder ( )
inline
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;

Implements ConstraintProtoOrBuilder.

Definition at line 1641 of file ConstraintProto.java.

◆ getRoutes()

.lang.Override com.google.ortools.sat.RoutesConstraintProto getRoutes ( )
inline
The routes constraint implements the vehicle routing problem.

.operations_research.sat.RoutesConstraintProto routes = 23;

Returns
The routes.

Implements ConstraintProtoOrBuilder.

Definition at line 1394 of file ConstraintProto.java.

◆ getRoutesOrBuilder()

.lang.Override com.google.ortools.sat.RoutesConstraintProtoOrBuilder getRoutesOrBuilder ( )
inline
The routes constraint implements the vehicle routing problem.

.operations_research.sat.RoutesConstraintProto routes = 23;

Implements ConstraintProtoOrBuilder.

Definition at line 1408 of file ConstraintProto.java.

◆ getSerializedSize()

.lang.Override int getSerializedSize ( )
inline

Definition at line 1939 of file ConstraintProto.java.

◆ getTable()

.lang.Override com.google.ortools.sat.TableConstraintProto getTable ( )
inline
The table constraint enforces what values a tuple of variables may
take.

.operations_research.sat.TableConstraintProto table = 16;

Returns
The table.

Implements ConstraintProtoOrBuilder.

Definition at line 1485 of file ConstraintProto.java.

◆ getTableOrBuilder()

.lang.Override com.google.ortools.sat.TableConstraintProtoOrBuilder getTableOrBuilder ( )
inline
The table constraint enforces what values a tuple of variables may
take.

.operations_research.sat.TableConstraintProto table = 16;

Implements ConstraintProtoOrBuilder.

Definition at line 1500 of file ConstraintProto.java.

◆ getUnknownFields()

.lang.Override final com.google.protobuf.UnknownFieldSet getUnknownFields ( )
inline

Definition at line 36 of file ConstraintProto.java.

◆ hasAllDiff()

.lang.Override boolean hasAllDiff ( )
inline
The all_diff constraint forces all variables to take different values.

.operations_research.sat.AllDifferentConstraintProto all_diff = 13;

Returns
Whether the allDiff field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 1247 of file ConstraintProto.java.

◆ hasAtMostOne()

.lang.Override boolean hasAtMostOne ( )
inline
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.

.operations_research.sat.BoolArgumentProto at_most_one = 26;

Returns
Whether the atMostOne field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 785 of file ConstraintProto.java.

◆ hasAutomaton()

.lang.Override boolean hasAutomaton ( )
inline
The automaton constraint forces a sequence of variables to be accepted
by an automaton.

.operations_research.sat.AutomatonConstraintProto automaton = 17;

Returns
Whether the automaton field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 1518 of file ConstraintProto.java.

◆ hasBoolAnd()

.lang.Override boolean hasBoolAnd ( )
inline
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. It is just more space efficient and handled
slightly differently internally.

.operations_research.sat.BoolArgumentProto bool_and = 4;

Returns
Whether the boolAnd field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 732 of file ConstraintProto.java.

◆ hasBoolOr()

.lang.Override boolean hasBoolOr ( )
inline
The bool_or constraint forces at least one literal to be true.

.operations_research.sat.BoolArgumentProto bool_or = 3;

Returns
Whether the boolOr field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 686 of file ConstraintProto.java.

◆ hasBoolXor()

.lang.Override boolean hasBoolXor ( )
inline
The bool_xor constraint forces an odd number of the literals to be true.

.operations_research.sat.BoolArgumentProto bool_xor = 5;

Returns
Whether the boolXor field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 836 of file ConstraintProto.java.

◆ hasCircuit()

.lang.Override boolean hasCircuit ( )
inline
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;

Returns
Whether the circuit field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 1337 of file ConstraintProto.java.

◆ hasCircuitCovering()

.lang.Override boolean hasCircuitCovering ( )
inline
The circuit_covering constraint is similar to the circuit constraint,
but allows multiple non-overlapping cycles instead of just one.

.operations_research.sat.CircuitCoveringConstraintProto circuit_covering = 25;

Returns
Whether the circuitCovering field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 1426 of file ConstraintProto.java.

◆ hasCumulative()

.lang.Override boolean hasCumulative ( )
inline
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;

Returns
Whether the cumulative field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 1798 of file ConstraintProto.java.

◆ hasElement()

.lang.Override boolean hasElement ( )
inline
The element constraint forces the variable with the given index
to be equal to the target.

.operations_research.sat.ElementConstraintProto element = 14;

Returns
Whether the element field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 1291 of file ConstraintProto.java.

◆ hashCode()

.lang.Override int hashCode ( )
inline

Definition at line 2190 of file ConstraintProto.java.

◆ hasIntDiv()

.lang.Override boolean hasIntDiv ( )
inline
The int_div constraint forces the target to equal vars[0] / vars[1].

.operations_research.sat.IntegerArgumentProto int_div = 7;

Returns
Whether the intDiv field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 879 of file ConstraintProto.java.

◆ hasInterval()

.lang.Override boolean hasInterval ( )
inline
The interval constraint takes a start, end, and size, and forces
start + size == end.

.operations_research.sat.IntervalConstraintProto interval = 19;

Returns
Whether the interval field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 1659 of file ConstraintProto.java.

◆ hasIntMax()

.lang.Override boolean hasIntMax ( )
inline
The int_max constraint forces the target to equal the maximum of all
variables.
TODO(user): Remove int_max in favor of lin_max.

.operations_research.sat.IntegerArgumentProto int_max = 9;

Returns
Whether the intMax field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 967 of file ConstraintProto.java.

◆ hasIntMin()

.lang.Override boolean hasIntMin ( )
inline
The int_min constraint forces the target to equal the minimum of all
variables.
TODO(user): Remove int_min in favor of lin_min.

.operations_research.sat.IntegerArgumentProto int_min = 10;

Returns
Whether the intMin field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 1062 of file ConstraintProto.java.

◆ hasIntMod()

.lang.Override boolean hasIntMod ( )
inline
The int_mod constraint forces the target to equal vars[0] % vars[1].

.operations_research.sat.IntegerArgumentProto int_mod = 8;

Returns
Whether the intMod field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 922 of file ConstraintProto.java.

◆ hasIntProd()

.lang.Override boolean hasIntProd ( )
inline
The int_prod constraint forces the target to equal the product of all
variables.

.operations_research.sat.IntegerArgumentProto int_prod = 11;

Returns
Whether the intProd field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 1156 of file ConstraintProto.java.

◆ hasInverse()

.lang.Override boolean hasInverse ( )
inline
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;

Returns
Whether the inverse field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 1564 of file ConstraintProto.java.

◆ hasLinear()

.lang.Override boolean hasLinear ( )
inline
The linear constraint enforces a linear inequality among the variables,
such as 0 <= x + 2y <= 10.

.operations_research.sat.LinearConstraintProto linear = 12;

Returns
Whether the linear field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 1202 of file ConstraintProto.java.

◆ hasLinMax()

.lang.Override boolean hasLinMax ( )
inline
The lin_max constraint forces the target to equal the maximum of all
linear expressions.

.operations_research.sat.LinearArgumentProto lin_max = 27;

Returns
Whether the linMax field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 1015 of file ConstraintProto.java.

◆ hasLinMin()

.lang.Override boolean hasLinMin ( )
inline
The lin_min constraint forces the target to equal the minimum of all
linear expressions.

.operations_research.sat.LinearArgumentProto lin_min = 28;

Returns
Whether the linMin field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 1110 of file ConstraintProto.java.

◆ hasNoOverlap()

.lang.Override boolean hasNoOverlap ( )
inline
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;

Returns
Whether the noOverlap field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 1706 of file ConstraintProto.java.

◆ hasNoOverlap2D()

.lang.Override boolean hasNoOverlap2D ( )
inline
The no_overlap_2d constraint prevents a set of boxes from overlapping.

.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;

Returns
Whether the noOverlap2d field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 1753 of file ConstraintProto.java.

◆ hasReservoir()

.lang.Override boolean hasReservoir ( )
inline
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;

Returns
Whether the reservoir field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 1611 of file ConstraintProto.java.

◆ hasRoutes()

.lang.Override boolean hasRoutes ( )
inline
The routes constraint implements the vehicle routing problem.

.operations_research.sat.RoutesConstraintProto routes = 23;

Returns
Whether the routes field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 1382 of file ConstraintProto.java.

◆ hasTable()

.lang.Override boolean hasTable ( )
inline
The table constraint enforces what values a tuple of variables may
take.

.operations_research.sat.TableConstraintProto table = 16;

Returns
Whether the table field is set.

Implements ConstraintProtoOrBuilder.

Definition at line 1472 of file ConstraintProto.java.

◆ internalGetFieldAccessorTable()

.lang.Override com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable ( )
inlineprotected

Definition at line 464 of file ConstraintProto.java.

◆ isInitialized()

.lang.Override final boolean isInitialized ( )
inline

Definition at line 1837 of file ConstraintProto.java.

◆ newBuilder() [1/2]

static Builder newBuilder ( )
inlinestatic

Definition at line 2383 of file ConstraintProto.java.

◆ newBuilder() [2/2]

static Builder newBuilder ( com.google.ortools.sat.ConstraintProto  prototype)
inlinestatic

Definition at line 2386 of file ConstraintProto.java.

◆ newBuilderForType() [1/2]

.lang.Override Builder newBuilderForType ( )
inline

Definition at line 2382 of file ConstraintProto.java.

◆ newBuilderForType() [2/2]

.lang.Override Builder newBuilderForType ( com.google.protobuf.GeneratedMessageV3.BuilderParent  parent)
inlineprotected

Definition at line 2396 of file ConstraintProto.java.

◆ newInstance()

.lang.Override java.lang.Object newInstance ( UnusedPrivateParameter  unused)
inlineprotected

Definition at line 29 of file ConstraintProto.java.

◆ parseDelimitedFrom() [1/2]

static com.google.ortools.sat.ConstraintProto parseDelimitedFrom ( java.io.InputStream  input) throws java.io.IOException
inlinestatic

Definition at line 2355 of file ConstraintProto.java.

◆ parseDelimitedFrom() [2/2]

static com.google.ortools.sat.ConstraintProto parseDelimitedFrom ( java.io.InputStream  input,
com.google.protobuf.ExtensionRegistryLite  extensionRegistry 
) throws java.io.IOException
inlinestatic

Definition at line 2360 of file ConstraintProto.java.

◆ parseFrom() [1/10]

static com.google.ortools.sat.ConstraintProto parseFrom ( byte[]  data) throws com.google.protobuf.InvalidProtocolBufferException
inlinestatic

Definition at line 2333 of file ConstraintProto.java.

◆ parseFrom() [2/10]

static com.google.ortools.sat.ConstraintProto parseFrom ( byte[]  data,
com.google.protobuf.ExtensionRegistryLite  extensionRegistry 
) throws com.google.protobuf.InvalidProtocolBufferException
inlinestatic

Definition at line 2337 of file ConstraintProto.java.

◆ parseFrom() [3/10]

static com.google.ortools.sat.ConstraintProto parseFrom ( com.google.protobuf.ByteString  data) throws com.google.protobuf.InvalidProtocolBufferException
inlinestatic

Definition at line 2322 of file ConstraintProto.java.

◆ parseFrom() [4/10]

static com.google.ortools.sat.ConstraintProto parseFrom ( com.google.protobuf.ByteString  data,
com.google.protobuf.ExtensionRegistryLite  extensionRegistry 
) throws com.google.protobuf.InvalidProtocolBufferException
inlinestatic

Definition at line 2327 of file ConstraintProto.java.

◆ parseFrom() [5/10]

static com.google.ortools.sat.ConstraintProto parseFrom ( com.google.protobuf.CodedInputStream  input) throws java.io.IOException
inlinestatic

Definition at line 2367 of file ConstraintProto.java.

◆ parseFrom() [6/10]

static com.google.ortools.sat.ConstraintProto parseFrom ( com.google.protobuf.CodedInputStream  input,
com.google.protobuf.ExtensionRegistryLite  extensionRegistry 
) throws java.io.IOException
inlinestatic

Definition at line 2373 of file ConstraintProto.java.

◆ parseFrom() [7/10]

static com.google.ortools.sat.ConstraintProto parseFrom ( java.io.InputStream  input) throws java.io.IOException
inlinestatic

Definition at line 2343 of file ConstraintProto.java.

◆ parseFrom() [8/10]

static com.google.ortools.sat.ConstraintProto parseFrom ( java.io.InputStream  input,
com.google.protobuf.ExtensionRegistryLite  extensionRegistry 
) throws java.io.IOException
inlinestatic

Definition at line 2348 of file ConstraintProto.java.

◆ parseFrom() [9/10]

static com.google.ortools.sat.ConstraintProto parseFrom ( java.nio.ByteBuffer  data) throws com.google.protobuf.InvalidProtocolBufferException
inlinestatic

Definition at line 2311 of file ConstraintProto.java.

◆ parseFrom() [10/10]

static com.google.ortools.sat.ConstraintProto parseFrom ( java.nio.ByteBuffer  data,
com.google.protobuf.ExtensionRegistryLite  extensionRegistry 
) throws com.google.protobuf.InvalidProtocolBufferException
inlinestatic

Definition at line 2316 of file ConstraintProto.java.

◆ parser()

static com.google.protobuf.Parser<ConstraintProto> parser ( )
inlinestatic

Definition at line 7863 of file ConstraintProto.java.

◆ toBuilder()

.lang.Override Builder toBuilder ( )
inline

Definition at line 2390 of file ConstraintProto.java.

◆ writeTo()

.lang.Override void writeTo ( com.google.protobuf.CodedOutputStream  output) throws java.io.IOException
inline

Definition at line 1847 of file ConstraintProto.java.

Member Data Documentation

◆ ALL_DIFF_FIELD_NUMBER

final int ALL_DIFF_FIELD_NUMBER = 13
static

Definition at line 1237 of file ConstraintProto.java.

◆ AT_MOST_ONE_FIELD_NUMBER

final int AT_MOST_ONE_FIELD_NUMBER = 26
static

Definition at line 771 of file ConstraintProto.java.

◆ AUTOMATON_FIELD_NUMBER

final int AUTOMATON_FIELD_NUMBER = 17
static

Definition at line 1507 of file ConstraintProto.java.

◆ BOOL_AND_FIELD_NUMBER

final int BOOL_AND_FIELD_NUMBER = 4
static

Definition at line 719 of file ConstraintProto.java.

◆ BOOL_OR_FIELD_NUMBER

final int BOOL_OR_FIELD_NUMBER = 3
static

Definition at line 676 of file ConstraintProto.java.

◆ BOOL_XOR_FIELD_NUMBER

final int BOOL_XOR_FIELD_NUMBER = 5
static

Definition at line 826 of file ConstraintProto.java.

◆ CIRCUIT_COVERING_FIELD_NUMBER

final int CIRCUIT_COVERING_FIELD_NUMBER = 25
static

Definition at line 1415 of file ConstraintProto.java.

◆ CIRCUIT_FIELD_NUMBER

final int CIRCUIT_FIELD_NUMBER = 15
static

Definition at line 1326 of file ConstraintProto.java.

◆ CUMULATIVE_FIELD_NUMBER

final int CUMULATIVE_FIELD_NUMBER = 22
static

Definition at line 1786 of file ConstraintProto.java.

◆ ELEMENT_FIELD_NUMBER

final int ELEMENT_FIELD_NUMBER = 14
static

Definition at line 1280 of file ConstraintProto.java.

◆ ENFORCEMENT_LITERAL_FIELD_NUMBER

final int ENFORCEMENT_LITERAL_FIELD_NUMBER = 2
static

Definition at line 603 of file ConstraintProto.java.

◆ INT_DIV_FIELD_NUMBER

final int INT_DIV_FIELD_NUMBER = 7
static

Definition at line 869 of file ConstraintProto.java.

◆ INT_MAX_FIELD_NUMBER

final int INT_MAX_FIELD_NUMBER = 9
static

Definition at line 955 of file ConstraintProto.java.

◆ INT_MIN_FIELD_NUMBER

final int INT_MIN_FIELD_NUMBER = 10
static

Definition at line 1050 of file ConstraintProto.java.

◆ INT_MOD_FIELD_NUMBER

final int INT_MOD_FIELD_NUMBER = 8
static

Definition at line 912 of file ConstraintProto.java.

◆ INT_PROD_FIELD_NUMBER

final int INT_PROD_FIELD_NUMBER = 11
static

Definition at line 1145 of file ConstraintProto.java.

◆ INTERVAL_FIELD_NUMBER

final int INTERVAL_FIELD_NUMBER = 19
static

Definition at line 1648 of file ConstraintProto.java.

◆ INVERSE_FIELD_NUMBER

final int INVERSE_FIELD_NUMBER = 18
static

Definition at line 1553 of file ConstraintProto.java.

◆ LIN_MAX_FIELD_NUMBER

final int LIN_MAX_FIELD_NUMBER = 27
static

Definition at line 1004 of file ConstraintProto.java.

◆ LIN_MIN_FIELD_NUMBER

final int LIN_MIN_FIELD_NUMBER = 28
static

Definition at line 1099 of file ConstraintProto.java.

◆ LINEAR_FIELD_NUMBER

final int LINEAR_FIELD_NUMBER = 12
static

Definition at line 1191 of file ConstraintProto.java.

◆ NAME_FIELD_NUMBER

final int NAME_FIELD_NUMBER = 1
static

Definition at line 557 of file ConstraintProto.java.

◆ NO_OVERLAP_2D_FIELD_NUMBER

final int NO_OVERLAP_2D_FIELD_NUMBER = 21
static

Definition at line 1743 of file ConstraintProto.java.

◆ NO_OVERLAP_FIELD_NUMBER

final int NO_OVERLAP_FIELD_NUMBER = 20
static

Definition at line 1694 of file ConstraintProto.java.

◆ RESERVOIR_FIELD_NUMBER

final int RESERVOIR_FIELD_NUMBER = 24
static

Definition at line 1599 of file ConstraintProto.java.

◆ ROUTES_FIELD_NUMBER

final int ROUTES_FIELD_NUMBER = 23
static

Definition at line 1372 of file ConstraintProto.java.

◆ TABLE_FIELD_NUMBER

final int TABLE_FIELD_NUMBER = 16
static

Definition at line 1461 of file ConstraintProto.java.


The documentation for this class was generated from the following file: