Uses of Class
com.google.ortools.sat.AllDifferentConstraintProto.Builder
| Package | Description |
|---|---|
| com.google.ortools.sat |
-
Uses of AllDifferentConstraintProto.Builder in com.google.ortools.sat
Methods in com.google.ortools.sat that return AllDifferentConstraintProto.Builder Modifier and Type Method Description AllDifferentConstraintProto.BuilderAllDifferentConstraintProto.Builder. addAllVars(java.lang.Iterable<? extends java.lang.Integer> values)repeated int32 vars = 1;AllDifferentConstraintProto.BuilderAllDifferentConstraintProto.Builder. addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AllDifferentConstraintProto.BuilderAllDifferentConstraintProto.Builder. addVars(int value)repeated int32 vars = 1;AllDifferentConstraintProto.BuilderAllDifferentConstraintProto.Builder. clear()AllDifferentConstraintProto.BuilderAllDifferentConstraintProto.Builder. clearField(com.google.protobuf.Descriptors.FieldDescriptor field)AllDifferentConstraintProto.BuilderAllDifferentConstraintProto.Builder. clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AllDifferentConstraintProto.BuilderAllDifferentConstraintProto.Builder. clearVars()repeated int32 vars = 1;AllDifferentConstraintProto.BuilderAllDifferentConstraintProto.Builder. clone()AllDifferentConstraintProto.BuilderConstraintProto.Builder. getAllDiffBuilder()The all_diff constraint forces all variables to take different values.AllDifferentConstraintProto.BuilderAllDifferentConstraintProto.Builder. mergeFrom(AllDifferentConstraintProto other)AllDifferentConstraintProto.BuilderAllDifferentConstraintProto.Builder. mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AllDifferentConstraintProto.BuilderAllDifferentConstraintProto.Builder. mergeFrom(com.google.protobuf.Message other)AllDifferentConstraintProto.BuilderAllDifferentConstraintProto.Builder. mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)static AllDifferentConstraintProto.BuilderAllDifferentConstraintProto. newBuilder()static AllDifferentConstraintProto.BuilderAllDifferentConstraintProto. newBuilder(AllDifferentConstraintProto prototype)AllDifferentConstraintProto.BuilderAllDifferentConstraintProto. newBuilderForType()protected AllDifferentConstraintProto.BuilderAllDifferentConstraintProto. newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)AllDifferentConstraintProto.BuilderAllDifferentConstraintProto.Builder. setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AllDifferentConstraintProto.BuilderAllDifferentConstraintProto.Builder. setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)AllDifferentConstraintProto.BuilderAllDifferentConstraintProto.Builder. setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AllDifferentConstraintProto.BuilderAllDifferentConstraintProto.Builder. setVars(int index, int value)repeated int32 vars = 1;AllDifferentConstraintProto.BuilderAllDifferentConstraintProto. toBuilder()Methods in com.google.ortools.sat with parameters of type AllDifferentConstraintProto.Builder Modifier and Type Method Description ConstraintProto.BuilderConstraintProto.Builder. setAllDiff(AllDifferentConstraintProto.Builder builderForValue)The all_diff constraint forces all variables to take different values.