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 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.
      • 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;