Interface ElementConstraintProtoOrBuilder

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

@Generated public interface ElementConstraintProtoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getIndex

      int getIndex()
       Legacy field.
       
      int32 index = 1;
      Returns:
      The index.
    • getTarget

      int getTarget()
       Legacy field.
       
      int32 target = 2;
      Returns:
      The target.
    • getVarsList

      List<Integer> getVarsList()
       Legacy field.
       
      repeated int32 vars = 3;
      Returns:
      A list containing the vars.
    • getVarsCount

      int getVarsCount()
       Legacy field.
       
      repeated int32 vars = 3;
      Returns:
      The count of vars.
    • getVars

      int getVars(int index)
       Legacy field.
       
      repeated int32 vars = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The vars at the given index.
    • hasLinearIndex

      boolean hasLinearIndex()
       All expressions below must be affine function with at most one variable.
       
      .operations_research.sat.LinearExpressionProto linear_index = 4;
      Returns:
      Whether the linearIndex field is set.
    • getLinearIndex

      LinearExpressionProto getLinearIndex()
       All expressions below must be affine function with at most one variable.
       
      .operations_research.sat.LinearExpressionProto linear_index = 4;
      Returns:
      The linearIndex.
    • getLinearIndexOrBuilder

      LinearExpressionProtoOrBuilder getLinearIndexOrBuilder()
       All expressions below must be affine function with at most one variable.
       
      .operations_research.sat.LinearExpressionProto linear_index = 4;
    • hasLinearTarget

      boolean hasLinearTarget()
      .operations_research.sat.LinearExpressionProto linear_target = 5;
      Returns:
      Whether the linearTarget field is set.
    • getLinearTarget

      LinearExpressionProto getLinearTarget()
      .operations_research.sat.LinearExpressionProto linear_target = 5;
      Returns:
      The linearTarget.
    • getLinearTargetOrBuilder

      LinearExpressionProtoOrBuilder getLinearTargetOrBuilder()
      .operations_research.sat.LinearExpressionProto linear_target = 5;
    • getExprsList

      List<LinearExpressionProto> getExprsList()
      repeated .operations_research.sat.LinearExpressionProto exprs = 6;
    • getExprs

      LinearExpressionProto getExprs(int index)
      repeated .operations_research.sat.LinearExpressionProto exprs = 6;
    • getExprsCount

      int getExprsCount()
      repeated .operations_research.sat.LinearExpressionProto exprs = 6;
    • getExprsOrBuilderList

      List<? extends LinearExpressionProtoOrBuilder> getExprsOrBuilderList()
      repeated .operations_research.sat.LinearExpressionProto exprs = 6;
    • getExprsOrBuilder

      LinearExpressionProtoOrBuilder getExprsOrBuilder(int index)
      repeated .operations_research.sat.LinearExpressionProto exprs = 6;