<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.16) on Thu Sep 15 09:38:29 CEST 2022 -->
<title>Uses of Class com.google.ortools.sat.CumulativeConstraintProto.Builder (com.google.ortools:ortools-java 9.4.1874 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-09-15">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="Uses of Class com.google.ortools.sat.CumulativeConstraintProto.Builder (com.google.ortools:ortools-java 9.4.1874 API)";
        }
    }
    catch(err) {
    }
//-->
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">Class</a></li>
<li class="navBarCell1Rev">Use</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">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<main role="main">
<div class="header">
<h2 title="Uses of Class com.google.ortools.sat.CumulativeConstraintProto.Builder" class="title">Uses of Class<br>com.google.ortools.sat.CumulativeConstraintProto.Builder</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary">
<caption><span>Packages that use <a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#com.google.ortools.sat">com.google.ortools.sat</a></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList">
<section role="region"><a id="com.google.ortools.sat">
<!--   -->
</a>
<h3>Uses of <a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a> in <a href="../package-summary.html">com.google.ortools.sat</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../package-summary.html">com.google.ortools.sat</a> that return <a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#addAllDemands(java.lang.Iterable)">addAllDemands</a></span>&#8203;(java.lang.Iterable&lt;? extends <a href="../LinearExpressionProto.html" title="class in com.google.ortools.sat">LinearExpressionProto</a>&gt;&nbsp;values)</code></th>
<td class="colLast">
<div class="block">
 Same size as intervals.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#addAllIntervals(java.lang.Iterable)">addAllIntervals</a></span>&#8203;(java.lang.Iterable&lt;? extends java.lang.Integer&gt;&nbsp;values)</code></th>
<td class="colLast">
<div class="block"><code>repeated int32 intervals = 2;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#addDemands(int,com.google.ortools.sat.LinearExpressionProto)">addDemands</a></span>&#8203;(int&nbsp;index,
          <a href="../LinearExpressionProto.html" title="class in com.google.ortools.sat">LinearExpressionProto</a>&nbsp;value)</code></th>
<td class="colLast">
<div class="block">
 Same size as intervals.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#addDemands(int,com.google.ortools.sat.LinearExpressionProto.Builder)">addDemands</a></span>&#8203;(int&nbsp;index,
          <a href="../LinearExpressionProto.Builder.html" title="class in com.google.ortools.sat">LinearExpressionProto.Builder</a>&nbsp;builderForValue)</code></th>
<td class="colLast">
<div class="block">
 Same size as intervals.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#addDemands(com.google.ortools.sat.LinearExpressionProto)">addDemands</a></span>&#8203;(<a href="../LinearExpressionProto.html" title="class in com.google.ortools.sat">LinearExpressionProto</a>&nbsp;value)</code></th>
<td class="colLast">
<div class="block">
 Same size as intervals.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#addDemands(com.google.ortools.sat.LinearExpressionProto.Builder)">addDemands</a></span>&#8203;(<a href="../LinearExpressionProto.Builder.html" title="class in com.google.ortools.sat">LinearExpressionProto.Builder</a>&nbsp;builderForValue)</code></th>
<td class="colLast">
<div class="block">
 Same size as intervals.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#addIntervals(int)">addIntervals</a></span>&#8203;(int&nbsp;value)</code></th>
<td class="colLast">
<div class="block"><code>repeated int32 intervals = 2;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)">addRepeatedField</a></span>&#8203;(com.google.protobuf.Descriptors.FieldDescriptor&nbsp;field,
                java.lang.Object&nbsp;value)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#clear()">clear</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#clearCapacity()">clearCapacity</a></span>()</code></th>
<td class="colLast">
<div class="block"><code>.operations_research.sat.LinearExpressionProto capacity = 1;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#clearDemands()">clearDemands</a></span>()</code></th>
<td class="colLast">
<div class="block">
 Same size as intervals.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#clearField(com.google.protobuf.Descriptors.FieldDescriptor)">clearField</a></span>&#8203;(com.google.protobuf.Descriptors.FieldDescriptor&nbsp;field)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#clearIntervals()">clearIntervals</a></span>()</code></th>
