4 package com.google.ortools.constraintsolver;
15 com.google.protobuf.GeneratedMessageV3 implements
18 private static final long serialVersionUID = 0L;
27 @SuppressWarnings({
"unused"})
29 UnusedPrivateParameter unused) {
34 public final com.
google.protobuf.UnknownFieldSet
36 return this.unknownFields;
39 com.
google.protobuf.CodedInputStream input,
40 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
41 throws com.
google.protobuf.InvalidProtocolBufferException {
43 if (extensionRegistry ==
null) {
44 throw new java.lang.NullPointerException();
46 com.
google.protobuf.UnknownFieldSet.Builder unknownFields =
47 com.
google.protobuf.UnknownFieldSet.newBuilder();
51 int tag = input.readTag();
57 if (!parseUnknownField(
58 input, unknownFields, extensionRegistry, tag)) {
65 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
66 throw e.setUnfinishedMessage(
this);
67 }
catch (java.io.IOException e) {
68 throw new com.
google.protobuf.InvalidProtocolBufferException(
69 e).setUnfinishedMessage(
this);
71 this.unknownFields = unknownFields.build();
72 makeExtensionsImmutable();
75 public static final com.
google.protobuf.Descriptors.Descriptor
81 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
84 .ensureFieldAccessorsInitialized(
92 implements
com.
google.protobuf.ProtocolMessageEnum {
170 public static final int UNSET_VALUE = 0;
178 public static final int AUTOMATIC_VALUE = 6;
187 public static final int GREEDY_DESCENT_VALUE = 1;
197 public static final int GUIDED_LOCAL_SEARCH_VALUE = 2;
206 public static final int SIMULATED_ANNEALING_VALUE = 3;
215 public static final int TABU_SEARCH_VALUE = 4;
225 public static final int GENERIC_TABU_SEARCH_VALUE = 5;
229 if (
this == UNRECOGNIZED) {
230 throw new java.lang.IllegalArgumentException(
231 "Can't get the number of an unknown enum value.");
239 @java.lang.Deprecated
241 return forNumber(value);
246 case 0:
return UNSET;
247 case 6:
return AUTOMATIC;
248 case 1:
return GREEDY_DESCENT;
249 case 2:
return GUIDED_LOCAL_SEARCH;
250 case 3:
return SIMULATED_ANNEALING;
251 case 4:
return TABU_SEARCH;
252 case 5:
return GENERIC_TABU_SEARCH;
253 default:
return null;
259 return internalValueMap;
261 private static final com.
google.protobuf.Internal.EnumLiteMap<
262 Value> internalValueMap =
264 public Value findValueByNumber(
int number) {
269 public final com.
google.protobuf.Descriptors.EnumValueDescriptor
273 public final com.
google.protobuf.Descriptors.EnumDescriptor
277 public static final com.
google.protobuf.Descriptors.EnumDescriptor
282 private static final Value[] VALUES = values();
285 com.
google.protobuf.Descriptors.EnumValueDescriptor desc) {
287 throw new java.lang.IllegalArgumentException(
288 "EnumValueDescriptor is not for this type.");
290 if (desc.getIndex() == -1) {
293 return VALUES[desc.getIndex()];
296 private final int value;
298 private Value(
int value) {
305 private byte memoizedIsInitialized = -1;
312 memoizedIsInitialized = 1;
318 throws java.io.IOException {
319 unknownFields.writeTo(output);
324 int size = memoizedSize;
325 if (size != -1)
return size;
328 size += unknownFields.getSerializedSize();
334 public boolean equals(
final java.lang.Object obj) {
339 return super.equals(obj);
343 if (!unknownFields.equals(other.unknownFields))
return false;
349 if (memoizedHashCode != 0) {
350 return memoizedHashCode;
354 hash = (29 * hash) + unknownFields.hashCode();
355 memoizedHashCode = hash;
360 java.nio.ByteBuffer data)
361 throws com.
google.protobuf.InvalidProtocolBufferException {
362 return PARSER.parseFrom(data);
365 java.nio.ByteBuffer data,
366 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
367 throws com.
google.protobuf.InvalidProtocolBufferException {
368 return PARSER.parseFrom(data, extensionRegistry);
372 throws com.
google.protobuf.InvalidProtocolBufferException {
373 return PARSER.parseFrom(data);
377 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
378 throws com.
google.protobuf.InvalidProtocolBufferException {
379 return PARSER.parseFrom(data, extensionRegistry);
382 throws com.
google.protobuf.InvalidProtocolBufferException {
383 return PARSER.parseFrom(data);
387 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
388 throws com.
google.protobuf.InvalidProtocolBufferException {
389 return PARSER.parseFrom(data, extensionRegistry);
392 throws java.io.IOException {
393 return com.
google.protobuf.GeneratedMessageV3
394 .parseWithIOException(PARSER, input);
397 java.io.InputStream input,
398 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
399 throws java.io.IOException {
400 return com.
google.protobuf.GeneratedMessageV3
401 .parseWithIOException(PARSER, input, extensionRegistry);
404 throws java.io.IOException {
405 return com.
google.protobuf.GeneratedMessageV3
406 .parseDelimitedWithIOException(PARSER, input);
409 java.io.InputStream input,
410 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
411 throws java.io.IOException {
412 return com.
google.protobuf.GeneratedMessageV3
413 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
416 com.
google.protobuf.CodedInputStream input)
417 throws java.io.IOException {
418 return com.
google.protobuf.GeneratedMessageV3
419 .parseWithIOException(PARSER, input);
422 com.
google.protobuf.CodedInputStream input,
423 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
424 throws java.io.IOException {
425 return com.
google.protobuf.GeneratedMessageV3
426 .parseWithIOException(PARSER, input, extensionRegistry);
439 return this == DEFAULT_INSTANCE
445 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
458 com.google.protobuf.GeneratedMessageV3.
Builder<Builder> implements
461 public static final com.
google.protobuf.Descriptors.Descriptor
467 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
470 .ensureFieldAccessorsInitialized(
476 maybeForceBuilderInitialization();
480 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
482 maybeForceBuilderInitialization();
484 private void maybeForceBuilderInitialization() {
485 if (
com.
google.protobuf.GeneratedMessageV3
486 .alwaysUseFieldBuilders) {
496 public com.
google.protobuf.Descriptors.Descriptor
509 if (!result.isInitialized()) {
510 throw newUninitializedMessageException(result);
524 return super.
clone();
528 com.
google.protobuf.Descriptors.FieldDescriptor field,
529 java.lang.Object value) {
530 return super.
setField(field, value);
534 com.
google.protobuf.Descriptors.FieldDescriptor field) {
539 com.
google.protobuf.Descriptors.OneofDescriptor oneof) {
544 com.
google.protobuf.Descriptors.FieldDescriptor field,
545 int index, java.lang.Object value) {
550 com.
google.protobuf.Descriptors.FieldDescriptor field,
551 java.lang.Object value) {
559 super.mergeFrom(other);
578 com.
google.protobuf.CodedInputStream input,
579 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
580 throws java.io.IOException {
583 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
584 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
586 throw e.unwrapIOException();
588 if (parsedMessage !=
null) {
596 final com.
google.protobuf.UnknownFieldSet unknownFields) {
602 final com.
google.protobuf.UnknownFieldSet unknownFields) {
617 return DEFAULT_INSTANCE;
624 com.
google.protobuf.CodedInputStream input,
625 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
626 throws com.
google.protobuf.InvalidProtocolBufferException {
642 return DEFAULT_INSTANCE;