Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
LocalSearchStatistics.java
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ortools/constraint_solver/search_stats.proto
3
4// Protobuf Java Version: 4.26.1
5package com.google.ortools.constraintsolver;
6
14public final class LocalSearchStatistics extends
15 com.google.protobuf.GeneratedMessage implements
16 // @@protoc_insertion_point(message_implements:operations_research.LocalSearchStatistics)
18private static final long serialVersionUID = 0L;
19 static {
20 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
21 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
22 /* major= */ 4,
23 /* minor= */ 26,
24 /* patch= */ 1,
25 /* suffix= */ "",
26 LocalSearchStatistics.class.getName());
27 }
28 // Use LocalSearchStatistics.newBuilder() to construct.
29 private LocalSearchStatistics(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
30 super(builder);
31 }
32 private LocalSearchStatistics() {
33 firstSolutionStatistics_ = java.util.Collections.emptyList();
34 localSearchOperatorStatistics_ = java.util.Collections.emptyList();
35 localSearchFilterStatistics_ = java.util.Collections.emptyList();
36 }
37
38 public static final com.google.protobuf.Descriptors.Descriptor
40 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_descriptor;
41 }
42
43 @java.lang.Override
44 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
46 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_fieldAccessorTable
47 .ensureFieldAccessorsInitialized(
48 com.google.ortools.constraintsolver.LocalSearchStatistics.class, com.google.ortools.constraintsolver.LocalSearchStatistics.Builder.class);
49 }
50
51 public interface FirstSolutionStatisticsOrBuilder extends
52 // @@protoc_insertion_point(interface_extends:operations_research.LocalSearchStatistics.FirstSolutionStatistics)
53 com.google.protobuf.MessageOrBuilder {
54
63 java.lang.String getStrategy();
72 com.google.protobuf.ByteString
74
84 }
92 public static final class FirstSolutionStatistics extends
93 com.google.protobuf.GeneratedMessage implements
94 // @@protoc_insertion_point(message_implements:operations_research.LocalSearchStatistics.FirstSolutionStatistics)
96 private static final long serialVersionUID = 0L;
97 static {
98 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
99 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
100 /* major= */ 4,
101 /* minor= */ 26,
102 /* patch= */ 1,
103 /* suffix= */ "",
104 FirstSolutionStatistics.class.getName());
105 }
106 // Use FirstSolutionStatistics.newBuilder() to construct.
107 private FirstSolutionStatistics(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
108 super(builder);
109 }
110 private FirstSolutionStatistics() {
111 strategy_ = "";
112 }
113
114 public static final com.google.protobuf.Descriptors.Descriptor
116 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_FirstSolutionStatistics_descriptor;
117 }
118
119 @java.lang.Override
120 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
122 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_FirstSolutionStatistics_fieldAccessorTable
123 .ensureFieldAccessorsInitialized(
124 com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.class, com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.Builder.class);
125 }
126
127 public static final int STRATEGY_FIELD_NUMBER = 1;
128 @SuppressWarnings("serial")
129 private volatile java.lang.Object strategy_ = "";
138 @java.lang.Override
139 public java.lang.String getStrategy() {
140 java.lang.Object ref = strategy_;
141 if (ref instanceof java.lang.String) {
142 return (java.lang.String) ref;
143 } else {
144 com.google.protobuf.ByteString bs =
145 (com.google.protobuf.ByteString) ref;
146 java.lang.String s = bs.toStringUtf8();
147 strategy_ = s;
148 return s;
149 }
150 }
159 @java.lang.Override
160 public com.google.protobuf.ByteString
162 java.lang.Object ref = strategy_;
163 if (ref instanceof java.lang.String) {
164 com.google.protobuf.ByteString b =
165 com.google.protobuf.ByteString.copyFromUtf8(
166 (java.lang.String) ref);
167 strategy_ = b;
168 return b;
169 } else {
170 return (com.google.protobuf.ByteString) ref;
171 }
172 }
173
174 public static final int DURATION_SECONDS_FIELD_NUMBER = 2;
175 private double durationSeconds_ = 0D;
184 @java.lang.Override
185 public double getDurationSeconds() {
186 return durationSeconds_;
187 }
188
189 private byte memoizedIsInitialized = -1;
190 @java.lang.Override
191 public final boolean isInitialized() {
192 byte isInitialized = memoizedIsInitialized;
193 if (isInitialized == 1) return true;
194 if (isInitialized == 0) return false;
195
196 memoizedIsInitialized = 1;
197 return true;
198 }
199
200 @java.lang.Override
201 public void writeTo(com.google.protobuf.CodedOutputStream output)
202 throws java.io.IOException {
203 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(strategy_)) {
204 com.google.protobuf.GeneratedMessage.writeString(output, 1, strategy_);
205 }
206 if (java.lang.Double.doubleToRawLongBits(durationSeconds_) != 0) {
207 output.writeDouble(2, durationSeconds_);
208 }
209 getUnknownFields().writeTo(output);
210 }
211
212 @java.lang.Override
213 public int getSerializedSize() {
214 int size = memoizedSize;
215 if (size != -1) return size;
216
217 size = 0;
218 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(strategy_)) {
219 size += com.google.protobuf.GeneratedMessage.computeStringSize(1, strategy_);
220 }
221 if (java.lang.Double.doubleToRawLongBits(durationSeconds_) != 0) {
222 size += com.google.protobuf.CodedOutputStream
223 .computeDoubleSize(2, durationSeconds_);
224 }
225 size += getUnknownFields().getSerializedSize();
226 memoizedSize = size;
227 return size;
228 }
229
230 @java.lang.Override
231 public boolean equals(final java.lang.Object obj) {
232 if (obj == this) {
233 return true;
234 }
235 if (!(obj instanceof com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics)) {
236 return super.equals(obj);
237 }
238 com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics other = (com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics) obj;
239
240 if (!getStrategy()
241 .equals(other.getStrategy())) return false;
242 if (java.lang.Double.doubleToLongBits(getDurationSeconds())
243 != java.lang.Double.doubleToLongBits(
244 other.getDurationSeconds())) return false;
245 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
246 return true;
247 }
248
249 @java.lang.Override
250 public int hashCode() {
251 if (memoizedHashCode != 0) {
252 return memoizedHashCode;
253 }
254 int hash = 41;
255 hash = (19 * hash) + getDescriptor().hashCode();
256 hash = (37 * hash) + STRATEGY_FIELD_NUMBER;
257 hash = (53 * hash) + getStrategy().hashCode();
258 hash = (37 * hash) + DURATION_SECONDS_FIELD_NUMBER;
259 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
260 java.lang.Double.doubleToLongBits(getDurationSeconds()));
261 hash = (29 * hash) + getUnknownFields().hashCode();
262 memoizedHashCode = hash;
263 return hash;
264 }
265
267 java.nio.ByteBuffer data)
268 throws com.google.protobuf.InvalidProtocolBufferException {
269 return PARSER.parseFrom(data);
270 }
272 java.nio.ByteBuffer data,
273 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
274 throws com.google.protobuf.InvalidProtocolBufferException {
275 return PARSER.parseFrom(data, extensionRegistry);
276 }
278 com.google.protobuf.ByteString data)
279 throws com.google.protobuf.InvalidProtocolBufferException {
280 return PARSER.parseFrom(data);
281 }
283 com.google.protobuf.ByteString data,
284 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
285 throws com.google.protobuf.InvalidProtocolBufferException {
286 return PARSER.parseFrom(data, extensionRegistry);
287 }
289 throws com.google.protobuf.InvalidProtocolBufferException {
290 return PARSER.parseFrom(data);
291 }
293 byte[] data,
294 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
295 throws com.google.protobuf.InvalidProtocolBufferException {
296 return PARSER.parseFrom(data, extensionRegistry);
297 }
299 throws java.io.IOException {
300 return com.google.protobuf.GeneratedMessage
301 .parseWithIOException(PARSER, input);
302 }
304 java.io.InputStream input,
305 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
306 throws java.io.IOException {
307 return com.google.protobuf.GeneratedMessage
308 .parseWithIOException(PARSER, input, extensionRegistry);
309 }
310
312 throws java.io.IOException {
313 return com.google.protobuf.GeneratedMessage
314 .parseDelimitedWithIOException(PARSER, input);
315 }
316
318 java.io.InputStream input,
319 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
320 throws java.io.IOException {
321 return com.google.protobuf.GeneratedMessage
322 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
323 }
325 com.google.protobuf.CodedInputStream input)
326 throws java.io.IOException {
327 return com.google.protobuf.GeneratedMessage
328 .parseWithIOException(PARSER, input);
329 }
331 com.google.protobuf.CodedInputStream input,
332 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
333 throws java.io.IOException {
334 return com.google.protobuf.GeneratedMessage
335 .parseWithIOException(PARSER, input, extensionRegistry);
336 }
337
338 @java.lang.Override
339 public Builder newBuilderForType() { return newBuilder(); }
340 public static Builder newBuilder() {
341 return DEFAULT_INSTANCE.toBuilder();
342 }
343 public static Builder newBuilder(com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics prototype) {
344 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
345 }
346 @java.lang.Override
348 return this == DEFAULT_INSTANCE
349 ? new Builder() : new Builder().mergeFrom(this);
350 }
351
352 @java.lang.Override
354 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
355 Builder builder = new Builder(parent);
356 return builder;
357 }
365 public static final class Builder extends
366 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
367 // @@protoc_insertion_point(builder_implements:operations_research.LocalSearchStatistics.FirstSolutionStatistics)
368 com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatisticsOrBuilder {
369 public static final com.google.protobuf.Descriptors.Descriptor
371 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_FirstSolutionStatistics_descriptor;
372 }
373
374 @java.lang.Override
375 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
377 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_FirstSolutionStatistics_fieldAccessorTable
378 .ensureFieldAccessorsInitialized(
379 com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.class, com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.Builder.class);
380 }
381
382 // Construct using com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.newBuilder()
383 private Builder() {
384
385 }
386
387 private Builder(
388 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
389 super(parent);
390
391 }
392 @java.lang.Override
393 public Builder clear() {
394 super.clear();
395 bitField0_ = 0;
396 strategy_ = "";
397 durationSeconds_ = 0D;
398 return this;
399 }
400
401 @java.lang.Override
402 public com.google.protobuf.Descriptors.Descriptor
404 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_FirstSolutionStatistics_descriptor;
405 }
406
407 @java.lang.Override
409 return com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.getDefaultInstance();
410 }
411
412 @java.lang.Override
415 if (!result.isInitialized()) {
416 throw newUninitializedMessageException(result);
417 }
418 return result;
419 }
420
421 @java.lang.Override
423 com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics result = new com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics(this);
424 if (bitField0_ != 0) { buildPartial0(result); }
425 onBuilt();
426 return result;
427 }
428
429 private void buildPartial0(com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics result) {
430 int from_bitField0_ = bitField0_;
431 if (((from_bitField0_ & 0x00000001) != 0)) {
432 result.strategy_ = strategy_;
433 }
434 if (((from_bitField0_ & 0x00000002) != 0)) {
435 result.durationSeconds_ = durationSeconds_;
436 }
437 }
438
439 @java.lang.Override
440 public Builder mergeFrom(com.google.protobuf.Message other) {
441 if (other instanceof com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics) {
442 return mergeFrom((com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics)other);
443 } else {
444 super.mergeFrom(other);
445 return this;
446 }
447 }
448
449 public Builder mergeFrom(com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics other) {
450 if (other == com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.getDefaultInstance()) return this;
451 if (!other.getStrategy().isEmpty()) {
452 strategy_ = other.strategy_;
453 bitField0_ |= 0x00000001;
454 onChanged();
455 }
456 if (other.getDurationSeconds() != 0D) {
457 setDurationSeconds(other.getDurationSeconds());
458 }
459 this.mergeUnknownFields(other.getUnknownFields());
460 onChanged();
461 return this;
462 }
463
464 @java.lang.Override
465 public final boolean isInitialized() {
466 return true;
467 }
468
469 @java.lang.Override
471 com.google.protobuf.CodedInputStream input,
472 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
473 throws java.io.IOException {
474 if (extensionRegistry == null) {
475 throw new java.lang.NullPointerException();
476 }
477 try {
478 boolean done = false;
479 while (!done) {
480 int tag = input.readTag();
481 switch (tag) {
482 case 0:
483 done = true;
484 break;
485 case 10: {
486 strategy_ = input.readStringRequireUtf8();
487 bitField0_ |= 0x00000001;
488 break;
489 } // case 10
490 case 17: {
491 durationSeconds_ = input.readDouble();
492 bitField0_ |= 0x00000002;
493 break;
494 } // case 17
495 default: {
496 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
497 done = true; // was an endgroup tag
498 }
499 break;
500 } // default:
501 } // switch (tag)
502 } // while (!done)
503 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
504 throw e.unwrapIOException();
505 } finally {
506 onChanged();
507 } // finally
508 return this;
509 }
510 private int bitField0_;
511
512 private java.lang.Object strategy_ = "";
521 public java.lang.String getStrategy() {
522 java.lang.Object ref = strategy_;
523 if (!(ref instanceof java.lang.String)) {
524 com.google.protobuf.ByteString bs =
525 (com.google.protobuf.ByteString) ref;
526 java.lang.String s = bs.toStringUtf8();
527 strategy_ = s;
528 return s;
529 } else {
530 return (java.lang.String) ref;
531 }
532 }
541 public com.google.protobuf.ByteString
543 java.lang.Object ref = strategy_;
544 if (ref instanceof String) {
545 com.google.protobuf.ByteString b =
546 com.google.protobuf.ByteString.copyFromUtf8(
547 (java.lang.String) ref);
548 strategy_ = b;
549 return b;
550 } else {
551 return (com.google.protobuf.ByteString) ref;
552 }
553 }
564 java.lang.String value) {
565 if (value == null) { throw new NullPointerException(); }
566 strategy_ = value;
567 bitField0_ |= 0x00000001;
568 onChanged();
569 return this;
570 }
580 strategy_ = getDefaultInstance().getStrategy();
581 bitField0_ = (bitField0_ & ~0x00000001);
582 onChanged();
583 return this;
584 }
595 com.google.protobuf.ByteString value) {
596 if (value == null) { throw new NullPointerException(); }
597 checkByteStringIsUtf8(value);
598 strategy_ = value;
599 bitField0_ |= 0x00000001;
600 onChanged();
601 return this;
602 }
603
604 private double durationSeconds_ ;
613 @java.lang.Override
614 public double getDurationSeconds() {
615 return durationSeconds_;
616 }
626 public Builder setDurationSeconds(double value) {
627
628 durationSeconds_ = value;
629 bitField0_ |= 0x00000002;
630 onChanged();
631 return this;
632 }
642 bitField0_ = (bitField0_ & ~0x00000002);
643 durationSeconds_ = 0D;
644 onChanged();
645 return this;
646 }
647
648 // @@protoc_insertion_point(builder_scope:operations_research.LocalSearchStatistics.FirstSolutionStatistics)
649 }
650
651 // @@protoc_insertion_point(class_scope:operations_research.LocalSearchStatistics.FirstSolutionStatistics)
653 static {
654 DEFAULT_INSTANCE = new com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics();
655 }
656
660
661 private static final com.google.protobuf.Parser<FirstSolutionStatistics>
662 PARSER = new com.google.protobuf.AbstractParser<FirstSolutionStatistics>() {
663 @java.lang.Override
664 public FirstSolutionStatistics parsePartialFrom(
665 com.google.protobuf.CodedInputStream input,
666 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
667 throws com.google.protobuf.InvalidProtocolBufferException {
668 Builder builder = newBuilder();
669 try {
670 builder.mergeFrom(input, extensionRegistry);
671 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
672 throw e.setUnfinishedMessage(builder.buildPartial());
673 } catch (com.google.protobuf.UninitializedMessageException e) {
674 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
675 } catch (java.io.IOException e) {
676 throw new com.google.protobuf.InvalidProtocolBufferException(e)
677 .setUnfinishedMessage(builder.buildPartial());
678 }
679 return builder.buildPartial();
680 }
681 };
682
683 public static com.google.protobuf.Parser<FirstSolutionStatistics> parser() {
684 return PARSER;
685 }
686
687 @java.lang.Override
688 public com.google.protobuf.Parser<FirstSolutionStatistics> getParserForType() {
689 return PARSER;
690 }
691
692 @java.lang.Override
696
697 }
698
700 // @@protoc_insertion_point(interface_extends:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics)
701 com.google.protobuf.MessageOrBuilder {
702
711 java.lang.String getLocalSearchOperator();
720 com.google.protobuf.ByteString
722
732
742
752
762 }
770 public static final class LocalSearchOperatorStatistics extends
771 com.google.protobuf.GeneratedMessage implements
772 // @@protoc_insertion_point(message_implements:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics)
774 private static final long serialVersionUID = 0L;
775 static {
776 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
777 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
778 /* major= */ 4,
779 /* minor= */ 26,
780 /* patch= */ 1,
781 /* suffix= */ "",
782 LocalSearchOperatorStatistics.class.getName());
783 }
784 // Use LocalSearchOperatorStatistics.newBuilder() to construct.
785 private LocalSearchOperatorStatistics(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
786 super(builder);
787 }
789 localSearchOperator_ = "";
790 }
791
792 public static final com.google.protobuf.Descriptors.Descriptor
794 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_LocalSearchOperatorStatistics_descriptor;
795 }
796
797 @java.lang.Override
798 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
800 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_LocalSearchOperatorStatistics_fieldAccessorTable
801 .ensureFieldAccessorsInitialized(
802 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.class, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.Builder.class);
803 }
804
805 public static final int LOCAL_SEARCH_OPERATOR_FIELD_NUMBER = 1;
806 @SuppressWarnings("serial")
807 private volatile java.lang.Object localSearchOperator_ = "";
816 @java.lang.Override
817 public java.lang.String getLocalSearchOperator() {
818 java.lang.Object ref = localSearchOperator_;
819 if (ref instanceof java.lang.String) {
820 return (java.lang.String) ref;
821 } else {
822 com.google.protobuf.ByteString bs =
823 (com.google.protobuf.ByteString) ref;
824 java.lang.String s = bs.toStringUtf8();
825 localSearchOperator_ = s;
826 return s;
827 }
828 }
837 @java.lang.Override
838 public com.google.protobuf.ByteString
840 java.lang.Object ref = localSearchOperator_;
841 if (ref instanceof java.lang.String) {
842 com.google.protobuf.ByteString b =
843 com.google.protobuf.ByteString.copyFromUtf8(
844 (java.lang.String) ref);
845 localSearchOperator_ = b;
846 return b;
847 } else {
848 return (com.google.protobuf.ByteString) ref;
849 }
850 }
851
852 public static final int NUM_NEIGHBORS_FIELD_NUMBER = 2;
853 private long numNeighbors_ = 0L;
862 @java.lang.Override
863 public long getNumNeighbors() {
864 return numNeighbors_;
865 }
866
867 public static final int NUM_FILTERED_NEIGHBORS_FIELD_NUMBER = 3;
868 private long numFilteredNeighbors_ = 0L;
877 @java.lang.Override
879 return numFilteredNeighbors_;
880 }
881
882 public static final int NUM_ACCEPTED_NEIGHBORS_FIELD_NUMBER = 4;
883 private long numAcceptedNeighbors_ = 0L;
892 @java.lang.Override
894 return numAcceptedNeighbors_;
895 }
896
897 public static final int DURATION_SECONDS_FIELD_NUMBER = 5;
898 private double durationSeconds_ = 0D;
907 @java.lang.Override
908 public double getDurationSeconds() {
909 return durationSeconds_;
910 }
911
912 private byte memoizedIsInitialized = -1;
913 @java.lang.Override
914 public final boolean isInitialized() {
915 byte isInitialized = memoizedIsInitialized;
916 if (isInitialized == 1) return true;
917 if (isInitialized == 0) return false;
918
919 memoizedIsInitialized = 1;
920 return true;
921 }
922
923 @java.lang.Override
924 public void writeTo(com.google.protobuf.CodedOutputStream output)
925 throws java.io.IOException {
926 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(localSearchOperator_)) {
927 com.google.protobuf.GeneratedMessage.writeString(output, 1, localSearchOperator_);
928 }
929 if (numNeighbors_ != 0L) {
930 output.writeInt64(2, numNeighbors_);
931 }
932 if (numFilteredNeighbors_ != 0L) {
933 output.writeInt64(3, numFilteredNeighbors_);
934 }
935 if (numAcceptedNeighbors_ != 0L) {
936 output.writeInt64(4, numAcceptedNeighbors_);
937 }
938 if (java.lang.Double.doubleToRawLongBits(durationSeconds_) != 0) {
939 output.writeDouble(5, durationSeconds_);
940 }
941 getUnknownFields().writeTo(output);
942 }
943
944 @java.lang.Override
945 public int getSerializedSize() {
946 int size = memoizedSize;
947 if (size != -1) return size;
948
949 size = 0;
950 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(localSearchOperator_)) {
951 size += com.google.protobuf.GeneratedMessage.computeStringSize(1, localSearchOperator_);
952 }
953 if (numNeighbors_ != 0L) {
954 size += com.google.protobuf.CodedOutputStream
955 .computeInt64Size(2, numNeighbors_);
956 }
957 if (numFilteredNeighbors_ != 0L) {
958 size += com.google.protobuf.CodedOutputStream
959 .computeInt64Size(3, numFilteredNeighbors_);
960 }
961 if (numAcceptedNeighbors_ != 0L) {
962 size += com.google.protobuf.CodedOutputStream
963 .computeInt64Size(4, numAcceptedNeighbors_);
964 }
965 if (java.lang.Double.doubleToRawLongBits(durationSeconds_) != 0) {
966 size += com.google.protobuf.CodedOutputStream
967 .computeDoubleSize(5, durationSeconds_);
968 }
969 size += getUnknownFields().getSerializedSize();
970 memoizedSize = size;
971 return size;
972 }
973
974 @java.lang.Override
975 public boolean equals(final java.lang.Object obj) {
976 if (obj == this) {
977 return true;
978 }
979 if (!(obj instanceof com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics)) {
980 return super.equals(obj);
981 }
982 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics other = (com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics) obj;
983
985 .equals(other.getLocalSearchOperator())) return false;
986 if (getNumNeighbors()
987 != other.getNumNeighbors()) return false;
989 != other.getNumFilteredNeighbors()) return false;
991 != other.getNumAcceptedNeighbors()) return false;
992 if (java.lang.Double.doubleToLongBits(getDurationSeconds())
993 != java.lang.Double.doubleToLongBits(
994 other.getDurationSeconds())) return false;
995 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
996 return true;
997 }
998
999 @java.lang.Override
1000 public int hashCode() {
1001 if (memoizedHashCode != 0) {
1002 return memoizedHashCode;
1003 }
1004 int hash = 41;
1005 hash = (19 * hash) + getDescriptor().hashCode();
1006 hash = (37 * hash) + LOCAL_SEARCH_OPERATOR_FIELD_NUMBER;
1007 hash = (53 * hash) + getLocalSearchOperator().hashCode();
1008 hash = (37 * hash) + NUM_NEIGHBORS_FIELD_NUMBER;
1009 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1010 getNumNeighbors());
1011 hash = (37 * hash) + NUM_FILTERED_NEIGHBORS_FIELD_NUMBER;
1012 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1014 hash = (37 * hash) + NUM_ACCEPTED_NEIGHBORS_FIELD_NUMBER;
1015 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1017 hash = (37 * hash) + DURATION_SECONDS_FIELD_NUMBER;
1018 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1019 java.lang.Double.doubleToLongBits(getDurationSeconds()));
1020 hash = (29 * hash) + getUnknownFields().hashCode();
1021 memoizedHashCode = hash;
1022 return hash;
1023 }
1024
1026 java.nio.ByteBuffer data)
1027 throws com.google.protobuf.InvalidProtocolBufferException {
1028 return PARSER.parseFrom(data);
1029 }
1031 java.nio.ByteBuffer data,
1032 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1033 throws com.google.protobuf.InvalidProtocolBufferException {
1034 return PARSER.parseFrom(data, extensionRegistry);
1035 }
1037 com.google.protobuf.ByteString data)
1038 throws com.google.protobuf.InvalidProtocolBufferException {
1039 return PARSER.parseFrom(data);
1040 }
1042 com.google.protobuf.ByteString data,
1043 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1044 throws com.google.protobuf.InvalidProtocolBufferException {
1045 return PARSER.parseFrom(data, extensionRegistry);
1046 }
1048 throws com.google.protobuf.InvalidProtocolBufferException {
1049 return PARSER.parseFrom(data);
1050 }
1052 byte[] data,
1053 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1054 throws com.google.protobuf.InvalidProtocolBufferException {
1055 return PARSER.parseFrom(data, extensionRegistry);
1056 }
1058 throws java.io.IOException {
1059 return com.google.protobuf.GeneratedMessage
1060 .parseWithIOException(PARSER, input);
1061 }
1063 java.io.InputStream input,
1064 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1065 throws java.io.IOException {
1066 return com.google.protobuf.GeneratedMessage
1067 .parseWithIOException(PARSER, input, extensionRegistry);
1068 }
1069
1071 throws java.io.IOException {
1072 return com.google.protobuf.GeneratedMessage
1073 .parseDelimitedWithIOException(PARSER, input);
1074 }
1075
1077 java.io.InputStream input,
1078 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1079 throws java.io.IOException {
1080 return com.google.protobuf.GeneratedMessage
1081 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
1082 }
1084 com.google.protobuf.CodedInputStream input)
1085 throws java.io.IOException {
1086 return com.google.protobuf.GeneratedMessage
1087 .parseWithIOException(PARSER, input);
1088 }
1090 com.google.protobuf.CodedInputStream input,
1091 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1092 throws java.io.IOException {
1093 return com.google.protobuf.GeneratedMessage
1094 .parseWithIOException(PARSER, input, extensionRegistry);
1095 }
1096
1097 @java.lang.Override
1098 public Builder newBuilderForType() { return newBuilder(); }
1099 public static Builder newBuilder() {
1100 return DEFAULT_INSTANCE.toBuilder();
1101 }
1102 public static Builder newBuilder(com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics prototype) {
1103 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
1104 }
1105 @java.lang.Override
1107 return this == DEFAULT_INSTANCE
1108 ? new Builder() : new Builder().mergeFrom(this);
1109 }
1110
1111 @java.lang.Override
1113 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1114 Builder builder = new Builder(parent);
1115 return builder;
1116 }
1124 public static final class Builder extends
1125 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
1126 // @@protoc_insertion_point(builder_implements:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics)
1127 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatisticsOrBuilder {
1128 public static final com.google.protobuf.Descriptors.Descriptor
1130 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_LocalSearchOperatorStatistics_descriptor;
1131 }
1132
1133 @java.lang.Override
1134 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1136 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_LocalSearchOperatorStatistics_fieldAccessorTable
1137 .ensureFieldAccessorsInitialized(
1138 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.class, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.Builder.class);
1139 }
1140
1141 // Construct using com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.newBuilder()
1142 private Builder() {
1143
1144 }
1145
1146 private Builder(
1147 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1148 super(parent);
1149
1150 }
1151 @java.lang.Override
1152 public Builder clear() {
1153 super.clear();
1154 bitField0_ = 0;
1155 localSearchOperator_ = "";
1156 numNeighbors_ = 0L;
1157 numFilteredNeighbors_ = 0L;
1158 numAcceptedNeighbors_ = 0L;
1159 durationSeconds_ = 0D;
1160 return this;
1161 }
1162
1163 @java.lang.Override
1164 public com.google.protobuf.Descriptors.Descriptor
1166 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_LocalSearchOperatorStatistics_descriptor;
1167 }
1168
1169 @java.lang.Override
1171 return com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.getDefaultInstance();
1172 }
1173
1174 @java.lang.Override
1177 if (!result.isInitialized()) {
1178 throw newUninitializedMessageException(result);
1179 }
1180 return result;
1181 }
1182
1183 @java.lang.Override
1185 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics result = new com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics(this);
1186 if (bitField0_ != 0) { buildPartial0(result); }
1187 onBuilt();
1188 return result;
1189 }
1190
1191 private void buildPartial0(com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics result) {
1192 int from_bitField0_ = bitField0_;
1193 if (((from_bitField0_ & 0x00000001) != 0)) {
1194 result.localSearchOperator_ = localSearchOperator_;
1195 }
1196 if (((from_bitField0_ & 0x00000002) != 0)) {
1197 result.numNeighbors_ = numNeighbors_;
1198 }
1199 if (((from_bitField0_ & 0x00000004) != 0)) {
1200 result.numFilteredNeighbors_ = numFilteredNeighbors_;
1201 }
1202 if (((from_bitField0_ & 0x00000008) != 0)) {
1203 result.numAcceptedNeighbors_ = numAcceptedNeighbors_;
1204 }
1205 if (((from_bitField0_ & 0x00000010) != 0)) {
1206 result.durationSeconds_ = durationSeconds_;
1207 }
1208 }
1209
1210 @java.lang.Override
1211 public Builder mergeFrom(com.google.protobuf.Message other) {
1212 if (other instanceof com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics) {
1213 return mergeFrom((com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics)other);
1214 } else {
1215 super.mergeFrom(other);
1216 return this;
1217 }
1218 }
1219
1220 public Builder mergeFrom(com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics other) {
1221 if (other == com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.getDefaultInstance()) return this;
1222 if (!other.getLocalSearchOperator().isEmpty()) {
1223 localSearchOperator_ = other.localSearchOperator_;
1224 bitField0_ |= 0x00000001;
1225 onChanged();
1226 }
1227 if (other.getNumNeighbors() != 0L) {
1228 setNumNeighbors(other.getNumNeighbors());
1229 }
1230 if (other.getNumFilteredNeighbors() != 0L) {
1231 setNumFilteredNeighbors(other.getNumFilteredNeighbors());
1232 }
1233 if (other.getNumAcceptedNeighbors() != 0L) {
1234 setNumAcceptedNeighbors(other.getNumAcceptedNeighbors());
1235 }
1236 if (other.getDurationSeconds() != 0D) {
1237 setDurationSeconds(other.getDurationSeconds());
1238 }
1239 this.mergeUnknownFields(other.getUnknownFields());
1240 onChanged();
1241 return this;
1242 }
1243
1244 @java.lang.Override
1245 public final boolean isInitialized() {
1246 return true;
1247 }
1248
1249 @java.lang.Override
1251 com.google.protobuf.CodedInputStream input,
1252 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1253 throws java.io.IOException {
1254 if (extensionRegistry == null) {
1255 throw new java.lang.NullPointerException();
1256 }
1257 try {
1258 boolean done = false;
1259 while (!done) {
1260 int tag = input.readTag();
1261 switch (tag) {
1262 case 0:
1263 done = true;
1264 break;
1265 case 10: {
1266 localSearchOperator_ = input.readStringRequireUtf8();
1267 bitField0_ |= 0x00000001;
1268 break;
1269 } // case 10
1270 case 16: {
1271 numNeighbors_ = input.readInt64();
1272 bitField0_ |= 0x00000002;
1273 break;
1274 } // case 16
1275 case 24: {
1276 numFilteredNeighbors_ = input.readInt64();
1277 bitField0_ |= 0x00000004;
1278 break;
1279 } // case 24
1280 case 32: {
1281 numAcceptedNeighbors_ = input.readInt64();
1282 bitField0_ |= 0x00000008;
1283 break;
1284 } // case 32
1285 case 41: {
1286 durationSeconds_ = input.readDouble();
1287 bitField0_ |= 0x00000010;
1288 break;
1289 } // case 41
1290 default: {
1291 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1292 done = true; // was an endgroup tag
1293 }
1294 break;
1295 } // default:
1296 } // switch (tag)
1297 } // while (!done)
1298 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1299 throw e.unwrapIOException();
1300 } finally {
1301 onChanged();
1302 } // finally
1303 return this;
1304 }
1305 private int bitField0_;
1306
1307 private java.lang.Object localSearchOperator_ = "";
1316 public java.lang.String getLocalSearchOperator() {
1317 java.lang.Object ref = localSearchOperator_;
1318 if (!(ref instanceof java.lang.String)) {
1319 com.google.protobuf.ByteString bs =
1320 (com.google.protobuf.ByteString) ref;
1321 java.lang.String s = bs.toStringUtf8();
1322 localSearchOperator_ = s;
1323 return s;
1324 } else {
1325 return (java.lang.String) ref;
1326 }
1327 }
1336 public com.google.protobuf.ByteString
1338 java.lang.Object ref = localSearchOperator_;
1339 if (ref instanceof String) {
1340 com.google.protobuf.ByteString b =
1341 com.google.protobuf.ByteString.copyFromUtf8(
1342 (java.lang.String) ref);
1343 localSearchOperator_ = b;
1344 return b;
1345 } else {
1346 return (com.google.protobuf.ByteString) ref;
1347 }
1348 }
1359 java.lang.String value) {
1360 if (value == null) { throw new NullPointerException(); }
1361 localSearchOperator_ = value;
1362 bitField0_ |= 0x00000001;
1363 onChanged();
1364 return this;
1365 }
1375 localSearchOperator_ = getDefaultInstance().getLocalSearchOperator();
1376 bitField0_ = (bitField0_ & ~0x00000001);
1377 onChanged();
1378 return this;
1379 }
1390 com.google.protobuf.ByteString value) {
1391 if (value == null) { throw new NullPointerException(); }
1392 checkByteStringIsUtf8(value);
1393 localSearchOperator_ = value;
1394 bitField0_ |= 0x00000001;
1395 onChanged();
1396 return this;
1397 }
1398
1399 private long numNeighbors_ ;
1408 @java.lang.Override
1409 public long getNumNeighbors() {
1410 return numNeighbors_;
1411 }
1421 public Builder setNumNeighbors(long value) {
1422
1423 numNeighbors_ = value;
1424 bitField0_ |= 0x00000002;
1425 onChanged();
1426 return this;
1427 }
1437 bitField0_ = (bitField0_ & ~0x00000002);
1438 numNeighbors_ = 0L;
1439 onChanged();
1440 return this;
1441 }
1442
1443 private long numFilteredNeighbors_ ;
1452 @java.lang.Override
1454 return numFilteredNeighbors_;
1455 }
1466
1467 numFilteredNeighbors_ = value;
1468 bitField0_ |= 0x00000004;
1469 onChanged();
1470 return this;
1471 }
1481 bitField0_ = (bitField0_ & ~0x00000004);
1482 numFilteredNeighbors_ = 0L;
1483 onChanged();
1484 return this;
1485 }
1486
1487 private long numAcceptedNeighbors_ ;
1496 @java.lang.Override
1498 return numAcceptedNeighbors_;
1499 }
1510
1511 numAcceptedNeighbors_ = value;
1512 bitField0_ |= 0x00000008;
1513 onChanged();
1514 return this;
1515 }
1525 bitField0_ = (bitField0_ & ~0x00000008);
1526 numAcceptedNeighbors_ = 0L;
1527 onChanged();
1528 return this;
1529 }
1530
1531 private double durationSeconds_ ;
1540 @java.lang.Override
1541 public double getDurationSeconds() {
1542 return durationSeconds_;
1543 }
1553 public Builder setDurationSeconds(double value) {
1554
1555 durationSeconds_ = value;
1556 bitField0_ |= 0x00000010;
1557 onChanged();
1558 return this;
1559 }
1569 bitField0_ = (bitField0_ & ~0x00000010);
1570 durationSeconds_ = 0D;
1571 onChanged();
1572 return this;
1573 }
1574
1575 // @@protoc_insertion_point(builder_scope:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics)
1576 }
1577
1578 // @@protoc_insertion_point(class_scope:operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics)
1580 static {
1581 DEFAULT_INSTANCE = new com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics();
1582 }
1583
1587
1588 private static final com.google.protobuf.Parser<LocalSearchOperatorStatistics>
1589 PARSER = new com.google.protobuf.AbstractParser<LocalSearchOperatorStatistics>() {
1590 @java.lang.Override
1591 public LocalSearchOperatorStatistics parsePartialFrom(
1592 com.google.protobuf.CodedInputStream input,
1593 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1594 throws com.google.protobuf.InvalidProtocolBufferException {
1595 Builder builder = newBuilder();
1596 try {
1597 builder.mergeFrom(input, extensionRegistry);
1598 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1599 throw e.setUnfinishedMessage(builder.buildPartial());
1600 } catch (com.google.protobuf.UninitializedMessageException e) {
1601 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1602 } catch (java.io.IOException e) {
1603 throw new com.google.protobuf.InvalidProtocolBufferException(e)
1604 .setUnfinishedMessage(builder.buildPartial());
1605 }
1606 return builder.buildPartial();
1607 }
1608 };
1609
1610 public static com.google.protobuf.Parser<LocalSearchOperatorStatistics> parser() {
1611 return PARSER;
1612 }
1613
1614 @java.lang.Override
1615 public com.google.protobuf.Parser<LocalSearchOperatorStatistics> getParserForType() {
1616 return PARSER;
1617 }
1618
1619 @java.lang.Override
1623
1624 }
1625
1627 // @@protoc_insertion_point(interface_extends:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics)
1628 com.google.protobuf.MessageOrBuilder {
1629
1638 java.lang.String getLocalSearchFilter();
1647 com.google.protobuf.ByteString
1649
1659
1669
1679
1689
1698 java.lang.String getContext();
1707 com.google.protobuf.ByteString
1709 }
1717 public static final class LocalSearchFilterStatistics extends
1718 com.google.protobuf.GeneratedMessage implements
1719 // @@protoc_insertion_point(message_implements:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics)
1721 private static final long serialVersionUID = 0L;
1722 static {
1723 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
1724 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
1725 /* major= */ 4,
1726 /* minor= */ 26,
1727 /* patch= */ 1,
1728 /* suffix= */ "",
1729 LocalSearchFilterStatistics.class.getName());
1730 }
1731 // Use LocalSearchFilterStatistics.newBuilder() to construct.
1732 private LocalSearchFilterStatistics(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1733 super(builder);
1734 }
1735 private LocalSearchFilterStatistics() {
1736 localSearchFilter_ = "";
1737 context_ = "";
1738 }
1739
1740 public static final com.google.protobuf.Descriptors.Descriptor
1742 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_LocalSearchFilterStatistics_descriptor;
1743 }
1744
1745 @java.lang.Override
1746 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1748 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_LocalSearchFilterStatistics_fieldAccessorTable
1749 .ensureFieldAccessorsInitialized(
1750 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.class, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.Builder.class);
1751 }
1752
1753 public static final int LOCAL_SEARCH_FILTER_FIELD_NUMBER = 1;
1754 @SuppressWarnings("serial")
1755 private volatile java.lang.Object localSearchFilter_ = "";
1764 @java.lang.Override
1765 public java.lang.String getLocalSearchFilter() {
1766 java.lang.Object ref = localSearchFilter_;
1767 if (ref instanceof java.lang.String) {
1768 return (java.lang.String) ref;
1769 } else {
1770 com.google.protobuf.ByteString bs =
1771 (com.google.protobuf.ByteString) ref;
1772 java.lang.String s = bs.toStringUtf8();
1773 localSearchFilter_ = s;
1774 return s;
1775 }
1776 }
1785 @java.lang.Override
1786 public com.google.protobuf.ByteString
1788 java.lang.Object ref = localSearchFilter_;
1789 if (ref instanceof java.lang.String) {
1790 com.google.protobuf.ByteString b =
1791 com.google.protobuf.ByteString.copyFromUtf8(
1792 (java.lang.String) ref);
1793 localSearchFilter_ = b;
1794 return b;
1795 } else {
1796 return (com.google.protobuf.ByteString) ref;
1797 }
1798 }
1799
1800 public static final int NUM_CALLS_FIELD_NUMBER = 2;
1801 private long numCalls_ = 0L;
1810 @java.lang.Override
1811 public long getNumCalls() {
1812 return numCalls_;
1813 }
1814
1815 public static final int NUM_REJECTS_FIELD_NUMBER = 3;
1816 private long numRejects_ = 0L;
1825 @java.lang.Override
1826 public long getNumRejects() {
1827 return numRejects_;
1828 }
1829
1830 public static final int DURATION_SECONDS_FIELD_NUMBER = 4;
1831 private double durationSeconds_ = 0D;
1840 @java.lang.Override
1841 public double getDurationSeconds() {
1842 return durationSeconds_;
1843 }
1844
1845 public static final int NUM_REJECTS_PER_SECOND_FIELD_NUMBER = 5;
1846 private double numRejectsPerSecond_ = 0D;
1855 @java.lang.Override
1856 public double getNumRejectsPerSecond() {
1857 return numRejectsPerSecond_;
1858 }
1859
1860 public static final int CONTEXT_FIELD_NUMBER = 6;
1861 @SuppressWarnings("serial")
1862 private volatile java.lang.Object context_ = "";
1871 @java.lang.Override
1872 public java.lang.String getContext() {
1873 java.lang.Object ref = context_;
1874 if (ref instanceof java.lang.String) {
1875 return (java.lang.String) ref;
1876 } else {
1877 com.google.protobuf.ByteString bs =
1878 (com.google.protobuf.ByteString) ref;
1879 java.lang.String s = bs.toStringUtf8();
1880 context_ = s;
1881 return s;
1882 }
1883 }
1892 @java.lang.Override
1893 public com.google.protobuf.ByteString
1895 java.lang.Object ref = context_;
1896 if (ref instanceof java.lang.String) {
1897 com.google.protobuf.ByteString b =
1898 com.google.protobuf.ByteString.copyFromUtf8(
1899 (java.lang.String) ref);
1900 context_ = b;
1901 return b;
1902 } else {
1903 return (com.google.protobuf.ByteString) ref;
1904 }
1905 }
1906
1907 private byte memoizedIsInitialized = -1;
1908 @java.lang.Override
1909 public final boolean isInitialized() {
1910 byte isInitialized = memoizedIsInitialized;
1911 if (isInitialized == 1) return true;
1912 if (isInitialized == 0) return false;
1913
1914 memoizedIsInitialized = 1;
1915 return true;
1916 }
1917
1918 @java.lang.Override
1919 public void writeTo(com.google.protobuf.CodedOutputStream output)
1920 throws java.io.IOException {
1921 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(localSearchFilter_)) {
1922 com.google.protobuf.GeneratedMessage.writeString(output, 1, localSearchFilter_);
1923 }
1924 if (numCalls_ != 0L) {
1925 output.writeInt64(2, numCalls_);
1926 }
1927 if (numRejects_ != 0L) {
1928 output.writeInt64(3, numRejects_);
1929 }
1930 if (java.lang.Double.doubleToRawLongBits(durationSeconds_) != 0) {
1931 output.writeDouble(4, durationSeconds_);
1932 }
1933 if (java.lang.Double.doubleToRawLongBits(numRejectsPerSecond_) != 0) {
1934 output.writeDouble(5, numRejectsPerSecond_);
1935 }
1936 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(context_)) {
1937 com.google.protobuf.GeneratedMessage.writeString(output, 6, context_);
1938 }
1939 getUnknownFields().writeTo(output);
1940 }
1941
1942 @java.lang.Override
1943 public int getSerializedSize() {
1944 int size = memoizedSize;
1945 if (size != -1) return size;
1946
1947 size = 0;
1948 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(localSearchFilter_)) {
1949 size += com.google.protobuf.GeneratedMessage.computeStringSize(1, localSearchFilter_);
1950 }
1951 if (numCalls_ != 0L) {
1952 size += com.google.protobuf.CodedOutputStream
1953 .computeInt64Size(2, numCalls_);
1954 }
1955 if (numRejects_ != 0L) {
1956 size += com.google.protobuf.CodedOutputStream
1957 .computeInt64Size(3, numRejects_);
1958 }
1959 if (java.lang.Double.doubleToRawLongBits(durationSeconds_) != 0) {
1960 size += com.google.protobuf.CodedOutputStream
1961 .computeDoubleSize(4, durationSeconds_);
1962 }
1963 if (java.lang.Double.doubleToRawLongBits(numRejectsPerSecond_) != 0) {
1964 size += com.google.protobuf.CodedOutputStream
1965 .computeDoubleSize(5, numRejectsPerSecond_);
1966 }
1967 if (!com.google.protobuf.GeneratedMessage.isStringEmpty(context_)) {
1968 size += com.google.protobuf.GeneratedMessage.computeStringSize(6, context_);
1969 }
1970 size += getUnknownFields().getSerializedSize();
1971 memoizedSize = size;
1972 return size;
1973 }
1974
1975 @java.lang.Override
1976 public boolean equals(final java.lang.Object obj) {
1977 if (obj == this) {
1978 return true;
1979 }
1980 if (!(obj instanceof com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics)) {
1981 return super.equals(obj);
1982 }
1983 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics other = (com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics) obj;
1984
1986 .equals(other.getLocalSearchFilter())) return false;
1987 if (getNumCalls()
1988 != other.getNumCalls()) return false;
1989 if (getNumRejects()
1990 != other.getNumRejects()) return false;
1991 if (java.lang.Double.doubleToLongBits(getDurationSeconds())
1992 != java.lang.Double.doubleToLongBits(
1993 other.getDurationSeconds())) return false;
1994 if (java.lang.Double.doubleToLongBits(getNumRejectsPerSecond())
1995 != java.lang.Double.doubleToLongBits(
1996 other.getNumRejectsPerSecond())) return false;
1997 if (!getContext()
1998 .equals(other.getContext())) return false;
1999 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
2000 return true;
2001 }
2002
2003 @java.lang.Override
2004 public int hashCode() {
2005 if (memoizedHashCode != 0) {
2006 return memoizedHashCode;
2007 }
2008 int hash = 41;
2009 hash = (19 * hash) + getDescriptor().hashCode();
2010 hash = (37 * hash) + LOCAL_SEARCH_FILTER_FIELD_NUMBER;
2011 hash = (53 * hash) + getLocalSearchFilter().hashCode();
2012 hash = (37 * hash) + NUM_CALLS_FIELD_NUMBER;
2013 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
2014 getNumCalls());
2015 hash = (37 * hash) + NUM_REJECTS_FIELD_NUMBER;
2016 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
2017 getNumRejects());
2018 hash = (37 * hash) + DURATION_SECONDS_FIELD_NUMBER;
2019 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
2020 java.lang.Double.doubleToLongBits(getDurationSeconds()));
2021 hash = (37 * hash) + NUM_REJECTS_PER_SECOND_FIELD_NUMBER;
2022 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
2023 java.lang.Double.doubleToLongBits(getNumRejectsPerSecond()));
2024 hash = (37 * hash) + CONTEXT_FIELD_NUMBER;
2025 hash = (53 * hash) + getContext().hashCode();
2026 hash = (29 * hash) + getUnknownFields().hashCode();
2027 memoizedHashCode = hash;
2028 return hash;
2029 }
2030
2032 java.nio.ByteBuffer data)
2033 throws com.google.protobuf.InvalidProtocolBufferException {
2034 return PARSER.parseFrom(data);
2035 }
2037 java.nio.ByteBuffer data,
2038 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2039 throws com.google.protobuf.InvalidProtocolBufferException {
2040 return PARSER.parseFrom(data, extensionRegistry);
2041 }
2043 com.google.protobuf.ByteString data)
2044 throws com.google.protobuf.InvalidProtocolBufferException {
2045 return PARSER.parseFrom(data);
2046 }
2048 com.google.protobuf.ByteString data,
2049 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2050 throws com.google.protobuf.InvalidProtocolBufferException {
2051 return PARSER.parseFrom(data, extensionRegistry);
2052 }
2054 throws com.google.protobuf.InvalidProtocolBufferException {
2055 return PARSER.parseFrom(data);
2056 }
2058 byte[] data,
2059 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2060 throws com.google.protobuf.InvalidProtocolBufferException {
2061 return PARSER.parseFrom(data, extensionRegistry);
2062 }
2064 throws java.io.IOException {
2065 return com.google.protobuf.GeneratedMessage
2066 .parseWithIOException(PARSER, input);
2067 }
2069 java.io.InputStream input,
2070 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2071 throws java.io.IOException {
2072 return com.google.protobuf.GeneratedMessage
2073 .parseWithIOException(PARSER, input, extensionRegistry);
2074 }
2075
2077 throws java.io.IOException {
2078 return com.google.protobuf.GeneratedMessage
2079 .parseDelimitedWithIOException(PARSER, input);
2080 }
2081
2083 java.io.InputStream input,
2084 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2085 throws java.io.IOException {
2086 return com.google.protobuf.GeneratedMessage
2087 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
2088 }
2090 com.google.protobuf.CodedInputStream input)
2091 throws java.io.IOException {
2092 return com.google.protobuf.GeneratedMessage
2093 .parseWithIOException(PARSER, input);
2094 }
2096 com.google.protobuf.CodedInputStream input,
2097 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2098 throws java.io.IOException {
2099 return com.google.protobuf.GeneratedMessage
2100 .parseWithIOException(PARSER, input, extensionRegistry);
2101 }
2102
2103 @java.lang.Override
2104 public Builder newBuilderForType() { return newBuilder(); }
2105 public static Builder newBuilder() {
2106 return DEFAULT_INSTANCE.toBuilder();
2107 }
2108 public static Builder newBuilder(com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics prototype) {
2109 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
2110 }
2111 @java.lang.Override
2113 return this == DEFAULT_INSTANCE
2114 ? new Builder() : new Builder().mergeFrom(this);
2115 }
2116
2117 @java.lang.Override
2119 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2120 Builder builder = new Builder(parent);
2121 return builder;
2122 }
2130 public static final class Builder extends
2131 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
2132 // @@protoc_insertion_point(builder_implements:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics)
2133 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatisticsOrBuilder {
2134 public static final com.google.protobuf.Descriptors.Descriptor
2136 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_LocalSearchFilterStatistics_descriptor;
2137 }
2138
2139 @java.lang.Override
2140 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2142 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_LocalSearchFilterStatistics_fieldAccessorTable
2143 .ensureFieldAccessorsInitialized(
2144 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.class, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.Builder.class);
2145 }
2146
2147 // Construct using com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.newBuilder()
2148 private Builder() {
2149
2150 }
2151
2152 private Builder(
2153 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2154 super(parent);
2155
2156 }
2157 @java.lang.Override
2158 public Builder clear() {
2159 super.clear();
2160 bitField0_ = 0;
2161 localSearchFilter_ = "";
2162 numCalls_ = 0L;
2163 numRejects_ = 0L;
2164 durationSeconds_ = 0D;
2165 numRejectsPerSecond_ = 0D;
2166 context_ = "";
2167 return this;
2168 }
2169
2170 @java.lang.Override
2171 public com.google.protobuf.Descriptors.Descriptor
2173 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_LocalSearchFilterStatistics_descriptor;
2174 }
2175
2176 @java.lang.Override
2178 return com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.getDefaultInstance();
2179 }
2180
2181 @java.lang.Override
2184 if (!result.isInitialized()) {
2185 throw newUninitializedMessageException(result);
2186 }
2187 return result;
2188 }
2189
2190 @java.lang.Override
2192 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics result = new com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics(this);
2193 if (bitField0_ != 0) { buildPartial0(result); }
2194 onBuilt();
2195 return result;
2196 }
2197
2198 private void buildPartial0(com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics result) {
2199 int from_bitField0_ = bitField0_;
2200 if (((from_bitField0_ & 0x00000001) != 0)) {
2201 result.localSearchFilter_ = localSearchFilter_;
2202 }
2203 if (((from_bitField0_ & 0x00000002) != 0)) {
2204 result.numCalls_ = numCalls_;
2205 }
2206 if (((from_bitField0_ & 0x00000004) != 0)) {
2207 result.numRejects_ = numRejects_;
2208 }
2209 if (((from_bitField0_ & 0x00000008) != 0)) {
2210 result.durationSeconds_ = durationSeconds_;
2211 }
2212 if (((from_bitField0_ & 0x00000010) != 0)) {
2213 result.numRejectsPerSecond_ = numRejectsPerSecond_;
2214 }
2215 if (((from_bitField0_ & 0x00000020) != 0)) {
2216 result.context_ = context_;
2217 }
2218 }
2219
2220 @java.lang.Override
2221 public Builder mergeFrom(com.google.protobuf.Message other) {
2222 if (other instanceof com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics) {
2223 return mergeFrom((com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics)other);
2224 } else {
2225 super.mergeFrom(other);
2226 return this;
2227 }
2228 }
2229
2230 public Builder mergeFrom(com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics other) {
2231 if (other == com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.getDefaultInstance()) return this;
2232 if (!other.getLocalSearchFilter().isEmpty()) {
2233 localSearchFilter_ = other.localSearchFilter_;
2234 bitField0_ |= 0x00000001;
2235 onChanged();
2236 }
2237 if (other.getNumCalls() != 0L) {
2238 setNumCalls(other.getNumCalls());
2239 }
2240 if (other.getNumRejects() != 0L) {
2241 setNumRejects(other.getNumRejects());
2242 }
2243 if (other.getDurationSeconds() != 0D) {
2244 setDurationSeconds(other.getDurationSeconds());
2245 }
2246 if (other.getNumRejectsPerSecond() != 0D) {
2247 setNumRejectsPerSecond(other.getNumRejectsPerSecond());
2248 }
2249 if (!other.getContext().isEmpty()) {
2250 context_ = other.context_;
2251 bitField0_ |= 0x00000020;
2252 onChanged();
2253 }
2254 this.mergeUnknownFields(other.getUnknownFields());
2255 onChanged();
2256 return this;
2257 }
2258
2259 @java.lang.Override
2260 public final boolean isInitialized() {
2261 return true;
2262 }
2263
2264 @java.lang.Override
2266 com.google.protobuf.CodedInputStream input,
2267 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2268 throws java.io.IOException {
2269 if (extensionRegistry == null) {
2270 throw new java.lang.NullPointerException();
2271 }
2272 try {
2273 boolean done = false;
2274 while (!done) {
2275 int tag = input.readTag();
2276 switch (tag) {
2277 case 0:
2278 done = true;
2279 break;
2280 case 10: {
2281 localSearchFilter_ = input.readStringRequireUtf8();
2282 bitField0_ |= 0x00000001;
2283 break;
2284 } // case 10
2285 case 16: {
2286 numCalls_ = input.readInt64();
2287 bitField0_ |= 0x00000002;
2288 break;
2289 } // case 16
2290 case 24: {
2291 numRejects_ = input.readInt64();
2292 bitField0_ |= 0x00000004;
2293 break;
2294 } // case 24
2295 case 33: {
2296 durationSeconds_ = input.readDouble();
2297 bitField0_ |= 0x00000008;
2298 break;
2299 } // case 33
2300 case 41: {
2301 numRejectsPerSecond_ = input.readDouble();
2302 bitField0_ |= 0x00000010;
2303 break;
2304 } // case 41
2305 case 50: {
2306 context_ = input.readStringRequireUtf8();
2307 bitField0_ |= 0x00000020;
2308 break;
2309 } // case 50
2310 default: {
2311 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
2312 done = true; // was an endgroup tag
2313 }
2314 break;
2315 } // default:
2316 } // switch (tag)
2317 } // while (!done)
2318 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2319 throw e.unwrapIOException();
2320 } finally {
2321 onChanged();
2322 } // finally
2323 return this;
2324 }
2325 private int bitField0_;
2326
2327 private java.lang.Object localSearchFilter_ = "";
2336 public java.lang.String getLocalSearchFilter() {
2337 java.lang.Object ref = localSearchFilter_;
2338 if (!(ref instanceof java.lang.String)) {
2339 com.google.protobuf.ByteString bs =
2340 (com.google.protobuf.ByteString) ref;
2341 java.lang.String s = bs.toStringUtf8();
2342 localSearchFilter_ = s;
2343 return s;
2344 } else {
2345 return (java.lang.String) ref;
2346 }
2347 }
2356 public com.google.protobuf.ByteString
2358 java.lang.Object ref = localSearchFilter_;
2359 if (ref instanceof String) {
2360 com.google.protobuf.ByteString b =
2361 com.google.protobuf.ByteString.copyFromUtf8(
2362 (java.lang.String) ref);
2363 localSearchFilter_ = b;
2364 return b;
2365 } else {
2366 return (com.google.protobuf.ByteString) ref;
2367 }
2368 }
2379 java.lang.String value) {
2380 if (value == null) { throw new NullPointerException(); }
2381 localSearchFilter_ = value;
2382 bitField0_ |= 0x00000001;
2383 onChanged();
2384 return this;
2385 }
2395 localSearchFilter_ = getDefaultInstance().getLocalSearchFilter();
2396 bitField0_ = (bitField0_ & ~0x00000001);
2397 onChanged();
2398 return this;
2399 }
2410 com.google.protobuf.ByteString value) {
2411 if (value == null) { throw new NullPointerException(); }
2412 checkByteStringIsUtf8(value);
2413 localSearchFilter_ = value;
2414 bitField0_ |= 0x00000001;
2415 onChanged();
2416 return this;
2417 }
2418
2419 private long numCalls_ ;
2428 @java.lang.Override
2429 public long getNumCalls() {
2430 return numCalls_;
2431 }
2441 public Builder setNumCalls(long value) {
2442
2443 numCalls_ = value;
2444 bitField0_ |= 0x00000002;
2445 onChanged();
2446 return this;
2447 }
2457 bitField0_ = (bitField0_ & ~0x00000002);
2458 numCalls_ = 0L;
2459 onChanged();
2460 return this;
2461 }
2462
2463 private long numRejects_ ;
2472 @java.lang.Override
2473 public long getNumRejects() {
2474 return numRejects_;
2475 }
2485 public Builder setNumRejects(long value) {
2486
2487 numRejects_ = value;
2488 bitField0_ |= 0x00000004;
2489 onChanged();
2490 return this;
2491 }
2501 bitField0_ = (bitField0_ & ~0x00000004);
2502 numRejects_ = 0L;
2503 onChanged();
2504 return this;
2505 }
2506
2507 private double durationSeconds_ ;
2516 @java.lang.Override
2517 public double getDurationSeconds() {
2518 return durationSeconds_;
2519 }
2529 public Builder setDurationSeconds(double value) {
2530
2531 durationSeconds_ = value;
2532 bitField0_ |= 0x00000008;
2533 onChanged();
2534 return this;
2535 }
2545 bitField0_ = (bitField0_ & ~0x00000008);
2546 durationSeconds_ = 0D;
2547 onChanged();
2548 return this;
2549 }
2550
2551 private double numRejectsPerSecond_ ;
2560 @java.lang.Override
2561 public double getNumRejectsPerSecond() {
2562 return numRejectsPerSecond_;
2563 }
2573 public Builder setNumRejectsPerSecond(double value) {
2574
2575 numRejectsPerSecond_ = value;
2576 bitField0_ |= 0x00000010;
2577 onChanged();
2578 return this;
2579 }
2589 bitField0_ = (bitField0_ & ~0x00000010);
2590 numRejectsPerSecond_ = 0D;
2591 onChanged();
2592 return this;
2593 }
2594
2595 private java.lang.Object context_ = "";
2604 public java.lang.String getContext() {
2605 java.lang.Object ref = context_;
2606 if (!(ref instanceof java.lang.String)) {
2607 com.google.protobuf.ByteString bs =
2608 (com.google.protobuf.ByteString) ref;
2609 java.lang.String s = bs.toStringUtf8();
2610 context_ = s;
2611 return s;
2612 } else {
2613 return (java.lang.String) ref;
2614 }
2615 }
2624 public com.google.protobuf.ByteString
2626 java.lang.Object ref = context_;
2627 if (ref instanceof String) {
2628 com.google.protobuf.ByteString b =
2629 com.google.protobuf.ByteString.copyFromUtf8(
2630 (java.lang.String) ref);
2631 context_ = b;
2632 return b;
2633 } else {
2634 return (com.google.protobuf.ByteString) ref;
2635 }
2636 }
2647 java.lang.String value) {
2648 if (value == null) { throw new NullPointerException(); }
2649 context_ = value;
2650 bitField0_ |= 0x00000020;
2651 onChanged();
2652 return this;
2653 }
2663 context_ = getDefaultInstance().getContext();
2664 bitField0_ = (bitField0_ & ~0x00000020);
2665 onChanged();
2666 return this;
2667 }
2678 com.google.protobuf.ByteString value) {
2679 if (value == null) { throw new NullPointerException(); }
2680 checkByteStringIsUtf8(value);
2681 context_ = value;
2682 bitField0_ |= 0x00000020;
2683 onChanged();
2684 return this;
2685 }
2686
2687 // @@protoc_insertion_point(builder_scope:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics)
2688 }
2689
2690 // @@protoc_insertion_point(class_scope:operations_research.LocalSearchStatistics.LocalSearchFilterStatistics)
2692 static {
2693 DEFAULT_INSTANCE = new com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics();
2694 }
2695
2699
2700 private static final com.google.protobuf.Parser<LocalSearchFilterStatistics>
2701 PARSER = new com.google.protobuf.AbstractParser<LocalSearchFilterStatistics>() {
2702 @java.lang.Override
2703 public LocalSearchFilterStatistics parsePartialFrom(
2704 com.google.protobuf.CodedInputStream input,
2705 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2706 throws com.google.protobuf.InvalidProtocolBufferException {
2707 Builder builder = newBuilder();
2708 try {
2709 builder.mergeFrom(input, extensionRegistry);
2710 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2711 throw e.setUnfinishedMessage(builder.buildPartial());
2712 } catch (com.google.protobuf.UninitializedMessageException e) {
2713 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
2714 } catch (java.io.IOException e) {
2715 throw new com.google.protobuf.InvalidProtocolBufferException(e)
2716 .setUnfinishedMessage(builder.buildPartial());
2717 }
2718 return builder.buildPartial();
2719 }
2720 };
2721
2722 public static com.google.protobuf.Parser<LocalSearchFilterStatistics> parser() {
2723 return PARSER;
2724 }
2725
2726 @java.lang.Override
2727 public com.google.protobuf.Parser<LocalSearchFilterStatistics> getParserForType() {
2728 return PARSER;
2729 }
2730
2731 @java.lang.Override
2735
2736 }
2737
2738 public static final int FIRST_SOLUTION_STATISTICS_FIELD_NUMBER = 6;
2739 @SuppressWarnings("serial")
2740 private java.util.List<com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics> firstSolutionStatistics_;
2748 @java.lang.Override
2749 public java.util.List<com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics> getFirstSolutionStatisticsList() {
2750 return firstSolutionStatistics_;
2751 }
2759 @java.lang.Override
2760 public java.util.List<? extends com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatisticsOrBuilder>
2762 return firstSolutionStatistics_;
2763 }
2771 @java.lang.Override
2773 return firstSolutionStatistics_.size();
2774 }
2782 @java.lang.Override
2784 return firstSolutionStatistics_.get(index);
2785 }
2793 @java.lang.Override
2798
2800 @SuppressWarnings("serial")
2801 private java.util.List<com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics> localSearchOperatorStatistics_;
2809 @java.lang.Override
2810 public java.util.List<com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics> getLocalSearchOperatorStatisticsList() {
2811 return localSearchOperatorStatistics_;
2812 }
2820 @java.lang.Override
2821 public java.util.List<? extends com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatisticsOrBuilder>
2823 return localSearchOperatorStatistics_;
2824 }
2832 @java.lang.Override
2834 return localSearchOperatorStatistics_.size();
2835 }
2843 @java.lang.Override
2845 return localSearchOperatorStatistics_.get(index);
2846 }
2854 @java.lang.Override
2859
2860 public static final int TOTAL_NUM_NEIGHBORS_FIELD_NUMBER = 3;
2861 private long totalNumNeighbors_ = 0L;
2870 @java.lang.Override
2871 public long getTotalNumNeighbors() {
2872 return totalNumNeighbors_;
2873 }
2874
2876 private long totalNumFilteredNeighbors_ = 0L;
2881 @java.lang.Override
2883 return totalNumFilteredNeighbors_;
2884 }
2885
2887 private long totalNumAcceptedNeighbors_ = 0L;
2892 @java.lang.Override
2894 return totalNumAcceptedNeighbors_;
2895 }
2896
2898 @SuppressWarnings("serial")
2899 private java.util.List<com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics> localSearchFilterStatistics_;
2907 @java.lang.Override
2908 public java.util.List<com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics> getLocalSearchFilterStatisticsList() {
2909 return localSearchFilterStatistics_;
2910 }
2918 @java.lang.Override
2919 public java.util.List<? extends com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatisticsOrBuilder>
2921 return localSearchFilterStatistics_;
2922 }
2930 @java.lang.Override
2932 return localSearchFilterStatistics_.size();
2933 }
2941 @java.lang.Override
2943 return localSearchFilterStatistics_.get(index);
2944 }
2952 @java.lang.Override
2957
2958 private byte memoizedIsInitialized = -1;
2959 @java.lang.Override
2960 public final boolean isInitialized() {
2961 byte isInitialized = memoizedIsInitialized;
2962 if (isInitialized == 1) return true;
2963 if (isInitialized == 0) return false;
2964
2965 memoizedIsInitialized = 1;
2966 return true;
2967 }
2968
2969 @java.lang.Override
2970 public void writeTo(com.google.protobuf.CodedOutputStream output)
2971 throws java.io.IOException {
2972 for (int i = 0; i < localSearchOperatorStatistics_.size(); i++) {
2973 output.writeMessage(1, localSearchOperatorStatistics_.get(i));
2974 }
2975 for (int i = 0; i < localSearchFilterStatistics_.size(); i++) {
2976 output.writeMessage(2, localSearchFilterStatistics_.get(i));
2977 }
2978 if (totalNumNeighbors_ != 0L) {
2979 output.writeInt64(3, totalNumNeighbors_);
2980 }
2981 if (totalNumFilteredNeighbors_ != 0L) {
2982 output.writeInt64(4, totalNumFilteredNeighbors_);
2983 }
2984 if (totalNumAcceptedNeighbors_ != 0L) {
2985 output.writeInt64(5, totalNumAcceptedNeighbors_);
2986 }
2987 for (int i = 0; i < firstSolutionStatistics_.size(); i++) {
2988 output.writeMessage(6, firstSolutionStatistics_.get(i));
2989 }
2990 getUnknownFields().writeTo(output);
2991 }
2992
2993 @java.lang.Override
2994 public int getSerializedSize() {
2995 int size = memoizedSize;
2996 if (size != -1) return size;
2997
2998 size = 0;
2999 for (int i = 0; i < localSearchOperatorStatistics_.size(); i++) {
3000 size += com.google.protobuf.CodedOutputStream
3001 .computeMessageSize(1, localSearchOperatorStatistics_.get(i));
3002 }
3003 for (int i = 0; i < localSearchFilterStatistics_.size(); i++) {
3004 size += com.google.protobuf.CodedOutputStream
3005 .computeMessageSize(2, localSearchFilterStatistics_.get(i));
3006 }
3007 if (totalNumNeighbors_ != 0L) {
3008 size += com.google.protobuf.CodedOutputStream
3009 .computeInt64Size(3, totalNumNeighbors_);
3010 }
3011 if (totalNumFilteredNeighbors_ != 0L) {
3012 size += com.google.protobuf.CodedOutputStream
3013 .computeInt64Size(4, totalNumFilteredNeighbors_);
3014 }
3015 if (totalNumAcceptedNeighbors_ != 0L) {
3016 size += com.google.protobuf.CodedOutputStream
3017 .computeInt64Size(5, totalNumAcceptedNeighbors_);
3018 }
3019 for (int i = 0; i < firstSolutionStatistics_.size(); i++) {
3020 size += com.google.protobuf.CodedOutputStream
3021 .computeMessageSize(6, firstSolutionStatistics_.get(i));
3022 }
3023 size += getUnknownFields().getSerializedSize();
3024 memoizedSize = size;
3025 return size;
3026 }
3027
3028 @java.lang.Override
3029 public boolean equals(final java.lang.Object obj) {
3030 if (obj == this) {
3031 return true;
3032 }
3033 if (!(obj instanceof com.google.ortools.constraintsolver.LocalSearchStatistics)) {
3034 return super.equals(obj);
3035 }
3036 com.google.ortools.constraintsolver.LocalSearchStatistics other = (com.google.ortools.constraintsolver.LocalSearchStatistics) obj;
3037
3039 .equals(other.getFirstSolutionStatisticsList())) return false;
3041 .equals(other.getLocalSearchOperatorStatisticsList())) return false;
3043 != other.getTotalNumNeighbors()) return false;
3045 != other.getTotalNumFilteredNeighbors()) return false;
3047 != other.getTotalNumAcceptedNeighbors()) return false;
3049 .equals(other.getLocalSearchFilterStatisticsList())) return false;
3050 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
3051 return true;
3052 }
3053
3054 @java.lang.Override
3055 public int hashCode() {
3056 if (memoizedHashCode != 0) {
3057 return memoizedHashCode;
3058 }
3059 int hash = 41;
3060 hash = (19 * hash) + getDescriptor().hashCode();
3062 hash = (37 * hash) + FIRST_SOLUTION_STATISTICS_FIELD_NUMBER;
3063 hash = (53 * hash) + getFirstSolutionStatisticsList().hashCode();
3064 }
3067 hash = (53 * hash) + getLocalSearchOperatorStatisticsList().hashCode();
3068 }
3069 hash = (37 * hash) + TOTAL_NUM_NEIGHBORS_FIELD_NUMBER;
3070 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
3072 hash = (37 * hash) + TOTAL_NUM_FILTERED_NEIGHBORS_FIELD_NUMBER;
3073 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
3075 hash = (37 * hash) + TOTAL_NUM_ACCEPTED_NEIGHBORS_FIELD_NUMBER;
3076 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
3080 hash = (53 * hash) + getLocalSearchFilterStatisticsList().hashCode();
3081 }
3082 hash = (29 * hash) + getUnknownFields().hashCode();
3083 memoizedHashCode = hash;
3084 return hash;
3085 }
3086
3088 java.nio.ByteBuffer data)
3089 throws com.google.protobuf.InvalidProtocolBufferException {
3090 return PARSER.parseFrom(data);
3091 }
3093 java.nio.ByteBuffer data,
3094 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3095 throws com.google.protobuf.InvalidProtocolBufferException {
3096 return PARSER.parseFrom(data, extensionRegistry);
3097 }
3099 com.google.protobuf.ByteString data)
3100 throws com.google.protobuf.InvalidProtocolBufferException {
3101 return PARSER.parseFrom(data);
3102 }
3104 com.google.protobuf.ByteString data,
3105 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3106 throws com.google.protobuf.InvalidProtocolBufferException {
3107 return PARSER.parseFrom(data, extensionRegistry);
3108 }
3110 throws com.google.protobuf.InvalidProtocolBufferException {
3111 return PARSER.parseFrom(data);
3112 }
3114 byte[] data,
3115 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3116 throws com.google.protobuf.InvalidProtocolBufferException {
3117 return PARSER.parseFrom(data, extensionRegistry);
3118 }
3120 throws java.io.IOException {
3121 return com.google.protobuf.GeneratedMessage
3122 .parseWithIOException(PARSER, input);
3123 }
3125 java.io.InputStream input,
3126 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3127 throws java.io.IOException {
3128 return com.google.protobuf.GeneratedMessage
3129 .parseWithIOException(PARSER, input, extensionRegistry);
3130 }
3131
3133 throws java.io.IOException {
3134 return com.google.protobuf.GeneratedMessage
3135 .parseDelimitedWithIOException(PARSER, input);
3136 }
3137
3139 java.io.InputStream input,
3140 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3141 throws java.io.IOException {
3142 return com.google.protobuf.GeneratedMessage
3143 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
3144 }
3146 com.google.protobuf.CodedInputStream input)
3147 throws java.io.IOException {
3148 return com.google.protobuf.GeneratedMessage
3149 .parseWithIOException(PARSER, input);
3150 }
3152 com.google.protobuf.CodedInputStream input,
3153 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3154 throws java.io.IOException {
3155 return com.google.protobuf.GeneratedMessage
3156 .parseWithIOException(PARSER, input, extensionRegistry);
3157 }
3158
3159 @java.lang.Override
3160 public Builder newBuilderForType() { return newBuilder(); }
3161 public static Builder newBuilder() {
3162 return DEFAULT_INSTANCE.toBuilder();
3163 }
3164 public static Builder newBuilder(com.google.ortools.constraintsolver.LocalSearchStatistics prototype) {
3165 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
3166 }
3167 @java.lang.Override
3169 return this == DEFAULT_INSTANCE
3170 ? new Builder() : new Builder().mergeFrom(this);
3171 }
3172
3173 @java.lang.Override
3175 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3176 Builder builder = new Builder(parent);
3177 return builder;
3178 }
3186 public static final class Builder extends
3187 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
3188 // @@protoc_insertion_point(builder_implements:operations_research.LocalSearchStatistics)
3189 com.google.ortools.constraintsolver.LocalSearchStatisticsOrBuilder {
3190 public static final com.google.protobuf.Descriptors.Descriptor
3192 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_descriptor;
3193 }
3194
3195 @java.lang.Override
3196 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3198 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_fieldAccessorTable
3199 .ensureFieldAccessorsInitialized(
3200 com.google.ortools.constraintsolver.LocalSearchStatistics.class, com.google.ortools.constraintsolver.LocalSearchStatistics.Builder.class);
3201 }
3202
3203 // Construct using com.google.ortools.constraintsolver.LocalSearchStatistics.newBuilder()
3204 private Builder() {
3205
3206 }
3207
3208 private Builder(
3209 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3210 super(parent);
3211
3212 }
3213 @java.lang.Override
3214 public Builder clear() {
3215 super.clear();
3216 bitField0_ = 0;
3217 if (firstSolutionStatisticsBuilder_ == null) {
3218 firstSolutionStatistics_ = java.util.Collections.emptyList();
3219 } else {
3220 firstSolutionStatistics_ = null;
3221 firstSolutionStatisticsBuilder_.clear();
3222 }
3223 bitField0_ = (bitField0_ & ~0x00000001);
3224 if (localSearchOperatorStatisticsBuilder_ == null) {
3225 localSearchOperatorStatistics_ = java.util.Collections.emptyList();
3226 } else {
3227 localSearchOperatorStatistics_ = null;
3228 localSearchOperatorStatisticsBuilder_.clear();
3229 }
3230 bitField0_ = (bitField0_ & ~0x00000002);
3231 totalNumNeighbors_ = 0L;
3232 totalNumFilteredNeighbors_ = 0L;
3233 totalNumAcceptedNeighbors_ = 0L;
3234 if (localSearchFilterStatisticsBuilder_ == null) {
3235 localSearchFilterStatistics_ = java.util.Collections.emptyList();
3236 } else {
3237 localSearchFilterStatistics_ = null;
3238 localSearchFilterStatisticsBuilder_.clear();
3239 }
3240 bitField0_ = (bitField0_ & ~0x00000020);
3241 return this;
3242 }
3243
3244 @java.lang.Override
3245 public com.google.protobuf.Descriptors.Descriptor
3247 return com.google.ortools.constraintsolver.SearchStats.internal_static_operations_research_LocalSearchStatistics_descriptor;
3248 }
3249
3250 @java.lang.Override
3252 return com.google.ortools.constraintsolver.LocalSearchStatistics.getDefaultInstance();
3253 }
3254
3255 @java.lang.Override
3258 if (!result.isInitialized()) {
3259 throw newUninitializedMessageException(result);
3260 }
3261 return result;
3262 }
3263
3264 @java.lang.Override
3266 com.google.ortools.constraintsolver.LocalSearchStatistics result = new com.google.ortools.constraintsolver.LocalSearchStatistics(this);
3267 buildPartialRepeatedFields(result);
3268 if (bitField0_ != 0) { buildPartial0(result); }
3269 onBuilt();
3270 return result;
3271 }
3272
3273 private void buildPartialRepeatedFields(com.google.ortools.constraintsolver.LocalSearchStatistics result) {
3274 if (firstSolutionStatisticsBuilder_ == null) {
3275 if (((bitField0_ & 0x00000001) != 0)) {
3276 firstSolutionStatistics_ = java.util.Collections.unmodifiableList(firstSolutionStatistics_);
3277 bitField0_ = (bitField0_ & ~0x00000001);
3278 }
3279 result.firstSolutionStatistics_ = firstSolutionStatistics_;
3280 } else {
3281 result.firstSolutionStatistics_ = firstSolutionStatisticsBuilder_.build();
3282 }
3283 if (localSearchOperatorStatisticsBuilder_ == null) {
3284 if (((bitField0_ & 0x00000002) != 0)) {
3285 localSearchOperatorStatistics_ = java.util.Collections.unmodifiableList(localSearchOperatorStatistics_);
3286 bitField0_ = (bitField0_ & ~0x00000002);
3287 }
3288 result.localSearchOperatorStatistics_ = localSearchOperatorStatistics_;
3289 } else {
3290 result.localSearchOperatorStatistics_ = localSearchOperatorStatisticsBuilder_.build();
3291 }
3292 if (localSearchFilterStatisticsBuilder_ == null) {
3293 if (((bitField0_ & 0x00000020) != 0)) {
3294 localSearchFilterStatistics_ = java.util.Collections.unmodifiableList(localSearchFilterStatistics_);
3295 bitField0_ = (bitField0_ & ~0x00000020);
3296 }
3297 result.localSearchFilterStatistics_ = localSearchFilterStatistics_;
3298 } else {
3299 result.localSearchFilterStatistics_ = localSearchFilterStatisticsBuilder_.build();
3300 }
3301 }
3302
3303 private void buildPartial0(com.google.ortools.constraintsolver.LocalSearchStatistics result) {
3304 int from_bitField0_ = bitField0_;
3305 if (((from_bitField0_ & 0x00000004) != 0)) {
3306 result.totalNumNeighbors_ = totalNumNeighbors_;
3307 }
3308 if (((from_bitField0_ & 0x00000008) != 0)) {
3309 result.totalNumFilteredNeighbors_ = totalNumFilteredNeighbors_;
3310 }
3311 if (((from_bitField0_ & 0x00000010) != 0)) {
3312 result.totalNumAcceptedNeighbors_ = totalNumAcceptedNeighbors_;
3313 }
3314 }
3315
3316 @java.lang.Override
3317 public Builder mergeFrom(com.google.protobuf.Message other) {
3318 if (other instanceof com.google.ortools.constraintsolver.LocalSearchStatistics) {
3319 return mergeFrom((com.google.ortools.constraintsolver.LocalSearchStatistics)other);
3320 } else {
3321 super.mergeFrom(other);
3322 return this;
3323 }
3324 }
3325
3326 public Builder mergeFrom(com.google.ortools.constraintsolver.LocalSearchStatistics other) {
3327 if (other == com.google.ortools.constraintsolver.LocalSearchStatistics.getDefaultInstance()) return this;
3328 if (firstSolutionStatisticsBuilder_ == null) {
3329 if (!other.firstSolutionStatistics_.isEmpty()) {
3330 if (firstSolutionStatistics_.isEmpty()) {
3331 firstSolutionStatistics_ = other.firstSolutionStatistics_;
3332 bitField0_ = (bitField0_ & ~0x00000001);
3333 } else {
3334 ensureFirstSolutionStatisticsIsMutable();
3335 firstSolutionStatistics_.addAll(other.firstSolutionStatistics_);
3336 }
3337 onChanged();
3338 }
3339 } else {
3340 if (!other.firstSolutionStatistics_.isEmpty()) {
3341 if (firstSolutionStatisticsBuilder_.isEmpty()) {
3342 firstSolutionStatisticsBuilder_.dispose();
3343 firstSolutionStatisticsBuilder_ = null;
3344 firstSolutionStatistics_ = other.firstSolutionStatistics_;
3345 bitField0_ = (bitField0_ & ~0x00000001);
3346 firstSolutionStatisticsBuilder_ =
3347 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
3348 getFirstSolutionStatisticsFieldBuilder() : null;
3349 } else {
3350 firstSolutionStatisticsBuilder_.addAllMessages(other.firstSolutionStatistics_);
3351 }
3352 }
3353 }
3354 if (localSearchOperatorStatisticsBuilder_ == null) {
3355 if (!other.localSearchOperatorStatistics_.isEmpty()) {
3356 if (localSearchOperatorStatistics_.isEmpty()) {
3357 localSearchOperatorStatistics_ = other.localSearchOperatorStatistics_;
3358 bitField0_ = (bitField0_ & ~0x00000002);
3359 } else {
3360 ensureLocalSearchOperatorStatisticsIsMutable();
3361 localSearchOperatorStatistics_.addAll(other.localSearchOperatorStatistics_);
3362 }
3363 onChanged();
3364 }
3365 } else {
3366 if (!other.localSearchOperatorStatistics_.isEmpty()) {
3367 if (localSearchOperatorStatisticsBuilder_.isEmpty()) {
3368 localSearchOperatorStatisticsBuilder_.dispose();
3369 localSearchOperatorStatisticsBuilder_ = null;
3370 localSearchOperatorStatistics_ = other.localSearchOperatorStatistics_;
3371 bitField0_ = (bitField0_ & ~0x00000002);
3372 localSearchOperatorStatisticsBuilder_ =
3373 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
3374 getLocalSearchOperatorStatisticsFieldBuilder() : null;
3375 } else {
3376 localSearchOperatorStatisticsBuilder_.addAllMessages(other.localSearchOperatorStatistics_);
3377 }
3378 }
3379 }
3380 if (other.getTotalNumNeighbors() != 0L) {
3381 setTotalNumNeighbors(other.getTotalNumNeighbors());
3382 }
3383 if (other.getTotalNumFilteredNeighbors() != 0L) {
3384 setTotalNumFilteredNeighbors(other.getTotalNumFilteredNeighbors());
3385 }
3386 if (other.getTotalNumAcceptedNeighbors() != 0L) {
3387 setTotalNumAcceptedNeighbors(other.getTotalNumAcceptedNeighbors());
3388 }
3389 if (localSearchFilterStatisticsBuilder_ == null) {
3390 if (!other.localSearchFilterStatistics_.isEmpty()) {
3391 if (localSearchFilterStatistics_.isEmpty()) {
3392 localSearchFilterStatistics_ = other.localSearchFilterStatistics_;
3393 bitField0_ = (bitField0_ & ~0x00000020);
3394 } else {
3395 ensureLocalSearchFilterStatisticsIsMutable();
3396 localSearchFilterStatistics_.addAll(other.localSearchFilterStatistics_);
3397 }
3398 onChanged();
3399 }
3400 } else {
3401 if (!other.localSearchFilterStatistics_.isEmpty()) {
3402 if (localSearchFilterStatisticsBuilder_.isEmpty()) {
3403 localSearchFilterStatisticsBuilder_.dispose();
3404 localSearchFilterStatisticsBuilder_ = null;
3405 localSearchFilterStatistics_ = other.localSearchFilterStatistics_;
3406 bitField0_ = (bitField0_ & ~0x00000020);
3407 localSearchFilterStatisticsBuilder_ =
3408 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
3409 getLocalSearchFilterStatisticsFieldBuilder() : null;
3410 } else {
3411 localSearchFilterStatisticsBuilder_.addAllMessages(other.localSearchFilterStatistics_);
3412 }
3413 }
3414 }
3415 this.mergeUnknownFields(other.getUnknownFields());
3416 onChanged();
3417 return this;
3418 }
3419
3420 @java.lang.Override
3421 public final boolean isInitialized() {
3422 return true;
3423 }
3424
3425 @java.lang.Override
3427 com.google.protobuf.CodedInputStream input,
3428 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3429 throws java.io.IOException {
3430 if (extensionRegistry == null) {
3431 throw new java.lang.NullPointerException();
3432 }
3433 try {
3434 boolean done = false;
3435 while (!done) {
3436 int tag = input.readTag();
3437 switch (tag) {
3438 case 0:
3439 done = true;
3440 break;
3441 case 10: {
3443 input.readMessage(
3444 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.parser(),
3445 extensionRegistry);
3446 if (localSearchOperatorStatisticsBuilder_ == null) {
3447 ensureLocalSearchOperatorStatisticsIsMutable();
3448 localSearchOperatorStatistics_.add(m);
3449 } else {
3450 localSearchOperatorStatisticsBuilder_.addMessage(m);
3451 }
3452 break;
3453 } // case 10
3454 case 18: {
3456 input.readMessage(
3457 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.parser(),
3458 extensionRegistry);
3459 if (localSearchFilterStatisticsBuilder_ == null) {
3460 ensureLocalSearchFilterStatisticsIsMutable();
3461 localSearchFilterStatistics_.add(m);
3462 } else {
3463 localSearchFilterStatisticsBuilder_.addMessage(m);
3464 }
3465 break;
3466 } // case 18
3467 case 24: {
3468 totalNumNeighbors_ = input.readInt64();
3469 bitField0_ |= 0x00000004;
3470 break;
3471 } // case 24
3472 case 32: {
3473 totalNumFilteredNeighbors_ = input.readInt64();
3474 bitField0_ |= 0x00000008;
3475 break;
3476 } // case 32
3477 case 40: {
3478 totalNumAcceptedNeighbors_ = input.readInt64();
3479 bitField0_ |= 0x00000010;
3480 break;
3481 } // case 40
3482 case 50: {
3484 input.readMessage(
3485 com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.parser(),
3486 extensionRegistry);
3487 if (firstSolutionStatisticsBuilder_ == null) {
3488 ensureFirstSolutionStatisticsIsMutable();
3489 firstSolutionStatistics_.add(m);
3490 } else {
3491 firstSolutionStatisticsBuilder_.addMessage(m);
3492 }
3493 break;
3494 } // case 50
3495 default: {
3496 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
3497 done = true; // was an endgroup tag
3498 }
3499 break;
3500 } // default:
3501 } // switch (tag)
3502 } // while (!done)
3503 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3504 throw e.unwrapIOException();
3505 } finally {
3506 onChanged();
3507 } // finally
3508 return this;
3509 }
3510 private int bitField0_;
3511
3512 private java.util.List<com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics> firstSolutionStatistics_ =
3513 java.util.Collections.emptyList();
3514 private void ensureFirstSolutionStatisticsIsMutable() {
3515 if (!((bitField0_ & 0x00000001) != 0)) {
3516 firstSolutionStatistics_ = new java.util.ArrayList<com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics>(firstSolutionStatistics_);
3517 bitField0_ |= 0x00000001;
3518 }
3519 }
3520
3521 private com.google.protobuf.RepeatedFieldBuilder<
3522 com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics, com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.Builder, com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatisticsOrBuilder> firstSolutionStatisticsBuilder_;
3523
3531 public java.util.List<com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics> getFirstSolutionStatisticsList() {
3532 if (firstSolutionStatisticsBuilder_ == null) {
3533 return java.util.Collections.unmodifiableList(firstSolutionStatistics_);
3534 } else {
3535 return firstSolutionStatisticsBuilder_.getMessageList();
3536 }
3537 }
3546 if (firstSolutionStatisticsBuilder_ == null) {
3547 return firstSolutionStatistics_.size();
3548 } else {
3549 return firstSolutionStatisticsBuilder_.getCount();
3550 }
3551 }
3560 if (firstSolutionStatisticsBuilder_ == null) {
3561 return firstSolutionStatistics_.get(index);
3562 } else {
3563 return firstSolutionStatisticsBuilder_.getMessage(index);
3564 }
3565 }
3574 int index, com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics value) {
3575 if (firstSolutionStatisticsBuilder_ == null) {
3576 if (value == null) {
3577 throw new NullPointerException();
3578 }
3579 ensureFirstSolutionStatisticsIsMutable();
3580 firstSolutionStatistics_.set(index, value);
3581 onChanged();
3582 } else {
3583 firstSolutionStatisticsBuilder_.setMessage(index, value);
3584 }
3585 return this;
3586 }
3595 int index, com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.Builder builderForValue) {
3596 if (firstSolutionStatisticsBuilder_ == null) {
3597 ensureFirstSolutionStatisticsIsMutable();
3598 firstSolutionStatistics_.set(index, builderForValue.build());
3599 onChanged();
3600 } else {
3601 firstSolutionStatisticsBuilder_.setMessage(index, builderForValue.build());
3602 }
3603 return this;
3604 }
3612 public Builder addFirstSolutionStatistics(com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics value) {
3613 if (firstSolutionStatisticsBuilder_ == null) {
3614 if (value == null) {
3615 throw new NullPointerException();
3616 }
3617 ensureFirstSolutionStatisticsIsMutable();
3618 firstSolutionStatistics_.add(value);
3619 onChanged();
3620 } else {
3621 firstSolutionStatisticsBuilder_.addMessage(value);
3622 }
3623 return this;
3624 }
3633 int index, com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics value) {
3634 if (firstSolutionStatisticsBuilder_ == null) {
3635 if (value == null) {
3636 throw new NullPointerException();
3637 }
3638 ensureFirstSolutionStatisticsIsMutable();
3639 firstSolutionStatistics_.add(index, value);
3640 onChanged();
3641 } else {
3642 firstSolutionStatisticsBuilder_.addMessage(index, value);
3643 }
3644 return this;
3645 }
3654 com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.Builder builderForValue) {
3655 if (firstSolutionStatisticsBuilder_ == null) {
3656 ensureFirstSolutionStatisticsIsMutable();
3657 firstSolutionStatistics_.add(builderForValue.build());
3658 onChanged();
3659 } else {
3660 firstSolutionStatisticsBuilder_.addMessage(builderForValue.build());
3661 }
3662 return this;
3663 }
3672 int index, com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.Builder builderForValue) {
3673 if (firstSolutionStatisticsBuilder_ == null) {
3674 ensureFirstSolutionStatisticsIsMutable();
3675 firstSolutionStatistics_.add(index, builderForValue.build());
3676 onChanged();
3677 } else {
3678 firstSolutionStatisticsBuilder_.addMessage(index, builderForValue.build());
3679 }
3680 return this;
3681 }
3690 java.lang.Iterable<? extends com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics> values) {
3691 if (firstSolutionStatisticsBuilder_ == null) {
3692 ensureFirstSolutionStatisticsIsMutable();
3693 com.google.protobuf.AbstractMessageLite.Builder.addAll(
3694 values, firstSolutionStatistics_);
3695 onChanged();
3696 } else {
3697 firstSolutionStatisticsBuilder_.addAllMessages(values);
3698 }
3699 return this;
3700 }
3709 if (firstSolutionStatisticsBuilder_ == null) {
3710 firstSolutionStatistics_ = java.util.Collections.emptyList();
3711 bitField0_ = (bitField0_ & ~0x00000001);
3712 onChanged();
3713 } else {
3714 firstSolutionStatisticsBuilder_.clear();
3715 }
3716 return this;
3717 }
3726 if (firstSolutionStatisticsBuilder_ == null) {
3727 ensureFirstSolutionStatisticsIsMutable();
3728 firstSolutionStatistics_.remove(index);
3729 onChanged();
3730 } else {
3731 firstSolutionStatisticsBuilder_.remove(index);
3732 }
3733 return this;
3734 }
3743 int index) {
3744 return getFirstSolutionStatisticsFieldBuilder().getBuilder(index);
3745 }
3754 int index) {
3755 if (firstSolutionStatisticsBuilder_ == null) {
3756 return firstSolutionStatistics_.get(index); } else {
3757 return firstSolutionStatisticsBuilder_.getMessageOrBuilder(index);
3758 }
3759 }
3767 public java.util.List<? extends com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatisticsOrBuilder>
3769 if (firstSolutionStatisticsBuilder_ != null) {
3770 return firstSolutionStatisticsBuilder_.getMessageOrBuilderList();
3771 } else {
3772 return java.util.Collections.unmodifiableList(firstSolutionStatistics_);
3773 }
3774 }
3783 return getFirstSolutionStatisticsFieldBuilder().addBuilder(
3784 com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.getDefaultInstance());
3785 }
3794 int index) {
3795 return getFirstSolutionStatisticsFieldBuilder().addBuilder(
3796 index, com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.getDefaultInstance());
3797 }
3805 public java.util.List<com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.Builder>
3807 return getFirstSolutionStatisticsFieldBuilder().getBuilderList();
3808 }
3809 private com.google.protobuf.RepeatedFieldBuilder<
3810 com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics, com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.Builder, com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatisticsOrBuilder>
3811 getFirstSolutionStatisticsFieldBuilder() {
3812 if (firstSolutionStatisticsBuilder_ == null) {
3813 firstSolutionStatisticsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
3814 com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics, com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.Builder, com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatisticsOrBuilder>(
3815 firstSolutionStatistics_,
3816 ((bitField0_ & 0x00000001) != 0),
3817 getParentForChildren(),
3818 isClean());
3819 firstSolutionStatistics_ = null;
3820 }
3821 return firstSolutionStatisticsBuilder_;
3822 }
3823
3824 private java.util.List<com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics> localSearchOperatorStatistics_ =
3825 java.util.Collections.emptyList();
3826 private void ensureLocalSearchOperatorStatisticsIsMutable() {
3827 if (!((bitField0_ & 0x00000002) != 0)) {
3828 localSearchOperatorStatistics_ = new java.util.ArrayList<com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics>(localSearchOperatorStatistics_);
3829 bitField0_ |= 0x00000002;
3830 }
3831 }
3832
3833 private com.google.protobuf.RepeatedFieldBuilder<
3834 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.Builder, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatisticsOrBuilder> localSearchOperatorStatisticsBuilder_;
3835
3843 public java.util.List<com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics> getLocalSearchOperatorStatisticsList() {
3844 if (localSearchOperatorStatisticsBuilder_ == null) {
3845 return java.util.Collections.unmodifiableList(localSearchOperatorStatistics_);
3846 } else {
3847 return localSearchOperatorStatisticsBuilder_.getMessageList();
3848 }
3849 }
3858 if (localSearchOperatorStatisticsBuilder_ == null) {
3859 return localSearchOperatorStatistics_.size();
3860 } else {
3861 return localSearchOperatorStatisticsBuilder_.getCount();
3862 }
3863 }
3872 if (localSearchOperatorStatisticsBuilder_ == null) {
3873 return localSearchOperatorStatistics_.get(index);
3874 } else {
3875 return localSearchOperatorStatisticsBuilder_.getMessage(index);
3876 }
3877 }
3886 int index, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics value) {
3887 if (localSearchOperatorStatisticsBuilder_ == null) {
3888 if (value == null) {
3889 throw new NullPointerException();
3890 }
3891 ensureLocalSearchOperatorStatisticsIsMutable();
3892 localSearchOperatorStatistics_.set(index, value);
3893 onChanged();
3894 } else {
3895 localSearchOperatorStatisticsBuilder_.setMessage(index, value);
3896 }
3897 return this;
3898 }
3907 int index, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.Builder builderForValue) {
3908 if (localSearchOperatorStatisticsBuilder_ == null) {
3909 ensureLocalSearchOperatorStatisticsIsMutable();
3910 localSearchOperatorStatistics_.set(index, builderForValue.build());
3911 onChanged();
3912 } else {
3913 localSearchOperatorStatisticsBuilder_.setMessage(index, builderForValue.build());
3914 }
3915 return this;
3916 }
3924 public Builder addLocalSearchOperatorStatistics(com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics value) {
3925 if (localSearchOperatorStatisticsBuilder_ == null) {
3926 if (value == null) {
3927 throw new NullPointerException();
3928 }
3929 ensureLocalSearchOperatorStatisticsIsMutable();
3930 localSearchOperatorStatistics_.add(value);
3931 onChanged();
3932 } else {
3933 localSearchOperatorStatisticsBuilder_.addMessage(value);
3934 }
3935 return this;
3936 }
3945 int index, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics value) {
3946 if (localSearchOperatorStatisticsBuilder_ == null) {
3947 if (value == null) {
3948 throw new NullPointerException();
3949 }
3950 ensureLocalSearchOperatorStatisticsIsMutable();
3951 localSearchOperatorStatistics_.add(index, value);
3952 onChanged();
3953 } else {
3954 localSearchOperatorStatisticsBuilder_.addMessage(index, value);
3955 }
3956 return this;
3957 }
3966 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.Builder builderForValue) {
3967 if (localSearchOperatorStatisticsBuilder_ == null) {
3968 ensureLocalSearchOperatorStatisticsIsMutable();
3969 localSearchOperatorStatistics_.add(builderForValue.build());
3970 onChanged();
3971 } else {
3972 localSearchOperatorStatisticsBuilder_.addMessage(builderForValue.build());
3973 }
3974 return this;
3975 }
3984 int index, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.Builder builderForValue) {
3985 if (localSearchOperatorStatisticsBuilder_ == null) {
3986 ensureLocalSearchOperatorStatisticsIsMutable();
3987 localSearchOperatorStatistics_.add(index, builderForValue.build());
3988 onChanged();
3989 } else {
3990 localSearchOperatorStatisticsBuilder_.addMessage(index, builderForValue.build());
3991 }
3992 return this;
3993 }
4002 java.lang.Iterable<? extends com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics> values) {
4003 if (localSearchOperatorStatisticsBuilder_ == null) {
4004 ensureLocalSearchOperatorStatisticsIsMutable();
4005 com.google.protobuf.AbstractMessageLite.Builder.addAll(
4006 values, localSearchOperatorStatistics_);
4007 onChanged();
4008 } else {
4009 localSearchOperatorStatisticsBuilder_.addAllMessages(values);
4010 }
4011 return this;
4012 }
4021 if (localSearchOperatorStatisticsBuilder_ == null) {
4022 localSearchOperatorStatistics_ = java.util.Collections.emptyList();
4023 bitField0_ = (bitField0_ & ~0x00000002);
4024 onChanged();
4025 } else {
4026 localSearchOperatorStatisticsBuilder_.clear();
4027 }
4028 return this;
4029 }
4038 if (localSearchOperatorStatisticsBuilder_ == null) {
4039 ensureLocalSearchOperatorStatisticsIsMutable();
4040 localSearchOperatorStatistics_.remove(index);
4041 onChanged();
4042 } else {
4043 localSearchOperatorStatisticsBuilder_.remove(index);
4044 }
4045 return this;
4046 }
4055 int index) {
4056 return getLocalSearchOperatorStatisticsFieldBuilder().getBuilder(index);
4057 }
4066 int index) {
4067 if (localSearchOperatorStatisticsBuilder_ == null) {
4068 return localSearchOperatorStatistics_.get(index); } else {
4069 return localSearchOperatorStatisticsBuilder_.getMessageOrBuilder(index);
4070 }
4071 }
4079 public java.util.List<? extends com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatisticsOrBuilder>
4081 if (localSearchOperatorStatisticsBuilder_ != null) {
4082 return localSearchOperatorStatisticsBuilder_.getMessageOrBuilderList();
4083 } else {
4084 return java.util.Collections.unmodifiableList(localSearchOperatorStatistics_);
4085 }
4086 }
4095 return getLocalSearchOperatorStatisticsFieldBuilder().addBuilder(
4096 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.getDefaultInstance());
4097 }
4106 int index) {
4107 return getLocalSearchOperatorStatisticsFieldBuilder().addBuilder(
4108 index, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.getDefaultInstance());
4109 }
4117 public java.util.List<com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.Builder>
4119 return getLocalSearchOperatorStatisticsFieldBuilder().getBuilderList();
4120 }
4121 private com.google.protobuf.RepeatedFieldBuilder<
4122 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.Builder, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatisticsOrBuilder>
4123 getLocalSearchOperatorStatisticsFieldBuilder() {
4124 if (localSearchOperatorStatisticsBuilder_ == null) {
4125 localSearchOperatorStatisticsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
4126 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.Builder, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatisticsOrBuilder>(
4127 localSearchOperatorStatistics_,
4128 ((bitField0_ & 0x00000002) != 0),
4129 getParentForChildren(),
4130 isClean());
4131 localSearchOperatorStatistics_ = null;
4132 }
4133 return localSearchOperatorStatisticsBuilder_;
4134 }
4135
4136 private long totalNumNeighbors_ ;
4145 @java.lang.Override
4146 public long getTotalNumNeighbors() {
4147 return totalNumNeighbors_;
4148 }
4158 public Builder setTotalNumNeighbors(long value) {
4159
4160 totalNumNeighbors_ = value;
4161 bitField0_ |= 0x00000004;
4162 onChanged();
4163 return this;
4164 }
4174 bitField0_ = (bitField0_ & ~0x00000004);
4175 totalNumNeighbors_ = 0L;
4176 onChanged();
4177 return this;
4178 }
4179
4180 private long totalNumFilteredNeighbors_ ;
4185 @java.lang.Override
4187 return totalNumFilteredNeighbors_;
4188 }
4195
4196 totalNumFilteredNeighbors_ = value;
4197 bitField0_ |= 0x00000008;
4198 onChanged();
4199 return this;
4200 }
4206 bitField0_ = (bitField0_ & ~0x00000008);
4207 totalNumFilteredNeighbors_ = 0L;
4208 onChanged();
4209 return this;
4210 }
4211
4212 private long totalNumAcceptedNeighbors_ ;
4217 @java.lang.Override
4219 return totalNumAcceptedNeighbors_;
4220 }
4227
4228 totalNumAcceptedNeighbors_ = value;
4229 bitField0_ |= 0x00000010;
4230 onChanged();
4231 return this;
4232 }
4238 bitField0_ = (bitField0_ & ~0x00000010);
4239 totalNumAcceptedNeighbors_ = 0L;
4240 onChanged();
4241 return this;
4242 }
4243
4244 private java.util.List<com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics> localSearchFilterStatistics_ =
4245 java.util.Collections.emptyList();
4246 private void ensureLocalSearchFilterStatisticsIsMutable() {
4247 if (!((bitField0_ & 0x00000020) != 0)) {
4248 localSearchFilterStatistics_ = new java.util.ArrayList<com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics>(localSearchFilterStatistics_);
4249 bitField0_ |= 0x00000020;
4250 }
4251 }
4252
4253 private com.google.protobuf.RepeatedFieldBuilder<
4254 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.Builder, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatisticsOrBuilder> localSearchFilterStatisticsBuilder_;
4255
4263 public java.util.List<com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics> getLocalSearchFilterStatisticsList() {
4264 if (localSearchFilterStatisticsBuilder_ == null) {
4265 return java.util.Collections.unmodifiableList(localSearchFilterStatistics_);
4266 } else {
4267 return localSearchFilterStatisticsBuilder_.getMessageList();
4268 }
4269 }
4278 if (localSearchFilterStatisticsBuilder_ == null) {
4279 return localSearchFilterStatistics_.size();
4280 } else {
4281 return localSearchFilterStatisticsBuilder_.getCount();
4282 }
4283 }
4292 if (localSearchFilterStatisticsBuilder_ == null) {
4293 return localSearchFilterStatistics_.get(index);
4294 } else {
4295 return localSearchFilterStatisticsBuilder_.getMessage(index);
4296 }
4297 }
4306 int index, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics value) {
4307 if (localSearchFilterStatisticsBuilder_ == null) {
4308 if (value == null) {
4309 throw new NullPointerException();
4310 }
4311 ensureLocalSearchFilterStatisticsIsMutable();
4312 localSearchFilterStatistics_.set(index, value);
4313 onChanged();
4314 } else {
4315 localSearchFilterStatisticsBuilder_.setMessage(index, value);
4316 }
4317 return this;
4318 }
4327 int index, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.Builder builderForValue) {
4328 if (localSearchFilterStatisticsBuilder_ == null) {
4329 ensureLocalSearchFilterStatisticsIsMutable();
4330 localSearchFilterStatistics_.set(index, builderForValue.build());
4331 onChanged();
4332 } else {
4333 localSearchFilterStatisticsBuilder_.setMessage(index, builderForValue.build());
4334 }
4335 return this;
4336 }
4344 public Builder addLocalSearchFilterStatistics(com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics value) {
4345 if (localSearchFilterStatisticsBuilder_ == null) {
4346 if (value == null) {
4347 throw new NullPointerException();
4348 }
4349 ensureLocalSearchFilterStatisticsIsMutable();
4350 localSearchFilterStatistics_.add(value);
4351 onChanged();
4352 } else {
4353 localSearchFilterStatisticsBuilder_.addMessage(value);
4354 }
4355 return this;
4356 }
4365 int index, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics value) {
4366 if (localSearchFilterStatisticsBuilder_ == null) {
4367 if (value == null) {
4368 throw new NullPointerException();
4369 }
4370 ensureLocalSearchFilterStatisticsIsMutable();
4371 localSearchFilterStatistics_.add(index, value);
4372 onChanged();
4373 } else {
4374 localSearchFilterStatisticsBuilder_.addMessage(index, value);
4375 }
4376 return this;
4377 }
4386 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.Builder builderForValue) {
4387 if (localSearchFilterStatisticsBuilder_ == null) {
4388 ensureLocalSearchFilterStatisticsIsMutable();
4389 localSearchFilterStatistics_.add(builderForValue.build());
4390 onChanged();
4391 } else {
4392 localSearchFilterStatisticsBuilder_.addMessage(builderForValue.build());
4393 }
4394 return this;
4395 }
4404 int index, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.Builder builderForValue) {
4405 if (localSearchFilterStatisticsBuilder_ == null) {
4406 ensureLocalSearchFilterStatisticsIsMutable();
4407 localSearchFilterStatistics_.add(index, builderForValue.build());
4408 onChanged();
4409 } else {
4410 localSearchFilterStatisticsBuilder_.addMessage(index, builderForValue.build());
4411 }
4412 return this;
4413 }
4422 java.lang.Iterable<? extends com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics> values) {
4423 if (localSearchFilterStatisticsBuilder_ == null) {
4424 ensureLocalSearchFilterStatisticsIsMutable();
4425 com.google.protobuf.AbstractMessageLite.Builder.addAll(
4426 values, localSearchFilterStatistics_);
4427 onChanged();
4428 } else {
4429 localSearchFilterStatisticsBuilder_.addAllMessages(values);
4430 }
4431 return this;
4432 }
4441 if (localSearchFilterStatisticsBuilder_ == null) {
4442 localSearchFilterStatistics_ = java.util.Collections.emptyList();
4443 bitField0_ = (bitField0_ & ~0x00000020);
4444 onChanged();
4445 } else {
4446 localSearchFilterStatisticsBuilder_.clear();
4447 }
4448 return this;
4449 }
4458 if (localSearchFilterStatisticsBuilder_ == null) {
4459 ensureLocalSearchFilterStatisticsIsMutable();
4460 localSearchFilterStatistics_.remove(index);
4461 onChanged();
4462 } else {
4463 localSearchFilterStatisticsBuilder_.remove(index);
4464 }
4465 return this;
4466 }
4475 int index) {
4476 return getLocalSearchFilterStatisticsFieldBuilder().getBuilder(index);
4477 }
4486 int index) {
4487 if (localSearchFilterStatisticsBuilder_ == null) {
4488 return localSearchFilterStatistics_.get(index); } else {
4489 return localSearchFilterStatisticsBuilder_.getMessageOrBuilder(index);
4490 }
4491 }
4499 public java.util.List<? extends com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatisticsOrBuilder>
4501 if (localSearchFilterStatisticsBuilder_ != null) {
4502 return localSearchFilterStatisticsBuilder_.getMessageOrBuilderList();
4503 } else {
4504 return java.util.Collections.unmodifiableList(localSearchFilterStatistics_);
4505 }
4506 }
4515 return getLocalSearchFilterStatisticsFieldBuilder().addBuilder(
4516 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.getDefaultInstance());
4517 }
4526 int index) {
4527 return getLocalSearchFilterStatisticsFieldBuilder().addBuilder(
4528 index, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.getDefaultInstance());
4529 }
4537 public java.util.List<com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.Builder>
4539 return getLocalSearchFilterStatisticsFieldBuilder().getBuilderList();
4540 }
4541 private com.google.protobuf.RepeatedFieldBuilder<
4542 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.Builder, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatisticsOrBuilder>
4543 getLocalSearchFilterStatisticsFieldBuilder() {
4544 if (localSearchFilterStatisticsBuilder_ == null) {
4545 localSearchFilterStatisticsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
4546 com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.Builder, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatisticsOrBuilder>(
4547 localSearchFilterStatistics_,
4548 ((bitField0_ & 0x00000020) != 0),
4549 getParentForChildren(),
4550 isClean());
4551 localSearchFilterStatistics_ = null;
4552 }
4553 return localSearchFilterStatisticsBuilder_;
4554 }
4555
4556 // @@protoc_insertion_point(builder_scope:operations_research.LocalSearchStatistics)
4557 }
4558
4559 // @@protoc_insertion_point(class_scope:operations_research.LocalSearchStatistics)
4560 private static final com.google.ortools.constraintsolver.LocalSearchStatistics DEFAULT_INSTANCE;
4561 static {
4562 DEFAULT_INSTANCE = new com.google.ortools.constraintsolver.LocalSearchStatistics();
4563 }
4564
4566 return DEFAULT_INSTANCE;
4567 }
4568
4569 private static final com.google.protobuf.Parser<LocalSearchStatistics>
4570 PARSER = new com.google.protobuf.AbstractParser<LocalSearchStatistics>() {
4571 @java.lang.Override
4572 public LocalSearchStatistics parsePartialFrom(
4573 com.google.protobuf.CodedInputStream input,
4574 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4575 throws com.google.protobuf.InvalidProtocolBufferException {
4576 Builder builder = newBuilder();
4577 try {
4578 builder.mergeFrom(input, extensionRegistry);
4579 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
4580 throw e.setUnfinishedMessage(builder.buildPartial());
4581 } catch (com.google.protobuf.UninitializedMessageException e) {
4582 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
4583 } catch (java.io.IOException e) {
4584 throw new com.google.protobuf.InvalidProtocolBufferException(e)
4585 .setUnfinishedMessage(builder.buildPartial());
4586 }
4587 return builder.buildPartial();
4588 }
4589 };
4590
4591 public static com.google.protobuf.Parser<LocalSearchStatistics> parser() {
4592 return PARSER;
4593 }
4594
4595 @java.lang.Override
4596 public com.google.protobuf.Parser<LocalSearchStatistics> getParserForType() {
4597 return PARSER;
4598 }
4599
4600 @java.lang.Override
4604
4605}
4606
Builder addLocalSearchFilterStatistics(com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics value)
com.google.ortools.constraintsolver.LocalSearchStatistics buildPartial()
com.google.ortools.constraintsolver.LocalSearchStatistics getDefaultInstanceForType()
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.Builder addLocalSearchOperatorStatisticsBuilder(int index)
Builder setFirstSolutionStatistics(int index, com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics value)
java.util.List<? extends com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatisticsOrBuilder > getFirstSolutionStatisticsOrBuilderList()
Builder addLocalSearchOperatorStatistics(int index, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.Builder builderForValue)
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatisticsOrBuilder getFirstSolutionStatisticsOrBuilder(int index)
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatisticsOrBuilder getLocalSearchFilterStatisticsOrBuilder(int index)
Builder addLocalSearchOperatorStatistics(com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.Builder builderForValue)
java.util.List< com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics > getLocalSearchFilterStatisticsList()
Builder addAllLocalSearchFilterStatistics(java.lang.Iterable<? extends com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics > values)
java.util.List< com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics > getFirstSolutionStatisticsList()
Builder addAllFirstSolutionStatistics(java.lang.Iterable<? extends com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics > values)
Builder setLocalSearchOperatorStatistics(int index, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics value)
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics getLocalSearchFilterStatistics(int index)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Builder addLocalSearchFilterStatistics(com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.Builder builderForValue)
Builder addLocalSearchOperatorStatistics(int index, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics value)
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.Builder getLocalSearchOperatorStatisticsBuilder(int index)
Builder addAllLocalSearchOperatorStatistics(java.lang.Iterable<? extends com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics > values)
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.Builder addLocalSearchFilterStatisticsBuilder()
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatisticsOrBuilder getLocalSearchOperatorStatisticsOrBuilder(int index)
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.Builder addLocalSearchFilterStatisticsBuilder(int index)
Builder setLocalSearchOperatorStatistics(int index, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.Builder builderForValue)
Builder addLocalSearchFilterStatistics(int index, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.Builder builderForValue)
Builder addFirstSolutionStatistics(com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics value)
Builder addLocalSearchFilterStatistics(int index, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics value)
java.util.List<? extends com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatisticsOrBuilder > getLocalSearchFilterStatisticsOrBuilderList()
com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.Builder addFirstSolutionStatisticsBuilder(int index)
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.Builder getLocalSearchFilterStatisticsBuilder(int index)
com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.Builder getFirstSolutionStatisticsBuilder(int index)
java.util.List< com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.Builder > getLocalSearchFilterStatisticsBuilderList()
Builder mergeFrom(com.google.ortools.constraintsolver.LocalSearchStatistics other)
com.google.ortools.constraintsolver.LocalSearchStatistics build()
java.util.List< com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.Builder > getFirstSolutionStatisticsBuilderList()
java.util.List< com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics > getLocalSearchOperatorStatisticsList()
com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.Builder addFirstSolutionStatisticsBuilder()
java.util.List< com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.Builder > getLocalSearchOperatorStatisticsBuilderList()
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics getLocalSearchOperatorStatistics(int index)
Builder setLocalSearchFilterStatistics(int index, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics value)
Builder addFirstSolutionStatistics(com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.Builder builderForValue)
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics.Builder addLocalSearchOperatorStatisticsBuilder()
java.util.List<? extends com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatisticsOrBuilder > getLocalSearchOperatorStatisticsOrBuilderList()
com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics getFirstSolutionStatistics(int index)
Builder addFirstSolutionStatistics(int index, com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics value)
Builder setFirstSolutionStatistics(int index, com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.Builder builderForValue)
Builder addLocalSearchOperatorStatistics(com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics value)
Builder addFirstSolutionStatistics(int index, com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics.Builder builderForValue)
Builder setLocalSearchFilterStatistics(int index, com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics.Builder builderForValue)
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics buildPartial()
com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics getDefaultInstanceForType()
com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics build()
Builder mergeFrom(com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics other)
static com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
static com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics parseDelimitedFrom(java.io.InputStream input)
static com.google.protobuf.Parser< FirstSolutionStatistics > parser()
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics getDefaultInstanceForType()
static com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics parseFrom(java.nio.ByteBuffer data)
static com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics parseFrom(java.io.InputStream input)
static com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics parseFrom(com.google.protobuf.CodedInputStream input)
static com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics parseFrom(com.google.protobuf.ByteString data)
static com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics parseFrom(byte[] data)
static com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics getDefaultInstance()
static Builder newBuilder(com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics prototype)
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics getDefaultInstanceForType()
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics buildPartial()
Builder mergeFrom(com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics other)
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics build()
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics getDefaultInstanceForType()
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics parseFrom(byte[] data)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics parseFrom(com.google.protobuf.CodedInputStream input)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Builder newBuilder(com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics prototype)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics parseFrom(com.google.protobuf.ByteString data)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics parseFrom(java.io.InputStream input)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics parseDelimitedFrom(java.io.InputStream input)
static com.google.protobuf.Parser< LocalSearchFilterStatistics > parser()
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics getDefaultInstance()
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics parseFrom(java.nio.ByteBuffer data)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics getDefaultInstanceForType()
Builder mergeFrom(com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics other)
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics build()
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics buildPartial()
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics parseFrom(byte[] data)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser< LocalSearchOperatorStatistics > parser()
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics parseFrom(java.io.InputStream input)
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics getDefaultInstanceForType()
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics parseFrom(com.google.protobuf.CodedInputStream input)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics parseFrom(com.google.protobuf.ByteString data)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics parseFrom(java.nio.ByteBuffer data)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics parseDelimitedFrom(java.io.InputStream input)
static Builder newBuilder(com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics prototype)
static com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics getDefaultInstance()
static com.google.protobuf.Parser< LocalSearchStatistics > parser()
static com.google.ortools.constraintsolver.LocalSearchStatistics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.constraintsolver.LocalSearchStatistics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
java.util.List< com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics > getLocalSearchOperatorStatisticsList()
java.util.List< com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics > getLocalSearchFilterStatisticsList()
com.google.protobuf.Parser< LocalSearchStatistics > getParserForType()
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatistics getLocalSearchFilterStatistics(int index)
com.google.ortools.constraintsolver.LocalSearchStatistics getDefaultInstanceForType()
static com.google.ortools.constraintsolver.LocalSearchStatistics parseFrom(com.google.protobuf.ByteString data)
static com.google.ortools.constraintsolver.LocalSearchStatistics parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.constraintsolver.LocalSearchStatistics parseFrom(com.google.protobuf.CodedInputStream input)
java.util.List<? extends com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatisticsOrBuilder > getFirstSolutionStatisticsOrBuilderList()
static com.google.ortools.constraintsolver.LocalSearchStatistics parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.constraintsolver.LocalSearchStatistics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatisticsOrBuilder getLocalSearchFilterStatisticsOrBuilder(int index)
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatisticsOrBuilder getLocalSearchOperatorStatisticsOrBuilder(int index)
static Builder newBuilder(com.google.ortools.constraintsolver.LocalSearchStatistics prototype)
static com.google.ortools.constraintsolver.LocalSearchStatistics getDefaultInstance()
static com.google.ortools.constraintsolver.LocalSearchStatistics parseFrom(java.nio.ByteBuffer data)
static com.google.ortools.constraintsolver.LocalSearchStatistics parseDelimitedFrom(java.io.InputStream input)
static com.google.ortools.constraintsolver.LocalSearchStatistics parseFrom(byte[] data)
static com.google.ortools.constraintsolver.LocalSearchStatistics parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatistics getLocalSearchOperatorStatistics(int index)
com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatisticsOrBuilder getFirstSolutionStatisticsOrBuilder(int index)
java.util.List< com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics > getFirstSolutionStatisticsList()
static com.google.ortools.constraintsolver.LocalSearchStatistics parseFrom(java.io.InputStream input)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
java.util.List<? extends com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchFilterStatisticsOrBuilder > getLocalSearchFilterStatisticsOrBuilderList()
java.util.List<? extends com.google.ortools.constraintsolver.LocalSearchStatistics.LocalSearchOperatorStatisticsOrBuilder > getLocalSearchOperatorStatisticsOrBuilderList()
void writeTo(com.google.protobuf.CodedOutputStream output)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
com.google.ortools.constraintsolver.LocalSearchStatistics.FirstSolutionStatistics getFirstSolutionStatistics(int index)