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 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

      List<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

      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

      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;