Google OR-Tools v9.12
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.29.3
5
6package com.google.ortools.pdlp;
7
17public final class FeasibilityPolishingDetails extends
18 com.google.protobuf.GeneratedMessage implements
19 // @@protoc_insertion_point(message_implements:operations_research.pdlp.FeasibilityPolishingDetails)
21private static final long serialVersionUID = 0L;
22 static {
23 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
24 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
25 /* major= */ 4,
26 /* minor= */ 29,
27 /* patch= */ 3,
28 /* suffix= */ "",
29 FeasibilityPolishingDetails.class.getName());
30 }
31 // Use FeasibilityPolishingDetails.newBuilder() to construct.
32 private FeasibilityPolishingDetails(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
33 super(builder);
34 }
35 private FeasibilityPolishingDetails() {
36 polishingPhaseType_ = 0;
37 terminationReason_ = 0;
38 solutionType_ = 0;
39 iterationStats_ = java.util.Collections.emptyList();
40 }
41
42 public static final com.google.protobuf.Descriptors.Descriptor
44 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_FeasibilityPolishingDetails_descriptor;
45 }
46
47 @java.lang.Override
48 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
50 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_FeasibilityPolishingDetails_fieldAccessorTable
51 .ensureFieldAccessorsInitialized(
52 com.google.ortools.pdlp.FeasibilityPolishingDetails.class, com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder.class);
53 }
54
55 private int bitField0_;
56 public static final int POLISHING_PHASE_TYPE_FIELD_NUMBER = 1;
57 private int polishingPhaseType_ = 0;
62 @java.lang.Override public boolean hasPolishingPhaseType() {
63 return ((bitField0_ & 0x00000001) != 0);
64 }
65
70 com.google.ortools.pdlp.PolishingPhaseType result = com.google.ortools.pdlp.PolishingPhaseType.forNumber(polishingPhaseType_);
72 }
73
74 public static final int MAIN_ITERATION_COUNT_FIELD_NUMBER = 2;
75 private int mainIterationCount_ = 0;
85 @java.lang.Override
86 public boolean hasMainIterationCount() {
87 return ((bitField0_ & 0x00000002) != 0);
88 }
89
98 @java.lang.Override
99 public int getMainIterationCount() {
100 return mainIterationCount_;
101 }
102
103 public static final int PARAMS_FIELD_NUMBER = 3;
109 @java.lang.Override
110 public boolean hasParams() {
111 return ((bitField0_ & 0x00000004) != 0);
112 }
113
117 @java.lang.Override
119 return params_ == null ? com.google.ortools.pdlp.PrimalDualHybridGradientParams.getDefaultInstance() : params_;
120 }
121
124 @java.lang.Override
126 return params_ == null ? com.google.ortools.pdlp.PrimalDualHybridGradientParams.getDefaultInstance() : params_;
127 }
128
129 public static final int TERMINATION_REASON_FIELD_NUMBER = 4;
130 private int terminationReason_ = 0;
135 @java.lang.Override public boolean hasTerminationReason() {
136 return ((bitField0_ & 0x00000008) != 0);
137 }
138
143 com.google.ortools.pdlp.TerminationReason result = com.google.ortools.pdlp.TerminationReason.forNumber(terminationReason_);
145 }
146
147 public static final int ITERATION_COUNT_FIELD_NUMBER = 5;
148 private int iterationCount_ = 0;
153 @java.lang.Override
154 public boolean hasIterationCount() {
155 return ((bitField0_ & 0x00000010) != 0);
156 }
157
161 @java.lang.Override
162 public int getIterationCount() {
163 return iterationCount_;
164 }
165
166 public static final int SOLVE_TIME_SEC_FIELD_NUMBER = 6;
167 private double solveTimeSec_ = 0D;
172 @java.lang.Override
173 public boolean hasSolveTimeSec() {
174 return ((bitField0_ & 0x00000020) != 0);
175 }
176
180 @java.lang.Override
181 public double getSolveTimeSec() {
182 return solveTimeSec_;
183 }
184
185 public static final int SOLUTION_STATS_FIELD_NUMBER = 7;
186 private com.google.ortools.pdlp.IterationStats solutionStats_;
191 @java.lang.Override
192 public boolean hasSolutionStats() {
193 return ((bitField0_ & 0x00000040) != 0);
194 }
195
199 @java.lang.Override
201 return solutionStats_ == null ? com.google.ortools.pdlp.IterationStats.getDefaultInstance() : solutionStats_;
202 }
203
206 @java.lang.Override
208 return solutionStats_ == null ? com.google.ortools.pdlp.IterationStats.getDefaultInstance() : solutionStats_;
209 }
210
211 public static final int SOLUTION_TYPE_FIELD_NUMBER = 8;
212 private int solutionType_ = 0;
217 @java.lang.Override public boolean hasSolutionType() {
218 return ((bitField0_ & 0x00000080) != 0);
219 }
220
225 com.google.ortools.pdlp.PointType result = com.google.ortools.pdlp.PointType.forNumber(solutionType_);
226 return result == null ? com.google.ortools.pdlp.PointType.POINT_TYPE_UNSPECIFIED : result;
227 }
228
229 public static final int ITERATION_STATS_FIELD_NUMBER = 9;
230 @SuppressWarnings("serial")
231 private java.util.List<com.google.ortools.pdlp.IterationStats> iterationStats_;
235 @java.lang.Override
236 public java.util.List<com.google.ortools.pdlp.IterationStats> getIterationStatsList() {
237 return iterationStats_;
238 }
239
242 @java.lang.Override
243 public java.util.List<? extends com.google.ortools.pdlp.IterationStatsOrBuilder>
245 return iterationStats_;
246 }
247
250 @java.lang.Override
252 return iterationStats_.size();
253 }
254
257 @java.lang.Override
259 return iterationStats_.get(index);
260 }
261
264 @java.lang.Override
266 int index) {
267 return iterationStats_.get(index);
268 }
269
270 private byte memoizedIsInitialized = -1;
271 @java.lang.Override
272 public final boolean isInitialized() {
273 byte isInitialized = memoizedIsInitialized;
274 if (isInitialized == 1) return true;
275 if (isInitialized == 0) return false;
276
277 memoizedIsInitialized = 1;
278 return true;
279 }
280
281 @java.lang.Override
282 public void writeTo(com.google.protobuf.CodedOutputStream output)
283 throws java.io.IOException {
284 if (((bitField0_ & 0x00000001) != 0)) {
285 output.writeEnum(1, polishingPhaseType_);
286 }
287 if (((bitField0_ & 0x00000002) != 0)) {
288 output.writeInt32(2, mainIterationCount_);
289 }
290 if (((bitField0_ & 0x00000004) != 0)) {
291 output.writeMessage(3, getParams());
292 }
293 if (((bitField0_ & 0x00000008) != 0)) {
294 output.writeEnum(4, terminationReason_);
295 }
296 if (((bitField0_ & 0x00000010) != 0)) {
297 output.writeInt32(5, iterationCount_);
298 }
299 if (((bitField0_ & 0x00000020) != 0)) {
300 output.writeDouble(6, solveTimeSec_);
301 }
302 if (((bitField0_ & 0x00000040) != 0)) {
303 output.writeMessage(7, getSolutionStats());
304 }
305 if (((bitField0_ & 0x00000080) != 0)) {
306 output.writeEnum(8, solutionType_);
307 }
308 for (int i = 0; i < iterationStats_.size(); i++) {
309 output.writeMessage(9, iterationStats_.get(i));
310 }
311 getUnknownFields().writeTo(output);
312 }
313
314 @java.lang.Override
315 public int getSerializedSize() {
316 int size = memoizedSize;
317 if (size != -1) return size;
318
319 size = 0;
320 if (((bitField0_ & 0x00000001) != 0)) {
321 size += com.google.protobuf.CodedOutputStream
322 .computeEnumSize(1, polishingPhaseType_);
323 }
324 if (((bitField0_ & 0x00000002) != 0)) {
325 size += com.google.protobuf.CodedOutputStream
326 .computeInt32Size(2, mainIterationCount_);
327 }
328 if (((bitField0_ & 0x00000004) != 0)) {
329 size += com.google.protobuf.CodedOutputStream
330 .computeMessageSize(3, getParams());
331 }
332 if (((bitField0_ & 0x00000008) != 0)) {
333 size += com.google.protobuf.CodedOutputStream
334 .computeEnumSize(4, terminationReason_);
335 }
336 if (((bitField0_ & 0x00000010) != 0)) {
337 size += com.google.protobuf.CodedOutputStream
338 .computeInt32Size(5, iterationCount_);
339 }
340 if (((bitField0_ & 0x00000020) != 0)) {
341 size += com.google.protobuf.CodedOutputStream
342 .computeDoubleSize(6, solveTimeSec_);
343 }
344 if (((bitField0_ & 0x00000040) != 0)) {
345 size += com.google.protobuf.CodedOutputStream
346 .computeMessageSize(7, getSolutionStats());
347 }
348 if (((bitField0_ & 0x00000080) != 0)) {
349 size += com.google.protobuf.CodedOutputStream
350 .computeEnumSize(8, solutionType_);
351 }
352 for (int i = 0; i < iterationStats_.size(); i++) {
353 size += com.google.protobuf.CodedOutputStream
354 .computeMessageSize(9, iterationStats_.get(i));
355 }
356 size += getUnknownFields().getSerializedSize();
357 memoizedSize = size;
358 return size;
359 }
360
361 @java.lang.Override
362 public boolean equals(final java.lang.Object obj) {
363 if (obj == this) {
364 return true;
365 }
366 if (!(obj instanceof com.google.ortools.pdlp.FeasibilityPolishingDetails)) {
367 return super.equals(obj);
368 }
369 com.google.ortools.pdlp.FeasibilityPolishingDetails other = (com.google.ortools.pdlp.FeasibilityPolishingDetails) obj;
370
371 if (hasPolishingPhaseType() != other.hasPolishingPhaseType()) return false;
372 if (hasPolishingPhaseType()) {
373 if (polishingPhaseType_ != other.polishingPhaseType_) return false;
374 }
375 if (hasMainIterationCount() != other.hasMainIterationCount()) return false;
376 if (hasMainIterationCount()) {
378 != other.getMainIterationCount()) return false;
379 }
380 if (hasParams() != other.hasParams()) return false;
381 if (hasParams()) {
382 if (!getParams()
383 .equals(other.getParams())) return false;
384 }
385 if (hasTerminationReason() != other.hasTerminationReason()) return false;
386 if (hasTerminationReason()) {
387 if (terminationReason_ != other.terminationReason_) return false;
388 }
389 if (hasIterationCount() != other.hasIterationCount()) return false;
390 if (hasIterationCount()) {
392 != other.getIterationCount()) return false;
393 }
394 if (hasSolveTimeSec() != other.hasSolveTimeSec()) return false;
395 if (hasSolveTimeSec()) {
396 if (java.lang.Double.doubleToLongBits(getSolveTimeSec())
397 != java.lang.Double.doubleToLongBits(
398 other.getSolveTimeSec())) return false;
399 }
400 if (hasSolutionStats() != other.hasSolutionStats()) return false;
401 if (hasSolutionStats()) {
402 if (!getSolutionStats()
403 .equals(other.getSolutionStats())) return false;
404 }
405 if (hasSolutionType() != other.hasSolutionType()) return false;
406 if (hasSolutionType()) {
407 if (solutionType_ != other.solutionType_) return false;
408 }
410 .equals(other.getIterationStatsList())) return false;
411 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
412 return true;
413 }
414
415 @java.lang.Override
416 public int hashCode() {
417 if (memoizedHashCode != 0) {
418 return memoizedHashCode;
419 }
420 int hash = 41;
421 hash = (19 * hash) + getDescriptor().hashCode();
422 if (hasPolishingPhaseType()) {
423 hash = (37 * hash) + POLISHING_PHASE_TYPE_FIELD_NUMBER;
424 hash = (53 * hash) + polishingPhaseType_;
425 }
426 if (hasMainIterationCount()) {
427 hash = (37 * hash) + MAIN_ITERATION_COUNT_FIELD_NUMBER;
428 hash = (53 * hash) + getMainIterationCount();
429 }
430 if (hasParams()) {
431 hash = (37 * hash) + PARAMS_FIELD_NUMBER;
432 hash = (53 * hash) + getParams().hashCode();
433 }
434 if (hasTerminationReason()) {
435 hash = (37 * hash) + TERMINATION_REASON_FIELD_NUMBER;
436 hash = (53 * hash) + terminationReason_;
437 }
438 if (hasIterationCount()) {
439 hash = (37 * hash) + ITERATION_COUNT_FIELD_NUMBER;
440 hash = (53 * hash) + getIterationCount();
441 }
442 if (hasSolveTimeSec()) {
443 hash = (37 * hash) + SOLVE_TIME_SEC_FIELD_NUMBER;
444 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
445 java.lang.Double.doubleToLongBits(getSolveTimeSec()));
446 }
447 if (hasSolutionStats()) {
448 hash = (37 * hash) + SOLUTION_STATS_FIELD_NUMBER;
449 hash = (53 * hash) + getSolutionStats().hashCode();
450 }
451 if (hasSolutionType()) {
452 hash = (37 * hash) + SOLUTION_TYPE_FIELD_NUMBER;
453 hash = (53 * hash) + solutionType_;
454 }
455 if (getIterationStatsCount() > 0) {
456 hash = (37 * hash) + ITERATION_STATS_FIELD_NUMBER;
457 hash = (53 * hash) + getIterationStatsList().hashCode();
458 }
459 hash = (29 * hash) + getUnknownFields().hashCode();
460 memoizedHashCode = hash;
461 return hash;
462 }
463
465 java.nio.ByteBuffer data)
466 throws com.google.protobuf.InvalidProtocolBufferException {
467 return PARSER.parseFrom(data);
468 }
470 java.nio.ByteBuffer data,
471 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
472 throws com.google.protobuf.InvalidProtocolBufferException {
473 return PARSER.parseFrom(data, extensionRegistry);
474 }
476 com.google.protobuf.ByteString data)
477 throws com.google.protobuf.InvalidProtocolBufferException {
478 return PARSER.parseFrom(data);
479 }
481 com.google.protobuf.ByteString data,
482 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
483 throws com.google.protobuf.InvalidProtocolBufferException {
484 return PARSER.parseFrom(data, extensionRegistry);
485 }
487 throws com.google.protobuf.InvalidProtocolBufferException {
488 return PARSER.parseFrom(data);
489 }
491 byte[] data,
492 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
493 throws com.google.protobuf.InvalidProtocolBufferException {
494 return PARSER.parseFrom(data, extensionRegistry);
495 }
496 public static com.google.ortools.pdlp.FeasibilityPolishingDetails parseFrom(java.io.InputStream input)
497 throws java.io.IOException {
498 return com.google.protobuf.GeneratedMessage
499 .parseWithIOException(PARSER, input);
500 }
502 java.io.InputStream input,
503 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
504 throws java.io.IOException {
505 return com.google.protobuf.GeneratedMessage
506 .parseWithIOException(PARSER, input, extensionRegistry);
507 }
508
510 throws java.io.IOException {
511 return com.google.protobuf.GeneratedMessage
512 .parseDelimitedWithIOException(PARSER, input);
513 }
514
516 java.io.InputStream input,
517 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
518 throws java.io.IOException {
519 return com.google.protobuf.GeneratedMessage
520 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
521 }
523 com.google.protobuf.CodedInputStream input)
524 throws java.io.IOException {
525 return com.google.protobuf.GeneratedMessage
526 .parseWithIOException(PARSER, input);
527 }
529 com.google.protobuf.CodedInputStream input,
530 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
531 throws java.io.IOException {
532 return com.google.protobuf.GeneratedMessage
533 .parseWithIOException(PARSER, input, extensionRegistry);
534 }
535
536 @java.lang.Override
537 public Builder newBuilderForType() { return newBuilder(); }
538 public static Builder newBuilder() {
539 return DEFAULT_INSTANCE.toBuilder();
540 }
541 public static Builder newBuilder(com.google.ortools.pdlp.FeasibilityPolishingDetails prototype) {
542 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
543 }
544 @java.lang.Override
546 return this == DEFAULT_INSTANCE
547 ? new Builder() : new Builder().mergeFrom(this);
548 }
549
550 @java.lang.Override
552 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
553 Builder builder = new Builder(parent);
554 return builder;
555 }
556
565 public static final class Builder extends
566 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
567 // @@protoc_insertion_point(builder_implements:operations_research.pdlp.FeasibilityPolishingDetails)
569 public static final com.google.protobuf.Descriptors.Descriptor
571 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_FeasibilityPolishingDetails_descriptor;
572 }
573
574 @java.lang.Override
575 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
577 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_FeasibilityPolishingDetails_fieldAccessorTable
578 .ensureFieldAccessorsInitialized(
579 com.google.ortools.pdlp.FeasibilityPolishingDetails.class, com.google.ortools.pdlp.FeasibilityPolishingDetails.Builder.class);
580 }
581
582 // Construct using com.google.ortools.pdlp.FeasibilityPolishingDetails.newBuilder()
583 private Builder() {
584 maybeForceBuilderInitialization();
585 }
586
587 private Builder(
588 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
589 super(parent);
590 maybeForceBuilderInitialization();
591 }
592 private void maybeForceBuilderInitialization() {
593 if (com.google.protobuf.GeneratedMessage
594 .alwaysUseFieldBuilders) {
595 getParamsFieldBuilder();
596 getSolutionStatsFieldBuilder();
597 getIterationStatsFieldBuilder();
598 }
599 }
600 @java.lang.Override
601 public Builder clear() {
602 super.clear();
603 bitField0_ = 0;
604 polishingPhaseType_ = 0;
605 mainIterationCount_ = 0;
606 params_ = null;
607 if (paramsBuilder_ != null) {
608 paramsBuilder_.dispose();
609 paramsBuilder_ = null;
610 }
611 terminationReason_ = 0;
612 iterationCount_ = 0;
613 solveTimeSec_ = 0D;
614 solutionStats_ = null;
615 if (solutionStatsBuilder_ != null) {
616 solutionStatsBuilder_.dispose();
617 solutionStatsBuilder_ = null;
618 }
619 solutionType_ = 0;
620 if (iterationStatsBuilder_ == null) {
621 iterationStats_ = java.util.Collections.emptyList();
622 } else {
623 iterationStats_ = null;
624 iterationStatsBuilder_.clear();
625 }
626 bitField0_ = (bitField0_ & ~0x00000100);
627 return this;
628 }
629
630 @java.lang.Override
631 public com.google.protobuf.Descriptors.Descriptor
633 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_FeasibilityPolishingDetails_descriptor;
634 }
635
636 @java.lang.Override
638 return com.google.ortools.pdlp.FeasibilityPolishingDetails.getDefaultInstance();
639 }
640
641 @java.lang.Override
644 if (!result.isInitialized()) {
645 throw newUninitializedMessageException(result);
646 }
647 return result;
648 }
649
650 @java.lang.Override
652 com.google.ortools.pdlp.FeasibilityPolishingDetails result = new com.google.ortools.pdlp.FeasibilityPolishingDetails(this);
653 buildPartialRepeatedFields(result);
654 if (bitField0_ != 0) { buildPartial0(result); }
655 onBuilt();
656 return result;
657 }
658
659 private void buildPartialRepeatedFields(com.google.ortools.pdlp.FeasibilityPolishingDetails result) {
660 if (iterationStatsBuilder_ == null) {
661 if (((bitField0_ & 0x00000100) != 0)) {
662 iterationStats_ = java.util.Collections.unmodifiableList(iterationStats_);
663 bitField0_ = (bitField0_ & ~0x00000100);
664 }
665 result.iterationStats_ = iterationStats_;
666 } else {
667 result.iterationStats_ = iterationStatsBuilder_.build();
668 }
669 }
670
671 private void buildPartial0(com.google.ortools.pdlp.FeasibilityPolishingDetails result) {
672 int from_bitField0_ = bitField0_;
673 int to_bitField0_ = 0;
674 if (((from_bitField0_ & 0x00000001) != 0)) {
675 result.polishingPhaseType_ = polishingPhaseType_;
676 to_bitField0_ |= 0x00000001;
677 }
678 if (((from_bitField0_ & 0x00000002) != 0)) {
679 result.mainIterationCount_ = mainIterationCount_;
680 to_bitField0_ |= 0x00000002;
681 }
682 if (((from_bitField0_ & 0x00000004) != 0)) {
683 result.params_ = paramsBuilder_ == null
684 ? params_
685 : paramsBuilder_.build();
686 to_bitField0_ |= 0x00000004;
687 }
688 if (((from_bitField0_ & 0x00000008) != 0)) {
689 result.terminationReason_ = terminationReason_;
690 to_bitField0_ |= 0x00000008;
691 }
692 if (((from_bitField0_ & 0x00000010) != 0)) {
693 result.iterationCount_ = iterationCount_;
694 to_bitField0_ |= 0x00000010;
695 }
696 if (((from_bitField0_ & 0x00000020) != 0)) {
697 result.solveTimeSec_ = solveTimeSec_;
698 to_bitField0_ |= 0x00000020;
699 }
700 if (((from_bitField0_ & 0x00000040) != 0)) {
701 result.solutionStats_ = solutionStatsBuilder_ == null
702 ? solutionStats_
703 : solutionStatsBuilder_.build();
704 to_bitField0_ |= 0x00000040;
705 }
706 if (((from_bitField0_ & 0x00000080) != 0)) {
707 result.solutionType_ = solutionType_;
708 to_bitField0_ |= 0x00000080;
709 }
710 result.bitField0_ |= to_bitField0_;
711 }
712
713 @java.lang.Override
714 public Builder mergeFrom(com.google.protobuf.Message other) {
715 if (other instanceof com.google.ortools.pdlp.FeasibilityPolishingDetails) {
716 return mergeFrom((com.google.ortools.pdlp.FeasibilityPolishingDetails)other);
717 } else {
718 super.mergeFrom(other);
719 return this;
720 }
721 }
722
723 public Builder mergeFrom(com.google.ortools.pdlp.FeasibilityPolishingDetails other) {
724 if (other == com.google.ortools.pdlp.FeasibilityPolishingDetails.getDefaultInstance()) return this;
725 if (other.hasPolishingPhaseType()) {
726 setPolishingPhaseType(other.getPolishingPhaseType());
727 }
728 if (other.hasMainIterationCount()) {
729 setMainIterationCount(other.getMainIterationCount());
730 }
731 if (other.hasParams()) {
732 mergeParams(other.getParams());
733 }
734 if (other.hasTerminationReason()) {
735 setTerminationReason(other.getTerminationReason());
736 }
737 if (other.hasIterationCount()) {
738 setIterationCount(other.getIterationCount());
739 }
740 if (other.hasSolveTimeSec()) {
741 setSolveTimeSec(other.getSolveTimeSec());
742 }
743 if (other.hasSolutionStats()) {
744 mergeSolutionStats(other.getSolutionStats());
745 }
746 if (other.hasSolutionType()) {
747 setSolutionType(other.getSolutionType());
748 }
749 if (iterationStatsBuilder_ == null) {
750 if (!other.iterationStats_.isEmpty()) {
751 if (iterationStats_.isEmpty()) {
752 iterationStats_ = other.iterationStats_;
753 bitField0_ = (bitField0_ & ~0x00000100);
754 } else {
755 ensureIterationStatsIsMutable();
756 iterationStats_.addAll(other.iterationStats_);
757 }
758 onChanged();
759 }
760 } else {
761 if (!other.iterationStats_.isEmpty()) {
762 if (iterationStatsBuilder_.isEmpty()) {
763 iterationStatsBuilder_.dispose();
764 iterationStatsBuilder_ = null;
765 iterationStats_ = other.iterationStats_;
766 bitField0_ = (bitField0_ & ~0x00000100);
767 iterationStatsBuilder_ =
768 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
769 getIterationStatsFieldBuilder() : null;
770 } else {
771 iterationStatsBuilder_.addAllMessages(other.iterationStats_);
772 }
773 }
774 }
775 this.mergeUnknownFields(other.getUnknownFields());
776 onChanged();
777 return this;
778 }
779
780 @java.lang.Override
781 public final boolean isInitialized() {
782 return true;
783 }
784
785 @java.lang.Override
786 public Builder mergeFrom(
787 com.google.protobuf.CodedInputStream input,
788 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
789 throws java.io.IOException {
790 if (extensionRegistry == null) {
791 throw new java.lang.NullPointerException();
792 }
793 try {
794 boolean done = false;
795 while (!done) {
796 int tag = input.readTag();
797 switch (tag) {
798 case 0:
799 done = true;
800 break;
801 case 8: {
802 int tmpRaw = input.readEnum();
804 com.google.ortools.pdlp.PolishingPhaseType.forNumber(tmpRaw);
805 if (tmpValue == null) {
806 mergeUnknownVarintField(1, tmpRaw);
807 } else {
808 polishingPhaseType_ = tmpRaw;
809 bitField0_ |= 0x00000001;
810 }
811 break;
812 } // case 8
813 case 16: {
814 mainIterationCount_ = input.readInt32();
815 bitField0_ |= 0x00000002;
816 break;
817 } // case 16
818 case 26: {
819 input.readMessage(
820 getParamsFieldBuilder().getBuilder(),
821 extensionRegistry);
822 bitField0_ |= 0x00000004;
823 break;
824 } // case 26
825 case 32: {
826 int tmpRaw = input.readEnum();
828 com.google.ortools.pdlp.TerminationReason.forNumber(tmpRaw);
829 if (tmpValue == null) {
830 mergeUnknownVarintField(4, tmpRaw);
831 } else {
832 terminationReason_ = tmpRaw;
833 bitField0_ |= 0x00000008;
834 }
835 break;
836 } // case 32
837 case 40: {
838 iterationCount_ = input.readInt32();
839 bitField0_ |= 0x00000010;
840 break;
841 } // case 40
842 case 49: {
843 solveTimeSec_ = input.readDouble();
844 bitField0_ |= 0x00000020;
845 break;
846 } // case 49
847 case 58: {
848 input.readMessage(
849 getSolutionStatsFieldBuilder().getBuilder(),
850 extensionRegistry);
851 bitField0_ |= 0x00000040;
852 break;
853 } // case 58
854 case 64: {
855 int tmpRaw = input.readEnum();
857 com.google.ortools.pdlp.PointType.forNumber(tmpRaw);
858 if (tmpValue == null) {
859 mergeUnknownVarintField(8, tmpRaw);
860 } else {
861 solutionType_ = tmpRaw;
862 bitField0_ |= 0x00000080;
863 }
864 break;
865 } // case 64
866 case 74: {
868 input.readMessage(
869 com.google.ortools.pdlp.IterationStats.parser(),
870 extensionRegistry);
871 if (iterationStatsBuilder_ == null) {
872 ensureIterationStatsIsMutable();
873 iterationStats_.add(m);
874 } else {
875 iterationStatsBuilder_.addMessage(m);
876 }
877 break;
878 } // case 74
879 default: {
880 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
881 done = true; // was an endgroup tag
882 }
883 break;
884 } // default:
885 } // switch (tag)
886 } // while (!done)
887 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
888 throw e.unwrapIOException();
889 } finally {
890 onChanged();
891 } // finally
892 return this;
893 }
894 private int bitField0_;
895
896 private int polishingPhaseType_ = 0;
901 @java.lang.Override public boolean hasPolishingPhaseType() {
902 return ((bitField0_ & 0x00000001) != 0);
903 }
904
908 @java.lang.Override
910 com.google.ortools.pdlp.PolishingPhaseType result = com.google.ortools.pdlp.PolishingPhaseType.forNumber(polishingPhaseType_);
912 }
913
918 public Builder setPolishingPhaseType(com.google.ortools.pdlp.PolishingPhaseType value) {
919 if (value == null) {
920 throw new NullPointerException();
921 }
922 bitField0_ |= 0x00000001;
923 polishingPhaseType_ = value.getNumber();
924 onChanged();
925 return this;
926 }
927
931 public Builder clearPolishingPhaseType() {
932 bitField0_ = (bitField0_ & ~0x00000001);
933 polishingPhaseType_ = 0;
934 onChanged();
935 return this;
936 }
937
938 private int mainIterationCount_ ;
948 @java.lang.Override
949 public boolean hasMainIterationCount() {
950 return ((bitField0_ & 0x00000002) != 0);
951 }
952
961 @java.lang.Override
963 return mainIterationCount_;
964 }
965
975 public Builder setMainIterationCount(int value) {
976
977 mainIterationCount_ = value;
978 bitField0_ |= 0x00000002;
979 onChanged();
980 return this;
981 }
982
991 public Builder clearMainIterationCount() {
992 bitField0_ = (bitField0_ & ~0x00000002);
993 mainIterationCount_ = 0;
994 onChanged();
995 return this;
996 }
997
999 private com.google.protobuf.SingleFieldBuilder<
1000 com.google.ortools.pdlp.PrimalDualHybridGradientParams, com.google.ortools.pdlp.PrimalDualHybridGradientParams.Builder, com.google.ortools.pdlp.PrimalDualHybridGradientParamsOrBuilder> paramsBuilder_;
1005 public boolean hasParams() {
1006 return ((bitField0_ & 0x00000004) != 0);
1007 }
1008
1013 if (paramsBuilder_ == null) {
1014 return params_ == null ? com.google.ortools.pdlp.PrimalDualHybridGradientParams.getDefaultInstance() : params_;
1015 } else {
1016 return paramsBuilder_.getMessage();
1017 }
1018 }
1019
1022 public Builder setParams(com.google.ortools.pdlp.PrimalDualHybridGradientParams value) {
1023 if (paramsBuilder_ == null) {
1024 if (value == null) {
1025 throw new NullPointerException();
1026 }
1027 params_ = value;
1028 } else {
1029 paramsBuilder_.setMessage(value);
1030 }
1031 bitField0_ |= 0x00000004;
1032 onChanged();
1033 return this;
1034 }
1035
1038 public Builder setParams(
1039 com.google.ortools.pdlp.PrimalDualHybridGradientParams.Builder builderForValue) {
1040 if (paramsBuilder_ == null) {
1041 params_ = builderForValue.build();
1042 } else {
1043 paramsBuilder_.setMessage(builderForValue.build());
1044 }
1045 bitField0_ |= 0x00000004;
1046 onChanged();
1047 return this;
1048 }
1049
1052 public Builder mergeParams(com.google.ortools.pdlp.PrimalDualHybridGradientParams value) {
1053 if (paramsBuilder_ == null) {
1054 if (((bitField0_ & 0x00000004) != 0) &&
1055 params_ != null &&
1056 params_ != com.google.ortools.pdlp.PrimalDualHybridGradientParams.getDefaultInstance()) {
1057 getParamsBuilder().mergeFrom(value);
1058 } else {
1059 params_ = value;
1060 }
1061 } else {
1062 paramsBuilder_.mergeFrom(value);
1063 }
1064 if (params_ != null) {
1065 bitField0_ |= 0x00000004;
1066 onChanged();
1067 }
1068 return this;
1069 }
1070
1073 public Builder clearParams() {
1074 bitField0_ = (bitField0_ & ~0x00000004);
1075 params_ = null;
1076 if (paramsBuilder_ != null) {
1077 paramsBuilder_.dispose();
1078 paramsBuilder_ = null;
1079 }
1080 onChanged();
1081 return this;
1082 }
1083
1087 bitField0_ |= 0x00000004;
1088 onChanged();
1089 return getParamsFieldBuilder().getBuilder();
1090 }
1091
1095 if (paramsBuilder_ != null) {
1096 return paramsBuilder_.getMessageOrBuilder();
1097 } else {
1098 return params_ == null ?
1099 com.google.ortools.pdlp.PrimalDualHybridGradientParams.getDefaultInstance() : params_;
1100 }
1101 }
1102
1105 private com.google.protobuf.SingleFieldBuilder<
1106 com.google.ortools.pdlp.PrimalDualHybridGradientParams, com.google.ortools.pdlp.PrimalDualHybridGradientParams.Builder, com.google.ortools.pdlp.PrimalDualHybridGradientParamsOrBuilder>
1107 getParamsFieldBuilder() {
1108 if (paramsBuilder_ == null) {
1109 paramsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
1110 com.google.ortools.pdlp.PrimalDualHybridGradientParams, com.google.ortools.pdlp.PrimalDualHybridGradientParams.Builder, com.google.ortools.pdlp.PrimalDualHybridGradientParamsOrBuilder>(
1111 getParams(),
1112 getParentForChildren(),
1113 isClean());
1114 params_ = null;
1115 }
1116 return paramsBuilder_;
1117 }
1118
1119 private int terminationReason_ = 0;
1124 @java.lang.Override public boolean hasTerminationReason() {
1125 return ((bitField0_ & 0x00000008) != 0);
1126 }
1127
1131 @java.lang.Override
1133 com.google.ortools.pdlp.TerminationReason result = com.google.ortools.pdlp.TerminationReason.forNumber(terminationReason_);
1135 }
1136
1141 public Builder setTerminationReason(com.google.ortools.pdlp.TerminationReason value) {
1142 if (value == null) {
1143 throw new NullPointerException();
1144 }
1145 bitField0_ |= 0x00000008;
1146 terminationReason_ = value.getNumber();
1147 onChanged();
1148 return this;
1149 }
1150
1154 public Builder clearTerminationReason() {
1155 bitField0_ = (bitField0_ & ~0x00000008);
1156 terminationReason_ = 0;
1157 onChanged();
1158 return this;
1159 }
1160
1161 private int iterationCount_ ;
1166 @java.lang.Override
1167 public boolean hasIterationCount() {
1168 return ((bitField0_ & 0x00000010) != 0);
1169 }
1170
1174 @java.lang.Override
1175 public int getIterationCount() {
1176 return iterationCount_;
1177 }
1178
1183 public Builder setIterationCount(int value) {
1184
1185 iterationCount_ = value;
1186 bitField0_ |= 0x00000010;
1187 onChanged();
1188 return this;
1189 }
1190
1194 public Builder clearIterationCount() {
1195 bitField0_ = (bitField0_ & ~0x00000010);
1196 iterationCount_ = 0;
1197 onChanged();
1198 return this;
1199 }
1200
1201 private double solveTimeSec_ ;
1206 @java.lang.Override
1207 public boolean hasSolveTimeSec() {
1208 return ((bitField0_ & 0x00000020) != 0);
1209 }
1210
1214 @java.lang.Override
1215 public double getSolveTimeSec() {
1216 return solveTimeSec_;
1217 }
1218
1223 public Builder setSolveTimeSec(double value) {
1224
1225 solveTimeSec_ = value;
1226 bitField0_ |= 0x00000020;
1227 onChanged();
1228 return this;
1229 }
1230
1234 public Builder clearSolveTimeSec() {
1235 bitField0_ = (bitField0_ & ~0x00000020);
1236 solveTimeSec_ = 0D;
1237 onChanged();
1238 return this;
1239 }
1240
1241 private com.google.ortools.pdlp.IterationStats solutionStats_;
1242 private com.google.protobuf.SingleFieldBuilder<
1243 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder> solutionStatsBuilder_;
1248 public boolean hasSolutionStats() {
1249 return ((bitField0_ & 0x00000040) != 0);
1250 }
1251
1256 if (solutionStatsBuilder_ == null) {
1257 return solutionStats_ == null ? com.google.ortools.pdlp.IterationStats.getDefaultInstance() : solutionStats_;
1258 } else {
1259 return solutionStatsBuilder_.getMessage();
1260 }
1261 }
1262
1265 public Builder setSolutionStats(com.google.ortools.pdlp.IterationStats value) {
1266 if (solutionStatsBuilder_ == null) {
1267 if (value == null) {
1268 throw new NullPointerException();
1269 }
1270 solutionStats_ = value;
1271 } else {
1272 solutionStatsBuilder_.setMessage(value);
1273 }
1274 bitField0_ |= 0x00000040;
1275 onChanged();
1276 return this;
1277 }
1278
1281 public Builder setSolutionStats(
1282 com.google.ortools.pdlp.IterationStats.Builder builderForValue) {
1283 if (solutionStatsBuilder_ == null) {
1284 solutionStats_ = builderForValue.build();
1285 } else {
1286 solutionStatsBuilder_.setMessage(builderForValue.build());
1287 }
1288 bitField0_ |= 0x00000040;
1289 onChanged();
1290 return this;
1291 }
1292
1295 public Builder mergeSolutionStats(com.google.ortools.pdlp.IterationStats value) {
1296 if (solutionStatsBuilder_ == null) {
1297 if (((bitField0_ & 0x00000040) != 0) &&
1298 solutionStats_ != null &&
1299 solutionStats_ != com.google.ortools.pdlp.IterationStats.getDefaultInstance()) {
1300 getSolutionStatsBuilder().mergeFrom(value);
1301 } else {
1302 solutionStats_ = value;
1303 }
1304 } else {
1305 solutionStatsBuilder_.mergeFrom(value);
1306 }
1307 if (solutionStats_ != null) {
1308 bitField0_ |= 0x00000040;
1309 onChanged();
1310 }
1311 return this;
1312 }
1313
1316 public Builder clearSolutionStats() {
1317 bitField0_ = (bitField0_ & ~0x00000040);
1318 solutionStats_ = null;
1319 if (solutionStatsBuilder_ != null) {
1320 solutionStatsBuilder_.dispose();
1321 solutionStatsBuilder_ = null;
1322 }
1323 onChanged();
1324 return this;
1325 }
1326
1330 bitField0_ |= 0x00000040;
1331 onChanged();
1332 return getSolutionStatsFieldBuilder().getBuilder();
1333 }
1334
1338 if (solutionStatsBuilder_ != null) {
1339 return solutionStatsBuilder_.getMessageOrBuilder();
1340 } else {
1341 return solutionStats_ == null ?
1342 com.google.ortools.pdlp.IterationStats.getDefaultInstance() : solutionStats_;
1343 }
1344 }
1345
1348 private com.google.protobuf.SingleFieldBuilder<
1349 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder>
1350 getSolutionStatsFieldBuilder() {
1351 if (solutionStatsBuilder_ == null) {
1352 solutionStatsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
1353 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder>(
1355 getParentForChildren(),
1356 isClean());
1357 solutionStats_ = null;
1358 }
1359 return solutionStatsBuilder_;
1360 }
1361
1362 private int solutionType_ = 0;
1367 @java.lang.Override public boolean hasSolutionType() {
1368 return ((bitField0_ & 0x00000080) != 0);
1369 }
1370
1374 @java.lang.Override
1376 com.google.ortools.pdlp.PointType result = com.google.ortools.pdlp.PointType.forNumber(solutionType_);
1377 return result == null ? com.google.ortools.pdlp.PointType.POINT_TYPE_UNSPECIFIED : result;
1378 }
1379
1384 public Builder setSolutionType(com.google.ortools.pdlp.PointType value) {
1385 if (value == null) {
1386 throw new NullPointerException();
1387 }
1388 bitField0_ |= 0x00000080;
1389 solutionType_ = value.getNumber();
1390 onChanged();
1391 return this;
1392 }
1393
1397 public Builder clearSolutionType() {
1398 bitField0_ = (bitField0_ & ~0x00000080);
1399 solutionType_ = 0;
1400 onChanged();
1401 return this;
1402 }
1403
1404 private java.util.List<com.google.ortools.pdlp.IterationStats> iterationStats_ =
1405 java.util.Collections.emptyList();
1406 private void ensureIterationStatsIsMutable() {
1407 if (!((bitField0_ & 0x00000100) != 0)) {
1408 iterationStats_ = new java.util.ArrayList<com.google.ortools.pdlp.IterationStats>(iterationStats_);
1409 bitField0_ |= 0x00000100;
1410 }
1411 }
1412
1413 private com.google.protobuf.RepeatedFieldBuilder<
1414 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder> iterationStatsBuilder_;
1415
1419 public java.util.List<com.google.ortools.pdlp.IterationStats> getIterationStatsList() {
1420 if (iterationStatsBuilder_ == null) {
1421 return java.util.Collections.unmodifiableList(iterationStats_);
1422 } else {
1423 return iterationStatsBuilder_.getMessageList();
1424 }
1425 }
1426
1430 if (iterationStatsBuilder_ == null) {
1431 return iterationStats_.size();
1432 } else {
1433 return iterationStatsBuilder_.getCount();
1434 }
1435 }
1436
1440 if (iterationStatsBuilder_ == null) {
1441 return iterationStats_.get(index);
1442 } else {
1443 return iterationStatsBuilder_.getMessage(index);
1444 }
1445 }
1446
1449 public Builder setIterationStats(
1450 int index, com.google.ortools.pdlp.IterationStats value) {
1451 if (iterationStatsBuilder_ == null) {
1452 if (value == null) {
1453 throw new NullPointerException();
1454 }
1455 ensureIterationStatsIsMutable();
1456 iterationStats_.set(index, value);
1457 onChanged();
1458 } else {
1459 iterationStatsBuilder_.setMessage(index, value);
1460 }
1461 return this;
1462 }
1463
1466 public Builder setIterationStats(
1467 int index, com.google.ortools.pdlp.IterationStats.Builder builderForValue) {
1468 if (iterationStatsBuilder_ == null) {
1469 ensureIterationStatsIsMutable();
1470 iterationStats_.set(index, builderForValue.build());
1471 onChanged();
1472 } else {
1473 iterationStatsBuilder_.setMessage(index, builderForValue.build());
1474 }
1475 return this;
1476 }
1477
1480 public Builder addIterationStats(com.google.ortools.pdlp.IterationStats value) {
1481 if (iterationStatsBuilder_ == null) {
1482 if (value == null) {
1483 throw new NullPointerException();
1484 }
1485 ensureIterationStatsIsMutable();
1486 iterationStats_.add(value);
1487 onChanged();
1488 } else {
1489 iterationStatsBuilder_.addMessage(value);
1490 }
1491 return this;
1492 }
1493
1496 public Builder addIterationStats(
1497 int index, com.google.ortools.pdlp.IterationStats value) {
1498 if (iterationStatsBuilder_ == null) {
1499 if (value == null) {
1500 throw new NullPointerException();
1501 }
1502 ensureIterationStatsIsMutable();
1503 iterationStats_.add(index, value);
1504 onChanged();
1505 } else {
1506 iterationStatsBuilder_.addMessage(index, value);
1507 }
1508 return this;
1509 }
1510
1513 public Builder addIterationStats(
1514 com.google.ortools.pdlp.IterationStats.Builder builderForValue) {
1515 if (iterationStatsBuilder_ == null) {
1516 ensureIterationStatsIsMutable();
1517 iterationStats_.add(builderForValue.build());
1518 onChanged();
1519 } else {
1520 iterationStatsBuilder_.addMessage(builderForValue.build());
1521 }
1522 return this;
1523 }
1524
1527 public Builder addIterationStats(
1528 int index, com.google.ortools.pdlp.IterationStats.Builder builderForValue) {
1529 if (iterationStatsBuilder_ == null) {
1530 ensureIterationStatsIsMutable();
1531 iterationStats_.add(index, builderForValue.build());
1532 onChanged();
1533 } else {
1534 iterationStatsBuilder_.addMessage(index, builderForValue.build());
1535 }
1536 return this;
1537 }
1538
1541 public Builder addAllIterationStats(
1542 java.lang.Iterable<? extends com.google.ortools.pdlp.IterationStats> values) {
1543 if (iterationStatsBuilder_ == null) {
1544 ensureIterationStatsIsMutable();
1545 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1546 values, iterationStats_);
1547 onChanged();
1548 } else {
1549 iterationStatsBuilder_.addAllMessages(values);
1550 }
1551 return this;
1552 }
1553
1556 public Builder clearIterationStats() {
1557 if (iterationStatsBuilder_ == null) {
1558 iterationStats_ = java.util.Collections.emptyList();
1559 bitField0_ = (bitField0_ & ~0x00000100);
1560 onChanged();
1561 } else {
1562 iterationStatsBuilder_.clear();
1563 }
1564 return this;
1565 }
1566
1569 public Builder removeIterationStats(int index) {
1570 if (iterationStatsBuilder_ == null) {
1571 ensureIterationStatsIsMutable();
1572 iterationStats_.remove(index);
1573 onChanged();
1574 } else {
1575 iterationStatsBuilder_.remove(index);
1576 }
1577 return this;
1578 }
1579
1583 int index) {
1584 return getIterationStatsFieldBuilder().getBuilder(index);
1585 }
1586
1590 int index) {
1591 if (iterationStatsBuilder_ == null) {
1592 return iterationStats_.get(index); } else {
1593 return iterationStatsBuilder_.getMessageOrBuilder(index);
1594 }
1595 }
1596
1599 public java.util.List<? extends com.google.ortools.pdlp.IterationStatsOrBuilder>
1601 if (iterationStatsBuilder_ != null) {
1602 return iterationStatsBuilder_.getMessageOrBuilderList();
1603 } else {
1604 return java.util.Collections.unmodifiableList(iterationStats_);
1605 }
1606 }
1607
1611 return getIterationStatsFieldBuilder().addBuilder(
1612 com.google.ortools.pdlp.IterationStats.getDefaultInstance());
1613 }
1614
1618 int index) {
1619 return getIterationStatsFieldBuilder().addBuilder(
1620 index, com.google.ortools.pdlp.IterationStats.getDefaultInstance());
1621 }
1622
1625 public java.util.List<com.google.ortools.pdlp.IterationStats.Builder>
1627 return getIterationStatsFieldBuilder().getBuilderList();
1628 }
1629 private com.google.protobuf.RepeatedFieldBuilder<
1630 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder>
1631 getIterationStatsFieldBuilder() {
1632 if (iterationStatsBuilder_ == null) {
1633 iterationStatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
1634 com.google.ortools.pdlp.IterationStats, com.google.ortools.pdlp.IterationStats.Builder, com.google.ortools.pdlp.IterationStatsOrBuilder>(
1635 iterationStats_,
1636 ((bitField0_ & 0x00000100) != 0),
1637 getParentForChildren(),
1638 isClean());
1639 iterationStats_ = null;
1640 }
1641 return iterationStatsBuilder_;
1642 }
1643
1644 // @@protoc_insertion_point(builder_scope:operations_research.pdlp.FeasibilityPolishingDetails)
1645 }
1646
1647 // @@protoc_insertion_point(class_scope:operations_research.pdlp.FeasibilityPolishingDetails)
1648 private static final com.google.ortools.pdlp.FeasibilityPolishingDetails DEFAULT_INSTANCE;
1649 static {
1650 DEFAULT_INSTANCE = new com.google.ortools.pdlp.FeasibilityPolishingDetails();
1651 }
1652
1654 return DEFAULT_INSTANCE;
1655 }
1656
1657 private static final com.google.protobuf.Parser<FeasibilityPolishingDetails>
1658 PARSER = new com.google.protobuf.AbstractParser<FeasibilityPolishingDetails>() {
1659 @java.lang.Override
1660 public FeasibilityPolishingDetails parsePartialFrom(
1661 com.google.protobuf.CodedInputStream input,
1662 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1663 throws com.google.protobuf.InvalidProtocolBufferException {
1664 Builder builder = newBuilder();
1665 try {
1666 builder.mergeFrom(input, extensionRegistry);
1667 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1668 throw e.setUnfinishedMessage(builder.buildPartial());
1669 } catch (com.google.protobuf.UninitializedMessageException e) {
1670 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1671 } catch (java.io.IOException e) {
1672 throw new com.google.protobuf.InvalidProtocolBufferException(e)
1673 .setUnfinishedMessage(builder.buildPartial());
1674 }
1675 return builder.buildPartial();
1676 }
1677 };
1678
1679 public static com.google.protobuf.Parser<FeasibilityPolishingDetails> parser() {
1680 return PARSER;
1681 }
1682
1683 @java.lang.Override
1684 public com.google.protobuf.Parser<FeasibilityPolishingDetails> getParserForType() {
1685 return PARSER;
1686 }
1687
1688 @java.lang.Override
1692
1693}
1694
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)