Files
ortools-clone/docs/javadoc/com/google/ortools/sat/ConstraintProto.Builder.html
Mizux Seiha 3b81c981c2 Update doc
2022-03-04 00:19:15 +01:00

4832 lines
347 KiB
HTML

<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) on Thu Mar 03 21:59:09 CET 2022 -->
<title>ConstraintProto.Builder (com.google.ortools:ortools-java 9.3.10440 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-03-03">
<meta name="description" content="declaration: package: com.google.ortools.sat, class: ConstraintProto, class: Builder">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../script-dir/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-declaration-page">
<script type="text/javascript">var evenRowColor = "even-row-color";
var oddRowColor = "odd-row-color";
var tableTab = "table-tab";
var activeTableTab = "active-table-tab";
var pathtoroot = "../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="nav-bar-cell1-rev">Class</li>
<li><a href="class-use/ConstraintProto.Builder.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html#class">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div>
<ul class="sub-nav-list">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li>
</ul>
<ul class="sub-nav-list">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li>
</ul>
</div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">com.google.ortools.sat</a></div>
<h1 title="Class ConstraintProto.Builder" class="title">Class ConstraintProto.Builder</h1>
</div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
<div class="inheritance">com.google.protobuf.AbstractMessageLite.Builder
<div class="inheritance">com.google.protobuf.AbstractMessage.Builder&lt;BuilderType&gt;
<div class="inheritance">com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&gt;
<div class="inheritance">com.google.ortools.sat.ConstraintProto.Builder</div>
</div>
</div>
</div>
</div>
<section class="class-description" id="class-description">
<dl class="notes">
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code>, <code>com.google.protobuf.Message.Builder</code>, <code>com.google.protobuf.MessageLite.Builder</code>, <code>com.google.protobuf.MessageLiteOrBuilder</code>, <code>com.google.protobuf.MessageOrBuilder</code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html" title="class or interface in java.lang" class="external-link">Cloneable</a></code></dd>
</dl>
<dl class="notes">
<dt>Enclosing class:</dt>
<dd><a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a></dd>
</dl>
<hr>
<div class="type-signature"><span class="modifiers">public static final class </span><span class="element-name type-name-label">ConstraintProto.Builder</span>
<span class="extends-implements">extends com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&gt;
implements <a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></span></div>
<div class="block"><pre>
Next id: 31
</pre>
Protobuf type <code>operations_research.sat.ConstraintProto</code></div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addAllEnforcementLiteral(java.lang.Iterable)" class="member-name-link">addAllEnforcementLiteral</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&gt;&nbsp;values)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The constraint will be enforced iff all literals listed here are true.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addEnforcementLiteral(int)" class="member-name-link">addEnforcementLiteral</a><wbr>(int&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The constraint will be enforced iff all literals listed here are true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)" class="member-name-link">addRepeatedField</a><wbr>(com.google.protobuf.Descriptors.FieldDescriptor&nbsp;field,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#build()" class="member-name-link">build</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#buildPartial()" class="member-name-link">buildPartial</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clear()" class="member-name-link">clear</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearAllDiff()" class="member-name-link">clearAllDiff</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The all_diff constraint forces all variables to take different values.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearAtMostOne()" class="member-name-link">clearAtMostOne</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The at_most_one constraint enforces that no more than one literal is
true at the same time.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearAutomaton()" class="member-name-link">clearAutomaton</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The automaton constraint forces a sequence of variables to be accepted
by an automaton.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearBoolAnd()" class="member-name-link">clearBoolAnd</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_and constraint forces all of the literals to be true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearBoolOr()" class="member-name-link">clearBoolOr</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_or constraint forces at least one literal to be true.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearBoolXor()" class="member-name-link">clearBoolXor</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_xor constraint forces an odd number of the literals to be true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearCircuit()" class="member-name-link">clearCircuit</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearConstraint()" class="member-name-link">clearConstraint</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearCumulative()" class="member-name-link">clearCumulative</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearDummyConstraint()" class="member-name-link">clearDummyConstraint</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
This constraint is not meant to be used and will be rejected by the
solver.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearElement()" class="member-name-link">clearElement</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The element constraint forces the variable with the given index
to be equal to the target.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearEnforcementLiteral()" class="member-name-link">clearEnforcementLiteral</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The constraint will be enforced iff all literals listed here are true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearExactlyOne()" class="member-name-link">clearExactlyOne</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The exactly_one constraint force exactly one literal to true and no more.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearField(com.google.protobuf.Descriptors.FieldDescriptor)" class="member-name-link">clearField</a><wbr>(com.google.protobuf.Descriptors.FieldDescriptor&nbsp;field)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearIntDiv()" class="member-name-link">clearIntDiv</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_div constraint forces the target to equal exprs[0] / exprs[1].</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearInterval()" class="member-name-link">clearInterval</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The interval constraint takes a start, end, and size, and forces
start + size == end.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearIntMod()" class="member-name-link">clearIntMod</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_mod constraint forces the target to equal exprs[0] % exprs[1].</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearIntProd()" class="member-name-link">clearIntProd</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_prod constraint forces the target to equal the product of all
variables.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearInverse()" class="member-name-link">clearInverse</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearLinear()" class="member-name-link">clearLinear</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The linear constraint enforces a linear inequality among the variables,
such as 0 &lt;= x + 2y &lt;= 10.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearLinMax()" class="member-name-link">clearLinMax</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The lin_max constraint forces the target to equal the maximum of all
linear expressions.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearName()" class="member-name-link">clearName</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
For debug/logging only.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearNoOverlap()" class="member-name-link">clearNoOverlap</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearNoOverlap2D()" class="member-name-link">clearNoOverlap2D</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The no_overlap_2d constraint prevents a set of boxes from overlapping.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearOneof(com.google.protobuf.Descriptors.OneofDescriptor)" class="member-name-link">clearOneof</a><wbr>(com.google.protobuf.Descriptors.OneofDescriptor&nbsp;oneof)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearReservoir()" class="member-name-link">clearReservoir</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearRoutes()" class="member-name-link">clearRoutes</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The routes constraint implements the vehicle routing problem.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clearTable()" class="member-name-link">clearTable</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The table constraint enforces what values a tuple of variables may
take.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clone()" class="member-name-link">clone</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="AllDifferentConstraintProto.html" title="class in com.google.ortools.sat">AllDifferentConstraintProto</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAllDiff()" class="member-name-link">getAllDiff</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The all_diff constraint forces all variables to take different values.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="AllDifferentConstraintProto.Builder.html" title="class in com.google.ortools.sat">AllDifferentConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAllDiffBuilder()" class="member-name-link">getAllDiffBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The all_diff constraint forces all variables to take different values.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="AllDifferentConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">AllDifferentConstraintProtoOrBuilder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAllDiffOrBuilder()" class="member-name-link">getAllDiffOrBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The all_diff constraint forces all variables to take different values.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAtMostOne()" class="member-name-link">getAtMostOne</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The at_most_one constraint enforces that no more than one literal is
true at the same time.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAtMostOneBuilder()" class="member-name-link">getAtMostOneBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The at_most_one constraint enforces that no more than one literal is
true at the same time.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="BoolArgumentProtoOrBuilder.html" title="interface in com.google.ortools.sat">BoolArgumentProtoOrBuilder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAtMostOneOrBuilder()" class="member-name-link">getAtMostOneOrBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The at_most_one constraint enforces that no more than one literal is
true at the same time.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="AutomatonConstraintProto.html" title="class in com.google.ortools.sat">AutomatonConstraintProto</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAutomaton()" class="member-name-link">getAutomaton</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The automaton constraint forces a sequence of variables to be accepted
by an automaton.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="AutomatonConstraintProto.Builder.html" title="class in com.google.ortools.sat">AutomatonConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAutomatonBuilder()" class="member-name-link">getAutomatonBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The automaton constraint forces a sequence of variables to be accepted
by an automaton.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="AutomatonConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">AutomatonConstraintProtoOrBuilder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAutomatonOrBuilder()" class="member-name-link">getAutomatonOrBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The automaton constraint forces a sequence of variables to be accepted
by an automaton.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getBoolAnd()" class="member-name-link">getBoolAnd</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_and constraint forces all of the literals to be true.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getBoolAndBuilder()" class="member-name-link">getBoolAndBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_and constraint forces all of the literals to be true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="BoolArgumentProtoOrBuilder.html" title="interface in com.google.ortools.sat">BoolArgumentProtoOrBuilder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getBoolAndOrBuilder()" class="member-name-link">getBoolAndOrBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_and constraint forces all of the literals to be true.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getBoolOr()" class="member-name-link">getBoolOr</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_or constraint forces at least one literal to be true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getBoolOrBuilder()" class="member-name-link">getBoolOrBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_or constraint forces at least one literal to be true.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="BoolArgumentProtoOrBuilder.html" title="interface in com.google.ortools.sat">BoolArgumentProtoOrBuilder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getBoolOrOrBuilder()" class="member-name-link">getBoolOrOrBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_or constraint forces at least one literal to be true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getBoolXor()" class="member-name-link">getBoolXor</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_xor constraint forces an odd number of the literals to be true.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getBoolXorBuilder()" class="member-name-link">getBoolXorBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_xor constraint forces an odd number of the literals to be true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="BoolArgumentProtoOrBuilder.html" title="interface in com.google.ortools.sat">BoolArgumentProtoOrBuilder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getBoolXorOrBuilder()" class="member-name-link">getBoolXorOrBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_xor constraint forces an odd number of the literals to be true.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CircuitConstraintProto.html" title="class in com.google.ortools.sat">CircuitConstraintProto</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCircuit()" class="member-name-link">getCircuit</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CircuitConstraintProto.Builder.html" title="class in com.google.ortools.sat">CircuitConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCircuitBuilder()" class="member-name-link">getCircuitBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CircuitConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">CircuitConstraintProtoOrBuilder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCircuitOrBuilder()" class="member-name-link">getCircuitOrBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.ConstraintCase.html" title="enum in com.google.ortools.sat">ConstraintProto.ConstraintCase</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getConstraintCase()" class="member-name-link">getConstraintCase</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CumulativeConstraintProto.html" title="class in com.google.ortools.sat">CumulativeConstraintProto</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCumulative()" class="member-name-link">getCumulative</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCumulativeBuilder()" class="member-name-link">getCumulativeBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CumulativeConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">CumulativeConstraintProtoOrBuilder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCumulativeOrBuilder()" class="member-name-link">getCumulativeOrBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDefaultInstanceForType()" class="member-name-link">getDefaultInstanceForType</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final com.google.protobuf.Descriptors.Descriptor</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getDescriptor()" class="member-name-link">getDescriptor</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>com.google.protobuf.Descriptors.Descriptor</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDescriptorForType()" class="member-name-link">getDescriptorForType</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ListOfVariablesProto.html" title="class in com.google.ortools.sat">ListOfVariablesProto</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDummyConstraint()" class="member-name-link">getDummyConstraint</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
This constraint is not meant to be used and will be rejected by the
solver.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ListOfVariablesProto.Builder.html" title="class in com.google.ortools.sat">ListOfVariablesProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDummyConstraintBuilder()" class="member-name-link">getDummyConstraintBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
This constraint is not meant to be used and will be rejected by the
solver.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ListOfVariablesProtoOrBuilder.html" title="interface in com.google.ortools.sat">ListOfVariablesProtoOrBuilder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDummyConstraintOrBuilder()" class="member-name-link">getDummyConstraintOrBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
This constraint is not meant to be used and will be rejected by the
solver.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ElementConstraintProto.html" title="class in com.google.ortools.sat">ElementConstraintProto</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getElement()" class="member-name-link">getElement</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The element constraint forces the variable with the given index
to be equal to the target.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ElementConstraintProto.Builder.html" title="class in com.google.ortools.sat">ElementConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getElementBuilder()" class="member-name-link">getElementBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The element constraint forces the variable with the given index
to be equal to the target.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ElementConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ElementConstraintProtoOrBuilder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getElementOrBuilder()" class="member-name-link">getElementOrBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The element constraint forces the variable with the given index
to be equal to the target.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getEnforcementLiteral(int)" class="member-name-link">getEnforcementLiteral</a><wbr>(int&nbsp;index)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The constraint will be enforced iff all literals listed here are true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getEnforcementLiteralCount()" class="member-name-link">getEnforcementLiteralCount</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The constraint will be enforced iff all literals listed here are true.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getEnforcementLiteralList()" class="member-name-link">getEnforcementLiteralList</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The constraint will be enforced iff all literals listed here are true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getExactlyOne()" class="member-name-link">getExactlyOne</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The exactly_one constraint force exactly one literal to true and no more.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getExactlyOneBuilder()" class="member-name-link">getExactlyOneBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The exactly_one constraint force exactly one literal to true and no more.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="BoolArgumentProtoOrBuilder.html" title="interface in com.google.ortools.sat">BoolArgumentProtoOrBuilder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getExactlyOneOrBuilder()" class="member-name-link">getExactlyOneOrBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The exactly_one constraint force exactly one literal to true and no more.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIntDiv()" class="member-name-link">getIntDiv</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_div constraint forces the target to equal exprs[0] / exprs[1].</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="LinearArgumentProto.Builder.html" title="class in com.google.ortools.sat">LinearArgumentProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIntDivBuilder()" class="member-name-link">getIntDivBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_div constraint forces the target to equal exprs[0] / exprs[1].</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="LinearArgumentProtoOrBuilder.html" title="interface in com.google.ortools.sat">LinearArgumentProtoOrBuilder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIntDivOrBuilder()" class="member-name-link">getIntDivOrBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_div constraint forces the target to equal exprs[0] / exprs[1].</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="IntervalConstraintProto.html" title="class in com.google.ortools.sat">IntervalConstraintProto</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getInterval()" class="member-name-link">getInterval</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The interval constraint takes a start, end, and size, and forces
start + size == end.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="IntervalConstraintProto.Builder.html" title="class in com.google.ortools.sat">IntervalConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIntervalBuilder()" class="member-name-link">getIntervalBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The interval constraint takes a start, end, and size, and forces
start + size == end.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="IntervalConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">IntervalConstraintProtoOrBuilder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIntervalOrBuilder()" class="member-name-link">getIntervalOrBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The interval constraint takes a start, end, and size, and forces
start + size == end.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIntMod()" class="member-name-link">getIntMod</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_mod constraint forces the target to equal exprs[0] % exprs[1].</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="LinearArgumentProto.Builder.html" title="class in com.google.ortools.sat">LinearArgumentProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIntModBuilder()" class="member-name-link">getIntModBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_mod constraint forces the target to equal exprs[0] % exprs[1].</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="LinearArgumentProtoOrBuilder.html" title="interface in com.google.ortools.sat">LinearArgumentProtoOrBuilder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIntModOrBuilder()" class="member-name-link">getIntModOrBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_mod constraint forces the target to equal exprs[0] % exprs[1].</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIntProd()" class="member-name-link">getIntProd</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_prod constraint forces the target to equal the product of all
variables.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="LinearArgumentProto.Builder.html" title="class in com.google.ortools.sat">LinearArgumentProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIntProdBuilder()" class="member-name-link">getIntProdBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_prod constraint forces the target to equal the product of all
variables.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="LinearArgumentProtoOrBuilder.html" title="interface in com.google.ortools.sat">LinearArgumentProtoOrBuilder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIntProdOrBuilder()" class="member-name-link">getIntProdOrBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_prod constraint forces the target to equal the product of all
variables.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="InverseConstraintProto.html" title="class in com.google.ortools.sat">InverseConstraintProto</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getInverse()" class="member-name-link">getInverse</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="InverseConstraintProto.Builder.html" title="class in com.google.ortools.sat">InverseConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getInverseBuilder()" class="member-name-link">getInverseBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="InverseConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">InverseConstraintProtoOrBuilder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getInverseOrBuilder()" class="member-name-link">getInverseOrBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="LinearConstraintProto.html" title="class in com.google.ortools.sat">LinearConstraintProto</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLinear()" class="member-name-link">getLinear</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The linear constraint enforces a linear inequality among the variables,
such as 0 &lt;= x + 2y &lt;= 10.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="LinearConstraintProto.Builder.html" title="class in com.google.ortools.sat">LinearConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLinearBuilder()" class="member-name-link">getLinearBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The linear constraint enforces a linear inequality among the variables,
such as 0 &lt;= x + 2y &lt;= 10.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="LinearConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">LinearConstraintProtoOrBuilder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLinearOrBuilder()" class="member-name-link">getLinearOrBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The linear constraint enforces a linear inequality among the variables,
such as 0 &lt;= x + 2y &lt;= 10.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLinMax()" class="member-name-link">getLinMax</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The lin_max constraint forces the target to equal the maximum of all
linear expressions.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="LinearArgumentProto.Builder.html" title="class in com.google.ortools.sat">LinearArgumentProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLinMaxBuilder()" class="member-name-link">getLinMaxBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The lin_max constraint forces the target to equal the maximum of all
linear expressions.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="LinearArgumentProtoOrBuilder.html" title="interface in com.google.ortools.sat">LinearArgumentProtoOrBuilder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLinMaxOrBuilder()" class="member-name-link">getLinMaxOrBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The lin_max constraint forces the target to equal the maximum of all
linear expressions.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getName()" class="member-name-link">getName</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
For debug/logging only.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>com.google.protobuf.ByteString</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNameBytes()" class="member-name-link">getNameBytes</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
For debug/logging only.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="NoOverlapConstraintProto.html" title="class in com.google.ortools.sat">NoOverlapConstraintProto</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNoOverlap()" class="member-name-link">getNoOverlap</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="NoOverlap2DConstraintProto.html" title="class in com.google.ortools.sat">NoOverlap2DConstraintProto</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNoOverlap2D()" class="member-name-link">getNoOverlap2D</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The no_overlap_2d constraint prevents a set of boxes from overlapping.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="NoOverlap2DConstraintProto.Builder.html" title="class in com.google.ortools.sat">NoOverlap2DConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNoOverlap2DBuilder()" class="member-name-link">getNoOverlap2DBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The no_overlap_2d constraint prevents a set of boxes from overlapping.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="NoOverlap2DConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">NoOverlap2DConstraintProtoOrBuilder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNoOverlap2DOrBuilder()" class="member-name-link">getNoOverlap2DOrBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The no_overlap_2d constraint prevents a set of boxes from overlapping.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="NoOverlapConstraintProto.Builder.html" title="class in com.google.ortools.sat">NoOverlapConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNoOverlapBuilder()" class="member-name-link">getNoOverlapBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="NoOverlapConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">NoOverlapConstraintProtoOrBuilder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNoOverlapOrBuilder()" class="member-name-link">getNoOverlapOrBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ReservoirConstraintProto.html" title="class in com.google.ortools.sat">ReservoirConstraintProto</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getReservoir()" class="member-name-link">getReservoir</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ReservoirConstraintProto.Builder.html" title="class in com.google.ortools.sat">ReservoirConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getReservoirBuilder()" class="member-name-link">getReservoirBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ReservoirConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ReservoirConstraintProtoOrBuilder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getReservoirOrBuilder()" class="member-name-link">getReservoirOrBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RoutesConstraintProto.html" title="class in com.google.ortools.sat">RoutesConstraintProto</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRoutes()" class="member-name-link">getRoutes</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The routes constraint implements the vehicle routing problem.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RoutesConstraintProto.Builder.html" title="class in com.google.ortools.sat">RoutesConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRoutesBuilder()" class="member-name-link">getRoutesBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The routes constraint implements the vehicle routing problem.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RoutesConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">RoutesConstraintProtoOrBuilder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRoutesOrBuilder()" class="member-name-link">getRoutesOrBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The routes constraint implements the vehicle routing problem.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="TableConstraintProto.html" title="class in com.google.ortools.sat">TableConstraintProto</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getTable()" class="member-name-link">getTable</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The table constraint enforces what values a tuple of variables may
take.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="TableConstraintProto.Builder.html" title="class in com.google.ortools.sat">TableConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getTableBuilder()" class="member-name-link">getTableBuilder</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The table constraint enforces what values a tuple of variables may
take.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="TableConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">TableConstraintProtoOrBuilder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getTableOrBuilder()" class="member-name-link">getTableOrBuilder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The table constraint enforces what values a tuple of variables may
take.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasAllDiff()" class="member-name-link">hasAllDiff</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The all_diff constraint forces all variables to take different values.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasAtMostOne()" class="member-name-link">hasAtMostOne</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The at_most_one constraint enforces that no more than one literal is
true at the same time.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasAutomaton()" class="member-name-link">hasAutomaton</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The automaton constraint forces a sequence of variables to be accepted
by an automaton.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasBoolAnd()" class="member-name-link">hasBoolAnd</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_and constraint forces all of the literals to be true.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasBoolOr()" class="member-name-link">hasBoolOr</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_or constraint forces at least one literal to be true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasBoolXor()" class="member-name-link">hasBoolXor</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_xor constraint forces an odd number of the literals to be true.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasCircuit()" class="member-name-link">hasCircuit</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasCumulative()" class="member-name-link">hasCumulative</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasDummyConstraint()" class="member-name-link">hasDummyConstraint</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
This constraint is not meant to be used and will be rejected by the
solver.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasElement()" class="member-name-link">hasElement</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The element constraint forces the variable with the given index
to be equal to the target.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasExactlyOne()" class="member-name-link">hasExactlyOne</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The exactly_one constraint force exactly one literal to true and no more.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasIntDiv()" class="member-name-link">hasIntDiv</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_div constraint forces the target to equal exprs[0] / exprs[1].</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasInterval()" class="member-name-link">hasInterval</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The interval constraint takes a start, end, and size, and forces
start + size == end.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasIntMod()" class="member-name-link">hasIntMod</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_mod constraint forces the target to equal exprs[0] % exprs[1].</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasIntProd()" class="member-name-link">hasIntProd</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_prod constraint forces the target to equal the product of all
variables.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasInverse()" class="member-name-link">hasInverse</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasLinear()" class="member-name-link">hasLinear</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The linear constraint enforces a linear inequality among the variables,
such as 0 &lt;= x + 2y &lt;= 10.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasLinMax()" class="member-name-link">hasLinMax</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The lin_max constraint forces the target to equal the maximum of all
linear expressions.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasNoOverlap()" class="member-name-link">hasNoOverlap</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasNoOverlap2D()" class="member-name-link">hasNoOverlap2D</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The no_overlap_2d constraint prevents a set of boxes from overlapping.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasReservoir()" class="member-name-link">hasReservoir</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasRoutes()" class="member-name-link">hasRoutes</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The routes constraint implements the vehicle routing problem.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasTable()" class="member-name-link">hasTable</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The table constraint enforces what values a tuple of variables may
take.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#internalGetFieldAccessorTable()" class="member-name-link">internalGetFieldAccessorTable</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>final boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isInitialized()" class="member-name-link">isInitialized</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeAllDiff(com.google.ortools.sat.AllDifferentConstraintProto)" class="member-name-link">mergeAllDiff</a><wbr>(<a href="AllDifferentConstraintProto.html" title="class in com.google.ortools.sat">AllDifferentConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The all_diff constraint forces all variables to take different values.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeAtMostOne(com.google.ortools.sat.BoolArgumentProto)" class="member-name-link">mergeAtMostOne</a><wbr>(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The at_most_one constraint enforces that no more than one literal is
true at the same time.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeAutomaton(com.google.ortools.sat.AutomatonConstraintProto)" class="member-name-link">mergeAutomaton</a><wbr>(<a href="AutomatonConstraintProto.html" title="class in com.google.ortools.sat">AutomatonConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The automaton constraint forces a sequence of variables to be accepted
by an automaton.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeBoolAnd(com.google.ortools.sat.BoolArgumentProto)" class="member-name-link">mergeBoolAnd</a><wbr>(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_and constraint forces all of the literals to be true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeBoolOr(com.google.ortools.sat.BoolArgumentProto)" class="member-name-link">mergeBoolOr</a><wbr>(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_or constraint forces at least one literal to be true.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeBoolXor(com.google.ortools.sat.BoolArgumentProto)" class="member-name-link">mergeBoolXor</a><wbr>(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_xor constraint forces an odd number of the literals to be true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeCircuit(com.google.ortools.sat.CircuitConstraintProto)" class="member-name-link">mergeCircuit</a><wbr>(<a href="CircuitConstraintProto.html" title="class in com.google.ortools.sat">CircuitConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeCumulative(com.google.ortools.sat.CumulativeConstraintProto)" class="member-name-link">mergeCumulative</a><wbr>(<a href="CumulativeConstraintProto.html" title="class in com.google.ortools.sat">CumulativeConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeDummyConstraint(com.google.ortools.sat.ListOfVariablesProto)" class="member-name-link">mergeDummyConstraint</a><wbr>(<a href="ListOfVariablesProto.html" title="class in com.google.ortools.sat">ListOfVariablesProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
This constraint is not meant to be used and will be rejected by the
solver.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeElement(com.google.ortools.sat.ElementConstraintProto)" class="member-name-link">mergeElement</a><wbr>(<a href="ElementConstraintProto.html" title="class in com.google.ortools.sat">ElementConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The element constraint forces the variable with the given index
to be equal to the target.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeExactlyOne(com.google.ortools.sat.BoolArgumentProto)" class="member-name-link">mergeExactlyOne</a><wbr>(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The exactly_one constraint force exactly one literal to true and no more.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeFrom(com.google.ortools.sat.ConstraintProto)" class="member-name-link">mergeFrom</a><wbr>(<a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a>&nbsp;other)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeFrom(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)" class="member-name-link">mergeFrom</a><wbr>(com.google.protobuf.CodedInputStream&nbsp;input,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeFrom(com.google.protobuf.Message)" class="member-name-link">mergeFrom</a><wbr>(com.google.protobuf.Message&nbsp;other)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeIntDiv(com.google.ortools.sat.LinearArgumentProto)" class="member-name-link">mergeIntDiv</a><wbr>(<a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_div constraint forces the target to equal exprs[0] / exprs[1].</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeInterval(com.google.ortools.sat.IntervalConstraintProto)" class="member-name-link">mergeInterval</a><wbr>(<a href="IntervalConstraintProto.html" title="class in com.google.ortools.sat">IntervalConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The interval constraint takes a start, end, and size, and forces
start + size == end.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeIntMod(com.google.ortools.sat.LinearArgumentProto)" class="member-name-link">mergeIntMod</a><wbr>(<a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_mod constraint forces the target to equal exprs[0] % exprs[1].</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeIntProd(com.google.ortools.sat.LinearArgumentProto)" class="member-name-link">mergeIntProd</a><wbr>(<a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_prod constraint forces the target to equal the product of all
variables.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeInverse(com.google.ortools.sat.InverseConstraintProto)" class="member-name-link">mergeInverse</a><wbr>(<a href="InverseConstraintProto.html" title="class in com.google.ortools.sat">InverseConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeLinear(com.google.ortools.sat.LinearConstraintProto)" class="member-name-link">mergeLinear</a><wbr>(<a href="LinearConstraintProto.html" title="class in com.google.ortools.sat">LinearConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The linear constraint enforces a linear inequality among the variables,
such as 0 &lt;= x + 2y &lt;= 10.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeLinMax(com.google.ortools.sat.LinearArgumentProto)" class="member-name-link">mergeLinMax</a><wbr>(<a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The lin_max constraint forces the target to equal the maximum of all
linear expressions.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeNoOverlap(com.google.ortools.sat.NoOverlapConstraintProto)" class="member-name-link">mergeNoOverlap</a><wbr>(<a href="NoOverlapConstraintProto.html" title="class in com.google.ortools.sat">NoOverlapConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeNoOverlap2D(com.google.ortools.sat.NoOverlap2DConstraintProto)" class="member-name-link">mergeNoOverlap2D</a><wbr>(<a href="NoOverlap2DConstraintProto.html" title="class in com.google.ortools.sat">NoOverlap2DConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The no_overlap_2d constraint prevents a set of boxes from overlapping.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeReservoir(com.google.ortools.sat.ReservoirConstraintProto)" class="member-name-link">mergeReservoir</a><wbr>(<a href="ReservoirConstraintProto.html" title="class in com.google.ortools.sat">ReservoirConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeRoutes(com.google.ortools.sat.RoutesConstraintProto)" class="member-name-link">mergeRoutes</a><wbr>(<a href="RoutesConstraintProto.html" title="class in com.google.ortools.sat">RoutesConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The routes constraint implements the vehicle routing problem.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeTable(com.google.ortools.sat.TableConstraintProto)" class="member-name-link">mergeTable</a><wbr>(<a href="TableConstraintProto.html" title="class in com.google.ortools.sat">TableConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The table constraint enforces what values a tuple of variables may
take.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>final <a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mergeUnknownFields(com.google.protobuf.UnknownFieldSet)" class="member-name-link">mergeUnknownFields</a><wbr>(com.google.protobuf.UnknownFieldSet&nbsp;unknownFields)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAllDiff(com.google.ortools.sat.AllDifferentConstraintProto)" class="member-name-link">setAllDiff</a><wbr>(<a href="AllDifferentConstraintProto.html" title="class in com.google.ortools.sat">AllDifferentConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The all_diff constraint forces all variables to take different values.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAllDiff(com.google.ortools.sat.AllDifferentConstraintProto.Builder)" class="member-name-link">setAllDiff</a><wbr>(<a href="AllDifferentConstraintProto.Builder.html" title="class in com.google.ortools.sat">AllDifferentConstraintProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The all_diff constraint forces all variables to take different values.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAtMostOne(com.google.ortools.sat.BoolArgumentProto)" class="member-name-link">setAtMostOne</a><wbr>(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The at_most_one constraint enforces that no more than one literal is
true at the same time.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAtMostOne(com.google.ortools.sat.BoolArgumentProto.Builder)" class="member-name-link">setAtMostOne</a><wbr>(<a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The at_most_one constraint enforces that no more than one literal is
true at the same time.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAutomaton(com.google.ortools.sat.AutomatonConstraintProto)" class="member-name-link">setAutomaton</a><wbr>(<a href="AutomatonConstraintProto.html" title="class in com.google.ortools.sat">AutomatonConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The automaton constraint forces a sequence of variables to be accepted
by an automaton.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAutomaton(com.google.ortools.sat.AutomatonConstraintProto.Builder)" class="member-name-link">setAutomaton</a><wbr>(<a href="AutomatonConstraintProto.Builder.html" title="class in com.google.ortools.sat">AutomatonConstraintProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The automaton constraint forces a sequence of variables to be accepted
by an automaton.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setBoolAnd(com.google.ortools.sat.BoolArgumentProto)" class="member-name-link">setBoolAnd</a><wbr>(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_and constraint forces all of the literals to be true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setBoolAnd(com.google.ortools.sat.BoolArgumentProto.Builder)" class="member-name-link">setBoolAnd</a><wbr>(<a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_and constraint forces all of the literals to be true.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setBoolOr(com.google.ortools.sat.BoolArgumentProto)" class="member-name-link">setBoolOr</a><wbr>(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_or constraint forces at least one literal to be true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setBoolOr(com.google.ortools.sat.BoolArgumentProto.Builder)" class="member-name-link">setBoolOr</a><wbr>(<a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_or constraint forces at least one literal to be true.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setBoolXor(com.google.ortools.sat.BoolArgumentProto)" class="member-name-link">setBoolXor</a><wbr>(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_xor constraint forces an odd number of the literals to be true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setBoolXor(com.google.ortools.sat.BoolArgumentProto.Builder)" class="member-name-link">setBoolXor</a><wbr>(<a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The bool_xor constraint forces an odd number of the literals to be true.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setCircuit(com.google.ortools.sat.CircuitConstraintProto)" class="member-name-link">setCircuit</a><wbr>(<a href="CircuitConstraintProto.html" title="class in com.google.ortools.sat">CircuitConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setCircuit(com.google.ortools.sat.CircuitConstraintProto.Builder)" class="member-name-link">setCircuit</a><wbr>(<a href="CircuitConstraintProto.Builder.html" title="class in com.google.ortools.sat">CircuitConstraintProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setCumulative(com.google.ortools.sat.CumulativeConstraintProto)" class="member-name-link">setCumulative</a><wbr>(<a href="CumulativeConstraintProto.html" title="class in com.google.ortools.sat">CumulativeConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setCumulative(com.google.ortools.sat.CumulativeConstraintProto.Builder)" class="member-name-link">setCumulative</a><wbr>(<a href="CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDummyConstraint(com.google.ortools.sat.ListOfVariablesProto)" class="member-name-link">setDummyConstraint</a><wbr>(<a href="ListOfVariablesProto.html" title="class in com.google.ortools.sat">ListOfVariablesProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
This constraint is not meant to be used and will be rejected by the
solver.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDummyConstraint(com.google.ortools.sat.ListOfVariablesProto.Builder)" class="member-name-link">setDummyConstraint</a><wbr>(<a href="ListOfVariablesProto.Builder.html" title="class in com.google.ortools.sat">ListOfVariablesProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
This constraint is not meant to be used and will be rejected by the
solver.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setElement(com.google.ortools.sat.ElementConstraintProto)" class="member-name-link">setElement</a><wbr>(<a href="ElementConstraintProto.html" title="class in com.google.ortools.sat">ElementConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The element constraint forces the variable with the given index
to be equal to the target.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setElement(com.google.ortools.sat.ElementConstraintProto.Builder)" class="member-name-link">setElement</a><wbr>(<a href="ElementConstraintProto.Builder.html" title="class in com.google.ortools.sat">ElementConstraintProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The element constraint forces the variable with the given index
to be equal to the target.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setEnforcementLiteral(int,int)" class="member-name-link">setEnforcementLiteral</a><wbr>(int&nbsp;index,
int&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The constraint will be enforced iff all literals listed here are true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setExactlyOne(com.google.ortools.sat.BoolArgumentProto)" class="member-name-link">setExactlyOne</a><wbr>(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The exactly_one constraint force exactly one literal to true and no more.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setExactlyOne(com.google.ortools.sat.BoolArgumentProto.Builder)" class="member-name-link">setExactlyOne</a><wbr>(<a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The exactly_one constraint force exactly one literal to true and no more.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)" class="member-name-link">setField</a><wbr>(com.google.protobuf.Descriptors.FieldDescriptor&nbsp;field,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setIntDiv(com.google.ortools.sat.LinearArgumentProto)" class="member-name-link">setIntDiv</a><wbr>(<a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_div constraint forces the target to equal exprs[0] / exprs[1].</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setIntDiv(com.google.ortools.sat.LinearArgumentProto.Builder)" class="member-name-link">setIntDiv</a><wbr>(<a href="LinearArgumentProto.Builder.html" title="class in com.google.ortools.sat">LinearArgumentProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_div constraint forces the target to equal exprs[0] / exprs[1].</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setInterval(com.google.ortools.sat.IntervalConstraintProto)" class="member-name-link">setInterval</a><wbr>(<a href="IntervalConstraintProto.html" title="class in com.google.ortools.sat">IntervalConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The interval constraint takes a start, end, and size, and forces
start + size == end.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setInterval(com.google.ortools.sat.IntervalConstraintProto.Builder)" class="member-name-link">setInterval</a><wbr>(<a href="IntervalConstraintProto.Builder.html" title="class in com.google.ortools.sat">IntervalConstraintProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The interval constraint takes a start, end, and size, and forces
start + size == end.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setIntMod(com.google.ortools.sat.LinearArgumentProto)" class="member-name-link">setIntMod</a><wbr>(<a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_mod constraint forces the target to equal exprs[0] % exprs[1].</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setIntMod(com.google.ortools.sat.LinearArgumentProto.Builder)" class="member-name-link">setIntMod</a><wbr>(<a href="LinearArgumentProto.Builder.html" title="class in com.google.ortools.sat">LinearArgumentProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_mod constraint forces the target to equal exprs[0] % exprs[1].</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setIntProd(com.google.ortools.sat.LinearArgumentProto)" class="member-name-link">setIntProd</a><wbr>(<a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_prod constraint forces the target to equal the product of all
variables.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setIntProd(com.google.ortools.sat.LinearArgumentProto.Builder)" class="member-name-link">setIntProd</a><wbr>(<a href="LinearArgumentProto.Builder.html" title="class in com.google.ortools.sat">LinearArgumentProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The int_prod constraint forces the target to equal the product of all
variables.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setInverse(com.google.ortools.sat.InverseConstraintProto)" class="member-name-link">setInverse</a><wbr>(<a href="InverseConstraintProto.html" title="class in com.google.ortools.sat">InverseConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setInverse(com.google.ortools.sat.InverseConstraintProto.Builder)" class="member-name-link">setInverse</a><wbr>(<a href="InverseConstraintProto.Builder.html" title="class in com.google.ortools.sat">InverseConstraintProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setLinear(com.google.ortools.sat.LinearConstraintProto)" class="member-name-link">setLinear</a><wbr>(<a href="LinearConstraintProto.html" title="class in com.google.ortools.sat">LinearConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The linear constraint enforces a linear inequality among the variables,
such as 0 &lt;= x + 2y &lt;= 10.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setLinear(com.google.ortools.sat.LinearConstraintProto.Builder)" class="member-name-link">setLinear</a><wbr>(<a href="LinearConstraintProto.Builder.html" title="class in com.google.ortools.sat">LinearConstraintProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The linear constraint enforces a linear inequality among the variables,
such as 0 &lt;= x + 2y &lt;= 10.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setLinMax(com.google.ortools.sat.LinearArgumentProto)" class="member-name-link">setLinMax</a><wbr>(<a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The lin_max constraint forces the target to equal the maximum of all
linear expressions.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setLinMax(com.google.ortools.sat.LinearArgumentProto.Builder)" class="member-name-link">setLinMax</a><wbr>(<a href="LinearArgumentProto.Builder.html" title="class in com.google.ortools.sat">LinearArgumentProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The lin_max constraint forces the target to equal the maximum of all
linear expressions.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setName(java.lang.String)" class="member-name-link">setName</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
For debug/logging only.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setNameBytes(com.google.protobuf.ByteString)" class="member-name-link">setNameBytes</a><wbr>(com.google.protobuf.ByteString&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
For debug/logging only.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setNoOverlap(com.google.ortools.sat.NoOverlapConstraintProto)" class="member-name-link">setNoOverlap</a><wbr>(<a href="NoOverlapConstraintProto.html" title="class in com.google.ortools.sat">NoOverlapConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setNoOverlap(com.google.ortools.sat.NoOverlapConstraintProto.Builder)" class="member-name-link">setNoOverlap</a><wbr>(<a href="NoOverlapConstraintProto.Builder.html" title="class in com.google.ortools.sat">NoOverlapConstraintProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setNoOverlap2D(com.google.ortools.sat.NoOverlap2DConstraintProto)" class="member-name-link">setNoOverlap2D</a><wbr>(<a href="NoOverlap2DConstraintProto.html" title="class in com.google.ortools.sat">NoOverlap2DConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The no_overlap_2d constraint prevents a set of boxes from overlapping.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setNoOverlap2D(com.google.ortools.sat.NoOverlap2DConstraintProto.Builder)" class="member-name-link">setNoOverlap2D</a><wbr>(<a href="NoOverlap2DConstraintProto.Builder.html" title="class in com.google.ortools.sat">NoOverlap2DConstraintProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The no_overlap_2d constraint prevents a set of boxes from overlapping.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,int,java.lang.Object)" class="member-name-link">setRepeatedField</a><wbr>(com.google.protobuf.Descriptors.FieldDescriptor&nbsp;field,
int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setReservoir(com.google.ortools.sat.ReservoirConstraintProto)" class="member-name-link">setReservoir</a><wbr>(<a href="ReservoirConstraintProto.html" title="class in com.google.ortools.sat">ReservoirConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setReservoir(com.google.ortools.sat.ReservoirConstraintProto.Builder)" class="member-name-link">setReservoir</a><wbr>(<a href="ReservoirConstraintProto.Builder.html" title="class in com.google.ortools.sat">ReservoirConstraintProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
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.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setRoutes(com.google.ortools.sat.RoutesConstraintProto)" class="member-name-link">setRoutes</a><wbr>(<a href="RoutesConstraintProto.html" title="class in com.google.ortools.sat">RoutesConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The routes constraint implements the vehicle routing problem.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setRoutes(com.google.ortools.sat.RoutesConstraintProto.Builder)" class="member-name-link">setRoutes</a><wbr>(<a href="RoutesConstraintProto.Builder.html" title="class in com.google.ortools.sat">RoutesConstraintProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The routes constraint implements the vehicle routing problem.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setTable(com.google.ortools.sat.TableConstraintProto)" class="member-name-link">setTable</a><wbr>(<a href="TableConstraintProto.html" title="class in com.google.ortools.sat">TableConstraintProto</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The table constraint enforces what values a tuple of variables may
take.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setTable(com.google.ortools.sat.TableConstraintProto.Builder)" class="member-name-link">setTable</a><wbr>(<a href="TableConstraintProto.Builder.html" title="class in com.google.ortools.sat">TableConstraintProto.Builder</a>&nbsp;builderForValue)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">
The table constraint enforces what values a tuple of variables may
take.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>final <a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setUnknownFields(com.google.protobuf.UnknownFieldSet)" class="member-name-link">setUnknownFields</a><wbr>(com.google.protobuf.UnknownFieldSet&nbsp;unknownFields)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-com.google.protobuf.GeneratedMessageV3.Builder">Methods inherited from class&nbsp;com.google.protobuf.GeneratedMessageV3.Builder</h3>
<code>getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3</code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-com.google.protobuf.AbstractMessage.Builder">Methods inherited from class&nbsp;com.google.protobuf.AbstractMessage.Builder</h3>
<code>findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString</code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-com.google.protobuf.AbstractMessageLite.Builder">Methods inherited from class&nbsp;com.google.protobuf.AbstractMessageLite.Builder</h3>
<code>addAll, addAll, mergeFrom, newUninitializedMessageException</code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-com.google.protobuf.MessageLite.Builder">Methods inherited from interface&nbsp;com.google.protobuf.MessageLite.Builder</h3>
<code>mergeFrom</code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-com.google.protobuf.MessageOrBuilder">Methods inherited from interface&nbsp;com.google.protobuf.MessageOrBuilder</h3>
<code>findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof</code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method-detail">
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="getDescriptor()">
<h3>getDescriptor</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">com.google.protobuf.Descriptors.Descriptor</span>&nbsp;<span class="element-name">getDescriptor</span>()</div>
</section>
</li>
<li>
<section class="detail" id="internalGetFieldAccessorTable()">
<h3>internalGetFieldAccessorTable</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type">com.google.protobuf.GeneratedMessageV3.FieldAccessorTable</span>&nbsp;<span class="element-name">internalGetFieldAccessorTable</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>internalGetFieldAccessorTable</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&gt;</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="clear()">
<h3>clear</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clear</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>clear</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Specified by:</dt>
<dd><code>clear</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.MessageLite.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>clear</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&gt;</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDescriptorForType()">
<h3>getDescriptorForType</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">com.google.protobuf.Descriptors.Descriptor</span>&nbsp;<span class="element-name">getDescriptorForType</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>getDescriptorForType</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Specified by:</dt>
<dd><code>getDescriptorForType</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.MessageOrBuilder</code></dd>
<dt>Overrides:</dt>
<dd><code>getDescriptorForType</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&gt;</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDefaultInstanceForType()">
<h3>getDefaultInstanceForType</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a></span>&nbsp;<span class="element-name">getDefaultInstanceForType</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>getDefaultInstanceForType</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.MessageLiteOrBuilder</code></dd>
<dt>Specified by:</dt>
<dd><code>getDefaultInstanceForType</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.MessageOrBuilder</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="build()">
<h3>build</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a></span>&nbsp;<span class="element-name">build</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>build</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Specified by:</dt>
<dd><code>build</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.MessageLite.Builder</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="buildPartial()">
<h3>buildPartial</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a></span>&nbsp;<span class="element-name">buildPartial</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>buildPartial</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Specified by:</dt>
<dd><code>buildPartial</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.MessageLite.Builder</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="clone()">
<h3>clone</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clone</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>clone</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Specified by:</dt>
<dd><code>clone</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.MessageLite.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>clone</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&gt;</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)">
<h3>setField</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setField</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.FieldDescriptor&nbsp;field,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;value)</span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>setField</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>setField</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&gt;</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="clearField(com.google.protobuf.Descriptors.FieldDescriptor)">
<h3>clearField</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearField</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.FieldDescriptor&nbsp;field)</span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>clearField</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>clearField</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&gt;</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="clearOneof(com.google.protobuf.Descriptors.OneofDescriptor)">
<h3>clearOneof</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearOneof</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.OneofDescriptor&nbsp;oneof)</span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>clearOneof</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>clearOneof</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&gt;</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,int,java.lang.Object)">
<h3>setRepeatedField</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setRepeatedField</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.FieldDescriptor&nbsp;field,
int&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;value)</span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>setRepeatedField</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>setRepeatedField</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&gt;</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)">
<h3>addRepeatedField</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">addRepeatedField</span><wbr><span class="parameters">(com.google.protobuf.Descriptors.FieldDescriptor&nbsp;field,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;value)</span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>addRepeatedField</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>addRepeatedField</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&gt;</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="mergeFrom(com.google.protobuf.Message)">
<h3>mergeFrom</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeFrom</span><wbr><span class="parameters">(com.google.protobuf.Message&nbsp;other)</span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>mergeFrom</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>mergeFrom</code>&nbsp;in class&nbsp;<code>com.google.protobuf.AbstractMessage.Builder&lt;<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&gt;</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="mergeFrom(com.google.ortools.sat.ConstraintProto)">
<h3>mergeFrom</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeFrom</span><wbr><span class="parameters">(<a href="ConstraintProto.html" title="class in com.google.ortools.sat">ConstraintProto</a>&nbsp;other)</span></div>
</section>
</li>
<li>
<section class="detail" id="isInitialized()">
<h3>isInitialized</h3>
<div class="member-signature"><span class="modifiers">public final</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isInitialized</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>isInitialized</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.MessageLiteOrBuilder</code></dd>
<dt>Overrides:</dt>
<dd><code>isInitialized</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&gt;</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="mergeFrom(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)">
<h3>mergeFrom</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeFrom</span><wbr><span class="parameters">(com.google.protobuf.CodedInputStream&nbsp;input,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)</span>
throws <span class="exceptions"><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>mergeFrom</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Specified by:</dt>
<dd><code>mergeFrom</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.MessageLite.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>mergeFrom</code>&nbsp;in class&nbsp;<code>com.google.protobuf.AbstractMessage.Builder&lt;<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&gt;</code></dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getConstraintCase()">
<h3>getConstraintCase</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.ConstraintCase.html" title="enum in com.google.ortools.sat">ConstraintProto.ConstraintCase</a></span>&nbsp;<span class="element-name">getConstraintCase</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getConstraintCase()">getConstraintCase</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="clearConstraint()">
<h3>clearConstraint</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearConstraint</span>()</div>
</section>
</li>
<li>
<section class="detail" id="getName()">
<h3>getName</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">getName</span>()</div>
<div class="block"><pre>
For debug/logging only. Can be empty.
</pre>
<code>string name = 1;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getName()">getName</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The name.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getNameBytes()">
<h3>getNameBytes</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">com.google.protobuf.ByteString</span>&nbsp;<span class="element-name">getNameBytes</span>()</div>
<div class="block"><pre>
For debug/logging only. Can be empty.
</pre>
<code>string name = 1;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getNameBytes()">getNameBytes</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The bytes for name.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setName(java.lang.String)">
<h3>setName</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setName</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</span></div>
<div class="block"><pre>
For debug/logging only. Can be empty.
</pre>
<code>string name = 1;</code></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The name to set.</dd>
<dt>Returns:</dt>
<dd>This builder for chaining.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="clearName()">
<h3>clearName</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearName</span>()</div>
<div class="block"><pre>
For debug/logging only. Can be empty.
</pre>
<code>string name = 1;</code></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>This builder for chaining.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setNameBytes(com.google.protobuf.ByteString)">
<h3>setNameBytes</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setNameBytes</span><wbr><span class="parameters">(com.google.protobuf.ByteString&nbsp;value)</span></div>
<div class="block"><pre>
For debug/logging only. Can be empty.
</pre>
<code>string name = 1;</code></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The bytes for name to set.</dd>
<dt>Returns:</dt>
<dd>This builder for chaining.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getEnforcementLiteralList()">
<h3>getEnforcementLiteralList</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&gt;</span>&nbsp;<span class="element-name">getEnforcementLiteralList</span>()</div>
<div class="block"><pre>
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).
</pre>
<code>repeated int32 enforcement_literal = 2;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getEnforcementLiteralList()">getEnforcementLiteralList</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>A list containing the enforcementLiteral.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getEnforcementLiteralCount()">
<h3>getEnforcementLiteralCount</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">getEnforcementLiteralCount</span>()</div>
<div class="block"><pre>
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).
</pre>
<code>repeated int32 enforcement_literal = 2;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getEnforcementLiteralCount()">getEnforcementLiteralCount</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The count of enforcementLiteral.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getEnforcementLiteral(int)">
<h3>getEnforcementLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">getEnforcementLiteral</span><wbr><span class="parameters">(int&nbsp;index)</span></div>
<div class="block"><pre>
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).
</pre>
<code>repeated int32 enforcement_literal = 2;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getEnforcementLiteral(int)">getEnforcementLiteral</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Parameters:</dt>
<dd><code>index</code> - The index of the element to return.</dd>
<dt>Returns:</dt>
<dd>The enforcementLiteral at the given index.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setEnforcementLiteral(int,int)">
<h3>setEnforcementLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setEnforcementLiteral</span><wbr><span class="parameters">(int&nbsp;index,
int&nbsp;value)</span></div>
<div class="block"><pre>
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).
</pre>
<code>repeated int32 enforcement_literal = 2;</code></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>index</code> - The index to set the value at.</dd>
<dd><code>value</code> - The enforcementLiteral to set.</dd>
<dt>Returns:</dt>
<dd>This builder for chaining.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addEnforcementLiteral(int)">
<h3>addEnforcementLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">addEnforcementLiteral</span><wbr><span class="parameters">(int&nbsp;value)</span></div>
<div class="block"><pre>
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).
</pre>
<code>repeated int32 enforcement_literal = 2;</code></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The enforcementLiteral to add.</dd>
<dt>Returns:</dt>
<dd>This builder for chaining.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addAllEnforcementLiteral(java.lang.Iterable)">
<h3>addAllEnforcementLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">addAllEnforcementLiteral</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&gt;&nbsp;values)</span></div>
<div class="block"><pre>
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).
</pre>
<code>repeated int32 enforcement_literal = 2;</code></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>values</code> - The enforcementLiteral to add.</dd>
<dt>Returns:</dt>
<dd>This builder for chaining.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="clearEnforcementLiteral()">
<h3>clearEnforcementLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearEnforcementLiteral</span>()</div>
<div class="block"><pre>
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).
</pre>
<code>repeated int32 enforcement_literal = 2;</code></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>This builder for chaining.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasBoolOr()">
<h3>hasBoolOr</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasBoolOr</span>()</div>
<div class="block"><pre>
The bool_or constraint forces at least one literal to be true.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_or = 3;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasBoolOr()">hasBoolOr</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the boolOr field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getBoolOr()">
<h3>getBoolOr</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a></span>&nbsp;<span class="element-name">getBoolOr</span>()</div>
<div class="block"><pre>
The bool_or constraint forces at least one literal to be true.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_or = 3;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getBoolOr()">getBoolOr</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The boolOr.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setBoolOr(com.google.ortools.sat.BoolArgumentProto)">
<h3>setBoolOr</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setBoolOr</span><wbr><span class="parameters">(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The bool_or constraint forces at least one literal to be true.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_or = 3;</code></div>
</section>
</li>
<li>
<section class="detail" id="setBoolOr(com.google.ortools.sat.BoolArgumentProto.Builder)">
<h3>setBoolOr</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setBoolOr</span><wbr><span class="parameters">(<a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
The bool_or constraint forces at least one literal to be true.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_or = 3;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeBoolOr(com.google.ortools.sat.BoolArgumentProto)">
<h3>mergeBoolOr</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeBoolOr</span><wbr><span class="parameters">(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The bool_or constraint forces at least one literal to be true.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_or = 3;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearBoolOr()">
<h3>clearBoolOr</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearBoolOr</span>()</div>
<div class="block"><pre>
The bool_or constraint forces at least one literal to be true.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_or = 3;</code></div>
</section>
</li>
<li>
<section class="detail" id="getBoolOrBuilder()">
<h3>getBoolOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a></span>&nbsp;<span class="element-name">getBoolOrBuilder</span>()</div>
<div class="block"><pre>
The bool_or constraint forces at least one literal to be true.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_or = 3;</code></div>
</section>
</li>
<li>
<section class="detail" id="getBoolOrOrBuilder()">
<h3>getBoolOrOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="BoolArgumentProtoOrBuilder.html" title="interface in com.google.ortools.sat">BoolArgumentProtoOrBuilder</a></span>&nbsp;<span class="element-name">getBoolOrOrBuilder</span>()</div>
<div class="block"><pre>
The bool_or constraint forces at least one literal to be true.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_or = 3;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getBoolOrOrBuilder()">getBoolOrOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasBoolAnd()">
<h3>hasBoolAnd</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasBoolAnd</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_and = 4;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasBoolAnd()">hasBoolAnd</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the boolAnd field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getBoolAnd()">
<h3>getBoolAnd</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a></span>&nbsp;<span class="element-name">getBoolAnd</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_and = 4;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getBoolAnd()">getBoolAnd</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The boolAnd.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setBoolAnd(com.google.ortools.sat.BoolArgumentProto)">
<h3>setBoolAnd</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setBoolAnd</span><wbr><span class="parameters">(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_and = 4;</code></div>
</section>
</li>
<li>
<section class="detail" id="setBoolAnd(com.google.ortools.sat.BoolArgumentProto.Builder)">
<h3>setBoolAnd</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setBoolAnd</span><wbr><span class="parameters">(<a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_and = 4;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeBoolAnd(com.google.ortools.sat.BoolArgumentProto)">
<h3>mergeBoolAnd</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeBoolAnd</span><wbr><span class="parameters">(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_and = 4;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearBoolAnd()">
<h3>clearBoolAnd</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearBoolAnd</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_and = 4;</code></div>
</section>
</li>
<li>
<section class="detail" id="getBoolAndBuilder()">
<h3>getBoolAndBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a></span>&nbsp;<span class="element-name">getBoolAndBuilder</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_and = 4;</code></div>
</section>
</li>
<li>
<section class="detail" id="getBoolAndOrBuilder()">
<h3>getBoolAndOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="BoolArgumentProtoOrBuilder.html" title="interface in com.google.ortools.sat">BoolArgumentProtoOrBuilder</a></span>&nbsp;<span class="element-name">getBoolAndOrBuilder</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_and = 4;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getBoolAndOrBuilder()">getBoolAndOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasAtMostOne()">
<h3>hasAtMostOne</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasAtMostOne</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto at_most_one = 26;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasAtMostOne()">hasAtMostOne</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the atMostOne field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getAtMostOne()">
<h3>getAtMostOne</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a></span>&nbsp;<span class="element-name">getAtMostOne</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto at_most_one = 26;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getAtMostOne()">getAtMostOne</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The atMostOne.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setAtMostOne(com.google.ortools.sat.BoolArgumentProto)">
<h3>setAtMostOne</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setAtMostOne</span><wbr><span class="parameters">(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto at_most_one = 26;</code></div>
</section>
</li>
<li>
<section class="detail" id="setAtMostOne(com.google.ortools.sat.BoolArgumentProto.Builder)">
<h3>setAtMostOne</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setAtMostOne</span><wbr><span class="parameters">(<a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto at_most_one = 26;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeAtMostOne(com.google.ortools.sat.BoolArgumentProto)">
<h3>mergeAtMostOne</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeAtMostOne</span><wbr><span class="parameters">(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto at_most_one = 26;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearAtMostOne()">
<h3>clearAtMostOne</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearAtMostOne</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto at_most_one = 26;</code></div>
</section>
</li>
<li>
<section class="detail" id="getAtMostOneBuilder()">
<h3>getAtMostOneBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a></span>&nbsp;<span class="element-name">getAtMostOneBuilder</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto at_most_one = 26;</code></div>
</section>
</li>
<li>
<section class="detail" id="getAtMostOneOrBuilder()">
<h3>getAtMostOneOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="BoolArgumentProtoOrBuilder.html" title="interface in com.google.ortools.sat">BoolArgumentProtoOrBuilder</a></span>&nbsp;<span class="element-name">getAtMostOneOrBuilder</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto at_most_one = 26;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getAtMostOneOrBuilder()">getAtMostOneOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasExactlyOne()">
<h3>hasExactlyOne</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasExactlyOne</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto exactly_one = 29;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasExactlyOne()">hasExactlyOne</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the exactlyOne field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getExactlyOne()">
<h3>getExactlyOne</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a></span>&nbsp;<span class="element-name">getExactlyOne</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto exactly_one = 29;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getExactlyOne()">getExactlyOne</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The exactlyOne.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setExactlyOne(com.google.ortools.sat.BoolArgumentProto)">
<h3>setExactlyOne</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setExactlyOne</span><wbr><span class="parameters">(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto exactly_one = 29;</code></div>
</section>
</li>
<li>
<section class="detail" id="setExactlyOne(com.google.ortools.sat.BoolArgumentProto.Builder)">
<h3>setExactlyOne</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setExactlyOne</span><wbr><span class="parameters">(<a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto exactly_one = 29;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeExactlyOne(com.google.ortools.sat.BoolArgumentProto)">
<h3>mergeExactlyOne</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeExactlyOne</span><wbr><span class="parameters">(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto exactly_one = 29;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearExactlyOne()">
<h3>clearExactlyOne</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearExactlyOne</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto exactly_one = 29;</code></div>
</section>
</li>
<li>
<section class="detail" id="getExactlyOneBuilder()">
<h3>getExactlyOneBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a></span>&nbsp;<span class="element-name">getExactlyOneBuilder</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto exactly_one = 29;</code></div>
</section>
</li>
<li>
<section class="detail" id="getExactlyOneOrBuilder()">
<h3>getExactlyOneOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="BoolArgumentProtoOrBuilder.html" title="interface in com.google.ortools.sat">BoolArgumentProtoOrBuilder</a></span>&nbsp;<span class="element-name">getExactlyOneOrBuilder</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.BoolArgumentProto exactly_one = 29;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getExactlyOneOrBuilder()">getExactlyOneOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasBoolXor()">
<h3>hasBoolXor</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasBoolXor</span>()</div>
<div class="block"><pre>
The bool_xor constraint forces an odd number of the literals to be true.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_xor = 5;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasBoolXor()">hasBoolXor</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the boolXor field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getBoolXor()">
<h3>getBoolXor</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a></span>&nbsp;<span class="element-name">getBoolXor</span>()</div>
<div class="block"><pre>
The bool_xor constraint forces an odd number of the literals to be true.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_xor = 5;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getBoolXor()">getBoolXor</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The boolXor.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setBoolXor(com.google.ortools.sat.BoolArgumentProto)">
<h3>setBoolXor</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setBoolXor</span><wbr><span class="parameters">(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The bool_xor constraint forces an odd number of the literals to be true.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_xor = 5;</code></div>
</section>
</li>
<li>
<section class="detail" id="setBoolXor(com.google.ortools.sat.BoolArgumentProto.Builder)">
<h3>setBoolXor</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setBoolXor</span><wbr><span class="parameters">(<a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
The bool_xor constraint forces an odd number of the literals to be true.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_xor = 5;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeBoolXor(com.google.ortools.sat.BoolArgumentProto)">
<h3>mergeBoolXor</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeBoolXor</span><wbr><span class="parameters">(<a href="BoolArgumentProto.html" title="class in com.google.ortools.sat">BoolArgumentProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The bool_xor constraint forces an odd number of the literals to be true.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_xor = 5;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearBoolXor()">
<h3>clearBoolXor</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearBoolXor</span>()</div>
<div class="block"><pre>
The bool_xor constraint forces an odd number of the literals to be true.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_xor = 5;</code></div>
</section>
</li>
<li>
<section class="detail" id="getBoolXorBuilder()">
<h3>getBoolXorBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="BoolArgumentProto.Builder.html" title="class in com.google.ortools.sat">BoolArgumentProto.Builder</a></span>&nbsp;<span class="element-name">getBoolXorBuilder</span>()</div>
<div class="block"><pre>
The bool_xor constraint forces an odd number of the literals to be true.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_xor = 5;</code></div>
</section>
</li>
<li>
<section class="detail" id="getBoolXorOrBuilder()">
<h3>getBoolXorOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="BoolArgumentProtoOrBuilder.html" title="interface in com.google.ortools.sat">BoolArgumentProtoOrBuilder</a></span>&nbsp;<span class="element-name">getBoolXorOrBuilder</span>()</div>
<div class="block"><pre>
The bool_xor constraint forces an odd number of the literals to be true.
</pre>
<code>.operations_research.sat.BoolArgumentProto bool_xor = 5;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getBoolXorOrBuilder()">getBoolXorOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasIntDiv()">
<h3>hasIntDiv</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasIntDiv</span>()</div>
<div class="block"><pre>
The int_div constraint forces the target to equal exprs[0] / exprs[1].
In particular, exprs[1] can never take the value 0. Also, as for now, we
do not support exprs[1] spanning across 0.
</pre>
<code>.operations_research.sat.LinearArgumentProto int_div = 7;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasIntDiv()">hasIntDiv</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the intDiv field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getIntDiv()">
<h3>getIntDiv</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a></span>&nbsp;<span class="element-name">getIntDiv</span>()</div>
<div class="block"><pre>
The int_div constraint forces the target to equal exprs[0] / exprs[1].
In particular, exprs[1] can never take the value 0. Also, as for now, we
do not support exprs[1] spanning across 0.
</pre>
<code>.operations_research.sat.LinearArgumentProto int_div = 7;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getIntDiv()">getIntDiv</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The intDiv.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setIntDiv(com.google.ortools.sat.LinearArgumentProto)">
<h3>setIntDiv</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setIntDiv</span><wbr><span class="parameters">(<a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The int_div constraint forces the target to equal exprs[0] / exprs[1].
In particular, exprs[1] can never take the value 0. Also, as for now, we
do not support exprs[1] spanning across 0.
</pre>
<code>.operations_research.sat.LinearArgumentProto int_div = 7;</code></div>
</section>
</li>
<li>
<section class="detail" id="setIntDiv(com.google.ortools.sat.LinearArgumentProto.Builder)">
<h3>setIntDiv</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setIntDiv</span><wbr><span class="parameters">(<a href="LinearArgumentProto.Builder.html" title="class in com.google.ortools.sat">LinearArgumentProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
The int_div constraint forces the target to equal exprs[0] / exprs[1].
In particular, exprs[1] can never take the value 0. Also, as for now, we
do not support exprs[1] spanning across 0.
</pre>
<code>.operations_research.sat.LinearArgumentProto int_div = 7;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeIntDiv(com.google.ortools.sat.LinearArgumentProto)">
<h3>mergeIntDiv</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeIntDiv</span><wbr><span class="parameters">(<a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The int_div constraint forces the target to equal exprs[0] / exprs[1].
In particular, exprs[1] can never take the value 0. Also, as for now, we
do not support exprs[1] spanning across 0.
</pre>
<code>.operations_research.sat.LinearArgumentProto int_div = 7;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearIntDiv()">
<h3>clearIntDiv</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearIntDiv</span>()</div>
<div class="block"><pre>
The int_div constraint forces the target to equal exprs[0] / exprs[1].
In particular, exprs[1] can never take the value 0. Also, as for now, we
do not support exprs[1] spanning across 0.
</pre>
<code>.operations_research.sat.LinearArgumentProto int_div = 7;</code></div>
</section>
</li>
<li>
<section class="detail" id="getIntDivBuilder()">
<h3>getIntDivBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="LinearArgumentProto.Builder.html" title="class in com.google.ortools.sat">LinearArgumentProto.Builder</a></span>&nbsp;<span class="element-name">getIntDivBuilder</span>()</div>
<div class="block"><pre>
The int_div constraint forces the target to equal exprs[0] / exprs[1].
In particular, exprs[1] can never take the value 0. Also, as for now, we
do not support exprs[1] spanning across 0.
</pre>
<code>.operations_research.sat.LinearArgumentProto int_div = 7;</code></div>
</section>
</li>
<li>
<section class="detail" id="getIntDivOrBuilder()">
<h3>getIntDivOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="LinearArgumentProtoOrBuilder.html" title="interface in com.google.ortools.sat">LinearArgumentProtoOrBuilder</a></span>&nbsp;<span class="element-name">getIntDivOrBuilder</span>()</div>
<div class="block"><pre>
The int_div constraint forces the target to equal exprs[0] / exprs[1].
In particular, exprs[1] can never take the value 0. Also, as for now, we
do not support exprs[1] spanning across 0.
</pre>
<code>.operations_research.sat.LinearArgumentProto int_div = 7;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getIntDivOrBuilder()">getIntDivOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasIntMod()">
<h3>hasIntMod</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasIntMod</span>()</div>
<div class="block"><pre>
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].
</pre>
<code>.operations_research.sat.LinearArgumentProto int_mod = 8;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasIntMod()">hasIntMod</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the intMod field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getIntMod()">
<h3>getIntMod</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a></span>&nbsp;<span class="element-name">getIntMod</span>()</div>
<div class="block"><pre>
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].
</pre>
<code>.operations_research.sat.LinearArgumentProto int_mod = 8;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getIntMod()">getIntMod</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The intMod.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setIntMod(com.google.ortools.sat.LinearArgumentProto)">
<h3>setIntMod</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setIntMod</span><wbr><span class="parameters">(<a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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].
</pre>
<code>.operations_research.sat.LinearArgumentProto int_mod = 8;</code></div>
</section>
</li>
<li>
<section class="detail" id="setIntMod(com.google.ortools.sat.LinearArgumentProto.Builder)">
<h3>setIntMod</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setIntMod</span><wbr><span class="parameters">(<a href="LinearArgumentProto.Builder.html" title="class in com.google.ortools.sat">LinearArgumentProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
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].
</pre>
<code>.operations_research.sat.LinearArgumentProto int_mod = 8;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeIntMod(com.google.ortools.sat.LinearArgumentProto)">
<h3>mergeIntMod</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeIntMod</span><wbr><span class="parameters">(<a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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].
</pre>
<code>.operations_research.sat.LinearArgumentProto int_mod = 8;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearIntMod()">
<h3>clearIntMod</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearIntMod</span>()</div>
<div class="block"><pre>
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].
</pre>
<code>.operations_research.sat.LinearArgumentProto int_mod = 8;</code></div>
</section>
</li>
<li>
<section class="detail" id="getIntModBuilder()">
<h3>getIntModBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="LinearArgumentProto.Builder.html" title="class in com.google.ortools.sat">LinearArgumentProto.Builder</a></span>&nbsp;<span class="element-name">getIntModBuilder</span>()</div>
<div class="block"><pre>
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].
</pre>
<code>.operations_research.sat.LinearArgumentProto int_mod = 8;</code></div>
</section>
</li>
<li>
<section class="detail" id="getIntModOrBuilder()">
<h3>getIntModOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="LinearArgumentProtoOrBuilder.html" title="interface in com.google.ortools.sat">LinearArgumentProtoOrBuilder</a></span>&nbsp;<span class="element-name">getIntModOrBuilder</span>()</div>
<div class="block"><pre>
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].
</pre>
<code>.operations_research.sat.LinearArgumentProto int_mod = 8;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getIntModOrBuilder()">getIntModOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasIntProd()">
<h3>hasIntProd</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasIntProd</span>()</div>
<div class="block"><pre>
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 it is
recommended to limit the domain of the variables such that the product
fits in [INT_MIN + 1..INT_MAX - 1].
TODO(user): Support more than two terms in the product.
</pre>
<code>.operations_research.sat.LinearArgumentProto int_prod = 11;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasIntProd()">hasIntProd</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the intProd field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getIntProd()">
<h3>getIntProd</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a></span>&nbsp;<span class="element-name">getIntProd</span>()</div>
<div class="block"><pre>
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 it is
recommended to limit the domain of the variables such that the product
fits in [INT_MIN + 1..INT_MAX - 1].
TODO(user): Support more than two terms in the product.
</pre>
<code>.operations_research.sat.LinearArgumentProto int_prod = 11;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getIntProd()">getIntProd</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The intProd.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setIntProd(com.google.ortools.sat.LinearArgumentProto)">
<h3>setIntProd</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setIntProd</span><wbr><span class="parameters">(<a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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 it is
recommended to limit the domain of the variables such that the product
fits in [INT_MIN + 1..INT_MAX - 1].
TODO(user): Support more than two terms in the product.
</pre>
<code>.operations_research.sat.LinearArgumentProto int_prod = 11;</code></div>
</section>
</li>
<li>
<section class="detail" id="setIntProd(com.google.ortools.sat.LinearArgumentProto.Builder)">
<h3>setIntProd</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setIntProd</span><wbr><span class="parameters">(<a href="LinearArgumentProto.Builder.html" title="class in com.google.ortools.sat">LinearArgumentProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
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 it is
recommended to limit the domain of the variables such that the product
fits in [INT_MIN + 1..INT_MAX - 1].
TODO(user): Support more than two terms in the product.
</pre>
<code>.operations_research.sat.LinearArgumentProto int_prod = 11;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeIntProd(com.google.ortools.sat.LinearArgumentProto)">
<h3>mergeIntProd</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeIntProd</span><wbr><span class="parameters">(<a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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 it is
recommended to limit the domain of the variables such that the product
fits in [INT_MIN + 1..INT_MAX - 1].
TODO(user): Support more than two terms in the product.
</pre>
<code>.operations_research.sat.LinearArgumentProto int_prod = 11;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearIntProd()">
<h3>clearIntProd</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearIntProd</span>()</div>
<div class="block"><pre>
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 it is
recommended to limit the domain of the variables such that the product
fits in [INT_MIN + 1..INT_MAX - 1].
TODO(user): Support more than two terms in the product.
</pre>
<code>.operations_research.sat.LinearArgumentProto int_prod = 11;</code></div>
</section>
</li>
<li>
<section class="detail" id="getIntProdBuilder()">
<h3>getIntProdBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="LinearArgumentProto.Builder.html" title="class in com.google.ortools.sat">LinearArgumentProto.Builder</a></span>&nbsp;<span class="element-name">getIntProdBuilder</span>()</div>
<div class="block"><pre>
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 it is
recommended to limit the domain of the variables such that the product
fits in [INT_MIN + 1..INT_MAX - 1].
TODO(user): Support more than two terms in the product.
</pre>
<code>.operations_research.sat.LinearArgumentProto int_prod = 11;</code></div>
</section>
</li>
<li>
<section class="detail" id="getIntProdOrBuilder()">
<h3>getIntProdOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="LinearArgumentProtoOrBuilder.html" title="interface in com.google.ortools.sat">LinearArgumentProtoOrBuilder</a></span>&nbsp;<span class="element-name">getIntProdOrBuilder</span>()</div>
<div class="block"><pre>
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 it is
recommended to limit the domain of the variables such that the product
fits in [INT_MIN + 1..INT_MAX - 1].
TODO(user): Support more than two terms in the product.
</pre>
<code>.operations_research.sat.LinearArgumentProto int_prod = 11;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getIntProdOrBuilder()">getIntProdOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasLinMax()">
<h3>hasLinMax</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasLinMax</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.LinearArgumentProto lin_max = 27;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasLinMax()">hasLinMax</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the linMax field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getLinMax()">
<h3>getLinMax</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a></span>&nbsp;<span class="element-name">getLinMax</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.LinearArgumentProto lin_max = 27;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getLinMax()">getLinMax</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The linMax.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setLinMax(com.google.ortools.sat.LinearArgumentProto)">
<h3>setLinMax</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setLinMax</span><wbr><span class="parameters">(<a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.LinearArgumentProto lin_max = 27;</code></div>
</section>
</li>
<li>
<section class="detail" id="setLinMax(com.google.ortools.sat.LinearArgumentProto.Builder)">
<h3>setLinMax</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setLinMax</span><wbr><span class="parameters">(<a href="LinearArgumentProto.Builder.html" title="class in com.google.ortools.sat">LinearArgumentProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.LinearArgumentProto lin_max = 27;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeLinMax(com.google.ortools.sat.LinearArgumentProto)">
<h3>mergeLinMax</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeLinMax</span><wbr><span class="parameters">(<a href="LinearArgumentProto.html" title="class in com.google.ortools.sat">LinearArgumentProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.LinearArgumentProto lin_max = 27;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearLinMax()">
<h3>clearLinMax</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearLinMax</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.LinearArgumentProto lin_max = 27;</code></div>
</section>
</li>
<li>
<section class="detail" id="getLinMaxBuilder()">
<h3>getLinMaxBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="LinearArgumentProto.Builder.html" title="class in com.google.ortools.sat">LinearArgumentProto.Builder</a></span>&nbsp;<span class="element-name">getLinMaxBuilder</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.LinearArgumentProto lin_max = 27;</code></div>
</section>
</li>
<li>
<section class="detail" id="getLinMaxOrBuilder()">
<h3>getLinMaxOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="LinearArgumentProtoOrBuilder.html" title="interface in com.google.ortools.sat">LinearArgumentProtoOrBuilder</a></span>&nbsp;<span class="element-name">getLinMaxOrBuilder</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.LinearArgumentProto lin_max = 27;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getLinMaxOrBuilder()">getLinMaxOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasLinear()">
<h3>hasLinear</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasLinear</span>()</div>
<div class="block"><pre>
The linear constraint enforces a linear inequality among the variables,
such as 0 &lt;= x + 2y &lt;= 10.
</pre>
<code>.operations_research.sat.LinearConstraintProto linear = 12;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasLinear()">hasLinear</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the linear field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getLinear()">
<h3>getLinear</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="LinearConstraintProto.html" title="class in com.google.ortools.sat">LinearConstraintProto</a></span>&nbsp;<span class="element-name">getLinear</span>()</div>
<div class="block"><pre>
The linear constraint enforces a linear inequality among the variables,
such as 0 &lt;= x + 2y &lt;= 10.
</pre>
<code>.operations_research.sat.LinearConstraintProto linear = 12;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getLinear()">getLinear</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The linear.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setLinear(com.google.ortools.sat.LinearConstraintProto)">
<h3>setLinear</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setLinear</span><wbr><span class="parameters">(<a href="LinearConstraintProto.html" title="class in com.google.ortools.sat">LinearConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The linear constraint enforces a linear inequality among the variables,
such as 0 &lt;= x + 2y &lt;= 10.
</pre>
<code>.operations_research.sat.LinearConstraintProto linear = 12;</code></div>
</section>
</li>
<li>
<section class="detail" id="setLinear(com.google.ortools.sat.LinearConstraintProto.Builder)">
<h3>setLinear</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setLinear</span><wbr><span class="parameters">(<a href="LinearConstraintProto.Builder.html" title="class in com.google.ortools.sat">LinearConstraintProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
The linear constraint enforces a linear inequality among the variables,
such as 0 &lt;= x + 2y &lt;= 10.
</pre>
<code>.operations_research.sat.LinearConstraintProto linear = 12;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeLinear(com.google.ortools.sat.LinearConstraintProto)">
<h3>mergeLinear</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeLinear</span><wbr><span class="parameters">(<a href="LinearConstraintProto.html" title="class in com.google.ortools.sat">LinearConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The linear constraint enforces a linear inequality among the variables,
such as 0 &lt;= x + 2y &lt;= 10.
</pre>
<code>.operations_research.sat.LinearConstraintProto linear = 12;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearLinear()">
<h3>clearLinear</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearLinear</span>()</div>
<div class="block"><pre>
The linear constraint enforces a linear inequality among the variables,
such as 0 &lt;= x + 2y &lt;= 10.
</pre>
<code>.operations_research.sat.LinearConstraintProto linear = 12;</code></div>
</section>
</li>
<li>
<section class="detail" id="getLinearBuilder()">
<h3>getLinearBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="LinearConstraintProto.Builder.html" title="class in com.google.ortools.sat">LinearConstraintProto.Builder</a></span>&nbsp;<span class="element-name">getLinearBuilder</span>()</div>
<div class="block"><pre>
The linear constraint enforces a linear inequality among the variables,
such as 0 &lt;= x + 2y &lt;= 10.
</pre>
<code>.operations_research.sat.LinearConstraintProto linear = 12;</code></div>
</section>
</li>
<li>
<section class="detail" id="getLinearOrBuilder()">
<h3>getLinearOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="LinearConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">LinearConstraintProtoOrBuilder</a></span>&nbsp;<span class="element-name">getLinearOrBuilder</span>()</div>
<div class="block"><pre>
The linear constraint enforces a linear inequality among the variables,
such as 0 &lt;= x + 2y &lt;= 10.
</pre>
<code>.operations_research.sat.LinearConstraintProto linear = 12;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getLinearOrBuilder()">getLinearOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasAllDiff()">
<h3>hasAllDiff</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasAllDiff</span>()</div>
<div class="block"><pre>
The all_diff constraint forces all variables to take different values.
</pre>
<code>.operations_research.sat.AllDifferentConstraintProto all_diff = 13;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasAllDiff()">hasAllDiff</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the allDiff field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getAllDiff()">
<h3>getAllDiff</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="AllDifferentConstraintProto.html" title="class in com.google.ortools.sat">AllDifferentConstraintProto</a></span>&nbsp;<span class="element-name">getAllDiff</span>()</div>
<div class="block"><pre>
The all_diff constraint forces all variables to take different values.
</pre>
<code>.operations_research.sat.AllDifferentConstraintProto all_diff = 13;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getAllDiff()">getAllDiff</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The allDiff.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setAllDiff(com.google.ortools.sat.AllDifferentConstraintProto)">
<h3>setAllDiff</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setAllDiff</span><wbr><span class="parameters">(<a href="AllDifferentConstraintProto.html" title="class in com.google.ortools.sat">AllDifferentConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The all_diff constraint forces all variables to take different values.
</pre>
<code>.operations_research.sat.AllDifferentConstraintProto all_diff = 13;</code></div>
</section>
</li>
<li>
<section class="detail" id="setAllDiff(com.google.ortools.sat.AllDifferentConstraintProto.Builder)">
<h3>setAllDiff</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setAllDiff</span><wbr><span class="parameters">(<a href="AllDifferentConstraintProto.Builder.html" title="class in com.google.ortools.sat">AllDifferentConstraintProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
The all_diff constraint forces all variables to take different values.
</pre>
<code>.operations_research.sat.AllDifferentConstraintProto all_diff = 13;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeAllDiff(com.google.ortools.sat.AllDifferentConstraintProto)">
<h3>mergeAllDiff</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeAllDiff</span><wbr><span class="parameters">(<a href="AllDifferentConstraintProto.html" title="class in com.google.ortools.sat">AllDifferentConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The all_diff constraint forces all variables to take different values.
</pre>
<code>.operations_research.sat.AllDifferentConstraintProto all_diff = 13;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearAllDiff()">
<h3>clearAllDiff</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearAllDiff</span>()</div>
<div class="block"><pre>
The all_diff constraint forces all variables to take different values.
</pre>
<code>.operations_research.sat.AllDifferentConstraintProto all_diff = 13;</code></div>
</section>
</li>
<li>
<section class="detail" id="getAllDiffBuilder()">
<h3>getAllDiffBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="AllDifferentConstraintProto.Builder.html" title="class in com.google.ortools.sat">AllDifferentConstraintProto.Builder</a></span>&nbsp;<span class="element-name">getAllDiffBuilder</span>()</div>
<div class="block"><pre>
The all_diff constraint forces all variables to take different values.
</pre>
<code>.operations_research.sat.AllDifferentConstraintProto all_diff = 13;</code></div>
</section>
</li>
<li>
<section class="detail" id="getAllDiffOrBuilder()">
<h3>getAllDiffOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="AllDifferentConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">AllDifferentConstraintProtoOrBuilder</a></span>&nbsp;<span class="element-name">getAllDiffOrBuilder</span>()</div>
<div class="block"><pre>
The all_diff constraint forces all variables to take different values.
</pre>
<code>.operations_research.sat.AllDifferentConstraintProto all_diff = 13;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getAllDiffOrBuilder()">getAllDiffOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasElement()">
<h3>hasElement</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasElement</span>()</div>
<div class="block"><pre>
The element constraint forces the variable with the given index
to be equal to the target.
</pre>
<code>.operations_research.sat.ElementConstraintProto element = 14;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasElement()">hasElement</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the element field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getElement()">
<h3>getElement</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ElementConstraintProto.html" title="class in com.google.ortools.sat">ElementConstraintProto</a></span>&nbsp;<span class="element-name">getElement</span>()</div>
<div class="block"><pre>
The element constraint forces the variable with the given index
to be equal to the target.
</pre>
<code>.operations_research.sat.ElementConstraintProto element = 14;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getElement()">getElement</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The element.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setElement(com.google.ortools.sat.ElementConstraintProto)">
<h3>setElement</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setElement</span><wbr><span class="parameters">(<a href="ElementConstraintProto.html" title="class in com.google.ortools.sat">ElementConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The element constraint forces the variable with the given index
to be equal to the target.
</pre>
<code>.operations_research.sat.ElementConstraintProto element = 14;</code></div>
</section>
</li>
<li>
<section class="detail" id="setElement(com.google.ortools.sat.ElementConstraintProto.Builder)">
<h3>setElement</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setElement</span><wbr><span class="parameters">(<a href="ElementConstraintProto.Builder.html" title="class in com.google.ortools.sat">ElementConstraintProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
The element constraint forces the variable with the given index
to be equal to the target.
</pre>
<code>.operations_research.sat.ElementConstraintProto element = 14;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeElement(com.google.ortools.sat.ElementConstraintProto)">
<h3>mergeElement</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeElement</span><wbr><span class="parameters">(<a href="ElementConstraintProto.html" title="class in com.google.ortools.sat">ElementConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The element constraint forces the variable with the given index
to be equal to the target.
</pre>
<code>.operations_research.sat.ElementConstraintProto element = 14;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearElement()">
<h3>clearElement</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearElement</span>()</div>
<div class="block"><pre>
The element constraint forces the variable with the given index
to be equal to the target.
</pre>
<code>.operations_research.sat.ElementConstraintProto element = 14;</code></div>
</section>
</li>
<li>
<section class="detail" id="getElementBuilder()">
<h3>getElementBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ElementConstraintProto.Builder.html" title="class in com.google.ortools.sat">ElementConstraintProto.Builder</a></span>&nbsp;<span class="element-name">getElementBuilder</span>()</div>
<div class="block"><pre>
The element constraint forces the variable with the given index
to be equal to the target.
</pre>
<code>.operations_research.sat.ElementConstraintProto element = 14;</code></div>
</section>
</li>
<li>
<section class="detail" id="getElementOrBuilder()">
<h3>getElementOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ElementConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ElementConstraintProtoOrBuilder</a></span>&nbsp;<span class="element-name">getElementOrBuilder</span>()</div>
<div class="block"><pre>
The element constraint forces the variable with the given index
to be equal to the target.
</pre>
<code>.operations_research.sat.ElementConstraintProto element = 14;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getElementOrBuilder()">getElementOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasCircuit()">
<h3>hasCircuit</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasCircuit</span>()</div>
<div class="block"><pre>
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.
</pre>
<code>.operations_research.sat.CircuitConstraintProto circuit = 15;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasCircuit()">hasCircuit</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the circuit field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getCircuit()">
<h3>getCircuit</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CircuitConstraintProto.html" title="class in com.google.ortools.sat">CircuitConstraintProto</a></span>&nbsp;<span class="element-name">getCircuit</span>()</div>
<div class="block"><pre>
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.
</pre>
<code>.operations_research.sat.CircuitConstraintProto circuit = 15;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getCircuit()">getCircuit</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The circuit.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setCircuit(com.google.ortools.sat.CircuitConstraintProto)">
<h3>setCircuit</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setCircuit</span><wbr><span class="parameters">(<a href="CircuitConstraintProto.html" title="class in com.google.ortools.sat">CircuitConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.
</pre>
<code>.operations_research.sat.CircuitConstraintProto circuit = 15;</code></div>
</section>
</li>
<li>
<section class="detail" id="setCircuit(com.google.ortools.sat.CircuitConstraintProto.Builder)">
<h3>setCircuit</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setCircuit</span><wbr><span class="parameters">(<a href="CircuitConstraintProto.Builder.html" title="class in com.google.ortools.sat">CircuitConstraintProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.
</pre>
<code>.operations_research.sat.CircuitConstraintProto circuit = 15;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeCircuit(com.google.ortools.sat.CircuitConstraintProto)">
<h3>mergeCircuit</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeCircuit</span><wbr><span class="parameters">(<a href="CircuitConstraintProto.html" title="class in com.google.ortools.sat">CircuitConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.
</pre>
<code>.operations_research.sat.CircuitConstraintProto circuit = 15;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearCircuit()">
<h3>clearCircuit</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearCircuit</span>()</div>
<div class="block"><pre>
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.
</pre>
<code>.operations_research.sat.CircuitConstraintProto circuit = 15;</code></div>
</section>
</li>
<li>
<section class="detail" id="getCircuitBuilder()">
<h3>getCircuitBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CircuitConstraintProto.Builder.html" title="class in com.google.ortools.sat">CircuitConstraintProto.Builder</a></span>&nbsp;<span class="element-name">getCircuitBuilder</span>()</div>
<div class="block"><pre>
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.
</pre>
<code>.operations_research.sat.CircuitConstraintProto circuit = 15;</code></div>
</section>
</li>
<li>
<section class="detail" id="getCircuitOrBuilder()">
<h3>getCircuitOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CircuitConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">CircuitConstraintProtoOrBuilder</a></span>&nbsp;<span class="element-name">getCircuitOrBuilder</span>()</div>
<div class="block"><pre>
The circuit constraint takes a graph and forces the arcs present
(with arc presence indicated by a literal) to form a unique cycle.
</pre>
<code>.operations_research.sat.CircuitConstraintProto circuit = 15;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getCircuitOrBuilder()">getCircuitOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasRoutes()">
<h3>hasRoutes</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasRoutes</span>()</div>
<div class="block"><pre>
The routes constraint implements the vehicle routing problem.
</pre>
<code>.operations_research.sat.RoutesConstraintProto routes = 23;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasRoutes()">hasRoutes</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the routes field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getRoutes()">
<h3>getRoutes</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RoutesConstraintProto.html" title="class in com.google.ortools.sat">RoutesConstraintProto</a></span>&nbsp;<span class="element-name">getRoutes</span>()</div>
<div class="block"><pre>
The routes constraint implements the vehicle routing problem.
</pre>
<code>.operations_research.sat.RoutesConstraintProto routes = 23;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getRoutes()">getRoutes</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The routes.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setRoutes(com.google.ortools.sat.RoutesConstraintProto)">
<h3>setRoutes</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setRoutes</span><wbr><span class="parameters">(<a href="RoutesConstraintProto.html" title="class in com.google.ortools.sat">RoutesConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The routes constraint implements the vehicle routing problem.
</pre>
<code>.operations_research.sat.RoutesConstraintProto routes = 23;</code></div>
</section>
</li>
<li>
<section class="detail" id="setRoutes(com.google.ortools.sat.RoutesConstraintProto.Builder)">
<h3>setRoutes</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setRoutes</span><wbr><span class="parameters">(<a href="RoutesConstraintProto.Builder.html" title="class in com.google.ortools.sat">RoutesConstraintProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
The routes constraint implements the vehicle routing problem.
</pre>
<code>.operations_research.sat.RoutesConstraintProto routes = 23;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeRoutes(com.google.ortools.sat.RoutesConstraintProto)">
<h3>mergeRoutes</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeRoutes</span><wbr><span class="parameters">(<a href="RoutesConstraintProto.html" title="class in com.google.ortools.sat">RoutesConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The routes constraint implements the vehicle routing problem.
</pre>
<code>.operations_research.sat.RoutesConstraintProto routes = 23;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearRoutes()">
<h3>clearRoutes</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearRoutes</span>()</div>
<div class="block"><pre>
The routes constraint implements the vehicle routing problem.
</pre>
<code>.operations_research.sat.RoutesConstraintProto routes = 23;</code></div>
</section>
</li>
<li>
<section class="detail" id="getRoutesBuilder()">
<h3>getRoutesBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RoutesConstraintProto.Builder.html" title="class in com.google.ortools.sat">RoutesConstraintProto.Builder</a></span>&nbsp;<span class="element-name">getRoutesBuilder</span>()</div>
<div class="block"><pre>
The routes constraint implements the vehicle routing problem.
</pre>
<code>.operations_research.sat.RoutesConstraintProto routes = 23;</code></div>
</section>
</li>
<li>
<section class="detail" id="getRoutesOrBuilder()">
<h3>getRoutesOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RoutesConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">RoutesConstraintProtoOrBuilder</a></span>&nbsp;<span class="element-name">getRoutesOrBuilder</span>()</div>
<div class="block"><pre>
The routes constraint implements the vehicle routing problem.
</pre>
<code>.operations_research.sat.RoutesConstraintProto routes = 23;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getRoutesOrBuilder()">getRoutesOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasTable()">
<h3>hasTable</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasTable</span>()</div>
<div class="block"><pre>
The table constraint enforces what values a tuple of variables may
take.
</pre>
<code>.operations_research.sat.TableConstraintProto table = 16;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasTable()">hasTable</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the table field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTable()">
<h3>getTable</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="TableConstraintProto.html" title="class in com.google.ortools.sat">TableConstraintProto</a></span>&nbsp;<span class="element-name">getTable</span>()</div>
<div class="block"><pre>
The table constraint enforces what values a tuple of variables may
take.
</pre>
<code>.operations_research.sat.TableConstraintProto table = 16;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getTable()">getTable</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The table.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setTable(com.google.ortools.sat.TableConstraintProto)">
<h3>setTable</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setTable</span><wbr><span class="parameters">(<a href="TableConstraintProto.html" title="class in com.google.ortools.sat">TableConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The table constraint enforces what values a tuple of variables may
take.
</pre>
<code>.operations_research.sat.TableConstraintProto table = 16;</code></div>
</section>
</li>
<li>
<section class="detail" id="setTable(com.google.ortools.sat.TableConstraintProto.Builder)">
<h3>setTable</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setTable</span><wbr><span class="parameters">(<a href="TableConstraintProto.Builder.html" title="class in com.google.ortools.sat">TableConstraintProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
The table constraint enforces what values a tuple of variables may
take.
</pre>
<code>.operations_research.sat.TableConstraintProto table = 16;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeTable(com.google.ortools.sat.TableConstraintProto)">
<h3>mergeTable</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeTable</span><wbr><span class="parameters">(<a href="TableConstraintProto.html" title="class in com.google.ortools.sat">TableConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The table constraint enforces what values a tuple of variables may
take.
</pre>
<code>.operations_research.sat.TableConstraintProto table = 16;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearTable()">
<h3>clearTable</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearTable</span>()</div>
<div class="block"><pre>
The table constraint enforces what values a tuple of variables may
take.
</pre>
<code>.operations_research.sat.TableConstraintProto table = 16;</code></div>
</section>
</li>
<li>
<section class="detail" id="getTableBuilder()">
<h3>getTableBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="TableConstraintProto.Builder.html" title="class in com.google.ortools.sat">TableConstraintProto.Builder</a></span>&nbsp;<span class="element-name">getTableBuilder</span>()</div>
<div class="block"><pre>
The table constraint enforces what values a tuple of variables may
take.
</pre>
<code>.operations_research.sat.TableConstraintProto table = 16;</code></div>
</section>
</li>
<li>
<section class="detail" id="getTableOrBuilder()">
<h3>getTableOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="TableConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">TableConstraintProtoOrBuilder</a></span>&nbsp;<span class="element-name">getTableOrBuilder</span>()</div>
<div class="block"><pre>
The table constraint enforces what values a tuple of variables may
take.
</pre>
<code>.operations_research.sat.TableConstraintProto table = 16;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getTableOrBuilder()">getTableOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasAutomaton()">
<h3>hasAutomaton</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasAutomaton</span>()</div>
<div class="block"><pre>
The automaton constraint forces a sequence of variables to be accepted
by an automaton.
</pre>
<code>.operations_research.sat.AutomatonConstraintProto automaton = 17;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasAutomaton()">hasAutomaton</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the automaton field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getAutomaton()">
<h3>getAutomaton</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="AutomatonConstraintProto.html" title="class in com.google.ortools.sat">AutomatonConstraintProto</a></span>&nbsp;<span class="element-name">getAutomaton</span>()</div>
<div class="block"><pre>
The automaton constraint forces a sequence of variables to be accepted
by an automaton.
</pre>
<code>.operations_research.sat.AutomatonConstraintProto automaton = 17;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getAutomaton()">getAutomaton</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The automaton.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setAutomaton(com.google.ortools.sat.AutomatonConstraintProto)">
<h3>setAutomaton</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setAutomaton</span><wbr><span class="parameters">(<a href="AutomatonConstraintProto.html" title="class in com.google.ortools.sat">AutomatonConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The automaton constraint forces a sequence of variables to be accepted
by an automaton.
</pre>
<code>.operations_research.sat.AutomatonConstraintProto automaton = 17;</code></div>
</section>
</li>
<li>
<section class="detail" id="setAutomaton(com.google.ortools.sat.AutomatonConstraintProto.Builder)">
<h3>setAutomaton</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setAutomaton</span><wbr><span class="parameters">(<a href="AutomatonConstraintProto.Builder.html" title="class in com.google.ortools.sat">AutomatonConstraintProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
The automaton constraint forces a sequence of variables to be accepted
by an automaton.
</pre>
<code>.operations_research.sat.AutomatonConstraintProto automaton = 17;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeAutomaton(com.google.ortools.sat.AutomatonConstraintProto)">
<h3>mergeAutomaton</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeAutomaton</span><wbr><span class="parameters">(<a href="AutomatonConstraintProto.html" title="class in com.google.ortools.sat">AutomatonConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The automaton constraint forces a sequence of variables to be accepted
by an automaton.
</pre>
<code>.operations_research.sat.AutomatonConstraintProto automaton = 17;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearAutomaton()">
<h3>clearAutomaton</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearAutomaton</span>()</div>
<div class="block"><pre>
The automaton constraint forces a sequence of variables to be accepted
by an automaton.
</pre>
<code>.operations_research.sat.AutomatonConstraintProto automaton = 17;</code></div>
</section>
</li>
<li>
<section class="detail" id="getAutomatonBuilder()">
<h3>getAutomatonBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="AutomatonConstraintProto.Builder.html" title="class in com.google.ortools.sat">AutomatonConstraintProto.Builder</a></span>&nbsp;<span class="element-name">getAutomatonBuilder</span>()</div>
<div class="block"><pre>
The automaton constraint forces a sequence of variables to be accepted
by an automaton.
</pre>
<code>.operations_research.sat.AutomatonConstraintProto automaton = 17;</code></div>
</section>
</li>
<li>
<section class="detail" id="getAutomatonOrBuilder()">
<h3>getAutomatonOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="AutomatonConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">AutomatonConstraintProtoOrBuilder</a></span>&nbsp;<span class="element-name">getAutomatonOrBuilder</span>()</div>
<div class="block"><pre>
The automaton constraint forces a sequence of variables to be accepted
by an automaton.
</pre>
<code>.operations_research.sat.AutomatonConstraintProto automaton = 17;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getAutomatonOrBuilder()">getAutomatonOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasInverse()">
<h3>hasInverse</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasInverse</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.InverseConstraintProto inverse = 18;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasInverse()">hasInverse</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the inverse field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getInverse()">
<h3>getInverse</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="InverseConstraintProto.html" title="class in com.google.ortools.sat">InverseConstraintProto</a></span>&nbsp;<span class="element-name">getInverse</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.InverseConstraintProto inverse = 18;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getInverse()">getInverse</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The inverse.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setInverse(com.google.ortools.sat.InverseConstraintProto)">
<h3>setInverse</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setInverse</span><wbr><span class="parameters">(<a href="InverseConstraintProto.html" title="class in com.google.ortools.sat">InverseConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.InverseConstraintProto inverse = 18;</code></div>
</section>
</li>
<li>
<section class="detail" id="setInverse(com.google.ortools.sat.InverseConstraintProto.Builder)">
<h3>setInverse</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setInverse</span><wbr><span class="parameters">(<a href="InverseConstraintProto.Builder.html" title="class in com.google.ortools.sat">InverseConstraintProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.InverseConstraintProto inverse = 18;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeInverse(com.google.ortools.sat.InverseConstraintProto)">
<h3>mergeInverse</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeInverse</span><wbr><span class="parameters">(<a href="InverseConstraintProto.html" title="class in com.google.ortools.sat">InverseConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.InverseConstraintProto inverse = 18;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearInverse()">
<h3>clearInverse</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearInverse</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.InverseConstraintProto inverse = 18;</code></div>
</section>
</li>
<li>
<section class="detail" id="getInverseBuilder()">
<h3>getInverseBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="InverseConstraintProto.Builder.html" title="class in com.google.ortools.sat">InverseConstraintProto.Builder</a></span>&nbsp;<span class="element-name">getInverseBuilder</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.InverseConstraintProto inverse = 18;</code></div>
</section>
</li>
<li>
<section class="detail" id="getInverseOrBuilder()">
<h3>getInverseOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="InverseConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">InverseConstraintProtoOrBuilder</a></span>&nbsp;<span class="element-name">getInverseOrBuilder</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.InverseConstraintProto inverse = 18;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getInverseOrBuilder()">getInverseOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasReservoir()">
<h3>hasReservoir</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasReservoir</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.ReservoirConstraintProto reservoir = 24;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasReservoir()">hasReservoir</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the reservoir field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getReservoir()">
<h3>getReservoir</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ReservoirConstraintProto.html" title="class in com.google.ortools.sat">ReservoirConstraintProto</a></span>&nbsp;<span class="element-name">getReservoir</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.ReservoirConstraintProto reservoir = 24;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getReservoir()">getReservoir</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The reservoir.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setReservoir(com.google.ortools.sat.ReservoirConstraintProto)">
<h3>setReservoir</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setReservoir</span><wbr><span class="parameters">(<a href="ReservoirConstraintProto.html" title="class in com.google.ortools.sat">ReservoirConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.ReservoirConstraintProto reservoir = 24;</code></div>
</section>
</li>
<li>
<section class="detail" id="setReservoir(com.google.ortools.sat.ReservoirConstraintProto.Builder)">
<h3>setReservoir</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setReservoir</span><wbr><span class="parameters">(<a href="ReservoirConstraintProto.Builder.html" title="class in com.google.ortools.sat">ReservoirConstraintProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.ReservoirConstraintProto reservoir = 24;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeReservoir(com.google.ortools.sat.ReservoirConstraintProto)">
<h3>mergeReservoir</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeReservoir</span><wbr><span class="parameters">(<a href="ReservoirConstraintProto.html" title="class in com.google.ortools.sat">ReservoirConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.ReservoirConstraintProto reservoir = 24;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearReservoir()">
<h3>clearReservoir</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearReservoir</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.ReservoirConstraintProto reservoir = 24;</code></div>
</section>
</li>
<li>
<section class="detail" id="getReservoirBuilder()">
<h3>getReservoirBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ReservoirConstraintProto.Builder.html" title="class in com.google.ortools.sat">ReservoirConstraintProto.Builder</a></span>&nbsp;<span class="element-name">getReservoirBuilder</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.ReservoirConstraintProto reservoir = 24;</code></div>
</section>
</li>
<li>
<section class="detail" id="getReservoirOrBuilder()">
<h3>getReservoirOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ReservoirConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ReservoirConstraintProtoOrBuilder</a></span>&nbsp;<span class="element-name">getReservoirOrBuilder</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.ReservoirConstraintProto reservoir = 24;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getReservoirOrBuilder()">getReservoirOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasInterval()">
<h3>hasInterval</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasInterval</span>()</div>
<div class="block"><pre>
The interval constraint takes a start, end, and size, and forces
start + size == end.
</pre>
<code>.operations_research.sat.IntervalConstraintProto interval = 19;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasInterval()">hasInterval</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the interval field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getInterval()">
<h3>getInterval</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="IntervalConstraintProto.html" title="class in com.google.ortools.sat">IntervalConstraintProto</a></span>&nbsp;<span class="element-name">getInterval</span>()</div>
<div class="block"><pre>
The interval constraint takes a start, end, and size, and forces
start + size == end.
</pre>
<code>.operations_research.sat.IntervalConstraintProto interval = 19;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getInterval()">getInterval</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The interval.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setInterval(com.google.ortools.sat.IntervalConstraintProto)">
<h3>setInterval</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setInterval</span><wbr><span class="parameters">(<a href="IntervalConstraintProto.html" title="class in com.google.ortools.sat">IntervalConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The interval constraint takes a start, end, and size, and forces
start + size == end.
</pre>
<code>.operations_research.sat.IntervalConstraintProto interval = 19;</code></div>
</section>
</li>
<li>
<section class="detail" id="setInterval(com.google.ortools.sat.IntervalConstraintProto.Builder)">
<h3>setInterval</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setInterval</span><wbr><span class="parameters">(<a href="IntervalConstraintProto.Builder.html" title="class in com.google.ortools.sat">IntervalConstraintProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
The interval constraint takes a start, end, and size, and forces
start + size == end.
</pre>
<code>.operations_research.sat.IntervalConstraintProto interval = 19;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeInterval(com.google.ortools.sat.IntervalConstraintProto)">
<h3>mergeInterval</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeInterval</span><wbr><span class="parameters">(<a href="IntervalConstraintProto.html" title="class in com.google.ortools.sat">IntervalConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The interval constraint takes a start, end, and size, and forces
start + size == end.
</pre>
<code>.operations_research.sat.IntervalConstraintProto interval = 19;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearInterval()">
<h3>clearInterval</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearInterval</span>()</div>
<div class="block"><pre>
The interval constraint takes a start, end, and size, and forces
start + size == end.
</pre>
<code>.operations_research.sat.IntervalConstraintProto interval = 19;</code></div>
</section>
</li>
<li>
<section class="detail" id="getIntervalBuilder()">
<h3>getIntervalBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="IntervalConstraintProto.Builder.html" title="class in com.google.ortools.sat">IntervalConstraintProto.Builder</a></span>&nbsp;<span class="element-name">getIntervalBuilder</span>()</div>
<div class="block"><pre>
The interval constraint takes a start, end, and size, and forces
start + size == end.
</pre>
<code>.operations_research.sat.IntervalConstraintProto interval = 19;</code></div>
</section>
</li>
<li>
<section class="detail" id="getIntervalOrBuilder()">
<h3>getIntervalOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="IntervalConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">IntervalConstraintProtoOrBuilder</a></span>&nbsp;<span class="element-name">getIntervalOrBuilder</span>()</div>
<div class="block"><pre>
The interval constraint takes a start, end, and size, and forces
start + size == end.
</pre>
<code>.operations_research.sat.IntervalConstraintProto interval = 19;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getIntervalOrBuilder()">getIntervalOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasNoOverlap()">
<h3>hasNoOverlap</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasNoOverlap</span>()</div>
<div class="block"><pre>
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.
</pre>
<code>.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasNoOverlap()">hasNoOverlap</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the noOverlap field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getNoOverlap()">
<h3>getNoOverlap</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="NoOverlapConstraintProto.html" title="class in com.google.ortools.sat">NoOverlapConstraintProto</a></span>&nbsp;<span class="element-name">getNoOverlap</span>()</div>
<div class="block"><pre>
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.
</pre>
<code>.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getNoOverlap()">getNoOverlap</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The noOverlap.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setNoOverlap(com.google.ortools.sat.NoOverlapConstraintProto)">
<h3>setNoOverlap</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setNoOverlap</span><wbr><span class="parameters">(<a href="NoOverlapConstraintProto.html" title="class in com.google.ortools.sat">NoOverlapConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.
</pre>
<code>.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;</code></div>
</section>
</li>
<li>
<section class="detail" id="setNoOverlap(com.google.ortools.sat.NoOverlapConstraintProto.Builder)">
<h3>setNoOverlap</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setNoOverlap</span><wbr><span class="parameters">(<a href="NoOverlapConstraintProto.Builder.html" title="class in com.google.ortools.sat">NoOverlapConstraintProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.
</pre>
<code>.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeNoOverlap(com.google.ortools.sat.NoOverlapConstraintProto)">
<h3>mergeNoOverlap</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeNoOverlap</span><wbr><span class="parameters">(<a href="NoOverlapConstraintProto.html" title="class in com.google.ortools.sat">NoOverlapConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.
</pre>
<code>.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearNoOverlap()">
<h3>clearNoOverlap</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearNoOverlap</span>()</div>
<div class="block"><pre>
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.
</pre>
<code>.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;</code></div>
</section>
</li>
<li>
<section class="detail" id="getNoOverlapBuilder()">
<h3>getNoOverlapBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="NoOverlapConstraintProto.Builder.html" title="class in com.google.ortools.sat">NoOverlapConstraintProto.Builder</a></span>&nbsp;<span class="element-name">getNoOverlapBuilder</span>()</div>
<div class="block"><pre>
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.
</pre>
<code>.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;</code></div>
</section>
</li>
<li>
<section class="detail" id="getNoOverlapOrBuilder()">
<h3>getNoOverlapOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="NoOverlapConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">NoOverlapConstraintProtoOrBuilder</a></span>&nbsp;<span class="element-name">getNoOverlapOrBuilder</span>()</div>
<div class="block"><pre>
The no_overlap constraint prevents a set of intervals from
overlapping; in scheduling, this is called a disjunctive
constraint.
</pre>
<code>.operations_research.sat.NoOverlapConstraintProto no_overlap = 20;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getNoOverlapOrBuilder()">getNoOverlapOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasNoOverlap2D()">
<h3>hasNoOverlap2D</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasNoOverlap2D</span>()</div>
<div class="block"><pre>
The no_overlap_2d constraint prevents a set of boxes from overlapping.
</pre>
<code>.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasNoOverlap2D()">hasNoOverlap2D</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the noOverlap2d field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getNoOverlap2D()">
<h3>getNoOverlap2D</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="NoOverlap2DConstraintProto.html" title="class in com.google.ortools.sat">NoOverlap2DConstraintProto</a></span>&nbsp;<span class="element-name">getNoOverlap2D</span>()</div>
<div class="block"><pre>
The no_overlap_2d constraint prevents a set of boxes from overlapping.
</pre>
<code>.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getNoOverlap2D()">getNoOverlap2D</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The noOverlap2d.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setNoOverlap2D(com.google.ortools.sat.NoOverlap2DConstraintProto)">
<h3>setNoOverlap2D</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setNoOverlap2D</span><wbr><span class="parameters">(<a href="NoOverlap2DConstraintProto.html" title="class in com.google.ortools.sat">NoOverlap2DConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The no_overlap_2d constraint prevents a set of boxes from overlapping.
</pre>
<code>.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;</code></div>
</section>
</li>
<li>
<section class="detail" id="setNoOverlap2D(com.google.ortools.sat.NoOverlap2DConstraintProto.Builder)">
<h3>setNoOverlap2D</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setNoOverlap2D</span><wbr><span class="parameters">(<a href="NoOverlap2DConstraintProto.Builder.html" title="class in com.google.ortools.sat">NoOverlap2DConstraintProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
The no_overlap_2d constraint prevents a set of boxes from overlapping.
</pre>
<code>.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeNoOverlap2D(com.google.ortools.sat.NoOverlap2DConstraintProto)">
<h3>mergeNoOverlap2D</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeNoOverlap2D</span><wbr><span class="parameters">(<a href="NoOverlap2DConstraintProto.html" title="class in com.google.ortools.sat">NoOverlap2DConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
The no_overlap_2d constraint prevents a set of boxes from overlapping.
</pre>
<code>.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearNoOverlap2D()">
<h3>clearNoOverlap2D</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearNoOverlap2D</span>()</div>
<div class="block"><pre>
The no_overlap_2d constraint prevents a set of boxes from overlapping.
</pre>
<code>.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;</code></div>
</section>
</li>
<li>
<section class="detail" id="getNoOverlap2DBuilder()">
<h3>getNoOverlap2DBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="NoOverlap2DConstraintProto.Builder.html" title="class in com.google.ortools.sat">NoOverlap2DConstraintProto.Builder</a></span>&nbsp;<span class="element-name">getNoOverlap2DBuilder</span>()</div>
<div class="block"><pre>
The no_overlap_2d constraint prevents a set of boxes from overlapping.
</pre>
<code>.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;</code></div>
</section>
</li>
<li>
<section class="detail" id="getNoOverlap2DOrBuilder()">
<h3>getNoOverlap2DOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="NoOverlap2DConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">NoOverlap2DConstraintProtoOrBuilder</a></span>&nbsp;<span class="element-name">getNoOverlap2DOrBuilder</span>()</div>
<div class="block"><pre>
The no_overlap_2d constraint prevents a set of boxes from overlapping.
</pre>
<code>.operations_research.sat.NoOverlap2DConstraintProto no_overlap_2d = 21;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getNoOverlap2DOrBuilder()">getNoOverlap2DOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasCumulative()">
<h3>hasCumulative</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasCumulative</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.CumulativeConstraintProto cumulative = 22;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasCumulative()">hasCumulative</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the cumulative field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getCumulative()">
<h3>getCumulative</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CumulativeConstraintProto.html" title="class in com.google.ortools.sat">CumulativeConstraintProto</a></span>&nbsp;<span class="element-name">getCumulative</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.CumulativeConstraintProto cumulative = 22;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getCumulative()">getCumulative</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The cumulative.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setCumulative(com.google.ortools.sat.CumulativeConstraintProto)">
<h3>setCumulative</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setCumulative</span><wbr><span class="parameters">(<a href="CumulativeConstraintProto.html" title="class in com.google.ortools.sat">CumulativeConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.CumulativeConstraintProto cumulative = 22;</code></div>
</section>
</li>
<li>
<section class="detail" id="setCumulative(com.google.ortools.sat.CumulativeConstraintProto.Builder)">
<h3>setCumulative</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setCumulative</span><wbr><span class="parameters">(<a href="CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.CumulativeConstraintProto cumulative = 22;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeCumulative(com.google.ortools.sat.CumulativeConstraintProto)">
<h3>mergeCumulative</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeCumulative</span><wbr><span class="parameters">(<a href="CumulativeConstraintProto.html" title="class in com.google.ortools.sat">CumulativeConstraintProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.CumulativeConstraintProto cumulative = 22;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearCumulative()">
<h3>clearCumulative</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearCumulative</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.CumulativeConstraintProto cumulative = 22;</code></div>
</section>
</li>
<li>
<section class="detail" id="getCumulativeBuilder()">
<h3>getCumulativeBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></span>&nbsp;<span class="element-name">getCumulativeBuilder</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.CumulativeConstraintProto cumulative = 22;</code></div>
</section>
</li>
<li>
<section class="detail" id="getCumulativeOrBuilder()">
<h3>getCumulativeOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="CumulativeConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">CumulativeConstraintProtoOrBuilder</a></span>&nbsp;<span class="element-name">getCumulativeOrBuilder</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.CumulativeConstraintProto cumulative = 22;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getCumulativeOrBuilder()">getCumulativeOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasDummyConstraint()">
<h3>hasDummyConstraint</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">hasDummyConstraint</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.ListOfVariablesProto dummy_constraint = 30;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#hasDummyConstraint()">hasDummyConstraint</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>Whether the dummyConstraint field is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDummyConstraint()">
<h3>getDummyConstraint</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ListOfVariablesProto.html" title="class in com.google.ortools.sat">ListOfVariablesProto</a></span>&nbsp;<span class="element-name">getDummyConstraint</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.ListOfVariablesProto dummy_constraint = 30;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getDummyConstraint()">getDummyConstraint</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
<dt>Returns:</dt>
<dd>The dummyConstraint.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setDummyConstraint(com.google.ortools.sat.ListOfVariablesProto)">
<h3>setDummyConstraint</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setDummyConstraint</span><wbr><span class="parameters">(<a href="ListOfVariablesProto.html" title="class in com.google.ortools.sat">ListOfVariablesProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.ListOfVariablesProto dummy_constraint = 30;</code></div>
</section>
</li>
<li>
<section class="detail" id="setDummyConstraint(com.google.ortools.sat.ListOfVariablesProto.Builder)">
<h3>setDummyConstraint</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setDummyConstraint</span><wbr><span class="parameters">(<a href="ListOfVariablesProto.Builder.html" title="class in com.google.ortools.sat">ListOfVariablesProto.Builder</a>&nbsp;builderForValue)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.ListOfVariablesProto dummy_constraint = 30;</code></div>
</section>
</li>
<li>
<section class="detail" id="mergeDummyConstraint(com.google.ortools.sat.ListOfVariablesProto)">
<h3>mergeDummyConstraint</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeDummyConstraint</span><wbr><span class="parameters">(<a href="ListOfVariablesProto.html" title="class in com.google.ortools.sat">ListOfVariablesProto</a>&nbsp;value)</span></div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.ListOfVariablesProto dummy_constraint = 30;</code></div>
</section>
</li>
<li>
<section class="detail" id="clearDummyConstraint()">
<h3>clearDummyConstraint</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">clearDummyConstraint</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.ListOfVariablesProto dummy_constraint = 30;</code></div>
</section>
</li>
<li>
<section class="detail" id="getDummyConstraintBuilder()">
<h3>getDummyConstraintBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ListOfVariablesProto.Builder.html" title="class in com.google.ortools.sat">ListOfVariablesProto.Builder</a></span>&nbsp;<span class="element-name">getDummyConstraintBuilder</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.ListOfVariablesProto dummy_constraint = 30;</code></div>
</section>
</li>
<li>
<section class="detail" id="getDummyConstraintOrBuilder()">
<h3>getDummyConstraintOrBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="ListOfVariablesProtoOrBuilder.html" title="interface in com.google.ortools.sat">ListOfVariablesProtoOrBuilder</a></span>&nbsp;<span class="element-name">getDummyConstraintOrBuilder</span>()</div>
<div class="block"><pre>
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.
</pre>
<code>.operations_research.sat.ListOfVariablesProto dummy_constraint = 30;</code></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="ConstraintProtoOrBuilder.html#getDummyConstraintOrBuilder()">getDummyConstraintOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="ConstraintProtoOrBuilder.html" title="interface in com.google.ortools.sat">ConstraintProtoOrBuilder</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setUnknownFields(com.google.protobuf.UnknownFieldSet)">
<h3>setUnknownFields</h3>
<div class="member-signature"><span class="modifiers">public final</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">setUnknownFields</span><wbr><span class="parameters">(com.google.protobuf.UnknownFieldSet&nbsp;unknownFields)</span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>setUnknownFields</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>setUnknownFields</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&gt;</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="mergeUnknownFields(com.google.protobuf.UnknownFieldSet)">
<h3>mergeUnknownFields</h3>
<div class="member-signature"><span class="modifiers">public final</span>&nbsp;<span class="return-type"><a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></span>&nbsp;<span class="element-name">mergeUnknownFields</span><wbr><span class="parameters">(com.google.protobuf.UnknownFieldSet&nbsp;unknownFields)</span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>mergeUnknownFields</code>&nbsp;in interface&nbsp;<code>com.google.protobuf.Message.Builder</code></dd>
<dt>Overrides:</dt>
<dd><code>mergeUnknownFields</code>&nbsp;in class&nbsp;<code>com.google.protobuf.GeneratedMessageV3.Builder&lt;<a href="ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a>&gt;</code></dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
<footer role="contentinfo">
<hr>
<p class="legal-copy"><small>Copyright &#169; 2022. All rights reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>