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 Summary
Modifier and TypeMethodDescriptiongetExprs
(int index) repeated .operations_research.sat.LinearExpressionProto exprs = 6;
int
repeated .operations_research.sat.LinearExpressionProto exprs = 6;
repeated .operations_research.sat.LinearExpressionProto exprs = 6;
getExprsOrBuilder
(int index) repeated .operations_research.sat.LinearExpressionProto exprs = 6;
List
<? extends LinearExpressionProtoOrBuilder> repeated .operations_research.sat.LinearExpressionProto exprs = 6;
int
getIndex()
Legacy field.All expressions below must be affine function with at most one variable.All expressions below must be affine function with at most one variable..operations_research.sat.LinearExpressionProto linear_target = 5;
.operations_research.sat.LinearExpressionProto linear_target = 5;
int
Legacy field.int
getVars
(int index) Legacy field.int
Legacy field.Legacy field.boolean
All expressions below must be affine function with at most one variable.boolean
.operations_research.sat.LinearExpressionProto linear_target = 5;
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
-
getIndex
int getIndex()Legacy field.
int32 index = 1;
- Returns:
- The index.
-
getTarget
int getTarget()Legacy field.
int32 target = 2;
- Returns:
- The target.
-
getVarsList
-
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
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
repeated .operations_research.sat.LinearExpressionProto exprs = 6;
-