4 package com.google.ortools.constraintsolver;
14 com.google.protobuf.GeneratedMessageV3 implements
17 private static final long serialVersionUID = 0L;
26 @SuppressWarnings({
"unused"})
28 UnusedPrivateParameter unused) {
33 public final com.
google.protobuf.UnknownFieldSet
35 return this.unknownFields;
38 com.
google.protobuf.CodedInputStream input,
39 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
40 throws com.
google.protobuf.InvalidProtocolBufferException {
42 if (extensionRegistry ==
null) {
43 throw new java.lang.NullPointerException();
45 com.
google.protobuf.UnknownFieldSet.Builder unknownFields =
46 com.
google.protobuf.UnknownFieldSet.newBuilder();
50 int tag = input.readTag();
56 if (!parseUnknownField(
57 input, unknownFields, extensionRegistry, tag)) {
64 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
65 throw e.setUnfinishedMessage(
this);
66 }
catch (java.io.IOException e) {
67 throw new com.
google.protobuf.InvalidProtocolBufferException(
68 e).setUnfinishedMessage(
this);
70 this.unknownFields = unknownFields.build();
71 makeExtensionsImmutable();
74 public static final com.
google.protobuf.Descriptors.Descriptor
80 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
83 .ensureFieldAccessorsInitialized(
91 implements
com.
google.protobuf.ProtocolMessageEnum {
273 public static final int UNSET_VALUE = 0;
282 public static final int AUTOMATIC_VALUE = 15;
293 public static final int PATH_CHEAPEST_ARC_VALUE = 3;
304 public static final int PATH_MOST_CONSTRAINED_ARC_VALUE = 4;
314 public static final int EVALUATOR_STRATEGY_VALUE = 5;
325 public static final int SAVINGS_VALUE = 10;
337 public static final int SWEEP_VALUE = 11;
352 public static final int CHRISTOFIDES_VALUE = 13;
362 public static final int ALL_UNPERFORMED_VALUE = 6;
373 public static final int BEST_INSERTION_VALUE = 7;
383 public static final int PARALLEL_CHEAPEST_INSERTION_VALUE = 8;
394 public static final int SEQUENTIAL_CHEAPEST_INSERTION_VALUE = 14;
407 public static final int LOCAL_CHEAPEST_INSERTION_VALUE = 9;
416 public static final int GLOBAL_CHEAPEST_ARC_VALUE = 1;
425 public static final int LOCAL_CHEAPEST_ARC_VALUE = 2;
436 public static final int FIRST_UNBOUND_MIN_VALUE_VALUE = 12;
440 if (
this == UNRECOGNIZED) {
441 throw new java.lang.IllegalArgumentException(
442 "Can't get the number of an unknown enum value.");
450 @java.lang.Deprecated
452 return forNumber(value);
457 case 0:
return UNSET;
458 case 15:
return AUTOMATIC;
459 case 3:
return PATH_CHEAPEST_ARC;
460 case 4:
return PATH_MOST_CONSTRAINED_ARC;
461 case 5:
return EVALUATOR_STRATEGY;
462 case 10:
return SAVINGS;
463 case 11:
return SWEEP;
464 case 13:
return CHRISTOFIDES;
465 case 6:
return ALL_UNPERFORMED;
466 case 7:
return BEST_INSERTION;
467 case 8:
return PARALLEL_CHEAPEST_INSERTION;
468 case 14:
return SEQUENTIAL_CHEAPEST_INSERTION;
469 case 9:
return LOCAL_CHEAPEST_INSERTION;
470 case 1:
return GLOBAL_CHEAPEST_ARC;
471 case 2:
return LOCAL_CHEAPEST_ARC;
472 case 12:
return FIRST_UNBOUND_MIN_VALUE;
473 default:
return null;
479 return internalValueMap;
481 private static final com.
google.protobuf.Internal.EnumLiteMap<
482 Value> internalValueMap =
484 public Value findValueByNumber(
int number) {
489 public final com.
google.protobuf.Descriptors.EnumValueDescriptor
493 public final com.
google.protobuf.Descriptors.EnumDescriptor
497 public static final com.
google.protobuf.Descriptors.EnumDescriptor
502 private static final Value[] VALUES = values();
505 com.
google.protobuf.Descriptors.EnumValueDescriptor desc) {
507 throw new java.lang.IllegalArgumentException(
508 "EnumValueDescriptor is not for this type.");
510 if (desc.getIndex() == -1) {
513 return VALUES[desc.getIndex()];
516 private final int value;
518 private Value(
int value) {
525 private byte memoizedIsInitialized = -1;
532 memoizedIsInitialized = 1;
538 throws java.io.IOException {
539 unknownFields.writeTo(output);
544 int size = memoizedSize;
545 if (size != -1)
return size;
548 size += unknownFields.getSerializedSize();
554 public boolean equals(
final java.lang.Object obj) {
559 return super.equals(obj);
563 if (!unknownFields.equals(other.unknownFields))
return false;
569 if (memoizedHashCode != 0) {
570 return memoizedHashCode;
574 hash = (29 * hash) + unknownFields.hashCode();
575 memoizedHashCode = hash;
580 java.nio.ByteBuffer data)
581 throws com.
google.protobuf.InvalidProtocolBufferException {
582 return PARSER.parseFrom(data);
585 java.nio.ByteBuffer data,
586 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
587 throws com.
google.protobuf.InvalidProtocolBufferException {
588 return PARSER.parseFrom(data, extensionRegistry);
592 throws com.
google.protobuf.InvalidProtocolBufferException {
593 return PARSER.parseFrom(data);
597 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
598 throws com.
google.protobuf.InvalidProtocolBufferException {
599 return PARSER.parseFrom(data, extensionRegistry);
602 throws com.
google.protobuf.InvalidProtocolBufferException {
603 return PARSER.parseFrom(data);
607 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
608 throws com.
google.protobuf.InvalidProtocolBufferException {
609 return PARSER.parseFrom(data, extensionRegistry);
612 throws java.io.IOException {
613 return com.
google.protobuf.GeneratedMessageV3
614 .parseWithIOException(PARSER, input);
617 java.io.InputStream input,
618 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
619 throws java.io.IOException {
620 return com.
google.protobuf.GeneratedMessageV3
621 .parseWithIOException(PARSER, input, extensionRegistry);
624 throws java.io.IOException {
625 return com.
google.protobuf.GeneratedMessageV3
626 .parseDelimitedWithIOException(PARSER, input);
629 java.io.InputStream input,
630 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
631 throws java.io.IOException {
632 return com.
google.protobuf.GeneratedMessageV3
633 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
636 com.
google.protobuf.CodedInputStream input)
637 throws java.io.IOException {
638 return com.
google.protobuf.GeneratedMessageV3
639 .parseWithIOException(PARSER, input);
642 com.
google.protobuf.CodedInputStream input,
643 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
644 throws java.io.IOException {
645 return com.
google.protobuf.GeneratedMessageV3
646 .parseWithIOException(PARSER, input, extensionRegistry);
659 return this == DEFAULT_INSTANCE
665 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
677 com.google.protobuf.GeneratedMessageV3.
Builder<Builder> implements
680 public static final com.
google.protobuf.Descriptors.Descriptor
686 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
689 .ensureFieldAccessorsInitialized(
695 maybeForceBuilderInitialization();
699 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
701 maybeForceBuilderInitialization();
703 private void maybeForceBuilderInitialization() {
704 if (
com.
google.protobuf.GeneratedMessageV3
705 .alwaysUseFieldBuilders) {
715 public com.
google.protobuf.Descriptors.Descriptor
728 if (!result.isInitialized()) {
729 throw newUninitializedMessageException(result);
743 return super.
clone();
747 com.
google.protobuf.Descriptors.FieldDescriptor field,
748 java.lang.Object value) {
749 return super.
setField(field, value);
753 com.
google.protobuf.Descriptors.FieldDescriptor field) {
758 com.
google.protobuf.Descriptors.OneofDescriptor oneof) {
763 com.
google.protobuf.Descriptors.FieldDescriptor field,
764 int index, java.lang.Object value) {
769 com.
google.protobuf.Descriptors.FieldDescriptor field,
770 java.lang.Object value) {
778 super.mergeFrom(other);
797 com.
google.protobuf.CodedInputStream input,
798 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
799 throws java.io.IOException {
802 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
803 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
805 throw e.unwrapIOException();
807 if (parsedMessage !=
null) {
815 final com.
google.protobuf.UnknownFieldSet unknownFields) {
821 final com.
google.protobuf.UnknownFieldSet unknownFields) {
836 return DEFAULT_INSTANCE;
843 com.
google.protobuf.CodedInputStream input,
844 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
845 throws com.
google.protobuf.InvalidProtocolBufferException {
861 return DEFAULT_INSTANCE;