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

    Modifier and Type Method Description
    int getCapacity()
    int32 capacity = 1;
    int getDemands​(int index)
    Same size as intervals.
    int getDemandsCount()
    Same size as intervals.
    java.util.List<java.lang.Integer> getDemandsList()
    Same size as intervals.
    int getIntervals​(int index)
    repeated int32 intervals = 2;
    int getIntervalsCount()
    repeated int32 intervals = 2;
    java.util.List<java.lang.Integer> getIntervalsList()
    repeated int32 intervals = 2;

    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

    • getCapacity

      int getCapacity()
      int32 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<java.lang.Integer> getDemandsList()
       Same size as intervals.
       
      repeated int32 demands = 3;
      Returns:
      A list containing the demands.
    • getDemandsCount

      int getDemandsCount()
       Same size as intervals.
       
      repeated int32 demands = 3;
      Returns:
      The count of demands.
    • getDemands

      int getDemands​(int index)
       Same size as intervals.
       
      repeated int32 demands = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The demands at the given index.