4 package com.google.ortools.sat;
15 com.google.protobuf.GeneratedMessageV3 implements
18 private static final long serialVersionUID = 0L;
24 variables_ = emptyIntList();
25 variableSelectionStrategy_ = 0;
26 domainReductionStrategy_ = 0;
27 transformations_ = java.util.Collections.emptyList();
31 @SuppressWarnings({
"unused"})
33 UnusedPrivateParameter unused) {
38 public final com.
google.protobuf.UnknownFieldSet
40 return this.unknownFields;
43 com.
google.protobuf.CodedInputStream input,
44 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
45 throws com.
google.protobuf.InvalidProtocolBufferException {
47 if (extensionRegistry ==
null) {
48 throw new java.lang.NullPointerException();
50 int mutable_bitField0_ = 0;
51 com.
google.protobuf.UnknownFieldSet.Builder unknownFields =
52 com.
google.protobuf.UnknownFieldSet.newBuilder();
56 int tag = input.readTag();
62 if (!((mutable_bitField0_ & 0x00000001) != 0)) {
63 variables_ = newIntList();
64 mutable_bitField0_ |= 0x00000001;
66 variables_.addInt(input.readInt32());
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;
76 while (input.getBytesUntilLimit() > 0) {
77 variables_.addInt(input.readInt32());
79 input.popLimit(limit);
83 int rawValue = input.readEnum();
85 variableSelectionStrategy_ = rawValue;
89 int rawValue = input.readEnum();
91 domainReductionStrategy_ = rawValue;
95 if (!((mutable_bitField0_ & 0x00000002) != 0)) {
97 mutable_bitField0_ |= 0x00000002;
104 if (!parseUnknownField(
105 input, unknownFields, extensionRegistry, tag)) {
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);
118 if (((mutable_bitField0_ & 0x00000001) != 0)) {
119 variables_.makeImmutable();
121 if (((mutable_bitField0_ & 0x00000002) != 0)) {
122 transformations_ = java.util.Collections.unmodifiableList(transformations_);
124 this.unknownFields = unknownFields.build();
125 makeExtensionsImmutable();
128 public static final com.
google.protobuf.Descriptors.Descriptor
134 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
137 .ensureFieldAccessorsInitialized(
151 implements
com.
google.protobuf.ProtocolMessageEnum {
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;
198 if (
this == UNRECOGNIZED) {
199 throw new java.lang.IllegalArgumentException(
200 "Can't get the number of an unknown enum value.");
208 @java.lang.Deprecated
210 return forNumber(value);
215 case 0:
return CHOOSE_FIRST;
216 case 1:
return CHOOSE_LOWEST_MIN;
217 case 2:
return CHOOSE_HIGHEST_MAX;
218 case 3:
return CHOOSE_MIN_DOMAIN_SIZE;
219 case 4:
return CHOOSE_MAX_DOMAIN_SIZE;
220 default:
return null;
226 return internalValueMap;
228 private static final com.
google.protobuf.Internal.EnumLiteMap<
236 public final com.
google.protobuf.Descriptors.EnumValueDescriptor
240 public final com.
google.protobuf.Descriptors.EnumDescriptor
244 public static final com.
google.protobuf.Descriptors.EnumDescriptor
252 com.
google.protobuf.Descriptors.EnumValueDescriptor desc) {
254 throw new java.lang.IllegalArgumentException(
255 "EnumValueDescriptor is not for this type.");
257 if (desc.getIndex() == -1) {
260 return VALUES[desc.getIndex()];
263 private final int value;
282 implements
com.
google.protobuf.ProtocolMessageEnum {
305 public static final int SELECT_MIN_VALUE_VALUE = 0;
309 public static final int SELECT_MAX_VALUE_VALUE = 1;
313 public static final int SELECT_LOWER_HALF_VALUE = 2;
317 public static final int SELECT_UPPER_HALF_VALUE = 3;
321 if (
this == UNRECOGNIZED) {
322 throw new java.lang.IllegalArgumentException(
323 "Can't get the number of an unknown enum value.");
331 @java.lang.Deprecated
333 return forNumber(value);
338 case 0:
return SELECT_MIN_VALUE;
339 case 1:
return SELECT_MAX_VALUE;
340 case 2:
return SELECT_LOWER_HALF;
341 case 3:
return SELECT_UPPER_HALF;
342 default:
return null;
348 return internalValueMap;
350 private static final com.
google.protobuf.Internal.EnumLiteMap<
358 public final com.
google.protobuf.Descriptors.EnumValueDescriptor
362 public final com.
google.protobuf.Descriptors.EnumDescriptor
366 public static final com.
google.protobuf.Descriptors.EnumDescriptor
374 com.
google.protobuf.Descriptors.EnumValueDescriptor desc) {
376 throw new java.lang.IllegalArgumentException(
377 "EnumValueDescriptor is not for this type.");
379 if (desc.getIndex() == -1) {
382 return VALUES[desc.getIndex()];
385 private final int value;
396 com.google.protobuf.MessageOrBuilder {
424 com.google.protobuf.GeneratedMessageV3 implements
427 private static final long serialVersionUID = 0L;
436 @SuppressWarnings({
"unused"})
438 UnusedPrivateParameter unused) {
443 public final com.
google.protobuf.UnknownFieldSet
445 return this.unknownFields;
448 com.
google.protobuf.CodedInputStream input,
449 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
450 throws com.
google.protobuf.InvalidProtocolBufferException {
452 if (extensionRegistry ==
null) {
453 throw new java.lang.NullPointerException();
455 com.
google.protobuf.UnknownFieldSet.Builder unknownFields =
456 com.
google.protobuf.UnknownFieldSet.newBuilder();
458 boolean done =
false;
460 int tag = input.readTag();
467 var_ = input.readInt32();
472 offset_ = input.readInt64();
477 positiveCoeff_ = input.readInt64();
481 if (!parseUnknownField(
482 input, unknownFields, extensionRegistry, tag)) {
489 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
490 throw e.setUnfinishedMessage(
this);
491 }
catch (java.io.IOException e) {
492 throw new com.
google.protobuf.InvalidProtocolBufferException(
493 e).setUnfinishedMessage(
this);
495 this.unknownFields = unknownFields.build();
496 makeExtensionsImmutable();
499 public static final com.
google.protobuf.Descriptors.Descriptor
505 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
508 .ensureFieldAccessorsInitialized(
522 private long offset_;
531 private long positiveCoeff_;
536 return positiveCoeff_;
539 private byte memoizedIsInitialized = -1;
546 memoizedIsInitialized = 1;
552 throws java.io.IOException {
554 output.writeInt32(1, var_);
557 output.writeInt64(2, offset_);
559 if (positiveCoeff_ != 0L) {
560 output.writeInt64(3, positiveCoeff_);
562 unknownFields.writeTo(output);
567 int size = memoizedSize;
568 if (size != -1)
return size;
572 size +=
com.
google.protobuf.CodedOutputStream
573 .computeInt32Size(1, var_);
576 size +=
com.
google.protobuf.CodedOutputStream
577 .computeInt64Size(2, offset_);
579 if (positiveCoeff_ != 0L) {
580 size +=
com.
google.protobuf.CodedOutputStream
581 .computeInt64Size(3, positiveCoeff_);
583 size += unknownFields.getSerializedSize();
589 public boolean equals(
final java.lang.Object obj) {
594 return super.equals(obj);
599 != other.getVar())
return false;
601 != other.getOffset())
return false;
603 != other.getPositiveCoeff())
return false;
604 if (!unknownFields.equals(other.unknownFields))
return false;
610 if (memoizedHashCode != 0) {
611 return memoizedHashCode;
616 hash = (53 * hash) +
getVar();
618 hash = (53 * hash) +
com.
google.protobuf.Internal.hashLong(
621 hash = (53 * hash) +
com.
google.protobuf.Internal.hashLong(
623 hash = (29 * hash) + unknownFields.hashCode();
624 memoizedHashCode = hash;
629 java.nio.ByteBuffer data)
630 throws com.
google.protobuf.InvalidProtocolBufferException {
631 return PARSER.parseFrom(data);
634 java.nio.ByteBuffer data,
635 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
636 throws com.
google.protobuf.InvalidProtocolBufferException {
637 return PARSER.parseFrom(data, extensionRegistry);
641 throws com.
google.protobuf.InvalidProtocolBufferException {
642 return PARSER.parseFrom(data);
646 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
647 throws com.
google.protobuf.InvalidProtocolBufferException {
648 return PARSER.parseFrom(data, extensionRegistry);
651 throws com.
google.protobuf.InvalidProtocolBufferException {
652 return PARSER.parseFrom(data);
656 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
657 throws com.
google.protobuf.InvalidProtocolBufferException {
658 return PARSER.parseFrom(data, extensionRegistry);
661 throws java.io.IOException {
662 return com.
google.protobuf.GeneratedMessageV3
663 .parseWithIOException(PARSER, input);
666 java.io.InputStream input,
667 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
668 throws java.io.IOException {
669 return com.
google.protobuf.GeneratedMessageV3
670 .parseWithIOException(PARSER, input, extensionRegistry);
673 throws java.io.IOException {
674 return com.
google.protobuf.GeneratedMessageV3
675 .parseDelimitedWithIOException(PARSER, input);
678 java.io.InputStream input,
679 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
680 throws java.io.IOException {
681 return com.
google.protobuf.GeneratedMessageV3
682 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
685 com.
google.protobuf.CodedInputStream input)
686 throws java.io.IOException {
687 return com.
google.protobuf.GeneratedMessageV3
688 .parseWithIOException(PARSER, input);
691 com.
google.protobuf.CodedInputStream input,
692 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
693 throws java.io.IOException {
694 return com.
google.protobuf.GeneratedMessageV3
695 .parseWithIOException(PARSER, input, extensionRegistry);
708 return this == DEFAULT_INSTANCE
714 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
729 com.google.protobuf.GeneratedMessageV3.
Builder<Builder> implements
732 public static final com.
google.protobuf.Descriptors.Descriptor
738 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
741 .ensureFieldAccessorsInitialized(
747 maybeForceBuilderInitialization();
751 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
753 maybeForceBuilderInitialization();
755 private void maybeForceBuilderInitialization() {
756 if (
com.
google.protobuf.GeneratedMessageV3
757 .alwaysUseFieldBuilders) {
773 public com.
google.protobuf.Descriptors.Descriptor
786 if (!result.isInitialized()) {
787 throw newUninitializedMessageException(result);
796 result.offset_ = offset_;
797 result.positiveCoeff_ = positiveCoeff_;
804 return super.
clone();
808 com.
google.protobuf.Descriptors.FieldDescriptor field,
809 java.lang.Object value) {
810 return super.
setField(field, value);
814 com.
google.protobuf.Descriptors.FieldDescriptor field) {
819 com.
google.protobuf.Descriptors.OneofDescriptor oneof) {
824 com.
google.protobuf.Descriptors.FieldDescriptor field,
825 int index, java.lang.Object value) {
830 com.
google.protobuf.Descriptors.FieldDescriptor field,
831 java.lang.Object value) {
839 super.mergeFrom(other);
846 if (other.getVar() != 0) {
849 if (other.getOffset() != 0L) {
852 if (other.getPositiveCoeff() != 0L) {
867 com.
google.protobuf.CodedInputStream input,
868 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
869 throws java.io.IOException {
872 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
873 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
875 throw e.unwrapIOException();
877 if (parsedMessage !=
null) {
910 private long offset_ ;
936 private long positiveCoeff_ ;
941 return positiveCoeff_;
948 positiveCoeff_ = value;
963 final com.
google.protobuf.UnknownFieldSet unknownFields) {
969 final com.
google.protobuf.UnknownFieldSet unknownFields) {
984 return DEFAULT_INSTANCE;
991 com.
google.protobuf.CodedInputStream input,
992 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
993 throws com.
google.protobuf.InvalidProtocolBufferException {
1009 return DEFAULT_INSTANCE;
1015 private com.
google.protobuf.Internal.IntList variables_;
1025 public java.util.List<java.lang.Integer>
1039 return variables_.size();
1051 return variables_.getInt(index);
1053 private int variablesMemoizedSerializedSize = -1;
1056 private int variableSelectionStrategy_;
1061 return variableSelectionStrategy_;
1067 @SuppressWarnings(
"deprecation")
1073 private int domainReductionStrategy_;
1078 return domainReductionStrategy_;
1084 @SuppressWarnings(
"deprecation")
1095 return transformations_;
1102 return transformations_;
1108 return transformations_.size();
1114 return transformations_.get(index);
1121 return transformations_.get(index);
1124 private byte memoizedIsInitialized = -1;
1131 memoizedIsInitialized = 1;
1137 throws java.io.IOException {
1140 output.writeUInt32NoTag(10);
1141 output.writeUInt32NoTag(variablesMemoizedSerializedSize);
1143 for (
int i = 0; i < variables_.size(); i++) {
1144 output.writeInt32NoTag(variables_.getInt(i));
1147 output.writeEnum(2, variableSelectionStrategy_);
1150 output.writeEnum(3, domainReductionStrategy_);
1152 for (
int i = 0; i < transformations_.size(); i++) {
1153 output.writeMessage(4, transformations_.get(i));
1155 unknownFields.writeTo(output);
1160 int size = memoizedSize;
1161 if (size != -1)
return size;
1166 for (
int i = 0; i < variables_.size(); i++) {
1167 dataSize +=
com.
google.protobuf.CodedOutputStream
1168 .computeInt32SizeNoTag(variables_.getInt(i));
1173 size +=
com.
google.protobuf.CodedOutputStream
1174 .computeInt32SizeNoTag(dataSize);
1176 variablesMemoizedSerializedSize = dataSize;
1179 size +=
com.
google.protobuf.CodedOutputStream
1180 .computeEnumSize(2, variableSelectionStrategy_);
1183 size +=
com.
google.protobuf.CodedOutputStream
1184 .computeEnumSize(3, domainReductionStrategy_);
1186 for (
int i = 0; i < transformations_.size(); i++) {
1187 size +=
com.
google.protobuf.CodedOutputStream
1188 .computeMessageSize(4, transformations_.get(i));
1190 size += unknownFields.getSerializedSize();
1191 memoizedSize = size;
1196 public boolean equals(
final java.lang.Object obj) {
1201 return super.equals(obj);
1206 .equals(other.getVariablesList()))
return false;
1207 if (variableSelectionStrategy_ != other.variableSelectionStrategy_)
return false;
1208 if (domainReductionStrategy_ != other.domainReductionStrategy_)
return false;
1210 .equals(other.getTransformationsList()))
return false;
1211 if (!unknownFields.equals(other.unknownFields))
return false;
1217 if (memoizedHashCode != 0) {
1218 return memoizedHashCode;
1227 hash = (53 * hash) + variableSelectionStrategy_;
1229 hash = (53 * hash) + domainReductionStrategy_;
1234 hash = (29 * hash) + unknownFields.hashCode();
1235 memoizedHashCode = hash;
1240 java.nio.ByteBuffer data)
1241 throws com.
google.protobuf.InvalidProtocolBufferException {
1242 return PARSER.parseFrom(data);
1245 java.nio.ByteBuffer data,
1246 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
1247 throws com.
google.protobuf.InvalidProtocolBufferException {
1248 return PARSER.parseFrom(data, extensionRegistry);
1252 throws com.
google.protobuf.InvalidProtocolBufferException {
1253 return PARSER.parseFrom(data);
1257 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
1258 throws com.
google.protobuf.InvalidProtocolBufferException {
1259 return PARSER.parseFrom(data, extensionRegistry);
1262 throws com.
google.protobuf.InvalidProtocolBufferException {
1263 return PARSER.parseFrom(data);
1267 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
1268 throws com.
google.protobuf.InvalidProtocolBufferException {
1269 return PARSER.parseFrom(data, extensionRegistry);
1272 throws java.io.IOException {
1273 return com.
google.protobuf.GeneratedMessageV3
1274 .parseWithIOException(PARSER, input);
1277 java.io.InputStream input,
1278 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
1279 throws java.io.IOException {
1280 return com.
google.protobuf.GeneratedMessageV3
1281 .parseWithIOException(PARSER, input, extensionRegistry);
1284 throws java.io.IOException {
1285 return com.
google.protobuf.GeneratedMessageV3
1286 .parseDelimitedWithIOException(PARSER, input);
1289 java.io.InputStream input,
1290 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
1291 throws java.io.IOException {
1292 return com.
google.protobuf.GeneratedMessageV3
1293 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
1296 com.
google.protobuf.CodedInputStream input)
1297 throws java.io.IOException {
1298 return com.
google.protobuf.GeneratedMessageV3
1299 .parseWithIOException(PARSER, input);
1302 com.
google.protobuf.CodedInputStream input,
1303 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
1304 throws java.io.IOException {
1305 return com.
google.protobuf.GeneratedMessageV3
1306 .parseWithIOException(PARSER, input, extensionRegistry);
1319 return this == DEFAULT_INSTANCE
1325 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1338 com.google.protobuf.GeneratedMessageV3.
Builder<Builder> implements
1341 public static final com.
google.protobuf.Descriptors.Descriptor
1347 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
1350 .ensureFieldAccessorsInitialized(
1356 maybeForceBuilderInitialization();
1360 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1362 maybeForceBuilderInitialization();
1364 private void maybeForceBuilderInitialization() {
1365 if (
com.
google.protobuf.GeneratedMessageV3
1366 .alwaysUseFieldBuilders) {
1367 getTransformationsFieldBuilder();
1373 variables_ = emptyIntList();
1374 bitField0_ = (bitField0_ & ~0x00000001);
1375 variableSelectionStrategy_ = 0;
1377 domainReductionStrategy_ = 0;
1379 if (transformationsBuilder_ ==
null) {
1380 transformations_ = java.util.Collections.emptyList();
1381 bitField0_ = (bitField0_ & ~0x00000002);
1383 transformationsBuilder_.clear();
1389 public com.
google.protobuf.Descriptors.Descriptor
1402 if (!result.isInitialized()) {
1403 throw newUninitializedMessageException(result);
1411 int from_bitField0_ = bitField0_;
1412 if (((bitField0_ & 0x00000001) != 0)) {
1413 variables_.makeImmutable();
1414 bitField0_ = (bitField0_ & ~0x00000001);
1416 result.variables_ = variables_;
1417 result.variableSelectionStrategy_ = variableSelectionStrategy_;
1418 result.domainReductionStrategy_ = domainReductionStrategy_;
1419 if (transformationsBuilder_ ==
null) {
1420 if (((bitField0_ & 0x00000002) != 0)) {
1421 transformations_ = java.util.Collections.unmodifiableList(transformations_);
1422 bitField0_ = (bitField0_ & ~0x00000002);
1424 result.transformations_ = transformations_;
1426 result.transformations_ = transformationsBuilder_.build();
1434 return super.
clone();
1438 com.
google.protobuf.Descriptors.FieldDescriptor field,
1439 java.lang.Object value) {
1440 return super.
setField(field, value);
1444 com.
google.protobuf.Descriptors.FieldDescriptor field) {
1449 com.
google.protobuf.Descriptors.OneofDescriptor oneof) {
1454 com.
google.protobuf.Descriptors.FieldDescriptor field,
1455 int index, java.lang.Object value) {
1460 com.
google.protobuf.Descriptors.FieldDescriptor field,
1461 java.lang.Object value) {
1469 super.mergeFrom(other);
1476 if (!other.variables_.isEmpty()) {
1477 if (variables_.isEmpty()) {
1478 variables_ = other.variables_;
1479 bitField0_ = (bitField0_ & ~0x00000001);
1481 ensureVariablesIsMutable();
1482 variables_.addAll(other.variables_);
1486 if (other.variableSelectionStrategy_ != 0) {
1489 if (other.domainReductionStrategy_ != 0) {
1492 if (transformationsBuilder_ ==
null) {
1493 if (!other.transformations_.isEmpty()) {
1494 if (transformations_.isEmpty()) {
1495 transformations_ = other.transformations_;
1496 bitField0_ = (bitField0_ & ~0x00000002);
1498 ensureTransformationsIsMutable();
1499 transformations_.addAll(other.transformations_);
1504 if (!other.transformations_.isEmpty()) {
1505 if (transformationsBuilder_.isEmpty()) {
1506 transformationsBuilder_.dispose();
1507 transformationsBuilder_ =
null;
1508 transformations_ = other.transformations_;
1509 bitField0_ = (bitField0_ & ~0x00000002);
1510 transformationsBuilder_ =
1511 com.
google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
1512 getTransformationsFieldBuilder() :
null;
1514 transformationsBuilder_.addAllMessages(other.transformations_);
1530 com.
google.protobuf.CodedInputStream input,
1531 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
1532 throws java.io.IOException {
1535 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1536 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
1538 throw e.unwrapIOException();
1540 if (parsedMessage !=
null) {
1546 private int bitField0_;
1548 private com.
google.protobuf.Internal.IntList variables_ = emptyIntList();
1549 private void ensureVariablesIsMutable() {
1550 if (!((bitField0_ & 0x00000001) != 0)) {
1551 variables_ = mutableCopy(variables_);
1552 bitField0_ |= 0x00000001;
1564 public java.util.List<java.lang.Integer>
1566 return ((bitField0_ & 0x00000001) != 0) ?
1567 java.util.Collections.unmodifiableList(variables_) : variables_;
1579 return variables_.size();
1591 return variables_.getInt(index);
1603 int index,
int value) {
1604 ensureVariablesIsMutable();
1605 variables_.setInt(index, value);
1619 ensureVariablesIsMutable();
1620 variables_.addInt(value);
1634 java.lang.Iterable<? extends java.lang.Integer> values) {
1635 ensureVariablesIsMutable();
1636 com.
google.protobuf.AbstractMessageLite.Builder.addAll(
1637 values, variables_);
1651 variables_ = emptyIntList();
1652 bitField0_ = (bitField0_ & ~0x00000001);
1657 private int variableSelectionStrategy_ = 0;
1662 return variableSelectionStrategy_;
1668 variableSelectionStrategy_ = value;
1676 @SuppressWarnings(
"deprecation")
1684 if (value ==
null) {
1685 throw new NullPointerException();
1688 variableSelectionStrategy_ = value.getNumber();
1697 variableSelectionStrategy_ = 0;
1702 private int domainReductionStrategy_ = 0;
1707 return domainReductionStrategy_;
1713 domainReductionStrategy_ = value;
1721 @SuppressWarnings(
"deprecation")
1729 if (value ==
null) {
1730 throw new NullPointerException();
1733 domainReductionStrategy_ = value.getNumber();
1742 domainReductionStrategy_ = 0;
1748 java.util.Collections.emptyList();
1749 private void ensureTransformationsIsMutable() {
1750 if (!((bitField0_ & 0x00000002) != 0)) {
1752 bitField0_ |= 0x00000002;
1756 private com.
google.protobuf.RepeatedFieldBuilderV3<
1763 if (transformationsBuilder_ ==
null) {
1764 return java.util.Collections.unmodifiableList(transformations_);
1766 return transformationsBuilder_.getMessageList();
1773 if (transformationsBuilder_ ==
null) {
1774 return transformations_.size();
1776 return transformationsBuilder_.getCount();
1783 if (transformationsBuilder_ ==
null) {
1784 return transformations_.get(index);
1786 return transformationsBuilder_.getMessage(index);
1794 if (transformationsBuilder_ ==
null) {
1795 if (value ==
null) {
1796 throw new NullPointerException();
1798 ensureTransformationsIsMutable();
1799 transformations_.set(index, value);
1802 transformationsBuilder_.setMessage(index, value);
1811 if (transformationsBuilder_ ==
null) {
1812 ensureTransformationsIsMutable();
1813 transformations_.set(index, builderForValue.build());
1816 transformationsBuilder_.setMessage(index, builderForValue.build());
1824 if (transformationsBuilder_ ==
null) {
1825 if (value ==
null) {
1826 throw new NullPointerException();
1828 ensureTransformationsIsMutable();
1829 transformations_.add(value);
1832 transformationsBuilder_.addMessage(value);
1841 if (transformationsBuilder_ ==
null) {
1842 if (value ==
null) {
1843 throw new NullPointerException();
1845 ensureTransformationsIsMutable();
1846 transformations_.add(index, value);
1849 transformationsBuilder_.addMessage(index, value);
1858 if (transformationsBuilder_ ==
null) {
1859 ensureTransformationsIsMutable();
1860 transformations_.add(builderForValue.build());
1863 transformationsBuilder_.addMessage(builderForValue.build());
1872 if (transformationsBuilder_ ==
null) {
1873 ensureTransformationsIsMutable();
1874 transformations_.add(index, builderForValue.build());
1877 transformationsBuilder_.addMessage(index, builderForValue.build());
1886 if (transformationsBuilder_ ==
null) {
1887 ensureTransformationsIsMutable();
1888 com.
google.protobuf.AbstractMessageLite.Builder.addAll(
1889 values, transformations_);
1892 transformationsBuilder_.addAllMessages(values);
1900 if (transformationsBuilder_ ==
null) {
1901 transformations_ = java.util.Collections.emptyList();
1902 bitField0_ = (bitField0_ & ~0x00000002);
1905 transformationsBuilder_.clear();
1913 if (transformationsBuilder_ ==
null) {
1914 ensureTransformationsIsMutable();
1915 transformations_.remove(index);
1918 transformationsBuilder_.remove(index);
1927 return getTransformationsFieldBuilder().getBuilder(index);
1934 if (transformationsBuilder_ ==
null) {
1935 return transformations_.get(index); }
else {
1936 return transformationsBuilder_.getMessageOrBuilder(index);
1944 if (transformationsBuilder_ !=
null) {
1945 return transformationsBuilder_.getMessageOrBuilderList();
1947 return java.util.Collections.unmodifiableList(transformations_);
1954 return getTransformationsFieldBuilder().addBuilder(
1962 return getTransformationsFieldBuilder().addBuilder(
1970 return getTransformationsFieldBuilder().getBuilderList();
1972 private com.
google.protobuf.RepeatedFieldBuilderV3<
1974 getTransformationsFieldBuilder() {
1975 if (transformationsBuilder_ ==
null) {
1976 transformationsBuilder_ =
new com.
google.protobuf.RepeatedFieldBuilderV3<
1979 ((bitField0_ & 0x00000002) != 0),
1980 getParentForChildren(),
1982 transformations_ =
null;
1984 return transformationsBuilder_;
1988 final com.
google.protobuf.UnknownFieldSet unknownFields) {
1994 final com.
google.protobuf.UnknownFieldSet unknownFields) {
2009 return DEFAULT_INSTANCE;
2016 com.
google.protobuf.CodedInputStream input,
2017 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
2018 throws com.
google.protobuf.InvalidProtocolBufferException {
2034 return DEFAULT_INSTANCE;
static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
SELECT_LOWER_HALF
SELECT_LOWER_HALF = 2;
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
static DomainReductionStrategy forNumber(int value)
SELECT_MAX_VALUE
SELECT_MAX_VALUE = 1;
SELECT_MIN_VALUE
SELECT_MIN_VALUE = 0;
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
SELECT_UPPER_HALF
SELECT_UPPER_HALF = 3;
static DomainReductionStrategy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
static com.google.protobuf.Internal.EnumLiteMap< DomainReductionStrategy > internalGetValueMap()
.lang.Deprecated static DomainReductionStrategy valueOf(int value)