Java Reference

Java Reference

DecisionStrategyProto.java
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ortools/sat/cp_model.proto
3 
4 package com.google.ortools.sat;
5 
14 public final class DecisionStrategyProto extends
15  com.google.protobuf.GeneratedMessageV3 implements
16  // @@protoc_insertion_point(message_implements:operations_research.sat.DecisionStrategyProto)
18 private static final long serialVersionUID = 0L;
19  // Use DecisionStrategyProto.newBuilder() to construct.
20  private DecisionStrategyProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
21  super(builder);
22  }
23  private DecisionStrategyProto() {
24  variables_ = emptyIntList();
25  variableSelectionStrategy_ = 0;
26  domainReductionStrategy_ = 0;
27  transformations_ = java.util.Collections.emptyList();
28  }
29 
30  @java.lang.Override
31  @SuppressWarnings({"unused"})
32  protected java.lang.Object newInstance(
33  UnusedPrivateParameter unused) {
34  return new DecisionStrategyProto();
35  }
36 
37  @java.lang.Override
38  public final com.google.protobuf.UnknownFieldSet
40  return this.unknownFields;
41  }
42  private DecisionStrategyProto(
43  com.google.protobuf.CodedInputStream input,
44  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
45  throws com.google.protobuf.InvalidProtocolBufferException {
46  this();
47  if (extensionRegistry == null) {
48  throw new java.lang.NullPointerException();
49  }
50  int mutable_bitField0_ = 0;
51  com.google.protobuf.UnknownFieldSet.Builder unknownFields =
52  com.google.protobuf.UnknownFieldSet.newBuilder();
53  try {
54  boolean done = false;
55  while (!done) {
56  int tag = input.readTag();
57  switch (tag) {
58  case 0:
59  done = true;
60  break;
61  case 8: {
62  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
63  variables_ = newIntList();
64  mutable_bitField0_ |= 0x00000001;
65  }
66  variables_.addInt(input.readInt32());
67  break;
68  }
69  case 10: {
70  int length = input.readRawVarint32();
71  int limit = input.pushLimit(length);
72  if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
73  variables_ = newIntList();
74  mutable_bitField0_ |= 0x00000001;
75  }
76  while (input.getBytesUntilLimit() > 0) {
77  variables_.addInt(input.readInt32());
78  }
79  input.popLimit(limit);
80  break;
81  }
82  case 16: {
83  int rawValue = input.readEnum();
84 
85  variableSelectionStrategy_ = rawValue;
86  break;
87  }
88  case 24: {
89  int rawValue = input.readEnum();
90 
91  domainReductionStrategy_ = rawValue;
92  break;
93  }
94  case 34: {
95  if (!((mutable_bitField0_ & 0x00000002) != 0)) {
96  transformations_ = new java.util.ArrayList<com.google.ortools.sat.DecisionStrategyProto.AffineTransformation>();
97  mutable_bitField0_ |= 0x00000002;
98  }
99  transformations_.add(
100  input.readMessage(com.google.ortools.sat.DecisionStrategyProto.AffineTransformation.parser(), extensionRegistry));
101  break;
102  }
103  default: {
104  if (!parseUnknownField(
105  input, unknownFields, extensionRegistry, tag)) {
106  done = true;
107  }
108  break;
109  }
110  }
111  }
112  } catch (com.google.protobuf.InvalidProtocolBufferException e) {
113  throw e.setUnfinishedMessage(this);
114  } catch (java.io.IOException e) {
115  throw new com.google.protobuf.InvalidProtocolBufferException(
116  e).setUnfinishedMessage(this);
117  } finally {
118  if (((mutable_bitField0_ & 0x00000001) != 0)) {
119  variables_.makeImmutable(); // C
120  }
121  if (((mutable_bitField0_ & 0x00000002) != 0)) {
122  transformations_ = java.util.Collections.unmodifiableList(transformations_);
123  }
124  this.unknownFields = unknownFields.build();
125  makeExtensionsImmutable();
126  }
127  }
128  public static final com.google.protobuf.Descriptors.Descriptor
130  return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_descriptor;
131  }
132 
133  @java.lang.Override
134  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
136  return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_fieldAccessorTable
137  .ensureFieldAccessorsInitialized(
139  }
140 
151  implements com.google.protobuf.ProtocolMessageEnum {
173  ;
174 
178  public static final int CHOOSE_FIRST_VALUE = 0;
182  public static final int CHOOSE_LOWEST_MIN_VALUE = 1;
186  public static final int CHOOSE_HIGHEST_MAX_VALUE = 2;
190  public static final int CHOOSE_MIN_DOMAIN_SIZE_VALUE = 3;
194  public static final int CHOOSE_MAX_DOMAIN_SIZE_VALUE = 4;
195 
196 
197  public final int getNumber() {
198  if (this == UNRECOGNIZED) {
199  throw new java.lang.IllegalArgumentException(
200  "Can't get the number of an unknown enum value.");
201  }
202  return value;
203  }
204 
210  @java.lang.Deprecated
211  public static VariableSelectionStrategy valueOf(int value) {
212  return forNumber(value);
213  }
214 
219  public static VariableSelectionStrategy forNumber(int value) {
220  switch (value) {
221  case 0: return CHOOSE_FIRST;
222  case 1: return CHOOSE_LOWEST_MIN;
223  case 2: return CHOOSE_HIGHEST_MAX;
224  case 3: return CHOOSE_MIN_DOMAIN_SIZE;
225  case 4: return CHOOSE_MAX_DOMAIN_SIZE;
226  default: return null;
227  }
228  }
229 
230  public static com.google.protobuf.Internal.EnumLiteMap<VariableSelectionStrategy>
232  return internalValueMap;
233  }
234  private static final com.google.protobuf.Internal.EnumLiteMap<
235  VariableSelectionStrategy> internalValueMap =
236  new com.google.protobuf.Internal.EnumLiteMap<VariableSelectionStrategy>() {
237  public VariableSelectionStrategy findValueByNumber(int number) {
238  return VariableSelectionStrategy.forNumber(number);
239  }
240  };
241 
242  public final com.google.protobuf.Descriptors.EnumValueDescriptor
244  return getDescriptor().getValues().get(ordinal());
245  }
246  public final com.google.protobuf.Descriptors.EnumDescriptor
248  return getDescriptor();
249  }
250  public static final com.google.protobuf.Descriptors.EnumDescriptor
252  return com.google.ortools.sat.DecisionStrategyProto.getDescriptor().getEnumTypes().get(0);
253  }
254 
255  private static final VariableSelectionStrategy[] VALUES = values();
256 
258  com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
259  if (desc.getType() != getDescriptor()) {
260  throw new java.lang.IllegalArgumentException(
261  "EnumValueDescriptor is not for this type.");
262  }
263  if (desc.getIndex() == -1) {
264  return UNRECOGNIZED;
265  }
266  return VALUES[desc.getIndex()];
267  }
268 
269  private final int value;
270 
271  private VariableSelectionStrategy(int value) {
272  this.value = value;
273  }
274 
275  // @@protoc_insertion_point(enum_scope:operations_research.sat.DecisionStrategyProto.VariableSelectionStrategy)
276  }
277 
288  implements com.google.protobuf.ProtocolMessageEnum {
310  ;
311 
315  public static final int SELECT_MIN_VALUE_VALUE = 0;
319  public static final int SELECT_MAX_VALUE_VALUE = 1;
323  public static final int SELECT_LOWER_HALF_VALUE = 2;
327  public static final int SELECT_UPPER_HALF_VALUE = 3;
331  public static final int SELECT_MEDIAN_VALUE_VALUE = 4;
332 
333 
334  public final int getNumber() {
335  if (this == UNRECOGNIZED) {
336  throw new java.lang.IllegalArgumentException(
337  "Can't get the number of an unknown enum value.");
338  }
339  return value;
340  }
341 
347  @java.lang.Deprecated
348  public static DomainReductionStrategy valueOf(int value) {
349  return forNumber(value);
350  }
351 
356  public static DomainReductionStrategy forNumber(int value) {
357  switch (value) {
358  case 0: return SELECT_MIN_VALUE;
359  case 1: return SELECT_MAX_VALUE;
360  case 2: return SELECT_LOWER_HALF;
361  case 3: return SELECT_UPPER_HALF;
362  case 4: return SELECT_MEDIAN_VALUE;
363  default: return null;
364  }
365  }
366 
367  public static com.google.protobuf.Internal.EnumLiteMap<DomainReductionStrategy>
369  return internalValueMap;
370  }
371  private static final com.google.protobuf.Internal.EnumLiteMap<
372  DomainReductionStrategy> internalValueMap =
373  new com.google.protobuf.Internal.EnumLiteMap<DomainReductionStrategy>() {
374  public DomainReductionStrategy findValueByNumber(int number) {
375  return DomainReductionStrategy.forNumber(number);
376  }
377  };
378 
379  public final com.google.protobuf.Descriptors.EnumValueDescriptor
381  return getDescriptor().getValues().get(ordinal());
382  }
383  public final com.google.protobuf.Descriptors.EnumDescriptor
385  return getDescriptor();
386  }
387  public static final com.google.protobuf.Descriptors.EnumDescriptor
389  return com.google.ortools.sat.DecisionStrategyProto.getDescriptor().getEnumTypes().get(1);
390  }
391 
392  private static final DomainReductionStrategy[] VALUES = values();
393 
395  com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
396  if (desc.getType() != getDescriptor()) {
397  throw new java.lang.IllegalArgumentException(
398  "EnumValueDescriptor is not for this type.");
399  }
400  if (desc.getIndex() == -1) {
401  return UNRECOGNIZED;
402  }
403  return VALUES[desc.getIndex()];
404  }
405 
406  private final int value;
407 
408  private DomainReductionStrategy(int value) {
409  this.value = value;
410  }
411 
412  // @@protoc_insertion_point(enum_scope:operations_research.sat.DecisionStrategyProto.DomainReductionStrategy)
413  }
414 
415  public interface AffineTransformationOrBuilder extends
416  // @@protoc_insertion_point(interface_extends:operations_research.sat.DecisionStrategyProto.AffineTransformation)
417  com.google.protobuf.MessageOrBuilder {
418 
423  int getVar();
424 
429  long getOffset();
430 
435  long getPositiveCoeff();
436  }
447  public static final class AffineTransformation extends
448  com.google.protobuf.GeneratedMessageV3 implements
449  // @@protoc_insertion_point(message_implements:operations_research.sat.DecisionStrategyProto.AffineTransformation)
451  private static final long serialVersionUID = 0L;
452  // Use AffineTransformation.newBuilder() to construct.
453  private AffineTransformation(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
454  super(builder);
455  }
456  private AffineTransformation() {
457  }
458 
459  @java.lang.Override
460  @SuppressWarnings({"unused"})
461  protected java.lang.Object newInstance(
462  UnusedPrivateParameter unused) {
463  return new AffineTransformation();
464  }
465 
466  @java.lang.Override
467  public final com.google.protobuf.UnknownFieldSet
469  return this.unknownFields;
470  }
471  private AffineTransformation(
472  com.google.protobuf.CodedInputStream input,
473  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
474  throws com.google.protobuf.InvalidProtocolBufferException {
475  this();
476  if (extensionRegistry == null) {
477  throw new java.lang.NullPointerException();
478  }
479  com.google.protobuf.UnknownFieldSet.Builder unknownFields =
480  com.google.protobuf.UnknownFieldSet.newBuilder();
481  try {
482  boolean done = false;
483  while (!done) {
484  int tag = input.readTag();
485  switch (tag) {
486  case 0:
487  done = true;
488  break;
489  case 8: {
490 
491  var_ = input.readInt32();
492  break;
493  }
494  case 16: {
495 
496  offset_ = input.readInt64();
497  break;
498  }
499  case 24: {
500 
501  positiveCoeff_ = input.readInt64();
502  break;
503  }
504  default: {
505  if (!parseUnknownField(
506  input, unknownFields, extensionRegistry, tag)) {
507  done = true;
508  }
509  break;
510  }
511  }
512  }
513  } catch (com.google.protobuf.InvalidProtocolBufferException e) {
514  throw e.setUnfinishedMessage(this);
515  } catch (java.io.IOException e) {
516  throw new com.google.protobuf.InvalidProtocolBufferException(
517  e).setUnfinishedMessage(this);
518  } finally {
519  this.unknownFields = unknownFields.build();
520  makeExtensionsImmutable();
521  }
522  }
523  public static final com.google.protobuf.Descriptors.Descriptor
525  return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_AffineTransformation_descriptor;
526  }
527 
528  @java.lang.Override
529  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
531  return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_AffineTransformation_fieldAccessorTable
532  .ensureFieldAccessorsInitialized(
534  }
535 
536  public static final int VAR_FIELD_NUMBER = 1;
537  private int var_;
542  public int getVar() {
543  return var_;
544  }
545 
546  public static final int OFFSET_FIELD_NUMBER = 2;
547  private long offset_;
552  public long getOffset() {
553  return offset_;
554  }
555 
556  public static final int POSITIVE_COEFF_FIELD_NUMBER = 3;
557  private long positiveCoeff_;
562  public long getPositiveCoeff() {
563  return positiveCoeff_;
564  }
565 
566  private byte memoizedIsInitialized = -1;
567  @java.lang.Override
568  public final boolean isInitialized() {
569  byte isInitialized = memoizedIsInitialized;
570  if (isInitialized == 1) return true;
571  if (isInitialized == 0) return false;
572 
573  memoizedIsInitialized = 1;
574  return true;
575  }
576 
577  @java.lang.Override
578  public void writeTo(com.google.protobuf.CodedOutputStream output)
579  throws java.io.IOException {
580  if (var_ != 0) {
581  output.writeInt32(1, var_);
582  }
583  if (offset_ != 0L) {
584  output.writeInt64(2, offset_);
585  }
586  if (positiveCoeff_ != 0L) {
587  output.writeInt64(3, positiveCoeff_);
588  }
589  unknownFields.writeTo(output);
590  }
591 
592  @java.lang.Override
593  public int getSerializedSize() {
594  int size = memoizedSize;
595  if (size != -1) return size;
596 
597  size = 0;
598  if (var_ != 0) {
599  size += com.google.protobuf.CodedOutputStream
600  .computeInt32Size(1, var_);
601  }
602  if (offset_ != 0L) {
603  size += com.google.protobuf.CodedOutputStream
604  .computeInt64Size(2, offset_);
605  }
606  if (positiveCoeff_ != 0L) {
607  size += com.google.protobuf.CodedOutputStream
608  .computeInt64Size(3, positiveCoeff_);
609  }
610  size += unknownFields.getSerializedSize();
611  memoizedSize = size;
612  return size;
613  }
614 
615  @java.lang.Override
616  public boolean equals(final java.lang.Object obj) {
617  if (obj == this) {
618  return true;
619  }
621  return super.equals(obj);
622  }
624 
625  if (getVar()
626  != other.getVar()) return false;
627  if (getOffset()
628  != other.getOffset()) return false;
629  if (getPositiveCoeff()
630  != other.getPositiveCoeff()) return false;
631  if (!unknownFields.equals(other.unknownFields)) return false;
632  return true;
633  }
634 
635  @java.lang.Override
636  public int hashCode() {
637  if (memoizedHashCode != 0) {
638  return memoizedHashCode;
639  }
640  int hash = 41;
641  hash = (19 * hash) + getDescriptor().hashCode();
642  hash = (37 * hash) + VAR_FIELD_NUMBER;
643  hash = (53 * hash) + getVar();
644  hash = (37 * hash) + OFFSET_FIELD_NUMBER;
645  hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
646  getOffset());
647  hash = (37 * hash) + POSITIVE_COEFF_FIELD_NUMBER;
648  hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
649  getPositiveCoeff());
650  hash = (29 * hash) + unknownFields.hashCode();
651  memoizedHashCode = hash;
652  return hash;
653  }
654 
656  java.nio.ByteBuffer data)
657  throws com.google.protobuf.InvalidProtocolBufferException {
658  return PARSER.parseFrom(data);
659  }
661  java.nio.ByteBuffer data,
662  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
663  throws com.google.protobuf.InvalidProtocolBufferException {
664  return PARSER.parseFrom(data, extensionRegistry);
665  }
667  com.google.protobuf.ByteString data)
668  throws com.google.protobuf.InvalidProtocolBufferException {
669  return PARSER.parseFrom(data);
670  }
672  com.google.protobuf.ByteString data,
673  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
674  throws com.google.protobuf.InvalidProtocolBufferException {
675  return PARSER.parseFrom(data, extensionRegistry);
676  }
678  throws com.google.protobuf.InvalidProtocolBufferException {
679  return PARSER.parseFrom(data);
680  }
682  byte[] data,
683  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
684  throws com.google.protobuf.InvalidProtocolBufferException {
685  return PARSER.parseFrom(data, extensionRegistry);
686  }
687  public static com.google.ortools.sat.DecisionStrategyProto.AffineTransformation parseFrom(java.io.InputStream input)
688  throws java.io.IOException {
689  return com.google.protobuf.GeneratedMessageV3
690  .parseWithIOException(PARSER, input);
691  }
693  java.io.InputStream input,
694  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
695  throws java.io.IOException {
696  return com.google.protobuf.GeneratedMessageV3
697  .parseWithIOException(PARSER, input, extensionRegistry);
698  }
700  throws java.io.IOException {
701  return com.google.protobuf.GeneratedMessageV3
702  .parseDelimitedWithIOException(PARSER, input);
703  }
705  java.io.InputStream input,
706  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
707  throws java.io.IOException {
708  return com.google.protobuf.GeneratedMessageV3
709  .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
710  }
712  com.google.protobuf.CodedInputStream input)
713  throws java.io.IOException {
714  return com.google.protobuf.GeneratedMessageV3
715  .parseWithIOException(PARSER, input);
716  }
718  com.google.protobuf.CodedInputStream input,
719  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
720  throws java.io.IOException {
721  return com.google.protobuf.GeneratedMessageV3
722  .parseWithIOException(PARSER, input, extensionRegistry);
723  }
724 
725  @java.lang.Override
726  public Builder newBuilderForType() { return newBuilder(); }
727  public static Builder newBuilder() {
728  return DEFAULT_INSTANCE.toBuilder();
729  }
731  return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
732  }
733  @java.lang.Override
734  public Builder toBuilder() {
735  return this == DEFAULT_INSTANCE
736  ? new Builder() : new Builder().mergeFrom(this);
737  }
738 
739  @java.lang.Override
741  com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
742  Builder builder = new Builder(parent);
743  return builder;
744  }
755  public static final class Builder extends
756  com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
757  // @@protoc_insertion_point(builder_implements:operations_research.sat.DecisionStrategyProto.AffineTransformation)
759  public static final com.google.protobuf.Descriptors.Descriptor
761  return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_AffineTransformation_descriptor;
762  }
763 
764  @java.lang.Override
765  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
767  return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_AffineTransformation_fieldAccessorTable
768  .ensureFieldAccessorsInitialized(
770  }
771 
772  // Construct using com.google.ortools.sat.DecisionStrategyProto.AffineTransformation.newBuilder()
773  private Builder() {
774  maybeForceBuilderInitialization();
775  }
776 
777  private Builder(
778  com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
779  super(parent);
780  maybeForceBuilderInitialization();
781  }
782  private void maybeForceBuilderInitialization() {
783  if (com.google.protobuf.GeneratedMessageV3
784  .alwaysUseFieldBuilders) {
785  }
786  }
787  @java.lang.Override
788  public Builder clear() {
789  super.clear();
790  var_ = 0;
791 
792  offset_ = 0L;
793 
794  positiveCoeff_ = 0L;
795 
796  return this;
797  }
798 
799  @java.lang.Override
800  public com.google.protobuf.Descriptors.Descriptor
802  return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_AffineTransformation_descriptor;
803  }
804 
805  @java.lang.Override
808  }
809 
810  @java.lang.Override
813  if (!result.isInitialized()) {
814  throw newUninitializedMessageException(result);
815  }
816  return result;
817  }
818 
819  @java.lang.Override
822  result.var_ = var_;
823  result.offset_ = offset_;
824  result.positiveCoeff_ = positiveCoeff_;
825  onBuilt();
826  return result;
827  }
828 
829  @java.lang.Override
830  public Builder clone() {
831  return super.clone();
832  }
833  @java.lang.Override
835  com.google.protobuf.Descriptors.FieldDescriptor field,
836  java.lang.Object value) {
837  return super.setField(field, value);
838  }
839  @java.lang.Override
841  com.google.protobuf.Descriptors.FieldDescriptor field) {
842  return super.clearField(field);
843  }
844  @java.lang.Override
846  com.google.protobuf.Descriptors.OneofDescriptor oneof) {
847  return super.clearOneof(oneof);
848  }
849  @java.lang.Override
851  com.google.protobuf.Descriptors.FieldDescriptor field,
852  int index, java.lang.Object value) {
853  return super.setRepeatedField(field, index, value);
854  }
855  @java.lang.Override
857  com.google.protobuf.Descriptors.FieldDescriptor field,
858  java.lang.Object value) {
859  return super.addRepeatedField(field, value);
860  }
861  @java.lang.Override
862  public Builder mergeFrom(com.google.protobuf.Message other) {
865  } else {
866  super.mergeFrom(other);
867  return this;
868  }
869  }
870 
873  if (other.getVar() != 0) {
874  setVar(other.getVar());
875  }
876  if (other.getOffset() != 0L) {
877  setOffset(other.getOffset());
878  }
879  if (other.getPositiveCoeff() != 0L) {
880  setPositiveCoeff(other.getPositiveCoeff());
881  }
882  this.mergeUnknownFields(other.unknownFields);
883  onChanged();
884  return this;
885  }
886 
887  @java.lang.Override
888  public final boolean isInitialized() {
889  return true;
890  }
891 
892  @java.lang.Override
894  com.google.protobuf.CodedInputStream input,
895  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
896  throws java.io.IOException {
898  try {
899  parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
900  } catch (com.google.protobuf.InvalidProtocolBufferException e) {
901  parsedMessage = (com.google.ortools.sat.DecisionStrategyProto.AffineTransformation) e.getUnfinishedMessage();
902  throw e.unwrapIOException();
903  } finally {
904  if (parsedMessage != null) {
905  mergeFrom(parsedMessage);
906  }
907  }
908  return this;
909  }
910 
911  private int var_ ;
916  public int getVar() {
917  return var_;
918  }
924  public Builder setVar(int value) {
925 
926  var_ = value;
927  onChanged();
928  return this;
929  }
934  public Builder clearVar() {
935 
936  var_ = 0;
937  onChanged();
938  return this;
939  }
940 
941  private long offset_ ;
946  public long getOffset() {
947  return offset_;
948  }
954  public Builder setOffset(long value) {
955 
956  offset_ = value;
957  onChanged();
958  return this;
959  }
964  public Builder clearOffset() {
965 
966  offset_ = 0L;
967  onChanged();
968  return this;
969  }
970 
971  private long positiveCoeff_ ;
976  public long getPositiveCoeff() {
977  return positiveCoeff_;
978  }
984  public Builder setPositiveCoeff(long value) {
985 
986  positiveCoeff_ = value;
987  onChanged();
988  return this;
989  }
995 
996  positiveCoeff_ = 0L;
997  onChanged();
998  return this;
999  }
1000  @java.lang.Override
1002  final com.google.protobuf.UnknownFieldSet unknownFields) {
1003  return super.setUnknownFields(unknownFields);
1004  }
1005 
1006  @java.lang.Override
1008  final com.google.protobuf.UnknownFieldSet unknownFields) {
1009  return super.mergeUnknownFields(unknownFields);
1010  }
1011 
1012 
1013  // @@protoc_insertion_point(builder_scope:operations_research.sat.DecisionStrategyProto.AffineTransformation)
1014  }
1015 
1016  // @@protoc_insertion_point(class_scope:operations_research.sat.DecisionStrategyProto.AffineTransformation)
1017  private static final com.google.ortools.sat.DecisionStrategyProto.AffineTransformation DEFAULT_INSTANCE;
1018  static {
1020  }
1021 
1023  return DEFAULT_INSTANCE;
1024  }
1025 
1026  private static final com.google.protobuf.Parser<AffineTransformation>
1027  PARSER = new com.google.protobuf.AbstractParser<AffineTransformation>() {
1028  @java.lang.Override
1029  public AffineTransformation parsePartialFrom(
1030  com.google.protobuf.CodedInputStream input,
1031  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1032  throws com.google.protobuf.InvalidProtocolBufferException {
1033  return new AffineTransformation(input, extensionRegistry);
1034  }
1035  };
1036 
1037  public static com.google.protobuf.Parser<AffineTransformation> parser() {
1038  return PARSER;
1039  }
1040 
1041  @java.lang.Override
1042  public com.google.protobuf.Parser<AffineTransformation> getParserForType() {
1043  return PARSER;
1044  }
1045 
1046  @java.lang.Override
1048  return DEFAULT_INSTANCE;
1049  }
1050 
1051  }
1052 
1053  public static final int VARIABLES_FIELD_NUMBER = 1;
1054  private com.google.protobuf.Internal.IntList variables_;
1065  public java.util.List<java.lang.Integer>
1067  return variables_;
1068  }
1079  public int getVariablesCount() {
1080  return variables_.size();
1081  }
1093  public int getVariables(int index) {
1094  return variables_.getInt(index);
1095  }
1096  private int variablesMemoizedSerializedSize = -1;
1097 
1098  public static final int VARIABLE_SELECTION_STRATEGY_FIELD_NUMBER = 2;
1099  private int variableSelectionStrategy_;
1105  return variableSelectionStrategy_;
1106  }
1112  @SuppressWarnings("deprecation")
1115  }
1116 
1117  public static final int DOMAIN_REDUCTION_STRATEGY_FIELD_NUMBER = 3;
1118  private int domainReductionStrategy_;
1124  return domainReductionStrategy_;
1125  }
1131  @SuppressWarnings("deprecation")
1134  }
1135 
1136  public static final int TRANSFORMATIONS_FIELD_NUMBER = 4;
1137  private java.util.List<com.google.ortools.sat.DecisionStrategyProto.AffineTransformation> transformations_;
1142  return transformations_;
1143  }
1147  public java.util.List<? extends com.google.ortools.sat.DecisionStrategyProto.AffineTransformationOrBuilder>
1149  return transformations_;
1150  }
1155  return transformations_.size();
1156  }
1161  return transformations_.get(index);
1162  }
1167  int index) {
1168  return transformations_.get(index);
1169  }
1170 
1171  private byte memoizedIsInitialized = -1;
1172  @java.lang.Override
1173  public final boolean isInitialized() {
1174  byte isInitialized = memoizedIsInitialized;
1175  if (isInitialized == 1) return true;
1176  if (isInitialized == 0) return false;
1177 
1178  memoizedIsInitialized = 1;
1179  return true;
1180  }
1181 
1182  @java.lang.Override
1183  public void writeTo(com.google.protobuf.CodedOutputStream output)
1184  throws java.io.IOException {
1186  if (getVariablesList().size() > 0) {
1187  output.writeUInt32NoTag(10);
1188  output.writeUInt32NoTag(variablesMemoizedSerializedSize);
1189  }
1190  for (int i = 0; i < variables_.size(); i++) {
1191  output.writeInt32NoTag(variables_.getInt(i));
1192  }
1193  if (variableSelectionStrategy_ != com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.CHOOSE_FIRST.getNumber()) {
1194  output.writeEnum(2, variableSelectionStrategy_);
1195  }
1196  if (domainReductionStrategy_ != com.google.ortools.sat.DecisionStrategyProto.DomainReductionStrategy.SELECT_MIN_VALUE.getNumber()) {
1197  output.writeEnum(3, domainReductionStrategy_);
1198  }
1199  for (int i = 0; i < transformations_.size(); i++) {
1200  output.writeMessage(4, transformations_.get(i));
1201  }
1202  unknownFields.writeTo(output);
1203  }
1204 
1205  @java.lang.Override
1206  public int getSerializedSize() {
1207  int size = memoizedSize;
1208  if (size != -1) return size;
1209 
1210  size = 0;
1211  {
1212  int dataSize = 0;
1213  for (int i = 0; i < variables_.size(); i++) {
1214  dataSize += com.google.protobuf.CodedOutputStream
1215  .computeInt32SizeNoTag(variables_.getInt(i));
1216  }
1217  size += dataSize;
1218  if (!getVariablesList().isEmpty()) {
1219  size += 1;
1220  size += com.google.protobuf.CodedOutputStream
1221  .computeInt32SizeNoTag(dataSize);
1222  }
1223  variablesMemoizedSerializedSize = dataSize;
1224  }
1225  if (variableSelectionStrategy_ != com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy.CHOOSE_FIRST.getNumber()) {
1226  size += com.google.protobuf.CodedOutputStream
1227  .computeEnumSize(2, variableSelectionStrategy_);
1228  }
1229  if (domainReductionStrategy_ != com.google.ortools.sat.DecisionStrategyProto.DomainReductionStrategy.SELECT_MIN_VALUE.getNumber()) {
1230  size += com.google.protobuf.CodedOutputStream
1231  .computeEnumSize(3, domainReductionStrategy_);
1232  }
1233  for (int i = 0; i < transformations_.size(); i++) {
1234  size += com.google.protobuf.CodedOutputStream
1235  .computeMessageSize(4, transformations_.get(i));
1236  }
1237  size += unknownFields.getSerializedSize();
1238  memoizedSize = size;
1239  return size;
1240  }
1241 
1242  @java.lang.Override
1243  public boolean equals(final java.lang.Object obj) {
1244  if (obj == this) {
1245  return true;
1246  }
1247  if (!(obj instanceof com.google.ortools.sat.DecisionStrategyProto)) {
1248  return super.equals(obj);
1249  }
1251 
1252  if (!getVariablesList()
1253  .equals(other.getVariablesList())) return false;
1254  if (variableSelectionStrategy_ != other.variableSelectionStrategy_) return false;
1255  if (domainReductionStrategy_ != other.domainReductionStrategy_) return false;
1256  if (!getTransformationsList()
1257  .equals(other.getTransformationsList())) return false;
1258  if (!unknownFields.equals(other.unknownFields)) return false;
1259  return true;
1260  }
1261 
1262  @java.lang.Override
1263  public int hashCode() {
1264  if (memoizedHashCode != 0) {
1265  return memoizedHashCode;
1266  }
1267  int hash = 41;
1268  hash = (19 * hash) + getDescriptor().hashCode();
1269  if (getVariablesCount() > 0) {
1270  hash = (37 * hash) + VARIABLES_FIELD_NUMBER;
1271  hash = (53 * hash) + getVariablesList().hashCode();
1272  }
1273  hash = (37 * hash) + VARIABLE_SELECTION_STRATEGY_FIELD_NUMBER;
1274  hash = (53 * hash) + variableSelectionStrategy_;
1275  hash = (37 * hash) + DOMAIN_REDUCTION_STRATEGY_FIELD_NUMBER;
1276  hash = (53 * hash) + domainReductionStrategy_;
1277  if (getTransformationsCount() > 0) {
1278  hash = (37 * hash) + TRANSFORMATIONS_FIELD_NUMBER;
1279  hash = (53 * hash) + getTransformationsList().hashCode();
1280  }
1281  hash = (29 * hash) + unknownFields.hashCode();
1282  memoizedHashCode = hash;
1283  return hash;
1284  }
1285 
1287  java.nio.ByteBuffer data)
1288  throws com.google.protobuf.InvalidProtocolBufferException {
1289  return PARSER.parseFrom(data);
1290  }
1292  java.nio.ByteBuffer data,
1293  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1294  throws com.google.protobuf.InvalidProtocolBufferException {
1295  return PARSER.parseFrom(data, extensionRegistry);
1296  }
1298  com.google.protobuf.ByteString data)
1299  throws com.google.protobuf.InvalidProtocolBufferException {
1300  return PARSER.parseFrom(data);
1301  }
1303  com.google.protobuf.ByteString data,
1304  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1305  throws com.google.protobuf.InvalidProtocolBufferException {
1306  return PARSER.parseFrom(data, extensionRegistry);
1307  }
1309  throws com.google.protobuf.InvalidProtocolBufferException {
1310  return PARSER.parseFrom(data);
1311  }
1313  byte[] data,
1314  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1315  throws com.google.protobuf.InvalidProtocolBufferException {
1316  return PARSER.parseFrom(data, extensionRegistry);
1317  }
1318  public static com.google.ortools.sat.DecisionStrategyProto parseFrom(java.io.InputStream input)
1319  throws java.io.IOException {
1320  return com.google.protobuf.GeneratedMessageV3
1321  .parseWithIOException(PARSER, input);
1322  }
1324  java.io.InputStream input,
1325  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1326  throws java.io.IOException {
1327  return com.google.protobuf.GeneratedMessageV3
1328  .parseWithIOException(PARSER, input, extensionRegistry);
1329  }
1330  public static com.google.ortools.sat.DecisionStrategyProto parseDelimitedFrom(java.io.InputStream input)
1331  throws java.io.IOException {
1332  return com.google.protobuf.GeneratedMessageV3
1333  .parseDelimitedWithIOException(PARSER, input);
1334  }
1336  java.io.InputStream input,
1337  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1338  throws java.io.IOException {
1339  return com.google.protobuf.GeneratedMessageV3
1340  .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
1341  }
1343  com.google.protobuf.CodedInputStream input)
1344  throws java.io.IOException {
1345  return com.google.protobuf.GeneratedMessageV3
1346  .parseWithIOException(PARSER, input);
1347  }
1349  com.google.protobuf.CodedInputStream input,
1350  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1351  throws java.io.IOException {
1352  return com.google.protobuf.GeneratedMessageV3
1353  .parseWithIOException(PARSER, input, extensionRegistry);
1354  }
1355 
1356  @java.lang.Override
1357  public Builder newBuilderForType() { return newBuilder(); }
1358  public static Builder newBuilder() {
1359  return DEFAULT_INSTANCE.toBuilder();
1360  }
1362  return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
1363  }
1364  @java.lang.Override
1365  public Builder toBuilder() {
1366  return this == DEFAULT_INSTANCE
1367  ? new Builder() : new Builder().mergeFrom(this);
1368  }
1369 
1370  @java.lang.Override
1372  com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1373  Builder builder = new Builder(parent);
1374  return builder;
1375  }
1384  public static final class Builder extends
1385  com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
1386  // @@protoc_insertion_point(builder_implements:operations_research.sat.DecisionStrategyProto)
1387  com.google.ortools.sat.DecisionStrategyProtoOrBuilder {
1388  public static final com.google.protobuf.Descriptors.Descriptor
1390  return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_descriptor;
1391  }
1392 
1393  @java.lang.Override
1394  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
1396  return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_fieldAccessorTable
1397  .ensureFieldAccessorsInitialized(
1399  }
1400 
1401  // Construct using com.google.ortools.sat.DecisionStrategyProto.newBuilder()
1402  private Builder() {
1403  maybeForceBuilderInitialization();
1404  }
1405 
1406  private Builder(
1407  com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1408  super(parent);
1409  maybeForceBuilderInitialization();
1410  }
1411  private void maybeForceBuilderInitialization() {
1412  if (com.google.protobuf.GeneratedMessageV3
1413  .alwaysUseFieldBuilders) {
1414  getTransformationsFieldBuilder();
1415  }
1416  }
1417  @java.lang.Override
1418  public Builder clear() {
1419  super.clear();
1420  variables_ = emptyIntList();
1421  bitField0_ = (bitField0_ & ~0x00000001);
1422  variableSelectionStrategy_ = 0;
1423 
1424  domainReductionStrategy_ = 0;
1425 
1426  if (transformationsBuilder_ == null) {
1427  transformations_ = java.util.Collections.emptyList();
1428  bitField0_ = (bitField0_ & ~0x00000002);
1429  } else {
1430  transformationsBuilder_.clear();
1431  }
1432  return this;
1433  }
1434 
1435  @java.lang.Override
1436  public com.google.protobuf.Descriptors.Descriptor
1438  return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_DecisionStrategyProto_descriptor;
1439  }
1440 
1441  @java.lang.Override
1444  }
1445 
1446  @java.lang.Override
1449  if (!result.isInitialized()) {
1450  throw newUninitializedMessageException(result);
1451  }
1452  return result;
1453  }
1454 
1455  @java.lang.Override
1458  int from_bitField0_ = bitField0_;
1459  if (((bitField0_ & 0x00000001) != 0)) {
1460  variables_.makeImmutable();
1461  bitField0_ = (bitField0_ & ~0x00000001);
1462  }
1463  result.variables_ = variables_;
1464  result.variableSelectionStrategy_ = variableSelectionStrategy_;
1465  result.domainReductionStrategy_ = domainReductionStrategy_;
1466  if (transformationsBuilder_ == null) {
1467  if (((bitField0_ & 0x00000002) != 0)) {
1468  transformations_ = java.util.Collections.unmodifiableList(transformations_);
1469  bitField0_ = (bitField0_ & ~0x00000002);
1470  }
1471  result.transformations_ = transformations_;
1472  } else {
1473  result.transformations_ = transformationsBuilder_.build();
1474  }
1475  onBuilt();
1476  return result;
1477  }
1478 
1479  @java.lang.Override
1480  public Builder clone() {
1481  return super.clone();
1482  }
1483  @java.lang.Override
1485  com.google.protobuf.Descriptors.FieldDescriptor field,
1486  java.lang.Object value) {
1487  return super.setField(field, value);
1488  }
1489  @java.lang.Override
1491  com.google.protobuf.Descriptors.FieldDescriptor field) {
1492  return super.clearField(field);
1493  }
1494  @java.lang.Override
1496  com.google.protobuf.Descriptors.OneofDescriptor oneof) {
1497  return super.clearOneof(oneof);
1498  }
1499  @java.lang.Override
1501  com.google.protobuf.Descriptors.FieldDescriptor field,
1502  int index, java.lang.Object value) {
1503  return super.setRepeatedField(field, index, value);
1504  }
1505  @java.lang.Override
1507  com.google.protobuf.Descriptors.FieldDescriptor field,
1508  java.lang.Object value) {
1509  return super.addRepeatedField(field, value);
1510  }
1511  @java.lang.Override
1512  public Builder mergeFrom(com.google.protobuf.Message other) {
1513  if (other instanceof com.google.ortools.sat.DecisionStrategyProto) {
1515  } else {
1516  super.mergeFrom(other);
1517  return this;
1518  }
1519  }
1520 
1522  if (other == com.google.ortools.sat.DecisionStrategyProto.getDefaultInstance()) return this;
1523  if (!other.variables_.isEmpty()) {
1524  if (variables_.isEmpty()) {
1525  variables_ = other.variables_;
1526  bitField0_ = (bitField0_ & ~0x00000001);
1527  } else {
1528  ensureVariablesIsMutable();
1529  variables_.addAll(other.variables_);
1530  }
1531  onChanged();
1532  }
1533  if (other.variableSelectionStrategy_ != 0) {
1534  setVariableSelectionStrategyValue(other.getVariableSelectionStrategyValue());
1535  }
1536  if (other.domainReductionStrategy_ != 0) {
1537  setDomainReductionStrategyValue(other.getDomainReductionStrategyValue());
1538  }
1539  if (transformationsBuilder_ == null) {
1540  if (!other.transformations_.isEmpty()) {
1541  if (transformations_.isEmpty()) {
1542  transformations_ = other.transformations_;
1543  bitField0_ = (bitField0_ & ~0x00000002);
1544  } else {
1545  ensureTransformationsIsMutable();
1546  transformations_.addAll(other.transformations_);
1547  }
1548  onChanged();
1549  }
1550  } else {
1551  if (!other.transformations_.isEmpty()) {
1552  if (transformationsBuilder_.isEmpty()) {
1553  transformationsBuilder_.dispose();
1554  transformationsBuilder_ = null;
1555  transformations_ = other.transformations_;
1556  bitField0_ = (bitField0_ & ~0x00000002);
1557  transformationsBuilder_ =
1558  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
1559  getTransformationsFieldBuilder() : null;
1560  } else {
1561  transformationsBuilder_.addAllMessages(other.transformations_);
1562  }
1563  }
1564  }
1565  this.mergeUnknownFields(other.unknownFields);
1566  onChanged();
1567  return this;
1568  }
1569 
1570  @java.lang.Override
1571  public final boolean isInitialized() {
1572  return true;
1573  }
1574 
1575  @java.lang.Override
1577  com.google.protobuf.CodedInputStream input,
1578  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1579  throws java.io.IOException {
1580  com.google.ortools.sat.DecisionStrategyProto parsedMessage = null;
1581  try {
1582  parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1583  } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1584  parsedMessage = (com.google.ortools.sat.DecisionStrategyProto) e.getUnfinishedMessage();
1585  throw e.unwrapIOException();
1586  } finally {
1587  if (parsedMessage != null) {
1588  mergeFrom(parsedMessage);
1589  }
1590  }
1591  return this;
1592  }
1593  private int bitField0_;
1594 
1595  private com.google.protobuf.Internal.IntList variables_ = emptyIntList();
1596  private void ensureVariablesIsMutable() {
1597  if (!((bitField0_ & 0x00000001) != 0)) {
1598  variables_ = mutableCopy(variables_);
1599  bitField0_ |= 0x00000001;
1600  }
1601  }
1612  public java.util.List<java.lang.Integer>
1614  return ((bitField0_ & 0x00000001) != 0) ?
1615  java.util.Collections.unmodifiableList(variables_) : variables_;
1616  }
1627  public int getVariablesCount() {
1628  return variables_.size();
1629  }
1641  public int getVariables(int index) {
1642  return variables_.getInt(index);
1643  }
1657  int index, int value) {
1658  ensureVariablesIsMutable();
1659  variables_.setInt(index, value);
1660  onChanged();
1661  return this;
1662  }
1674  public Builder addVariables(int value) {
1675  ensureVariablesIsMutable();
1676  variables_.addInt(value);
1677  onChanged();
1678  return this;
1679  }
1692  java.lang.Iterable<? extends java.lang.Integer> values) {
1693  ensureVariablesIsMutable();
1694  com.google.protobuf.AbstractMessageLite.Builder.addAll(
1695  values, variables_);
1696  onChanged();
1697  return this;
1698  }
1710  variables_ = emptyIntList();
1711  bitField0_ = (bitField0_ & ~0x00000001);
1712  onChanged();
1713  return this;
1714  }
1715 
1716  private int variableSelectionStrategy_ = 0;
1722  return variableSelectionStrategy_;
1723  }
1730  variableSelectionStrategy_ = value;
1731  onChanged();
1732  return this;
1733  }
1739  @SuppressWarnings("deprecation")
1742  }
1749  if (value == null) {
1750  throw new NullPointerException();
1751  }
1752 
1753  variableSelectionStrategy_ = value.getNumber();
1754  onChanged();
1755  return this;
1756  }
1762 
1763  variableSelectionStrategy_ = 0;
1764  onChanged();
1765  return this;
1766  }
1767 
1768  private int domainReductionStrategy_ = 0;
1774  return domainReductionStrategy_;
1775  }
1782  domainReductionStrategy_ = value;
1783  onChanged();
1784  return this;
1785  }
1791  @SuppressWarnings("deprecation")
1794  }
1801  if (value == null) {
1802  throw new NullPointerException();
1803  }
1804 
1805  domainReductionStrategy_ = value.getNumber();
1806  onChanged();
1807  return this;
1808  }
1814 
1815  domainReductionStrategy_ = 0;
1816  onChanged();
1817  return this;
1818  }
1819 
1820  private java.util.List<com.google.ortools.sat.DecisionStrategyProto.AffineTransformation> transformations_ =
1821  java.util.Collections.emptyList();
1822  private void ensureTransformationsIsMutable() {
1823  if (!((bitField0_ & 0x00000002) != 0)) {
1824  transformations_ = new java.util.ArrayList<com.google.ortools.sat.DecisionStrategyProto.AffineTransformation>(transformations_);
1825  bitField0_ |= 0x00000002;
1826  }
1827  }
1828 
1829  private com.google.protobuf.RepeatedFieldBuilderV3<
1831 
1836  if (transformationsBuilder_ == null) {
1837  return java.util.Collections.unmodifiableList(transformations_);
1838  } else {
1839  return transformationsBuilder_.getMessageList();
1840  }
1841  }
1846  if (transformationsBuilder_ == null) {
1847  return transformations_.size();
1848  } else {
1849  return transformationsBuilder_.getCount();
1850  }
1851  }
1856  if (transformationsBuilder_ == null) {
1857  return transformations_.get(index);
1858  } else {
1859  return transformationsBuilder_.getMessage(index);
1860  }
1861  }
1867  if (transformationsBuilder_ == null) {
1868  if (value == null) {
1869  throw new NullPointerException();
1870  }
1871  ensureTransformationsIsMutable();
1872  transformations_.set(index, value);
1873  onChanged();
1874  } else {
1875  transformationsBuilder_.setMessage(index, value);
1876  }
1877  return this;
1878  }
1884  if (transformationsBuilder_ == null) {
1885  ensureTransformationsIsMutable();
1886  transformations_.set(index, builderForValue.build());
1887  onChanged();
1888  } else {
1889  transformationsBuilder_.setMessage(index, builderForValue.build());
1890  }
1891  return this;
1892  }
1897  if (transformationsBuilder_ == null) {
1898  if (value == null) {
1899  throw new NullPointerException();
1900  }
1901  ensureTransformationsIsMutable();
1902  transformations_.add(value);
1903  onChanged();
1904  } else {
1905  transformationsBuilder_.addMessage(value);
1906  }
1907  return this;
1908  }
1914  if (transformationsBuilder_ == null) {
1915  if (value == null) {
1916  throw new NullPointerException();
1917  }
1918  ensureTransformationsIsMutable();
1919  transformations_.add(index, value);
1920  onChanged();
1921  } else {
1922  transformationsBuilder_.addMessage(index, value);
1923  }
1924  return this;
1925  }
1931  if (transformationsBuilder_ == null) {
1932  ensureTransformationsIsMutable();
1933  transformations_.add(builderForValue.build());
1934  onChanged();
1935  } else {
1936  transformationsBuilder_.addMessage(builderForValue.build());
1937  }
1938  return this;
1939  }
1945  if (transformationsBuilder_ == null) {
1946  ensureTransformationsIsMutable();
1947  transformations_.add(index, builderForValue.build());
1948  onChanged();
1949  } else {
1950  transformationsBuilder_.addMessage(index, builderForValue.build());
1951  }
1952  return this;
1953  }
1958  java.lang.Iterable<? extends com.google.ortools.sat.DecisionStrategyProto.AffineTransformation> values) {
1959  if (transformationsBuilder_ == null) {
1960  ensureTransformationsIsMutable();
1961  com.google.protobuf.AbstractMessageLite.Builder.addAll(
1962  values, transformations_);
1963  onChanged();
1964  } else {
1965  transformationsBuilder_.addAllMessages(values);
1966  }
1967  return this;
1968  }
1973  if (transformationsBuilder_ == null) {
1974  transformations_ = java.util.Collections.emptyList();
1975  bitField0_ = (bitField0_ & ~0x00000002);
1976  onChanged();
1977  } else {
1978  transformationsBuilder_.clear();
1979  }
1980  return this;
1981  }
1985  public Builder removeTransformations(int index) {
1986  if (transformationsBuilder_ == null) {
1987  ensureTransformationsIsMutable();
1988  transformations_.remove(index);
1989  onChanged();
1990  } else {
1991  transformationsBuilder_.remove(index);
1992  }
1993  return this;
1994  }
1999  int index) {
2000  return getTransformationsFieldBuilder().getBuilder(index);
2001  }
2006  int index) {
2007  if (transformationsBuilder_ == null) {
2008  return transformations_.get(index); } else {
2009  return transformationsBuilder_.getMessageOrBuilder(index);
2010  }
2011  }
2015  public java.util.List<? extends com.google.ortools.sat.DecisionStrategyProto.AffineTransformationOrBuilder>
2017  if (transformationsBuilder_ != null) {
2018  return transformationsBuilder_.getMessageOrBuilderList();
2019  } else {
2020  return java.util.Collections.unmodifiableList(transformations_);
2021  }
2022  }
2027  return getTransformationsFieldBuilder().addBuilder(
2029  }
2034  int index) {
2035  return getTransformationsFieldBuilder().addBuilder(
2037  }
2043  return getTransformationsFieldBuilder().getBuilderList();
2044  }
2045  private com.google.protobuf.RepeatedFieldBuilderV3<
2047  getTransformationsFieldBuilder() {
2048  if (transformationsBuilder_ == null) {
2049  transformationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
2051  transformations_,
2052  ((bitField0_ & 0x00000002) != 0),
2053  getParentForChildren(),
2054  isClean());
2055  transformations_ = null;
2056  }
2057  return transformationsBuilder_;
2058  }
2059  @java.lang.Override
2061  final com.google.protobuf.UnknownFieldSet unknownFields) {
2062  return super.setUnknownFields(unknownFields);
2063  }
2064 
2065  @java.lang.Override
2067  final com.google.protobuf.UnknownFieldSet unknownFields) {
2068  return super.mergeUnknownFields(unknownFields);
2069  }
2070 
2071 
2072  // @@protoc_insertion_point(builder_scope:operations_research.sat.DecisionStrategyProto)
2073  }
2074 
2075  // @@protoc_insertion_point(class_scope:operations_research.sat.DecisionStrategyProto)
2076  private static final com.google.ortools.sat.DecisionStrategyProto DEFAULT_INSTANCE;
2077  static {
2078  DEFAULT_INSTANCE = new com.google.ortools.sat.DecisionStrategyProto();
2079  }
2080 
2082  return DEFAULT_INSTANCE;
2083  }
2084 
2085  private static final com.google.protobuf.Parser<DecisionStrategyProto>
2086  PARSER = new com.google.protobuf.AbstractParser<DecisionStrategyProto>() {
2087  @java.lang.Override
2088  public DecisionStrategyProto parsePartialFrom(
2089  com.google.protobuf.CodedInputStream input,
2090  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2091  throws com.google.protobuf.InvalidProtocolBufferException {
2092  return new DecisionStrategyProto(input, extensionRegistry);
2093  }
2094  };
2095 
2096  public static com.google.protobuf.Parser<DecisionStrategyProto> parser() {
2097  return PARSER;
2098  }
2099 
2100  @java.lang.Override
2101  public com.google.protobuf.Parser<DecisionStrategyProto> getParserForType() {
2102  return PARSER;
2103  }
2104 
2105  @java.lang.Override
2107  return DEFAULT_INSTANCE;
2108  }
2109 
2110 }
2111 
.lang.Override Builder mergeFrom(com.google.protobuf.Message other)
.lang.Override Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
.lang.Override com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
.lang.Override Builder newBuilderForType()
int getDomainReductionStrategyValue()
.operations_research.sat.DecisionStrategyProto.DomainReductionStrategy domain_reduction_strategy = 3;
Builder mergeFrom(com.google.ortools.sat.DecisionStrategyProto other)
.lang.Override Builder newBuilderForType()
static com.google.ortools.sat.DecisionStrategyProto.AffineTransformation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Builder addTransformations(com.google.ortools.sat.DecisionStrategyProto.AffineTransformation.Builder builderForValue)
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
.lang.Override Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
.lang.Override Builder toBuilder()
CHOOSE_LOWEST_MIN
CHOOSE_LOWEST_MIN = 1;
int getVariables(int index)
java.util.List<? extends com.google.ortools.sat.DecisionStrategyProto.AffineTransformationOrBuilder > getTransformationsOrBuilderList()
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
.lang.Override Builder mergeFrom(com.google.protobuf.Message other)
com.google.ortools.sat.DecisionStrategyProto.AffineTransformationOrBuilder getTransformationsOrBuilder(int index)
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
CHOOSE_MAX_DOMAIN_SIZE
CHOOSE_MAX_DOMAIN_SIZE = 4;
int getVariablesCount()
int getVariablesCount()
static com.google.ortools.sat.DecisionStrategyProto parseFrom(java.io.InputStream input)
SELECT_UPPER_HALF
SELECT_UPPER_HALF = 3;
.lang.Override int hashCode()
static final int VAR_FIELD_NUMBER
static com.google.ortools.sat.DecisionStrategyProto.AffineTransformation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Builder clearDomainReductionStrategy()
.operations_research.sat.DecisionStrategyProto.DomainReductionStrategy domain_reduction_strategy = 3;
CHOOSE_HIGHEST_MAX
CHOOSE_HIGHEST_MAX = 2;
SELECT_LOWER_HALF
SELECT_LOWER_HALF = 2;
com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy getVariableSelectionStrategy()
.operations_research.sat.DecisionStrategyProto.VariableSelectionStrategy variable_selection_strategy ...
com.google.ortools.sat.DecisionStrategyProto.AffineTransformation getTransformations(int index)
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
.lang.Override void writeTo(com.google.protobuf.CodedOutputStream output)
.lang.Override Builder clone()
Builder setVariableSelectionStrategy(com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy value)
.operations_research.sat.DecisionStrategyProto.VariableSelectionStrategy variable_selection_strategy ...
.lang.Override Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
.lang.Override final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
.lang.Override com.google.protobuf.Parser< DecisionStrategyProto > getParserForType()
static com.google.ortools.sat.DecisionStrategyProto parseDelimitedFrom(java.io.InputStream input)
static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
.lang.Override com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
static com.google.ortools.sat.DecisionStrategyProto.AffineTransformation parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
UNRECOGNIZED
.lang.Override Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
static com.google.ortools.sat.DecisionStrategyProto parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
.lang.Override void writeTo(com.google.protobuf.CodedOutputStream output)
static Builder newBuilder()
.lang.Override final boolean isInitialized()
static com.google.ortools.sat.DecisionStrategyProto.AffineTransformation parseFrom(java.io.InputStream input)
Builder setVar(int value)
int32 var = 1;
static com.google.ortools.sat.DecisionStrategyProto parseFrom(com.google.protobuf.CodedInputStream input)
int getTransformationsCount()
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
final int getNumber()
.lang.Override final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
.lang.Override Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Builder addAllTransformations(java.lang.Iterable<? extends com.google.ortools.sat.DecisionStrategyProto.AffineTransformation > values)
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
.lang.Override Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
static Builder newBuilder(com.google.ortools.sat.DecisionStrategyProto.AffineTransformation prototype)
com.google.ortools.sat.DecisionStrategyProto.AffineTransformation getTransformations(int index)
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
.lang.Override int getSerializedSize()
Builder setPositiveCoeff(long value)
int64 positive_coeff = 3;
static Builder newBuilder(com.google.ortools.sat.DecisionStrategyProto prototype)
static com.google.ortools.sat.DecisionStrategyProto parseFrom(com.google.protobuf.ByteString data)
.lang.Override java.lang.Object newInstance(UnusedPrivateParameter unused)
SELECT_MEDIAN_VALUE
SELECT_MEDIAN_VALUE = 4;
.lang.Override Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
Builder addTransformations(com.google.ortools.sat.DecisionStrategyProto.AffineTransformation value)
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
.lang.Override Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.DecisionStrategyProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
.lang.Override com.google.ortools.sat.DecisionStrategyProto build()
static com.google.ortools.sat.DecisionStrategyProto parseFrom(byte[] data)
.lang.Override Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
int getTransformationsCount()
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
Builder clearPositiveCoeff()
int64 positive_coeff = 3;
static final int OFFSET_FIELD_NUMBER
.lang.Override com.google.ortools.sat.DecisionStrategyProto.AffineTransformation buildPartial()
static com.google.ortools.sat.DecisionStrategyProto getDefaultInstance()
static com.google.ortools.sat.DecisionStrategyProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static final int DOMAIN_REDUCTION_STRATEGY_FIELD_NUMBER
.lang.Override Builder clear()
com.google.ortools.sat.DecisionStrategyProto.DomainReductionStrategy getDomainReductionStrategy()
.operations_research.sat.DecisionStrategyProto.DomainReductionStrategy domain_reduction_strategy = 3;
Builder setTransformations(int index, com.google.ortools.sat.DecisionStrategyProto.AffineTransformation value)
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
.lang.Override com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
.lang.Override com.google.ortools.sat.DecisionStrategyProto getDefaultInstanceForType()
Builder removeTransformations(int index)
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
int getVar()
int32 var = 1;
.lang.Override Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
.lang.Deprecated static DomainReductionStrategy valueOf(int value)
.lang.Override Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
static com.google.protobuf.Parser< DecisionStrategyProto > parser()
.lang.Override com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Builder clearVariables()
.lang.Override final boolean isInitialized()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
final int getNumber()
long getPositiveCoeff()
int64 positive_coeff = 3;
long getPositiveCoeff()
int64 positive_coeff = 3;
static com.google.ortools.sat.DecisionStrategyProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Internal.EnumLiteMap< VariableSelectionStrategy > internalGetValueMap()
static VariableSelectionStrategy forNumber(int value)
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
.lang.Deprecated static VariableSelectionStrategy valueOf(int value)
long getOffset()
int64 offset = 2;
Builder clearTransformations()
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
.lang.Override Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
static com.google.ortools.sat.DecisionStrategyProto parseFrom(java.nio.ByteBuffer data)
.lang.Override com.google.ortools.sat.DecisionStrategyProto buildPartial()
com.google.ortools.sat.DecisionStrategyProto.DomainReductionStrategy getDomainReductionStrategy()
.operations_research.sat.DecisionStrategyProto.DomainReductionStrategy domain_reduction_strategy = 3;
.lang.Override boolean equals(final java.lang.Object obj)
static com.google.ortools.sat.DecisionStrategyProto.AffineTransformation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
.lang.Override com.google.ortools.sat.DecisionStrategyProto.AffineTransformation getDefaultInstanceForType()
Builder clearOffset()
int64 offset = 2;
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
long getOffset()
int64 offset = 2;
Builder addTransformations(int index, com.google.ortools.sat.DecisionStrategyProto.AffineTransformation value)
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
.lang.Override Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
.lang.Override final boolean isInitialized()
static com.google.ortools.sat.DecisionStrategyProto.AffineTransformation parseFrom(java.nio.ByteBuffer data)
Builder clearVariableSelectionStrategy()
.operations_research.sat.DecisionStrategyProto.VariableSelectionStrategy variable_selection_strategy ...
SELECT_MIN_VALUE
SELECT_MIN_VALUE = 0;
Builder setOffset(long value)
int64 offset = 2;
.lang.Override Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
com.google.ortools.sat.DecisionStrategyProto.AffineTransformationOrBuilder getTransformationsOrBuilder(int index)
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
static Builder newBuilder()
static com.google.ortools.sat.DecisionStrategyProto.AffineTransformation parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DomainReductionStrategy forNumber(int value)
Builder setTransformations(int index, com.google.ortools.sat.DecisionStrategyProto.AffineTransformation.Builder builderForValue)
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
.lang.Override final com.google.protobuf.UnknownFieldSet getUnknownFields()
int getVar()
int32 var = 1;
static com.google.ortools.sat.DecisionStrategyProto.AffineTransformation parseDelimitedFrom(java.io.InputStream input)
com.google.ortools.sat.DecisionStrategyProto.AffineTransformation.Builder addTransformationsBuilder(int index)
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
static DomainReductionStrategy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
long getOffset()
int64 offset = 2;
Builder addVariables(int value)
.lang.Override com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
static com.google.protobuf.Internal.EnumLiteMap< DomainReductionStrategy > internalGetValueMap()
static com.google.ortools.sat.DecisionStrategyProto.AffineTransformation parseFrom(byte[] data)
int getVariableSelectionStrategyValue()
.operations_research.sat.DecisionStrategyProto.VariableSelectionStrategy variable_selection_strategy ...
com.google.ortools.sat.DecisionStrategyProto.AffineTransformation.Builder addTransformationsBuilder()
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
.lang.Override com.google.ortools.sat.DecisionStrategyProto.AffineTransformation build()
java.util.List< java.lang.Integer > getVariablesList()
java.util.List< com.google.ortools.sat.DecisionStrategyProto.AffineTransformation > getTransformationsList()
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
.lang.Override final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
static com.google.protobuf.Parser< AffineTransformation > parser()
java.util.List< java.lang.Integer > getVariablesList()
.lang.Override int getSerializedSize()
.lang.Override com.google.ortools.sat.DecisionStrategyProto.AffineTransformation getDefaultInstanceForType()
SELECT_MAX_VALUE
SELECT_MAX_VALUE = 1;
Builder setDomainReductionStrategy(com.google.ortools.sat.DecisionStrategyProto.DomainReductionStrategy value)
.operations_research.sat.DecisionStrategyProto.DomainReductionStrategy domain_reduction_strategy = 3;
CHOOSE_MIN_DOMAIN_SIZE
CHOOSE_MIN_DOMAIN_SIZE = 3;
long getPositiveCoeff()
int64 positive_coeff = 3;
static com.google.ortools.sat.DecisionStrategyProto.AffineTransformation parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
.lang.Override final com.google.protobuf.UnknownFieldSet getUnknownFields()
static VariableSelectionStrategy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
int getVar()
int32 var = 1;
java.util.List< com.google.ortools.sat.DecisionStrategyProto.AffineTransformation.Builder > getTransformationsBuilderList()
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
.lang.Override Builder clear()
static com.google.ortools.sat.DecisionStrategyProto.AffineTransformation parseFrom(com.google.protobuf.CodedInputStream input)
Builder clearVar()
int32 var = 1;
.lang.Override int hashCode()
.lang.Override Builder toBuilder()
int getVariables(int index)
Builder setDomainReductionStrategyValue(int value)
.operations_research.sat.DecisionStrategyProto.DomainReductionStrategy domain_reduction_strategy = 3;
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
.lang.Override com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
.lang.Override java.lang.Object newInstance(UnusedPrivateParameter unused)
Builder setVariableSelectionStrategyValue(int value)
.operations_research.sat.DecisionStrategyProto.VariableSelectionStrategy variable_selection_strategy ...
int getVariableSelectionStrategyValue()
.operations_research.sat.DecisionStrategyProto.VariableSelectionStrategy variable_selection_strategy ...
static com.google.ortools.sat.DecisionStrategyProto.AffineTransformation getDefaultInstance()
static com.google.ortools.sat.DecisionStrategyProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
.lang.Override boolean equals(final java.lang.Object obj)
static final int VARIABLE_SELECTION_STRATEGY_FIELD_NUMBER
static com.google.ortools.sat.DecisionStrategyProto.AffineTransformation parseFrom(com.google.protobuf.ByteString data)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Builder addTransformations(int index, com.google.ortools.sat.DecisionStrategyProto.AffineTransformation.Builder builderForValue)
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
static final int TRANSFORMATIONS_FIELD_NUMBER
Builder mergeFrom(com.google.ortools.sat.DecisionStrategyProto.AffineTransformation other)
Builder setVariables(int index, int value)
int getDomainReductionStrategyValue()
.operations_research.sat.DecisionStrategyProto.DomainReductionStrategy domain_reduction_strategy = 3;
.lang.Override final boolean isInitialized()
Builder addAllVariables(java.lang.Iterable<? extends java.lang.Integer > values)
.lang.Override com.google.ortools.sat.DecisionStrategyProto getDefaultInstanceForType()
UNRECOGNIZED
java.util.List<? extends com.google.ortools.sat.DecisionStrategyProto.AffineTransformationOrBuilder > getTransformationsOrBuilderList()
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
static final int VARIABLES_FIELD_NUMBER
.lang.Override com.google.protobuf.Parser< AffineTransformation > getParserForType()
.lang.Override Builder clone()
static com.google.ortools.sat.DecisionStrategyProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CHOOSE_FIRST
CHOOSE_FIRST = 0;
com.google.ortools.sat.DecisionStrategyProto.VariableSelectionStrategy getVariableSelectionStrategy()
.operations_research.sat.DecisionStrategyProto.VariableSelectionStrategy variable_selection_strategy ...
.lang.Override final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
java.util.List< com.google.ortools.sat.DecisionStrategyProto.AffineTransformation > getTransformationsList()
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;
static final int POSITIVE_COEFF_FIELD_NUMBER
com.google.ortools.sat.DecisionStrategyProto.AffineTransformation.Builder getTransformationsBuilder(int index)
repeated .operations_research.sat.DecisionStrategyProto.AffineTransformation transformations = 4;