Package com.google.ortools.sat
Interface CumulativeConstraintProtoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CumulativeConstraintProto,CumulativeConstraintProto.Builder
public interface CumulativeConstraintProtoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LinearExpressionProtogetCapacity().operations_research.sat.LinearExpressionProto capacity = 1;LinearExpressionProtoOrBuildergetCapacityOrBuilder().operations_research.sat.LinearExpressionProto capacity = 1;LinearExpressionProtogetDemands(int index)Same size as intervals.intgetDemandsCount()Same size as intervals.java.util.List<LinearExpressionProto>getDemandsList()Same size as intervals.LinearExpressionProtoOrBuildergetDemandsOrBuilder(int index)Same size as intervals.java.util.List<? extends LinearExpressionProtoOrBuilder>getDemandsOrBuilderList()Same size as intervals.intgetIntervals(int index)repeated int32 intervals = 2;intgetIntervalsCount()repeated int32 intervals = 2;java.util.List<java.lang.Integer>getIntervalsList()repeated int32 intervals = 2;booleanhasCapacity().operations_research.sat.LinearExpressionProto capacity = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCapacity
boolean hasCapacity()
.operations_research.sat.LinearExpressionProto capacity = 1;- Returns:
- Whether the capacity field is set.
-
getCapacity
LinearExpressionProto getCapacity()
.operations_research.sat.LinearExpressionProto capacity = 1;- Returns:
- The capacity.
-
getCapacityOrBuilder
LinearExpressionProtoOrBuilder getCapacityOrBuilder()
.operations_research.sat.LinearExpressionProto capacity = 1;
-
getIntervalsList
java.util.List<java.lang.Integer> getIntervalsList()
repeated int32 intervals = 2;- Returns:
- A list containing the intervals.
-
getIntervalsCount
int getIntervalsCount()
repeated int32 intervals = 2;- Returns:
- The count of intervals.
-
getIntervals
int getIntervals(int index)
repeated int32 intervals = 2;- Parameters:
index- The index of the element to return.- Returns:
- The intervals at the given index.
-
getDemandsList
java.util.List<LinearExpressionProto> getDemandsList()
Same size as intervals.
repeated .operations_research.sat.LinearExpressionProto demands = 3;
-
getDemands
LinearExpressionProto getDemands(int index)
Same size as intervals.
repeated .operations_research.sat.LinearExpressionProto demands = 3;
-
getDemandsCount
int getDemandsCount()
Same size as intervals.
repeated .operations_research.sat.LinearExpressionProto demands = 3;
-
getDemandsOrBuilderList
java.util.List<? extends LinearExpressionProtoOrBuilder> getDemandsOrBuilderList()
Same size as intervals.
repeated .operations_research.sat.LinearExpressionProto demands = 3;
-
getDemandsOrBuilder
LinearExpressionProtoOrBuilder getDemandsOrBuilder(int index)
Same size as intervals.
repeated .operations_research.sat.LinearExpressionProto demands = 3;
-
-