4 package com.google.ortools.constraintsolver;
15 com.google.protobuf.GeneratedMessageV3 implements
18 private static final long serialVersionUID = 0L;
27 public final com.
google.protobuf.UnknownFieldSet
29 return this.unknownFields;
32 com.
google.protobuf.CodedInputStream input,
33 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
34 throws com.
google.protobuf.InvalidProtocolBufferException {
36 if (extensionRegistry ==
null) {
37 throw new java.lang.NullPointerException();
39 com.
google.protobuf.UnknownFieldSet.Builder unknownFields =
40 com.
google.protobuf.UnknownFieldSet.newBuilder();
44 int tag = input.readTag();
50 if (!parseUnknownField(
51 input, unknownFields, extensionRegistry, tag)) {
58 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
59 throw e.setUnfinishedMessage(
this);
60 }
catch (java.io.IOException e) {
61 throw new com.
google.protobuf.InvalidProtocolBufferException(
62 e).setUnfinishedMessage(
this);
64 this.unknownFields = unknownFields.build();
65 makeExtensionsImmutable();
68 public static final com.
google.protobuf.Descriptors.Descriptor
74 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
77 .ensureFieldAccessorsInitialized(
85 implements
com.
google.protobuf.ProtocolMessageEnum {
163 public static final int UNSET_VALUE = 0;
171 public static final int AUTOMATIC_VALUE = 6;
180 public static final int GREEDY_DESCENT_VALUE = 1;
190 public static final int GUIDED_LOCAL_SEARCH_VALUE = 2;
199 public static final int SIMULATED_ANNEALING_VALUE = 3;
208 public static final int TABU_SEARCH_VALUE = 4;
218 public static final int GENERIC_TABU_SEARCH_VALUE = 5;
222 if (
this == UNRECOGNIZED) {
223 throw new java.lang.IllegalArgumentException(
224 "Can't get the number of an unknown enum value.");
232 @java.lang.Deprecated
234 return forNumber(value);
239 case 0:
return UNSET;
240 case 6:
return AUTOMATIC;
241 case 1:
return GREEDY_DESCENT;
242 case 2:
return GUIDED_LOCAL_SEARCH;
243 case 3:
return SIMULATED_ANNEALING;
244 case 4:
return TABU_SEARCH;
245 case 5:
return GENERIC_TABU_SEARCH;
246 default:
return null;
252 return internalValueMap;
254 private static final com.
google.protobuf.Internal.EnumLiteMap<
255 Value> internalValueMap =
257 public Value findValueByNumber(
int number) {
262 public final com.
google.protobuf.Descriptors.EnumValueDescriptor
266 public final com.
google.protobuf.Descriptors.EnumDescriptor
270 public static final com.
google.protobuf.Descriptors.EnumDescriptor
275 private static final Value[] VALUES = values();
278 com.
google.protobuf.Descriptors.EnumValueDescriptor desc) {
280 throw new java.lang.IllegalArgumentException(
281 "EnumValueDescriptor is not for this type.");
283 if (desc.getIndex() == -1) {
286 return VALUES[desc.getIndex()];
289 private final int value;
291 private Value(
int value) {
298 private byte memoizedIsInitialized = -1;
305 memoizedIsInitialized = 1;
311 throws java.io.IOException {
312 unknownFields.writeTo(output);
317 int size = memoizedSize;
318 if (size != -1)
return size;
321 size += unknownFields.getSerializedSize();
327 public boolean equals(
final java.lang.Object obj) {
332 return super.equals(obj);
336 if (!unknownFields.equals(other.unknownFields))
return false;
342 if (memoizedHashCode != 0) {
343 return memoizedHashCode;
347 hash = (29 * hash) + unknownFields.hashCode();
348 memoizedHashCode = hash;
353 java.nio.ByteBuffer data)
354 throws com.
google.protobuf.InvalidProtocolBufferException {
355 return PARSER.parseFrom(data);
358 java.nio.ByteBuffer data,
359 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
360 throws com.
google.protobuf.InvalidProtocolBufferException {
361 return PARSER.parseFrom(data, extensionRegistry);
365 throws com.
google.protobuf.InvalidProtocolBufferException {
366 return PARSER.parseFrom(data);
370 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
371 throws com.
google.protobuf.InvalidProtocolBufferException {
372 return PARSER.parseFrom(data, extensionRegistry);
375 throws com.
google.protobuf.InvalidProtocolBufferException {
376 return PARSER.parseFrom(data);
380 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
381 throws com.
google.protobuf.InvalidProtocolBufferException {
382 return PARSER.parseFrom(data, extensionRegistry);
385 throws java.io.IOException {
386 return com.
google.protobuf.GeneratedMessageV3
387 .parseWithIOException(PARSER, input);
390 java.io.InputStream input,
391 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
392 throws java.io.IOException {
393 return com.
google.protobuf.GeneratedMessageV3
394 .parseWithIOException(PARSER, input, extensionRegistry);
397 throws java.io.IOException {
398 return com.
google.protobuf.GeneratedMessageV3
399 .parseDelimitedWithIOException(PARSER, input);
402 java.io.InputStream input,
403 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
404 throws java.io.IOException {
405 return com.
google.protobuf.GeneratedMessageV3
406 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
409 com.
google.protobuf.CodedInputStream input)
410 throws java.io.IOException {
411 return com.
google.protobuf.GeneratedMessageV3
412 .parseWithIOException(PARSER, input);
415 com.
google.protobuf.CodedInputStream input,
416 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
417 throws java.io.IOException {
418 return com.
google.protobuf.GeneratedMessageV3
419 .parseWithIOException(PARSER, input, extensionRegistry);
432 return this == DEFAULT_INSTANCE
438 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
451 com.google.protobuf.GeneratedMessageV3.
Builder<Builder> implements
454 public static final com.
google.protobuf.Descriptors.Descriptor
460 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
463 .ensureFieldAccessorsInitialized(
469 maybeForceBuilderInitialization();
473 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
475 maybeForceBuilderInitialization();
477 private void maybeForceBuilderInitialization() {
478 if (
com.
google.protobuf.GeneratedMessageV3
479 .alwaysUseFieldBuilders) {
489 public com.
google.protobuf.Descriptors.Descriptor
502 if (!result.isInitialized()) {
503 throw newUninitializedMessageException(result);
517 return super.
clone();
521 com.
google.protobuf.Descriptors.FieldDescriptor field,
522 java.lang.Object value) {
523 return super.
setField(field, value);
527 com.
google.protobuf.Descriptors.FieldDescriptor field) {
532 com.
google.protobuf.Descriptors.OneofDescriptor oneof) {
537 com.
google.protobuf.Descriptors.FieldDescriptor field,
538 int index, java.lang.Object value) {
543 com.
google.protobuf.Descriptors.FieldDescriptor field,
544 java.lang.Object value) {
552 super.mergeFrom(other);
571 com.
google.protobuf.CodedInputStream input,
572 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
573 throws java.io.IOException {
576 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
577 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
579 throw e.unwrapIOException();
581 if (parsedMessage !=
null) {
589 final com.
google.protobuf.UnknownFieldSet unknownFields) {
595 final com.
google.protobuf.UnknownFieldSet unknownFields) {
610 return DEFAULT_INSTANCE;
617 com.
google.protobuf.CodedInputStream input,
618 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
619 throws com.
google.protobuf.InvalidProtocolBufferException {
635 return DEFAULT_INSTANCE;