Interface CumulativeConstraintProtoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CumulativeConstraintProto
,CumulativeConstraintProto.Builder
@Generated
public interface CumulativeConstraintProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.operations_research.sat.LinearExpressionProto capacity = 1;
.operations_research.sat.LinearExpressionProto capacity = 1;
getDemands
(int index) Same size as intervals.int
Same size as intervals.Same size as intervals.getDemandsOrBuilder
(int index) Same size as intervals.List
<? extends LinearExpressionProtoOrBuilder> Same size as intervals.int
getIntervals
(int index) repeated int32 intervals = 2;
int
repeated int32 intervals = 2;
repeated int32 intervals = 2;
boolean
.operations_research.sat.LinearExpressionProto capacity = 1;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
-
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
List<LinearExpressionProto> getDemandsList()Same size as intervals.
repeated .operations_research.sat.LinearExpressionProto demands = 3;
-
getDemands
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
List<? extends LinearExpressionProtoOrBuilder> getDemandsOrBuilderList()Same size as intervals.
repeated .operations_research.sat.LinearExpressionProto demands = 3;
-
getDemandsOrBuilder
Same size as intervals.
repeated .operations_research.sat.LinearExpressionProto demands = 3;
-