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 public final com.
google.protobuf.UnknownFieldSet
33 return this.unknownFields;
36 com.
google.protobuf.CodedInputStream input,
37 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
38 throws com.
google.protobuf.InvalidProtocolBufferException {
40 if (extensionRegistry ==
null) {
41 throw new java.lang.NullPointerException();
43 int mutable_bitField0_ = 0;
44 com.
google.protobuf.UnknownFieldSet.Builder unknownFields =
45 com.
google.protobuf.UnknownFieldSet.newBuilder();
49 int tag = input.readTag();
55 if (!((mutable_bitField0_ & 0x00000001) != 0)) {
56 variables_ = newIntList();
57 mutable_bitField0_ |= 0x00000001;
59 variables_.addInt(input.readInt32());
63 int length = input.readRawVarint32();
64 int limit = input.pushLimit(length);
65 if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
66 variables_ = newIntList();
67 mutable_bitField0_ |= 0x00000001;
69 while (input.getBytesUntilLimit() > 0) {
70 variables_.addInt(input.readInt32());
72 input.popLimit(limit);
76 int rawValue = input.readEnum();
78 variableSelectionStrategy_ = rawValue;
82 int rawValue = input.readEnum();
84 domainReductionStrategy_ = rawValue;
88 if (!((mutable_bitField0_ & 0x00000008) != 0)) {
90 mutable_bitField0_ |= 0x00000008;
97 if (!parseUnknownField(
98 input, unknownFields, extensionRegistry, tag)) {
105 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
106 throw e.setUnfinishedMessage(
this);
107 }
catch (java.io.IOException e) {
108 throw new com.
google.protobuf.InvalidProtocolBufferException(
109 e).setUnfinishedMessage(
this);
111 if (((mutable_bitField0_ & 0x00000001) != 0)) {
112 variables_.makeImmutable();
114 if (((mutable_bitField0_ & 0x00000008) != 0)) {
115 transformations_ = java.util.Collections.unmodifiableList(transformations_);
117 this.unknownFields = unknownFields.build();
118 makeExtensionsImmutable();
121 public static final com.
google.protobuf.Descriptors.Descriptor
127 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
130 .ensureFieldAccessorsInitialized(
144 implements
com.
google.protobuf.ProtocolMessageEnum {
171 public static final int CHOOSE_FIRST_VALUE = 0;
175 public static final int CHOOSE_LOWEST_MIN_VALUE = 1;
179 public static final int CHOOSE_HIGHEST_MAX_VALUE = 2;
183 public static final int CHOOSE_MIN_DOMAIN_SIZE_VALUE = 3;
187 public static final int CHOOSE_MAX_DOMAIN_SIZE_VALUE = 4;
191 if (
this == UNRECOGNIZED) {
192 throw new java.lang.IllegalArgumentException(
193 "Can't get the number of an unknown enum value.");
201 @java.lang.Deprecated
203 return forNumber(value);
208 case 0:
return CHOOSE_FIRST;
209 case 1:
return CHOOSE_LOWEST_MIN;
210 case 2:
return CHOOSE_HIGHEST_MAX;
211 case 3:
return CHOOSE_MIN_DOMAIN_SIZE;
212 case 4:
return CHOOSE_MAX_DOMAIN_SIZE;
213 default:
return null;
219 return internalValueMap;
221 private static final com.
google.protobuf.Internal.EnumLiteMap<
229 public final com.
google.protobuf.Descriptors.EnumValueDescriptor
233 public final com.
google.protobuf.Descriptors.EnumDescriptor
237 public static final com.
google.protobuf.Descriptors.EnumDescriptor
245 com.
google.protobuf.Descriptors.EnumValueDescriptor desc) {
247 throw new java.lang.IllegalArgumentException(
248 "EnumValueDescriptor is not for this type.");
250 if (desc.getIndex() == -1) {
253 return VALUES[desc.getIndex()];
256 private final int value;
275 implements
com.
google.protobuf.ProtocolMessageEnum {
298 public static final int SELECT_MIN_VALUE_VALUE = 0;
302 public static final int SELECT_MAX_VALUE_VALUE = 1;
306 public static final int SELECT_LOWER_HALF_VALUE = 2;
310 public static final int SELECT_UPPER_HALF_VALUE = 3;
314 if (
this == UNRECOGNIZED) {
315 throw new java.lang.IllegalArgumentException(
316 "Can't get the number of an unknown enum value.");
324 @java.lang.Deprecated
326 return forNumber(value);
331 case 0:
return SELECT_MIN_VALUE;
332 case 1:
return SELECT_MAX_VALUE;
333 case 2:
return SELECT_LOWER_HALF;
334 case 3:
return SELECT_UPPER_HALF;
335 default:
return null;
341 return internalValueMap;
343 private static final com.
google.protobuf.Internal.EnumLiteMap<
351 public final com.
google.protobuf.Descriptors.EnumValueDescriptor
355 public final com.
google.protobuf.Descriptors.EnumDescriptor
359 public static final com.
google.protobuf.Descriptors.EnumDescriptor
367 com.
google.protobuf.Descriptors.EnumValueDescriptor desc) {
369 throw new java.lang.IllegalArgumentException(
370 "EnumValueDescriptor is not for this type.");
372 if (desc.getIndex() == -1) {
375 return VALUES[desc.getIndex()];
378 private final int value;
389 com.google.protobuf.MessageOrBuilder {
417 com.google.protobuf.GeneratedMessageV3 implements
420 private static final long serialVersionUID = 0L;
429 public final com.
google.protobuf.UnknownFieldSet
431 return this.unknownFields;
434 com.
google.protobuf.CodedInputStream input,
435 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
436 throws com.
google.protobuf.InvalidProtocolBufferException {
438 if (extensionRegistry ==
null) {
439 throw new java.lang.NullPointerException();
441 int mutable_bitField0_ = 0;
442 com.
google.protobuf.UnknownFieldSet.Builder unknownFields =
443 com.
google.protobuf.UnknownFieldSet.newBuilder();
445 boolean done =
false;
447 int tag = input.readTag();
454 var_ = input.readInt32();
459 offset_ = input.readInt64();
464 positiveCoeff_ = input.readInt64();
468 if (!parseUnknownField(
469 input, unknownFields, extensionRegistry, tag)) {
476 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
477 throw e.setUnfinishedMessage(
this);
478 }
catch (java.io.IOException e) {
479 throw new com.
google.protobuf.InvalidProtocolBufferException(
480 e).setUnfinishedMessage(
this);
482 this.unknownFields = unknownFields.build();
483 makeExtensionsImmutable();
486 public static final com.
google.protobuf.Descriptors.Descriptor
492 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
495 .ensureFieldAccessorsInitialized(
509 private long offset_;
518 private long positiveCoeff_;
523 return positiveCoeff_;
526 private byte memoizedIsInitialized = -1;
533 memoizedIsInitialized = 1;
539 throws java.io.IOException {
541 output.writeInt32(1, var_);
544 output.writeInt64(2, offset_);
546 if (positiveCoeff_ != 0L) {
547 output.writeInt64(3, positiveCoeff_);
549 unknownFields.writeTo(output);
554 int size = memoizedSize;
555 if (size != -1)
return size;
559 size +=
com.
google.protobuf.CodedOutputStream
560 .computeInt32Size(1, var_);
563 size +=
com.
google.protobuf.CodedOutputStream
564 .computeInt64Size(2, offset_);
566 if (positiveCoeff_ != 0L) {
567 size +=
com.
google.protobuf.CodedOutputStream
568 .computeInt64Size(3, positiveCoeff_);
570 size += unknownFields.getSerializedSize();
576 public boolean equals(
final java.lang.Object obj) {
581 return super.equals(obj);
586 != other.getVar())
return false;
588 != other.getOffset())
return false;
590 != other.getPositiveCoeff())
return false;
591 if (!unknownFields.equals(other.unknownFields))
return false;
597 if (memoizedHashCode != 0) {
598 return memoizedHashCode;
603 hash = (53 * hash) +
getVar();
605 hash = (53 * hash) +
com.
google.protobuf.Internal.hashLong(
608 hash = (53 * hash) +
com.
google.protobuf.Internal.hashLong(
610 hash = (29 * hash) + unknownFields.hashCode();
611 memoizedHashCode = hash;
616 java.nio.ByteBuffer data)
617 throws com.
google.protobuf.InvalidProtocolBufferException {
618 return PARSER.parseFrom(data);
621 java.nio.ByteBuffer data,
622 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
623 throws com.
google.protobuf.InvalidProtocolBufferException {
624 return PARSER.parseFrom(data, extensionRegistry);
628 throws com.
google.protobuf.InvalidProtocolBufferException {
629 return PARSER.parseFrom(data);
633 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
634 throws com.
google.protobuf.InvalidProtocolBufferException {
635 return PARSER.parseFrom(data, extensionRegistry);
638 throws com.
google.protobuf.InvalidProtocolBufferException {
639 return PARSER.parseFrom(data);
643 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
644 throws com.
google.protobuf.InvalidProtocolBufferException {
645 return PARSER.parseFrom(data, extensionRegistry);
648 throws java.io.IOException {
649 return com.
google.protobuf.GeneratedMessageV3
650 .parseWithIOException(PARSER, input);
653 java.io.InputStream input,
654 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
655 throws java.io.IOException {
656 return com.
google.protobuf.GeneratedMessageV3
657 .parseWithIOException(PARSER, input, extensionRegistry);
660 throws java.io.IOException {
661 return com.
google.protobuf.GeneratedMessageV3
662 .parseDelimitedWithIOException(PARSER, input);
665 java.io.InputStream input,
666 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
667 throws java.io.IOException {
668 return com.
google.protobuf.GeneratedMessageV3
669 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
672 com.
google.protobuf.CodedInputStream input)
673 throws java.io.IOException {
674 return com.
google.protobuf.GeneratedMessageV3
675 .parseWithIOException(PARSER, input);
678 com.
google.protobuf.CodedInputStream input,
679 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
680 throws java.io.IOException {
681 return com.
google.protobuf.GeneratedMessageV3
682 .parseWithIOException(PARSER, input, extensionRegistry);
695 return this == DEFAULT_INSTANCE
701 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
716 com.google.protobuf.GeneratedMessageV3.
Builder<Builder> implements
719 public static final com.
google.protobuf.Descriptors.Descriptor
725 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
728 .ensureFieldAccessorsInitialized(
734 maybeForceBuilderInitialization();
738 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
740 maybeForceBuilderInitialization();
742 private void maybeForceBuilderInitialization() {
743 if (
com.
google.protobuf.GeneratedMessageV3
744 .alwaysUseFieldBuilders) {
760 public com.
google.protobuf.Descriptors.Descriptor
773 if (!result.isInitialized()) {
774 throw newUninitializedMessageException(result);
783 result.offset_ = offset_;
784 result.positiveCoeff_ = positiveCoeff_;
791 return super.
clone();
795 com.
google.protobuf.Descriptors.FieldDescriptor field,
796 java.lang.Object value) {
797 return super.
setField(field, value);
801 com.
google.protobuf.Descriptors.FieldDescriptor field) {
806 com.
google.protobuf.Descriptors.OneofDescriptor oneof) {
811 com.
google.protobuf.Descriptors.FieldDescriptor field,
812 int index, java.lang.Object value) {
817 com.
google.protobuf.Descriptors.FieldDescriptor field,
818 java.lang.Object value) {
826 super.mergeFrom(other);
833 if (other.getVar() != 0) {
836 if (other.getOffset() != 0L) {
839 if (other.getPositiveCoeff() != 0L) {
854 com.
google.protobuf.CodedInputStream input,
855 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
856 throws java.io.IOException {
859 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
860 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
862 throw e.unwrapIOException();
864 if (parsedMessage !=
null) {
897 private long offset_ ;
923 private long positiveCoeff_ ;
928 return positiveCoeff_;
935 positiveCoeff_ = value;
950 final com.
google.protobuf.UnknownFieldSet unknownFields) {
956 final com.
google.protobuf.UnknownFieldSet unknownFields) {
971 return DEFAULT_INSTANCE;
978 com.
google.protobuf.CodedInputStream input,
979 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
980 throws com.
google.protobuf.InvalidProtocolBufferException {
996 return DEFAULT_INSTANCE;
1001 private int bitField0_;
1003 private com.
google.protobuf.Internal.IntList variables_;
1013 public java.util.List<java.lang.Integer>
1027 return variables_.size();
1039 return variables_.getInt(index);
1041 private int variablesMemoizedSerializedSize = -1;
1044 private int variableSelectionStrategy_;
1049 return variableSelectionStrategy_;
1055 @SuppressWarnings(
"deprecation")
1061 private int domainReductionStrategy_;
1066 return domainReductionStrategy_;
1072 @SuppressWarnings(
"deprecation")
1083 return transformations_;
1090 return transformations_;
1096 return transformations_.size();
1102 return transformations_.get(index);
1109 return transformations_.get(index);
1112 private byte memoizedIsInitialized = -1;
1119 memoizedIsInitialized = 1;
1125 throws java.io.IOException {
1128 output.writeUInt32NoTag(10);
1129 output.writeUInt32NoTag(variablesMemoizedSerializedSize);
1131 for (
int i = 0; i < variables_.size(); i++) {
1132 output.writeInt32NoTag(variables_.getInt(i));
1135 output.writeEnum(2, variableSelectionStrategy_);
1138 output.writeEnum(3, domainReductionStrategy_);
1140 for (
int i = 0; i < transformations_.size(); i++) {
1141 output.writeMessage(4, transformations_.get(i));
1143 unknownFields.writeTo(output);
1148 int size = memoizedSize;
1149 if (size != -1)
return size;
1154 for (
int i = 0; i < variables_.size(); i++) {
1155 dataSize +=
com.
google.protobuf.CodedOutputStream
1156 .computeInt32SizeNoTag(variables_.getInt(i));
1161 size +=
com.
google.protobuf.CodedOutputStream
1162 .computeInt32SizeNoTag(dataSize);
1164 variablesMemoizedSerializedSize = dataSize;
1167 size +=
com.
google.protobuf.CodedOutputStream
1168 .computeEnumSize(2, variableSelectionStrategy_);
1171 size +=
com.
google.protobuf.CodedOutputStream
1172 .computeEnumSize(3, domainReductionStrategy_);
1174 for (
int i = 0; i < transformations_.size(); i++) {
1175 size +=
com.
google.protobuf.CodedOutputStream
1176 .computeMessageSize(4, transformations_.get(i));
1178 size += unknownFields.getSerializedSize();
1179 memoizedSize = size;
1184 public boolean equals(
final java.lang.Object obj) {
1189 return super.equals(obj);
1194 .equals(other.getVariablesList()))
return false;
1195 if (variableSelectionStrategy_ != other.variableSelectionStrategy_)
return false;
1196 if (domainReductionStrategy_ != other.domainReductionStrategy_)
return false;
1198 .equals(other.getTransformationsList()))
return false;
1199 if (!unknownFields.equals(other.unknownFields))
return false;
1205 if (memoizedHashCode != 0) {
1206 return memoizedHashCode;
1215 hash = (53 * hash) + variableSelectionStrategy_;
1217 hash = (53 * hash) + domainReductionStrategy_;
1222 hash = (29 * hash) + unknownFields.hashCode();
1223 memoizedHashCode = hash;
1228 java.nio.ByteBuffer data)
1229 throws com.
google.protobuf.InvalidProtocolBufferException {
1230 return PARSER.parseFrom(data);
1233 java.nio.ByteBuffer data,
1234 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
1235 throws com.
google.protobuf.InvalidProtocolBufferException {
1236 return PARSER.parseFrom(data, extensionRegistry);
1240 throws com.
google.protobuf.InvalidProtocolBufferException {
1241 return PARSER.parseFrom(data);
1245 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
1246 throws com.
google.protobuf.InvalidProtocolBufferException {
1247 return PARSER.parseFrom(data, extensionRegistry);
1250 throws com.
google.protobuf.InvalidProtocolBufferException {
1251 return PARSER.parseFrom(data);
1255 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
1256 throws com.
google.protobuf.InvalidProtocolBufferException {
1257 return PARSER.parseFrom(data, extensionRegistry);
1260 throws java.io.IOException {
1261 return com.
google.protobuf.GeneratedMessageV3
1262 .parseWithIOException(PARSER, input);
1265 java.io.InputStream input,
1266 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
1267 throws java.io.IOException {
1268 return com.
google.protobuf.GeneratedMessageV3
1269 .parseWithIOException(PARSER, input, extensionRegistry);
1272 throws java.io.IOException {
1273 return com.
google.protobuf.GeneratedMessageV3
1274 .parseDelimitedWithIOException(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 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
1284 com.
google.protobuf.CodedInputStream input)
1285 throws java.io.IOException {
1286 return com.
google.protobuf.GeneratedMessageV3
1287 .parseWithIOException(PARSER, input);
1290 com.
google.protobuf.CodedInputStream input,
1291 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
1292 throws java.io.IOException {
1293 return com.
google.protobuf.GeneratedMessageV3
1294 .parseWithIOException(PARSER, input, extensionRegistry);
1307 return this == DEFAULT_INSTANCE
1313 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1326 com.google.protobuf.GeneratedMessageV3.
Builder<Builder> implements
1329 public static final com.
google.protobuf.Descriptors.Descriptor
1335 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
1338 .ensureFieldAccessorsInitialized(
1344 maybeForceBuilderInitialization();
1348 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1350 maybeForceBuilderInitialization();
1352 private void maybeForceBuilderInitialization() {
1353 if (
com.
google.protobuf.GeneratedMessageV3
1354 .alwaysUseFieldBuilders) {
1355 getTransformationsFieldBuilder();
1361 variables_ = emptyIntList();
1362 bitField0_ = (bitField0_ & ~0x00000001);
1363 variableSelectionStrategy_ = 0;
1365 domainReductionStrategy_ = 0;
1367 if (transformationsBuilder_ ==
null) {
1368 transformations_ = java.util.Collections.emptyList();
1369 bitField0_ = (bitField0_ & ~0x00000008);
1371 transformationsBuilder_.clear();
1377 public com.
google.protobuf.Descriptors.Descriptor
1390 if (!result.isInitialized()) {
1391 throw newUninitializedMessageException(result);
1399 int from_bitField0_ = bitField0_;
1400 int to_bitField0_ = 0;
1401 if (((bitField0_ & 0x00000001) != 0)) {
1402 variables_.makeImmutable();
1403 bitField0_ = (bitField0_ & ~0x00000001);
1405 result.variables_ = variables_;
1406 result.variableSelectionStrategy_ = variableSelectionStrategy_;
1407 result.domainReductionStrategy_ = domainReductionStrategy_;
1408 if (transformationsBuilder_ ==
null) {
1409 if (((bitField0_ & 0x00000008) != 0)) {
1410 transformations_ = java.util.Collections.unmodifiableList(transformations_);
1411 bitField0_ = (bitField0_ & ~0x00000008);
1413 result.transformations_ = transformations_;
1415 result.transformations_ = transformationsBuilder_.build();
1417 result.bitField0_ = to_bitField0_;
1424 return super.
clone();
1428 com.
google.protobuf.Descriptors.FieldDescriptor field,
1429 java.lang.Object value) {
1430 return super.
setField(field, value);
1434 com.
google.protobuf.Descriptors.FieldDescriptor field) {
1439 com.
google.protobuf.Descriptors.OneofDescriptor oneof) {
1444 com.
google.protobuf.Descriptors.FieldDescriptor field,
1445 int index, java.lang.Object value) {
1450 com.
google.protobuf.Descriptors.FieldDescriptor field,
1451 java.lang.Object value) {
1459 super.mergeFrom(other);
1466 if (!other.variables_.isEmpty()) {
1467 if (variables_.isEmpty()) {
1468 variables_ = other.variables_;
1469 bitField0_ = (bitField0_ & ~0x00000001);
1471 ensureVariablesIsMutable();
1472 variables_.addAll(other.variables_);
1476 if (other.variableSelectionStrategy_ != 0) {
1479 if (other.domainReductionStrategy_ != 0) {
1482 if (transformationsBuilder_ ==
null) {
1483 if (!other.transformations_.isEmpty()) {
1484 if (transformations_.isEmpty()) {
1485 transformations_ = other.transformations_;
1486 bitField0_ = (bitField0_ & ~0x00000008);
1488 ensureTransformationsIsMutable();
1489 transformations_.addAll(other.transformations_);
1494 if (!other.transformations_.isEmpty()) {
1495 if (transformationsBuilder_.isEmpty()) {
1496 transformationsBuilder_.dispose();
1497 transformationsBuilder_ =
null;
1498 transformations_ = other.transformations_;
1499 bitField0_ = (bitField0_ & ~0x00000008);
1500 transformationsBuilder_ =
1501 com.
google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
1502 getTransformationsFieldBuilder() :
null;
1504 transformationsBuilder_.addAllMessages(other.transformations_);
1520 com.
google.protobuf.CodedInputStream input,
1521 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
1522 throws java.io.IOException {
1525 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1526 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
1528 throw e.unwrapIOException();
1530 if (parsedMessage !=
null) {
1536 private int bitField0_;
1538 private com.
google.protobuf.Internal.IntList variables_ = emptyIntList();
1539 private void ensureVariablesIsMutable() {
1540 if (!((bitField0_ & 0x00000001) != 0)) {
1541 variables_ = mutableCopy(variables_);
1542 bitField0_ |= 0x00000001;
1554 public java.util.List<java.lang.Integer>
1556 return ((bitField0_ & 0x00000001) != 0) ?
1557 java.util.Collections.unmodifiableList(variables_) : variables_;
1569 return variables_.size();
1581 return variables_.getInt(index);
1593 int index,
int value) {
1594 ensureVariablesIsMutable();
1595 variables_.setInt(index, value);
1609 ensureVariablesIsMutable();
1610 variables_.addInt(value);
1624 java.lang.Iterable<? extends java.lang.Integer> values) {
1625 ensureVariablesIsMutable();
1626 com.
google.protobuf.AbstractMessageLite.Builder.addAll(
1627 values, variables_);
1641 variables_ = emptyIntList();
1642 bitField0_ = (bitField0_ & ~0x00000001);
1647 private int variableSelectionStrategy_ = 0;
1652 return variableSelectionStrategy_;
1658 variableSelectionStrategy_ = value;
1666 @SuppressWarnings(
"deprecation")
1674 if (value ==
null) {
1675 throw new NullPointerException();
1678 variableSelectionStrategy_ = value.getNumber();
1687 variableSelectionStrategy_ = 0;
1692 private int domainReductionStrategy_ = 0;
1697 return domainReductionStrategy_;
1703 domainReductionStrategy_ = value;
1711 @SuppressWarnings(
"deprecation")
1719 if (value ==
null) {
1720 throw new NullPointerException();
1723 domainReductionStrategy_ = value.getNumber();
1732 domainReductionStrategy_ = 0;
1738 java.util.Collections.emptyList();
1739 private void ensureTransformationsIsMutable() {
1740 if (!((bitField0_ & 0x00000008) != 0)) {
1742 bitField0_ |= 0x00000008;
1746 private com.
google.protobuf.RepeatedFieldBuilderV3<
1753 if (transformationsBuilder_ ==
null) {
1754 return java.util.Collections.unmodifiableList(transformations_);
1756 return transformationsBuilder_.getMessageList();
1763 if (transformationsBuilder_ ==
null) {
1764 return transformations_.size();
1766 return transformationsBuilder_.getCount();
1773 if (transformationsBuilder_ ==
null) {
1774 return transformations_.get(index);
1776 return transformationsBuilder_.getMessage(index);
1784 if (transformationsBuilder_ ==
null) {
1785 if (value ==
null) {
1786 throw new NullPointerException();
1788 ensureTransformationsIsMutable();
1789 transformations_.set(index, value);
1792 transformationsBuilder_.setMessage(index, value);
1801 if (transformationsBuilder_ ==
null) {
1802 ensureTransformationsIsMutable();
1803 transformations_.set(index, builderForValue.build());
1806 transformationsBuilder_.setMessage(index, builderForValue.build());
1814 if (transformationsBuilder_ ==
null) {
1815 if (value ==
null) {
1816 throw new NullPointerException();
1818 ensureTransformationsIsMutable();
1819 transformations_.add(value);
1822 transformationsBuilder_.addMessage(value);
1831 if (transformationsBuilder_ ==
null) {
1832 if (value ==
null) {
1833 throw new NullPointerException();
1835 ensureTransformationsIsMutable();
1836 transformations_.add(index, value);
1839 transformationsBuilder_.addMessage(index, value);
1848 if (transformationsBuilder_ ==
null) {
1849 ensureTransformationsIsMutable();
1850 transformations_.add(builderForValue.build());
1853 transformationsBuilder_.addMessage(builderForValue.build());
1862 if (transformationsBuilder_ ==
null) {
1863 ensureTransformationsIsMutable();
1864 transformations_.add(index, builderForValue.build());
1867 transformationsBuilder_.addMessage(index, builderForValue.build());
1876 if (transformationsBuilder_ ==
null) {
1877 ensureTransformationsIsMutable();
1878 com.
google.protobuf.AbstractMessageLite.Builder.addAll(
1879 values, transformations_);
1882 transformationsBuilder_.addAllMessages(values);
1890 if (transformationsBuilder_ ==
null) {
1891 transformations_ = java.util.Collections.emptyList();
1892 bitField0_ = (bitField0_ & ~0x00000008);
1895 transformationsBuilder_.clear();
1903 if (transformationsBuilder_ ==
null) {
1904 ensureTransformationsIsMutable();
1905 transformations_.remove(index);
1908 transformationsBuilder_.remove(index);
1917 return getTransformationsFieldBuilder().getBuilder(index);
1924 if (transformationsBuilder_ ==
null) {
1925 return transformations_.get(index); }
else {
1926 return transformationsBuilder_.getMessageOrBuilder(index);
1934 if (transformationsBuilder_ !=
null) {
1935 return transformationsBuilder_.getMessageOrBuilderList();
1937 return java.util.Collections.unmodifiableList(transformations_);
1944 return getTransformationsFieldBuilder().addBuilder(
1952 return getTransformationsFieldBuilder().addBuilder(
1960 return getTransformationsFieldBuilder().getBuilderList();
1962 private com.
google.protobuf.RepeatedFieldBuilderV3<
1964 getTransformationsFieldBuilder() {
1965 if (transformationsBuilder_ ==
null) {
1966 transformationsBuilder_ =
new com.
google.protobuf.RepeatedFieldBuilderV3<
1969 ((bitField0_ & 0x00000008) != 0),
1970 getParentForChildren(),
1972 transformations_ =
null;
1974 return transformationsBuilder_;
1978 final com.
google.protobuf.UnknownFieldSet unknownFields) {
1984 final com.
google.protobuf.UnknownFieldSet unknownFields) {
1999 return DEFAULT_INSTANCE;
2006 com.
google.protobuf.CodedInputStream input,
2007 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
2008 throws com.
google.protobuf.InvalidProtocolBufferException {
2024 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)