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