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();
58 time_ = input.readInt64();
63 branches_ = input.readInt64();
68 failures_ = input.readInt64();
73 solutions_ = input.readInt64();
78 smartTimeCheck_ = input.readBool();
83 cumulative_ = input.readBool();
87 if (!parseUnknownField(
88 input, unknownFields, extensionRegistry, tag)) {
95 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
96 throw e.setUnfinishedMessage(
this);
97 }
catch (java.io.IOException e) {
98 throw new com.
google.protobuf.InvalidProtocolBufferException(
99 e).setUnfinishedMessage(
this);
101 this.unknownFields = unknownFields.build();
102 makeExtensionsImmutable();
105 public static final com.
google.protobuf.Descriptors.Descriptor
111 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
114 .ensureFieldAccessorsInitialized(
128 private long branches_;
137 private long failures_;
146 private long solutions_;
155 private boolean smartTimeCheck_;
160 return smartTimeCheck_;
164 private boolean cumulative_;
172 private byte memoizedIsInitialized = -1;
179 memoizedIsInitialized = 1;
185 throws java.io.IOException {
187 output.writeInt64(1, time_);
189 if (branches_ != 0L) {
190 output.writeInt64(2, branches_);
192 if (failures_ != 0L) {
193 output.writeInt64(3, failures_);
195 if (solutions_ != 0L) {
196 output.writeInt64(4, solutions_);
198 if (smartTimeCheck_ !=
false) {
199 output.writeBool(5, smartTimeCheck_);
201 if (cumulative_ !=
false) {
202 output.writeBool(6, cumulative_);
204 unknownFields.writeTo(output);
209 int size = memoizedSize;
210 if (size != -1)
return size;
214 size +=
com.
google.protobuf.CodedOutputStream
215 .computeInt64Size(1, time_);
217 if (branches_ != 0L) {
218 size +=
com.
google.protobuf.CodedOutputStream
219 .computeInt64Size(2, branches_);
221 if (failures_ != 0L) {
222 size +=
com.
google.protobuf.CodedOutputStream
223 .computeInt64Size(3, failures_);
225 if (solutions_ != 0L) {
226 size +=
com.
google.protobuf.CodedOutputStream
227 .computeInt64Size(4, solutions_);
229 if (smartTimeCheck_ !=
false) {
230 size +=
com.
google.protobuf.CodedOutputStream
231 .computeBoolSize(5, smartTimeCheck_);
233 if (cumulative_ !=
false) {
234 size +=
com.
google.protobuf.CodedOutputStream
235 .computeBoolSize(6, cumulative_);
237 size += unknownFields.getSerializedSize();
243 public boolean equals(
final java.lang.Object obj) {
248 return super.equals(obj);
253 != other.getTime())
return false;
255 != other.getBranches())
return false;
257 != other.getFailures())
return false;
259 != other.getSolutions())
return false;
261 != other.getSmartTimeCheck())
return false;
263 != other.getCumulative())
return false;
264 if (!unknownFields.equals(other.unknownFields))
return false;
270 if (memoizedHashCode != 0) {
271 return memoizedHashCode;
276 hash = (53 * hash) +
com.
google.protobuf.Internal.hashLong(
279 hash = (53 * hash) +
com.
google.protobuf.Internal.hashLong(
282 hash = (53 * hash) +
com.
google.protobuf.Internal.hashLong(
285 hash = (53 * hash) +
com.
google.protobuf.Internal.hashLong(
288 hash = (53 * hash) +
com.
google.protobuf.Internal.hashBoolean(
291 hash = (53 * hash) +
com.
google.protobuf.Internal.hashBoolean(
293 hash = (29 * hash) + unknownFields.hashCode();
294 memoizedHashCode = hash;
299 java.nio.ByteBuffer data)
300 throws com.
google.protobuf.InvalidProtocolBufferException {
301 return PARSER.parseFrom(data);
304 java.nio.ByteBuffer data,
305 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
306 throws com.
google.protobuf.InvalidProtocolBufferException {
307 return PARSER.parseFrom(data, extensionRegistry);
311 throws com.
google.protobuf.InvalidProtocolBufferException {
312 return PARSER.parseFrom(data);
316 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
317 throws com.
google.protobuf.InvalidProtocolBufferException {
318 return PARSER.parseFrom(data, extensionRegistry);
321 throws com.
google.protobuf.InvalidProtocolBufferException {
322 return PARSER.parseFrom(data);
326 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
327 throws com.
google.protobuf.InvalidProtocolBufferException {
328 return PARSER.parseFrom(data, extensionRegistry);
331 throws java.io.IOException {
332 return com.
google.protobuf.GeneratedMessageV3
333 .parseWithIOException(PARSER, input);
336 java.io.InputStream input,
337 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
338 throws java.io.IOException {
339 return com.
google.protobuf.GeneratedMessageV3
340 .parseWithIOException(PARSER, input, extensionRegistry);
343 throws java.io.IOException {
344 return com.
google.protobuf.GeneratedMessageV3
345 .parseDelimitedWithIOException(PARSER, input);
348 java.io.InputStream input,
349 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
350 throws java.io.IOException {
351 return com.
google.protobuf.GeneratedMessageV3
352 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
355 com.
google.protobuf.CodedInputStream input)
356 throws java.io.IOException {
357 return com.
google.protobuf.GeneratedMessageV3
358 .parseWithIOException(PARSER, input);
361 com.
google.protobuf.CodedInputStream input,
362 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
363 throws java.io.IOException {
364 return com.
google.protobuf.GeneratedMessageV3
365 .parseWithIOException(PARSER, input, extensionRegistry);
378 return this == DEFAULT_INSTANCE
384 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
397 com.google.protobuf.GeneratedMessageV3.
Builder<Builder> implements
400 public static final com.
google.protobuf.Descriptors.Descriptor
406 protected com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
409 .ensureFieldAccessorsInitialized(
415 maybeForceBuilderInitialization();
419 com.
google.protobuf.GeneratedMessageV3.BuilderParent parent) {
421 maybeForceBuilderInitialization();
423 private void maybeForceBuilderInitialization() {
424 if (
com.
google.protobuf.GeneratedMessageV3
425 .alwaysUseFieldBuilders) {
439 smartTimeCheck_ =
false;
447 public com.
google.protobuf.Descriptors.Descriptor
460 if (!result.isInitialized()) {
461 throw newUninitializedMessageException(result);
469 result.time_ = time_;
470 result.branches_ = branches_;
471 result.failures_ = failures_;
472 result.solutions_ = solutions_;
473 result.smartTimeCheck_ = smartTimeCheck_;
474 result.cumulative_ = cumulative_;
481 return super.
clone();
485 com.
google.protobuf.Descriptors.FieldDescriptor field,
486 java.lang.Object value) {
487 return super.
setField(field, value);
491 com.
google.protobuf.Descriptors.FieldDescriptor field) {
496 com.
google.protobuf.Descriptors.OneofDescriptor oneof) {
501 com.
google.protobuf.Descriptors.FieldDescriptor field,
502 int index, java.lang.Object value) {
507 com.
google.protobuf.Descriptors.FieldDescriptor field,
508 java.lang.Object value) {
516 super.mergeFrom(other);
523 if (other.getTime() != 0L) {
526 if (other.getBranches() != 0L) {
529 if (other.getFailures() != 0L) {
532 if (other.getSolutions() != 0L) {
535 if (other.getSmartTimeCheck() !=
false) {
538 if (other.getCumulative() !=
false) {
553 com.
google.protobuf.CodedInputStream input,
554 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
555 throws java.io.IOException {
558 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
559 }
catch (
com.
google.protobuf.InvalidProtocolBufferException e) {
561 throw e.unwrapIOException();
563 if (parsedMessage !=
null) {
596 private long branches_ ;
622 private long failures_ ;
648 private long solutions_ ;
674 private boolean smartTimeCheck_ ;
679 return smartTimeCheck_;
686 smartTimeCheck_ = value;
695 smartTimeCheck_ =
false;
700 private boolean cumulative_ ;
727 final com.
google.protobuf.UnknownFieldSet unknownFields) {
733 final com.
google.protobuf.UnknownFieldSet unknownFields) {
748 return DEFAULT_INSTANCE;
755 com.
google.protobuf.CodedInputStream input,
756 com.
google.protobuf.ExtensionRegistryLite extensionRegistry)
757 throws com.
google.protobuf.InvalidProtocolBufferException {
773 return DEFAULT_INSTANCE;