Interface ReservoirConstraintProtoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ReservoirConstraintProto, ReservoirConstraintProto.Builder

public interface ReservoirConstraintProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type Method Description
    int getActives​(int index)
    literals.
    int getActivesCount()
    literals.
    java.util.List<java.lang.Integer> getActivesList()
    literals.
    long getDemands​(int index)
    constants, can be negative.
    int getDemandsCount()
    constants, can be negative.
    java.util.List<java.lang.Long> getDemandsList()
    constants, can be negative.
    long getMaxLevel()
    int64 max_level = 2;
    long getMinLevel()
    int64 min_level = 1;
    int getTimes​(int index)
    variables.
    int getTimesCount()
    variables.
    java.util.List<java.lang.Integer> getTimesList()
    variables.

    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

    • getMinLevel

      long getMinLevel()
      int64 min_level = 1;
      Returns:
      The minLevel.
    • getMaxLevel

      long getMaxLevel()
      int64 max_level = 2;
      Returns:
      The maxLevel.
    • getTimesList

      java.util.List<java.lang.Integer> getTimesList()
       variables.
       
      repeated int32 times = 3;
      Returns:
      A list containing the times.
    • getTimesCount

      int getTimesCount()
       variables.
       
      repeated int32 times = 3;
      Returns:
      The count of times.
    • getTimes

      int getTimes​(int index)
       variables.
       
      repeated int32 times = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The times at the given index.
    • getDemandsList

      java.util.List<java.lang.Long> getDemandsList()
       constants, can be negative.
       
      repeated int64 demands = 4;
      Returns:
      A list containing the demands.
    • getDemandsCount

      int getDemandsCount()
       constants, can be negative.
       
      repeated int64 demands = 4;
      Returns:
      The count of demands.
    • getDemands

      long getDemands​(int index)
       constants, can be negative.
       
      repeated int64 demands = 4;
      Parameters:
      index - The index of the element to return.
      Returns:
      The demands at the given index.
    • getActivesList

      java.util.List<java.lang.Integer> getActivesList()
       literals.
       
      repeated int32 actives = 5;
      Returns:
      A list containing the actives.
    • getActivesCount

      int getActivesCount()
       literals.
       
      repeated int32 actives = 5;
      Returns:
      The count of actives.
    • getActives

      int getActives​(int index)
       literals.
       
      repeated int32 actives = 5;
      Parameters:
      index - The index of the element to return.
      Returns:
      The actives at the given index.