734 int size = memoizedSize;
735 if (size != -1)
return size;
738 if (((bitField0_ & 0x00000001) != 0)) {
739 size += com.google.protobuf.GeneratedMessage.computeStringSize(1, instanceName_);
741 if (((bitField0_ & 0x00000004) != 0)) {
742 size += com.google.protobuf.CodedOutputStream
743 .computeEnumSize(3, terminationReason_);
745 if (((bitField0_ & 0x00000008) != 0)) {
746 size += com.google.protobuf.GeneratedMessage.computeStringSize(4, terminationString_);
748 if (((bitField0_ & 0x00000010) != 0)) {
749 size += com.google.protobuf.CodedOutputStream
750 .computeInt32Size(5, iterationCount_);
752 if (((bitField0_ & 0x00000040) != 0)) {
753 size += com.google.protobuf.CodedOutputStream
754 .computeDoubleSize(6, solveTimeSec_);
756 for (
int i = 0; i < iterationStats_.size(); i++) {
757 size += com.google.protobuf.CodedOutputStream
758 .computeMessageSize(7, iterationStats_.get(i));
760 if (((bitField0_ & 0x00000080) != 0)) {
761 size += com.google.protobuf.CodedOutputStream
764 if (((bitField0_ & 0x00000100) != 0)) {
765 size += com.google.protobuf.CodedOutputStream
766 .computeEnumSize(10, solutionType_);
768 if (((bitField0_ & 0x00000200) != 0)) {
769 size += com.google.protobuf.CodedOutputStream
772 if (((bitField0_ & 0x00000400) != 0)) {
773 size += com.google.protobuf.CodedOutputStream
776 if (((bitField0_ & 0x00000020) != 0)) {
777 size += com.google.protobuf.CodedOutputStream
778 .computeDoubleSize(13, preprocessingTimeSec_);
780 if (((bitField0_ & 0x00000002) != 0)) {
781 size += com.google.protobuf.CodedOutputStream
784 for (
int i = 0; i < feasibilityPolishingDetails_.size(); i++) {
785 size += com.google.protobuf.CodedOutputStream
786 .computeMessageSize(15, feasibilityPolishingDetails_.get(i));
788 size += getUnknownFields().getSerializedSize();
1028 com.google.protobuf.GeneratedMessage.
Builder<Builder> implements
1031 public static final com.google.protobuf.Descriptors.Descriptor
1033 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_SolveLog_descriptor;
1037 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1039 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_SolveLog_fieldAccessorTable
1040 .ensureFieldAccessorsInitialized(
1041 com.google.ortools.pdlp.SolveLog.class, com.google.ortools.pdlp.SolveLog.Builder.class);
1046 maybeForceBuilderInitialization();
1050 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1052 maybeForceBuilderInitialization();
1054 private void maybeForceBuilderInitialization() {
1055 if (com.google.protobuf.GeneratedMessage
1056 .alwaysUseFieldBuilders) {
1057 getParamsFieldBuilder();
1058 getSolutionStatsFieldBuilder();
1059 getIterationStatsFieldBuilder();
1060 getOriginalProblemStatsFieldBuilder();
1061 getPreprocessedProblemStatsFieldBuilder();
1062 getFeasibilityPolishingDetailsFieldBuilder();
1071 if (paramsBuilder_ !=
null) {
1072 paramsBuilder_.dispose();
1073 paramsBuilder_ =
null;
1075 terminationReason_ = 0;
1076 terminationString_ =
"";
1077 iterationCount_ = 0;
1078 preprocessingTimeSec_ = 0D;
1080 solutionStats_ =
null;
1081 if (solutionStatsBuilder_ !=
null) {
1082 solutionStatsBuilder_.dispose();
1083 solutionStatsBuilder_ =
null;
1086 if (iterationStatsBuilder_ ==
null) {
1087 iterationStats_ = java.util.Collections.emptyList();
1089 iterationStats_ =
null;
1090 iterationStatsBuilder_.clear();
1092 bitField0_ = (bitField0_ & ~0x00000200);
1093 originalProblemStats_ =
null;
1094 if (originalProblemStatsBuilder_ !=
null) {
1095 originalProblemStatsBuilder_.dispose();
1096 originalProblemStatsBuilder_ =
null;
1098 preprocessedProblemStats_ =
null;
1099 if (preprocessedProblemStatsBuilder_ !=
null) {
1100 preprocessedProblemStatsBuilder_.dispose();
1101 preprocessedProblemStatsBuilder_ =
null;
1103 if (feasibilityPolishingDetailsBuilder_ ==
null) {
1104 feasibilityPolishingDetails_ = java.util.Collections.emptyList();
1106 feasibilityPolishingDetails_ =
null;
1107 feasibilityPolishingDetailsBuilder_.clear();
1109 bitField0_ = (bitField0_ & ~0x00001000);
1114 public com.google.protobuf.Descriptors.Descriptor
1116 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_SolveLog_descriptor;
1121 return com.google.ortools.pdlp.SolveLog.getDefaultInstance();
1128 throw newUninitializedMessageException(result);
1136 buildPartialRepeatedFields(result);
1137 if (bitField0_ != 0) { buildPartial0(result); }
1142 private void buildPartialRepeatedFields(com.google.ortools.pdlp.SolveLog result) {
1143 if (iterationStatsBuilder_ ==
null) {
1144 if (((bitField0_ & 0x00000200) != 0)) {
1145 iterationStats_ = java.util.Collections.unmodifiableList(iterationStats_);
1146 bitField0_ = (bitField0_ & ~0x00000200);
1148 result.iterationStats_ = iterationStats_;
1150 result.iterationStats_ = iterationStatsBuilder_.build();
1152 if (feasibilityPolishingDetailsBuilder_ ==
null) {
1153 if (((bitField0_ & 0x00001000) != 0)) {
1154 feasibilityPolishingDetails_ = java.util.Collections.unmodifiableList(feasibilityPolishingDetails_);
1155 bitField0_ = (bitField0_ & ~0x00001000);
1157 result.feasibilityPolishingDetails_ = feasibilityPolishingDetails_;
1159 result.feasibilityPolishingDetails_ = feasibilityPolishingDetailsBuilder_.build();
1163 private void buildPartial0(com.google.ortools.pdlp.SolveLog result) {
1164 int from_bitField0_ = bitField0_;
1165 int to_bitField0_ = 0;
1166 if (((from_bitField0_ & 0x00000001) != 0)) {
1167 result.instanceName_ = instanceName_;
1168 to_bitField0_ |= 0x00000001;
1170 if (((from_bitField0_ & 0x00000002) != 0)) {
1171 result.params_ = paramsBuilder_ ==
null
1173 : paramsBuilder_.build();
1174 to_bitField0_ |= 0x00000002;
1176 if (((from_bitField0_ & 0x00000004) != 0)) {
1177 result.terminationReason_ = terminationReason_;
1178 to_bitField0_ |= 0x00000004;
1180 if (((from_bitField0_ & 0x00000008) != 0)) {
1181 result.terminationString_ = terminationString_;
1182 to_bitField0_ |= 0x00000008;
1184 if (((from_bitField0_ & 0x00000010) != 0)) {
1185 result.iterationCount_ = iterationCount_;
1186 to_bitField0_ |= 0x00000010;
1188 if (((from_bitField0_ & 0x00000020) != 0)) {
1189 result.preprocessingTimeSec_ = preprocessingTimeSec_;
1190 to_bitField0_ |= 0x00000020;
1192 if (((from_bitField0_ & 0x00000040) != 0)) {
1193 result.solveTimeSec_ = solveTimeSec_;
1194 to_bitField0_ |= 0x00000040;
1196 if (((from_bitField0_ & 0x00000080) != 0)) {
1197 result.solutionStats_ = solutionStatsBuilder_ ==
null
1199 : solutionStatsBuilder_.build();
1200 to_bitField0_ |= 0x00000080;
1202 if (((from_bitField0_ & 0x00000100) != 0)) {
1203 result.solutionType_ = solutionType_;
1204 to_bitField0_ |= 0x00000100;
1206 if (((from_bitField0_ & 0x00000400) != 0)) {
1207 result.originalProblemStats_ = originalProblemStatsBuilder_ ==
null
1208 ? originalProblemStats_
1209 : originalProblemStatsBuilder_.build();
1210 to_bitField0_ |= 0x00000200;
1212 if (((from_bitField0_ & 0x00000800) != 0)) {
1213 result.preprocessedProblemStats_ = preprocessedProblemStatsBuilder_ ==
null
1214 ? preprocessedProblemStats_
1215 : preprocessedProblemStatsBuilder_.build();
1216 to_bitField0_ |= 0x00000400;
1218 result.bitField0_ |= to_bitField0_;
1223 if (other instanceof com.google.ortools.pdlp.SolveLog) {
1224 return mergeFrom((com.google.ortools.pdlp.SolveLog)other);
1226 super.mergeFrom(other);
1232 if (other == com.google.ortools.pdlp.SolveLog.getDefaultInstance())
return this;
1233 if (other.hasInstanceName()) {
1234 instanceName_ = other.instanceName_;
1235 bitField0_ |= 0x00000001;
1238 if (other.hasParams()) {
1241 if (other.hasTerminationReason()) {
1244 if (other.hasTerminationString()) {
1245 terminationString_ = other.terminationString_;
1246 bitField0_ |= 0x00000008;
1249 if (other.hasIterationCount()) {
1252 if (other.hasPreprocessingTimeSec()) {
1255 if (other.hasSolveTimeSec()) {
1258 if (other.hasSolutionStats()) {
1261 if (other.hasSolutionType()) {
1264 if (iterationStatsBuilder_ ==
null) {
1265 if (!other.iterationStats_.isEmpty()) {
1266 if (iterationStats_.isEmpty()) {
1267 iterationStats_ = other.iterationStats_;
1268 bitField0_ = (bitField0_ & ~0x00000200);
1270 ensureIterationStatsIsMutable();
1271 iterationStats_.addAll(other.iterationStats_);
1276 if (!other.iterationStats_.isEmpty()) {
1277 if (iterationStatsBuilder_.isEmpty()) {
1278 iterationStatsBuilder_.dispose();
1279 iterationStatsBuilder_ =
null;
1280 iterationStats_ = other.iterationStats_;
1281 bitField0_ = (bitField0_ & ~0x00000200);
1282 iterationStatsBuilder_ =
1283 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
1284 getIterationStatsFieldBuilder() :
null;
1286 iterationStatsBuilder_.addAllMessages(other.iterationStats_);
1290 if (other.hasOriginalProblemStats()) {
1293 if (other.hasPreprocessedProblemStats()) {
1296 if (feasibilityPolishingDetailsBuilder_ ==
null) {
1297 if (!other.feasibilityPolishingDetails_.isEmpty()) {
1298 if (feasibilityPolishingDetails_.isEmpty()) {
1299 feasibilityPolishingDetails_ = other.feasibilityPolishingDetails_;
1300 bitField0_ = (bitField0_ & ~0x00001000);
1302 ensureFeasibilityPolishingDetailsIsMutable();
1303 feasibilityPolishingDetails_.addAll(other.feasibilityPolishingDetails_);
1308 if (!other.feasibilityPolishingDetails_.isEmpty()) {
1309 if (feasibilityPolishingDetailsBuilder_.isEmpty()) {
1310 feasibilityPolishingDetailsBuilder_.dispose();
1311 feasibilityPolishingDetailsBuilder_ =
null;
1312 feasibilityPolishingDetails_ = other.feasibilityPolishingDetails_;
1313 bitField0_ = (bitField0_ & ~0x00001000);
1314 feasibilityPolishingDetailsBuilder_ =
1315 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
1316 getFeasibilityPolishingDetailsFieldBuilder() :
null;
1318 feasibilityPolishingDetailsBuilder_.addAllMessages(other.feasibilityPolishingDetails_);
1322 this.mergeUnknownFields(other.getUnknownFields());
1334 com.google.protobuf.CodedInputStream input,
1335 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1336 throws java.io.IOException {
1337 if (extensionRegistry ==
null) {
1338 throw new java.lang.NullPointerException();
1341 boolean done =
false;
1343 int tag = input.readTag();
1349 instanceName_ = input.readBytes();
1350 bitField0_ |= 0x00000001;
1354 int tmpRaw = input.readEnum();
1356 com.google.ortools.pdlp.TerminationReason.forNumber(tmpRaw);
1357 if (tmpValue ==
null) {
1358 mergeUnknownVarintField(3, tmpRaw);
1360 terminationReason_ = tmpRaw;
1361 bitField0_ |= 0x00000004;
1366 terminationString_ = input.readBytes();
1367 bitField0_ |= 0x00000008;
1371 iterationCount_ = input.readInt32();
1372 bitField0_ |= 0x00000010;
1376 solveTimeSec_ = input.readDouble();
1377 bitField0_ |= 0x00000040;
1383 com.google.ortools.pdlp.IterationStats.parser(),
1385 if (iterationStatsBuilder_ ==
null) {
1386 ensureIterationStatsIsMutable();
1387 iterationStats_.add(m);
1389 iterationStatsBuilder_.addMessage(m);
1395 getSolutionStatsFieldBuilder().getBuilder(),
1397 bitField0_ |= 0x00000080;
1401 int tmpRaw = input.readEnum();
1403 com.google.ortools.pdlp.PointType.forNumber(tmpRaw);
1404 if (tmpValue ==
null) {
1405 mergeUnknownVarintField(10, tmpRaw);
1407 solutionType_ = tmpRaw;
1408 bitField0_ |= 0x00000100;
1414 getOriginalProblemStatsFieldBuilder().getBuilder(),
1416 bitField0_ |= 0x00000400;
1421 getPreprocessedProblemStatsFieldBuilder().getBuilder(),
1423 bitField0_ |= 0x00000800;
1427 preprocessingTimeSec_ = input.readDouble();
1428 bitField0_ |= 0x00000020;
1433 getParamsFieldBuilder().getBuilder(),
1435 bitField0_ |= 0x00000002;
1441 com.google.ortools.pdlp.FeasibilityPolishingDetails.parser(),
1443 if (feasibilityPolishingDetailsBuilder_ ==
null) {
1444 ensureFeasibilityPolishingDetailsIsMutable();
1445 feasibilityPolishingDetails_.add(m);
1447 feasibilityPolishingDetailsBuilder_.addMessage(m);
1452 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1459 }
catch (com.google.protobuf.InvalidProtocolBufferException e) {
1460 throw e.unwrapIOException();
1466 private int bitField0_;
1468 private java.lang.Object instanceName_ =
"";
1478 return ((bitField0_ & 0x00000001) != 0);
1489 java.lang.Object ref = instanceName_;
1490 if (!(ref instanceof java.lang.String)) {
1491 com.google.protobuf.ByteString bs =
1492 (com.google.protobuf.ByteString) ref;
1493 java.lang.String s = bs.toStringUtf8();
1494 if (bs.isValidUtf8()) {
1499 return (java.lang.String) ref;
1510 public com.google.protobuf.ByteString
1512 java.lang.Object ref = instanceName_;
1513 if (ref instanceof String) {
1514 com.google.protobuf.ByteString b =
1515 com.google.protobuf.ByteString.copyFromUtf8(
1516 (java.lang.String) ref);
1520 return (com.google.protobuf.ByteString) ref;
1533 java.lang.String value) {
1534 if (value ==
null) {
throw new NullPointerException(); }
1535 instanceName_ = value;
1536 bitField0_ |= 0x00000001;
1550 bitField0_ = (bitField0_ & ~0x00000001);
1564 com.google.protobuf.ByteString value) {
1565 if (value ==
null) {
throw new NullPointerException(); }
1566 instanceName_ = value;
1567 bitField0_ |= 0x00000001;
1573 private com.google.protobuf.SingleFieldBuilder<
1574 com.google.ortools.pdlp.PrimalDualHybridGradientParams, com.google.ortools.pdlp.PrimalDualHybridGradientParams.Builder, com.google.ortools.pdlp.PrimalDualHybridGradientParamsOrBuilder> paramsBuilder_;
1584 return ((bitField0_ & 0x00000002) != 0);
1595 if (paramsBuilder_ ==
null) {
1596 return params_ ==
null ? com.google.ortools.pdlp.PrimalDualHybridGradientParams.getDefaultInstance() : params_;
1598 return paramsBuilder_.getMessage();
1609 if (paramsBuilder_ ==
null) {
1610 if (value ==
null) {
1611 throw new NullPointerException();
1615 paramsBuilder_.setMessage(value);
1617 bitField0_ |= 0x00000002;
1629 com.google.ortools.pdlp.PrimalDualHybridGradientParams.Builder builderForValue) {
1630 if (paramsBuilder_ ==
null) {
1631 params_ = builderForValue.build();
1633 paramsBuilder_.setMessage(builderForValue.build());
1635 bitField0_ |= 0x00000002;
1647 if (paramsBuilder_ ==
null) {
1648 if (((bitField0_ & 0x00000002) != 0) &&
1650 params_ != com.google.ortools.pdlp.PrimalDualHybridGradientParams.getDefaultInstance()) {
1656 paramsBuilder_.mergeFrom(value);
1658 if (params_ !=
null) {
1659 bitField0_ |= 0x00000002;
1672 bitField0_ = (bitField0_ & ~0x00000002);
1674 if (paramsBuilder_ !=
null) {
1675 paramsBuilder_.dispose();
1676 paramsBuilder_ =
null;
1689 bitField0_ |= 0x00000002;
1691 return getParamsFieldBuilder().getBuilder();
1701 if (paramsBuilder_ !=
null) {
1702 return paramsBuilder_.getMessageOrBuilder();
1704 return params_ ==
null ?
1705 com.google.ortools.pdlp.PrimalDualHybridGradientParams.getDefaultInstance() : params_;
1715 private com.google.protobuf.SingleFieldBuilder<
1716 com.google.ortools.pdlp.PrimalDualHybridGradientParams, com.google.ortools.pdlp.PrimalDualHybridGradientParams.Builder, com.google.ortools.pdlp.PrimalDualHybridGradientParamsOrBuilder>
1717 getParamsFieldBuilder() {
1718 if (paramsBuilder_ ==
null) {
1719 paramsBuilder_ =
new com.google.protobuf.SingleFieldBuilder<
1720 com.google.ortools.pdlp.PrimalDualHybridGradientParams, com.google.ortools.pdlp.PrimalDualHybridGradientParams.Builder, com.google.ortools.pdlp.PrimalDualHybridGradientParamsOrBuilder>(
1722 getParentForChildren(),
1726 return paramsBuilder_;
1729 private int terminationReason_ = 0;
1739 return ((bitField0_ & 0x00000004) != 0);
1752 return result ==
null ? com.google.ortools.pdlp.TerminationReason.TERMINATION_REASON_UNSPECIFIED : result;
1764 if (value ==
null) {
1765 throw new NullPointerException();
1767 bitField0_ |= 0x00000004;
1768 terminationReason_ = value.getNumber();
1781 bitField0_ = (bitField0_ & ~0x00000004);
1782 terminationReason_ = 0;
1787 private java.lang.Object terminationString_ =
"";
1797 return ((bitField0_ & 0x00000008) != 0);
1808 java.lang.Object ref = terminationString_;
1809 if (!(ref instanceof java.lang.String)) {
1810 com.google.protobuf.ByteString bs =
1811 (com.google.protobuf.ByteString) ref;
1812 java.lang.String s = bs.toStringUtf8();
1813 if (bs.isValidUtf8()) {
1814 terminationString_ = s;
1818 return (java.lang.String) ref;
1829 public com.google.protobuf.ByteString
1831 java.lang.Object ref = terminationString_;
1832 if (ref instanceof String) {
1833 com.google.protobuf.ByteString b =
1834 com.google.protobuf.ByteString.copyFromUtf8(
1835 (java.lang.String) ref);
1836 terminationString_ = b;
1839 return (com.google.protobuf.ByteString) ref;
1852 java.lang.String value) {
1853 if (value ==
null) {
throw new NullPointerException(); }
1854 terminationString_ = value;
1855 bitField0_ |= 0x00000008;
1869 bitField0_ = (bitField0_ & ~0x00000008);
1883 com.google.protobuf.ByteString value) {
1884 if (value ==
null) {
throw new NullPointerException(); }
1885 terminationString_ = value;
1886 bitField0_ |= 0x00000008;
1891 private int iterationCount_ ;
1904 return ((bitField0_ & 0x00000010) != 0);
1918 return iterationCount_;
1933 iterationCount_ = value;
1934 bitField0_ |= 0x00000010;
1949 bitField0_ = (bitField0_ & ~0x00000010);
1950 iterationCount_ = 0;
1955 private double preprocessingTimeSec_ ;
1967 return ((bitField0_ & 0x00000020) != 0);
1980 return preprocessingTimeSec_;
1994 preprocessingTimeSec_ = value;
1995 bitField0_ |= 0x00000020;
2009 bitField0_ = (bitField0_ & ~0x00000020);
2010 preprocessingTimeSec_ = 0D;
2015 private double solveTimeSec_ ;
2029 return ((bitField0_ & 0x00000040) != 0);
2044 return solveTimeSec_;
2060 solveTimeSec_ = value;
2061 bitField0_ |= 0x00000040;
2077 bitField0_ = (bitField0_ & ~0x00000040);
2084 private com.google.protobuf.SingleFieldBuilder<
2085 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder> solutionStatsBuilder_;
2101 return ((bitField0_ & 0x00000080) != 0);
2118 if (solutionStatsBuilder_ ==
null) {
2119 return solutionStats_ ==
null ? com.google.ortools.pdlp.IterationStats.getDefaultInstance() : solutionStats_;
2121 return solutionStatsBuilder_.getMessage();
2138 if (solutionStatsBuilder_ ==
null) {
2139 if (value ==
null) {
2140 throw new NullPointerException();
2142 solutionStats_ = value;
2144 solutionStatsBuilder_.setMessage(value);
2146 bitField0_ |= 0x00000080;
2164 com.google.ortools.pdlp.IterationStats.Builder builderForValue) {
2165 if (solutionStatsBuilder_ ==
null) {
2166 solutionStats_ = builderForValue.build();
2168 solutionStatsBuilder_.setMessage(builderForValue.build());
2170 bitField0_ |= 0x00000080;
2188 if (solutionStatsBuilder_ ==
null) {
2189 if (((bitField0_ & 0x00000080) != 0) &&
2190 solutionStats_ !=
null &&
2191 solutionStats_ != com.google.ortools.pdlp.IterationStats.getDefaultInstance()) {
2194 solutionStats_ = value;
2197 solutionStatsBuilder_.mergeFrom(value);
2199 if (solutionStats_ !=
null) {
2200 bitField0_ |= 0x00000080;
2219 bitField0_ = (bitField0_ & ~0x00000080);
2220 solutionStats_ =
null;
2221 if (solutionStatsBuilder_ !=
null) {
2222 solutionStatsBuilder_.dispose();
2223 solutionStatsBuilder_ =
null;
2242 bitField0_ |= 0x00000080;
2244 return getSolutionStatsFieldBuilder().getBuilder();
2260 if (solutionStatsBuilder_ !=
null) {
2261 return solutionStatsBuilder_.getMessageOrBuilder();
2263 return solutionStats_ ==
null ?
2264 com.google.ortools.pdlp.IterationStats.getDefaultInstance() : solutionStats_;
2280 private com.google.protobuf.SingleFieldBuilder<
2281 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder>
2282 getSolutionStatsFieldBuilder() {
2283 if (solutionStatsBuilder_ ==
null) {
2284 solutionStatsBuilder_ =
new com.google.protobuf.SingleFieldBuilder<
2285 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder>(
2287 getParentForChildren(),
2289 solutionStats_ =
null;
2291 return solutionStatsBuilder_;
2294 private int solutionType_ = 0;
2317 return ((bitField0_ & 0x00000100) != 0);
2343 return result ==
null ? com.google.ortools.pdlp.PointType.POINT_TYPE_UNSPECIFIED : result;
2368 if (value ==
null) {
2369 throw new NullPointerException();
2371 bitField0_ |= 0x00000100;
2372 solutionType_ = value.getNumber();
2398 bitField0_ = (bitField0_ & ~0x00000100);
2404 private java.util.List<com.google.ortools.pdlp.IterationStats> iterationStats_ =
2405 java.util.Collections.emptyList();
2406 private void ensureIterationStatsIsMutable() {
2407 if (!((bitField0_ & 0x00000200) != 0)) {
2408 iterationStats_ =
new java.util.ArrayList<com.google.ortools.pdlp.IterationStats>(iterationStats_);
2409 bitField0_ |= 0x00000200;
2413 private com.google.protobuf.RepeatedFieldBuilder<
2414 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder> iterationStatsBuilder_;
2431 if (iterationStatsBuilder_ ==
null) {
2432 return java.util.Collections.unmodifiableList(iterationStats_);
2434 return iterationStatsBuilder_.getMessageList();
2452 if (iterationStatsBuilder_ ==
null) {
2453 return iterationStats_.size();
2455 return iterationStatsBuilder_.getCount();
2473 if (iterationStatsBuilder_ ==
null) {
2474 return iterationStats_.get(index);
2476 return iterationStatsBuilder_.getMessage(index);
2494 int index, com.google.ortools.pdlp.IterationStats value) {
2495 if (iterationStatsBuilder_ ==
null) {
2496 if (value ==
null) {
2497 throw new NullPointerException();
2499 ensureIterationStatsIsMutable();
2500 iterationStats_.set(index, value);
2503 iterationStatsBuilder_.setMessage(index, value);
2522 int index, com.google.ortools.pdlp.IterationStats.Builder builderForValue) {
2523 if (iterationStatsBuilder_ ==
null) {
2524 ensureIterationStatsIsMutable();
2525 iterationStats_.set(index, builderForValue.build());
2528 iterationStatsBuilder_.setMessage(index, builderForValue.build());
2547 if (iterationStatsBuilder_ ==
null) {
2548 if (value ==
null) {
2549 throw new NullPointerException();
2551 ensureIterationStatsIsMutable();
2552 iterationStats_.add(value);
2555 iterationStatsBuilder_.addMessage(value);
2574 int index, com.google.ortools.pdlp.IterationStats value) {
2575 if (iterationStatsBuilder_ ==
null) {
2576 if (value ==
null) {
2577 throw new NullPointerException();
2579 ensureIterationStatsIsMutable();
2580 iterationStats_.add(index, value);
2583 iterationStatsBuilder_.addMessage(index, value);
2602 com.google.ortools.pdlp.IterationStats.Builder builderForValue) {
2603 if (iterationStatsBuilder_ ==
null) {
2604 ensureIterationStatsIsMutable();
2605 iterationStats_.add(builderForValue.build());
2608 iterationStatsBuilder_.addMessage(builderForValue.build());
2627 int index, com.google.ortools.pdlp.IterationStats.Builder builderForValue) {
2628 if (iterationStatsBuilder_ ==
null) {
2629 ensureIterationStatsIsMutable();
2630 iterationStats_.add(index, builderForValue.build());
2633 iterationStatsBuilder_.addMessage(index, builderForValue.build());
2652 java.lang.Iterable<? extends com.google.ortools.pdlp.IterationStats> values) {
2653 if (iterationStatsBuilder_ ==
null) {
2654 ensureIterationStatsIsMutable();
2655 com.google.protobuf.AbstractMessageLite.Builder.addAll(
2656 values, iterationStats_);
2659 iterationStatsBuilder_.addAllMessages(values);
2678 if (iterationStatsBuilder_ ==
null) {
2679 iterationStats_ = java.util.Collections.emptyList();
2680 bitField0_ = (bitField0_ & ~0x00000200);
2683 iterationStatsBuilder_.clear();
2702 if (iterationStatsBuilder_ ==
null) {
2703 ensureIterationStatsIsMutable();
2704 iterationStats_.remove(index);
2707 iterationStatsBuilder_.remove(index);
2727 return getIterationStatsFieldBuilder().getBuilder(index);
2745 if (iterationStatsBuilder_ ==
null) {
2746 return iterationStats_.get(index); }
else {
2747 return iterationStatsBuilder_.getMessageOrBuilder(index);
2764 public java.util.List<? extends com.google.ortools.pdlp.IterationStatsOrBuilder>
2766 if (iterationStatsBuilder_ !=
null) {
2767 return iterationStatsBuilder_.getMessageOrBuilderList();
2769 return java.util.Collections.unmodifiableList(iterationStats_);
2787 return getIterationStatsFieldBuilder().addBuilder(
2788 com.google.ortools.pdlp.IterationStats.getDefaultInstance());
2806 return getIterationStatsFieldBuilder().addBuilder(
2807 index, com.google.ortools.pdlp.IterationStats.getDefaultInstance());
2823 public java.util.List<com.google.ortools.pdlp.IterationStats.Builder>
2825 return getIterationStatsFieldBuilder().getBuilderList();
2827 private com.google.protobuf.RepeatedFieldBuilder<
2828 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder>
2829 getIterationStatsFieldBuilder() {
2830 if (iterationStatsBuilder_ ==
null) {
2831 iterationStatsBuilder_ =
new com.google.protobuf.RepeatedFieldBuilder<
2832 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder>(
2834 ((bitField0_ & 0x00000200) != 0),
2835 getParentForChildren(),
2837 iterationStats_ =
null;
2839 return iterationStatsBuilder_;
2843 private com.google.protobuf.SingleFieldBuilder<
2844 com.google.ortools.pdlp.QuadraticProgramStats, com.google.ortools.pdlp.QuadraticProgramStats.Builder, com.google.ortools.pdlp.QuadraticProgramStatsOrBuilder> originalProblemStatsBuilder_;
2854 return ((bitField0_ & 0x00000400) != 0);
2865 if (originalProblemStatsBuilder_ ==
null) {
2866 return originalProblemStats_ ==
null ? com.google.ortools.pdlp.QuadraticProgramStats.getDefaultInstance() : originalProblemStats_;
2868 return originalProblemStatsBuilder_.getMessage();
2879 if (originalProblemStatsBuilder_ ==
null) {
2880 if (value ==
null) {
2881 throw new NullPointerException();
2883 originalProblemStats_ = value;
2885 originalProblemStatsBuilder_.setMessage(value);
2887 bitField0_ |= 0x00000400;
2899 com.google.ortools.pdlp.QuadraticProgramStats.Builder builderForValue) {
2900 if (originalProblemStatsBuilder_ ==
null) {
2901 originalProblemStats_ = builderForValue.build();
2903 originalProblemStatsBuilder_.setMessage(builderForValue.build());
2905 bitField0_ |= 0x00000400;
2917 if (originalProblemStatsBuilder_ ==
null) {
2918 if (((bitField0_ & 0x00000400) != 0) &&
2919 originalProblemStats_ !=
null &&
2920 originalProblemStats_ != com.google.ortools.pdlp.QuadraticProgramStats.getDefaultInstance()) {
2923 originalProblemStats_ = value;
2926 originalProblemStatsBuilder_.mergeFrom(value);
2928 if (originalProblemStats_ !=
null) {
2929 bitField0_ |= 0x00000400;
2942 bitField0_ = (bitField0_ & ~0x00000400);
2943 originalProblemStats_ =
null;
2944 if (originalProblemStatsBuilder_ !=
null) {
2945 originalProblemStatsBuilder_.dispose();
2946 originalProblemStatsBuilder_ =
null;
2959 bitField0_ |= 0x00000400;
2961 return getOriginalProblemStatsFieldBuilder().getBuilder();
2971 if (originalProblemStatsBuilder_ !=
null) {
2972 return originalProblemStatsBuilder_.getMessageOrBuilder();
2974 return originalProblemStats_ ==
null ?
2975 com.google.ortools.pdlp.QuadraticProgramStats.getDefaultInstance() : originalProblemStats_;
2985 private com.google.protobuf.SingleFieldBuilder<
2986 com.google.ortools.pdlp.QuadraticProgramStats, com.google.ortools.pdlp.QuadraticProgramStats.Builder, com.google.ortools.pdlp.QuadraticProgramStatsOrBuilder>
2987 getOriginalProblemStatsFieldBuilder() {
2988 if (originalProblemStatsBuilder_ ==
null) {
2989 originalProblemStatsBuilder_ =
new com.google.protobuf.SingleFieldBuilder<
2990 com.google.ortools.pdlp.QuadraticProgramStats, com.google.ortools.pdlp.QuadraticProgramStats.Builder, com.google.ortools.pdlp.QuadraticProgramStatsOrBuilder>(
2992 getParentForChildren(),
2994 originalProblemStats_ =
null;
2996 return originalProblemStatsBuilder_;
3000 private com.google.protobuf.SingleFieldBuilder<
3001 com.google.ortools.pdlp.QuadraticProgramStats, com.google.ortools.pdlp.QuadraticProgramStats.Builder, com.google.ortools.pdlp.QuadraticProgramStatsOrBuilder> preprocessedProblemStatsBuilder_;
3011 return ((bitField0_ & 0x00000800) != 0);
3022 if (preprocessedProblemStatsBuilder_ ==
null) {
3023 return preprocessedProblemStats_ ==
null ? com.google.ortools.pdlp.QuadraticProgramStats.getDefaultInstance() : preprocessedProblemStats_;
3025 return preprocessedProblemStatsBuilder_.getMessage();
3036 if (preprocessedProblemStatsBuilder_ ==
null) {
3037 if (value ==
null) {
3038 throw new NullPointerException();
3040 preprocessedProblemStats_ = value;
3042 preprocessedProblemStatsBuilder_.setMessage(value);
3044 bitField0_ |= 0x00000800;
3056 com.google.ortools.pdlp.QuadraticProgramStats.Builder builderForValue) {
3057 if (preprocessedProblemStatsBuilder_ ==
null) {
3058 preprocessedProblemStats_ = builderForValue.build();
3060 preprocessedProblemStatsBuilder_.setMessage(builderForValue.build());
3062 bitField0_ |= 0x00000800;
3074 if (preprocessedProblemStatsBuilder_ ==
null) {
3075 if (((bitField0_ & 0x00000800) != 0) &&
3076 preprocessedProblemStats_ !=
null &&
3077 preprocessedProblemStats_ != com.google.ortools.pdlp.QuadraticProgramStats.getDefaultInstance()) {
3080 preprocessedProblemStats_ = value;
3083 preprocessedProblemStatsBuilder_.mergeFrom(value);
3085 if (preprocessedProblemStats_ !=
null) {
3086 bitField0_ |= 0x00000800;
3099 bitField0_ = (bitField0_ & ~0x00000800);
3100 preprocessedProblemStats_ =
null;
3101 if (preprocessedProblemStatsBuilder_ !=
null) {
3102 preprocessedProblemStatsBuilder_.dispose();
3103 preprocessedProblemStatsBuilder_ =
null;
3116 bitField0_ |= 0x00000800;
3118 return getPreprocessedProblemStatsFieldBuilder().getBuilder();
3128 if (preprocessedProblemStatsBuilder_ !=
null) {
3129 return preprocessedProblemStatsBuilder_.getMessageOrBuilder();
3131 return preprocessedProblemStats_ ==
null ?
3132 com.google.ortools.pdlp.QuadraticProgramStats.getDefaultInstance() : preprocessedProblemStats_;
3142 private com.google.protobuf.SingleFieldBuilder<
3143 com.google.ortools.pdlp.QuadraticProgramStats, com.google.ortools.pdlp.QuadraticProgramStats.Builder, com.google.ortools.pdlp.QuadraticProgramStatsOrBuilder>
3144 getPreprocessedProblemStatsFieldBuilder() {
3145 if (preprocessedProblemStatsBuilder_ ==
null) {
3146 preprocessedProblemStatsBuilder_ =
new com.google.protobuf.SingleFieldBuilder<
3147 com.google.ortools.pdlp.QuadraticProgramStats, com.google.ortools.pdlp.QuadraticProgramStats.Builder, com.google.ortools.pdlp.QuadraticProgramStatsOrBuilder>(
3149 getParentForChildren(),
3151 preprocessedProblemStats_ =
null;
3153 return preprocessedProblemStatsBuilder_;
3156 private java.util.List<com.google.ortools.pdlp.FeasibilityPolishingDetails> feasibilityPolishingDetails_ =
3157 java.util.Collections.emptyList();
3158 private void ensureFeasibilityPolishingDetailsIsMutable() {
3159 if (!((bitField0_ & 0x00001000) != 0)) {
3160 feasibilityPolishingDetails_ =
new java.util.ArrayList<com.google.ortools.pdlp.FeasibilityPolishingDetails>(feasibilityPolishingDetails_);
3161 bitField0_ |= 0x00001000;
3165 private com.google.protobuf.RepeatedFieldBuilder<
3166 com.google.ortools.pdlp.FeasibilityPolishingDetails, com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder, com.google.ortools.pdlp.FeasibilityPolishingDetailsOrBuilder> feasibilityPolishingDetailsBuilder_;
3177 if (feasibilityPolishingDetailsBuilder_ ==
null) {
3178 return java.util.Collections.unmodifiableList(feasibilityPolishingDetails_);
3180 return feasibilityPolishingDetailsBuilder_.getMessageList();
3192 if (feasibilityPolishingDetailsBuilder_ ==
null) {
3193 return feasibilityPolishingDetails_.size();
3195 return feasibilityPolishingDetailsBuilder_.getCount();
3207 if (feasibilityPolishingDetailsBuilder_ ==
null) {
3208 return feasibilityPolishingDetails_.get(index);
3210 return feasibilityPolishingDetailsBuilder_.getMessage(index);
3222 int index, com.google.ortools.pdlp.FeasibilityPolishingDetails value) {
3223 if (feasibilityPolishingDetailsBuilder_ ==
null) {
3224 if (value ==
null) {
3225 throw new NullPointerException();
3227 ensureFeasibilityPolishingDetailsIsMutable();
3228 feasibilityPolishingDetails_.set(index, value);
3231 feasibilityPolishingDetailsBuilder_.setMessage(index, value);
3244 int index, com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder builderForValue) {
3245 if (feasibilityPolishingDetailsBuilder_ ==
null) {
3246 ensureFeasibilityPolishingDetailsIsMutable();
3247 feasibilityPolishingDetails_.set(index, builderForValue.build());
3250 feasibilityPolishingDetailsBuilder_.setMessage(index, builderForValue.build());
3263 if (feasibilityPolishingDetailsBuilder_ ==
null) {
3264 if (value ==
null) {
3265 throw new NullPointerException();
3267 ensureFeasibilityPolishingDetailsIsMutable();
3268 feasibilityPolishingDetails_.add(value);
3271 feasibilityPolishingDetailsBuilder_.addMessage(value);
3284 int index, com.google.ortools.pdlp.FeasibilityPolishingDetails value) {
3285 if (feasibilityPolishingDetailsBuilder_ ==
null) {
3286 if (value ==
null) {
3287 throw new NullPointerException();
3289 ensureFeasibilityPolishingDetailsIsMutable();
3290 feasibilityPolishingDetails_.add(index, value);
3293 feasibilityPolishingDetailsBuilder_.addMessage(index, value);
3306 com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder builderForValue) {
3307 if (feasibilityPolishingDetailsBuilder_ ==
null) {
3308 ensureFeasibilityPolishingDetailsIsMutable();
3309 feasibilityPolishingDetails_.add(builderForValue.build());
3312 feasibilityPolishingDetailsBuilder_.addMessage(builderForValue.build());
3325 int index, com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder builderForValue) {
3326 if (feasibilityPolishingDetailsBuilder_ ==
null) {
3327 ensureFeasibilityPolishingDetailsIsMutable();
3328 feasibilityPolishingDetails_.add(index, builderForValue.build());
3331 feasibilityPolishingDetailsBuilder_.addMessage(index, builderForValue.build());
3344 java.lang.Iterable<? extends com.google.ortools.pdlp.FeasibilityPolishingDetails> values) {
3345 if (feasibilityPolishingDetailsBuilder_ ==
null) {
3346 ensureFeasibilityPolishingDetailsIsMutable();
3347 com.google.protobuf.AbstractMessageLite.Builder.addAll(
3348 values, feasibilityPolishingDetails_);
3351 feasibilityPolishingDetailsBuilder_.addAllMessages(values);
3364 if (feasibilityPolishingDetailsBuilder_ ==
null) {
3365 feasibilityPolishingDetails_ = java.util.Collections.emptyList();
3366 bitField0_ = (bitField0_ & ~0x00001000);
3369 feasibilityPolishingDetailsBuilder_.clear();
3382 if (feasibilityPolishingDetailsBuilder_ ==
null) {
3383 ensureFeasibilityPolishingDetailsIsMutable();
3384 feasibilityPolishingDetails_.remove(index);
3387 feasibilityPolishingDetailsBuilder_.remove(index);
3401 return getFeasibilityPolishingDetailsFieldBuilder().getBuilder(index);
3413 if (feasibilityPolishingDetailsBuilder_ ==
null) {
3414 return feasibilityPolishingDetails_.get(index); }
else {
3415 return feasibilityPolishingDetailsBuilder_.getMessageOrBuilder(index);
3426 public java.util.List<? extends com.google.ortools.pdlp.FeasibilityPolishingDetailsOrBuilder>
3428 if (feasibilityPolishingDetailsBuilder_ !=
null) {
3429 return feasibilityPolishingDetailsBuilder_.getMessageOrBuilderList();
3431 return java.util.Collections.unmodifiableList(feasibilityPolishingDetails_);
3443 return getFeasibilityPolishingDetailsFieldBuilder().addBuilder(
3444 com.google.ortools.pdlp.FeasibilityPolishingDetails.getDefaultInstance());
3456 return getFeasibilityPolishingDetailsFieldBuilder().addBuilder(
3457 index, com.google.ortools.pdlp.FeasibilityPolishingDetails.getDefaultInstance());
3467 public java.util.List<com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder>
3469 return getFeasibilityPolishingDetailsFieldBuilder().getBuilderList();
3471 private com.google.protobuf.RepeatedFieldBuilder<
3472 com.google.ortools.pdlp.FeasibilityPolishingDetails, com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder, com.google.ortools.pdlp.FeasibilityPolishingDetailsOrBuilder>
3473 getFeasibilityPolishingDetailsFieldBuilder() {
3474 if (feasibilityPolishingDetailsBuilder_ ==
null) {
3475 feasibilityPolishingDetailsBuilder_ =
new com.google.protobuf.RepeatedFieldBuilder<
3476 com.google.ortools.pdlp.FeasibilityPolishingDetails, com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder, com.google.ortools.pdlp.FeasibilityPolishingDetailsOrBuilder>(
3477 feasibilityPolishingDetails_,
3478 ((bitField0_ & 0x00001000) != 0),
3479 getParentForChildren(),
3481 feasibilityPolishingDetails_ =
null;
3483 return feasibilityPolishingDetailsBuilder_;