Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
InfeasibilityInformation.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
16public final class InfeasibilityInformation extends
17 com.google.protobuf.GeneratedMessage implements
18 // @@protoc_insertion_point(message_implements:operations_research.pdlp.InfeasibilityInformation)
20private static final long serialVersionUID = 0L;
21 static {
22 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
23 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
24 /* major= */ 4,
25 /* minor= */ 29,
26 /* patch= */ 3,
27 /* suffix= */ "",
28 InfeasibilityInformation.class.getName());
29 }
30 // Use InfeasibilityInformation.newBuilder() to construct.
31 private InfeasibilityInformation(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
32 super(builder);
33 }
34 private InfeasibilityInformation() {
35 candidateType_ = 0;
36 }
37
38 public static final com.google.protobuf.Descriptors.Descriptor
40 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_InfeasibilityInformation_descriptor;
41 }
42
43 @java.lang.Override
44 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
46 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_InfeasibilityInformation_fieldAccessorTable
47 .ensureFieldAccessorsInitialized(
48 com.google.ortools.pdlp.InfeasibilityInformation.class, com.google.ortools.pdlp.InfeasibilityInformation.Builder.class);
49 }
50
51 private int bitField0_;
52 public static final int MAX_PRIMAL_RAY_INFEASIBILITY_FIELD_NUMBER = 1;
53 private double maxPrimalRayInfeasibility_ = 0D;
69 @java.lang.Override
71 return ((bitField0_ & 0x00000001) != 0);
72 }
73
88 @java.lang.Override
90 return maxPrimalRayInfeasibility_;
91 }
92
93 public static final int PRIMAL_RAY_LINEAR_OBJECTIVE_FIELD_NUMBER = 2;
94 private double primalRayLinearObjective_ = 0D;
105 @java.lang.Override
107 return ((bitField0_ & 0x00000002) != 0);
108 }
109
119 @java.lang.Override
121 return primalRayLinearObjective_;
122 }
123
124 public static final int PRIMAL_RAY_QUADRATIC_NORM_FIELD_NUMBER = 3;
125 private double primalRayQuadraticNorm_ = 0D;
136 @java.lang.Override
137 public boolean hasPrimalRayQuadraticNorm() {
138 return ((bitField0_ & 0x00000004) != 0);
139 }
140
150 @java.lang.Override
152 return primalRayQuadraticNorm_;
153 }
154
155 public static final int MAX_DUAL_RAY_INFEASIBILITY_FIELD_NUMBER = 4;
156 private double maxDualRayInfeasibility_ = 0D;
174 @java.lang.Override
175 public boolean hasMaxDualRayInfeasibility() {
176 return ((bitField0_ & 0x00000008) != 0);
177 }
178
195 @java.lang.Override
197 return maxDualRayInfeasibility_;
198 }
199
200 public static final int DUAL_RAY_OBJECTIVE_FIELD_NUMBER = 5;
201 private double dualRayObjective_ = 0D;
210 @java.lang.Override
211 public boolean hasDualRayObjective() {
212 return ((bitField0_ & 0x00000010) != 0);
213 }
214
222 @java.lang.Override
223 public double getDualRayObjective() {
224 return dualRayObjective_;
225 }
226
227 public static final int CANDIDATE_TYPE_FIELD_NUMBER = 6;
228 private int candidateType_ = 0;
237 @java.lang.Override public boolean hasCandidateType() {
238 return ((bitField0_ & 0x00000020) != 0);
239 }
240
249 com.google.ortools.pdlp.PointType result = com.google.ortools.pdlp.PointType.forNumber(candidateType_);
250 return result == null ? com.google.ortools.pdlp.PointType.POINT_TYPE_UNSPECIFIED : result;
251 }
252
253 private byte memoizedIsInitialized = -1;
254 @java.lang.Override
255 public final boolean isInitialized() {
256 byte isInitialized = memoizedIsInitialized;
257 if (isInitialized == 1) return true;
258 if (isInitialized == 0) return false;
259
260 memoizedIsInitialized = 1;
261 return true;
262 }
263
264 @java.lang.Override
265 public void writeTo(com.google.protobuf.CodedOutputStream output)
266 throws java.io.IOException {
267 if (((bitField0_ & 0x00000001) != 0)) {
268 output.writeDouble(1, maxPrimalRayInfeasibility_);
269 }
270 if (((bitField0_ & 0x00000002) != 0)) {
271 output.writeDouble(2, primalRayLinearObjective_);
272 }
273 if (((bitField0_ & 0x00000004) != 0)) {
274 output.writeDouble(3, primalRayQuadraticNorm_);
275 }
276 if (((bitField0_ & 0x00000008) != 0)) {
277 output.writeDouble(4, maxDualRayInfeasibility_);
278 }
279 if (((bitField0_ & 0x00000010) != 0)) {
280 output.writeDouble(5, dualRayObjective_);
281 }
282 if (((bitField0_ & 0x00000020) != 0)) {
283 output.writeEnum(6, candidateType_);
284 }
285 getUnknownFields().writeTo(output);
286 }
287
288 @java.lang.Override
289 public int getSerializedSize() {
290 int size = memoizedSize;
291 if (size != -1) return size;
292
293 size = 0;
294 if (((bitField0_ & 0x00000001) != 0)) {
295 size += com.google.protobuf.CodedOutputStream
296 .computeDoubleSize(1, maxPrimalRayInfeasibility_);
297 }
298 if (((bitField0_ & 0x00000002) != 0)) {
299 size += com.google.protobuf.CodedOutputStream
300 .computeDoubleSize(2, primalRayLinearObjective_);
301 }
302 if (((bitField0_ & 0x00000004) != 0)) {
303 size += com.google.protobuf.CodedOutputStream
304 .computeDoubleSize(3, primalRayQuadraticNorm_);
305 }
306 if (((bitField0_ & 0x00000008) != 0)) {
307 size += com.google.protobuf.CodedOutputStream
308 .computeDoubleSize(4, maxDualRayInfeasibility_);
309 }
310 if (((bitField0_ & 0x00000010) != 0)) {
311 size += com.google.protobuf.CodedOutputStream
312 .computeDoubleSize(5, dualRayObjective_);
313 }
314 if (((bitField0_ & 0x00000020) != 0)) {
315 size += com.google.protobuf.CodedOutputStream
316 .computeEnumSize(6, candidateType_);
317 }
318 size += getUnknownFields().getSerializedSize();
319 memoizedSize = size;
320 return size;
321 }
322
323 @java.lang.Override
324 public boolean equals(final java.lang.Object obj) {
325 if (obj == this) {
326 return true;
327 }
328 if (!(obj instanceof com.google.ortools.pdlp.InfeasibilityInformation)) {
329 return super.equals(obj);
330 }
331 com.google.ortools.pdlp.InfeasibilityInformation other = (com.google.ortools.pdlp.InfeasibilityInformation) obj;
332
333 if (hasMaxPrimalRayInfeasibility() != other.hasMaxPrimalRayInfeasibility()) return false;
335 if (java.lang.Double.doubleToLongBits(getMaxPrimalRayInfeasibility())
336 != java.lang.Double.doubleToLongBits(
337 other.getMaxPrimalRayInfeasibility())) return false;
338 }
339 if (hasPrimalRayLinearObjective() != other.hasPrimalRayLinearObjective()) return false;
341 if (java.lang.Double.doubleToLongBits(getPrimalRayLinearObjective())
342 != java.lang.Double.doubleToLongBits(
343 other.getPrimalRayLinearObjective())) return false;
344 }
345 if (hasPrimalRayQuadraticNorm() != other.hasPrimalRayQuadraticNorm()) return false;
347 if (java.lang.Double.doubleToLongBits(getPrimalRayQuadraticNorm())
348 != java.lang.Double.doubleToLongBits(
349 other.getPrimalRayQuadraticNorm())) return false;
350 }
351 if (hasMaxDualRayInfeasibility() != other.hasMaxDualRayInfeasibility()) return false;
353 if (java.lang.Double.doubleToLongBits(getMaxDualRayInfeasibility())
354 != java.lang.Double.doubleToLongBits(
355 other.getMaxDualRayInfeasibility())) return false;
356 }
357 if (hasDualRayObjective() != other.hasDualRayObjective()) return false;
358 if (hasDualRayObjective()) {
359 if (java.lang.Double.doubleToLongBits(getDualRayObjective())
360 != java.lang.Double.doubleToLongBits(
361 other.getDualRayObjective())) return false;
362 }
363 if (hasCandidateType() != other.hasCandidateType()) return false;
364 if (hasCandidateType()) {
365 if (candidateType_ != other.candidateType_) return false;
366 }
367 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
368 return true;
369 }
370
371 @java.lang.Override
372 public int hashCode() {
373 if (memoizedHashCode != 0) {
374 return memoizedHashCode;
375 }
376 int hash = 41;
377 hash = (19 * hash) + getDescriptor().hashCode();
380 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
381 java.lang.Double.doubleToLongBits(getMaxPrimalRayInfeasibility()));
382 }
384 hash = (37 * hash) + PRIMAL_RAY_LINEAR_OBJECTIVE_FIELD_NUMBER;
385 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
386 java.lang.Double.doubleToLongBits(getPrimalRayLinearObjective()));
387 }
389 hash = (37 * hash) + PRIMAL_RAY_QUADRATIC_NORM_FIELD_NUMBER;
390 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
391 java.lang.Double.doubleToLongBits(getPrimalRayQuadraticNorm()));
392 }
394 hash = (37 * hash) + MAX_DUAL_RAY_INFEASIBILITY_FIELD_NUMBER;
395 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
396 java.lang.Double.doubleToLongBits(getMaxDualRayInfeasibility()));
397 }
398 if (hasDualRayObjective()) {
399 hash = (37 * hash) + DUAL_RAY_OBJECTIVE_FIELD_NUMBER;
400 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
401 java.lang.Double.doubleToLongBits(getDualRayObjective()));
402 }
403 if (hasCandidateType()) {
404 hash = (37 * hash) + CANDIDATE_TYPE_FIELD_NUMBER;
405 hash = (53 * hash) + candidateType_;
406 }
407 hash = (29 * hash) + getUnknownFields().hashCode();
408 memoizedHashCode = hash;
409 return hash;
410 }
411
413 java.nio.ByteBuffer data)
414 throws com.google.protobuf.InvalidProtocolBufferException {
415 return PARSER.parseFrom(data);
416 }
418 java.nio.ByteBuffer data,
419 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
420 throws com.google.protobuf.InvalidProtocolBufferException {
421 return PARSER.parseFrom(data, extensionRegistry);
422 }
424 com.google.protobuf.ByteString data)
425 throws com.google.protobuf.InvalidProtocolBufferException {
426 return PARSER.parseFrom(data);
427 }
429 com.google.protobuf.ByteString data,
430 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
431 throws com.google.protobuf.InvalidProtocolBufferException {
432 return PARSER.parseFrom(data, extensionRegistry);
433 }
435 throws com.google.protobuf.InvalidProtocolBufferException {
436 return PARSER.parseFrom(data);
437 }
439 byte[] data,
440 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
441 throws com.google.protobuf.InvalidProtocolBufferException {
442 return PARSER.parseFrom(data, extensionRegistry);
443 }
444 public static com.google.ortools.pdlp.InfeasibilityInformation parseFrom(java.io.InputStream input)
445 throws java.io.IOException {
446 return com.google.protobuf.GeneratedMessage
447 .parseWithIOException(PARSER, input);
448 }
450 java.io.InputStream input,
451 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
452 throws java.io.IOException {
453 return com.google.protobuf.GeneratedMessage
454 .parseWithIOException(PARSER, input, extensionRegistry);
455 }
456
458 throws java.io.IOException {
459 return com.google.protobuf.GeneratedMessage
460 .parseDelimitedWithIOException(PARSER, input);
461 }
462
464 java.io.InputStream input,
465 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
466 throws java.io.IOException {
467 return com.google.protobuf.GeneratedMessage
468 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
469 }
471 com.google.protobuf.CodedInputStream input)
472 throws java.io.IOException {
473 return com.google.protobuf.GeneratedMessage
474 .parseWithIOException(PARSER, input);
475 }
477 com.google.protobuf.CodedInputStream input,
478 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
479 throws java.io.IOException {
480 return com.google.protobuf.GeneratedMessage
481 .parseWithIOException(PARSER, input, extensionRegistry);
482 }
483
484 @java.lang.Override
485 public Builder newBuilderForType() { return newBuilder(); }
486 public static Builder newBuilder() {
487 return DEFAULT_INSTANCE.toBuilder();
488 }
489 public static Builder newBuilder(com.google.ortools.pdlp.InfeasibilityInformation prototype) {
490 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
491 }
492 @java.lang.Override
494 return this == DEFAULT_INSTANCE
495 ? new Builder() : new Builder().mergeFrom(this);
496 }
497
498 @java.lang.Override
500 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
501 Builder builder = new Builder(parent);
502 return builder;
503 }
504
512 public static final class Builder extends
513 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
514 // @@protoc_insertion_point(builder_implements:operations_research.pdlp.InfeasibilityInformation)
516 public static final com.google.protobuf.Descriptors.Descriptor
518 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_InfeasibilityInformation_descriptor;
519 }
520
521 @java.lang.Override
522 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
524 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_InfeasibilityInformation_fieldAccessorTable
525 .ensureFieldAccessorsInitialized(
526 com.google.ortools.pdlp.InfeasibilityInformation.class, com.google.ortools.pdlp.InfeasibilityInformation.Builder.class);
527 }
528
529 // Construct using com.google.ortools.pdlp.InfeasibilityInformation.newBuilder()
530 private Builder() {
531
532 }
533
534 private Builder(
535 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
536 super(parent);
537
538 }
539 @java.lang.Override
540 public Builder clear() {
541 super.clear();
542 bitField0_ = 0;
543 maxPrimalRayInfeasibility_ = 0D;
544 primalRayLinearObjective_ = 0D;
545 primalRayQuadraticNorm_ = 0D;
546 maxDualRayInfeasibility_ = 0D;
547 dualRayObjective_ = 0D;
548 candidateType_ = 0;
549 return this;
550 }
551
552 @java.lang.Override
553 public com.google.protobuf.Descriptors.Descriptor
555 return com.google.ortools.pdlp.SolveLogOuterClass.internal_static_operations_research_pdlp_InfeasibilityInformation_descriptor;
556 }
557
558 @java.lang.Override
560 return com.google.ortools.pdlp.InfeasibilityInformation.getDefaultInstance();
561 }
562
563 @java.lang.Override
566 if (!result.isInitialized()) {
567 throw newUninitializedMessageException(result);
568 }
569 return result;
570 }
571
572 @java.lang.Override
574 com.google.ortools.pdlp.InfeasibilityInformation result = new com.google.ortools.pdlp.InfeasibilityInformation(this);
575 if (bitField0_ != 0) { buildPartial0(result); }
576 onBuilt();
577 return result;
578 }
579
580 private void buildPartial0(com.google.ortools.pdlp.InfeasibilityInformation result) {
581 int from_bitField0_ = bitField0_;
582 int to_bitField0_ = 0;
583 if (((from_bitField0_ & 0x00000001) != 0)) {
584 result.maxPrimalRayInfeasibility_ = maxPrimalRayInfeasibility_;
585 to_bitField0_ |= 0x00000001;
586 }
587 if (((from_bitField0_ & 0x00000002) != 0)) {
588 result.primalRayLinearObjective_ = primalRayLinearObjective_;
589 to_bitField0_ |= 0x00000002;
590 }
591 if (((from_bitField0_ & 0x00000004) != 0)) {
592 result.primalRayQuadraticNorm_ = primalRayQuadraticNorm_;
593 to_bitField0_ |= 0x00000004;
594 }
595 if (((from_bitField0_ & 0x00000008) != 0)) {
596 result.maxDualRayInfeasibility_ = maxDualRayInfeasibility_;
597 to_bitField0_ |= 0x00000008;
598 }
599 if (((from_bitField0_ & 0x00000010) != 0)) {
600 result.dualRayObjective_ = dualRayObjective_;
601 to_bitField0_ |= 0x00000010;
602 }
603 if (((from_bitField0_ & 0x00000020) != 0)) {
604 result.candidateType_ = candidateType_;
605 to_bitField0_ |= 0x00000020;
606 }
607 result.bitField0_ |= to_bitField0_;
608 }
609
610 @java.lang.Override
611 public Builder mergeFrom(com.google.protobuf.Message other) {
612 if (other instanceof com.google.ortools.pdlp.InfeasibilityInformation) {
613 return mergeFrom((com.google.ortools.pdlp.InfeasibilityInformation)other);
614 } else {
615 super.mergeFrom(other);
616 return this;
617 }
618 }
619
620 public Builder mergeFrom(com.google.ortools.pdlp.InfeasibilityInformation other) {
621 if (other == com.google.ortools.pdlp.InfeasibilityInformation.getDefaultInstance()) return this;
622 if (other.hasMaxPrimalRayInfeasibility()) {
623 setMaxPrimalRayInfeasibility(other.getMaxPrimalRayInfeasibility());
624 }
625 if (other.hasPrimalRayLinearObjective()) {
626 setPrimalRayLinearObjective(other.getPrimalRayLinearObjective());
627 }
628 if (other.hasPrimalRayQuadraticNorm()) {
629 setPrimalRayQuadraticNorm(other.getPrimalRayQuadraticNorm());
630 }
631 if (other.hasMaxDualRayInfeasibility()) {
632 setMaxDualRayInfeasibility(other.getMaxDualRayInfeasibility());
633 }
634 if (other.hasDualRayObjective()) {
635 setDualRayObjective(other.getDualRayObjective());
636 }
637 if (other.hasCandidateType()) {
638 setCandidateType(other.getCandidateType());
639 }
640 this.mergeUnknownFields(other.getUnknownFields());
641 onChanged();
642 return this;
643 }
644
645 @java.lang.Override
646 public final boolean isInitialized() {
647 return true;
648 }
649
650 @java.lang.Override
651 public Builder mergeFrom(
652 com.google.protobuf.CodedInputStream input,
653 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
654 throws java.io.IOException {
655 if (extensionRegistry == null) {
656 throw new java.lang.NullPointerException();
657 }
658 try {
659 boolean done = false;
660 while (!done) {
661 int tag = input.readTag();
662 switch (tag) {
663 case 0:
664 done = true;
665 break;
666 case 9: {
667 maxPrimalRayInfeasibility_ = input.readDouble();
668 bitField0_ |= 0x00000001;
669 break;
670 } // case 9
671 case 17: {
672 primalRayLinearObjective_ = input.readDouble();
673 bitField0_ |= 0x00000002;
674 break;
675 } // case 17
676 case 25: {
677 primalRayQuadraticNorm_ = input.readDouble();
678 bitField0_ |= 0x00000004;
679 break;
680 } // case 25
681 case 33: {
682 maxDualRayInfeasibility_ = input.readDouble();
683 bitField0_ |= 0x00000008;
684 break;
685 } // case 33
686 case 41: {
687 dualRayObjective_ = input.readDouble();
688 bitField0_ |= 0x00000010;
689 break;
690 } // case 41
691 case 48: {
692 int tmpRaw = input.readEnum();
694 com.google.ortools.pdlp.PointType.forNumber(tmpRaw);
695 if (tmpValue == null) {
696 mergeUnknownVarintField(6, tmpRaw);
697 } else {
698 candidateType_ = tmpRaw;
699 bitField0_ |= 0x00000020;
700 }
701 break;
702 } // case 48
703 default: {
704 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
705 done = true; // was an endgroup tag
706 }
707 break;
708 } // default:
709 } // switch (tag)
710 } // while (!done)
711 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
712 throw e.unwrapIOException();
713 } finally {
714 onChanged();
715 } // finally
716 return this;
717 }
718 private int bitField0_;
719
720 private double maxPrimalRayInfeasibility_ ;
736 @java.lang.Override
738 return ((bitField0_ & 0x00000001) != 0);
739 }
740
755 @java.lang.Override
757 return maxPrimalRayInfeasibility_;
758 }
759
775 public Builder setMaxPrimalRayInfeasibility(double value) {
776
777 maxPrimalRayInfeasibility_ = value;
778 bitField0_ |= 0x00000001;
779 onChanged();
780 return this;
781 }
782
798 bitField0_ = (bitField0_ & ~0x00000001);
799 maxPrimalRayInfeasibility_ = 0D;
800 onChanged();
801 return this;
802 }
803
804 private double primalRayLinearObjective_ ;
815 @java.lang.Override
817 return ((bitField0_ & 0x00000002) != 0);
818 }
819
829 @java.lang.Override
831 return primalRayLinearObjective_;
832 }
833
844 public Builder setPrimalRayLinearObjective(double value) {
845
846 primalRayLinearObjective_ = value;
847 bitField0_ |= 0x00000002;
848 onChanged();
849 return this;
850 }
851
862 bitField0_ = (bitField0_ & ~0x00000002);
863 primalRayLinearObjective_ = 0D;
864 onChanged();
865 return this;
866 }
867
868 private double primalRayQuadraticNorm_ ;
879 @java.lang.Override
880 public boolean hasPrimalRayQuadraticNorm() {
881 return ((bitField0_ & 0x00000004) != 0);
882 }
883
893 @java.lang.Override
895 return primalRayQuadraticNorm_;
896 }
897
908 public Builder setPrimalRayQuadraticNorm(double value) {
909
910 primalRayQuadraticNorm_ = value;
911 bitField0_ |= 0x00000004;
912 onChanged();
913 return this;
914 }
915
926 bitField0_ = (bitField0_ & ~0x00000004);
927 primalRayQuadraticNorm_ = 0D;
928 onChanged();
929 return this;
930 }
931
932 private double maxDualRayInfeasibility_ ;
950 @java.lang.Override
951 public boolean hasMaxDualRayInfeasibility() {
952 return ((bitField0_ & 0x00000008) != 0);
953 }
954
971 @java.lang.Override
973 return maxDualRayInfeasibility_;
974 }
975
993 public Builder setMaxDualRayInfeasibility(double value) {
994
995 maxDualRayInfeasibility_ = value;
996 bitField0_ |= 0x00000008;
997 onChanged();
998 return this;
999 }
1000
1018 bitField0_ = (bitField0_ & ~0x00000008);
1019 maxDualRayInfeasibility_ = 0D;
1020 onChanged();
1021 return this;
1022 }
1023
1024 private double dualRayObjective_ ;
1033 @java.lang.Override
1034 public boolean hasDualRayObjective() {
1035 return ((bitField0_ & 0x00000010) != 0);
1036 }
1037
1045 @java.lang.Override
1046 public double getDualRayObjective() {
1047 return dualRayObjective_;
1048 }
1049
1058 public Builder setDualRayObjective(double value) {
1059
1060 dualRayObjective_ = value;
1061 bitField0_ |= 0x00000010;
1062 onChanged();
1063 return this;
1064 }
1065
1073 public Builder clearDualRayObjective() {
1074 bitField0_ = (bitField0_ & ~0x00000010);
1075 dualRayObjective_ = 0D;
1076 onChanged();
1077 return this;
1078 }
1079
1080 private int candidateType_ = 0;
1089 @java.lang.Override public boolean hasCandidateType() {
1090 return ((bitField0_ & 0x00000020) != 0);
1091 }
1092
1100 @java.lang.Override
1102 com.google.ortools.pdlp.PointType result = com.google.ortools.pdlp.PointType.forNumber(candidateType_);
1103 return result == null ? com.google.ortools.pdlp.PointType.POINT_TYPE_UNSPECIFIED : result;
1104 }
1105
1114 public Builder setCandidateType(com.google.ortools.pdlp.PointType value) {
1115 if (value == null) {
1116 throw new NullPointerException();
1117 }
1118 bitField0_ |= 0x00000020;
1119 candidateType_ = value.getNumber();
1120 onChanged();
1121 return this;
1122 }
1123
1131 public Builder clearCandidateType() {
1132 bitField0_ = (bitField0_ & ~0x00000020);
1133 candidateType_ = 0;
1134 onChanged();
1135 return this;
1136 }
1137
1138 // @@protoc_insertion_point(builder_scope:operations_research.pdlp.InfeasibilityInformation)
1139 }
1140
1141 // @@protoc_insertion_point(class_scope:operations_research.pdlp.InfeasibilityInformation)
1142 private static final com.google.ortools.pdlp.InfeasibilityInformation DEFAULT_INSTANCE;
1143 static {
1144 DEFAULT_INSTANCE = new com.google.ortools.pdlp.InfeasibilityInformation();
1145 }
1146
1148 return DEFAULT_INSTANCE;
1149 }
1150
1151 private static final com.google.protobuf.Parser<InfeasibilityInformation>
1152 PARSER = new com.google.protobuf.AbstractParser<InfeasibilityInformation>() {
1153 @java.lang.Override
1154 public InfeasibilityInformation parsePartialFrom(
1155 com.google.protobuf.CodedInputStream input,
1156 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1157 throws com.google.protobuf.InvalidProtocolBufferException {
1158 Builder builder = newBuilder();
1159 try {
1160 builder.mergeFrom(input, extensionRegistry);
1161 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1162 throw e.setUnfinishedMessage(builder.buildPartial());
1163 } catch (com.google.protobuf.UninitializedMessageException e) {
1164 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1165 } catch (java.io.IOException e) {
1166 throw new com.google.protobuf.InvalidProtocolBufferException(e)
1167 .setUnfinishedMessage(builder.buildPartial());
1168 }
1169 return builder.buildPartial();
1170 }
1171 };
1172
1173 public static com.google.protobuf.Parser<InfeasibilityInformation> parser() {
1174 return PARSER;
1175 }
1176
1177 @java.lang.Override
1178 public com.google.protobuf.Parser<InfeasibilityInformation> getParserForType() {
1179 return PARSER;
1180 }
1181
1182 @java.lang.Override
1186
1187}
1188
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
com.google.ortools.pdlp.InfeasibilityInformation buildPartial()
Builder mergeFrom(com.google.ortools.pdlp.InfeasibilityInformation other)
com.google.ortools.pdlp.InfeasibilityInformation build()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
com.google.ortools.pdlp.InfeasibilityInformation getDefaultInstanceForType()
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Builder setCandidateType(com.google.ortools.pdlp.PointType value)
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static com.google.ortools.pdlp.InfeasibilityInformation parseFrom(com.google.protobuf.ByteString data)
static com.google.ortools.pdlp.InfeasibilityInformation parseFrom(java.nio.ByteBuffer data)
static com.google.ortools.pdlp.InfeasibilityInformation parseFrom(java.io.InputStream input)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
static com.google.ortools.pdlp.InfeasibilityInformation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser< InfeasibilityInformation > parser()
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
com.google.ortools.pdlp.InfeasibilityInformation getDefaultInstanceForType()
static com.google.ortools.pdlp.InfeasibilityInformation parseFrom(com.google.protobuf.CodedInputStream input)
com.google.protobuf.Parser< InfeasibilityInformation > getParserForType()
static com.google.ortools.pdlp.InfeasibilityInformation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
void writeTo(com.google.protobuf.CodedOutputStream output)
static com.google.ortools.pdlp.InfeasibilityInformation getDefaultInstance()
static com.google.ortools.pdlp.InfeasibilityInformation parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.pdlp.InfeasibilityInformation parseFrom(byte[] data)
static com.google.ortools.pdlp.InfeasibilityInformation parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.pdlp.InfeasibilityInformation parseDelimitedFrom(java.io.InputStream input)
static com.google.ortools.pdlp.InfeasibilityInformation parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Builder newBuilder(com.google.ortools.pdlp.InfeasibilityInformation prototype)
static com.google.ortools.pdlp.InfeasibilityInformation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)