Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
FeasibilityPolishingDetails.java
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ortools/pdlp/solve_log.proto
3
4// Protobuf Java Version: 4.26.1
5package com.google.ortools.pdlp;
6
16public final class FeasibilityPolishingDetails extends
17 com.google.protobuf.GeneratedMessage implements
18 // @@protoc_insertion_point(message_implements:operations_research.pdlp.FeasibilityPolishingDetails)
20private static final long serialVersionUID = 0L;
21 static {
22 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
23 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
24 /* major= */ 4,
25 /* minor= */ 26,
26 /* patch= */ 1,
27 /* suffix= */ "",
28 FeasibilityPolishingDetails.class.getName());
29 }
30 // Use FeasibilityPolishingDetails.newBuilder() to construct.
31 private FeasibilityPolishingDetails(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
32 super(builder);
33 }
35 polishingPhaseType_ = 0;
36 terminationReason_ = 0;
37 solutionType_ = 0;
38 iterationStats_ = java.util.Collections.emptyList();
39 }
40
41 public static final com.google.protobuf.Descriptors.Descriptor
43 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_FeasibilityPolishingDetails_descriptor;
44 }
45
46 @java.lang.Override
47 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
49 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_FeasibilityPolishingDetails_fieldAccessorTable
50 .ensureFieldAccessorsInitialized(
51 com.google.ortools.pdlp.FeasibilityPolishingDetails.class, com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder.class);
52 }
53
54 private int bitField0_;
55 public static final int POLISHING_PHASE_TYPE_FIELD_NUMBER = 1;
56 private int polishingPhaseType_ = 0;
61 @java.lang.Override public boolean hasPolishingPhaseType() {
62 return ((bitField0_ & 0x00000001) != 0);
63 }
69 com.google.ortools.pdlp.PolishingPhaseType result = com.google.ortools.pdlp.PolishingPhaseType.forNumber(polishingPhaseType_);
70 return result == null ? com.google.ortools.pdlp.PolishingPhaseType.POLISHING_PHASE_TYPE_UNSPECIFIED : result;
71 }
72
73 public static final int MAIN_ITERATION_COUNT_FIELD_NUMBER = 2;
74 private int mainIterationCount_ = 0;
84 @java.lang.Override
85 public boolean hasMainIterationCount() {
86 return ((bitField0_ & 0x00000002) != 0);
87 }
97 @java.lang.Override
98 public int getMainIterationCount() {
99 return mainIterationCount_;
100 }
101
102 public static final int PARAMS_FIELD_NUMBER = 3;
108 @java.lang.Override
109 public boolean hasParams() {
110 return ((bitField0_ & 0x00000004) != 0);
111 }
116 @java.lang.Override
118 return params_ == null ? com.google.ortools.pdlp.PrimalDualHybridGradientParams.getDefaultInstance() : params_;
119 }
123 @java.lang.Override
125 return params_ == null ? com.google.ortools.pdlp.PrimalDualHybridGradientParams.getDefaultInstance() : params_;
126 }
127
128 public static final int TERMINATION_REASON_FIELD_NUMBER = 4;
129 private int terminationReason_ = 0;
134 @java.lang.Override public boolean hasTerminationReason() {
135 return ((bitField0_ & 0x00000008) != 0);
136 }
142 com.google.ortools.pdlp.TerminationReason result = com.google.ortools.pdlp.TerminationReason.forNumber(terminationReason_);
143 return result == null ? com.google.ortools.pdlp.TerminationReason.TERMINATION_REASON_UNSPECIFIED : result;
144 }
145
146 public static final int ITERATION_COUNT_FIELD_NUMBER = 5;
147 private int iterationCount_ = 0;
152 @java.lang.Override
153 public boolean hasIterationCount() {
154 return ((bitField0_ & 0x00000010) != 0);
155 }
160 @java.lang.Override
161 public int getIterationCount() {
162 return iterationCount_;
163 }
164
165 public static final int SOLVE_TIME_SEC_FIELD_NUMBER = 6;
166 private double solveTimeSec_ = 0D;
171 @java.lang.Override
172 public boolean hasSolveTimeSec() {
173 return ((bitField0_ & 0x00000020) != 0);
174 }
179 @java.lang.Override
180 public double getSolveTimeSec() {
181 return solveTimeSec_;
182 }
183
184 public static final int SOLUTION_STATS_FIELD_NUMBER = 7;
185 private com.google.ortools.pdlp.IterationStats solutionStats_;
190 @java.lang.Override
191 public boolean hasSolutionStats() {
192 return ((bitField0_ & 0x00000040) != 0);
193 }
198 @java.lang.Override
200 return solutionStats_ == null ? com.google.ortools.pdlp.IterationStats.getDefaultInstance() : solutionStats_;
201 }
205 @java.lang.Override
207 return solutionStats_ == null ? com.google.ortools.pdlp.IterationStats.getDefaultInstance() : solutionStats_;
208 }
209
210 public static final int SOLUTION_TYPE_FIELD_NUMBER = 8;
211 private int solutionType_ = 0;
216 @java.lang.Override public boolean hasSolutionType() {
217 return ((bitField0_ & 0x00000080) != 0);
218 }
224 com.google.ortools.pdlp.PointType result = com.google.ortools.pdlp.PointType.forNumber(solutionType_);
225 return result == null ? com.google.ortools.pdlp.PointType.POINT_TYPE_UNSPECIFIED : result;
226 }
227
228 public static final int ITERATION_STATS_FIELD_NUMBER = 9;
229 @SuppressWarnings("serial")
230 private java.util.List<com.google.ortools.pdlp.IterationStats> iterationStats_;
234 @java.lang.Override
235 public java.util.List<com.google.ortools.pdlp.IterationStats> getIterationStatsList() {
236 return iterationStats_;
237 }
241 @java.lang.Override
242 public java.util.List<? extends com.google.ortools.pdlp.IterationStatsOrBuilder>
244 return iterationStats_;
245 }
249 @java.lang.Override
251 return iterationStats_.size();
252 }
256 @java.lang.Override
258 return iterationStats_.get(index);
259 }
263 @java.lang.Override
265 int index) {
266 return iterationStats_.get(index);
267 }
268
269 private byte memoizedIsInitialized = -1;
270 @java.lang.Override
271 public final boolean isInitialized() {
272 byte isInitialized = memoizedIsInitialized;
273 if (isInitialized == 1) return true;
274 if (isInitialized == 0) return false;
275
276 memoizedIsInitialized = 1;
277 return true;
278 }
279
280 @java.lang.Override
281 public void writeTo(com.google.protobuf.CodedOutputStream output)
282 throws java.io.IOException {
283 if (((bitField0_ & 0x00000001) != 0)) {
284 output.writeEnum(1, polishingPhaseType_);
285 }
286 if (((bitField0_ & 0x00000002) != 0)) {
287 output.writeInt32(2, mainIterationCount_);
288 }
289 if (((bitField0_ & 0x00000004) != 0)) {
290 output.writeMessage(3, getParams());
291 }
292 if (((bitField0_ & 0x00000008) != 0)) {
293 output.writeEnum(4, terminationReason_);
294 }
295 if (((bitField0_ & 0x00000010) != 0)) {
296 output.writeInt32(5, iterationCount_);
297 }
298 if (((bitField0_ & 0x00000020) != 0)) {
299 output.writeDouble(6, solveTimeSec_);
300 }
301 if (((bitField0_ & 0x00000040) != 0)) {
302 output.writeMessage(7, getSolutionStats());
303 }
304 if (((bitField0_ & 0x00000080) != 0)) {
305 output.writeEnum(8, solutionType_);
306 }
307 for (int i = 0; i < iterationStats_.size(); i++) {
308 output.writeMessage(9, iterationStats_.get(i));
309 }
310 getUnknownFields().writeTo(output);
311 }
312
313 @java.lang.Override
314 public int getSerializedSize() {
315 int size = memoizedSize;
316 if (size != -1) return size;
317
318 size = 0;
319 if (((bitField0_ & 0x00000001) != 0)) {
320 size += com.google.protobuf.CodedOutputStream
321 .computeEnumSize(1, polishingPhaseType_);
322 }
323 if (((bitField0_ & 0x00000002) != 0)) {
324 size += com.google.protobuf.CodedOutputStream
325 .computeInt32Size(2, mainIterationCount_);
326 }
327 if (((bitField0_ & 0x00000004) != 0)) {
328 size += com.google.protobuf.CodedOutputStream
329 .computeMessageSize(3, getParams());
330 }
331 if (((bitField0_ & 0x00000008) != 0)) {
332 size += com.google.protobuf.CodedOutputStream
333 .computeEnumSize(4, terminationReason_);
334 }
335 if (((bitField0_ & 0x00000010) != 0)) {
336 size += com.google.protobuf.CodedOutputStream
337 .computeInt32Size(5, iterationCount_);
338 }
339 if (((bitField0_ & 0x00000020) != 0)) {
340 size += com.google.protobuf.CodedOutputStream
341 .computeDoubleSize(6, solveTimeSec_);
342 }
343 if (((bitField0_ & 0x00000040) != 0)) {
344 size += com.google.protobuf.CodedOutputStream
345 .computeMessageSize(7, getSolutionStats());
346 }
347 if (((bitField0_ & 0x00000080) != 0)) {
348 size += com.google.protobuf.CodedOutputStream
349 .computeEnumSize(8, solutionType_);
350 }
351 for (int i = 0; i < iterationStats_.size(); i++) {
352 size += com.google.protobuf.CodedOutputStream
353 .computeMessageSize(9, iterationStats_.get(i));
354 }
355 size += getUnknownFields().getSerializedSize();
356 memoizedSize = size;
357 return size;
358 }
359
360 @java.lang.Override
361 public boolean equals(final java.lang.Object obj) {
362 if (obj == this) {
363 return true;
364 }
365 if (!(obj instanceof com.google.ortools.pdlp.FeasibilityPolishingDetails)) {
366 return super.equals(obj);
367 }
368 com.google.ortools.pdlp.FeasibilityPolishingDetails other = (com.google.ortools.pdlp.FeasibilityPolishingDetails) obj;
369
370 if (hasPolishingPhaseType() != other.hasPolishingPhaseType()) return false;
371 if (hasPolishingPhaseType()) {
372 if (polishingPhaseType_ != other.polishingPhaseType_) return false;
373 }
374 if (hasMainIterationCount() != other.hasMainIterationCount()) return false;
375 if (hasMainIterationCount()) {
377 != other.getMainIterationCount()) return false;
378 }
379 if (hasParams() != other.hasParams()) return false;
380 if (hasParams()) {
381 if (!getParams()
382 .equals(other.getParams())) return false;
383 }
384 if (hasTerminationReason() != other.hasTerminationReason()) return false;
385 if (hasTerminationReason()) {
386 if (terminationReason_ != other.terminationReason_) return false;
387 }
388 if (hasIterationCount() != other.hasIterationCount()) return false;
389 if (hasIterationCount()) {
391 != other.getIterationCount()) return false;
392 }
393 if (hasSolveTimeSec() != other.hasSolveTimeSec()) return false;
394 if (hasSolveTimeSec()) {
395 if (java.lang.Double.doubleToLongBits(getSolveTimeSec())
396 != java.lang.Double.doubleToLongBits(
397 other.getSolveTimeSec())) return false;
398 }
399 if (hasSolutionStats() != other.hasSolutionStats()) return false;
400 if (hasSolutionStats()) {
401 if (!getSolutionStats()
402 .equals(other.getSolutionStats())) return false;
403 }
404 if (hasSolutionType() != other.hasSolutionType()) return false;
405 if (hasSolutionType()) {
406 if (solutionType_ != other.solutionType_) return false;
407 }
409 .equals(other.getIterationStatsList())) return false;
410 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
411 return true;
412 }
413
414 @java.lang.Override
415 public int hashCode() {
416 if (memoizedHashCode != 0) {
417 return memoizedHashCode;
418 }
419 int hash = 41;
420 hash = (19 * hash) + getDescriptor().hashCode();
421 if (hasPolishingPhaseType()) {
422 hash = (37 * hash) + POLISHING_PHASE_TYPE_FIELD_NUMBER;
423 hash = (53 * hash) + polishingPhaseType_;
424 }
425 if (hasMainIterationCount()) {
426 hash = (37 * hash) + MAIN_ITERATION_COUNT_FIELD_NUMBER;
427 hash = (53 * hash) + getMainIterationCount();
428 }
429 if (hasParams()) {
430 hash = (37 * hash) + PARAMS_FIELD_NUMBER;
431 hash = (53 * hash) + getParams().hashCode();
432 }
433 if (hasTerminationReason()) {
434 hash = (37 * hash) + TERMINATION_REASON_FIELD_NUMBER;
435 hash = (53 * hash) + terminationReason_;
436 }
437 if (hasIterationCount()) {
438 hash = (37 * hash) + ITERATION_COUNT_FIELD_NUMBER;
439 hash = (53 * hash) + getIterationCount();
440 }
441 if (hasSolveTimeSec()) {
442 hash = (37 * hash) + SOLVE_TIME_SEC_FIELD_NUMBER;
443 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
444 java.lang.Double.doubleToLongBits(getSolveTimeSec()));
445 }
446 if (hasSolutionStats()) {
447 hash = (37 * hash) + SOLUTION_STATS_FIELD_NUMBER;
448 hash = (53 * hash) + getSolutionStats().hashCode();
449 }
450 if (hasSolutionType()) {
451 hash = (37 * hash) + SOLUTION_TYPE_FIELD_NUMBER;
452 hash = (53 * hash) + solutionType_;
453 }
454 if (getIterationStatsCount() > 0) {
455 hash = (37 * hash) + ITERATION_STATS_FIELD_NUMBER;
456 hash = (53 * hash) + getIterationStatsList().hashCode();
457 }
458 hash = (29 * hash) + getUnknownFields().hashCode();
459 memoizedHashCode = hash;
460 return hash;
461 }
462
464 java.nio.ByteBuffer data)
465 throws com.google.protobuf.InvalidProtocolBufferException {
466 return PARSER.parseFrom(data);
467 }
469 java.nio.ByteBuffer data,
470 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
471 throws com.google.protobuf.InvalidProtocolBufferException {
472 return PARSER.parseFrom(data, extensionRegistry);
473 }
475 com.google.protobuf.ByteString data)
476 throws com.google.protobuf.InvalidProtocolBufferException {
477 return PARSER.parseFrom(data);
478 }
480 com.google.protobuf.ByteString data,
481 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
482 throws com.google.protobuf.InvalidProtocolBufferException {
483 return PARSER.parseFrom(data, extensionRegistry);
484 }
486 throws com.google.protobuf.InvalidProtocolBufferException {
487 return PARSER.parseFrom(data);
488 }
490 byte[] data,
491 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
492 throws com.google.protobuf.InvalidProtocolBufferException {
493 return PARSER.parseFrom(data, extensionRegistry);
494 }
495 public static com.google.ortools.pdlp.FeasibilityPolishingDetails parseFrom(java.io.InputStream input)
496 throws java.io.IOException {
497 return com.google.protobuf.GeneratedMessage
498 .parseWithIOException(PARSER, input);
499 }
501 java.io.InputStream input,
502 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
503 throws java.io.IOException {
504 return com.google.protobuf.GeneratedMessage
505 .parseWithIOException(PARSER, input, extensionRegistry);
506 }
507
509 throws java.io.IOException {
510 return com.google.protobuf.GeneratedMessage
511 .parseDelimitedWithIOException(PARSER, input);
512 }
513
515 java.io.InputStream input,
516 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
517 throws java.io.IOException {
518 return com.google.protobuf.GeneratedMessage
519 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
520 }
522 com.google.protobuf.CodedInputStream input)
523 throws java.io.IOException {
524 return com.google.protobuf.GeneratedMessage
525 .parseWithIOException(PARSER, input);
526 }
528 com.google.protobuf.CodedInputStream input,
529 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
530 throws java.io.IOException {
531 return com.google.protobuf.GeneratedMessage
532 .parseWithIOException(PARSER, input, extensionRegistry);
533 }
534
535 @java.lang.Override
536 public Builder newBuilderForType() { return newBuilder(); }
537 public static Builder newBuilder() {
538 return DEFAULT_INSTANCE.toBuilder();
539 }
540 public static Builder newBuilder(com.google.ortools.pdlp.FeasibilityPolishingDetails prototype) {
541 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
542 }
543 @java.lang.Override
545 return this == DEFAULT_INSTANCE
546 ? new Builder() : new Builder().mergeFrom(this);
547 }
548
549 @java.lang.Override
551 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
552 Builder builder = new Builder(parent);
553 return builder;
554 }
564 public static final class Builder extends
565 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
566 // @@protoc_insertion_point(builder_implements:operations_research.pdlp.FeasibilityPolishingDetails)
567 com.google.ortools.pdlp.FeasibilityPolishingDetailsOrBuilder {
568 public static final com.google.protobuf.Descriptors.Descriptor
570 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_FeasibilityPolishingDetails_descriptor;
571 }
572
573 @java.lang.Override
574 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
576 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_FeasibilityPolishingDetails_fieldAccessorTable
577 .ensureFieldAccessorsInitialized(
578 com.google.ortools.pdlp.FeasibilityPolishingDetails.class, com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder.class);
579 }
580
581 // Construct using com.google.ortools.pdlp.FeasibilityPolishingDetails.newBuilder()
582 private Builder() {
583 maybeForceBuilderInitialization();
584 }
585
586 private Builder(
587 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
588 super(parent);
589 maybeForceBuilderInitialization();
590 }
591 private void maybeForceBuilderInitialization() {
592 if (com.google.protobuf.GeneratedMessage
593 .alwaysUseFieldBuilders) {
594 getParamsFieldBuilder();
595 getSolutionStatsFieldBuilder();
596 getIterationStatsFieldBuilder();
597 }
598 }
599 @java.lang.Override
600 public Builder clear() {
601 super.clear();
602 bitField0_ = 0;
603 polishingPhaseType_ = 0;
604 mainIterationCount_ = 0;
605 params_ = null;
606 if (paramsBuilder_ != null) {
607 paramsBuilder_.dispose();
608 paramsBuilder_ = null;
609 }
610 terminationReason_ = 0;
611 iterationCount_ = 0;
612 solveTimeSec_ = 0D;
613 solutionStats_ = null;
614 if (solutionStatsBuilder_ != null) {
615 solutionStatsBuilder_.dispose();
616 solutionStatsBuilder_ = null;
617 }
618 solutionType_ = 0;
619 if (iterationStatsBuilder_ == null) {
620 iterationStats_ = java.util.Collections.emptyList();
621 } else {
622 iterationStats_ = null;
623 iterationStatsBuilder_.clear();
624 }
625 bitField0_ = (bitField0_ & ~0x00000100);
626 return this;
627 }
628
629 @java.lang.Override
630 public com.google.protobuf.Descriptors.Descriptor
632 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_FeasibilityPolishingDetails_descriptor;
633 }
634
635 @java.lang.Override
637 return com.google.ortools.pdlp.FeasibilityPolishingDetails.getDefaultInstance();
638 }
639
640 @java.lang.Override
643 if (!result.isInitialized()) {
644 throw newUninitializedMessageException(result);
645 }
646 return result;
647 }
648
649 @java.lang.Override
651 com.google.ortools.pdlp.FeasibilityPolishingDetails result = new com.google.ortools.pdlp.FeasibilityPolishingDetails(this);
652 buildPartialRepeatedFields(result);
653 if (bitField0_ != 0) { buildPartial0(result); }
654 onBuilt();
655 return result;
656 }
657
658 private void buildPartialRepeatedFields(com.google.ortools.pdlp.FeasibilityPolishingDetails result) {
659 if (iterationStatsBuilder_ == null) {
660 if (((bitField0_ & 0x00000100) != 0)) {
661 iterationStats_ = java.util.Collections.unmodifiableList(iterationStats_);
662 bitField0_ = (bitField0_ & ~0x00000100);
663 }
664 result.iterationStats_ = iterationStats_;
665 } else {
666 result.iterationStats_ = iterationStatsBuilder_.build();
667 }
668 }
669
670 private void buildPartial0(com.google.ortools.pdlp.FeasibilityPolishingDetails result) {
671 int from_bitField0_ = bitField0_;
672 int to_bitField0_ = 0;
673 if (((from_bitField0_ & 0x00000001) != 0)) {
674 result.polishingPhaseType_ = polishingPhaseType_;
675 to_bitField0_ |= 0x00000001;
676 }
677 if (((from_bitField0_ & 0x00000002) != 0)) {
678 result.mainIterationCount_ = mainIterationCount_;
679 to_bitField0_ |= 0x00000002;
680 }
681 if (((from_bitField0_ & 0x00000004) != 0)) {
682 result.params_ = paramsBuilder_ == null
683 ? params_
684 : paramsBuilder_.build();
685 to_bitField0_ |= 0x00000004;
686 }
687 if (((from_bitField0_ & 0x00000008) != 0)) {
688 result.terminationReason_ = terminationReason_;
689 to_bitField0_ |= 0x00000008;
690 }
691 if (((from_bitField0_ & 0x00000010) != 0)) {
692 result.iterationCount_ = iterationCount_;
693 to_bitField0_ |= 0x00000010;
694 }
695 if (((from_bitField0_ & 0x00000020) != 0)) {
696 result.solveTimeSec_ = solveTimeSec_;
697 to_bitField0_ |= 0x00000020;
698 }
699 if (((from_bitField0_ & 0x00000040) != 0)) {
700 result.solutionStats_ = solutionStatsBuilder_ == null
701 ? solutionStats_
702 : solutionStatsBuilder_.build();
703 to_bitField0_ |= 0x00000040;
704 }
705 if (((from_bitField0_ & 0x00000080) != 0)) {
706 result.solutionType_ = solutionType_;
707 to_bitField0_ |= 0x00000080;
708 }
709 result.bitField0_ |= to_bitField0_;
710 }
711
712 @java.lang.Override
713 public Builder mergeFrom(com.google.protobuf.Message other) {
714 if (other instanceof com.google.ortools.pdlp.FeasibilityPolishingDetails) {
715 return mergeFrom((com.google.ortools.pdlp.FeasibilityPolishingDetails)other);
716 } else {
717 super.mergeFrom(other);
718 return this;
719 }
720 }
721
722 public Builder mergeFrom(com.google.ortools.pdlp.FeasibilityPolishingDetails other) {
723 if (other == com.google.ortools.pdlp.FeasibilityPolishingDetails.getDefaultInstance()) return this;
724 if (other.hasPolishingPhaseType()) {
725 setPolishingPhaseType(other.getPolishingPhaseType());
726 }
727 if (other.hasMainIterationCount()) {
728 setMainIterationCount(other.getMainIterationCount());
729 }
730 if (other.hasParams()) {
731 mergeParams(other.getParams());
732 }
733 if (other.hasTerminationReason()) {
734 setTerminationReason(other.getTerminationReason());
735 }
736 if (other.hasIterationCount()) {
737 setIterationCount(other.getIterationCount());
738 }
739 if (other.hasSolveTimeSec()) {
740 setSolveTimeSec(other.getSolveTimeSec());
741 }
742 if (other.hasSolutionStats()) {
743 mergeSolutionStats(other.getSolutionStats());
744 }
745 if (other.hasSolutionType()) {
746 setSolutionType(other.getSolutionType());
747 }
748 if (iterationStatsBuilder_ == null) {
749 if (!other.iterationStats_.isEmpty()) {
750 if (iterationStats_.isEmpty()) {
751 iterationStats_ = other.iterationStats_;
752 bitField0_ = (bitField0_ & ~0x00000100);
753 } else {
754 ensureIterationStatsIsMutable();
755 iterationStats_.addAll(other.iterationStats_);
756 }
757 onChanged();
758 }
759 } else {
760 if (!other.iterationStats_.isEmpty()) {
761 if (iterationStatsBuilder_.isEmpty()) {
762 iterationStatsBuilder_.dispose();
763 iterationStatsBuilder_ = null;
764 iterationStats_ = other.iterationStats_;
765 bitField0_ = (bitField0_ & ~0x00000100);
766 iterationStatsBuilder_ =
767 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
768 getIterationStatsFieldBuilder() : null;
769 } else {
770 iterationStatsBuilder_.addAllMessages(other.iterationStats_);
771 }
772 }
773 }
774 this.mergeUnknownFields(other.getUnknownFields());
775 onChanged();
776 return this;
777 }
778
779 @java.lang.Override
780 public final boolean isInitialized() {
781 return true;
782 }
783
784 @java.lang.Override
786 com.google.protobuf.CodedInputStream input,
787 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
788 throws java.io.IOException {
789 if (extensionRegistry == null) {
790 throw new java.lang.NullPointerException();
791 }
792 try {
793 boolean done = false;
794 while (!done) {
795 int tag = input.readTag();
796 switch (tag) {
797 case 0:
798 done = true;
799 break;
800 case 8: {
801 int tmpRaw = input.readEnum();
803 com.google.ortools.pdlp.PolishingPhaseType.forNumber(tmpRaw);
804 if (tmpValue == null) {
805 mergeUnknownVarintField(1, tmpRaw);
806 } else {
807 polishingPhaseType_ = tmpRaw;
808 bitField0_ |= 0x00000001;
809 }
810 break;
811 } // case 8
812 case 16: {
813 mainIterationCount_ = input.readInt32();
814 bitField0_ |= 0x00000002;
815 break;
816 } // case 16
817 case 26: {
818 input.readMessage(
819 getParamsFieldBuilder().getBuilder(),
820 extensionRegistry);
821 bitField0_ |= 0x00000004;
822 break;
823 } // case 26
824 case 32: {
825 int tmpRaw = input.readEnum();
827 com.google.ortools.pdlp.TerminationReason.forNumber(tmpRaw);
828 if (tmpValue == null) {
829 mergeUnknownVarintField(4, tmpRaw);
830 } else {
831 terminationReason_ = tmpRaw;
832 bitField0_ |= 0x00000008;
833 }
834 break;
835 } // case 32
836 case 40: {
837 iterationCount_ = input.readInt32();
838 bitField0_ |= 0x00000010;
839 break;
840 } // case 40
841 case 49: {
842 solveTimeSec_ = input.readDouble();
843 bitField0_ |= 0x00000020;
844 break;
845 } // case 49
846 case 58: {
847 input.readMessage(
848 getSolutionStatsFieldBuilder().getBuilder(),
849 extensionRegistry);
850 bitField0_ |= 0x00000040;
851 break;
852 } // case 58
853 case 64: {
854 int tmpRaw = input.readEnum();
856 com.google.ortools.pdlp.PointType.forNumber(tmpRaw);
857 if (tmpValue == null) {
858 mergeUnknownVarintField(8, tmpRaw);
859 } else {
860 solutionType_ = tmpRaw;
861 bitField0_ |= 0x00000080;
862 }
863 break;
864 } // case 64
865 case 74: {
867 input.readMessage(
868 com.google.ortools.pdlp.IterationStats.parser(),
869 extensionRegistry);
870 if (iterationStatsBuilder_ == null) {
871 ensureIterationStatsIsMutable();
872 iterationStats_.add(m);
873 } else {
874 iterationStatsBuilder_.addMessage(m);
875 }
876 break;
877 } // case 74
878 default: {
879 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
880 done = true; // was an endgroup tag
881 }
882 break;
883 } // default:
884 } // switch (tag)
885 } // while (!done)
886 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
887 throw e.unwrapIOException();
888 } finally {
889 onChanged();
890 } // finally
891 return this;
892 }
893 private int bitField0_;
894
895 private int polishingPhaseType_ = 0;
900 @java.lang.Override public boolean hasPolishingPhaseType() {
901 return ((bitField0_ & 0x00000001) != 0);
902 }
907 @java.lang.Override
909 com.google.ortools.pdlp.PolishingPhaseType result = com.google.ortools.pdlp.PolishingPhaseType.forNumber(polishingPhaseType_);
910 return result == null ? com.google.ortools.pdlp.PolishingPhaseType.POLISHING_PHASE_TYPE_UNSPECIFIED : result;
911 }
917 public Builder setPolishingPhaseType(com.google.ortools.pdlp.PolishingPhaseType value) {
918 if (value == null) {
919 throw new NullPointerException();
920 }
921 bitField0_ |= 0x00000001;
922 polishingPhaseType_ = value.getNumber();
923 onChanged();
924 return this;
925 }
931 bitField0_ = (bitField0_ & ~0x00000001);
932 polishingPhaseType_ = 0;
933 onChanged();
934 return this;
935 }
936
937 private int mainIterationCount_ ;
947 @java.lang.Override
948 public boolean hasMainIterationCount() {
949 return ((bitField0_ & 0x00000002) != 0);
950 }
960 @java.lang.Override
962 return mainIterationCount_;
963 }
974 public Builder setMainIterationCount(int value) {
975
976 mainIterationCount_ = value;
977 bitField0_ |= 0x00000002;
978 onChanged();
979 return this;
980 }
991 bitField0_ = (bitField0_ & ~0x00000002);
992 mainIterationCount_ = 0;
993 onChanged();
994 return this;
995 }
996
998 private com.google.protobuf.SingleFieldBuilder<
999 com.google.ortools.pdlp.PrimalDualHybridGradientParams, com.google.ortools.pdlp.PrimalDualHybridGradientParams.Builder, com.google.ortools.pdlp.PrimalDualHybridGradientParamsOrBuilder> paramsBuilder_;
1004 public boolean hasParams() {
1005 return ((bitField0_ & 0x00000004) != 0);
1006 }
1012 if (paramsBuilder_ == null) {
1013 return params_ == null ? com.google.ortools.pdlp.PrimalDualHybridGradientParams.getDefaultInstance() : params_;
1014 } else {
1015 return paramsBuilder_.getMessage();
1016 }
1017 }
1021 public Builder setParams(com.google.ortools.pdlp.PrimalDualHybridGradientParams value) {
1022 if (paramsBuilder_ == null) {
1023 if (value == null) {
1024 throw new NullPointerException();
1025 }
1026 params_ = value;
1027 } else {
1028 paramsBuilder_.setMessage(value);
1029 }
1030 bitField0_ |= 0x00000004;
1031 onChanged();
1032 return this;
1033 }
1038 com.google.ortools.pdlp.PrimalDualHybridGradientParams.Builder builderForValue) {
1039 if (paramsBuilder_ == null) {
1040 params_ = builderForValue.build();
1041 } else {
1042 paramsBuilder_.setMessage(builderForValue.build());
1043 }
1044 bitField0_ |= 0x00000004;
1045 onChanged();
1046 return this;
1047 }
1051 public Builder mergeParams(com.google.ortools.pdlp.PrimalDualHybridGradientParams value) {
1052 if (paramsBuilder_ == null) {
1053 if (((bitField0_ & 0x00000004) != 0) &&
1054 params_ != null &&
1055 params_ != com.google.ortools.pdlp.PrimalDualHybridGradientParams.getDefaultInstance()) {
1056 getParamsBuilder().mergeFrom(value);
1057 } else {
1058 params_ = value;
1059 }
1060 } else {
1061 paramsBuilder_.mergeFrom(value);
1062 }
1063 if (params_ != null) {
1064 bitField0_ |= 0x00000004;
1065 onChanged();
1066 }
1067 return this;
1068 }
1073 bitField0_ = (bitField0_ & ~0x00000004);
1074 params_ = null;
1075 if (paramsBuilder_ != null) {
1076 paramsBuilder_.dispose();
1077 paramsBuilder_ = null;
1078 }
1079 onChanged();
1080 return this;
1081 }
1086 bitField0_ |= 0x00000004;
1087 onChanged();
1088 return getParamsFieldBuilder().getBuilder();
1089 }
1094 if (paramsBuilder_ != null) {
1095 return paramsBuilder_.getMessageOrBuilder();
1096 } else {
1097 return params_ == null ?
1098 com.google.ortools.pdlp.PrimalDualHybridGradientParams.getDefaultInstance() : params_;
1099 }
1100 }
1104 private com.google.protobuf.SingleFieldBuilder<
1105 com.google.ortools.pdlp.PrimalDualHybridGradientParams, com.google.ortools.pdlp.PrimalDualHybridGradientParams.Builder, com.google.ortools.pdlp.PrimalDualHybridGradientParamsOrBuilder>
1106 getParamsFieldBuilder() {
1107 if (paramsBuilder_ == null) {
1108 paramsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
1109 com.google.ortools.pdlp.PrimalDualHybridGradientParams, com.google.ortools.pdlp.PrimalDualHybridGradientParams.Builder, com.google.ortools.pdlp.PrimalDualHybridGradientParamsOrBuilder>(
1110 getParams(),
1111 getParentForChildren(),
1112 isClean());
1113 params_ = null;
1114 }
1115 return paramsBuilder_;
1116 }
1117
1118 private int terminationReason_ = 0;
1123 @java.lang.Override public boolean hasTerminationReason() {
1124 return ((bitField0_ & 0x00000008) != 0);
1125 }
1130 @java.lang.Override
1132 com.google.ortools.pdlp.TerminationReason result = com.google.ortools.pdlp.TerminationReason.forNumber(terminationReason_);
1133 return result == null ? com.google.ortools.pdlp.TerminationReason.TERMINATION_REASON_UNSPECIFIED : result;
1134 }
1140 public Builder setTerminationReason(com.google.ortools.pdlp.TerminationReason value) {
1141 if (value == null) {
1142 throw new NullPointerException();
1143 }
1144 bitField0_ |= 0x00000008;
1145 terminationReason_ = value.getNumber();
1146 onChanged();
1147 return this;
1148 }
1154 bitField0_ = (bitField0_ & ~0x00000008);
1155 terminationReason_ = 0;
1156 onChanged();
1157 return this;
1158 }
1159
1160 private int iterationCount_ ;
1165 @java.lang.Override
1166 public boolean hasIterationCount() {
1167 return ((bitField0_ & 0x00000010) != 0);
1168 }
1173 @java.lang.Override
1174 public int getIterationCount() {
1175 return iterationCount_;
1176 }
1182 public Builder setIterationCount(int value) {
1183
1184 iterationCount_ = value;
1185 bitField0_ |= 0x00000010;
1186 onChanged();
1187 return this;
1188 }
1194 bitField0_ = (bitField0_ & ~0x00000010);
1195 iterationCount_ = 0;
1196 onChanged();
1197 return this;
1198 }
1199
1200 private double solveTimeSec_ ;
1205 @java.lang.Override
1206 public boolean hasSolveTimeSec() {
1207 return ((bitField0_ & 0x00000020) != 0);
1208 }
1213 @java.lang.Override
1214 public double getSolveTimeSec() {
1215 return solveTimeSec_;
1216 }
1222 public Builder setSolveTimeSec(double value) {
1223
1224 solveTimeSec_ = value;
1225 bitField0_ |= 0x00000020;
1226 onChanged();
1227 return this;
1228 }
1234 bitField0_ = (bitField0_ & ~0x00000020);
1235 solveTimeSec_ = 0D;
1236 onChanged();
1237 return this;
1238 }
1239
1240 private com.google.ortools.pdlp.IterationStats solutionStats_;
1241 private com.google.protobuf.SingleFieldBuilder<
1242 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder> solutionStatsBuilder_;
1247 public boolean hasSolutionStats() {
1248 return ((bitField0_ & 0x00000040) != 0);
1249 }
1255 if (solutionStatsBuilder_ == null) {
1256 return solutionStats_ == null ? com.google.ortools.pdlp.IterationStats.getDefaultInstance() : solutionStats_;
1257 } else {
1258 return solutionStatsBuilder_.getMessage();
1259 }
1260 }
1264 public Builder setSolutionStats(com.google.ortools.pdlp.IterationStats value) {
1265 if (solutionStatsBuilder_ == null) {
1266 if (value == null) {
1267 throw new NullPointerException();
1268 }
1269 solutionStats_ = value;
1270 } else {
1271 solutionStatsBuilder_.setMessage(value);
1272 }
1273 bitField0_ |= 0x00000040;
1274 onChanged();
1275 return this;
1276 }
1281 com.google.ortools.pdlp.IterationStats.Builder builderForValue) {
1282 if (solutionStatsBuilder_ == null) {
1283 solutionStats_ = builderForValue.build();
1284 } else {
1285 solutionStatsBuilder_.setMessage(builderForValue.build());
1286 }
1287 bitField0_ |= 0x00000040;
1288 onChanged();
1289 return this;
1290 }
1294 public Builder mergeSolutionStats(com.google.ortools.pdlp.IterationStats value) {
1295 if (solutionStatsBuilder_ == null) {
1296 if (((bitField0_ & 0x00000040) != 0) &&
1297 solutionStats_ != null &&
1298 solutionStats_ != com.google.ortools.pdlp.IterationStats.getDefaultInstance()) {
1299 getSolutionStatsBuilder().mergeFrom(value);
1300 } else {
1301 solutionStats_ = value;
1302 }
1303 } else {
1304 solutionStatsBuilder_.mergeFrom(value);
1305 }
1306 if (solutionStats_ != null) {
1307 bitField0_ |= 0x00000040;
1308 onChanged();
1309 }
1310 return this;
1311 }
1316 bitField0_ = (bitField0_ & ~0x00000040);
1317 solutionStats_ = null;
1318 if (solutionStatsBuilder_ != null) {
1319 solutionStatsBuilder_.dispose();
1320 solutionStatsBuilder_ = null;
1321 }
1322 onChanged();
1323 return this;
1324 }
1329 bitField0_ |= 0x00000040;
1330 onChanged();
1331 return getSolutionStatsFieldBuilder().getBuilder();
1332 }
1337 if (solutionStatsBuilder_ != null) {
1338 return solutionStatsBuilder_.getMessageOrBuilder();
1339 } else {
1340 return solutionStats_ == null ?
1341 com.google.ortools.pdlp.IterationStats.getDefaultInstance() : solutionStats_;
1342 }
1343 }
1347 private com.google.protobuf.SingleFieldBuilder<
1348 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder>
1349 getSolutionStatsFieldBuilder() {
1350 if (solutionStatsBuilder_ == null) {
1351 solutionStatsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
1352 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder>(
1354 getParentForChildren(),
1355 isClean());
1356 solutionStats_ = null;
1357 }
1358 return solutionStatsBuilder_;
1359 }
1360
1361 private int solutionType_ = 0;
1366 @java.lang.Override public boolean hasSolutionType() {
1367 return ((bitField0_ & 0x00000080) != 0);
1368 }
1373 @java.lang.Override
1375 com.google.ortools.pdlp.PointType result = com.google.ortools.pdlp.PointType.forNumber(solutionType_);
1376 return result == null ? com.google.ortools.pdlp.PointType.POINT_TYPE_UNSPECIFIED : result;
1377 }
1383 public Builder setSolutionType(com.google.ortools.pdlp.PointType value) {
1384 if (value == null) {
1385 throw new NullPointerException();
1386 }
1387 bitField0_ |= 0x00000080;
1388 solutionType_ = value.getNumber();
1389 onChanged();
1390 return this;
1391 }
1397 bitField0_ = (bitField0_ & ~0x00000080);
1398 solutionType_ = 0;
1399 onChanged();
1400 return this;
1401 }
1402
1403 private java.util.List<com.google.ortools.pdlp.IterationStats> iterationStats_ =
1404 java.util.Collections.emptyList();
1405 private void ensureIterationStatsIsMutable() {
1406 if (!((bitField0_ & 0x00000100) != 0)) {
1407 iterationStats_ = new java.util.ArrayList<com.google.ortools.pdlp.IterationStats>(iterationStats_);
1408 bitField0_ |= 0x00000100;
1409 }
1410 }
1411
1412 private com.google.protobuf.RepeatedFieldBuilder<
1413 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder> iterationStatsBuilder_;
1414
1418 public java.util.List<com.google.ortools.pdlp.IterationStats> getIterationStatsList() {
1419 if (iterationStatsBuilder_ == null) {
1420 return java.util.Collections.unmodifiableList(iterationStats_);
1421 } else {
1422 return iterationStatsBuilder_.getMessageList();
1423 }
1424 }
1429 if (iterationStatsBuilder_ == null) {
1430 return iterationStats_.size();
1431 } else {
1432 return iterationStatsBuilder_.getCount();
1433 }
1434 }
1439 if (iterationStatsBuilder_ == null) {
1440 return iterationStats_.get(index);
1441 } else {
1442 return iterationStatsBuilder_.getMessage(index);
1443 }
1444 }
1449 int index, com.google.ortools.pdlp.IterationStats value) {
1450 if (iterationStatsBuilder_ == null) {
1451 if (value == null) {
1452 throw new NullPointerException();
1453 }
1454 ensureIterationStatsIsMutable();
1455 iterationStats_.set(index, value);
1456 onChanged();
1457 } else {
1458 iterationStatsBuilder_.setMessage(index, value);
1459 }
1460 return this;
1461 }
1466 int index, com.google.ortools.pdlp.IterationStats.Builder builderForValue) {
1467 if (iterationStatsBuilder_ == null) {
1468 ensureIterationStatsIsMutable();
1469 iterationStats_.set(index, builderForValue.build());
1470 onChanged();
1471 } else {
1472 iterationStatsBuilder_.setMessage(index, builderForValue.build());
1473 }
1474 return this;
1475 }
1479 public Builder addIterationStats(com.google.ortools.pdlp.IterationStats value) {
1480 if (iterationStatsBuilder_ == null) {
1481 if (value == null) {
1482 throw new NullPointerException();
1483 }
1484 ensureIterationStatsIsMutable();
1485 iterationStats_.add(value);
1486 onChanged();
1487 } else {
1488 iterationStatsBuilder_.addMessage(value);
1489 }
1490 return this;
1491 }
1496 int index, com.google.ortools.pdlp.IterationStats value) {
1497 if (iterationStatsBuilder_ == null) {
1498 if (value == null) {
1499 throw new NullPointerException();
1500 }
1501 ensureIterationStatsIsMutable();
1502 iterationStats_.add(index, value);
1503 onChanged();
1504 } else {
1505 iterationStatsBuilder_.addMessage(index, value);
1506 }
1507 return this;
1508 }
1513 com.google.ortools.pdlp.IterationStats.Builder builderForValue) {
1514 if (iterationStatsBuilder_ == null) {
1515 ensureIterationStatsIsMutable();
1516 iterationStats_.add(builderForValue.build());
1517 onChanged();
1518 } else {
1519 iterationStatsBuilder_.addMessage(builderForValue.build());
1520 }
1521 return this;
1522 }
1527 int index, com.google.ortools.pdlp.IterationStats.Builder builderForValue) {
1528 if (iterationStatsBuilder_ == null) {
1529 ensureIterationStatsIsMutable();
1530 iterationStats_.add(index, builderForValue.build());
1531 onChanged();
1532 } else {
1533 iterationStatsBuilder_.addMessage(index, builderForValue.build());
1534 }
1535 return this;
1536 }
1541 java.lang.Iterable<? extends com.google.ortools.pdlp.IterationStats> values) {
1542 if (iterationStatsBuilder_ == null) {
1543 ensureIterationStatsIsMutable();
1544 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1545 values, iterationStats_);
1546 onChanged();
1547 } else {
1548 iterationStatsBuilder_.addAllMessages(values);
1549 }
1550 return this;
1551 }
1556 if (iterationStatsBuilder_ == null) {
1557 iterationStats_ = java.util.Collections.emptyList();
1558 bitField0_ = (bitField0_ & ~0x00000100);
1559 onChanged();
1560 } else {
1561 iterationStatsBuilder_.clear();
1562 }
1563 return this;
1564 }
1568 public Builder removeIterationStats(int index) {
1569 if (iterationStatsBuilder_ == null) {
1570 ensureIterationStatsIsMutable();
1571 iterationStats_.remove(index);
1572 onChanged();
1573 } else {
1574 iterationStatsBuilder_.remove(index);
1575 }
1576 return this;
1577 }
1582 int index) {
1583 return getIterationStatsFieldBuilder().getBuilder(index);
1584 }
1589 int index) {
1590 if (iterationStatsBuilder_ == null) {
1591 return iterationStats_.get(index); } else {
1592 return iterationStatsBuilder_.getMessageOrBuilder(index);
1593 }
1594 }
1598 public java.util.List<? extends com.google.ortools.pdlp.IterationStatsOrBuilder>
1600 if (iterationStatsBuilder_ != null) {
1601 return iterationStatsBuilder_.getMessageOrBuilderList();
1602 } else {
1603 return java.util.Collections.unmodifiableList(iterationStats_);
1604 }
1605 }
1610 return getIterationStatsFieldBuilder().addBuilder(
1611 com.google.ortools.pdlp.IterationStats.getDefaultInstance());
1612 }
1617 int index) {
1618 return getIterationStatsFieldBuilder().addBuilder(
1619 index, com.google.ortools.pdlp.IterationStats.getDefaultInstance());
1620 }
1624 public java.util.List<com.google.ortools.pdlp.IterationStats.Builder>
1626 return getIterationStatsFieldBuilder().getBuilderList();
1627 }
1628 private com.google.protobuf.RepeatedFieldBuilder<
1629 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder>
1630 getIterationStatsFieldBuilder() {
1631 if (iterationStatsBuilder_ == null) {
1632 iterationStatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
1633 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder>(
1634 iterationStats_,
1635 ((bitField0_ & 0x00000100) != 0),
1636 getParentForChildren(),
1637 isClean());
1638 iterationStats_ = null;
1639 }
1640 return iterationStatsBuilder_;
1641 }
1642
1643 // @@protoc_insertion_point(builder_scope:operations_research.pdlp.FeasibilityPolishingDetails)
1644 }
1645
1646 // @@protoc_insertion_point(class_scope:operations_research.pdlp.FeasibilityPolishingDetails)
1647 private static final com.google.ortools.pdlp.FeasibilityPolishingDetails DEFAULT_INSTANCE;
1648 static {
1649 DEFAULT_INSTANCE = new com.google.ortools.pdlp.FeasibilityPolishingDetails();
1650 }
1651
1653 return DEFAULT_INSTANCE;
1654 }
1655
1656 private static final com.google.protobuf.Parser<FeasibilityPolishingDetails>
1657 PARSER = new com.google.protobuf.AbstractParser<FeasibilityPolishingDetails>() {
1658 @java.lang.Override
1659 public FeasibilityPolishingDetails parsePartialFrom(
1660 com.google.protobuf.CodedInputStream input,
1661 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1662 throws com.google.protobuf.InvalidProtocolBufferException {
1663 Builder builder = newBuilder();
1664 try {
1665 builder.mergeFrom(input, extensionRegistry);
1666 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1667 throw e.setUnfinishedMessage(builder.buildPartial());
1668 } catch (com.google.protobuf.UninitializedMessageException e) {
1669 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1670 } catch (java.io.IOException e) {
1671 throw new com.google.protobuf.InvalidProtocolBufferException(e)
1672 .setUnfinishedMessage(builder.buildPartial());
1673 }
1674 return builder.buildPartial();
1675 }
1676 };
1677
1678 public static com.google.protobuf.Parser<FeasibilityPolishingDetails> parser() {
1679 return PARSER;
1680 }
1681
1682 @java.lang.Override
1683 public com.google.protobuf.Parser<FeasibilityPolishingDetails> getParserForType() {
1684 return PARSER;
1685 }
1686
1687 @java.lang.Override
1691
1692}
1693
com.google.ortools.pdlp.IterationStats.Builder getSolutionStatsBuilder()
Builder addIterationStats(int index, com.google.ortools.pdlp.IterationStats value)
Builder setTerminationReason(com.google.ortools.pdlp.TerminationReason value)
java.util.List<? extends com.google.ortools.pdlp.IterationStatsOrBuilder > getIterationStatsOrBuilderList()
Builder setSolutionType(com.google.ortools.pdlp.PointType value)
com.google.ortools.pdlp.IterationStats.Builder getIterationStatsBuilder(int index)
Builder setIterationStats(int index, com.google.ortools.pdlp.IterationStats.Builder builderForValue)
com.google.ortools.pdlp.FeasibilityPolishingDetails getDefaultInstanceForType()
com.google.ortools.pdlp.PrimalDualHybridGradientParams getParams()
Builder addAllIterationStats(java.lang.Iterable<? extends com.google.ortools.pdlp.IterationStats > values)
com.google.ortools.pdlp.IterationStatsOrBuilder getSolutionStatsOrBuilder()
Builder addIterationStats(com.google.ortools.pdlp.IterationStats value)
Builder setParams(com.google.ortools.pdlp.PrimalDualHybridGradientParams.Builder builderForValue)
Builder setSolutionStats(com.google.ortools.pdlp.IterationStats value)
java.util.List< com.google.ortools.pdlp.IterationStats > getIterationStatsList()
com.google.ortools.pdlp.PrimalDualHybridGradientParams.Builder getParamsBuilder()
com.google.ortools.pdlp.IterationStats getIterationStats(int index)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
com.google.ortools.pdlp.PrimalDualHybridGradientParamsOrBuilder getParamsOrBuilder()
com.google.ortools.pdlp.IterationStatsOrBuilder getIterationStatsOrBuilder(int index)
Builder addIterationStats(com.google.ortools.pdlp.IterationStats.Builder builderForValue)
Builder setPolishingPhaseType(com.google.ortools.pdlp.PolishingPhaseType value)
Builder mergeParams(com.google.ortools.pdlp.PrimalDualHybridGradientParams value)
com.google.ortools.pdlp.FeasibilityPolishingDetails buildPartial()
com.google.ortools.pdlp.IterationStats.Builder addIterationStatsBuilder()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Builder mergeFrom(com.google.ortools.pdlp.FeasibilityPolishingDetails other)
Builder mergeSolutionStats(com.google.ortools.pdlp.IterationStats value)
Builder setSolutionStats(com.google.ortools.pdlp.IterationStats.Builder builderForValue)
Builder setParams(com.google.ortools.pdlp.PrimalDualHybridGradientParams value)
Builder setIterationStats(int index, com.google.ortools.pdlp.IterationStats value)
com.google.ortools.pdlp.IterationStats.Builder addIterationStatsBuilder(int index)
Builder addIterationStats(int index, com.google.ortools.pdlp.IterationStats.Builder builderForValue)
java.util.List< com.google.ortools.pdlp.IterationStats.Builder > getIterationStatsBuilderList()
com.google.ortools.pdlp.FeasibilityPolishingDetails build()
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.Parser< FeasibilityPolishingDetails > getParserForType()
com.google.ortools.pdlp.PrimalDualHybridGradientParams getParams()
com.google.ortools.pdlp.TerminationReason getTerminationReason()
java.util.List< com.google.ortools.pdlp.IterationStats > getIterationStatsList()
static com.google.ortools.pdlp.FeasibilityPolishingDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.pdlp.FeasibilityPolishingDetails parseFrom(com.google.protobuf.CodedInputStream input)
static com.google.ortools.pdlp.FeasibilityPolishingDetails parseFrom(java.nio.ByteBuffer data)
com.google.ortools.pdlp.IterationStats getIterationStats(int index)
static com.google.protobuf.Parser< FeasibilityPolishingDetails > parser()
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
com.google.ortools.pdlp.IterationStatsOrBuilder getSolutionStatsOrBuilder()
java.util.List<? extends com.google.ortools.pdlp.IterationStatsOrBuilder > getIterationStatsOrBuilderList()
static com.google.ortools.pdlp.FeasibilityPolishingDetails parseDelimitedFrom(java.io.InputStream input)
static com.google.ortools.pdlp.FeasibilityPolishingDetails getDefaultInstance()
static com.google.ortools.pdlp.FeasibilityPolishingDetails parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.pdlp.PrimalDualHybridGradientParamsOrBuilder getParamsOrBuilder()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
static com.google.ortools.pdlp.FeasibilityPolishingDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.pdlp.FeasibilityPolishingDetails getDefaultInstanceForType()
com.google.ortools.pdlp.PolishingPhaseType getPolishingPhaseType()
static Builder newBuilder(com.google.ortools.pdlp.FeasibilityPolishingDetails prototype)
static com.google.ortools.pdlp.FeasibilityPolishingDetails parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.pdlp.FeasibilityPolishingDetails parseFrom(java.io.InputStream input)
void writeTo(com.google.protobuf.CodedOutputStream output)
static com.google.ortools.pdlp.FeasibilityPolishingDetails parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.pdlp.IterationStatsOrBuilder getIterationStatsOrBuilder(int index)
static com.google.ortools.pdlp.FeasibilityPolishingDetails parseFrom(byte[] data)
static com.google.ortools.pdlp.FeasibilityPolishingDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.pdlp.FeasibilityPolishingDetails parseFrom(com.google.protobuf.ByteString data)
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)