Google OR-Tools v9.14
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// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/pdlp/solve_log.proto
4// Protobuf Java Version: 4.31.1
5
6package com.google.ortools.pdlp;
7
17@com.google.protobuf.Generated
18public final class FeasibilityPolishingDetails extends
19 com.google.protobuf.GeneratedMessage implements
20 // @@protoc_insertion_point(message_implements:operations_research.pdlp.FeasibilityPolishingDetails)
22private static final long serialVersionUID = 0L;
23 static {
24 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
25 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
26 /* major= */ 4,
27 /* minor= */ 31,
28 /* patch= */ 1,
29 /* suffix= */ "",
30 FeasibilityPolishingDetails.class.getName());
31 }
32 // Use FeasibilityPolishingDetails.newBuilder() to construct.
33 private FeasibilityPolishingDetails(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
34 super(builder);
35 }
36 private FeasibilityPolishingDetails() {
37 polishingPhaseType_ = 0;
38 terminationReason_ = 0;
39 solutionType_ = 0;
40 iterationStats_ = java.util.Collections.emptyList();
41 }
42
43 public static final com.google.protobuf.Descriptors.Descriptor
45 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_FeasibilityPolishingDetails_descriptor;
46 }
47
48 @java.lang.Override
49 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
51 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_FeasibilityPolishingDetails_fieldAccessorTable
52 .ensureFieldAccessorsInitialized(
53 com.google.ortools.pdlp.FeasibilityPolishingDetails.class, com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder.class);
54 }
55
56 private int bitField0_;
57 public static final int POLISHING_PHASE_TYPE_FIELD_NUMBER = 1;
58 private int polishingPhaseType_ = 0;
63 @java.lang.Override public boolean hasPolishingPhaseType() {
64 return ((bitField0_ & 0x00000001) != 0);
65 }
66
71 com.google.ortools.pdlp.PolishingPhaseType result = com.google.ortools.pdlp.PolishingPhaseType.forNumber(polishingPhaseType_);
73 }
74
75 public static final int MAIN_ITERATION_COUNT_FIELD_NUMBER = 2;
76 private int mainIterationCount_ = 0;
86 @java.lang.Override
87 public boolean hasMainIterationCount() {
88 return ((bitField0_ & 0x00000002) != 0);
89 }
90
99 @java.lang.Override
101 return mainIterationCount_;
102 }
103
104 public static final int PARAMS_FIELD_NUMBER = 3;
110 @java.lang.Override
111 public boolean hasParams() {
112 return ((bitField0_ & 0x00000004) != 0);
113 }
114
118 @java.lang.Override
120 return params_ == null ? com.google.ortools.pdlp.PrimalDualHybridGradientParams.getDefaultInstance() : params_;
121 }
122
125 @java.lang.Override
127 return params_ == null ? com.google.ortools.pdlp.PrimalDualHybridGradientParams.getDefaultInstance() : params_;
128 }
129
130 public static final int TERMINATION_REASON_FIELD_NUMBER = 4;
131 private int terminationReason_ = 0;
136 @java.lang.Override public boolean hasTerminationReason() {
137 return ((bitField0_ & 0x00000008) != 0);
138 }
139
144 com.google.ortools.pdlp.TerminationReason result = com.google.ortools.pdlp.TerminationReason.forNumber(terminationReason_);
146 }
147
148 public static final int ITERATION_COUNT_FIELD_NUMBER = 5;
149 private int iterationCount_ = 0;
154 @java.lang.Override
155 public boolean hasIterationCount() {
156 return ((bitField0_ & 0x00000010) != 0);
157 }
158
162 @java.lang.Override
163 public int getIterationCount() {
164 return iterationCount_;
165 }
166
167 public static final int SOLVE_TIME_SEC_FIELD_NUMBER = 6;
168 private double solveTimeSec_ = 0D;
173 @java.lang.Override
174 public boolean hasSolveTimeSec() {
175 return ((bitField0_ & 0x00000020) != 0);
176 }
177
181 @java.lang.Override
182 public double getSolveTimeSec() {
183 return solveTimeSec_;
184 }
185
186 public static final int SOLUTION_STATS_FIELD_NUMBER = 7;
187 private com.google.ortools.pdlp.IterationStats solutionStats_;
192 @java.lang.Override
193 public boolean hasSolutionStats() {
194 return ((bitField0_ & 0x00000040) != 0);
195 }
196
200 @java.lang.Override
202 return solutionStats_ == null ? com.google.ortools.pdlp.IterationStats.getDefaultInstance() : solutionStats_;
203 }
204
207 @java.lang.Override
209 return solutionStats_ == null ? com.google.ortools.pdlp.IterationStats.getDefaultInstance() : solutionStats_;
210 }
211
212 public static final int SOLUTION_TYPE_FIELD_NUMBER = 8;
213 private int solutionType_ = 0;
218 @java.lang.Override public boolean hasSolutionType() {
219 return ((bitField0_ & 0x00000080) != 0);
220 }
221
226 com.google.ortools.pdlp.PointType result = com.google.ortools.pdlp.PointType.forNumber(solutionType_);
227 return result == null ? com.google.ortools.pdlp.PointType.POINT_TYPE_UNSPECIFIED : result;
228 }
229
230 public static final int ITERATION_STATS_FIELD_NUMBER = 9;
231 @SuppressWarnings("serial")
232 private java.util.List<com.google.ortools.pdlp.IterationStats> iterationStats_;
236 @java.lang.Override
237 public java.util.List<com.google.ortools.pdlp.IterationStats> getIterationStatsList() {
238 return iterationStats_;
239 }
240
243 @java.lang.Override
244 public java.util.List<? extends com.google.ortools.pdlp.IterationStatsOrBuilder>
246 return iterationStats_;
247 }
248
251 @java.lang.Override
253 return iterationStats_.size();
254 }
255
258 @java.lang.Override
260 return iterationStats_.get(index);
261 }
262
265 @java.lang.Override
267 int index) {
268 return iterationStats_.get(index);
269 }
270
271 private byte memoizedIsInitialized = -1;
272 @java.lang.Override
273 public final boolean isInitialized() {
274 byte isInitialized = memoizedIsInitialized;
275 if (isInitialized == 1) return true;
276 if (isInitialized == 0) return false;
277
278 memoizedIsInitialized = 1;
279 return true;
280 }
281
282 @java.lang.Override
283 public void writeTo(com.google.protobuf.CodedOutputStream output)
284 throws java.io.IOException {
285 if (((bitField0_ & 0x00000001) != 0)) {
286 output.writeEnum(1, polishingPhaseType_);
287 }
288 if (((bitField0_ & 0x00000002) != 0)) {
289 output.writeInt32(2, mainIterationCount_);
290 }
291 if (((bitField0_ & 0x00000004) != 0)) {
292 output.writeMessage(3, getParams());
293 }
294 if (((bitField0_ & 0x00000008) != 0)) {
295 output.writeEnum(4, terminationReason_);
296 }
297 if (((bitField0_ & 0x00000010) != 0)) {
298 output.writeInt32(5, iterationCount_);
299 }
300 if (((bitField0_ & 0x00000020) != 0)) {
301 output.writeDouble(6, solveTimeSec_);
302 }
303 if (((bitField0_ & 0x00000040) != 0)) {
304 output.writeMessage(7, getSolutionStats());
305 }
306 if (((bitField0_ & 0x00000080) != 0)) {
307 output.writeEnum(8, solutionType_);
308 }
309 for (int i = 0; i < iterationStats_.size(); i++) {
310 output.writeMessage(9, iterationStats_.get(i));
311 }
312 getUnknownFields().writeTo(output);
313 }
314
315 @java.lang.Override
316 public int getSerializedSize() {
317 int size = memoizedSize;
318 if (size != -1) return size;
319
320 size = 0;
321 if (((bitField0_ & 0x00000001) != 0)) {
322 size += com.google.protobuf.CodedOutputStream
323 .computeEnumSize(1, polishingPhaseType_);
324 }
325 if (((bitField0_ & 0x00000002) != 0)) {
326 size += com.google.protobuf.CodedOutputStream
327 .computeInt32Size(2, mainIterationCount_);
328 }
329 if (((bitField0_ & 0x00000004) != 0)) {
330 size += com.google.protobuf.CodedOutputStream
331 .computeMessageSize(3, getParams());
332 }
333 if (((bitField0_ & 0x00000008) != 0)) {
334 size += com.google.protobuf.CodedOutputStream
335 .computeEnumSize(4, terminationReason_);
336 }
337 if (((bitField0_ & 0x00000010) != 0)) {
338 size += com.google.protobuf.CodedOutputStream
339 .computeInt32Size(5, iterationCount_);
340 }
341 if (((bitField0_ & 0x00000020) != 0)) {
342 size += com.google.protobuf.CodedOutputStream
343 .computeDoubleSize(6, solveTimeSec_);
344 }
345 if (((bitField0_ & 0x00000040) != 0)) {
346 size += com.google.protobuf.CodedOutputStream
347 .computeMessageSize(7, getSolutionStats());
348 }
349 if (((bitField0_ & 0x00000080) != 0)) {
350 size += com.google.protobuf.CodedOutputStream
351 .computeEnumSize(8, solutionType_);
352 }
353 for (int i = 0; i < iterationStats_.size(); i++) {
354 size += com.google.protobuf.CodedOutputStream
355 .computeMessageSize(9, iterationStats_.get(i));
356 }
357 size += getUnknownFields().getSerializedSize();
358 memoizedSize = size;
359 return size;
360 }
361
362 @java.lang.Override
363 public boolean equals(final java.lang.Object obj) {
364 if (obj == this) {
365 return true;
366 }
367 if (!(obj instanceof com.google.ortools.pdlp.FeasibilityPolishingDetails)) {
368 return super.equals(obj);
369 }
370 com.google.ortools.pdlp.FeasibilityPolishingDetails other = (com.google.ortools.pdlp.FeasibilityPolishingDetails) obj;
371
372 if (hasPolishingPhaseType() != other.hasPolishingPhaseType()) return false;
373 if (hasPolishingPhaseType()) {
374 if (polishingPhaseType_ != other.polishingPhaseType_) return false;
375 }
376 if (hasMainIterationCount() != other.hasMainIterationCount()) return false;
377 if (hasMainIterationCount()) {
379 != other.getMainIterationCount()) return false;
380 }
381 if (hasParams() != other.hasParams()) return false;
382 if (hasParams()) {
383 if (!getParams()
384 .equals(other.getParams())) return false;
385 }
386 if (hasTerminationReason() != other.hasTerminationReason()) return false;
387 if (hasTerminationReason()) {
388 if (terminationReason_ != other.terminationReason_) return false;
389 }
390 if (hasIterationCount() != other.hasIterationCount()) return false;
391 if (hasIterationCount()) {
393 != other.getIterationCount()) return false;
394 }
395 if (hasSolveTimeSec() != other.hasSolveTimeSec()) return false;
396 if (hasSolveTimeSec()) {
397 if (java.lang.Double.doubleToLongBits(getSolveTimeSec())
398 != java.lang.Double.doubleToLongBits(
399 other.getSolveTimeSec())) return false;
400 }
401 if (hasSolutionStats() != other.hasSolutionStats()) return false;
402 if (hasSolutionStats()) {
403 if (!getSolutionStats()
404 .equals(other.getSolutionStats())) return false;
405 }
406 if (hasSolutionType() != other.hasSolutionType()) return false;
407 if (hasSolutionType()) {
408 if (solutionType_ != other.solutionType_) return false;
409 }
411 .equals(other.getIterationStatsList())) return false;
412 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
413 return true;
414 }
415
416 @java.lang.Override
417 public int hashCode() {
418 if (memoizedHashCode != 0) {
419 return memoizedHashCode;
420 }
421 int hash = 41;
422 hash = (19 * hash) + getDescriptor().hashCode();
423 if (hasPolishingPhaseType()) {
424 hash = (37 * hash) + POLISHING_PHASE_TYPE_FIELD_NUMBER;
425 hash = (53 * hash) + polishingPhaseType_;
426 }
427 if (hasMainIterationCount()) {
428 hash = (37 * hash) + MAIN_ITERATION_COUNT_FIELD_NUMBER;
429 hash = (53 * hash) + getMainIterationCount();
430 }
431 if (hasParams()) {
432 hash = (37 * hash) + PARAMS_FIELD_NUMBER;
433 hash = (53 * hash) + getParams().hashCode();
434 }
435 if (hasTerminationReason()) {
436 hash = (37 * hash) + TERMINATION_REASON_FIELD_NUMBER;
437 hash = (53 * hash) + terminationReason_;
438 }
439 if (hasIterationCount()) {
440 hash = (37 * hash) + ITERATION_COUNT_FIELD_NUMBER;
441 hash = (53 * hash) + getIterationCount();
442 }
443 if (hasSolveTimeSec()) {
444 hash = (37 * hash) + SOLVE_TIME_SEC_FIELD_NUMBER;
445 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
446 java.lang.Double.doubleToLongBits(getSolveTimeSec()));
447 }
448 if (hasSolutionStats()) {
449 hash = (37 * hash) + SOLUTION_STATS_FIELD_NUMBER;
450 hash = (53 * hash) + getSolutionStats().hashCode();
451 }
452 if (hasSolutionType()) {
453 hash = (37 * hash) + SOLUTION_TYPE_FIELD_NUMBER;
454 hash = (53 * hash) + solutionType_;
455 }
456 if (getIterationStatsCount() > 0) {
457 hash = (37 * hash) + ITERATION_STATS_FIELD_NUMBER;
458 hash = (53 * hash) + getIterationStatsList().hashCode();
459 }
460 hash = (29 * hash) + getUnknownFields().hashCode();
461 memoizedHashCode = hash;
462 return hash;
463 }
464
466 java.nio.ByteBuffer data)
467 throws com.google.protobuf.InvalidProtocolBufferException {
468 return PARSER.parseFrom(data);
469 }
471 java.nio.ByteBuffer data,
472 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
473 throws com.google.protobuf.InvalidProtocolBufferException {
474 return PARSER.parseFrom(data, extensionRegistry);
475 }
477 com.google.protobuf.ByteString data)
478 throws com.google.protobuf.InvalidProtocolBufferException {
479 return PARSER.parseFrom(data);
480 }
482 com.google.protobuf.ByteString data,
483 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
484 throws com.google.protobuf.InvalidProtocolBufferException {
485 return PARSER.parseFrom(data, extensionRegistry);
486 }
488 throws com.google.protobuf.InvalidProtocolBufferException {
489 return PARSER.parseFrom(data);
490 }
492 byte[] data,
493 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
494 throws com.google.protobuf.InvalidProtocolBufferException {
495 return PARSER.parseFrom(data, extensionRegistry);
496 }
497 public static com.google.ortools.pdlp.FeasibilityPolishingDetails parseFrom(java.io.InputStream input)
498 throws java.io.IOException {
499 return com.google.protobuf.GeneratedMessage
500 .parseWithIOException(PARSER, input);
501 }
503 java.io.InputStream input,
504 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
505 throws java.io.IOException {
506 return com.google.protobuf.GeneratedMessage
507 .parseWithIOException(PARSER, input, extensionRegistry);
508 }
509
511 throws java.io.IOException {
512 return com.google.protobuf.GeneratedMessage
513 .parseDelimitedWithIOException(PARSER, input);
514 }
515
517 java.io.InputStream input,
518 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
519 throws java.io.IOException {
520 return com.google.protobuf.GeneratedMessage
521 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
522 }
524 com.google.protobuf.CodedInputStream input)
525 throws java.io.IOException {
526 return com.google.protobuf.GeneratedMessage
527 .parseWithIOException(PARSER, input);
528 }
530 com.google.protobuf.CodedInputStream input,
531 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
532 throws java.io.IOException {
533 return com.google.protobuf.GeneratedMessage
534 .parseWithIOException(PARSER, input, extensionRegistry);
535 }
536
537 @java.lang.Override
538 public Builder newBuilderForType() { return newBuilder(); }
539 public static Builder newBuilder() {
540 return DEFAULT_INSTANCE.toBuilder();
541 }
542 public static Builder newBuilder(com.google.ortools.pdlp.FeasibilityPolishingDetails prototype) {
543 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
544 }
545 @java.lang.Override
547 return this == DEFAULT_INSTANCE
548 ? new Builder() : new Builder().mergeFrom(this);
549 }
550
551 @java.lang.Override
553 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
554 Builder builder = new Builder(parent);
555 return builder;
556 }
557
566 public static final class Builder extends
567 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
568 // @@protoc_insertion_point(builder_implements:operations_research.pdlp.FeasibilityPolishingDetails)
570 public static final com.google.protobuf.Descriptors.Descriptor
572 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_FeasibilityPolishingDetails_descriptor;
573 }
574
575 @java.lang.Override
576 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
578 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_FeasibilityPolishingDetails_fieldAccessorTable
579 .ensureFieldAccessorsInitialized(
580 com.google.ortools.pdlp.FeasibilityPolishingDetails.class, com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder.class);
581 }
582
583 // Construct using com.google.ortools.pdlp.FeasibilityPolishingDetails.newBuilder()
584 private Builder() {
585 maybeForceBuilderInitialization();
586 }
587
588 private Builder(
589 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
590 super(parent);
591 maybeForceBuilderInitialization();
592 }
593 private void maybeForceBuilderInitialization() {
594 if (com.google.protobuf.GeneratedMessage
595 .alwaysUseFieldBuilders) {
596 internalGetParamsFieldBuilder();
597 internalGetSolutionStatsFieldBuilder();
598 internalGetIterationStatsFieldBuilder();
599 }
600 }
601 @java.lang.Override
602 public Builder clear() {
603 super.clear();
604 bitField0_ = 0;
605 polishingPhaseType_ = 0;
606 mainIterationCount_ = 0;
607 params_ = null;
608 if (paramsBuilder_ != null) {
609 paramsBuilder_.dispose();
610 paramsBuilder_ = null;
611 }
612 terminationReason_ = 0;
613 iterationCount_ = 0;
614 solveTimeSec_ = 0D;
615 solutionStats_ = null;
616 if (solutionStatsBuilder_ != null) {
617 solutionStatsBuilder_.dispose();
618 solutionStatsBuilder_ = null;
619 }
620 solutionType_ = 0;
621 if (iterationStatsBuilder_ == null) {
622 iterationStats_ = java.util.Collections.emptyList();
623 } else {
624 iterationStats_ = null;
625 iterationStatsBuilder_.clear();
626 }
627 bitField0_ = (bitField0_ & ~0x00000100);
628 return this;
629 }
630
631 @java.lang.Override
632 public com.google.protobuf.Descriptors.Descriptor
634 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_FeasibilityPolishingDetails_descriptor;
635 }
636
637 @java.lang.Override
639 return com.google.ortools.pdlp.FeasibilityPolishingDetails.getDefaultInstance();
640 }
641
642 @java.lang.Override
645 if (!result.isInitialized()) {
646 throw newUninitializedMessageException(result);
647 }
648 return result;
649 }
650
651 @java.lang.Override
653 com.google.ortools.pdlp.FeasibilityPolishingDetails result = new com.google.ortools.pdlp.FeasibilityPolishingDetails(this);
654 buildPartialRepeatedFields(result);
655 if (bitField0_ != 0) { buildPartial0(result); }
656 onBuilt();
657 return result;
658 }
659
660 private void buildPartialRepeatedFields(com.google.ortools.pdlp.FeasibilityPolishingDetails result) {
661 if (iterationStatsBuilder_ == null) {
662 if (((bitField0_ & 0x00000100) != 0)) {
663 iterationStats_ = java.util.Collections.unmodifiableList(iterationStats_);
664 bitField0_ = (bitField0_ & ~0x00000100);
665 }
666 result.iterationStats_ = iterationStats_;
667 } else {
668 result.iterationStats_ = iterationStatsBuilder_.build();
669 }
670 }
671
672 private void buildPartial0(com.google.ortools.pdlp.FeasibilityPolishingDetails result) {
673 int from_bitField0_ = bitField0_;
674 int to_bitField0_ = 0;
675 if (((from_bitField0_ & 0x00000001) != 0)) {
676 result.polishingPhaseType_ = polishingPhaseType_;
677 to_bitField0_ |= 0x00000001;
678 }
679 if (((from_bitField0_ & 0x00000002) != 0)) {
680 result.mainIterationCount_ = mainIterationCount_;
681 to_bitField0_ |= 0x00000002;
682 }
683 if (((from_bitField0_ & 0x00000004) != 0)) {
684 result.params_ = paramsBuilder_ == null
685 ? params_
686 : paramsBuilder_.build();
687 to_bitField0_ |= 0x00000004;
688 }
689 if (((from_bitField0_ & 0x00000008) != 0)) {
690 result.terminationReason_ = terminationReason_;
691 to_bitField0_ |= 0x00000008;
692 }
693 if (((from_bitField0_ & 0x00000010) != 0)) {
694 result.iterationCount_ = iterationCount_;
695 to_bitField0_ |= 0x00000010;
696 }
697 if (((from_bitField0_ & 0x00000020) != 0)) {
698 result.solveTimeSec_ = solveTimeSec_;
699 to_bitField0_ |= 0x00000020;
700 }
701 if (((from_bitField0_ & 0x00000040) != 0)) {
702 result.solutionStats_ = solutionStatsBuilder_ == null
703 ? solutionStats_
704 : solutionStatsBuilder_.build();
705 to_bitField0_ |= 0x00000040;
706 }
707 if (((from_bitField0_ & 0x00000080) != 0)) {
708 result.solutionType_ = solutionType_;
709 to_bitField0_ |= 0x00000080;
710 }
711 result.bitField0_ |= to_bitField0_;
712 }
713
714 @java.lang.Override
715 public Builder mergeFrom(com.google.protobuf.Message other) {
716 if (other instanceof com.google.ortools.pdlp.FeasibilityPolishingDetails) {
717 return mergeFrom((com.google.ortools.pdlp.FeasibilityPolishingDetails)other);
718 } else {
719 super.mergeFrom(other);
720 return this;
721 }
722 }
723
724 public Builder mergeFrom(com.google.ortools.pdlp.FeasibilityPolishingDetails other) {
725 if (other == com.google.ortools.pdlp.FeasibilityPolishingDetails.getDefaultInstance()) return this;
726 if (other.hasPolishingPhaseType()) {
727 setPolishingPhaseType(other.getPolishingPhaseType());
728 }
729 if (other.hasMainIterationCount()) {
730 setMainIterationCount(other.getMainIterationCount());
731 }
732 if (other.hasParams()) {
733 mergeParams(other.getParams());
734 }
735 if (other.hasTerminationReason()) {
736 setTerminationReason(other.getTerminationReason());
737 }
738 if (other.hasIterationCount()) {
739 setIterationCount(other.getIterationCount());
740 }
741 if (other.hasSolveTimeSec()) {
742 setSolveTimeSec(other.getSolveTimeSec());
743 }
744 if (other.hasSolutionStats()) {
745 mergeSolutionStats(other.getSolutionStats());
746 }
747 if (other.hasSolutionType()) {
748 setSolutionType(other.getSolutionType());
749 }
750 if (iterationStatsBuilder_ == null) {
751 if (!other.iterationStats_.isEmpty()) {
752 if (iterationStats_.isEmpty()) {
753 iterationStats_ = other.iterationStats_;
754 bitField0_ = (bitField0_ & ~0x00000100);
755 } else {
756 ensureIterationStatsIsMutable();
757 iterationStats_.addAll(other.iterationStats_);
758 }
759 onChanged();
760 }
761 } else {
762 if (!other.iterationStats_.isEmpty()) {
763 if (iterationStatsBuilder_.isEmpty()) {
764 iterationStatsBuilder_.dispose();
765 iterationStatsBuilder_ = null;
766 iterationStats_ = other.iterationStats_;
767 bitField0_ = (bitField0_ & ~0x00000100);
768 iterationStatsBuilder_ =
769 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
770 internalGetIterationStatsFieldBuilder() : null;
771 } else {
772 iterationStatsBuilder_.addAllMessages(other.iterationStats_);
773 }
774 }
775 }
776 this.mergeUnknownFields(other.getUnknownFields());
777 onChanged();
778 return this;
779 }
780
781 @java.lang.Override
782 public final boolean isInitialized() {
783 return true;
784 }
785
786 @java.lang.Override
787 public Builder mergeFrom(
788 com.google.protobuf.CodedInputStream input,
789 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
790 throws java.io.IOException {
791 if (extensionRegistry == null) {
792 throw new java.lang.NullPointerException();
793 }
794 try {
795 boolean done = false;
796 while (!done) {
797 int tag = input.readTag();
798 switch (tag) {
799 case 0:
800 done = true;
801 break;
802 case 8: {
803 int tmpRaw = input.readEnum();
805 com.google.ortools.pdlp.PolishingPhaseType.forNumber(tmpRaw);
806 if (tmpValue == null) {
807 mergeUnknownVarintField(1, tmpRaw);
808 } else {
809 polishingPhaseType_ = tmpRaw;
810 bitField0_ |= 0x00000001;
811 }
812 break;
813 } // case 8
814 case 16: {
815 mainIterationCount_ = input.readInt32();
816 bitField0_ |= 0x00000002;
817 break;
818 } // case 16
819 case 26: {
820 input.readMessage(
821 internalGetParamsFieldBuilder().getBuilder(),
822 extensionRegistry);
823 bitField0_ |= 0x00000004;
824 break;
825 } // case 26
826 case 32: {
827 int tmpRaw = input.readEnum();
829 com.google.ortools.pdlp.TerminationReason.forNumber(tmpRaw);
830 if (tmpValue == null) {
831 mergeUnknownVarintField(4, tmpRaw);
832 } else {
833 terminationReason_ = tmpRaw;
834 bitField0_ |= 0x00000008;
835 }
836 break;
837 } // case 32
838 case 40: {
839 iterationCount_ = input.readInt32();
840 bitField0_ |= 0x00000010;
841 break;
842 } // case 40
843 case 49: {
844 solveTimeSec_ = input.readDouble();
845 bitField0_ |= 0x00000020;
846 break;
847 } // case 49
848 case 58: {
849 input.readMessage(
850 internalGetSolutionStatsFieldBuilder().getBuilder(),
851 extensionRegistry);
852 bitField0_ |= 0x00000040;
853 break;
854 } // case 58
855 case 64: {
856 int tmpRaw = input.readEnum();
858 com.google.ortools.pdlp.PointType.forNumber(tmpRaw);
859 if (tmpValue == null) {
860 mergeUnknownVarintField(8, tmpRaw);
861 } else {
862 solutionType_ = tmpRaw;
863 bitField0_ |= 0x00000080;
864 }
865 break;
866 } // case 64
867 case 74: {
869 input.readMessage(
870 com.google.ortools.pdlp.IterationStats.parser(),
871 extensionRegistry);
872 if (iterationStatsBuilder_ == null) {
873 ensureIterationStatsIsMutable();
874 iterationStats_.add(m);
875 } else {
876 iterationStatsBuilder_.addMessage(m);
877 }
878 break;
879 } // case 74
880 default: {
881 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
882 done = true; // was an endgroup tag
883 }
884 break;
885 } // default:
886 } // switch (tag)
887 } // while (!done)
888 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
889 throw e.unwrapIOException();
890 } finally {
891 onChanged();
892 } // finally
893 return this;
894 }
895 private int bitField0_;
896
897 private int polishingPhaseType_ = 0;
902 @java.lang.Override public boolean hasPolishingPhaseType() {
903 return ((bitField0_ & 0x00000001) != 0);
904 }
905
909 @java.lang.Override
911 com.google.ortools.pdlp.PolishingPhaseType result = com.google.ortools.pdlp.PolishingPhaseType.forNumber(polishingPhaseType_);
913 }
914
919 public Builder setPolishingPhaseType(com.google.ortools.pdlp.PolishingPhaseType value) {
920 if (value == null) { throw new NullPointerException(); }
921 bitField0_ |= 0x00000001;
922 polishingPhaseType_ = value.getNumber();
923 onChanged();
924 return this;
925 }
926
930 public Builder clearPolishingPhaseType() {
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 }
951
960 @java.lang.Override
962 return mainIterationCount_;
963 }
964
974 public Builder setMainIterationCount(int value) {
975
976 mainIterationCount_ = value;
977 bitField0_ |= 0x00000002;
978 onChanged();
979 return this;
980 }
981
990 public Builder clearMainIterationCount() {
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 }
1007
1012 if (paramsBuilder_ == null) {
1013 return params_ == null ? com.google.ortools.pdlp.PrimalDualHybridGradientParams.getDefaultInstance() : params_;
1014 } else {
1015 return paramsBuilder_.getMessage();
1016 }
1017 }
1018
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 }
1034
1037 public Builder setParams(
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 }
1048
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 }
1069
1072 public Builder clearParams() {
1073 bitField0_ = (bitField0_ & ~0x00000004);
1074 params_ = null;
1075 if (paramsBuilder_ != null) {
1076 paramsBuilder_.dispose();
1077 paramsBuilder_ = null;
1078 }
1079 onChanged();
1080 return this;
1081 }
1082
1086 bitField0_ |= 0x00000004;
1087 onChanged();
1088 return internalGetParamsFieldBuilder().getBuilder();
1089 }
1090
1094 if (paramsBuilder_ != null) {
1095 return paramsBuilder_.getMessageOrBuilder();
1096 } else {
1097 return params_ == null ?
1098 com.google.ortools.pdlp.PrimalDualHybridGradientParams.getDefaultInstance() : params_;
1099 }
1100 }
1101
1104 private com.google.protobuf.SingleFieldBuilder<
1105 com.google.ortools.pdlp.PrimalDualHybridGradientParams, com.google.ortools.pdlp.PrimalDualHybridGradientParams.Builder, com.google.ortools.pdlp.PrimalDualHybridGradientParamsOrBuilder>
1106 internalGetParamsFieldBuilder() {
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 }
1126
1130 @java.lang.Override
1132 com.google.ortools.pdlp.TerminationReason result = com.google.ortools.pdlp.TerminationReason.forNumber(terminationReason_);
1134 }
1135
1140 public Builder setTerminationReason(com.google.ortools.pdlp.TerminationReason value) {
1141 if (value == null) { throw new NullPointerException(); }
1142 bitField0_ |= 0x00000008;
1143 terminationReason_ = value.getNumber();
1144 onChanged();
1145 return this;
1146 }
1147
1151 public Builder clearTerminationReason() {
1152 bitField0_ = (bitField0_ & ~0x00000008);
1153 terminationReason_ = 0;
1154 onChanged();
1155 return this;
1156 }
1157
1158 private int iterationCount_ ;
1163 @java.lang.Override
1164 public boolean hasIterationCount() {
1165 return ((bitField0_ & 0x00000010) != 0);
1166 }
1167
1171 @java.lang.Override
1172 public int getIterationCount() {
1173 return iterationCount_;
1174 }
1175
1180 public Builder setIterationCount(int value) {
1181
1182 iterationCount_ = value;
1183 bitField0_ |= 0x00000010;
1184 onChanged();
1185 return this;
1186 }
1187
1191 public Builder clearIterationCount() {
1192 bitField0_ = (bitField0_ & ~0x00000010);
1193 iterationCount_ = 0;
1194 onChanged();
1195 return this;
1196 }
1197
1198 private double solveTimeSec_ ;
1203 @java.lang.Override
1204 public boolean hasSolveTimeSec() {
1205 return ((bitField0_ & 0x00000020) != 0);
1206 }
1207
1211 @java.lang.Override
1212 public double getSolveTimeSec() {
1213 return solveTimeSec_;
1214 }
1215
1220 public Builder setSolveTimeSec(double value) {
1221
1222 solveTimeSec_ = value;
1223 bitField0_ |= 0x00000020;
1224 onChanged();
1225 return this;
1226 }
1227
1231 public Builder clearSolveTimeSec() {
1232 bitField0_ = (bitField0_ & ~0x00000020);
1233 solveTimeSec_ = 0D;
1234 onChanged();
1235 return this;
1236 }
1237
1238 private com.google.ortools.pdlp.IterationStats solutionStats_;
1239 private com.google.protobuf.SingleFieldBuilder<
1240 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder> solutionStatsBuilder_;
1245 public boolean hasSolutionStats() {
1246 return ((bitField0_ & 0x00000040) != 0);
1247 }
1248
1253 if (solutionStatsBuilder_ == null) {
1254 return solutionStats_ == null ? com.google.ortools.pdlp.IterationStats.getDefaultInstance() : solutionStats_;
1255 } else {
1256 return solutionStatsBuilder_.getMessage();
1257 }
1258 }
1259
1262 public Builder setSolutionStats(com.google.ortools.pdlp.IterationStats value) {
1263 if (solutionStatsBuilder_ == null) {
1264 if (value == null) {
1265 throw new NullPointerException();
1266 }
1267 solutionStats_ = value;
1268 } else {
1269 solutionStatsBuilder_.setMessage(value);
1270 }
1271 bitField0_ |= 0x00000040;
1272 onChanged();
1273 return this;
1274 }
1275
1278 public Builder setSolutionStats(
1279 com.google.ortools.pdlp.IterationStats.Builder builderForValue) {
1280 if (solutionStatsBuilder_ == null) {
1281 solutionStats_ = builderForValue.build();
1282 } else {
1283 solutionStatsBuilder_.setMessage(builderForValue.build());
1284 }
1285 bitField0_ |= 0x00000040;
1286 onChanged();
1287 return this;
1288 }
1289
1292 public Builder mergeSolutionStats(com.google.ortools.pdlp.IterationStats value) {
1293 if (solutionStatsBuilder_ == null) {
1294 if (((bitField0_ & 0x00000040) != 0) &&
1295 solutionStats_ != null &&
1296 solutionStats_ != com.google.ortools.pdlp.IterationStats.getDefaultInstance()) {
1297 getSolutionStatsBuilder().mergeFrom(value);
1298 } else {
1299 solutionStats_ = value;
1300 }
1301 } else {
1302 solutionStatsBuilder_.mergeFrom(value);
1303 }
1304 if (solutionStats_ != null) {
1305 bitField0_ |= 0x00000040;
1306 onChanged();
1307 }
1308 return this;
1309 }
1310
1313 public Builder clearSolutionStats() {
1314 bitField0_ = (bitField0_ & ~0x00000040);
1315 solutionStats_ = null;
1316 if (solutionStatsBuilder_ != null) {
1317 solutionStatsBuilder_.dispose();
1318 solutionStatsBuilder_ = null;
1319 }
1320 onChanged();
1321 return this;
1322 }
1323
1327 bitField0_ |= 0x00000040;
1328 onChanged();
1329 return internalGetSolutionStatsFieldBuilder().getBuilder();
1330 }
1331
1335 if (solutionStatsBuilder_ != null) {
1336 return solutionStatsBuilder_.getMessageOrBuilder();
1337 } else {
1338 return solutionStats_ == null ?
1339 com.google.ortools.pdlp.IterationStats.getDefaultInstance() : solutionStats_;
1340 }
1341 }
1342
1345 private com.google.protobuf.SingleFieldBuilder<
1346 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder>
1347 internalGetSolutionStatsFieldBuilder() {
1348 if (solutionStatsBuilder_ == null) {
1349 solutionStatsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
1350 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder>(
1352 getParentForChildren(),
1353 isClean());
1354 solutionStats_ = null;
1355 }
1356 return solutionStatsBuilder_;
1357 }
1358
1359 private int solutionType_ = 0;
1364 @java.lang.Override public boolean hasSolutionType() {
1365 return ((bitField0_ & 0x00000080) != 0);
1366 }
1367
1371 @java.lang.Override
1373 com.google.ortools.pdlp.PointType result = com.google.ortools.pdlp.PointType.forNumber(solutionType_);
1374 return result == null ? com.google.ortools.pdlp.PointType.POINT_TYPE_UNSPECIFIED : result;
1375 }
1376
1381 public Builder setSolutionType(com.google.ortools.pdlp.PointType value) {
1382 if (value == null) { throw new NullPointerException(); }
1383 bitField0_ |= 0x00000080;
1384 solutionType_ = value.getNumber();
1385 onChanged();
1386 return this;
1387 }
1388
1392 public Builder clearSolutionType() {
1393 bitField0_ = (bitField0_ & ~0x00000080);
1394 solutionType_ = 0;
1395 onChanged();
1396 return this;
1397 }
1398
1399 private java.util.List<com.google.ortools.pdlp.IterationStats> iterationStats_ =
1400 java.util.Collections.emptyList();
1401 private void ensureIterationStatsIsMutable() {
1402 if (!((bitField0_ & 0x00000100) != 0)) {
1403 iterationStats_ = new java.util.ArrayList<com.google.ortools.pdlp.IterationStats>(iterationStats_);
1404 bitField0_ |= 0x00000100;
1405 }
1406 }
1407
1408 private com.google.protobuf.RepeatedFieldBuilder<
1409 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder> iterationStatsBuilder_;
1410
1414 public java.util.List<com.google.ortools.pdlp.IterationStats> getIterationStatsList() {
1415 if (iterationStatsBuilder_ == null) {
1416 return java.util.Collections.unmodifiableList(iterationStats_);
1417 } else {
1418 return iterationStatsBuilder_.getMessageList();
1419 }
1420 }
1421
1425 if (iterationStatsBuilder_ == null) {
1426 return iterationStats_.size();
1427 } else {
1428 return iterationStatsBuilder_.getCount();
1429 }
1430 }
1431
1435 if (iterationStatsBuilder_ == null) {
1436 return iterationStats_.get(index);
1437 } else {
1438 return iterationStatsBuilder_.getMessage(index);
1439 }
1440 }
1441
1444 public Builder setIterationStats(
1445 int index, com.google.ortools.pdlp.IterationStats value) {
1446 if (iterationStatsBuilder_ == null) {
1447 if (value == null) {
1448 throw new NullPointerException();
1449 }
1450 ensureIterationStatsIsMutable();
1451 iterationStats_.set(index, value);
1452 onChanged();
1453 } else {
1454 iterationStatsBuilder_.setMessage(index, value);
1455 }
1456 return this;
1457 }
1458
1461 public Builder setIterationStats(
1462 int index, com.google.ortools.pdlp.IterationStats.Builder builderForValue) {
1463 if (iterationStatsBuilder_ == null) {
1464 ensureIterationStatsIsMutable();
1465 iterationStats_.set(index, builderForValue.build());
1466 onChanged();
1467 } else {
1468 iterationStatsBuilder_.setMessage(index, builderForValue.build());
1469 }
1470 return this;
1471 }
1472
1475 public Builder addIterationStats(com.google.ortools.pdlp.IterationStats value) {
1476 if (iterationStatsBuilder_ == null) {
1477 if (value == null) {
1478 throw new NullPointerException();
1479 }
1480 ensureIterationStatsIsMutable();
1481 iterationStats_.add(value);
1482 onChanged();
1483 } else {
1484 iterationStatsBuilder_.addMessage(value);
1485 }
1486 return this;
1487 }
1488
1491 public Builder addIterationStats(
1492 int index, com.google.ortools.pdlp.IterationStats value) {
1493 if (iterationStatsBuilder_ == null) {
1494 if (value == null) {
1495 throw new NullPointerException();
1496 }
1497 ensureIterationStatsIsMutable();
1498 iterationStats_.add(index, value);
1499 onChanged();
1500 } else {
1501 iterationStatsBuilder_.addMessage(index, value);
1502 }
1503 return this;
1504 }
1505
1508 public Builder addIterationStats(
1509 com.google.ortools.pdlp.IterationStats.Builder builderForValue) {
1510 if (iterationStatsBuilder_ == null) {
1511 ensureIterationStatsIsMutable();
1512 iterationStats_.add(builderForValue.build());
1513 onChanged();
1514 } else {
1515 iterationStatsBuilder_.addMessage(builderForValue.build());
1516 }
1517 return this;
1518 }
1519
1522 public Builder addIterationStats(
1523 int index, com.google.ortools.pdlp.IterationStats.Builder builderForValue) {
1524 if (iterationStatsBuilder_ == null) {
1525 ensureIterationStatsIsMutable();
1526 iterationStats_.add(index, builderForValue.build());
1527 onChanged();
1528 } else {
1529 iterationStatsBuilder_.addMessage(index, builderForValue.build());
1530 }
1531 return this;
1532 }
1533
1536 public Builder addAllIterationStats(
1537 java.lang.Iterable<? extends com.google.ortools.pdlp.IterationStats> values) {
1538 if (iterationStatsBuilder_ == null) {
1539 ensureIterationStatsIsMutable();
1540 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1541 values, iterationStats_);
1542 onChanged();
1543 } else {
1544 iterationStatsBuilder_.addAllMessages(values);
1545 }
1546 return this;
1547 }
1548
1551 public Builder clearIterationStats() {
1552 if (iterationStatsBuilder_ == null) {
1553 iterationStats_ = java.util.Collections.emptyList();
1554 bitField0_ = (bitField0_ & ~0x00000100);
1555 onChanged();
1556 } else {
1557 iterationStatsBuilder_.clear();
1558 }
1559 return this;
1560 }
1561
1564 public Builder removeIterationStats(int index) {
1565 if (iterationStatsBuilder_ == null) {
1566 ensureIterationStatsIsMutable();
1567 iterationStats_.remove(index);
1568 onChanged();
1569 } else {
1570 iterationStatsBuilder_.remove(index);
1571 }
1572 return this;
1573 }
1574
1578 int index) {
1579 return internalGetIterationStatsFieldBuilder().getBuilder(index);
1580 }
1581
1585 int index) {
1586 if (iterationStatsBuilder_ == null) {
1587 return iterationStats_.get(index); } else {
1588 return iterationStatsBuilder_.getMessageOrBuilder(index);
1589 }
1590 }
1591
1594 public java.util.List<? extends com.google.ortools.pdlp.IterationStatsOrBuilder>
1596 if (iterationStatsBuilder_ != null) {
1597 return iterationStatsBuilder_.getMessageOrBuilderList();
1598 } else {
1599 return java.util.Collections.unmodifiableList(iterationStats_);
1600 }
1601 }
1602
1606 return internalGetIterationStatsFieldBuilder().addBuilder(
1607 com.google.ortools.pdlp.IterationStats.getDefaultInstance());
1608 }
1609
1613 int index) {
1614 return internalGetIterationStatsFieldBuilder().addBuilder(
1615 index, com.google.ortools.pdlp.IterationStats.getDefaultInstance());
1616 }
1617
1620 public java.util.List<com.google.ortools.pdlp.IterationStats.Builder>
1622 return internalGetIterationStatsFieldBuilder().getBuilderList();
1623 }
1624 private com.google.protobuf.RepeatedFieldBuilder<
1625 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder>
1626 internalGetIterationStatsFieldBuilder() {
1627 if (iterationStatsBuilder_ == null) {
1628 iterationStatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
1629 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder>(
1630 iterationStats_,
1631 ((bitField0_ & 0x00000100) != 0),
1632 getParentForChildren(),
1633 isClean());
1634 iterationStats_ = null;
1635 }
1636 return iterationStatsBuilder_;
1637 }
1638
1639 // @@protoc_insertion_point(builder_scope:operations_research.pdlp.FeasibilityPolishingDetails)
1640 }
1641
1642 // @@protoc_insertion_point(class_scope:operations_research.pdlp.FeasibilityPolishingDetails)
1643 private static final com.google.ortools.pdlp.FeasibilityPolishingDetails DEFAULT_INSTANCE;
1644 static {
1645 DEFAULT_INSTANCE = new com.google.ortools.pdlp.FeasibilityPolishingDetails();
1646 }
1647
1649 return DEFAULT_INSTANCE;
1650 }
1651
1652 private static final com.google.protobuf.Parser<FeasibilityPolishingDetails>
1653 PARSER = new com.google.protobuf.AbstractParser<FeasibilityPolishingDetails>() {
1654 @java.lang.Override
1655 public FeasibilityPolishingDetails parsePartialFrom(
1656 com.google.protobuf.CodedInputStream input,
1657 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1658 throws com.google.protobuf.InvalidProtocolBufferException {
1659 Builder builder = newBuilder();
1660 try {
1661 builder.mergeFrom(input, extensionRegistry);
1662 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1663 throw e.setUnfinishedMessage(builder.buildPartial());
1664 } catch (com.google.protobuf.UninitializedMessageException e) {
1665 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1666 } catch (java.io.IOException e) {
1667 throw new com.google.protobuf.InvalidProtocolBufferException(e)
1668 .setUnfinishedMessage(builder.buildPartial());
1669 }
1670 return builder.buildPartial();
1671 }
1672 };
1673
1674 public static com.google.protobuf.Parser<FeasibilityPolishingDetails> parser() {
1675 return PARSER;
1676 }
1677
1678 @java.lang.Override
1679 public com.google.protobuf.Parser<FeasibilityPolishingDetails> getParserForType() {
1680 return PARSER;
1681 }
1682
1683 @java.lang.Override
1687
1688}
1689
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)