<td class="colLast">
<div class="block"><code>repeated int32 intervals = 2;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#clearOneof(com.google.protobuf.Descriptors.OneofDescriptor)">clearOneof</a></span>&#8203;(com.google.protobuf.Descriptors.OneofDescriptor&nbsp;oneof)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#clone()">clone</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../ConstraintProto.Builder.html#getCumulativeBuilder()">getCumulativeBuilder</a></span>()</code></th>
<td class="colLast">
<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>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#mergeCapacity(com.google.ortools.sat.LinearExpressionProto)">mergeCapacity</a></span>&#8203;(<a href="../LinearExpressionProto.html" title="class in com.google.ortools.sat">LinearExpressionProto</a>&nbsp;value)</code></th>
<td class="colLast">
<div class="block"><code>.operations_research.sat.LinearExpressionProto capacity = 1;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#mergeFrom(com.google.ortools.sat.CumulativeConstraintProto)">mergeFrom</a></span>&#8203;(<a href="../CumulativeConstraintProto.html" title="class in com.google.ortools.sat">CumulativeConstraintProto</a>&nbsp;other)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#mergeFrom(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)">mergeFrom</a></span>&#8203;(com.google.protobuf.CodedInputStream&nbsp;input,
         com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#mergeFrom(com.google.protobuf.Message)">mergeFrom</a></span>&#8203;(com.google.protobuf.Message&nbsp;other)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#mergeUnknownFields(com.google.protobuf.UnknownFieldSet)">mergeUnknownFields</a></span>&#8203;(com.google.protobuf.UnknownFieldSet&nbsp;unknownFields)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.html#newBuilder()">newBuilder</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.html#newBuilder(com.google.ortools.sat.CumulativeConstraintProto)">newBuilder</a></span>&#8203;(<a href="../CumulativeConstraintProto.html" title="class in com.google.ortools.sat">CumulativeConstraintProto</a>&nbsp;prototype)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.html#newBuilderForType()">newBuilderForType</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.html#newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent)">newBuilderForType</a></span>&#8203;(com.google.protobuf.GeneratedMessageV3.BuilderParent&nbsp;parent)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#removeDemands(int)">removeDemands</a></span>&#8203;(int&nbsp;index)</code></th>
<td class="colLast">
<div class="block">
 Same size as intervals.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#setCapacity(com.google.ortools.sat.LinearExpressionProto)">setCapacity</a></span>&#8203;(<a href="../LinearExpressionProto.html" title="class in com.google.ortools.sat">LinearExpressionProto</a>&nbsp;value)</code></th>
<td class="colLast">
<div class="block"><code>.operations_research.sat.LinearExpressionProto capacity = 1;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#setCapacity(com.google.ortools.sat.LinearExpressionProto.Builder)">setCapacity</a></span>&#8203;(<a href="../LinearExpressionProto.Builder.html" title="class in com.google.ortools.sat">LinearExpressionProto.Builder</a>&nbsp;builderForValue)</code></th>
<td class="colLast">
<div class="block"><code>.operations_research.sat.LinearExpressionProto capacity = 1;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#setDemands(int,com.google.ortools.sat.LinearExpressionProto)">setDemands</a></span>&#8203;(int&nbsp;index,
          <a href="../LinearExpressionProto.html" title="class in com.google.ortools.sat">LinearExpressionProto</a>&nbsp;value)</code></th>
<td class="colLast">
<div class="block">
 Same size as intervals.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#setDemands(int,com.google.ortools.sat.LinearExpressionProto.Builder)">setDemands</a></span>&#8203;(int&nbsp;index,
          <a href="../LinearExpressionProto.Builder.html" title="class in com.google.ortools.sat">LinearExpressionProto.Builder</a>&nbsp;builderForValue)</code></th>
<td class="colLast">
<div class="block">
 Same size as intervals.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#setField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)">setField</a></span>&#8203;(com.google.protobuf.Descriptors.FieldDescriptor&nbsp;field,
        java.lang.Object&nbsp;value)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#setIntervals(int,int)">setIntervals</a></span>&#8203;(int&nbsp;index,
            int&nbsp;value)</code></th>
<td class="colLast">
<div class="block"><code>repeated int32 intervals = 2;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,int,java.lang.Object)">setRepeatedField</a></span>&#8203;(com.google.protobuf.Descriptors.FieldDescriptor&nbsp;field,
                int&nbsp;index,
                java.lang.Object&nbsp;value)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.Builder.html#setUnknownFields(com.google.protobuf.UnknownFieldSet)">setUnknownFields</a></span>&#8203;(com.google.protobuf.UnknownFieldSet&nbsp;unknownFields)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CumulativeConstraintProto.</span><code><span class="memberNameLink"><a href="../CumulativeConstraintProto.html#toBuilder()">toBuilder</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../package-summary.html">com.google.ortools.sat</a> with parameters of type <a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../ConstraintProto.Builder.html" title="class in com.google.ortools.sat">ConstraintProto.Builder</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ConstraintProto.Builder.</span><code><span class="memberNameLink"><a href="../ConstraintProto.Builder.html#setCumulative(com.google.ortools.sat.CumulativeConstraintProto.Builder)">setCumulative</a></span>&#8203;(<a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">CumulativeConstraintProto.Builder</a>&nbsp;builderForValue)</code></th>
<td class="colLast">
<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>
</td>
</tr>
</tbody>
</table>
</section>
</li>
</ul>
</li>
</ul>
</div>
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../CumulativeConstraintProto.Builder.html" title="class in com.google.ortools.sat">Class</a></li>
<li class="navBarCell1Rev">Use</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">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2022. All rights reserved.</small></p>
</footer>
</body>
</html>
