4 package com.google.ortools.sat;
14 com.google.protobuf.GeneratedMessageV3 implements
17 private static final long serialVersionUID = 0L;
24 variables_ = java.util.Collections.emptyList();
25 constraints_ = java.util.Collections.emptyList();
26 searchStrategy_ = java.util.Collections.emptyList();
30 @SuppressWarnings({
"unused"})
32 UnusedPrivateParameter unused) {
37 public final com.
google.protobuf.UnknownFieldSet
39 return this.unknownFields;
42 com.
google.protobuf.CodedInputStream input,
43 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
44 throws com.
google.protobuf.InvalidProtocolBufferException {
46 if (extensionRegistry ==
null) {
47 throw new java.lang.NullPointerException();
49 int mutable_bitField0_ = 0;
50 com.
google.protobuf.UnknownFieldSet.Builder unknownFields =
51 com.
google.protobuf.UnknownFieldSet.newBuilder();
55 int tag = input.readTag();
61 java.lang.String s = input.readStringRequireUtf8();
67 if (!((mutable_bitField0_ & 0x00000001) != 0)) {
69 mutable_bitField0_ |= 0x00000001;
76 if (!((mutable_bitField0_ & 0x00000002) != 0)) {
78 mutable_bitField0_ |= 0x00000002;
86 if (objective_ !=
null) {
90 if (subBuilder !=
null) {
91 subBuilder.mergeFrom(objective_);
92 objective_ = subBuilder.buildPartial();
98 if (!((mutable_bitField0_ & 0x00000004) != 0)) {
100 mutable_bitField0_ |= 0x00000004;
108 if (solutionHint_ !=
null) {
112 if (subBuilder !=
null) {
113 subBuilder.mergeFrom(solutionHint_);
114 solutionHint_ = subBuilder.buildPartial();
120 if (!parseUnknownField(
121 input, unknownFields, extensionRegistry, tag)) {
128 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
129 throw e.setUnfinishedMessage(
this);
130 }
catch (java.io.IOException e) {
131 throw new com.
google.protobuf.InvalidProtocolBufferException(
132 e).setUnfinishedMessage(
this);
134 if (((mutable_bitField0_ & 0x00000001) != 0)) {
135 variables_ = java.util.Collections.unmodifiableList(variables_);
137 if (((mutable_bitField0_ & 0x00000002) != 0)) {
138 constraints_ = java.util.Collections.unmodifiableList(constraints_);
140 if (((mutable_bitField0_ & 0x00000004) != 0)) {
141 searchStrategy_ = java.util.Collections.unmodifiableList(searchStrategy_);
143 this.unknownFields = unknownFields.build();
144 makeExtensionsImmutable();
147 public static final com.
google.protobuf.Descriptors.Descriptor
153 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
156 .ensureFieldAccessorsInitialized(
161 private volatile java.lang.Object name_;
170 java.lang.Object ref = name_;
171 if (ref instanceof java.lang.String) {
172 return (java.lang.String) ref;
176 java.lang.String s = bs.toStringUtf8();
190 java.lang.Object ref = name_;
191 if (ref instanceof java.lang.String) {
193 com.
google.protobuf.ByteString.copyFromUtf8(
194 (java.lang.String) ref);
198 return (
com.
google.protobuf.ByteString) ref;
233 return variables_.size();
243 return variables_.get(index);
254 return variables_.get(index);
276 return constraints_.size();
282 return constraints_.get(index);
289 return constraints_.get(index);
302 return objective_ !=
null;
343 return searchStrategy_;
362 return searchStrategy_;
380 return searchStrategy_.size();
398 return searchStrategy_.get(index);
417 return searchStrategy_.get(index);
438 return solutionHint_ !=
null;
477 private byte memoizedIsInitialized = -1;
484 memoizedIsInitialized = 1;
490 throws java.io.IOException {
492 com.
google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
494 for (
int i = 0; i < variables_.size(); i++) {
495 output.writeMessage(2, variables_.get(i));
497 for (
int i = 0; i < constraints_.size(); i++) {
498 output.writeMessage(3, constraints_.get(i));
500 if (objective_ !=
null) {
503 for (
int i = 0; i < searchStrategy_.size(); i++) {
504 output.writeMessage(5, searchStrategy_.get(i));
506 if (solutionHint_ !=
null) {
509 unknownFields.writeTo(output);
514 int size = memoizedSize;
515 if (size != -1)
return size;
519 size +=
com.
google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
521 for (
int i = 0; i < variables_.size(); i++) {
522 size +=
com.
google.protobuf.CodedOutputStream
523 .computeMessageSize(2, variables_.get(i));
525 for (
int i = 0; i < constraints_.size(); i++) {
526 size +=
com.
google.protobuf.CodedOutputStream
527 .computeMessageSize(3, constraints_.get(i));
529 if (objective_ !=
null) {
530 size +=
com.
google.protobuf.CodedOutputStream
533 for (
int i = 0; i < searchStrategy_.size(); i++) {
534 size +=
com.
google.protobuf.CodedOutputStream
535 .computeMessageSize(5, searchStrategy_.get(i));
537 if (solutionHint_ !=
null) {
538 size +=
com.
google.protobuf.CodedOutputStream
541 size += unknownFields.getSerializedSize();
547 public boolean equals(
final java.lang.Object obj) {
552 return super.equals(obj);
557 .equals(other.getName()))
return false;
559 .equals(other.getVariablesList()))
return false;
561 .equals(other.getConstraintsList()))
return false;
562 if (
hasObjective() != other.hasObjective())
return false;
565 .
equals(other.getObjective()))
return false;
568 .equals(other.getSearchStrategyList()))
return false;
572 .
equals(other.getSolutionHint()))
return false;
574 if (!unknownFields.equals(other.unknownFields))
return false;
580 if (memoizedHashCode != 0) {
581 return memoizedHashCode;
586 hash = (53 * hash) +
getName().hashCode();
607 hash = (29 * hash) + unknownFields.hashCode();
608 memoizedHashCode = hash;
613 java.nio.ByteBuffer data)
614 throws com.
google.protobuf.InvalidProtocolBufferException {
615 return PARSER.parseFrom(data);
618 java.nio.ByteBuffer data,
619 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
620 throws com.
google.protobuf.InvalidProtocolBufferException {
621 return PARSER.parseFrom(data, extensionRegistry);
625 throws com.
google.protobuf.InvalidProtocolBufferException {
626 return PARSER.parseFrom(data);
630 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
631 throws com.
google.protobuf.InvalidProtocolBufferException {
632 return PARSER.parseFrom(data, extensionRegistry);
635 throws com.
google.protobuf.InvalidProtocolBufferException {
636 return PARSER.parseFrom(data);
640 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
641 throws com.
google.protobuf.InvalidProtocolBufferException {
642 return PARSER.parseFrom(data, extensionRegistry);
645 throws java.io.IOException {
646 return com.
google.protobuf.GeneratedMessageV3
647 .parseWithIOException(PARSER, input);
650 java.io.InputStream input,
651 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
652 throws java.io.IOException {
653 return com.
google.protobuf.GeneratedMessageV3
654 .parseWithIOException(PARSER, input, extensionRegistry);
657 throws java.io.IOException {
658 return com.
google.protobuf.GeneratedMessageV3
659 .parseDelimitedWithIOException(PARSER, input);
662 java.io.InputStream input,
663 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
664 throws java.io.IOException {
665 return com.
google.protobuf.GeneratedMessageV3
666 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
669 com.
google.protobuf.CodedInputStream input)
670 throws java.io.IOException {
671 return com.
google.protobuf.GeneratedMessageV3
672 .parseWithIOException(PARSER, input);
675 com.
google.protobuf.CodedInputStream input,
676 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
677 throws java.io.IOException {
678 return com.
google.protobuf.GeneratedMessageV3
679 .parseWithIOException(PARSER, input, extensionRegistry);
692 return this == DEFAULT_INSTANCE
698 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
710 com.google.protobuf.GeneratedMessageV3.
Builder<Builder> implements
713 public static final com.
google.protobuf.Descriptors.Descriptor
719 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
722 .ensureFieldAccessorsInitialized(
728 maybeForceBuilderInitialization();
732 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
734 maybeForceBuilderInitialization();
736 private void maybeForceBuilderInitialization() {
737 if (
com.
google.protobuf.GeneratedMessageV3
738 .alwaysUseFieldBuilders) {
739 getVariablesFieldBuilder();
740 getConstraintsFieldBuilder();
741 getSearchStrategyFieldBuilder();
749 if (variablesBuilder_ ==
null) {
750 variables_ = java.util.Collections.emptyList();
751 bitField0_ = (bitField0_ & ~0x00000001);
753 variablesBuilder_.clear();
755 if (constraintsBuilder_ ==
null) {
756 constraints_ = java.util.Collections.emptyList();
757 bitField0_ = (bitField0_ & ~0x00000002);
759 constraintsBuilder_.clear();
761 if (objectiveBuilder_ ==
null) {
765 objectiveBuilder_ =
null;
767 if (searchStrategyBuilder_ ==
null) {
768 searchStrategy_ = java.util.Collections.emptyList();
769 bitField0_ = (bitField0_ & ~0x00000004);
771 searchStrategyBuilder_.clear();
773 if (solutionHintBuilder_ ==
null) {
774 solutionHint_ =
null;
776 solutionHint_ =
null;
777 solutionHintBuilder_ =
null;
783 public com.
google.protobuf.Descriptors.Descriptor
796 if (!result.isInitialized()) {
797 throw newUninitializedMessageException(result);
805 int from_bitField0_ = bitField0_;
806 result.name_ = name_;
807 if (variablesBuilder_ ==
null) {
808 if (((bitField0_ & 0x00000001) != 0)) {
809 variables_ = java.util.Collections.unmodifiableList(variables_);
810 bitField0_ = (bitField0_ & ~0x00000001);
812 result.variables_ = variables_;
814 result.variables_ = variablesBuilder_.build();
816 if (constraintsBuilder_ ==
null) {
817 if (((bitField0_ & 0x00000002) != 0)) {
818 constraints_ = java.util.Collections.unmodifiableList(constraints_);
819 bitField0_ = (bitField0_ & ~0x00000002);
821 result.constraints_ = constraints_;
823 result.constraints_ = constraintsBuilder_.build();
825 if (objectiveBuilder_ ==
null) {
826 result.objective_ = objective_;
828 result.objective_ = objectiveBuilder_.build();
830 if (searchStrategyBuilder_ ==
null) {
831 if (((bitField0_ & 0x00000004) != 0)) {
832 searchStrategy_ = java.util.Collections.unmodifiableList(searchStrategy_);
833 bitField0_ = (bitField0_ & ~0x00000004);
835 result.searchStrategy_ = searchStrategy_;
837 result.searchStrategy_ = searchStrategyBuilder_.build();
839 if (solutionHintBuilder_ ==
null) {
840 result.solutionHint_ = solutionHint_;
842 result.solutionHint_ = solutionHintBuilder_.build();
850 return super.
clone();
854 com.
google.protobuf.Descriptors.FieldDescriptor field,
855 java.lang.Object value) {
856 return super.
setField(field, value);
860 com.
google.protobuf.Descriptors.FieldDescriptor field) {
865 com.
google.protobuf.Descriptors.OneofDescriptor oneof) {
870 com.
google.protobuf.Descriptors.FieldDescriptor field,
871 int index, java.lang.Object value) {
876 com.
google.protobuf.Descriptors.FieldDescriptor field,
877 java.lang.Object value) {
885 super.mergeFrom(other);
892 if (!other.getName().isEmpty()) {
896 if (variablesBuilder_ ==
null) {
897 if (!other.variables_.isEmpty()) {
898 if (variables_.isEmpty()) {
899 variables_ = other.variables_;
900 bitField0_ = (bitField0_ & ~0x00000001);
902 ensureVariablesIsMutable();
903 variables_.addAll(other.variables_);
908 if (!other.variables_.isEmpty()) {
909 if (variablesBuilder_.isEmpty()) {
910 variablesBuilder_.dispose();
911 variablesBuilder_ =
null;
912 variables_ = other.variables_;
913 bitField0_ = (bitField0_ & ~0x00000001);
915 com.
google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
916 getVariablesFieldBuilder() :
null;
918 variablesBuilder_.addAllMessages(other.variables_);
922 if (constraintsBuilder_ ==
null) {
923 if (!other.constraints_.isEmpty()) {
924 if (constraints_.isEmpty()) {
925 constraints_ = other.constraints_;
926 bitField0_ = (bitField0_ & ~0x00000002);
928 ensureConstraintsIsMutable();
929 constraints_.addAll(other.constraints_);
934 if (!other.constraints_.isEmpty()) {
935 if (constraintsBuilder_.isEmpty()) {
936 constraintsBuilder_.dispose();
937 constraintsBuilder_ =
null;
938 constraints_ = other.constraints_;
939 bitField0_ = (bitField0_ & ~0x00000002);
940 constraintsBuilder_ =
941 com.
google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
942 getConstraintsFieldBuilder() :
null;
944 constraintsBuilder_.addAllMessages(other.constraints_);
948 if (other.hasObjective()) {
951 if (searchStrategyBuilder_ ==
null) {
952 if (!other.searchStrategy_.isEmpty()) {
953 if (searchStrategy_.isEmpty()) {
954 searchStrategy_ = other.searchStrategy_;
955 bitField0_ = (bitField0_ & ~0x00000004);
957 ensureSearchStrategyIsMutable();
958 searchStrategy_.addAll(other.searchStrategy_);
963 if (!other.searchStrategy_.isEmpty()) {
964 if (searchStrategyBuilder_.isEmpty()) {
965 searchStrategyBuilder_.dispose();
966 searchStrategyBuilder_ =
null;
967 searchStrategy_ = other.searchStrategy_;
968 bitField0_ = (bitField0_ & ~0x00000004);
969 searchStrategyBuilder_ =
970 com.
google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
971 getSearchStrategyFieldBuilder() :
null;
973 searchStrategyBuilder_.addAllMessages(other.searchStrategy_);
977 if (other.hasSolutionHint()) {
992 com.
google.protobuf.CodedInputStream input,
993 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
994 throws java.io.IOException {
997 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
998 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
1000 throw e.unwrapIOException();
1002 if (parsedMessage !=
null) {
1008 private int bitField0_;
1010 private java.lang.Object name_ =
"";
1019 java.lang.Object ref = name_;
1020 if (!(ref instanceof java.lang.String)) {
1023 java.lang.String s = bs.toStringUtf8();
1027 return (java.lang.String) ref;
1039 java.lang.Object ref = name_;
1040 if (ref instanceof String) {
1042 com.
google.protobuf.ByteString.copyFromUtf8(
1043 (java.lang.String) ref);
1047 return (
com.
google.protobuf.ByteString) ref;
1058 java.lang.String value) {
1059 if (value ==
null) {
1060 throw new NullPointerException();
1089 if (value ==
null) {
1090 throw new NullPointerException();
1092 checkByteStringIsUtf8(value);
1100 java.util.Collections.emptyList();
1101 private void ensureVariablesIsMutable() {
1102 if (!((bitField0_ & 0x00000001) != 0)) {
1104 bitField0_ |= 0x00000001;
1108 private com.
google.protobuf.RepeatedFieldBuilderV3<
1119 if (variablesBuilder_ ==
null) {
1120 return java.util.Collections.unmodifiableList(variables_);
1122 return variablesBuilder_.getMessageList();
1133 if (variablesBuilder_ ==
null) {
1134 return variables_.size();
1136 return variablesBuilder_.getCount();
1147 if (variablesBuilder_ ==
null) {
1148 return variables_.get(index);
1150 return variablesBuilder_.getMessage(index);
1162 if (variablesBuilder_ ==
null) {
1163 if (value ==
null) {
1164 throw new NullPointerException();
1166 ensureVariablesIsMutable();
1167 variables_.set(index, value);
1170 variablesBuilder_.setMessage(index, value);
1183 if (variablesBuilder_ ==
null) {
1184 ensureVariablesIsMutable();
1185 variables_.set(index, builderForValue.build());
1188 variablesBuilder_.setMessage(index, builderForValue.build());
1200 if (variablesBuilder_ ==
null) {
1201 if (value ==
null) {
1202 throw new NullPointerException();
1204 ensureVariablesIsMutable();
1205 variables_.add(value);
1208 variablesBuilder_.addMessage(value);
1221 if (variablesBuilder_ ==
null) {
1222 if (value ==
null) {
1223 throw new NullPointerException();
1225 ensureVariablesIsMutable();
1226 variables_.add(index, value);
1229 variablesBuilder_.addMessage(index, value);
1242 if (variablesBuilder_ ==
null) {
1243 ensureVariablesIsMutable();
1244 variables_.add(builderForValue.build());
1247 variablesBuilder_.addMessage(builderForValue.build());
1260 if (variablesBuilder_ ==
null) {
1261 ensureVariablesIsMutable();
1262 variables_.add(index, builderForValue.build());
1265 variablesBuilder_.addMessage(index, builderForValue.build());
1278 if (variablesBuilder_ ==
null) {
1279 ensureVariablesIsMutable();
1280 com.
google.protobuf.AbstractMessageLite.Builder.addAll(
1281 values, variables_);
1284 variablesBuilder_.addAllMessages(values);
1296 if (variablesBuilder_ ==
null) {
1297 variables_ = java.util.Collections.emptyList();
1298 bitField0_ = (bitField0_ & ~0x00000001);
1301 variablesBuilder_.clear();
1313 if (variablesBuilder_ ==
null) {
1314 ensureVariablesIsMutable();
1315 variables_.remove(index);
1318 variablesBuilder_.remove(index);
1331 return getVariablesFieldBuilder().getBuilder(index);
1342 if (variablesBuilder_ ==
null) {
1343 return variables_.get(index); }
else {
1344 return variablesBuilder_.getMessageOrBuilder(index);
1356 if (variablesBuilder_ !=
null) {
1357 return variablesBuilder_.getMessageOrBuilderList();
1359 return java.util.Collections.unmodifiableList(variables_);
1370 return getVariablesFieldBuilder().addBuilder(
1382 return getVariablesFieldBuilder().addBuilder(
1394 return getVariablesFieldBuilder().getBuilderList();
1396 private com.
google.protobuf.RepeatedFieldBuilderV3<
1398 getVariablesFieldBuilder() {
1399 if (variablesBuilder_ ==
null) {
1400 variablesBuilder_ =
new com.
google.protobuf.RepeatedFieldBuilderV3<
1403 ((bitField0_ & 0x00000001) != 0),
1404 getParentForChildren(),
1408 return variablesBuilder_;
1412 java.util.Collections.emptyList();
1413 private void ensureConstraintsIsMutable() {
1414 if (!((bitField0_ & 0x00000002) != 0)) {
1416 bitField0_ |= 0x00000002;
1420 private com.
google.protobuf.RepeatedFieldBuilderV3<
1427 if (constraintsBuilder_ ==
null) {
1428 return java.util.Collections.unmodifiableList(constraints_);
1430 return constraintsBuilder_.getMessageList();
1437 if (constraintsBuilder_ ==
null) {
1438 return constraints_.size();
1440 return constraintsBuilder_.getCount();
1447 if (constraintsBuilder_ ==
null) {
1448 return constraints_.get(index);
1450 return constraintsBuilder_.getMessage(index);
1458 if (constraintsBuilder_ ==
null) {
1459 if (value ==
null) {
1460 throw new NullPointerException();
1462 ensureConstraintsIsMutable();
1463 constraints_.set(index, value);
1466 constraintsBuilder_.setMessage(index, value);
1475 if (constraintsBuilder_ ==
null) {
1476 ensureConstraintsIsMutable();
1477 constraints_.set(index, builderForValue.build());
1480 constraintsBuilder_.setMessage(index, builderForValue.build());
1488 if (constraintsBuilder_ ==
null) {
1489 if (value ==
null) {
1490 throw new NullPointerException();
1492 ensureConstraintsIsMutable();
1493 constraints_.add(value);
1496 constraintsBuilder_.addMessage(value);
1505 if (constraintsBuilder_ ==
null) {
1506 if (value ==
null) {
1507 throw new NullPointerException();
1509 ensureConstraintsIsMutable();
1510 constraints_.add(index, value);
1513 constraintsBuilder_.addMessage(index, value);
1522 if (constraintsBuilder_ ==
null) {
1523 ensureConstraintsIsMutable();
1524 constraints_.add(builderForValue.build());
1527 constraintsBuilder_.addMessage(builderForValue.build());
1536 if (constraintsBuilder_ ==
null) {
1537 ensureConstraintsIsMutable();
1538 constraints_.add(index, builderForValue.build());
1541 constraintsBuilder_.addMessage(index, builderForValue.build());
1550 if (constraintsBuilder_ ==
null) {
1551 ensureConstraintsIsMutable();
1552 com.
google.protobuf.AbstractMessageLite.Builder.addAll(
1553 values, constraints_);
1556 constraintsBuilder_.addAllMessages(values);
1564 if (constraintsBuilder_ ==
null) {
1565 constraints_ = java.util.Collections.emptyList();
1566 bitField0_ = (bitField0_ & ~0x00000002);
1569 constraintsBuilder_.clear();
1577 if (constraintsBuilder_ ==
null) {
1578 ensureConstraintsIsMutable();
1579 constraints_.remove(index);
1582 constraintsBuilder_.remove(index);
1591 return getConstraintsFieldBuilder().getBuilder(index);
1598 if (constraintsBuilder_ ==
null) {
1599 return constraints_.get(index); }
else {
1600 return constraintsBuilder_.getMessageOrBuilder(index);
1608 if (constraintsBuilder_ !=
null) {
1609 return constraintsBuilder_.getMessageOrBuilderList();
1611 return java.util.Collections.unmodifiableList(constraints_);
1618 return getConstraintsFieldBuilder().addBuilder(
1626 return getConstraintsFieldBuilder().addBuilder(
1634 return getConstraintsFieldBuilder().getBuilderList();
1636 private com.
google.protobuf.RepeatedFieldBuilderV3<
1638 getConstraintsFieldBuilder() {
1639 if (constraintsBuilder_ ==
null) {
1640 constraintsBuilder_ =
new com.
google.protobuf.RepeatedFieldBuilderV3<
1643 ((bitField0_ & 0x00000002) != 0),
1644 getParentForChildren(),
1646 constraints_ =
null;
1648 return constraintsBuilder_;
1652 private com.
google.protobuf.SingleFieldBuilderV3<
1662 return objectiveBuilder_ !=
null || objective_ !=
null;
1672 if (objectiveBuilder_ ==
null) {
1675 return objectiveBuilder_.getMessage();
1686 if (objectiveBuilder_ ==
null) {
1687 if (value ==
null) {
1688 throw new NullPointerException();
1693 objectiveBuilder_.setMessage(value);
1707 if (objectiveBuilder_ ==
null) {
1708 objective_ = builderForValue.build();
1711 objectiveBuilder_.setMessage(builderForValue.build());
1724 if (objectiveBuilder_ ==
null) {
1725 if (objective_ !=
null) {
1733 objectiveBuilder_.mergeFrom(value);
1746 if (objectiveBuilder_ ==
null) {
1751 objectiveBuilder_ =
null;
1766 return getObjectiveFieldBuilder().getBuilder();
1776 if (objectiveBuilder_ !=
null) {
1777 return objectiveBuilder_.getMessageOrBuilder();
1779 return objective_ ==
null ?
1790 private com.
google.protobuf.SingleFieldBuilderV3<
1792 getObjectiveFieldBuilder() {
1793 if (objectiveBuilder_ ==
null) {
1794 objectiveBuilder_ =
new com.
google.protobuf.SingleFieldBuilderV3<
1797 getParentForChildren(),
1801 return objectiveBuilder_;
1805 java.util.Collections.emptyList();
1806 private void ensureSearchStrategyIsMutable() {
1807 if (!((bitField0_ & 0x00000004) != 0)) {
1809 bitField0_ |= 0x00000004;
1813 private com.
google.protobuf.RepeatedFieldBuilderV3<
1832 if (searchStrategyBuilder_ ==
null) {
1833 return java.util.Collections.unmodifiableList(searchStrategy_);
1835 return searchStrategyBuilder_.getMessageList();
1854 if (searchStrategyBuilder_ ==
null) {
1855 return searchStrategy_.size();
1857 return searchStrategyBuilder_.getCount();
1876 if (searchStrategyBuilder_ ==
null) {
1877 return searchStrategy_.get(index);
1879 return searchStrategyBuilder_.getMessage(index);
1899 if (searchStrategyBuilder_ ==
null) {
1900 if (value ==
null) {
1901 throw new NullPointerException();
1903 ensureSearchStrategyIsMutable();
1904 searchStrategy_.set(index, value);
1907 searchStrategyBuilder_.setMessage(index, value);
1928 if (searchStrategyBuilder_ ==
null) {
1929 ensureSearchStrategyIsMutable();
1930 searchStrategy_.set(index, builderForValue.build());
1933 searchStrategyBuilder_.setMessage(index, builderForValue.build());
1953 if (searchStrategyBuilder_ ==
null) {
1954 if (value ==
null) {
1955 throw new NullPointerException();
1957 ensureSearchStrategyIsMutable();
1958 searchStrategy_.add(value);
1961 searchStrategyBuilder_.addMessage(value);
1982 if (searchStrategyBuilder_ ==
null) {
1983 if (value ==
null) {
1984 throw new NullPointerException();
1986 ensureSearchStrategyIsMutable();
1987 searchStrategy_.add(index, value);
1990 searchStrategyBuilder_.addMessage(index, value);
2011 if (searchStrategyBuilder_ ==
null) {
2012 ensureSearchStrategyIsMutable();
2013 searchStrategy_.add(builderForValue.build());
2016 searchStrategyBuilder_.addMessage(builderForValue.build());
2037 if (searchStrategyBuilder_ ==
null) {
2038 ensureSearchStrategyIsMutable();
2039 searchStrategy_.add(index, builderForValue.build());
2042 searchStrategyBuilder_.addMessage(index, builderForValue.build());
2063 if (searchStrategyBuilder_ ==
null) {
2064 ensureSearchStrategyIsMutable();
2065 com.
google.protobuf.AbstractMessageLite.Builder.addAll(
2066 values, searchStrategy_);
2069 searchStrategyBuilder_.addAllMessages(values);
2089 if (searchStrategyBuilder_ ==
null) {
2090 searchStrategy_ = java.util.Collections.emptyList();
2091 bitField0_ = (bitField0_ & ~0x00000004);
2094 searchStrategyBuilder_.clear();
2114 if (searchStrategyBuilder_ ==
null) {
2115 ensureSearchStrategyIsMutable();
2116 searchStrategy_.remove(index);
2119 searchStrategyBuilder_.remove(index);
2140 return getSearchStrategyFieldBuilder().getBuilder(index);
2159 if (searchStrategyBuilder_ ==
null) {
2160 return searchStrategy_.get(index); }
else {
2161 return searchStrategyBuilder_.getMessageOrBuilder(index);
2181 if (searchStrategyBuilder_ !=
null) {
2182 return searchStrategyBuilder_.getMessageOrBuilderList();
2184 return java.util.Collections.unmodifiableList(searchStrategy_);
2203 return getSearchStrategyFieldBuilder().addBuilder(
2223 return getSearchStrategyFieldBuilder().addBuilder(
2243 return getSearchStrategyFieldBuilder().getBuilderList();
2245 private com.
google.protobuf.RepeatedFieldBuilderV3<
2247 getSearchStrategyFieldBuilder() {
2248 if (searchStrategyBuilder_ ==
null) {
2249 searchStrategyBuilder_ =
new com.
google.protobuf.RepeatedFieldBuilderV3<
2252 ((bitField0_ & 0x00000004) != 0),
2253 getParentForChildren(),
2255 searchStrategy_ =
null;
2257 return searchStrategyBuilder_;
2261 private com.
google.protobuf.SingleFieldBuilderV3<
2279 return solutionHintBuilder_ !=
null || solutionHint_ !=
null;
2297 if (solutionHintBuilder_ ==
null) {
2300 return solutionHintBuilder_.getMessage();
2319 if (solutionHintBuilder_ ==
null) {
2320 if (value ==
null) {
2321 throw new NullPointerException();
2323 solutionHint_ = value;
2326 solutionHintBuilder_.setMessage(value);
2348 if (solutionHintBuilder_ ==
null) {
2349 solutionHint_ = builderForValue.build();
2352 solutionHintBuilder_.setMessage(builderForValue.build());
2373 if (solutionHintBuilder_ ==
null) {
2374 if (solutionHint_ !=
null) {
2378 solutionHint_ = value;
2382 solutionHintBuilder_.mergeFrom(value);
2403 if (solutionHintBuilder_ ==
null) {
2404 solutionHint_ =
null;
2407 solutionHint_ =
null;
2408 solutionHintBuilder_ =
null;
2431 return getSolutionHintFieldBuilder().getBuilder();
2449 if (solutionHintBuilder_ !=
null) {
2450 return solutionHintBuilder_.getMessageOrBuilder();
2452 return solutionHint_ ==
null ?
2471 private com.
google.protobuf.SingleFieldBuilderV3<
2473 getSolutionHintFieldBuilder() {
2474 if (solutionHintBuilder_ ==
null) {
2475 solutionHintBuilder_ =
new com.
google.protobuf.SingleFieldBuilderV3<
2478 getParentForChildren(),
2480 solutionHint_ =
null;
2482 return solutionHintBuilder_;
2486 final com.
google.protobuf.UnknownFieldSet unknownFields) {
2492 final com.
google.protobuf.UnknownFieldSet unknownFields) {
2507 return DEFAULT_INSTANCE;
2514 com.
google.protobuf.CodedInputStream input,
2515 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
2516 throws com.
google.protobuf.InvalidProtocolBufferException {
2532 return DEFAULT_INSTANCE;