Package com.google.ortools.sat
Interface ElementConstraintProtoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ElementConstraintProto,ElementConstraintProto.Builder
public interface ElementConstraintProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getIndex
int getIndex()int32 index = 1;- Returns:
- The index.
-
getTarget
int getTarget()int32 target = 2;- Returns:
- The target.
-
getVarsList
repeated int32 vars = 3;- Returns:
- A list containing the vars.
-
getVarsCount
int getVarsCount()repeated int32 vars = 3;- Returns:
- The count of vars.
-
getVars
int getVars(int index) repeated int32 vars = 3;- Parameters:
index- The index of the element to return.- Returns:
- The vars at the given index.
-