Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Lrat.java
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/sat/lrat.proto
4// Protobuf Java Version: 4.33.1
5
6package operations_research.sat;
7
8@com.google.protobuf.Generated
9public final class Lrat extends com.google.protobuf.GeneratedFile {
10 private Lrat() {}
11 static {
12 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
13 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
14 /* major= */ 4,
15 /* minor= */ 33,
16 /* patch= */ 1,
17 /* suffix= */ "",
18 "Lrat");
19 }
20 public static void registerAllExtensions(
21 com.google.protobuf.ExtensionRegistryLite registry) {
22 }
23
24 public static void registerAllExtensions(
25 com.google.protobuf.ExtensionRegistry registry) {
27 (com.google.protobuf.ExtensionRegistryLite) registry);
28 }
29 public interface LratImportedClauseOrBuilder extends
30 // @@protoc_insertion_point(interface_extends:operations_research.sat.LratImportedClause)
31 com.google.protobuf.MessageOrBuilder {
32
37 boolean hasClauseId();
43
48 java.util.List<java.lang.Integer> getLiteralsList();
59 int getLiterals(int index);
60 }
61
68 public static final class LratImportedClause extends
69 com.google.protobuf.GeneratedMessage implements
70 // @@protoc_insertion_point(message_implements:operations_research.sat.LratImportedClause)
72 private static final long serialVersionUID = 0L;
73 static {
74 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
75 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
76 /* major= */ 4,
77 /* minor= */ 33,
78 /* patch= */ 1,
79 /* suffix= */ "",
80 "LratImportedClause");
81 }
82 // Use LratImportedClause.newBuilder() to construct.
83 private LratImportedClause(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
84 super(builder);
85 }
86 private LratImportedClause() {
87 literals_ = emptyIntList();
88 }
89
90 public static final com.google.protobuf.Descriptors.Descriptor
92 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratImportedClause_descriptor;
93 }
94
95 @java.lang.Override
96 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
98 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratImportedClause_fieldAccessorTable
99 .ensureFieldAccessorsInitialized(
100 operations_research.sat.Lrat.LratImportedClause.class, operations_research.sat.Lrat.LratImportedClause.Builder.class);
101 }
102
103 private int bitField0_;
104 public static final int CLAUSE_ID_FIELD_NUMBER = 1;
105 private long clauseId_ = 0L;
110 @java.lang.Override
111 public boolean hasClauseId() {
112 return ((bitField0_ & 0x00000001) != 0);
113 }
114
118 @java.lang.Override
119 public long getClauseId() {
120 return clauseId_;
121 }
122
123 public static final int LITERALS_FIELD_NUMBER = 2;
124 @SuppressWarnings("serial")
125 private com.google.protobuf.Internal.IntList literals_ =
126 emptyIntList();
131 @java.lang.Override
132 public java.util.List<java.lang.Integer>
134 return literals_;
135 }
136
140 public int getLiteralsCount() {
141 return literals_.size();
142 }
143
148 public int getLiterals(int index) {
149 return literals_.getInt(index);
150 }
151 private int literalsMemoizedSerializedSize = -1;
152
153 private byte memoizedIsInitialized = -1;
154 @java.lang.Override
155 public final boolean isInitialized() {
156 byte isInitialized = memoizedIsInitialized;
157 if (isInitialized == 1) return true;
158 if (isInitialized == 0) return false;
159
160 memoizedIsInitialized = 1;
161 return true;
162 }
163
164 @java.lang.Override
165 public void writeTo(com.google.protobuf.CodedOutputStream output)
166 throws java.io.IOException {
168 if (((bitField0_ & 0x00000001) != 0)) {
169 output.writeInt64(1, clauseId_);
170 }
171 if (getLiteralsList().size() > 0) {
172 output.writeUInt32NoTag(18);
173 output.writeUInt32NoTag(literalsMemoizedSerializedSize);
174 }
175 for (int i = 0; i < literals_.size(); i++) {
176 output.writeInt32NoTag(literals_.getInt(i));
177 }
178 getUnknownFields().writeTo(output);
179 }
180
181 @java.lang.Override
182 public int getSerializedSize() {
183 int size = memoizedSize;
184 if (size != -1) return size;
185
186 size = 0;
187 if (((bitField0_ & 0x00000001) != 0)) {
188 size += com.google.protobuf.CodedOutputStream
189 .computeInt64Size(1, clauseId_);
190 }
191 {
192 int dataSize = 0;
193 for (int i = 0; i < literals_.size(); i++) {
194 dataSize += com.google.protobuf.CodedOutputStream
195 .computeInt32SizeNoTag(literals_.getInt(i));
196 }
197 size += dataSize;
198 if (!getLiteralsList().isEmpty()) {
199 size += 1;
200 size += com.google.protobuf.CodedOutputStream
201 .computeInt32SizeNoTag(dataSize);
202 }
203 literalsMemoizedSerializedSize = dataSize;
204 }
205 size += getUnknownFields().getSerializedSize();
206 memoizedSize = size;
207 return size;
208 }
209
210 @java.lang.Override
211 public boolean equals(final java.lang.Object obj) {
212 if (obj == this) {
213 return true;
214 }
215 if (!(obj instanceof operations_research.sat.Lrat.LratImportedClause)) {
216 return super.equals(obj);
217 }
218 operations_research.sat.Lrat.LratImportedClause other = (operations_research.sat.Lrat.LratImportedClause) obj;
219
220 if (hasClauseId() != other.hasClauseId()) return false;
221 if (hasClauseId()) {
222 if (getClauseId()
223 != other.getClauseId()) return false;
224 }
225 if (!getLiteralsList()
226 .equals(other.getLiteralsList())) return false;
227 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
228 return true;
229 }
230
231 @java.lang.Override
232 public int hashCode() {
233 if (memoizedHashCode != 0) {
234 return memoizedHashCode;
235 }
236 int hash = 41;
237 hash = (19 * hash) + getDescriptor().hashCode();
238 if (hasClauseId()) {
239 hash = (37 * hash) + CLAUSE_ID_FIELD_NUMBER;
240 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
241 getClauseId());
242 }
243 if (getLiteralsCount() > 0) {
244 hash = (37 * hash) + LITERALS_FIELD_NUMBER;
245 hash = (53 * hash) + getLiteralsList().hashCode();
246 }
247 hash = (29 * hash) + getUnknownFields().hashCode();
248 memoizedHashCode = hash;
249 return hash;
250 }
251
253 java.nio.ByteBuffer data)
254 throws com.google.protobuf.InvalidProtocolBufferException {
255 return PARSER.parseFrom(data);
256 }
258 java.nio.ByteBuffer data,
259 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
260 throws com.google.protobuf.InvalidProtocolBufferException {
261 return PARSER.parseFrom(data, extensionRegistry);
262 }
264 com.google.protobuf.ByteString data)
265 throws com.google.protobuf.InvalidProtocolBufferException {
266 return PARSER.parseFrom(data);
267 }
269 com.google.protobuf.ByteString data,
270 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
271 throws com.google.protobuf.InvalidProtocolBufferException {
272 return PARSER.parseFrom(data, extensionRegistry);
273 }
275 throws com.google.protobuf.InvalidProtocolBufferException {
276 return PARSER.parseFrom(data);
277 }
279 byte[] data,
280 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
281 throws com.google.protobuf.InvalidProtocolBufferException {
282 return PARSER.parseFrom(data, extensionRegistry);
283 }
284 public static operations_research.sat.Lrat.LratImportedClause parseFrom(java.io.InputStream input)
285 throws java.io.IOException {
286 return com.google.protobuf.GeneratedMessage
287 .parseWithIOException(PARSER, input);
288 }
290 java.io.InputStream input,
291 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
292 throws java.io.IOException {
293 return com.google.protobuf.GeneratedMessage
294 .parseWithIOException(PARSER, input, extensionRegistry);
295 }
296
298 throws java.io.IOException {
299 return com.google.protobuf.GeneratedMessage
300 .parseDelimitedWithIOException(PARSER, input);
301 }
302
304 java.io.InputStream input,
305 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
306 throws java.io.IOException {
307 return com.google.protobuf.GeneratedMessage
308 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
309 }
311 com.google.protobuf.CodedInputStream input)
312 throws java.io.IOException {
313 return com.google.protobuf.GeneratedMessage
314 .parseWithIOException(PARSER, input);
315 }
317 com.google.protobuf.CodedInputStream input,
318 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
319 throws java.io.IOException {
320 return com.google.protobuf.GeneratedMessage
321 .parseWithIOException(PARSER, input, extensionRegistry);
322 }
323
324 @java.lang.Override
325 public Builder newBuilderForType() { return newBuilder(); }
326 public static Builder newBuilder() {
327 return DEFAULT_INSTANCE.toBuilder();
328 }
329 public static Builder newBuilder(operations_research.sat.Lrat.LratImportedClause prototype) {
330 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
331 }
332 @java.lang.Override
334 return this == DEFAULT_INSTANCE
335 ? new Builder() : new Builder().mergeFrom(this);
336 }
337
338 @java.lang.Override
340 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
341 Builder builder = new Builder(parent);
342 return builder;
343 }
344
351 public static final class Builder extends
352 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
353 // @@protoc_insertion_point(builder_implements:operations_research.sat.LratImportedClause)
354 operations_research.sat.Lrat.LratImportedClauseOrBuilder {
355 public static final com.google.protobuf.Descriptors.Descriptor
357 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratImportedClause_descriptor;
358 }
359
360 @java.lang.Override
361 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
363 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratImportedClause_fieldAccessorTable
364 .ensureFieldAccessorsInitialized(
365 operations_research.sat.Lrat.LratImportedClause.class, operations_research.sat.Lrat.LratImportedClause.Builder.class);
366 }
367
368 // Construct using operations_research.sat.Lrat.LratImportedClause.newBuilder()
369 private Builder() {
370
371 }
372
373 private Builder(
374 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
375 super(parent);
376
377 }
378 @java.lang.Override
379 public Builder clear() {
380 super.clear();
381 bitField0_ = 0;
382 clauseId_ = 0L;
383 literals_ = emptyIntList();
384 return this;
385 }
386
387 @java.lang.Override
388 public com.google.protobuf.Descriptors.Descriptor
390 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratImportedClause_descriptor;
391 }
392
393 @java.lang.Override
395 return operations_research.sat.Lrat.LratImportedClause.getDefaultInstance();
396 }
397
398 @java.lang.Override
401 if (!result.isInitialized()) {
402 throw newUninitializedMessageException(result);
403 }
404 return result;
405 }
406
407 @java.lang.Override
409 operations_research.sat.Lrat.LratImportedClause result = new operations_research.sat.Lrat.LratImportedClause(this);
410 if (bitField0_ != 0) { buildPartial0(result); }
411 onBuilt();
412 return result;
413 }
414
415 private void buildPartial0(operations_research.sat.Lrat.LratImportedClause result) {
416 int from_bitField0_ = bitField0_;
417 int to_bitField0_ = 0;
418 if (((from_bitField0_ & 0x00000001) != 0)) {
419 result.clauseId_ = clauseId_;
420 to_bitField0_ |= 0x00000001;
421 }
422 if (((from_bitField0_ & 0x00000002) != 0)) {
423 literals_.makeImmutable();
424 result.literals_ = literals_;
425 }
426 result.bitField0_ |= to_bitField0_;
427 }
428
429 @java.lang.Override
430 public Builder mergeFrom(com.google.protobuf.Message other) {
431 if (other instanceof operations_research.sat.Lrat.LratImportedClause) {
432 return mergeFrom((operations_research.sat.Lrat.LratImportedClause)other);
433 } else {
434 super.mergeFrom(other);
435 return this;
436 }
437 }
438
439 public Builder mergeFrom(operations_research.sat.Lrat.LratImportedClause other) {
440 if (other == operations_research.sat.Lrat.LratImportedClause.getDefaultInstance()) return this;
441 if (other.hasClauseId()) {
442 setClauseId(other.getClauseId());
443 }
444 if (!other.literals_.isEmpty()) {
445 if (literals_.isEmpty()) {
446 literals_ = other.literals_;
447 literals_.makeImmutable();
448 bitField0_ |= 0x00000002;
449 } else {
450 ensureLiteralsIsMutable();
451 literals_.addAll(other.literals_);
452 }
453 onChanged();
454 }
455 this.mergeUnknownFields(other.getUnknownFields());
456 onChanged();
457 return this;
458 }
459
460 @java.lang.Override
461 public final boolean isInitialized() {
462 return true;
463 }
464
465 @java.lang.Override
466 public Builder mergeFrom(
467 com.google.protobuf.CodedInputStream input,
468 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
469 throws java.io.IOException {
470 if (extensionRegistry == null) {
471 throw new java.lang.NullPointerException();
472 }
473 try {
474 boolean done = false;
475 while (!done) {
476 int tag = input.readTag();
477 switch (tag) {
478 case 0:
479 done = true;
480 break;
481 case 8: {
482 clauseId_ = input.readInt64();
483 bitField0_ |= 0x00000001;
484 break;
485 } // case 8
486 case 16: {
487 int v = input.readInt32();
488 ensureLiteralsIsMutable();
489 literals_.addInt(v);
490 break;
491 } // case 16
492 case 18: {
493 int length = input.readRawVarint32();
494 int limit = input.pushLimit(length);
495 ensureLiteralsIsMutable();
496 while (input.getBytesUntilLimit() > 0) {
497 literals_.addInt(input.readInt32());
498 }
499 input.popLimit(limit);
500 break;
501 } // case 18
502 default: {
503 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
504 done = true; // was an endgroup tag
505 }
506 break;
507 } // default:
508 } // switch (tag)
509 } // while (!done)
510 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
511 throw e.unwrapIOException();
512 } finally {
513 onChanged();
514 } // finally
515 return this;
516 }
517 private int bitField0_;
518
519 private long clauseId_ ;
524 @java.lang.Override
525 public boolean hasClauseId() {
526 return ((bitField0_ & 0x00000001) != 0);
527 }
528
532 @java.lang.Override
533 public long getClauseId() {
534 return clauseId_;
535 }
536
541 public Builder setClauseId(long value) {
542
543 clauseId_ = value;
544 bitField0_ |= 0x00000001;
545 onChanged();
546 return this;
547 }
548
552 public Builder clearClauseId() {
553 bitField0_ = (bitField0_ & ~0x00000001);
554 clauseId_ = 0L;
555 onChanged();
556 return this;
557 }
558
559 private com.google.protobuf.Internal.IntList literals_ = emptyIntList();
560 private void ensureLiteralsIsMutable() {
561 if (!literals_.isModifiable()) {
562 literals_ = makeMutableCopy(literals_);
563 }
564 bitField0_ |= 0x00000002;
565 }
570 public java.util.List<java.lang.Integer>
572 literals_.makeImmutable();
573 return literals_;
574 }
575
579 public int getLiteralsCount() {
580 return literals_.size();
581 }
582
587 public int getLiterals(int index) {
588 return literals_.getInt(index);
589 }
590
596 public Builder setLiterals(
597 int index, int value) {
598
599 ensureLiteralsIsMutable();
600 literals_.setInt(index, value);
601 bitField0_ |= 0x00000002;
602 onChanged();
603 return this;
604 }
605
610 public Builder addLiterals(int value) {
611
612 ensureLiteralsIsMutable();
613 literals_.addInt(value);
614 bitField0_ |= 0x00000002;
615 onChanged();
616 return this;
617 }
618
623 public Builder addAllLiterals(
624 java.lang.Iterable<? extends java.lang.Integer> values) {
625 ensureLiteralsIsMutable();
626 com.google.protobuf.AbstractMessageLite.Builder.addAll(
627 values, literals_);
628 bitField0_ |= 0x00000002;
629 onChanged();
630 return this;
631 }
632
636 public Builder clearLiterals() {
637 literals_ = emptyIntList();
638 bitField0_ = (bitField0_ & ~0x00000002);
639 onChanged();
640 return this;
641 }
642
643 // @@protoc_insertion_point(builder_scope:operations_research.sat.LratImportedClause)
644 }
645
646 // @@protoc_insertion_point(class_scope:operations_research.sat.LratImportedClause)
647 private static final operations_research.sat.Lrat.LratImportedClause DEFAULT_INSTANCE;
648 static {
649 DEFAULT_INSTANCE = new operations_research.sat.Lrat.LratImportedClause();
650 }
651
653 return DEFAULT_INSTANCE;
654 }
655
656 private static final com.google.protobuf.Parser<LratImportedClause>
657 PARSER = new com.google.protobuf.AbstractParser<LratImportedClause>() {
658 @java.lang.Override
659 public LratImportedClause parsePartialFrom(
660 com.google.protobuf.CodedInputStream input,
661 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
662 throws com.google.protobuf.InvalidProtocolBufferException {
663 Builder builder = newBuilder();
664 try {
665 builder.mergeFrom(input, extensionRegistry);
666 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
667 throw e.setUnfinishedMessage(builder.buildPartial());
668 } catch (com.google.protobuf.UninitializedMessageException e) {
669 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
670 } catch (java.io.IOException e) {
671 throw new com.google.protobuf.InvalidProtocolBufferException(e)
672 .setUnfinishedMessage(builder.buildPartial());
673 }
674 return builder.buildPartial();
675 }
676 };
677
678 public static com.google.protobuf.Parser<LratImportedClause> parser() {
679 return PARSER;
680 }
681
682 @java.lang.Override
683 public com.google.protobuf.Parser<LratImportedClause> getParserForType() {
684 return PARSER;
685 }
686
687 @java.lang.Override
691
692 }
693
694 public interface LratInferredClauseOrBuilder extends
695 // @@protoc_insertion_point(interface_extends:operations_research.sat.LratInferredClause)
696 com.google.protobuf.MessageOrBuilder {
697
702 boolean hasClauseId();
708
717 java.util.List<java.lang.Integer> getLiteralsList();
736 int getLiterals(int index);
737
748 java.util.List<java.lang.Long> getUnitIdsList();
771 long getUnitIds(int index);
772
776 java.util.List<operations_research.sat.Lrat.LratInferredClause.RatInfo>
789 java.util.List<? extends operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder>
795 int index);
796
807 boolean hasExported();
818 boolean getExported();
819 }
820
827 public static final class LratInferredClause extends
828 com.google.protobuf.GeneratedMessage implements
829 // @@protoc_insertion_point(message_implements:operations_research.sat.LratInferredClause)
831 private static final long serialVersionUID = 0L;
832 static {
833 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
834 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
835 /* major= */ 4,
836 /* minor= */ 33,
837 /* patch= */ 1,
838 /* suffix= */ "",
839 "LratInferredClause");
840 }
841 // Use LratInferredClause.newBuilder() to construct.
842 private LratInferredClause(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
843 super(builder);
844 }
845 private LratInferredClause() {
846 literals_ = emptyIntList();
847 unitIds_ = emptyLongList();
848 ratInfos_ = java.util.Collections.emptyList();
849 }
850
851 public static final com.google.protobuf.Descriptors.Descriptor
853 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratInferredClause_descriptor;
854 }
855
856 @java.lang.Override
857 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
859 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratInferredClause_fieldAccessorTable
860 .ensureFieldAccessorsInitialized(
861 operations_research.sat.Lrat.LratInferredClause.class, operations_research.sat.Lrat.LratInferredClause.Builder.class);
862 }
863
864 public interface RatInfoOrBuilder extends
865 // @@protoc_insertion_point(interface_extends:operations_research.sat.LratInferredClause.RatInfo)
866 com.google.protobuf.MessageOrBuilder {
867
872 boolean hasResolvantId();
878
883 java.util.List<java.lang.Long> getUnitIdsList();
894 long getUnitIds(int index);
895 }
896
911 public static final class RatInfo extends
912 com.google.protobuf.GeneratedMessage implements
913 // @@protoc_insertion_point(message_implements:operations_research.sat.LratInferredClause.RatInfo)
915 private static final long serialVersionUID = 0L;
916 static {
917 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
918 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
919 /* major= */ 4,
920 /* minor= */ 33,
921 /* patch= */ 1,
922 /* suffix= */ "",
923 "RatInfo");
924 }
925 // Use RatInfo.newBuilder() to construct.
926 private RatInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
927 super(builder);
928 }
929 private RatInfo() {
930 unitIds_ = emptyLongList();
931 }
932
933 public static final com.google.protobuf.Descriptors.Descriptor
935 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratInferredClause_RatInfo_descriptor;
936 }
937
938 @java.lang.Override
939 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
941 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratInferredClause_RatInfo_fieldAccessorTable
942 .ensureFieldAccessorsInitialized(
943 operations_research.sat.Lrat.LratInferredClause.RatInfo.class, operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder.class);
944 }
945
946 private int bitField0_;
947 public static final int RESOLVANT_ID_FIELD_NUMBER = 1;
948 private long resolvantId_ = 0L;
953 @java.lang.Override
954 public boolean hasResolvantId() {
955 return ((bitField0_ & 0x00000001) != 0);
956 }
957
961 @java.lang.Override
962 public long getResolvantId() {
963 return resolvantId_;
964 }
965
966 public static final int UNIT_IDS_FIELD_NUMBER = 2;
967 @SuppressWarnings("serial")
968 private com.google.protobuf.Internal.LongList unitIds_ =
969 emptyLongList();
974 @java.lang.Override
975 public java.util.List<java.lang.Long>
977 return unitIds_;
978 }
979
983 public int getUnitIdsCount() {
984 return unitIds_.size();
985 }
986
991 public long getUnitIds(int index) {
992 return unitIds_.getLong(index);
993 }
994 private int unitIdsMemoizedSerializedSize = -1;
995
996 private byte memoizedIsInitialized = -1;
997 @java.lang.Override
998 public final boolean isInitialized() {
999 byte isInitialized = memoizedIsInitialized;
1000 if (isInitialized == 1) return true;
1001 if (isInitialized == 0) return false;
1002
1003 memoizedIsInitialized = 1;
1004 return true;
1005 }
1006
1007 @java.lang.Override
1008 public void writeTo(com.google.protobuf.CodedOutputStream output)
1009 throws java.io.IOException {
1011 if (((bitField0_ & 0x00000001) != 0)) {
1012 output.writeInt64(1, resolvantId_);
1013 }
1014 if (getUnitIdsList().size() > 0) {
1015 output.writeUInt32NoTag(18);
1016 output.writeUInt32NoTag(unitIdsMemoizedSerializedSize);
1017 }
1018 for (int i = 0; i < unitIds_.size(); i++) {
1019 output.writeInt64NoTag(unitIds_.getLong(i));
1020 }
1021 getUnknownFields().writeTo(output);
1022 }
1023
1024 @java.lang.Override
1025 public int getSerializedSize() {
1026 int size = memoizedSize;
1027 if (size != -1) return size;
1028
1029 size = 0;
1030 if (((bitField0_ & 0x00000001) != 0)) {
1031 size += com.google.protobuf.CodedOutputStream
1032 .computeInt64Size(1, resolvantId_);
1033 }
1034 {
1035 int dataSize = 0;
1036 for (int i = 0; i < unitIds_.size(); i++) {
1037 dataSize += com.google.protobuf.CodedOutputStream
1038 .computeInt64SizeNoTag(unitIds_.getLong(i));
1039 }
1040 size += dataSize;
1041 if (!getUnitIdsList().isEmpty()) {
1042 size += 1;
1043 size += com.google.protobuf.CodedOutputStream
1044 .computeInt32SizeNoTag(dataSize);
1045 }
1046 unitIdsMemoizedSerializedSize = dataSize;
1047 }
1048 size += getUnknownFields().getSerializedSize();
1049 memoizedSize = size;
1050 return size;
1051 }
1052
1053 @java.lang.Override
1054 public boolean equals(final java.lang.Object obj) {
1055 if (obj == this) {
1056 return true;
1057 }
1058 if (!(obj instanceof operations_research.sat.Lrat.LratInferredClause.RatInfo)) {
1059 return super.equals(obj);
1060 }
1061 operations_research.sat.Lrat.LratInferredClause.RatInfo other = (operations_research.sat.Lrat.LratInferredClause.RatInfo) obj;
1062
1063 if (hasResolvantId() != other.hasResolvantId()) return false;
1064 if (hasResolvantId()) {
1065 if (getResolvantId()
1066 != other.getResolvantId()) return false;
1067 }
1068 if (!getUnitIdsList()
1069 .equals(other.getUnitIdsList())) return false;
1070 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
1071 return true;
1072 }
1073
1074 @java.lang.Override
1075 public int hashCode() {
1076 if (memoizedHashCode != 0) {
1077 return memoizedHashCode;
1078 }
1079 int hash = 41;
1080 hash = (19 * hash) + getDescriptor().hashCode();
1081 if (hasResolvantId()) {
1082 hash = (37 * hash) + RESOLVANT_ID_FIELD_NUMBER;
1083 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1084 getResolvantId());
1085 }
1086 if (getUnitIdsCount() > 0) {
1087 hash = (37 * hash) + UNIT_IDS_FIELD_NUMBER;
1088 hash = (53 * hash) + getUnitIdsList().hashCode();
1089 }
1090 hash = (29 * hash) + getUnknownFields().hashCode();
1091 memoizedHashCode = hash;
1092 return hash;
1093 }
1094
1096 java.nio.ByteBuffer data)
1097 throws com.google.protobuf.InvalidProtocolBufferException {
1098 return PARSER.parseFrom(data);
1099 }
1101 java.nio.ByteBuffer data,
1102 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1103 throws com.google.protobuf.InvalidProtocolBufferException {
1104 return PARSER.parseFrom(data, extensionRegistry);
1105 }
1107 com.google.protobuf.ByteString data)
1108 throws com.google.protobuf.InvalidProtocolBufferException {
1109 return PARSER.parseFrom(data);
1110 }
1112 com.google.protobuf.ByteString data,
1113 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1114 throws com.google.protobuf.InvalidProtocolBufferException {
1115 return PARSER.parseFrom(data, extensionRegistry);
1116 }
1118 throws com.google.protobuf.InvalidProtocolBufferException {
1119 return PARSER.parseFrom(data);
1120 }
1122 byte[] data,
1123 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1124 throws com.google.protobuf.InvalidProtocolBufferException {
1125 return PARSER.parseFrom(data, extensionRegistry);
1126 }
1128 throws java.io.IOException {
1129 return com.google.protobuf.GeneratedMessage
1130 .parseWithIOException(PARSER, input);
1131 }
1133 java.io.InputStream input,
1134 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1135 throws java.io.IOException {
1136 return com.google.protobuf.GeneratedMessage
1137 .parseWithIOException(PARSER, input, extensionRegistry);
1138 }
1139
1141 throws java.io.IOException {
1142 return com.google.protobuf.GeneratedMessage
1143 .parseDelimitedWithIOException(PARSER, input);
1144 }
1145
1147 java.io.InputStream input,
1148 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1149 throws java.io.IOException {
1150 return com.google.protobuf.GeneratedMessage
1151 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
1152 }
1154 com.google.protobuf.CodedInputStream input)
1155 throws java.io.IOException {
1156 return com.google.protobuf.GeneratedMessage
1157 .parseWithIOException(PARSER, input);
1158 }
1160 com.google.protobuf.CodedInputStream input,
1161 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1162 throws java.io.IOException {
1163 return com.google.protobuf.GeneratedMessage
1164 .parseWithIOException(PARSER, input, extensionRegistry);
1165 }
1166
1167 @java.lang.Override
1168 public Builder newBuilderForType() { return newBuilder(); }
1169 public static Builder newBuilder() {
1170 return DEFAULT_INSTANCE.toBuilder();
1171 }
1172 public static Builder newBuilder(operations_research.sat.Lrat.LratInferredClause.RatInfo prototype) {
1173 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
1174 }
1175 @java.lang.Override
1177 return this == DEFAULT_INSTANCE
1178 ? new Builder() : new Builder().mergeFrom(this);
1179 }
1180
1181 @java.lang.Override
1183 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1184 Builder builder = new Builder(parent);
1185 return builder;
1186 }
1187
1202 public static final class Builder extends
1203 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
1204 // @@protoc_insertion_point(builder_implements:operations_research.sat.LratInferredClause.RatInfo)
1205 operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder {
1206 public static final com.google.protobuf.Descriptors.Descriptor
1208 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratInferredClause_RatInfo_descriptor;
1209 }
1210
1211 @java.lang.Override
1212 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1214 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratInferredClause_RatInfo_fieldAccessorTable
1215 .ensureFieldAccessorsInitialized(
1216 operations_research.sat.Lrat.LratInferredClause.RatInfo.class, operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder.class);
1217 }
1218
1219 // Construct using operations_research.sat.Lrat.LratInferredClause.RatInfo.newBuilder()
1220 private Builder() {
1221
1222 }
1223
1224 private Builder(
1225 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1226 super(parent);
1227
1228 }
1229 @java.lang.Override
1230 public Builder clear() {
1231 super.clear();
1232 bitField0_ = 0;
1233 resolvantId_ = 0L;
1234 unitIds_ = emptyLongList();
1235 return this;
1236 }
1237
1238 @java.lang.Override
1239 public com.google.protobuf.Descriptors.Descriptor
1241 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratInferredClause_RatInfo_descriptor;
1242 }
1243
1244 @java.lang.Override
1246 return operations_research.sat.Lrat.LratInferredClause.RatInfo.getDefaultInstance();
1247 }
1248
1249 @java.lang.Override
1252 if (!result.isInitialized()) {
1253 throw newUninitializedMessageException(result);
1254 }
1255 return result;
1256 }
1257
1258 @java.lang.Override
1260 operations_research.sat.Lrat.LratInferredClause.RatInfo result = new operations_research.sat.Lrat.LratInferredClause.RatInfo(this);
1261 if (bitField0_ != 0) { buildPartial0(result); }
1262 onBuilt();
1263 return result;
1264 }
1265
1266 private void buildPartial0(operations_research.sat.Lrat.LratInferredClause.RatInfo result) {
1267 int from_bitField0_ = bitField0_;
1268 int to_bitField0_ = 0;
1269 if (((from_bitField0_ & 0x00000001) != 0)) {
1270 result.resolvantId_ = resolvantId_;
1271 to_bitField0_ |= 0x00000001;
1272 }
1273 if (((from_bitField0_ & 0x00000002) != 0)) {
1274 unitIds_.makeImmutable();
1275 result.unitIds_ = unitIds_;
1276 }
1277 result.bitField0_ |= to_bitField0_;
1278 }
1279
1280 @java.lang.Override
1281 public Builder mergeFrom(com.google.protobuf.Message other) {
1282 if (other instanceof operations_research.sat.Lrat.LratInferredClause.RatInfo) {
1283 return mergeFrom((operations_research.sat.Lrat.LratInferredClause.RatInfo)other);
1284 } else {
1285 super.mergeFrom(other);
1286 return this;
1287 }
1288 }
1289
1290 public Builder mergeFrom(operations_research.sat.Lrat.LratInferredClause.RatInfo other) {
1291 if (other == operations_research.sat.Lrat.LratInferredClause.RatInfo.getDefaultInstance()) return this;
1292 if (other.hasResolvantId()) {
1293 setResolvantId(other.getResolvantId());
1294 }
1295 if (!other.unitIds_.isEmpty()) {
1296 if (unitIds_.isEmpty()) {
1297 unitIds_ = other.unitIds_;
1298 unitIds_.makeImmutable();
1299 bitField0_ |= 0x00000002;
1300 } else {
1301 ensureUnitIdsIsMutable();
1302 unitIds_.addAll(other.unitIds_);
1303 }
1304 onChanged();
1305 }
1306 this.mergeUnknownFields(other.getUnknownFields());
1307 onChanged();
1308 return this;
1309 }
1310
1311 @java.lang.Override
1312 public final boolean isInitialized() {
1313 return true;
1314 }
1315
1316 @java.lang.Override
1317 public Builder mergeFrom(
1318 com.google.protobuf.CodedInputStream input,
1319 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1320 throws java.io.IOException {
1321 if (extensionRegistry == null) {
1322 throw new java.lang.NullPointerException();
1323 }
1324 try {
1325 boolean done = false;
1326 while (!done) {
1327 int tag = input.readTag();
1328 switch (tag) {
1329 case 0:
1330 done = true;
1331 break;
1332 case 8: {
1333 resolvantId_ = input.readInt64();
1334 bitField0_ |= 0x00000001;
1335 break;
1336 } // case 8
1337 case 16: {
1338 long v = input.readInt64();
1339 ensureUnitIdsIsMutable();
1340 unitIds_.addLong(v);
1341 break;
1342 } // case 16
1343 case 18: {
1344 int length = input.readRawVarint32();
1345 int limit = input.pushLimit(length);
1346 ensureUnitIdsIsMutable();
1347 while (input.getBytesUntilLimit() > 0) {
1348 unitIds_.addLong(input.readInt64());
1349 }
1350 input.popLimit(limit);
1351 break;
1352 } // case 18
1353 default: {
1354 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1355 done = true; // was an endgroup tag
1356 }
1357 break;
1358 } // default:
1359 } // switch (tag)
1360 } // while (!done)
1361 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1362 throw e.unwrapIOException();
1363 } finally {
1364 onChanged();
1365 } // finally
1366 return this;
1367 }
1368 private int bitField0_;
1369
1370 private long resolvantId_ ;
1375 @java.lang.Override
1376 public boolean hasResolvantId() {
1377 return ((bitField0_ & 0x00000001) != 0);
1378 }
1379
1383 @java.lang.Override
1384 public long getResolvantId() {
1385 return resolvantId_;
1386 }
1387
1392 public Builder setResolvantId(long value) {
1393
1394 resolvantId_ = value;
1395 bitField0_ |= 0x00000001;
1396 onChanged();
1397 return this;
1398 }
1399
1403 public Builder clearResolvantId() {
1404 bitField0_ = (bitField0_ & ~0x00000001);
1405 resolvantId_ = 0L;
1406 onChanged();
1407 return this;
1408 }
1409
1410 private com.google.protobuf.Internal.LongList unitIds_ = emptyLongList();
1411 private void ensureUnitIdsIsMutable() {
1412 if (!unitIds_.isModifiable()) {
1413 unitIds_ = makeMutableCopy(unitIds_);
1414 }
1415 bitField0_ |= 0x00000002;
1416 }
1421 public java.util.List<java.lang.Long>
1423 unitIds_.makeImmutable();
1424 return unitIds_;
1425 }
1426
1430 public int getUnitIdsCount() {
1431 return unitIds_.size();
1432 }
1433
1438 public long getUnitIds(int index) {
1439 return unitIds_.getLong(index);
1440 }
1441
1447 public Builder setUnitIds(
1448 int index, long value) {
1449
1450 ensureUnitIdsIsMutable();
1451 unitIds_.setLong(index, value);
1452 bitField0_ |= 0x00000002;
1453 onChanged();
1454 return this;
1455 }
1456
1461 public Builder addUnitIds(long value) {
1462
1463 ensureUnitIdsIsMutable();
1464 unitIds_.addLong(value);
1465 bitField0_ |= 0x00000002;
1466 onChanged();
1467 return this;
1468 }
1469
1474 public Builder addAllUnitIds(
1475 java.lang.Iterable<? extends java.lang.Long> values) {
1476 ensureUnitIdsIsMutable();
1477 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1478 values, unitIds_);
1479 bitField0_ |= 0x00000002;
1480 onChanged();
1481 return this;
1482 }
1483
1487 public Builder clearUnitIds() {
1488 unitIds_ = emptyLongList();
1489 bitField0_ = (bitField0_ & ~0x00000002);
1490 onChanged();
1491 return this;
1492 }
1493
1494 // @@protoc_insertion_point(builder_scope:operations_research.sat.LratInferredClause.RatInfo)
1495 }
1496
1497 // @@protoc_insertion_point(class_scope:operations_research.sat.LratInferredClause.RatInfo)
1498 private static final operations_research.sat.Lrat.LratInferredClause.RatInfo DEFAULT_INSTANCE;
1499 static {
1500 DEFAULT_INSTANCE = new operations_research.sat.Lrat.LratInferredClause.RatInfo();
1501 }
1502
1504 return DEFAULT_INSTANCE;
1505 }
1506
1507 private static final com.google.protobuf.Parser<RatInfo>
1508 PARSER = new com.google.protobuf.AbstractParser<RatInfo>() {
1509 @java.lang.Override
1510 public RatInfo parsePartialFrom(
1511 com.google.protobuf.CodedInputStream input,
1512 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1513 throws com.google.protobuf.InvalidProtocolBufferException {
1514 Builder builder = newBuilder();
1515 try {
1516 builder.mergeFrom(input, extensionRegistry);
1517 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1518 throw e.setUnfinishedMessage(builder.buildPartial());
1519 } catch (com.google.protobuf.UninitializedMessageException e) {
1520 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1521 } catch (java.io.IOException e) {
1522 throw new com.google.protobuf.InvalidProtocolBufferException(e)
1523 .setUnfinishedMessage(builder.buildPartial());
1524 }
1525 return builder.buildPartial();
1526 }
1527 };
1528
1529 public static com.google.protobuf.Parser<RatInfo> parser() {
1530 return PARSER;
1531 }
1532
1533 @java.lang.Override
1534 public com.google.protobuf.Parser<RatInfo> getParserForType() {
1535 return PARSER;
1536 }
1537
1538 @java.lang.Override
1542
1543 }
1544
1545 private int bitField0_;
1546 public static final int CLAUSE_ID_FIELD_NUMBER = 1;
1547 private long clauseId_ = 0L;
1552 @java.lang.Override
1553 public boolean hasClauseId() {
1554 return ((bitField0_ & 0x00000001) != 0);
1555 }
1556
1560 @java.lang.Override
1561 public long getClauseId() {
1562 return clauseId_;
1563 }
1564
1565 public static final int LITERALS_FIELD_NUMBER = 2;
1566 @SuppressWarnings("serial")
1567 private com.google.protobuf.Internal.IntList literals_ =
1568 emptyIntList();
1577 @java.lang.Override
1578 public java.util.List<java.lang.Integer>
1580 return literals_;
1581 }
1582
1590 public int getLiteralsCount() {
1591 return literals_.size();
1592 }
1593
1602 public int getLiterals(int index) {
1603 return literals_.getInt(index);
1604 }
1605 private int literalsMemoizedSerializedSize = -1;
1606
1607 public static final int UNIT_IDS_FIELD_NUMBER = 3;
1608 @SuppressWarnings("serial")
1609 private com.google.protobuf.Internal.LongList unitIds_ =
1610 emptyLongList();
1621 @java.lang.Override
1622 public java.util.List<java.lang.Long>
1624 return unitIds_;
1625 }
1626
1636 public int getUnitIdsCount() {
1637 return unitIds_.size();
1638 }
1639
1650 public long getUnitIds(int index) {
1651 return unitIds_.getLong(index);
1652 }
1653 private int unitIdsMemoizedSerializedSize = -1;
1654
1655 public static final int RAT_INFOS_FIELD_NUMBER = 4;
1656 @SuppressWarnings("serial")
1657 private java.util.List<operations_research.sat.Lrat.LratInferredClause.RatInfo> ratInfos_;
1661 @java.lang.Override
1662 public java.util.List<operations_research.sat.Lrat.LratInferredClause.RatInfo> getRatInfosList() {
1663 return ratInfos_;
1664 }
1665
1668 @java.lang.Override
1669 public java.util.List<? extends operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder>
1671 return ratInfos_;
1672 }
1673
1676 @java.lang.Override
1677 public int getRatInfosCount() {
1678 return ratInfos_.size();
1679 }
1680
1683 @java.lang.Override
1685 return ratInfos_.get(index);
1686 }
1687
1690 @java.lang.Override
1692 int index) {
1693 return ratInfos_.get(index);
1694 }
1695
1696 public static final int EXPORTED_FIELD_NUMBER = 5;
1697 private boolean exported_ = false;
1708 @java.lang.Override
1709 public boolean hasExported() {
1710 return ((bitField0_ & 0x00000002) != 0);
1711 }
1712
1722 @java.lang.Override
1723 public boolean getExported() {
1724 return exported_;
1725 }
1726
1727 private byte memoizedIsInitialized = -1;
1728 @java.lang.Override
1729 public final boolean isInitialized() {
1730 byte isInitialized = memoizedIsInitialized;
1731 if (isInitialized == 1) return true;
1732 if (isInitialized == 0) return false;
1733
1734 memoizedIsInitialized = 1;
1735 return true;
1736 }
1737
1738 @java.lang.Override
1739 public void writeTo(com.google.protobuf.CodedOutputStream output)
1740 throws java.io.IOException {
1742 if (((bitField0_ & 0x00000001) != 0)) {
1743 output.writeInt64(1, clauseId_);
1744 }
1745 if (getLiteralsList().size() > 0) {
1746 output.writeUInt32NoTag(18);
1747 output.writeUInt32NoTag(literalsMemoizedSerializedSize);
1748 }
1749 for (int i = 0; i < literals_.size(); i++) {
1750 output.writeInt32NoTag(literals_.getInt(i));
1751 }
1752 if (getUnitIdsList().size() > 0) {
1753 output.writeUInt32NoTag(26);
1754 output.writeUInt32NoTag(unitIdsMemoizedSerializedSize);
1755 }
1756 for (int i = 0; i < unitIds_.size(); i++) {
1757 output.writeInt64NoTag(unitIds_.getLong(i));
1758 }
1759 for (int i = 0; i < ratInfos_.size(); i++) {
1760 output.writeMessage(4, ratInfos_.get(i));
1761 }
1762 if (((bitField0_ & 0x00000002) != 0)) {
1763 output.writeBool(5, exported_);
1764 }
1765 getUnknownFields().writeTo(output);
1766 }
1767
1768 @java.lang.Override
1769 public int getSerializedSize() {
1770 int size = memoizedSize;
1771 if (size != -1) return size;
1772
1773 size = 0;
1774 if (((bitField0_ & 0x00000001) != 0)) {
1775 size += com.google.protobuf.CodedOutputStream
1776 .computeInt64Size(1, clauseId_);
1777 }
1778 {
1779 int dataSize = 0;
1780 for (int i = 0; i < literals_.size(); i++) {
1781 dataSize += com.google.protobuf.CodedOutputStream
1782 .computeInt32SizeNoTag(literals_.getInt(i));
1783 }
1784 size += dataSize;
1785 if (!getLiteralsList().isEmpty()) {
1786 size += 1;
1787 size += com.google.protobuf.CodedOutputStream
1788 .computeInt32SizeNoTag(dataSize);
1789 }
1790 literalsMemoizedSerializedSize = dataSize;
1791 }
1792 {
1793 int dataSize = 0;
1794 for (int i = 0; i < unitIds_.size(); i++) {
1795 dataSize += com.google.protobuf.CodedOutputStream
1796 .computeInt64SizeNoTag(unitIds_.getLong(i));
1797 }
1798 size += dataSize;
1799 if (!getUnitIdsList().isEmpty()) {
1800 size += 1;
1801 size += com.google.protobuf.CodedOutputStream
1802 .computeInt32SizeNoTag(dataSize);
1803 }
1804 unitIdsMemoizedSerializedSize = dataSize;
1805 }
1806 for (int i = 0; i < ratInfos_.size(); i++) {
1807 size += com.google.protobuf.CodedOutputStream
1808 .computeMessageSize(4, ratInfos_.get(i));
1809 }
1810 if (((bitField0_ & 0x00000002) != 0)) {
1811 size += com.google.protobuf.CodedOutputStream
1812 .computeBoolSize(5, exported_);
1813 }
1814 size += getUnknownFields().getSerializedSize();
1815 memoizedSize = size;
1816 return size;
1817 }
1818
1819 @java.lang.Override
1820 public boolean equals(final java.lang.Object obj) {
1821 if (obj == this) {
1822 return true;
1823 }
1824 if (!(obj instanceof operations_research.sat.Lrat.LratInferredClause)) {
1825 return super.equals(obj);
1826 }
1827 operations_research.sat.Lrat.LratInferredClause other = (operations_research.sat.Lrat.LratInferredClause) obj;
1828
1829 if (hasClauseId() != other.hasClauseId()) return false;
1830 if (hasClauseId()) {
1831 if (getClauseId()
1832 != other.getClauseId()) return false;
1833 }
1834 if (!getLiteralsList()
1835 .equals(other.getLiteralsList())) return false;
1836 if (!getUnitIdsList()
1837 .equals(other.getUnitIdsList())) return false;
1838 if (!getRatInfosList()
1839 .equals(other.getRatInfosList())) return false;
1840 if (hasExported() != other.hasExported()) return false;
1841 if (hasExported()) {
1842 if (getExported()
1843 != other.getExported()) return false;
1844 }
1845 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
1846 return true;
1847 }
1848
1849 @java.lang.Override
1850 public int hashCode() {
1851 if (memoizedHashCode != 0) {
1852 return memoizedHashCode;
1853 }
1854 int hash = 41;
1855 hash = (19 * hash) + getDescriptor().hashCode();
1856 if (hasClauseId()) {
1857 hash = (37 * hash) + CLAUSE_ID_FIELD_NUMBER;
1858 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1859 getClauseId());
1860 }
1861 if (getLiteralsCount() > 0) {
1862 hash = (37 * hash) + LITERALS_FIELD_NUMBER;
1863 hash = (53 * hash) + getLiteralsList().hashCode();
1864 }
1865 if (getUnitIdsCount() > 0) {
1866 hash = (37 * hash) + UNIT_IDS_FIELD_NUMBER;
1867 hash = (53 * hash) + getUnitIdsList().hashCode();
1868 }
1869 if (getRatInfosCount() > 0) {
1870 hash = (37 * hash) + RAT_INFOS_FIELD_NUMBER;
1871 hash = (53 * hash) + getRatInfosList().hashCode();
1872 }
1873 if (hasExported()) {
1874 hash = (37 * hash) + EXPORTED_FIELD_NUMBER;
1875 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
1876 getExported());
1877 }
1878 hash = (29 * hash) + getUnknownFields().hashCode();
1879 memoizedHashCode = hash;
1880 return hash;
1881 }
1882
1884 java.nio.ByteBuffer data)
1885 throws com.google.protobuf.InvalidProtocolBufferException {
1886 return PARSER.parseFrom(data);
1887 }
1889 java.nio.ByteBuffer data,
1890 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1891 throws com.google.protobuf.InvalidProtocolBufferException {
1892 return PARSER.parseFrom(data, extensionRegistry);
1893 }
1895 com.google.protobuf.ByteString data)
1896 throws com.google.protobuf.InvalidProtocolBufferException {
1897 return PARSER.parseFrom(data);
1898 }
1900 com.google.protobuf.ByteString data,
1901 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1902 throws com.google.protobuf.InvalidProtocolBufferException {
1903 return PARSER.parseFrom(data, extensionRegistry);
1904 }
1906 throws com.google.protobuf.InvalidProtocolBufferException {
1907 return PARSER.parseFrom(data);
1908 }
1910 byte[] data,
1911 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1912 throws com.google.protobuf.InvalidProtocolBufferException {
1913 return PARSER.parseFrom(data, extensionRegistry);
1914 }
1915 public static operations_research.sat.Lrat.LratInferredClause parseFrom(java.io.InputStream input)
1916 throws java.io.IOException {
1917 return com.google.protobuf.GeneratedMessage
1918 .parseWithIOException(PARSER, input);
1919 }
1921 java.io.InputStream input,
1922 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1923 throws java.io.IOException {
1924 return com.google.protobuf.GeneratedMessage
1925 .parseWithIOException(PARSER, input, extensionRegistry);
1926 }
1927
1929 throws java.io.IOException {
1930 return com.google.protobuf.GeneratedMessage
1931 .parseDelimitedWithIOException(PARSER, input);
1932 }
1933
1935 java.io.InputStream input,
1936 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1937 throws java.io.IOException {
1938 return com.google.protobuf.GeneratedMessage
1939 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
1940 }
1942 com.google.protobuf.CodedInputStream input)
1943 throws java.io.IOException {
1944 return com.google.protobuf.GeneratedMessage
1945 .parseWithIOException(PARSER, input);
1946 }
1948 com.google.protobuf.CodedInputStream input,
1949 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1950 throws java.io.IOException {
1951 return com.google.protobuf.GeneratedMessage
1952 .parseWithIOException(PARSER, input, extensionRegistry);
1953 }
1954
1955 @java.lang.Override
1956 public Builder newBuilderForType() { return newBuilder(); }
1957 public static Builder newBuilder() {
1958 return DEFAULT_INSTANCE.toBuilder();
1959 }
1960 public static Builder newBuilder(operations_research.sat.Lrat.LratInferredClause prototype) {
1961 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
1962 }
1963 @java.lang.Override
1965 return this == DEFAULT_INSTANCE
1966 ? new Builder() : new Builder().mergeFrom(this);
1967 }
1968
1969 @java.lang.Override
1971 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1972 Builder builder = new Builder(parent);
1973 return builder;
1974 }
1975
1982 public static final class Builder extends
1983 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
1984 // @@protoc_insertion_point(builder_implements:operations_research.sat.LratInferredClause)
1985 operations_research.sat.Lrat.LratInferredClauseOrBuilder {
1986 public static final com.google.protobuf.Descriptors.Descriptor
1988 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratInferredClause_descriptor;
1989 }
1990
1991 @java.lang.Override
1992 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1994 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratInferredClause_fieldAccessorTable
1995 .ensureFieldAccessorsInitialized(
1996 operations_research.sat.Lrat.LratInferredClause.class, operations_research.sat.Lrat.LratInferredClause.Builder.class);
1997 }
1998
1999 // Construct using operations_research.sat.Lrat.LratInferredClause.newBuilder()
2000 private Builder() {
2001
2002 }
2003
2004 private Builder(
2005 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2006 super(parent);
2007
2008 }
2009 @java.lang.Override
2010 public Builder clear() {
2011 super.clear();
2012 bitField0_ = 0;
2013 clauseId_ = 0L;
2014 literals_ = emptyIntList();
2015 unitIds_ = emptyLongList();
2016 if (ratInfosBuilder_ == null) {
2017 ratInfos_ = java.util.Collections.emptyList();
2018 } else {
2019 ratInfos_ = null;
2020 ratInfosBuilder_.clear();
2021 }
2022 bitField0_ = (bitField0_ & ~0x00000008);
2023 exported_ = false;
2024 return this;
2025 }
2026
2027 @java.lang.Override
2028 public com.google.protobuf.Descriptors.Descriptor
2030 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratInferredClause_descriptor;
2031 }
2032
2033 @java.lang.Override
2035 return operations_research.sat.Lrat.LratInferredClause.getDefaultInstance();
2036 }
2037
2038 @java.lang.Override
2041 if (!result.isInitialized()) {
2042 throw newUninitializedMessageException(result);
2043 }
2044 return result;
2045 }
2046
2047 @java.lang.Override
2049 operations_research.sat.Lrat.LratInferredClause result = new operations_research.sat.Lrat.LratInferredClause(this);
2050 buildPartialRepeatedFields(result);
2051 if (bitField0_ != 0) { buildPartial0(result); }
2052 onBuilt();
2053 return result;
2054 }
2055
2056 private void buildPartialRepeatedFields(operations_research.sat.Lrat.LratInferredClause result) {
2057 if (ratInfosBuilder_ == null) {
2058 if (((bitField0_ & 0x00000008) != 0)) {
2059 ratInfos_ = java.util.Collections.unmodifiableList(ratInfos_);
2060 bitField0_ = (bitField0_ & ~0x00000008);
2061 }
2062 result.ratInfos_ = ratInfos_;
2063 } else {
2064 result.ratInfos_ = ratInfosBuilder_.build();
2065 }
2066 }
2067
2068 private void buildPartial0(operations_research.sat.Lrat.LratInferredClause result) {
2069 int from_bitField0_ = bitField0_;
2070 int to_bitField0_ = 0;
2071 if (((from_bitField0_ & 0x00000001) != 0)) {
2072 result.clauseId_ = clauseId_;
2073 to_bitField0_ |= 0x00000001;
2074 }
2075 if (((from_bitField0_ & 0x00000002) != 0)) {
2076 literals_.makeImmutable();
2077 result.literals_ = literals_;
2078 }
2079 if (((from_bitField0_ & 0x00000004) != 0)) {
2080 unitIds_.makeImmutable();
2081 result.unitIds_ = unitIds_;
2082 }
2083 if (((from_bitField0_ & 0x00000010) != 0)) {
2084 result.exported_ = exported_;
2085 to_bitField0_ |= 0x00000002;
2086 }
2087 result.bitField0_ |= to_bitField0_;
2088 }
2089
2090 @java.lang.Override
2091 public Builder mergeFrom(com.google.protobuf.Message other) {
2092 if (other instanceof operations_research.sat.Lrat.LratInferredClause) {
2093 return mergeFrom((operations_research.sat.Lrat.LratInferredClause)other);
2094 } else {
2095 super.mergeFrom(other);
2096 return this;
2097 }
2098 }
2099
2100 public Builder mergeFrom(operations_research.sat.Lrat.LratInferredClause other) {
2101 if (other == operations_research.sat.Lrat.LratInferredClause.getDefaultInstance()) return this;
2102 if (other.hasClauseId()) {
2103 setClauseId(other.getClauseId());
2104 }
2105 if (!other.literals_.isEmpty()) {
2106 if (literals_.isEmpty()) {
2107 literals_ = other.literals_;
2108 literals_.makeImmutable();
2109 bitField0_ |= 0x00000002;
2110 } else {
2111 ensureLiteralsIsMutable();
2112 literals_.addAll(other.literals_);
2113 }
2114 onChanged();
2115 }
2116 if (!other.unitIds_.isEmpty()) {
2117 if (unitIds_.isEmpty()) {
2118 unitIds_ = other.unitIds_;
2119 unitIds_.makeImmutable();
2120 bitField0_ |= 0x00000004;
2121 } else {
2122 ensureUnitIdsIsMutable();
2123 unitIds_.addAll(other.unitIds_);
2124 }
2125 onChanged();
2126 }
2127 if (ratInfosBuilder_ == null) {
2128 if (!other.ratInfos_.isEmpty()) {
2129 if (ratInfos_.isEmpty()) {
2130 ratInfos_ = other.ratInfos_;
2131 bitField0_ = (bitField0_ & ~0x00000008);
2132 } else {
2133 ensureRatInfosIsMutable();
2134 ratInfos_.addAll(other.ratInfos_);
2135 }
2136 onChanged();
2137 }
2138 } else {
2139 if (!other.ratInfos_.isEmpty()) {
2140 if (ratInfosBuilder_.isEmpty()) {
2141 ratInfosBuilder_.dispose();
2142 ratInfosBuilder_ = null;
2143 ratInfos_ = other.ratInfos_;
2144 bitField0_ = (bitField0_ & ~0x00000008);
2145 ratInfosBuilder_ =
2146 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
2147 internalGetRatInfosFieldBuilder() : null;
2148 } else {
2149 ratInfosBuilder_.addAllMessages(other.ratInfos_);
2150 }
2151 }
2152 }
2153 if (other.hasExported()) {
2154 setExported(other.getExported());
2155 }
2156 this.mergeUnknownFields(other.getUnknownFields());
2157 onChanged();
2158 return this;
2159 }
2160
2161 @java.lang.Override
2162 public final boolean isInitialized() {
2163 return true;
2164 }
2165
2166 @java.lang.Override
2167 public Builder mergeFrom(
2168 com.google.protobuf.CodedInputStream input,
2169 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2170 throws java.io.IOException {
2171 if (extensionRegistry == null) {
2172 throw new java.lang.NullPointerException();
2173 }
2174 try {
2175 boolean done = false;
2176 while (!done) {
2177 int tag = input.readTag();
2178 switch (tag) {
2179 case 0:
2180 done = true;
2181 break;
2182 case 8: {
2183 clauseId_ = input.readInt64();
2184 bitField0_ |= 0x00000001;
2185 break;
2186 } // case 8
2187 case 16: {
2188 int v = input.readInt32();
2189 ensureLiteralsIsMutable();
2190 literals_.addInt(v);
2191 break;
2192 } // case 16
2193 case 18: {
2194 int length = input.readRawVarint32();
2195 int limit = input.pushLimit(length);
2196 ensureLiteralsIsMutable();
2197 while (input.getBytesUntilLimit() > 0) {
2198 literals_.addInt(input.readInt32());
2199 }
2200 input.popLimit(limit);
2201 break;
2202 } // case 18
2203 case 24: {
2204 long v = input.readInt64();
2205 ensureUnitIdsIsMutable();
2206 unitIds_.addLong(v);
2207 break;
2208 } // case 24
2209 case 26: {
2210 int length = input.readRawVarint32();
2211 int limit = input.pushLimit(length);
2212 ensureUnitIdsIsMutable();
2213 while (input.getBytesUntilLimit() > 0) {
2214 unitIds_.addLong(input.readInt64());
2215 }
2216 input.popLimit(limit);
2217 break;
2218 } // case 26
2219 case 34: {
2221 input.readMessage(
2222 operations_research.sat.Lrat.LratInferredClause.RatInfo.parser(),
2223 extensionRegistry);
2224 if (ratInfosBuilder_ == null) {
2225 ensureRatInfosIsMutable();
2226 ratInfos_.add(m);
2227 } else {
2228 ratInfosBuilder_.addMessage(m);
2229 }
2230 break;
2231 } // case 34
2232 case 40: {
2233 exported_ = input.readBool();
2234 bitField0_ |= 0x00000010;
2235 break;
2236 } // case 40
2237 default: {
2238 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
2239 done = true; // was an endgroup tag
2240 }
2241 break;
2242 } // default:
2243 } // switch (tag)
2244 } // while (!done)
2245 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2246 throw e.unwrapIOException();
2247 } finally {
2248 onChanged();
2249 } // finally
2250 return this;
2251 }
2252 private int bitField0_;
2253
2254 private long clauseId_ ;
2259 @java.lang.Override
2260 public boolean hasClauseId() {
2261 return ((bitField0_ & 0x00000001) != 0);
2262 }
2263
2267 @java.lang.Override
2268 public long getClauseId() {
2269 return clauseId_;
2270 }
2271
2276 public Builder setClauseId(long value) {
2277
2278 clauseId_ = value;
2279 bitField0_ |= 0x00000001;
2280 onChanged();
2281 return this;
2282 }
2283
2287 public Builder clearClauseId() {
2288 bitField0_ = (bitField0_ & ~0x00000001);
2289 clauseId_ = 0L;
2290 onChanged();
2291 return this;
2292 }
2293
2294 private com.google.protobuf.Internal.IntList literals_ = emptyIntList();
2295 private void ensureLiteralsIsMutable() {
2296 if (!literals_.isModifiable()) {
2297 literals_ = makeMutableCopy(literals_);
2298 }
2299 bitField0_ |= 0x00000002;
2300 }
2309 public java.util.List<java.lang.Integer>
2311 literals_.makeImmutable();
2312 return literals_;
2313 }
2314
2322 public int getLiteralsCount() {
2323 return literals_.size();
2324 }
2325
2334 public int getLiterals(int index) {
2335 return literals_.getInt(index);
2336 }
2337
2347 public Builder setLiterals(
2348 int index, int value) {
2349
2350 ensureLiteralsIsMutable();
2351 literals_.setInt(index, value);
2352 bitField0_ |= 0x00000002;
2353 onChanged();
2354 return this;
2355 }
2356
2365 public Builder addLiterals(int value) {
2366
2367 ensureLiteralsIsMutable();
2368 literals_.addInt(value);
2369 bitField0_ |= 0x00000002;
2370 onChanged();
2371 return this;
2372 }
2373
2382 public Builder addAllLiterals(
2383 java.lang.Iterable<? extends java.lang.Integer> values) {
2384 ensureLiteralsIsMutable();
2385 com.google.protobuf.AbstractMessageLite.Builder.addAll(
2386 values, literals_);
2387 bitField0_ |= 0x00000002;
2388 onChanged();
2389 return this;
2390 }
2391
2399 public Builder clearLiterals() {
2400 literals_ = emptyIntList();
2401 bitField0_ = (bitField0_ & ~0x00000002);
2402 onChanged();
2403 return this;
2404 }
2405
2406 private com.google.protobuf.Internal.LongList unitIds_ = emptyLongList();
2407 private void ensureUnitIdsIsMutable() {
2408 if (!unitIds_.isModifiable()) {
2409 unitIds_ = makeMutableCopy(unitIds_);
2410 }
2411 bitField0_ |= 0x00000004;
2412 }
2423 public java.util.List<java.lang.Long>
2425 unitIds_.makeImmutable();
2426 return unitIds_;
2427 }
2428
2438 public int getUnitIdsCount() {
2439 return unitIds_.size();
2440 }
2441
2452 public long getUnitIds(int index) {
2453 return unitIds_.getLong(index);
2454 }
2455
2467 public Builder setUnitIds(
2468 int index, long value) {
2469
2470 ensureUnitIdsIsMutable();
2471 unitIds_.setLong(index, value);
2472 bitField0_ |= 0x00000004;
2473 onChanged();
2474 return this;
2475 }
2476
2487 public Builder addUnitIds(long value) {
2488
2489 ensureUnitIdsIsMutable();
2490 unitIds_.addLong(value);
2491 bitField0_ |= 0x00000004;
2492 onChanged();
2493 return this;
2494 }
2495
2506 public Builder addAllUnitIds(
2507 java.lang.Iterable<? extends java.lang.Long> values) {
2508 ensureUnitIdsIsMutable();
2509 com.google.protobuf.AbstractMessageLite.Builder.addAll(
2510 values, unitIds_);
2511 bitField0_ |= 0x00000004;
2512 onChanged();
2513 return this;
2514 }
2515
2525 public Builder clearUnitIds() {
2526 unitIds_ = emptyLongList();
2527 bitField0_ = (bitField0_ & ~0x00000004);
2528 onChanged();
2529 return this;
2530 }
2531
2532 private java.util.List<operations_research.sat.Lrat.LratInferredClause.RatInfo> ratInfos_ =
2533 java.util.Collections.emptyList();
2534 private void ensureRatInfosIsMutable() {
2535 if (!((bitField0_ & 0x00000008) != 0)) {
2536 ratInfos_ = new java.util.ArrayList<operations_research.sat.Lrat.LratInferredClause.RatInfo>(ratInfos_);
2537 bitField0_ |= 0x00000008;
2538 }
2539 }
2540
2541 private com.google.protobuf.RepeatedFieldBuilder<
2542 operations_research.sat.Lrat.LratInferredClause.RatInfo, operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder, operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder> ratInfosBuilder_;
2543
2547 public java.util.List<operations_research.sat.Lrat.LratInferredClause.RatInfo> getRatInfosList() {
2548 if (ratInfosBuilder_ == null) {
2549 return java.util.Collections.unmodifiableList(ratInfos_);
2550 } else {
2551 return ratInfosBuilder_.getMessageList();
2552 }
2553 }
2554
2557 public int getRatInfosCount() {
2558 if (ratInfosBuilder_ == null) {
2559 return ratInfos_.size();
2560 } else {
2561 return ratInfosBuilder_.getCount();
2562 }
2563 }
2564
2568 if (ratInfosBuilder_ == null) {
2569 return ratInfos_.get(index);
2570 } else {
2571 return ratInfosBuilder_.getMessage(index);
2572 }
2573 }
2574
2577 public Builder setRatInfos(
2578 int index, operations_research.sat.Lrat.LratInferredClause.RatInfo value) {
2579 if (ratInfosBuilder_ == null) {
2580 if (value == null) {
2581 throw new NullPointerException();
2582 }
2583 ensureRatInfosIsMutable();
2584 ratInfos_.set(index, value);
2585 onChanged();
2586 } else {
2587 ratInfosBuilder_.setMessage(index, value);
2588 }
2589 return this;
2590 }
2591
2594 public Builder setRatInfos(
2595 int index, operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder builderForValue) {
2596 if (ratInfosBuilder_ == null) {
2597 ensureRatInfosIsMutable();
2598 ratInfos_.set(index, builderForValue.build());
2599 onChanged();
2600 } else {
2601 ratInfosBuilder_.setMessage(index, builderForValue.build());
2602 }
2603 return this;
2604 }
2605
2608 public Builder addRatInfos(operations_research.sat.Lrat.LratInferredClause.RatInfo value) {
2609 if (ratInfosBuilder_ == null) {
2610 if (value == null) {
2611 throw new NullPointerException();
2612 }
2613 ensureRatInfosIsMutable();
2614 ratInfos_.add(value);
2615 onChanged();
2616 } else {
2617 ratInfosBuilder_.addMessage(value);
2618 }
2619 return this;
2620 }
2621
2624 public Builder addRatInfos(
2625 int index, operations_research.sat.Lrat.LratInferredClause.RatInfo value) {
2626 if (ratInfosBuilder_ == null) {
2627 if (value == null) {
2628 throw new NullPointerException();
2629 }
2630 ensureRatInfosIsMutable();
2631 ratInfos_.add(index, value);
2632 onChanged();
2633 } else {
2634 ratInfosBuilder_.addMessage(index, value);
2635 }
2636 return this;
2637 }
2638
2641 public Builder addRatInfos(
2642 operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder builderForValue) {
2643 if (ratInfosBuilder_ == null) {
2644 ensureRatInfosIsMutable();
2645 ratInfos_.add(builderForValue.build());
2646 onChanged();
2647 } else {
2648 ratInfosBuilder_.addMessage(builderForValue.build());
2649 }
2650 return this;
2651 }
2652
2655 public Builder addRatInfos(
2656 int index, operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder builderForValue) {
2657 if (ratInfosBuilder_ == null) {
2658 ensureRatInfosIsMutable();
2659 ratInfos_.add(index, builderForValue.build());
2660 onChanged();
2661 } else {
2662 ratInfosBuilder_.addMessage(index, builderForValue.build());
2663 }
2664 return this;
2665 }
2666
2669 public Builder addAllRatInfos(
2670 java.lang.Iterable<? extends operations_research.sat.Lrat.LratInferredClause.RatInfo> values) {
2671 if (ratInfosBuilder_ == null) {
2672 ensureRatInfosIsMutable();
2673 com.google.protobuf.AbstractMessageLite.Builder.addAll(
2674 values, ratInfos_);
2675 onChanged();
2676 } else {
2677 ratInfosBuilder_.addAllMessages(values);
2678 }
2679 return this;
2680 }
2681
2684 public Builder clearRatInfos() {
2685 if (ratInfosBuilder_ == null) {
2686 ratInfos_ = java.util.Collections.emptyList();
2687 bitField0_ = (bitField0_ & ~0x00000008);
2688 onChanged();
2689 } else {
2690 ratInfosBuilder_.clear();
2691 }
2692 return this;
2693 }
2694
2697 public Builder removeRatInfos(int index) {
2698 if (ratInfosBuilder_ == null) {
2699 ensureRatInfosIsMutable();
2700 ratInfos_.remove(index);
2701 onChanged();
2702 } else {
2703 ratInfosBuilder_.remove(index);
2704 }
2705 return this;
2706 }
2707
2711 int index) {
2712 return internalGetRatInfosFieldBuilder().getBuilder(index);
2713 }
2714
2718 int index) {
2719 if (ratInfosBuilder_ == null) {
2720 return ratInfos_.get(index); } else {
2721 return ratInfosBuilder_.getMessageOrBuilder(index);
2722 }
2723 }
2724
2727 public java.util.List<? extends operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder>
2729 if (ratInfosBuilder_ != null) {
2730 return ratInfosBuilder_.getMessageOrBuilderList();
2731 } else {
2732 return java.util.Collections.unmodifiableList(ratInfos_);
2733 }
2734 }
2735
2739 return internalGetRatInfosFieldBuilder().addBuilder(
2740 operations_research.sat.Lrat.LratInferredClause.RatInfo.getDefaultInstance());
2741 }
2742
2746 int index) {
2747 return internalGetRatInfosFieldBuilder().addBuilder(
2748 index, operations_research.sat.Lrat.LratInferredClause.RatInfo.getDefaultInstance());
2749 }
2750
2753 public java.util.List<operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder>
2755 return internalGetRatInfosFieldBuilder().getBuilderList();
2756 }
2757 private com.google.protobuf.RepeatedFieldBuilder<
2758 operations_research.sat.Lrat.LratInferredClause.RatInfo, operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder, operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder>
2759 internalGetRatInfosFieldBuilder() {
2760 if (ratInfosBuilder_ == null) {
2761 ratInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
2762 operations_research.sat.Lrat.LratInferredClause.RatInfo, operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder, operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder>(
2763 ratInfos_,
2764 ((bitField0_ & 0x00000008) != 0),
2765 getParentForChildren(),
2766 isClean());
2767 ratInfos_ = null;
2768 }
2769 return ratInfosBuilder_;
2770 }
2771
2772 private boolean exported_ ;
2783 @java.lang.Override
2784 public boolean hasExported() {
2785 return ((bitField0_ & 0x00000010) != 0);
2786 }
2787
2797 @java.lang.Override
2798 public boolean getExported() {
2799 return exported_;
2800 }
2801
2812 public Builder setExported(boolean value) {
2813
2814 exported_ = value;
2815 bitField0_ |= 0x00000010;
2816 onChanged();
2817 return this;
2818 }
2819
2829 public Builder clearExported() {
2830 bitField0_ = (bitField0_ & ~0x00000010);
2831 exported_ = false;
2832 onChanged();
2833 return this;
2834 }
2835
2836 // @@protoc_insertion_point(builder_scope:operations_research.sat.LratInferredClause)
2837 }
2838
2839 // @@protoc_insertion_point(class_scope:operations_research.sat.LratInferredClause)
2840 private static final operations_research.sat.Lrat.LratInferredClause DEFAULT_INSTANCE;
2841 static {
2842 DEFAULT_INSTANCE = new operations_research.sat.Lrat.LratInferredClause();
2843 }
2844
2846 return DEFAULT_INSTANCE;
2847 }
2848
2849 private static final com.google.protobuf.Parser<LratInferredClause>
2850 PARSER = new com.google.protobuf.AbstractParser<LratInferredClause>() {
2851 @java.lang.Override
2852 public LratInferredClause parsePartialFrom(
2853 com.google.protobuf.CodedInputStream input,
2854 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2855 throws com.google.protobuf.InvalidProtocolBufferException {
2856 Builder builder = newBuilder();
2857 try {
2858 builder.mergeFrom(input, extensionRegistry);
2859 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2860 throw e.setUnfinishedMessage(builder.buildPartial());
2861 } catch (com.google.protobuf.UninitializedMessageException e) {
2862 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
2863 } catch (java.io.IOException e) {
2864 throw new com.google.protobuf.InvalidProtocolBufferException(e)
2865 .setUnfinishedMessage(builder.buildPartial());
2866 }
2867 return builder.buildPartial();
2868 }
2869 };
2870
2871 public static com.google.protobuf.Parser<LratInferredClause> parser() {
2872 return PARSER;
2873 }
2874
2875 @java.lang.Override
2876 public com.google.protobuf.Parser<LratInferredClause> getParserForType() {
2877 return PARSER;
2878 }
2879
2880 @java.lang.Override
2884
2885 }
2886
2887 public interface LratExportedClauseOrBuilder extends
2888 // @@protoc_insertion_point(interface_extends:operations_research.sat.LratExportedClause)
2889 com.google.protobuf.MessageOrBuilder {
2890
2895 boolean hasClauseId();
2901
2906 java.util.List<java.lang.Integer> getLiteralsList();
2917 int getLiterals(int index);
2918 }
2919
2927 public static final class LratExportedClause extends
2928 com.google.protobuf.GeneratedMessage implements
2929 // @@protoc_insertion_point(message_implements:operations_research.sat.LratExportedClause)
2931 private static final long serialVersionUID = 0L;
2932 static {
2933 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
2934 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
2935 /* major= */ 4,
2936 /* minor= */ 33,
2937 /* patch= */ 1,
2938 /* suffix= */ "",
2939 "LratExportedClause");
2940 }
2941 // Use LratExportedClause.newBuilder() to construct.
2942 private LratExportedClause(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2943 super(builder);
2944 }
2945 private LratExportedClause() {
2946 literals_ = emptyIntList();
2947 }
2948
2949 public static final com.google.protobuf.Descriptors.Descriptor
2951 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratExportedClause_descriptor;
2952 }
2953
2954 @java.lang.Override
2955 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2957 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratExportedClause_fieldAccessorTable
2958 .ensureFieldAccessorsInitialized(
2959 operations_research.sat.Lrat.LratExportedClause.class, operations_research.sat.Lrat.LratExportedClause.Builder.class);
2960 }
2961
2962 private int bitField0_;
2963 public static final int CLAUSE_ID_FIELD_NUMBER = 1;
2964 private long clauseId_ = 0L;
2969 @java.lang.Override
2970 public boolean hasClauseId() {
2971 return ((bitField0_ & 0x00000001) != 0);
2972 }
2973
2977 @java.lang.Override
2978 public long getClauseId() {
2979 return clauseId_;
2980 }
2981
2982 public static final int LITERALS_FIELD_NUMBER = 2;
2983 @SuppressWarnings("serial")
2984 private com.google.protobuf.Internal.IntList literals_ =
2985 emptyIntList();
2990 @java.lang.Override
2991 public java.util.List<java.lang.Integer>
2993 return literals_;
2994 }
2995
2999 public int getLiteralsCount() {
3000 return literals_.size();
3001 }
3002
3007 public int getLiterals(int index) {
3008 return literals_.getInt(index);
3009 }
3010 private int literalsMemoizedSerializedSize = -1;
3011
3012 private byte memoizedIsInitialized = -1;
3013 @java.lang.Override
3014 public final boolean isInitialized() {
3015 byte isInitialized = memoizedIsInitialized;
3016 if (isInitialized == 1) return true;
3017 if (isInitialized == 0) return false;
3018
3019 memoizedIsInitialized = 1;
3020 return true;
3021 }
3022
3023 @java.lang.Override
3024 public void writeTo(com.google.protobuf.CodedOutputStream output)
3025 throws java.io.IOException {
3027 if (((bitField0_ & 0x00000001) != 0)) {
3028 output.writeInt64(1, clauseId_);
3029 }
3030 if (getLiteralsList().size() > 0) {
3031 output.writeUInt32NoTag(18);
3032 output.writeUInt32NoTag(literalsMemoizedSerializedSize);
3033 }
3034 for (int i = 0; i < literals_.size(); i++) {
3035 output.writeInt32NoTag(literals_.getInt(i));
3036 }
3037 getUnknownFields().writeTo(output);
3038 }
3039
3040 @java.lang.Override
3041 public int getSerializedSize() {
3042 int size = memoizedSize;
3043 if (size != -1) return size;
3044
3045 size = 0;
3046 if (((bitField0_ & 0x00000001) != 0)) {
3047 size += com.google.protobuf.CodedOutputStream
3048 .computeInt64Size(1, clauseId_);
3049 }
3050 {
3051 int dataSize = 0;
3052 for (int i = 0; i < literals_.size(); i++) {
3053 dataSize += com.google.protobuf.CodedOutputStream
3054 .computeInt32SizeNoTag(literals_.getInt(i));
3055 }
3056 size += dataSize;
3057 if (!getLiteralsList().isEmpty()) {
3058 size += 1;
3059 size += com.google.protobuf.CodedOutputStream
3060 .computeInt32SizeNoTag(dataSize);
3061 }
3062 literalsMemoizedSerializedSize = dataSize;
3063 }
3064 size += getUnknownFields().getSerializedSize();
3065 memoizedSize = size;
3066 return size;
3067 }
3068
3069 @java.lang.Override
3070 public boolean equals(final java.lang.Object obj) {
3071 if (obj == this) {
3072 return true;
3073 }
3074 if (!(obj instanceof operations_research.sat.Lrat.LratExportedClause)) {
3075 return super.equals(obj);
3076 }
3077 operations_research.sat.Lrat.LratExportedClause other = (operations_research.sat.Lrat.LratExportedClause) obj;
3078
3079 if (hasClauseId() != other.hasClauseId()) return false;
3080 if (hasClauseId()) {
3081 if (getClauseId()
3082 != other.getClauseId()) return false;
3083 }
3084 if (!getLiteralsList()
3085 .equals(other.getLiteralsList())) return false;
3086 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
3087 return true;
3088 }
3089
3090 @java.lang.Override
3091 public int hashCode() {
3092 if (memoizedHashCode != 0) {
3093 return memoizedHashCode;
3094 }
3095 int hash = 41;
3096 hash = (19 * hash) + getDescriptor().hashCode();
3097 if (hasClauseId()) {
3098 hash = (37 * hash) + CLAUSE_ID_FIELD_NUMBER;
3099 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
3100 getClauseId());
3101 }
3102 if (getLiteralsCount() > 0) {
3103 hash = (37 * hash) + LITERALS_FIELD_NUMBER;
3104 hash = (53 * hash) + getLiteralsList().hashCode();
3105 }
3106 hash = (29 * hash) + getUnknownFields().hashCode();
3107 memoizedHashCode = hash;
3108 return hash;
3109 }
3110
3112 java.nio.ByteBuffer data)
3113 throws com.google.protobuf.InvalidProtocolBufferException {
3114 return PARSER.parseFrom(data);
3115 }
3117 java.nio.ByteBuffer data,
3118 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3119 throws com.google.protobuf.InvalidProtocolBufferException {
3120 return PARSER.parseFrom(data, extensionRegistry);
3121 }
3123 com.google.protobuf.ByteString data)
3124 throws com.google.protobuf.InvalidProtocolBufferException {
3125 return PARSER.parseFrom(data);
3126 }
3128 com.google.protobuf.ByteString data,
3129 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3130 throws com.google.protobuf.InvalidProtocolBufferException {
3131 return PARSER.parseFrom(data, extensionRegistry);
3132 }
3134 throws com.google.protobuf.InvalidProtocolBufferException {
3135 return PARSER.parseFrom(data);
3136 }
3138 byte[] data,
3139 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3140 throws com.google.protobuf.InvalidProtocolBufferException {
3141 return PARSER.parseFrom(data, extensionRegistry);
3142 }
3143 public static operations_research.sat.Lrat.LratExportedClause parseFrom(java.io.InputStream input)
3144 throws java.io.IOException {
3145 return com.google.protobuf.GeneratedMessage
3146 .parseWithIOException(PARSER, input);
3147 }
3149 java.io.InputStream input,
3150 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3151 throws java.io.IOException {
3152 return com.google.protobuf.GeneratedMessage
3153 .parseWithIOException(PARSER, input, extensionRegistry);
3154 }
3155
3157 throws java.io.IOException {
3158 return com.google.protobuf.GeneratedMessage
3159 .parseDelimitedWithIOException(PARSER, input);
3160 }
3161
3163 java.io.InputStream input,
3164 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3165 throws java.io.IOException {
3166 return com.google.protobuf.GeneratedMessage
3167 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
3168 }
3170 com.google.protobuf.CodedInputStream input)
3171 throws java.io.IOException {
3172 return com.google.protobuf.GeneratedMessage
3173 .parseWithIOException(PARSER, input);
3174 }
3176 com.google.protobuf.CodedInputStream input,
3177 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3178 throws java.io.IOException {
3179 return com.google.protobuf.GeneratedMessage
3180 .parseWithIOException(PARSER, input, extensionRegistry);
3181 }
3182
3183 @java.lang.Override
3184 public Builder newBuilderForType() { return newBuilder(); }
3185 public static Builder newBuilder() {
3186 return DEFAULT_INSTANCE.toBuilder();
3187 }
3188 public static Builder newBuilder(operations_research.sat.Lrat.LratExportedClause prototype) {
3189 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
3190 }
3191 @java.lang.Override
3193 return this == DEFAULT_INSTANCE
3194 ? new Builder() : new Builder().mergeFrom(this);
3195 }
3196
3197 @java.lang.Override
3199 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3200 Builder builder = new Builder(parent);
3201 return builder;
3202 }
3203
3211 public static final class Builder extends
3212 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
3213 // @@protoc_insertion_point(builder_implements:operations_research.sat.LratExportedClause)
3214 operations_research.sat.Lrat.LratExportedClauseOrBuilder {
3215 public static final com.google.protobuf.Descriptors.Descriptor
3217 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratExportedClause_descriptor;
3218 }
3219
3220 @java.lang.Override
3221 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3223 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratExportedClause_fieldAccessorTable
3224 .ensureFieldAccessorsInitialized(
3225 operations_research.sat.Lrat.LratExportedClause.class, operations_research.sat.Lrat.LratExportedClause.Builder.class);
3226 }
3227
3228 // Construct using operations_research.sat.Lrat.LratExportedClause.newBuilder()
3229 private Builder() {
3230
3231 }
3232
3233 private Builder(
3234 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3235 super(parent);
3236
3237 }
3238 @java.lang.Override
3239 public Builder clear() {
3240 super.clear();
3241 bitField0_ = 0;
3242 clauseId_ = 0L;
3243 literals_ = emptyIntList();
3244 return this;
3245 }
3246
3247 @java.lang.Override
3248 public com.google.protobuf.Descriptors.Descriptor
3250 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratExportedClause_descriptor;
3251 }
3252
3253 @java.lang.Override
3255 return operations_research.sat.Lrat.LratExportedClause.getDefaultInstance();
3256 }
3257
3258 @java.lang.Override
3261 if (!result.isInitialized()) {
3262 throw newUninitializedMessageException(result);
3263 }
3264 return result;
3265 }
3266
3267 @java.lang.Override
3269 operations_research.sat.Lrat.LratExportedClause result = new operations_research.sat.Lrat.LratExportedClause(this);
3270 if (bitField0_ != 0) { buildPartial0(result); }
3271 onBuilt();
3272 return result;
3273 }
3274
3275 private void buildPartial0(operations_research.sat.Lrat.LratExportedClause result) {
3276 int from_bitField0_ = bitField0_;
3277 int to_bitField0_ = 0;
3278 if (((from_bitField0_ & 0x00000001) != 0)) {
3279 result.clauseId_ = clauseId_;
3280 to_bitField0_ |= 0x00000001;
3281 }
3282 if (((from_bitField0_ & 0x00000002) != 0)) {
3283 literals_.makeImmutable();
3284 result.literals_ = literals_;
3285 }
3286 result.bitField0_ |= to_bitField0_;
3287 }
3288
3289 @java.lang.Override
3290 public Builder mergeFrom(com.google.protobuf.Message other) {
3291 if (other instanceof operations_research.sat.Lrat.LratExportedClause) {
3292 return mergeFrom((operations_research.sat.Lrat.LratExportedClause)other);
3293 } else {
3294 super.mergeFrom(other);
3295 return this;
3296 }
3297 }
3298
3299 public Builder mergeFrom(operations_research.sat.Lrat.LratExportedClause other) {
3300 if (other == operations_research.sat.Lrat.LratExportedClause.getDefaultInstance()) return this;
3301 if (other.hasClauseId()) {
3302 setClauseId(other.getClauseId());
3303 }
3304 if (!other.literals_.isEmpty()) {
3305 if (literals_.isEmpty()) {
3306 literals_ = other.literals_;
3307 literals_.makeImmutable();
3308 bitField0_ |= 0x00000002;
3309 } else {
3310 ensureLiteralsIsMutable();
3311 literals_.addAll(other.literals_);
3312 }
3313 onChanged();
3314 }
3315 this.mergeUnknownFields(other.getUnknownFields());
3316 onChanged();
3317 return this;
3318 }
3319
3320 @java.lang.Override
3321 public final boolean isInitialized() {
3322 return true;
3323 }
3324
3325 @java.lang.Override
3326 public Builder mergeFrom(
3327 com.google.protobuf.CodedInputStream input,
3328 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3329 throws java.io.IOException {
3330 if (extensionRegistry == null) {
3331 throw new java.lang.NullPointerException();
3332 }
3333 try {
3334 boolean done = false;
3335 while (!done) {
3336 int tag = input.readTag();
3337 switch (tag) {
3338 case 0:
3339 done = true;
3340 break;
3341 case 8: {
3342 clauseId_ = input.readInt64();
3343 bitField0_ |= 0x00000001;
3344 break;
3345 } // case 8
3346 case 16: {
3347 int v = input.readInt32();
3348 ensureLiteralsIsMutable();
3349 literals_.addInt(v);
3350 break;
3351 } // case 16
3352 case 18: {
3353 int length = input.readRawVarint32();
3354 int limit = input.pushLimit(length);
3355 ensureLiteralsIsMutable();
3356 while (input.getBytesUntilLimit() > 0) {
3357 literals_.addInt(input.readInt32());
3358 }
3359 input.popLimit(limit);
3360 break;
3361 } // case 18
3362 default: {
3363 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
3364 done = true; // was an endgroup tag
3365 }
3366 break;
3367 } // default:
3368 } // switch (tag)
3369 } // while (!done)
3370 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3371 throw e.unwrapIOException();
3372 } finally {
3373 onChanged();
3374 } // finally
3375 return this;
3376 }
3377 private int bitField0_;
3378
3379 private long clauseId_ ;
3384 @java.lang.Override
3385 public boolean hasClauseId() {
3386 return ((bitField0_ & 0x00000001) != 0);
3387 }
3388
3392 @java.lang.Override
3393 public long getClauseId() {
3394 return clauseId_;
3395 }
3396
3401 public Builder setClauseId(long value) {
3402
3403 clauseId_ = value;
3404 bitField0_ |= 0x00000001;
3405 onChanged();
3406 return this;
3407 }
3408
3412 public Builder clearClauseId() {
3413 bitField0_ = (bitField0_ & ~0x00000001);
3414 clauseId_ = 0L;
3415 onChanged();
3416 return this;
3417 }
3418
3419 private com.google.protobuf.Internal.IntList literals_ = emptyIntList();
3420 private void ensureLiteralsIsMutable() {
3421 if (!literals_.isModifiable()) {
3422 literals_ = makeMutableCopy(literals_);
3423 }
3424 bitField0_ |= 0x00000002;
3425 }
3430 public java.util.List<java.lang.Integer>
3432 literals_.makeImmutable();
3433 return literals_;
3434 }
3435
3439 public int getLiteralsCount() {
3440 return literals_.size();
3441 }
3442
3447 public int getLiterals(int index) {
3448 return literals_.getInt(index);
3449 }
3450
3456 public Builder setLiterals(
3457 int index, int value) {
3458
3459 ensureLiteralsIsMutable();
3460 literals_.setInt(index, value);
3461 bitField0_ |= 0x00000002;
3462 onChanged();
3463 return this;
3464 }
3465
3470 public Builder addLiterals(int value) {
3471
3472 ensureLiteralsIsMutable();
3473 literals_.addInt(value);
3474 bitField0_ |= 0x00000002;
3475 onChanged();
3476 return this;
3477 }
3478
3483 public Builder addAllLiterals(
3484 java.lang.Iterable<? extends java.lang.Integer> values) {
3485 ensureLiteralsIsMutable();
3486 com.google.protobuf.AbstractMessageLite.Builder.addAll(
3487 values, literals_);
3488 bitField0_ |= 0x00000002;
3489 onChanged();
3490 return this;
3491 }
3492
3496 public Builder clearLiterals() {
3497 literals_ = emptyIntList();
3498 bitField0_ = (bitField0_ & ~0x00000002);
3499 onChanged();
3500 return this;
3501 }
3502
3503 // @@protoc_insertion_point(builder_scope:operations_research.sat.LratExportedClause)
3504 }
3505
3506 // @@protoc_insertion_point(class_scope:operations_research.sat.LratExportedClause)
3507 private static final operations_research.sat.Lrat.LratExportedClause DEFAULT_INSTANCE;
3508 static {
3509 DEFAULT_INSTANCE = new operations_research.sat.Lrat.LratExportedClause();
3510 }
3511
3513 return DEFAULT_INSTANCE;
3514 }
3515
3516 private static final com.google.protobuf.Parser<LratExportedClause>
3517 PARSER = new com.google.protobuf.AbstractParser<LratExportedClause>() {
3518 @java.lang.Override
3519 public LratExportedClause parsePartialFrom(
3520 com.google.protobuf.CodedInputStream input,
3521 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3522 throws com.google.protobuf.InvalidProtocolBufferException {
3523 Builder builder = newBuilder();
3524 try {
3525 builder.mergeFrom(input, extensionRegistry);
3526 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3527 throw e.setUnfinishedMessage(builder.buildPartial());
3528 } catch (com.google.protobuf.UninitializedMessageException e) {
3529 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
3530 } catch (java.io.IOException e) {
3531 throw new com.google.protobuf.InvalidProtocolBufferException(e)
3532 .setUnfinishedMessage(builder.buildPartial());
3533 }
3534 return builder.buildPartial();
3535 }
3536 };
3537
3538 public static com.google.protobuf.Parser<LratExportedClause> parser() {
3539 return PARSER;
3540 }
3541
3542 @java.lang.Override
3543 public com.google.protobuf.Parser<LratExportedClause> getParserForType() {
3544 return PARSER;
3545 }
3546
3547 @java.lang.Override
3551
3552 }
3553
3554 public interface LratDeletedClausesOrBuilder extends
3555 // @@protoc_insertion_point(interface_extends:operations_research.sat.LratDeletedClauses)
3556 com.google.protobuf.MessageOrBuilder {
3557
3567 java.util.List<java.lang.Long> getClauseIdsList();
3588 long getClauseIds(int index);
3589 }
3590
3597 public static final class LratDeletedClauses extends
3598 com.google.protobuf.GeneratedMessage implements
3599 // @@protoc_insertion_point(message_implements:operations_research.sat.LratDeletedClauses)
3601 private static final long serialVersionUID = 0L;
3602 static {
3603 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
3604 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
3605 /* major= */ 4,
3606 /* minor= */ 33,
3607 /* patch= */ 1,
3608 /* suffix= */ "",
3609 "LratDeletedClauses");
3610 }
3611 // Use LratDeletedClauses.newBuilder() to construct.
3612 private LratDeletedClauses(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
3613 super(builder);
3614 }
3615 private LratDeletedClauses() {
3616 clauseIds_ = emptyLongList();
3617 }
3618
3619 public static final com.google.protobuf.Descriptors.Descriptor
3621 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratDeletedClauses_descriptor;
3622 }
3623
3624 @java.lang.Override
3625 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3627 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratDeletedClauses_fieldAccessorTable
3628 .ensureFieldAccessorsInitialized(
3629 operations_research.sat.Lrat.LratDeletedClauses.class, operations_research.sat.Lrat.LratDeletedClauses.Builder.class);
3630 }
3631
3632 public static final int CLAUSE_IDS_FIELD_NUMBER = 1;
3633 @SuppressWarnings("serial")
3634 private com.google.protobuf.Internal.LongList clauseIds_ =
3635 emptyLongList();
3645 @java.lang.Override
3646 public java.util.List<java.lang.Long>
3648 return clauseIds_;
3649 }
3650
3659 public int getClauseIdsCount() {
3660 return clauseIds_.size();
3661 }
3662
3672 public long getClauseIds(int index) {
3673 return clauseIds_.getLong(index);
3674 }
3675 private int clauseIdsMemoizedSerializedSize = -1;
3676
3677 private byte memoizedIsInitialized = -1;
3678 @java.lang.Override
3679 public final boolean isInitialized() {
3680 byte isInitialized = memoizedIsInitialized;
3681 if (isInitialized == 1) return true;
3682 if (isInitialized == 0) return false;
3683
3684 memoizedIsInitialized = 1;
3685 return true;
3686 }
3687
3688 @java.lang.Override
3689 public void writeTo(com.google.protobuf.CodedOutputStream output)
3690 throws java.io.IOException {
3692 if (getClauseIdsList().size() > 0) {
3693 output.writeUInt32NoTag(10);
3694 output.writeUInt32NoTag(clauseIdsMemoizedSerializedSize);
3695 }
3696 for (int i = 0; i < clauseIds_.size(); i++) {
3697 output.writeInt64NoTag(clauseIds_.getLong(i));
3698 }
3699 getUnknownFields().writeTo(output);
3700 }
3701
3702 @java.lang.Override
3703 public int getSerializedSize() {
3704 int size = memoizedSize;
3705 if (size != -1) return size;
3706
3707 size = 0;
3708 {
3709 int dataSize = 0;
3710 for (int i = 0; i < clauseIds_.size(); i++) {
3711 dataSize += com.google.protobuf.CodedOutputStream
3712 .computeInt64SizeNoTag(clauseIds_.getLong(i));
3713 }
3714 size += dataSize;
3715 if (!getClauseIdsList().isEmpty()) {
3716 size += 1;
3717 size += com.google.protobuf.CodedOutputStream
3718 .computeInt32SizeNoTag(dataSize);
3719 }
3720 clauseIdsMemoizedSerializedSize = dataSize;
3721 }
3722 size += getUnknownFields().getSerializedSize();
3723 memoizedSize = size;
3724 return size;
3725 }
3726
3727 @java.lang.Override
3728 public boolean equals(final java.lang.Object obj) {
3729 if (obj == this) {
3730 return true;
3731 }
3732 if (!(obj instanceof operations_research.sat.Lrat.LratDeletedClauses)) {
3733 return super.equals(obj);
3734 }
3735 operations_research.sat.Lrat.LratDeletedClauses other = (operations_research.sat.Lrat.LratDeletedClauses) obj;
3736
3737 if (!getClauseIdsList()
3738 .equals(other.getClauseIdsList())) return false;
3739 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
3740 return true;
3741 }
3742
3743 @java.lang.Override
3744 public int hashCode() {
3745 if (memoizedHashCode != 0) {
3746 return memoizedHashCode;
3747 }
3748 int hash = 41;
3749 hash = (19 * hash) + getDescriptor().hashCode();
3750 if (getClauseIdsCount() > 0) {
3751 hash = (37 * hash) + CLAUSE_IDS_FIELD_NUMBER;
3752 hash = (53 * hash) + getClauseIdsList().hashCode();
3753 }
3754 hash = (29 * hash) + getUnknownFields().hashCode();
3755 memoizedHashCode = hash;
3756 return hash;
3757 }
3758
3760 java.nio.ByteBuffer data)
3761 throws com.google.protobuf.InvalidProtocolBufferException {
3762 return PARSER.parseFrom(data);
3763 }
3765 java.nio.ByteBuffer data,
3766 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3767 throws com.google.protobuf.InvalidProtocolBufferException {
3768 return PARSER.parseFrom(data, extensionRegistry);
3769 }
3771 com.google.protobuf.ByteString data)
3772 throws com.google.protobuf.InvalidProtocolBufferException {
3773 return PARSER.parseFrom(data);
3774 }
3776 com.google.protobuf.ByteString data,
3777 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3778 throws com.google.protobuf.InvalidProtocolBufferException {
3779 return PARSER.parseFrom(data, extensionRegistry);
3780 }
3782 throws com.google.protobuf.InvalidProtocolBufferException {
3783 return PARSER.parseFrom(data);
3784 }
3786 byte[] data,
3787 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3788 throws com.google.protobuf.InvalidProtocolBufferException {
3789 return PARSER.parseFrom(data, extensionRegistry);
3790 }
3791 public static operations_research.sat.Lrat.LratDeletedClauses parseFrom(java.io.InputStream input)
3792 throws java.io.IOException {
3793 return com.google.protobuf.GeneratedMessage
3794 .parseWithIOException(PARSER, input);
3795 }
3797 java.io.InputStream input,
3798 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3799 throws java.io.IOException {
3800 return com.google.protobuf.GeneratedMessage
3801 .parseWithIOException(PARSER, input, extensionRegistry);
3802 }
3803
3805 throws java.io.IOException {
3806 return com.google.protobuf.GeneratedMessage
3807 .parseDelimitedWithIOException(PARSER, input);
3808 }
3809
3811 java.io.InputStream input,
3812 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3813 throws java.io.IOException {
3814 return com.google.protobuf.GeneratedMessage
3815 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
3816 }
3818 com.google.protobuf.CodedInputStream input)
3819 throws java.io.IOException {
3820 return com.google.protobuf.GeneratedMessage
3821 .parseWithIOException(PARSER, input);
3822 }
3824 com.google.protobuf.CodedInputStream input,
3825 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3826 throws java.io.IOException {
3827 return com.google.protobuf.GeneratedMessage
3828 .parseWithIOException(PARSER, input, extensionRegistry);
3829 }
3830
3831 @java.lang.Override
3832 public Builder newBuilderForType() { return newBuilder(); }
3833 public static Builder newBuilder() {
3834 return DEFAULT_INSTANCE.toBuilder();
3835 }
3836 public static Builder newBuilder(operations_research.sat.Lrat.LratDeletedClauses prototype) {
3837 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
3838 }
3839 @java.lang.Override
3841 return this == DEFAULT_INSTANCE
3842 ? new Builder() : new Builder().mergeFrom(this);
3843 }
3844
3845 @java.lang.Override
3847 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3848 Builder builder = new Builder(parent);
3849 return builder;
3850 }
3851
3858 public static final class Builder extends
3859 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
3860 // @@protoc_insertion_point(builder_implements:operations_research.sat.LratDeletedClauses)
3861 operations_research.sat.Lrat.LratDeletedClausesOrBuilder {
3862 public static final com.google.protobuf.Descriptors.Descriptor
3864 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratDeletedClauses_descriptor;
3865 }
3866
3867 @java.lang.Override
3868 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3870 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratDeletedClauses_fieldAccessorTable
3871 .ensureFieldAccessorsInitialized(
3872 operations_research.sat.Lrat.LratDeletedClauses.class, operations_research.sat.Lrat.LratDeletedClauses.Builder.class);
3873 }
3874
3875 // Construct using operations_research.sat.Lrat.LratDeletedClauses.newBuilder()
3876 private Builder() {
3877
3878 }
3879
3880 private Builder(
3881 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3882 super(parent);
3883
3884 }
3885 @java.lang.Override
3886 public Builder clear() {
3887 super.clear();
3888 bitField0_ = 0;
3889 clauseIds_ = emptyLongList();
3890 return this;
3891 }
3892
3893 @java.lang.Override
3894 public com.google.protobuf.Descriptors.Descriptor
3896 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratDeletedClauses_descriptor;
3897 }
3898
3899 @java.lang.Override
3901 return operations_research.sat.Lrat.LratDeletedClauses.getDefaultInstance();
3902 }
3903
3904 @java.lang.Override
3907 if (!result.isInitialized()) {
3908 throw newUninitializedMessageException(result);
3909 }
3910 return result;
3911 }
3912
3913 @java.lang.Override
3915 operations_research.sat.Lrat.LratDeletedClauses result = new operations_research.sat.Lrat.LratDeletedClauses(this);
3916 if (bitField0_ != 0) { buildPartial0(result); }
3917 onBuilt();
3918 return result;
3919 }
3920
3921 private void buildPartial0(operations_research.sat.Lrat.LratDeletedClauses result) {
3922 int from_bitField0_ = bitField0_;
3923 if (((from_bitField0_ & 0x00000001) != 0)) {
3924 clauseIds_.makeImmutable();
3925 result.clauseIds_ = clauseIds_;
3926 }
3927 }
3928
3929 @java.lang.Override
3930 public Builder mergeFrom(com.google.protobuf.Message other) {
3931 if (other instanceof operations_research.sat.Lrat.LratDeletedClauses) {
3932 return mergeFrom((operations_research.sat.Lrat.LratDeletedClauses)other);
3933 } else {
3934 super.mergeFrom(other);
3935 return this;
3936 }
3937 }
3938
3939 public Builder mergeFrom(operations_research.sat.Lrat.LratDeletedClauses other) {
3940 if (other == operations_research.sat.Lrat.LratDeletedClauses.getDefaultInstance()) return this;
3941 if (!other.clauseIds_.isEmpty()) {
3942 if (clauseIds_.isEmpty()) {
3943 clauseIds_ = other.clauseIds_;
3944 clauseIds_.makeImmutable();
3945 bitField0_ |= 0x00000001;
3946 } else {
3947 ensureClauseIdsIsMutable();
3948 clauseIds_.addAll(other.clauseIds_);
3949 }
3950 onChanged();
3951 }
3952 this.mergeUnknownFields(other.getUnknownFields());
3953 onChanged();
3954 return this;
3955 }
3956
3957 @java.lang.Override
3958 public final boolean isInitialized() {
3959 return true;
3960 }
3961
3962 @java.lang.Override
3963 public Builder mergeFrom(
3964 com.google.protobuf.CodedInputStream input,
3965 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3966 throws java.io.IOException {
3967 if (extensionRegistry == null) {
3968 throw new java.lang.NullPointerException();
3969 }
3970 try {
3971 boolean done = false;
3972 while (!done) {
3973 int tag = input.readTag();
3974 switch (tag) {
3975 case 0:
3976 done = true;
3977 break;
3978 case 8: {
3979 long v = input.readInt64();
3980 ensureClauseIdsIsMutable();
3981 clauseIds_.addLong(v);
3982 break;
3983 } // case 8
3984 case 10: {
3985 int length = input.readRawVarint32();
3986 int limit = input.pushLimit(length);
3987 ensureClauseIdsIsMutable();
3988 while (input.getBytesUntilLimit() > 0) {
3989 clauseIds_.addLong(input.readInt64());
3990 }
3991 input.popLimit(limit);
3992 break;
3993 } // case 10
3994 default: {
3995 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
3996 done = true; // was an endgroup tag
3997 }
3998 break;
3999 } // default:
4000 } // switch (tag)
4001 } // while (!done)
4002 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
4003 throw e.unwrapIOException();
4004 } finally {
4005 onChanged();
4006 } // finally
4007 return this;
4008 }
4009 private int bitField0_;
4010
4011 private com.google.protobuf.Internal.LongList clauseIds_ = emptyLongList();
4012 private void ensureClauseIdsIsMutable() {
4013 if (!clauseIds_.isModifiable()) {
4014 clauseIds_ = makeMutableCopy(clauseIds_);
4015 }
4016 bitField0_ |= 0x00000001;
4017 }
4027 public java.util.List<java.lang.Long>
4029 clauseIds_.makeImmutable();
4030 return clauseIds_;
4031 }
4032
4041 public int getClauseIdsCount() {
4042 return clauseIds_.size();
4043 }
4044
4054 public long getClauseIds(int index) {
4055 return clauseIds_.getLong(index);
4056 }
4057
4068 public Builder setClauseIds(
4069 int index, long value) {
4070
4071 ensureClauseIdsIsMutable();
4072 clauseIds_.setLong(index, value);
4073 bitField0_ |= 0x00000001;
4074 onChanged();
4075 return this;
4076 }
4077
4087 public Builder addClauseIds(long value) {
4088
4089 ensureClauseIdsIsMutable();
4090 clauseIds_.addLong(value);
4091 bitField0_ |= 0x00000001;
4092 onChanged();
4093 return this;
4094 }
4095
4105 public Builder addAllClauseIds(
4106 java.lang.Iterable<? extends java.lang.Long> values) {
4107 ensureClauseIdsIsMutable();
4108 com.google.protobuf.AbstractMessageLite.Builder.addAll(
4109 values, clauseIds_);
4110 bitField0_ |= 0x00000001;
4111 onChanged();
4112 return this;
4113 }
4114
4123 public Builder clearClauseIds() {
4124 clauseIds_ = emptyLongList();
4125 bitField0_ = (bitField0_ & ~0x00000001);
4126 onChanged();
4127 return this;
4128 }
4129
4130 // @@protoc_insertion_point(builder_scope:operations_research.sat.LratDeletedClauses)
4131 }
4132
4133 // @@protoc_insertion_point(class_scope:operations_research.sat.LratDeletedClauses)
4134 private static final operations_research.sat.Lrat.LratDeletedClauses DEFAULT_INSTANCE;
4135 static {
4136 DEFAULT_INSTANCE = new operations_research.sat.Lrat.LratDeletedClauses();
4137 }
4138
4140 return DEFAULT_INSTANCE;
4141 }
4142
4143 private static final com.google.protobuf.Parser<LratDeletedClauses>
4144 PARSER = new com.google.protobuf.AbstractParser<LratDeletedClauses>() {
4145 @java.lang.Override
4146 public LratDeletedClauses parsePartialFrom(
4147 com.google.protobuf.CodedInputStream input,
4148 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4149 throws com.google.protobuf.InvalidProtocolBufferException {
4150 Builder builder = newBuilder();
4151 try {
4152 builder.mergeFrom(input, extensionRegistry);
4153 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
4154 throw e.setUnfinishedMessage(builder.buildPartial());
4155 } catch (com.google.protobuf.UninitializedMessageException e) {
4156 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
4157 } catch (java.io.IOException e) {
4158 throw new com.google.protobuf.InvalidProtocolBufferException(e)
4159 .setUnfinishedMessage(builder.buildPartial());
4160 }
4161 return builder.buildPartial();
4162 }
4163 };
4164
4165 public static com.google.protobuf.Parser<LratDeletedClauses> parser() {
4166 return PARSER;
4167 }
4168
4169 @java.lang.Override
4170 public com.google.protobuf.Parser<LratDeletedClauses> getParserForType() {
4171 return PARSER;
4172 }
4173
4174 @java.lang.Override
4178
4179 }
4180
4247
4259 public static final class LratProofStep extends
4260 com.google.protobuf.GeneratedMessage implements
4261 // @@protoc_insertion_point(message_implements:operations_research.sat.LratProofStep)
4263 private static final long serialVersionUID = 0L;
4264 static {
4265 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
4266 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
4267 /* major= */ 4,
4268 /* minor= */ 33,
4269 /* patch= */ 1,
4270 /* suffix= */ "",
4271 "LratProofStep");
4272 }
4273 // Use LratProofStep.newBuilder() to construct.
4274 private LratProofStep(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
4275 super(builder);
4276 }
4277 private LratProofStep() {
4278 }
4279
4280 public static final com.google.protobuf.Descriptors.Descriptor
4282 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratProofStep_descriptor;
4283 }
4284
4285 @java.lang.Override
4286 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
4288 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratProofStep_fieldAccessorTable
4289 .ensureFieldAccessorsInitialized(
4290 operations_research.sat.Lrat.LratProofStep.class, operations_research.sat.Lrat.LratProofStep.Builder.class);
4291 }
4292
4293 private int stepCase_ = 0;
4294 @SuppressWarnings("serial")
4295 private java.lang.Object step_;
4296 public enum StepCase
4297 implements com.google.protobuf.Internal.EnumLite,
4298 com.google.protobuf.AbstractMessage.InternalOneOfEnum {
4304 private final int value;
4305 private StepCase(int value) {
4306 this.value = value;
4307 }
4313 @java.lang.Deprecated
4314 public static StepCase valueOf(int value) {
4315 return forNumber(value);
4316 }
4317
4318 public static StepCase forNumber(int value) {
4319 switch (value) {
4320 case 1: return IMPORTED_CLAUSE;
4321 case 2: return INFERRED_CLAUSE;
4322 case 3: return EXPORTED_CLAUSE;
4323 case 4: return DELETED_CLAUSES;
4324 case 0: return STEP_NOT_SET;
4325 default: return null;
4326 }
4327 }
4328 public int getNumber() {
4329 return this.value;
4330 }
4331 };
4332
4333 public StepCase
4335 return StepCase.forNumber(
4336 stepCase_);
4337 }
4338
4339 public static final int IMPORTED_CLAUSE_FIELD_NUMBER = 1;
4344 @java.lang.Override
4345 public boolean hasImportedClause() {
4346 return stepCase_ == 1;
4347 }
4348
4352 @java.lang.Override
4354 if (stepCase_ == 1) {
4355 return (operations_research.sat.Lrat.LratImportedClause) step_;
4356 }
4357 return operations_research.sat.Lrat.LratImportedClause.getDefaultInstance();
4358 }
4359
4362 @java.lang.Override
4364 if (stepCase_ == 1) {
4365 return (operations_research.sat.Lrat.LratImportedClause) step_;
4366 }
4367 return operations_research.sat.Lrat.LratImportedClause.getDefaultInstance();
4368 }
4369
4370 public static final int INFERRED_CLAUSE_FIELD_NUMBER = 2;
4375 @java.lang.Override
4376 public boolean hasInferredClause() {
4377 return stepCase_ == 2;
4378 }
4379
4383 @java.lang.Override
4385 if (stepCase_ == 2) {
4386 return (operations_research.sat.Lrat.LratInferredClause) step_;
4387 }
4388 return operations_research.sat.Lrat.LratInferredClause.getDefaultInstance();
4389 }
4390
4393 @java.lang.Override
4395 if (stepCase_ == 2) {
4396 return (operations_research.sat.Lrat.LratInferredClause) step_;
4397 }
4398 return operations_research.sat.Lrat.LratInferredClause.getDefaultInstance();
4399 }
4400
4401 public static final int EXPORTED_CLAUSE_FIELD_NUMBER = 3;
4406 @java.lang.Override
4407 public boolean hasExportedClause() {
4408 return stepCase_ == 3;
4409 }
4410
4414 @java.lang.Override
4416 if (stepCase_ == 3) {
4417 return (operations_research.sat.Lrat.LratExportedClause) step_;
4418 }
4419 return operations_research.sat.Lrat.LratExportedClause.getDefaultInstance();
4420 }
4421
4424 @java.lang.Override
4426 if (stepCase_ == 3) {
4427 return (operations_research.sat.Lrat.LratExportedClause) step_;
4428 }
4429 return operations_research.sat.Lrat.LratExportedClause.getDefaultInstance();
4430 }
4431
4432 public static final int DELETED_CLAUSES_FIELD_NUMBER = 4;
4437 @java.lang.Override
4438 public boolean hasDeletedClauses() {
4439 return stepCase_ == 4;
4440 }
4441
4445 @java.lang.Override
4447 if (stepCase_ == 4) {
4448 return (operations_research.sat.Lrat.LratDeletedClauses) step_;
4449 }
4450 return operations_research.sat.Lrat.LratDeletedClauses.getDefaultInstance();
4451 }
4452
4455 @java.lang.Override
4457 if (stepCase_ == 4) {
4458 return (operations_research.sat.Lrat.LratDeletedClauses) step_;
4459 }
4460 return operations_research.sat.Lrat.LratDeletedClauses.getDefaultInstance();
4461 }
4462
4463 private byte memoizedIsInitialized = -1;
4464 @java.lang.Override
4465 public final boolean isInitialized() {
4466 byte isInitialized = memoizedIsInitialized;
4467 if (isInitialized == 1) return true;
4468 if (isInitialized == 0) return false;
4469
4470 memoizedIsInitialized = 1;
4471 return true;
4472 }
4473
4474 @java.lang.Override
4475 public void writeTo(com.google.protobuf.CodedOutputStream output)
4476 throws java.io.IOException {
4477 if (stepCase_ == 1) {
4478 output.writeMessage(1, (operations_research.sat.Lrat.LratImportedClause) step_);
4479 }
4480 if (stepCase_ == 2) {
4481 output.writeMessage(2, (operations_research.sat.Lrat.LratInferredClause) step_);
4482 }
4483 if (stepCase_ == 3) {
4484 output.writeMessage(3, (operations_research.sat.Lrat.LratExportedClause) step_);
4485 }
4486 if (stepCase_ == 4) {
4487 output.writeMessage(4, (operations_research.sat.Lrat.LratDeletedClauses) step_);
4488 }
4489 getUnknownFields().writeTo(output);
4490 }
4491
4492 @java.lang.Override
4493 public int getSerializedSize() {
4494 int size = memoizedSize;
4495 if (size != -1) return size;
4496
4497 size = 0;
4498 if (stepCase_ == 1) {
4499 size += com.google.protobuf.CodedOutputStream
4500 .computeMessageSize(1, (operations_research.sat.Lrat.LratImportedClause) step_);
4501 }
4502 if (stepCase_ == 2) {
4503 size += com.google.protobuf.CodedOutputStream
4504 .computeMessageSize(2, (operations_research.sat.Lrat.LratInferredClause) step_);
4505 }
4506 if (stepCase_ == 3) {
4507 size += com.google.protobuf.CodedOutputStream
4508 .computeMessageSize(3, (operations_research.sat.Lrat.LratExportedClause) step_);
4509 }
4510 if (stepCase_ == 4) {
4511 size += com.google.protobuf.CodedOutputStream
4512 .computeMessageSize(4, (operations_research.sat.Lrat.LratDeletedClauses) step_);
4513 }
4514 size += getUnknownFields().getSerializedSize();
4515 memoizedSize = size;
4516 return size;
4517 }
4518
4519 @java.lang.Override
4520 public boolean equals(final java.lang.Object obj) {
4521 if (obj == this) {
4522 return true;
4523 }
4524 if (!(obj instanceof operations_research.sat.Lrat.LratProofStep)) {
4525 return super.equals(obj);
4526 }
4527 operations_research.sat.Lrat.LratProofStep other = (operations_research.sat.Lrat.LratProofStep) obj;
4528
4529 if (!getStepCase().equals(other.getStepCase())) return false;
4530 switch (stepCase_) {
4531 case 1:
4532 if (!getImportedClause()
4533 .equals(other.getImportedClause())) return false;
4534 break;
4535 case 2:
4536 if (!getInferredClause()
4537 .equals(other.getInferredClause())) return false;
4538 break;
4539 case 3:
4540 if (!getExportedClause()
4541 .equals(other.getExportedClause())) return false;
4542 break;
4543 case 4:
4544 if (!getDeletedClauses()
4545 .equals(other.getDeletedClauses())) return false;
4546 break;
4547 case 0:
4548 default:
4549 }
4550 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
4551 return true;
4552 }
4553
4554 @java.lang.Override
4555 public int hashCode() {
4556 if (memoizedHashCode != 0) {
4557 return memoizedHashCode;
4558 }
4559 int hash = 41;
4560 hash = (19 * hash) + getDescriptor().hashCode();
4561 switch (stepCase_) {
4562 case 1:
4563 hash = (37 * hash) + IMPORTED_CLAUSE_FIELD_NUMBER;
4564 hash = (53 * hash) + getImportedClause().hashCode();
4565 break;
4566 case 2:
4567 hash = (37 * hash) + INFERRED_CLAUSE_FIELD_NUMBER;
4568 hash = (53 * hash) + getInferredClause().hashCode();
4569 break;
4570 case 3:
4571 hash = (37 * hash) + EXPORTED_CLAUSE_FIELD_NUMBER;
4572 hash = (53 * hash) + getExportedClause().hashCode();
4573 break;
4574 case 4:
4575 hash = (37 * hash) + DELETED_CLAUSES_FIELD_NUMBER;
4576 hash = (53 * hash) + getDeletedClauses().hashCode();
4577 break;
4578 case 0:
4579 default:
4580 }
4581 hash = (29 * hash) + getUnknownFields().hashCode();
4582 memoizedHashCode = hash;
4583 return hash;
4584 }
4585
4587 java.nio.ByteBuffer data)
4588 throws com.google.protobuf.InvalidProtocolBufferException {
4589 return PARSER.parseFrom(data);
4590 }
4592 java.nio.ByteBuffer data,
4593 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4594 throws com.google.protobuf.InvalidProtocolBufferException {
4595 return PARSER.parseFrom(data, extensionRegistry);
4596 }
4598 com.google.protobuf.ByteString data)
4599 throws com.google.protobuf.InvalidProtocolBufferException {
4600 return PARSER.parseFrom(data);
4601 }
4603 com.google.protobuf.ByteString data,
4604 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4605 throws com.google.protobuf.InvalidProtocolBufferException {
4606 return PARSER.parseFrom(data, extensionRegistry);
4607 }
4609 throws com.google.protobuf.InvalidProtocolBufferException {
4610 return PARSER.parseFrom(data);
4611 }
4613 byte[] data,
4614 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4615 throws com.google.protobuf.InvalidProtocolBufferException {
4616 return PARSER.parseFrom(data, extensionRegistry);
4617 }
4618 public static operations_research.sat.Lrat.LratProofStep parseFrom(java.io.InputStream input)
4619 throws java.io.IOException {
4620 return com.google.protobuf.GeneratedMessage
4621 .parseWithIOException(PARSER, input);
4622 }
4624 java.io.InputStream input,
4625 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4626 throws java.io.IOException {
4627 return com.google.protobuf.GeneratedMessage
4628 .parseWithIOException(PARSER, input, extensionRegistry);
4629 }
4630
4632 throws java.io.IOException {
4633 return com.google.protobuf.GeneratedMessage
4634 .parseDelimitedWithIOException(PARSER, input);
4635 }
4636
4638 java.io.InputStream input,
4639 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4640 throws java.io.IOException {
4641 return com.google.protobuf.GeneratedMessage
4642 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
4643 }
4645 com.google.protobuf.CodedInputStream input)
4646 throws java.io.IOException {
4647 return com.google.protobuf.GeneratedMessage
4648 .parseWithIOException(PARSER, input);
4649 }
4651 com.google.protobuf.CodedInputStream input,
4652 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4653 throws java.io.IOException {
4654 return com.google.protobuf.GeneratedMessage
4655 .parseWithIOException(PARSER, input, extensionRegistry);
4656 }
4657
4658 @java.lang.Override
4659 public Builder newBuilderForType() { return newBuilder(); }
4660 public static Builder newBuilder() {
4661 return DEFAULT_INSTANCE.toBuilder();
4662 }
4663 public static Builder newBuilder(operations_research.sat.Lrat.LratProofStep prototype) {
4664 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
4665 }
4666 @java.lang.Override
4668 return this == DEFAULT_INSTANCE
4669 ? new Builder() : new Builder().mergeFrom(this);
4670 }
4671
4672 @java.lang.Override
4674 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
4675 Builder builder = new Builder(parent);
4676 return builder;
4677 }
4678
4690 public static final class Builder extends
4691 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
4692 // @@protoc_insertion_point(builder_implements:operations_research.sat.LratProofStep)
4693 operations_research.sat.Lrat.LratProofStepOrBuilder {
4694 public static final com.google.protobuf.Descriptors.Descriptor
4696 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratProofStep_descriptor;
4697 }
4698
4699 @java.lang.Override
4700 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
4702 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratProofStep_fieldAccessorTable
4703 .ensureFieldAccessorsInitialized(
4704 operations_research.sat.Lrat.LratProofStep.class, operations_research.sat.Lrat.LratProofStep.Builder.class);
4705 }
4706
4707 // Construct using operations_research.sat.Lrat.LratProofStep.newBuilder()
4708 private Builder() {
4709
4710 }
4711
4712 private Builder(
4713 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
4714 super(parent);
4715
4716 }
4717 @java.lang.Override
4718 public Builder clear() {
4719 super.clear();
4720 bitField0_ = 0;
4721 if (importedClauseBuilder_ != null) {
4722 importedClauseBuilder_.clear();
4723 }
4724 if (inferredClauseBuilder_ != null) {
4725 inferredClauseBuilder_.clear();
4726 }
4727 if (exportedClauseBuilder_ != null) {
4728 exportedClauseBuilder_.clear();
4729 }
4730 if (deletedClausesBuilder_ != null) {
4731 deletedClausesBuilder_.clear();
4732 }
4733 stepCase_ = 0;
4734 step_ = null;
4735 return this;
4736 }
4737
4738 @java.lang.Override
4739 public com.google.protobuf.Descriptors.Descriptor
4741 return operations_research.sat.Lrat.internal_static_operations_research_sat_LratProofStep_descriptor;
4742 }
4743
4744 @java.lang.Override
4746 return operations_research.sat.Lrat.LratProofStep.getDefaultInstance();
4747 }
4748
4749 @java.lang.Override
4752 if (!result.isInitialized()) {
4753 throw newUninitializedMessageException(result);
4754 }
4755 return result;
4756 }
4757
4758 @java.lang.Override
4760 operations_research.sat.Lrat.LratProofStep result = new operations_research.sat.Lrat.LratProofStep(this);
4761 if (bitField0_ != 0) { buildPartial0(result); }
4762 buildPartialOneofs(result);
4763 onBuilt();
4764 return result;
4765 }
4766
4767 private void buildPartial0(operations_research.sat.Lrat.LratProofStep result) {
4768 int from_bitField0_ = bitField0_;
4769 }
4770
4771 private void buildPartialOneofs(operations_research.sat.Lrat.LratProofStep result) {
4772 result.stepCase_ = stepCase_;
4773 result.step_ = this.step_;
4774 if (stepCase_ == 1 &&
4775 importedClauseBuilder_ != null) {
4776 result.step_ = importedClauseBuilder_.build();
4777 }
4778 if (stepCase_ == 2 &&
4779 inferredClauseBuilder_ != null) {
4780 result.step_ = inferredClauseBuilder_.build();
4781 }
4782 if (stepCase_ == 3 &&
4783 exportedClauseBuilder_ != null) {
4784 result.step_ = exportedClauseBuilder_.build();
4785 }
4786 if (stepCase_ == 4 &&
4787 deletedClausesBuilder_ != null) {
4788 result.step_ = deletedClausesBuilder_.build();
4789 }
4790 }
4791
4792 @java.lang.Override
4793 public Builder mergeFrom(com.google.protobuf.Message other) {
4794 if (other instanceof operations_research.sat.Lrat.LratProofStep) {
4795 return mergeFrom((operations_research.sat.Lrat.LratProofStep)other);
4796 } else {
4797 super.mergeFrom(other);
4798 return this;
4799 }
4800 }
4801
4802 public Builder mergeFrom(operations_research.sat.Lrat.LratProofStep other) {
4803 if (other == operations_research.sat.Lrat.LratProofStep.getDefaultInstance()) return this;
4804 switch (other.getStepCase()) {
4805 case IMPORTED_CLAUSE: {
4806 mergeImportedClause(other.getImportedClause());
4807 break;
4808 }
4809 case INFERRED_CLAUSE: {
4810 mergeInferredClause(other.getInferredClause());
4811 break;
4812 }
4813 case EXPORTED_CLAUSE: {
4814 mergeExportedClause(other.getExportedClause());
4815 break;
4816 }
4817 case DELETED_CLAUSES: {
4818 mergeDeletedClauses(other.getDeletedClauses());
4819 break;
4820 }
4821 case STEP_NOT_SET: {
4822 break;
4823 }
4824 }
4825 this.mergeUnknownFields(other.getUnknownFields());
4826 onChanged();
4827 return this;
4828 }
4829
4830 @java.lang.Override
4831 public final boolean isInitialized() {
4832 return true;
4833 }
4834
4835 @java.lang.Override
4836 public Builder mergeFrom(
4837 com.google.protobuf.CodedInputStream input,
4838 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4839 throws java.io.IOException {
4840 if (extensionRegistry == null) {
4841 throw new java.lang.NullPointerException();
4842 }
4843 try {
4844 boolean done = false;
4845 while (!done) {
4846 int tag = input.readTag();
4847 switch (tag) {
4848 case 0:
4849 done = true;
4850 break;
4851 case 10: {
4852 input.readMessage(
4853 internalGetImportedClauseFieldBuilder().getBuilder(),
4854 extensionRegistry);
4855 stepCase_ = 1;
4856 break;
4857 } // case 10
4858 case 18: {
4859 input.readMessage(
4860 internalGetInferredClauseFieldBuilder().getBuilder(),
4861 extensionRegistry);
4862 stepCase_ = 2;
4863 break;
4864 } // case 18
4865 case 26: {
4866 input.readMessage(
4867 internalGetExportedClauseFieldBuilder().getBuilder(),
4868 extensionRegistry);
4869 stepCase_ = 3;
4870 break;
4871 } // case 26
4872 case 34: {
4873 input.readMessage(
4874 internalGetDeletedClausesFieldBuilder().getBuilder(),
4875 extensionRegistry);
4876 stepCase_ = 4;
4877 break;
4878 } // case 34
4879 default: {
4880 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
4881 done = true; // was an endgroup tag
4882 }
4883 break;
4884 } // default:
4885 } // switch (tag)
4886 } // while (!done)
4887 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
4888 throw e.unwrapIOException();
4889 } finally {
4890 onChanged();
4891 } // finally
4892 return this;
4893 }
4894 private int stepCase_ = 0;
4895 private java.lang.Object step_;
4896 public StepCase
4898 return StepCase.forNumber(
4899 stepCase_);
4900 }
4901
4902 public Builder clearStep() {
4903 stepCase_ = 0;
4904 step_ = null;
4905 onChanged();
4906 return this;
4907 }
4908
4909 private int bitField0_;
4910
4911 private com.google.protobuf.SingleFieldBuilder<
4912 operations_research.sat.Lrat.LratImportedClause, operations_research.sat.Lrat.LratImportedClause.Builder, operations_research.sat.Lrat.LratImportedClauseOrBuilder> importedClauseBuilder_;
4917 @java.lang.Override
4918 public boolean hasImportedClause() {
4919 return stepCase_ == 1;
4920 }
4921
4925 @java.lang.Override
4927 if (importedClauseBuilder_ == null) {
4928 if (stepCase_ == 1) {
4929 return (operations_research.sat.Lrat.LratImportedClause) step_;
4930 }
4931 return operations_research.sat.Lrat.LratImportedClause.getDefaultInstance();
4932 } else {
4933 if (stepCase_ == 1) {
4934 return importedClauseBuilder_.getMessage();
4935 }
4936 return operations_research.sat.Lrat.LratImportedClause.getDefaultInstance();
4937 }
4938 }
4939
4942 public Builder setImportedClause(operations_research.sat.Lrat.LratImportedClause value) {
4943 if (importedClauseBuilder_ == null) {
4944 if (value == null) {
4945 throw new NullPointerException();
4946 }
4947 step_ = value;
4948 onChanged();
4949 } else {
4950 importedClauseBuilder_.setMessage(value);
4951 }
4952 stepCase_ = 1;
4953 return this;
4954 }
4955
4958 public Builder setImportedClause(
4959 operations_research.sat.Lrat.LratImportedClause.Builder builderForValue) {
4960 if (importedClauseBuilder_ == null) {
4961 step_ = builderForValue.build();
4962 onChanged();
4963 } else {
4964 importedClauseBuilder_.setMessage(builderForValue.build());
4965 }
4966 stepCase_ = 1;
4967 return this;
4968 }
4969
4972 public Builder mergeImportedClause(operations_research.sat.Lrat.LratImportedClause value) {
4973 if (importedClauseBuilder_ == null) {
4974 if (stepCase_ == 1 &&
4975 step_ != operations_research.sat.Lrat.LratImportedClause.getDefaultInstance()) {
4976 step_ = operations_research.sat.Lrat.LratImportedClause.newBuilder((operations_research.sat.Lrat.LratImportedClause) step_)
4977 .mergeFrom(value).buildPartial();
4978 } else {
4979 step_ = value;
4980 }
4981 onChanged();
4982 } else {
4983 if (stepCase_ == 1) {
4984 importedClauseBuilder_.mergeFrom(value);
4985 } else {
4986 importedClauseBuilder_.setMessage(value);
4987 }
4988 }
4989 stepCase_ = 1;
4990 return this;
4991 }
4992
4995 public Builder clearImportedClause() {
4996 if (importedClauseBuilder_ == null) {
4997 if (stepCase_ == 1) {
4998 stepCase_ = 0;
4999 step_ = null;
5000 onChanged();
5001 }
5002 } else {
5003 if (stepCase_ == 1) {
5004 stepCase_ = 0;
5005 step_ = null;
5006 }
5007 importedClauseBuilder_.clear();
5008 }
5009 return this;
5010 }
5011
5015 return internalGetImportedClauseFieldBuilder().getBuilder();
5016 }
5017
5020 @java.lang.Override
5022 if ((stepCase_ == 1) && (importedClauseBuilder_ != null)) {
5023 return importedClauseBuilder_.getMessageOrBuilder();
5024 } else {
5025 if (stepCase_ == 1) {
5026 return (operations_research.sat.Lrat.LratImportedClause) step_;
5027 }
5028 return operations_research.sat.Lrat.LratImportedClause.getDefaultInstance();
5029 }
5030 }
5031
5034 private com.google.protobuf.SingleFieldBuilder<
5035 operations_research.sat.Lrat.LratImportedClause, operations_research.sat.Lrat.LratImportedClause.Builder, operations_research.sat.Lrat.LratImportedClauseOrBuilder>
5036 internalGetImportedClauseFieldBuilder() {
5037 if (importedClauseBuilder_ == null) {
5038 if (!(stepCase_ == 1)) {
5039 step_ = operations_research.sat.Lrat.LratImportedClause.getDefaultInstance();
5040 }
5041 importedClauseBuilder_ = new com.google.protobuf.SingleFieldBuilder<
5042 operations_research.sat.Lrat.LratImportedClause, operations_research.sat.Lrat.LratImportedClause.Builder, operations_research.sat.Lrat.LratImportedClauseOrBuilder>(
5043 (operations_research.sat.Lrat.LratImportedClause) step_,
5044 getParentForChildren(),
5045 isClean());
5046 step_ = null;
5047 }
5048 stepCase_ = 1;
5049 onChanged();
5050 return importedClauseBuilder_;
5051 }
5052
5053 private com.google.protobuf.SingleFieldBuilder<
5054 operations_research.sat.Lrat.LratInferredClause, operations_research.sat.Lrat.LratInferredClause.Builder, operations_research.sat.Lrat.LratInferredClauseOrBuilder> inferredClauseBuilder_;
5059 @java.lang.Override
5060 public boolean hasInferredClause() {
5061 return stepCase_ == 2;
5062 }
5063
5067 @java.lang.Override
5069 if (inferredClauseBuilder_ == null) {
5070 if (stepCase_ == 2) {
5071 return (operations_research.sat.Lrat.LratInferredClause) step_;
5072 }
5073 return operations_research.sat.Lrat.LratInferredClause.getDefaultInstance();
5074 } else {
5075 if (stepCase_ == 2) {
5076 return inferredClauseBuilder_.getMessage();
5077 }
5078 return operations_research.sat.Lrat.LratInferredClause.getDefaultInstance();
5079 }
5080 }
5081
5084 public Builder setInferredClause(operations_research.sat.Lrat.LratInferredClause value) {
5085 if (inferredClauseBuilder_ == null) {
5086 if (value == null) {
5087 throw new NullPointerException();
5088 }
5089 step_ = value;
5090 onChanged();
5091 } else {
5092 inferredClauseBuilder_.setMessage(value);
5093 }
5094 stepCase_ = 2;
5095 return this;
5096 }
5097
5100 public Builder setInferredClause(
5101 operations_research.sat.Lrat.LratInferredClause.Builder builderForValue) {
5102 if (inferredClauseBuilder_ == null) {
5103 step_ = builderForValue.build();
5104 onChanged();
5105 } else {
5106 inferredClauseBuilder_.setMessage(builderForValue.build());
5107 }
5108 stepCase_ = 2;
5109 return this;
5110 }
5111
5114 public Builder mergeInferredClause(operations_research.sat.Lrat.LratInferredClause value) {
5115 if (inferredClauseBuilder_ == null) {
5116 if (stepCase_ == 2 &&
5117 step_ != operations_research.sat.Lrat.LratInferredClause.getDefaultInstance()) {
5118 step_ = operations_research.sat.Lrat.LratInferredClause.newBuilder((operations_research.sat.Lrat.LratInferredClause) step_)
5119 .mergeFrom(value).buildPartial();
5120 } else {
5121 step_ = value;
5122 }
5123 onChanged();
5124 } else {
5125 if (stepCase_ == 2) {
5126 inferredClauseBuilder_.mergeFrom(value);
5127 } else {
5128 inferredClauseBuilder_.setMessage(value);
5129 }
5130 }
5131 stepCase_ = 2;
5132 return this;
5133 }
5134
5137 public Builder clearInferredClause() {
5138 if (inferredClauseBuilder_ == null) {
5139 if (stepCase_ == 2) {
5140 stepCase_ = 0;
5141 step_ = null;
5142 onChanged();
5143 }
5144 } else {
5145 if (stepCase_ == 2) {
5146 stepCase_ = 0;
5147 step_ = null;
5148 }
5149 inferredClauseBuilder_.clear();
5150 }
5151 return this;
5152 }
5153
5157 return internalGetInferredClauseFieldBuilder().getBuilder();
5158 }
5159
5162 @java.lang.Override
5164 if ((stepCase_ == 2) && (inferredClauseBuilder_ != null)) {
5165 return inferredClauseBuilder_.getMessageOrBuilder();
5166 } else {
5167 if (stepCase_ == 2) {
5168 return (operations_research.sat.Lrat.LratInferredClause) step_;
5169 }
5170 return operations_research.sat.Lrat.LratInferredClause.getDefaultInstance();
5171 }
5172 }
5173
5176 private com.google.protobuf.SingleFieldBuilder<
5177 operations_research.sat.Lrat.LratInferredClause, operations_research.sat.Lrat.LratInferredClause.Builder, operations_research.sat.Lrat.LratInferredClauseOrBuilder>
5178 internalGetInferredClauseFieldBuilder() {
5179 if (inferredClauseBuilder_ == null) {
5180 if (!(stepCase_ == 2)) {
5181 step_ = operations_research.sat.Lrat.LratInferredClause.getDefaultInstance();
5182 }
5183 inferredClauseBuilder_ = new com.google.protobuf.SingleFieldBuilder<
5184 operations_research.sat.Lrat.LratInferredClause, operations_research.sat.Lrat.LratInferredClause.Builder, operations_research.sat.Lrat.LratInferredClauseOrBuilder>(
5185 (operations_research.sat.Lrat.LratInferredClause) step_,
5186 getParentForChildren(),
5187 isClean());
5188 step_ = null;
5189 }
5190 stepCase_ = 2;
5191 onChanged();
5192 return inferredClauseBuilder_;
5193 }
5194
5195 private com.google.protobuf.SingleFieldBuilder<
5196 operations_research.sat.Lrat.LratExportedClause, operations_research.sat.Lrat.LratExportedClause.Builder, operations_research.sat.Lrat.LratExportedClauseOrBuilder> exportedClauseBuilder_;
5201 @java.lang.Override
5202 public boolean hasExportedClause() {
5203 return stepCase_ == 3;
5204 }
5205
5209 @java.lang.Override
5211 if (exportedClauseBuilder_ == null) {
5212 if (stepCase_ == 3) {
5213 return (operations_research.sat.Lrat.LratExportedClause) step_;
5214 }
5215 return operations_research.sat.Lrat.LratExportedClause.getDefaultInstance();
5216 } else {
5217 if (stepCase_ == 3) {
5218 return exportedClauseBuilder_.getMessage();
5219 }
5220 return operations_research.sat.Lrat.LratExportedClause.getDefaultInstance();
5221 }
5222 }
5223
5226 public Builder setExportedClause(operations_research.sat.Lrat.LratExportedClause value) {
5227 if (exportedClauseBuilder_ == null) {
5228 if (value == null) {
5229 throw new NullPointerException();
5230 }
5231 step_ = value;
5232 onChanged();
5233 } else {
5234 exportedClauseBuilder_.setMessage(value);
5235 }
5236 stepCase_ = 3;
5237 return this;
5238 }
5239
5242 public Builder setExportedClause(
5243 operations_research.sat.Lrat.LratExportedClause.Builder builderForValue) {
5244 if (exportedClauseBuilder_ == null) {
5245 step_ = builderForValue.build();
5246 onChanged();
5247 } else {
5248 exportedClauseBuilder_.setMessage(builderForValue.build());
5249 }
5250 stepCase_ = 3;
5251 return this;
5252 }
5253
5256 public Builder mergeExportedClause(operations_research.sat.Lrat.LratExportedClause value) {
5257 if (exportedClauseBuilder_ == null) {
5258 if (stepCase_ == 3 &&
5259 step_ != operations_research.sat.Lrat.LratExportedClause.getDefaultInstance()) {
5260 step_ = operations_research.sat.Lrat.LratExportedClause.newBuilder((operations_research.sat.Lrat.LratExportedClause) step_)
5261 .mergeFrom(value).buildPartial();
5262 } else {
5263 step_ = value;
5264 }
5265 onChanged();
5266 } else {
5267 if (stepCase_ == 3) {
5268 exportedClauseBuilder_.mergeFrom(value);
5269 } else {
5270 exportedClauseBuilder_.setMessage(value);
5271 }
5272 }
5273 stepCase_ = 3;
5274 return this;
5275 }
5276
5279 public Builder clearExportedClause() {
5280 if (exportedClauseBuilder_ == null) {
5281 if (stepCase_ == 3) {
5282 stepCase_ = 0;
5283 step_ = null;
5284 onChanged();
5285 }
5286 } else {
5287 if (stepCase_ == 3) {
5288 stepCase_ = 0;
5289 step_ = null;
5290 }
5291 exportedClauseBuilder_.clear();
5292 }
5293 return this;
5294 }
5295
5299 return internalGetExportedClauseFieldBuilder().getBuilder();
5300 }
5301
5304 @java.lang.Override
5306 if ((stepCase_ == 3) && (exportedClauseBuilder_ != null)) {
5307 return exportedClauseBuilder_.getMessageOrBuilder();
5308 } else {
5309 if (stepCase_ == 3) {
5310 return (operations_research.sat.Lrat.LratExportedClause) step_;
5311 }
5312 return operations_research.sat.Lrat.LratExportedClause.getDefaultInstance();
5313 }
5314 }
5315
5318 private com.google.protobuf.SingleFieldBuilder<
5319 operations_research.sat.Lrat.LratExportedClause, operations_research.sat.Lrat.LratExportedClause.Builder, operations_research.sat.Lrat.LratExportedClauseOrBuilder>
5320 internalGetExportedClauseFieldBuilder() {
5321 if (exportedClauseBuilder_ == null) {
5322 if (!(stepCase_ == 3)) {
5323 step_ = operations_research.sat.Lrat.LratExportedClause.getDefaultInstance();
5324 }
5325 exportedClauseBuilder_ = new com.google.protobuf.SingleFieldBuilder<
5326 operations_research.sat.Lrat.LratExportedClause, operations_research.sat.Lrat.LratExportedClause.Builder, operations_research.sat.Lrat.LratExportedClauseOrBuilder>(
5327 (operations_research.sat.Lrat.LratExportedClause) step_,
5328 getParentForChildren(),
5329 isClean());
5330 step_ = null;
5331 }
5332 stepCase_ = 3;
5333 onChanged();
5334 return exportedClauseBuilder_;
5335 }
5336
5337 private com.google.protobuf.SingleFieldBuilder<
5338 operations_research.sat.Lrat.LratDeletedClauses, operations_research.sat.Lrat.LratDeletedClauses.Builder, operations_research.sat.Lrat.LratDeletedClausesOrBuilder> deletedClausesBuilder_;
5343 @java.lang.Override
5344 public boolean hasDeletedClauses() {
5345 return stepCase_ == 4;
5346 }
5347
5351 @java.lang.Override
5353 if (deletedClausesBuilder_ == null) {
5354 if (stepCase_ == 4) {
5355 return (operations_research.sat.Lrat.LratDeletedClauses) step_;
5356 }
5357 return operations_research.sat.Lrat.LratDeletedClauses.getDefaultInstance();
5358 } else {
5359 if (stepCase_ == 4) {
5360 return deletedClausesBuilder_.getMessage();
5361 }
5362 return operations_research.sat.Lrat.LratDeletedClauses.getDefaultInstance();
5363 }
5364 }
5365
5368 public Builder setDeletedClauses(operations_research.sat.Lrat.LratDeletedClauses value) {
5369 if (deletedClausesBuilder_ == null) {
5370 if (value == null) {
5371 throw new NullPointerException();
5372 }
5373 step_ = value;
5374 onChanged();
5375 } else {
5376 deletedClausesBuilder_.setMessage(value);
5377 }
5378 stepCase_ = 4;
5379 return this;
5380 }
5381
5384 public Builder setDeletedClauses(
5385 operations_research.sat.Lrat.LratDeletedClauses.Builder builderForValue) {
5386 if (deletedClausesBuilder_ == null) {
5387 step_ = builderForValue.build();
5388 onChanged();
5389 } else {
5390 deletedClausesBuilder_.setMessage(builderForValue.build());
5391 }
5392 stepCase_ = 4;
5393 return this;
5394 }
5395
5398 public Builder mergeDeletedClauses(operations_research.sat.Lrat.LratDeletedClauses value) {
5399 if (deletedClausesBuilder_ == null) {
5400 if (stepCase_ == 4 &&
5401 step_ != operations_research.sat.Lrat.LratDeletedClauses.getDefaultInstance()) {
5402 step_ = operations_research.sat.Lrat.LratDeletedClauses.newBuilder((operations_research.sat.Lrat.LratDeletedClauses) step_)
5403 .mergeFrom(value).buildPartial();
5404 } else {
5405 step_ = value;
5406 }
5407 onChanged();
5408 } else {
5409 if (stepCase_ == 4) {
5410 deletedClausesBuilder_.mergeFrom(value);
5411 } else {
5412 deletedClausesBuilder_.setMessage(value);
5413 }
5414 }
5415 stepCase_ = 4;
5416 return this;
5417 }
5418
5421 public Builder clearDeletedClauses() {
5422 if (deletedClausesBuilder_ == null) {
5423 if (stepCase_ == 4) {
5424 stepCase_ = 0;
5425 step_ = null;
5426 onChanged();
5427 }
5428 } else {
5429 if (stepCase_ == 4) {
5430 stepCase_ = 0;
5431 step_ = null;
5432 }
5433 deletedClausesBuilder_.clear();
5434 }
5435 return this;
5436 }
5437
5441 return internalGetDeletedClausesFieldBuilder().getBuilder();
5442 }
5443
5446 @java.lang.Override
5448 if ((stepCase_ == 4) && (deletedClausesBuilder_ != null)) {
5449 return deletedClausesBuilder_.getMessageOrBuilder();
5450 } else {
5451 if (stepCase_ == 4) {
5452 return (operations_research.sat.Lrat.LratDeletedClauses) step_;
5453 }
5454 return operations_research.sat.Lrat.LratDeletedClauses.getDefaultInstance();
5455 }
5456 }
5457
5460 private com.google.protobuf.SingleFieldBuilder<
5461 operations_research.sat.Lrat.LratDeletedClauses, operations_research.sat.Lrat.LratDeletedClauses.Builder, operations_research.sat.Lrat.LratDeletedClausesOrBuilder>
5462 internalGetDeletedClausesFieldBuilder() {
5463 if (deletedClausesBuilder_ == null) {
5464 if (!(stepCase_ == 4)) {
5465 step_ = operations_research.sat.Lrat.LratDeletedClauses.getDefaultInstance();
5466 }
5467 deletedClausesBuilder_ = new com.google.protobuf.SingleFieldBuilder<
5468 operations_research.sat.Lrat.LratDeletedClauses, operations_research.sat.Lrat.LratDeletedClauses.Builder, operations_research.sat.Lrat.LratDeletedClausesOrBuilder>(
5469 (operations_research.sat.Lrat.LratDeletedClauses) step_,
5470 getParentForChildren(),
5471 isClean());
5472 step_ = null;
5473 }
5474 stepCase_ = 4;
5475 onChanged();
5476 return deletedClausesBuilder_;
5477 }
5478
5479 // @@protoc_insertion_point(builder_scope:operations_research.sat.LratProofStep)
5480 }
5481
5482 // @@protoc_insertion_point(class_scope:operations_research.sat.LratProofStep)
5483 private static final operations_research.sat.Lrat.LratProofStep DEFAULT_INSTANCE;
5484 static {
5485 DEFAULT_INSTANCE = new operations_research.sat.Lrat.LratProofStep();
5486 }
5487
5489 return DEFAULT_INSTANCE;
5490 }
5491
5492 private static final com.google.protobuf.Parser<LratProofStep>
5493 PARSER = new com.google.protobuf.AbstractParser<LratProofStep>() {
5494 @java.lang.Override
5495 public LratProofStep parsePartialFrom(
5496 com.google.protobuf.CodedInputStream input,
5497 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5498 throws com.google.protobuf.InvalidProtocolBufferException {
5499 Builder builder = newBuilder();
5500 try {
5501 builder.mergeFrom(input, extensionRegistry);
5502 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
5503 throw e.setUnfinishedMessage(builder.buildPartial());
5504 } catch (com.google.protobuf.UninitializedMessageException e) {
5505 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
5506 } catch (java.io.IOException e) {
5507 throw new com.google.protobuf.InvalidProtocolBufferException(e)
5508 .setUnfinishedMessage(builder.buildPartial());
5509 }
5510 return builder.buildPartial();
5511 }
5512 };
5513
5514 public static com.google.protobuf.Parser<LratProofStep> parser() {
5515 return PARSER;
5516 }
5517
5518 @java.lang.Override
5519 public com.google.protobuf.Parser<LratProofStep> getParserForType() {
5520 return PARSER;
5521 }
5522
5523 @java.lang.Override
5525 return DEFAULT_INSTANCE;
5526 }
5527
5528 }
5529
5530 private static final com.google.protobuf.Descriptors.Descriptor
5531 internal_static_operations_research_sat_LratImportedClause_descriptor;
5532 private static final
5533 com.google.protobuf.GeneratedMessage.FieldAccessorTable
5534 internal_static_operations_research_sat_LratImportedClause_fieldAccessorTable;
5535 private static final com.google.protobuf.Descriptors.Descriptor
5536 internal_static_operations_research_sat_LratInferredClause_descriptor;
5537 private static final
5538 com.google.protobuf.GeneratedMessage.FieldAccessorTable
5539 internal_static_operations_research_sat_LratInferredClause_fieldAccessorTable;
5540 private static final com.google.protobuf.Descriptors.Descriptor
5541 internal_static_operations_research_sat_LratInferredClause_RatInfo_descriptor;
5542 private static final
5543 com.google.protobuf.GeneratedMessage.FieldAccessorTable
5544 internal_static_operations_research_sat_LratInferredClause_RatInfo_fieldAccessorTable;
5545 private static final com.google.protobuf.Descriptors.Descriptor
5546 internal_static_operations_research_sat_LratExportedClause_descriptor;
5547 private static final
5548 com.google.protobuf.GeneratedMessage.FieldAccessorTable
5549 internal_static_operations_research_sat_LratExportedClause_fieldAccessorTable;
5550 private static final com.google.protobuf.Descriptors.Descriptor
5551 internal_static_operations_research_sat_LratDeletedClauses_descriptor;
5552 private static final
5553 com.google.protobuf.GeneratedMessage.FieldAccessorTable
5554 internal_static_operations_research_sat_LratDeletedClauses_fieldAccessorTable;
5555 private static final com.google.protobuf.Descriptors.Descriptor
5556 internal_static_operations_research_sat_LratProofStep_descriptor;
5557 private static final
5558 com.google.protobuf.GeneratedMessage.FieldAccessorTable
5559 internal_static_operations_research_sat_LratProofStep_fieldAccessorTable;
5560
5561 public static com.google.protobuf.Descriptors.FileDescriptor
5563 return descriptor;
5564 }
5565 private static com.google.protobuf.Descriptors.FileDescriptor
5566 descriptor;
5567 static {
5568 java.lang.String[] descriptorData = {
5569 "\n\026ortools/sat/lrat.proto\022\027operations_res" +
5570 "earch.sat\"=\n\022LratImportedClause\022\021\n\tclaus" +
5571 "e_id\030\001 \001(\003\022\024\n\010literals\030\002 \003(\005B\002\020\001\"\344\001\n\022Lra" +
5572 "tInferredClause\022\021\n\tclause_id\030\001 \001(\003\022\024\n\010li" +
5573 "terals\030\002 \003(\005B\002\020\001\022\024\n\010unit_ids\030\003 \003(\003B\002\020\001\022F" +
5574 "\n\trat_infos\030\004 \003(\01323.operations_research." +
5575 "sat.LratInferredClause.RatInfo\022\020\n\010export" +
5576 "ed\030\005 \001(\010\0325\n\007RatInfo\022\024\n\014resolvant_id\030\001 \001(" +
5577 "\003\022\024\n\010unit_ids\030\002 \003(\003B\002\020\001\"=\n\022LratExportedC" +
5578 "lause\022\021\n\tclause_id\030\001 \001(\003\022\024\n\010literals\030\002 \003" +
5579 "(\005B\002\020\001\",\n\022LratDeletedClauses\022\026\n\nclause_i" +
5580 "ds\030\001 \003(\003B\002\020\001\"\267\002\n\rLratProofStep\022F\n\017import" +
5581 "ed_clause\030\001 \001(\0132+.operations_research.sa" +
5582 "t.LratImportedClauseH\000\022F\n\017inferred_claus" +
5583 "e\030\002 \001(\0132+.operations_research.sat.LratIn" +
5584 "ferredClauseH\000\022F\n\017exported_clause\030\003 \001(\0132" +
5585 "+.operations_research.sat.LratExportedCl" +
5586 "auseH\000\022F\n\017deleted_clauses\030\004 \001(\0132+.operat" +
5587 "ions_research.sat.LratDeletedClausesH\000B\006" +
5588 "\n\004step"
5589 };
5590 descriptor = com.google.protobuf.Descriptors.FileDescriptor
5591 .internalBuildGeneratedFileFrom(descriptorData,
5592 new com.google.protobuf.Descriptors.FileDescriptor[] {
5593 });
5594 internal_static_operations_research_sat_LratImportedClause_descriptor =
5595 getDescriptor().getMessageType(0);
5596 internal_static_operations_research_sat_LratImportedClause_fieldAccessorTable = new
5597 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
5598 internal_static_operations_research_sat_LratImportedClause_descriptor,
5599 new java.lang.String[] { "ClauseId", "Literals", });
5600 internal_static_operations_research_sat_LratInferredClause_descriptor =
5601 getDescriptor().getMessageType(1);
5602 internal_static_operations_research_sat_LratInferredClause_fieldAccessorTable = new
5603 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
5604 internal_static_operations_research_sat_LratInferredClause_descriptor,
5605 new java.lang.String[] { "ClauseId", "Literals", "UnitIds", "RatInfos", "Exported", });
5606 internal_static_operations_research_sat_LratInferredClause_RatInfo_descriptor =
5607 internal_static_operations_research_sat_LratInferredClause_descriptor.getNestedType(0);
5608 internal_static_operations_research_sat_LratInferredClause_RatInfo_fieldAccessorTable = new
5609 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
5610 internal_static_operations_research_sat_LratInferredClause_RatInfo_descriptor,
5611 new java.lang.String[] { "ResolvantId", "UnitIds", });
5612 internal_static_operations_research_sat_LratExportedClause_descriptor =
5613 getDescriptor().getMessageType(2);
5614 internal_static_operations_research_sat_LratExportedClause_fieldAccessorTable = new
5615 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
5616 internal_static_operations_research_sat_LratExportedClause_descriptor,
5617 new java.lang.String[] { "ClauseId", "Literals", });
5618 internal_static_operations_research_sat_LratDeletedClauses_descriptor =
5619 getDescriptor().getMessageType(3);
5620 internal_static_operations_research_sat_LratDeletedClauses_fieldAccessorTable = new
5621 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
5622 internal_static_operations_research_sat_LratDeletedClauses_descriptor,
5623 new java.lang.String[] { "ClauseIds", });
5624 internal_static_operations_research_sat_LratProofStep_descriptor =
5625 getDescriptor().getMessageType(4);
5626 internal_static_operations_research_sat_LratProofStep_fieldAccessorTable = new
5627 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
5628 internal_static_operations_research_sat_LratProofStep_descriptor,
5629 new java.lang.String[] { "ImportedClause", "InferredClause", "ExportedClause", "DeletedClauses", "Step", });
5630 descriptor.resolveAllFeaturesImmutable();
5631 }
5632
5633 // @@protoc_insertion_point(outer_class_scope)
5634}
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Definition Lrat.java:3869
Builder mergeFrom(operations_research.sat.Lrat.LratDeletedClauses other)
Definition Lrat.java:3939
operations_research.sat.Lrat.LratDeletedClauses getDefaultInstanceForType()
Definition Lrat.java:3900
Builder mergeFrom(com.google.protobuf.Message other)
Definition Lrat.java:3930
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Definition Lrat.java:3895
java.util.List< java.lang.Long > getClauseIdsList()
Definition Lrat.java:4028
operations_research.sat.Lrat.LratDeletedClauses build()
Definition Lrat.java:3905
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:3963
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Definition Lrat.java:3863
Builder addAllClauseIds(java.lang.Iterable<? extends java.lang.Long > values)
Definition Lrat.java:4105
operations_research.sat.Lrat.LratDeletedClauses buildPartial()
Definition Lrat.java:3914
static operations_research.sat.Lrat.LratDeletedClauses parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:3823
operations_research.sat.Lrat.LratDeletedClauses getDefaultInstanceForType()
Definition Lrat.java:4175
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Definition Lrat.java:3620
static operations_research.sat.Lrat.LratDeletedClauses getDefaultInstance()
Definition Lrat.java:4139
static Builder newBuilder(operations_research.sat.Lrat.LratDeletedClauses prototype)
Definition Lrat.java:3836
static operations_research.sat.Lrat.LratDeletedClauses parseFrom(byte[] data)
Definition Lrat.java:3781
static operations_research.sat.Lrat.LratDeletedClauses parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:3785
static operations_research.sat.Lrat.LratDeletedClauses parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:3810
static operations_research.sat.Lrat.LratDeletedClauses parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:3764
static operations_research.sat.Lrat.LratDeletedClauses parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:3796
static operations_research.sat.Lrat.LratDeletedClauses parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:3775
static com.google.protobuf.Parser< LratDeletedClauses > parser()
Definition Lrat.java:4165
static operations_research.sat.Lrat.LratDeletedClauses parseFrom(java.io.InputStream input)
Definition Lrat.java:3791
static operations_research.sat.Lrat.LratDeletedClauses parseFrom(com.google.protobuf.ByteString data)
Definition Lrat.java:3770
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
Definition Lrat.java:3846
com.google.protobuf.Parser< LratDeletedClauses > getParserForType()
Definition Lrat.java:4170
boolean equals(final java.lang.Object obj)
Definition Lrat.java:3728
void writeTo(com.google.protobuf.CodedOutputStream output)
Definition Lrat.java:3689
static operations_research.sat.Lrat.LratDeletedClauses parseFrom(com.google.protobuf.CodedInputStream input)
Definition Lrat.java:3817
static operations_research.sat.Lrat.LratDeletedClauses parseDelimitedFrom(java.io.InputStream input)
Definition Lrat.java:3804
static operations_research.sat.Lrat.LratDeletedClauses parseFrom(java.nio.ByteBuffer data)
Definition Lrat.java:3759
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Definition Lrat.java:3626
java.util.List< java.lang.Long > getClauseIdsList()
Definition Lrat.java:3647
java.util.List< java.lang.Integer > getLiteralsList()
Definition Lrat.java:3431
operations_research.sat.Lrat.LratExportedClause getDefaultInstanceForType()
Definition Lrat.java:3254
Builder addAllLiterals(java.lang.Iterable<? extends java.lang.Integer > values)
Definition Lrat.java:3483
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Definition Lrat.java:3249
operations_research.sat.Lrat.LratExportedClause build()
Definition Lrat.java:3259
operations_research.sat.Lrat.LratExportedClause buildPartial()
Definition Lrat.java:3268
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Definition Lrat.java:3216
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Definition Lrat.java:3222
Builder mergeFrom(com.google.protobuf.Message other)
Definition Lrat.java:3290
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:3326
Builder mergeFrom(operations_research.sat.Lrat.LratExportedClause other)
Definition Lrat.java:3299
static operations_research.sat.Lrat.LratExportedClause parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:3137
boolean equals(final java.lang.Object obj)
Definition Lrat.java:3070
com.google.protobuf.Parser< LratExportedClause > getParserForType()
Definition Lrat.java:3543
static operations_research.sat.Lrat.LratExportedClause parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:3148
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
Definition Lrat.java:3198
java.util.List< java.lang.Integer > getLiteralsList()
Definition Lrat.java:2992
operations_research.sat.Lrat.LratExportedClause getDefaultInstanceForType()
Definition Lrat.java:3548
static operations_research.sat.Lrat.LratExportedClause parseFrom(java.io.InputStream input)
Definition Lrat.java:3143
static operations_research.sat.Lrat.LratExportedClause parseDelimitedFrom(java.io.InputStream input)
Definition Lrat.java:3156
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Definition Lrat.java:2956
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Definition Lrat.java:2950
static operations_research.sat.Lrat.LratExportedClause parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:3175
static operations_research.sat.Lrat.LratExportedClause getDefaultInstance()
Definition Lrat.java:3512
static operations_research.sat.Lrat.LratExportedClause parseFrom(byte[] data)
Definition Lrat.java:3133
static operations_research.sat.Lrat.LratExportedClause parseFrom(com.google.protobuf.ByteString data)
Definition Lrat.java:3122
static operations_research.sat.Lrat.LratExportedClause parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:3127
static Builder newBuilder(operations_research.sat.Lrat.LratExportedClause prototype)
Definition Lrat.java:3188
static operations_research.sat.Lrat.LratExportedClause parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:3162
void writeTo(com.google.protobuf.CodedOutputStream output)
Definition Lrat.java:3024
static operations_research.sat.Lrat.LratExportedClause parseFrom(com.google.protobuf.CodedInputStream input)
Definition Lrat.java:3169
static operations_research.sat.Lrat.LratExportedClause parseFrom(java.nio.ByteBuffer data)
Definition Lrat.java:3111
static com.google.protobuf.Parser< LratExportedClause > parser()
Definition Lrat.java:3538
static operations_research.sat.Lrat.LratExportedClause parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:3116
operations_research.sat.Lrat.LratImportedClause build()
Definition Lrat.java:399
Builder addAllLiterals(java.lang.Iterable<? extends java.lang.Integer > values)
Definition Lrat.java:623
Builder mergeFrom(com.google.protobuf.Message other)
Definition Lrat.java:430
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Definition Lrat.java:356
java.util.List< java.lang.Integer > getLiteralsList()
Definition Lrat.java:571
operations_research.sat.Lrat.LratImportedClause buildPartial()
Definition Lrat.java:408
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Definition Lrat.java:362
operations_research.sat.Lrat.LratImportedClause getDefaultInstanceForType()
Definition Lrat.java:394
Builder mergeFrom(operations_research.sat.Lrat.LratImportedClause other)
Definition Lrat.java:439
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:466
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Definition Lrat.java:389
static operations_research.sat.Lrat.LratImportedClause parseDelimitedFrom(java.io.InputStream input)
Definition Lrat.java:297
static operations_research.sat.Lrat.LratImportedClause parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:257
static operations_research.sat.Lrat.LratImportedClause parseFrom(com.google.protobuf.ByteString data)
Definition Lrat.java:263
static operations_research.sat.Lrat.LratImportedClause parseFrom(byte[] data)
Definition Lrat.java:274
static operations_research.sat.Lrat.LratImportedClause parseFrom(java.io.InputStream input)
Definition Lrat.java:284
static operations_research.sat.Lrat.LratImportedClause parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:278
void writeTo(com.google.protobuf.CodedOutputStream output)
Definition Lrat.java:165
static operations_research.sat.Lrat.LratImportedClause parseFrom(java.nio.ByteBuffer data)
Definition Lrat.java:252
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Definition Lrat.java:91
static operations_research.sat.Lrat.LratImportedClause parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:316
static operations_research.sat.Lrat.LratImportedClause parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:289
boolean equals(final java.lang.Object obj)
Definition Lrat.java:211
java.util.List< java.lang.Integer > getLiteralsList()
Definition Lrat.java:133
static operations_research.sat.Lrat.LratImportedClause getDefaultInstance()
Definition Lrat.java:652
static Builder newBuilder(operations_research.sat.Lrat.LratImportedClause prototype)
Definition Lrat.java:329
static operations_research.sat.Lrat.LratImportedClause parseFrom(com.google.protobuf.CodedInputStream input)
Definition Lrat.java:310
operations_research.sat.Lrat.LratImportedClause getDefaultInstanceForType()
Definition Lrat.java:688
static operations_research.sat.Lrat.LratImportedClause parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:268
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
Definition Lrat.java:339
static com.google.protobuf.Parser< LratImportedClause > parser()
Definition Lrat.java:678
static operations_research.sat.Lrat.LratImportedClause parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:303
com.google.protobuf.Parser< LratImportedClause > getParserForType()
Definition Lrat.java:683
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Definition Lrat.java:97
Builder addRatInfos(int index, operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder builderForValue)
Definition Lrat.java:2655
operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder addRatInfosBuilder()
Definition Lrat.java:2738
java.util.List< java.lang.Long > getUnitIdsList()
Definition Lrat.java:2424
java.util.List< operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder > getRatInfosBuilderList()
Definition Lrat.java:2754
Builder addAllRatInfos(java.lang.Iterable<? extends operations_research.sat.Lrat.LratInferredClause.RatInfo > values)
Definition Lrat.java:2669
operations_research.sat.Lrat.LratInferredClause.RatInfo getRatInfos(int index)
Definition Lrat.java:2567
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Definition Lrat.java:1993
Builder setRatInfos(int index, operations_research.sat.Lrat.LratInferredClause.RatInfo value)
Definition Lrat.java:2577
java.util.List< java.lang.Integer > getLiteralsList()
Definition Lrat.java:2310
operations_research.sat.Lrat.LratInferredClause buildPartial()
Definition Lrat.java:2048
Builder setRatInfos(int index, operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder builderForValue)
Definition Lrat.java:2594
operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder getRatInfosOrBuilder(int index)
Definition Lrat.java:2717
Builder addAllUnitIds(java.lang.Iterable<? extends java.lang.Long > values)
Definition Lrat.java:2506
Builder addRatInfos(int index, operations_research.sat.Lrat.LratInferredClause.RatInfo value)
Definition Lrat.java:2624
Builder mergeFrom(com.google.protobuf.Message other)
Definition Lrat.java:2091
Builder addRatInfos(operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder builderForValue)
Definition Lrat.java:2641
Builder addRatInfos(operations_research.sat.Lrat.LratInferredClause.RatInfo value)
Definition Lrat.java:2608
java.util.List<? extends operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder > getRatInfosOrBuilderList()
Definition Lrat.java:2728
operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder addRatInfosBuilder(int index)
Definition Lrat.java:2745
java.util.List< operations_research.sat.Lrat.LratInferredClause.RatInfo > getRatInfosList()
Definition Lrat.java:2547
operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder getRatInfosBuilder(int index)
Definition Lrat.java:2710
operations_research.sat.Lrat.LratInferredClause build()
Definition Lrat.java:2039
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Definition Lrat.java:2029
operations_research.sat.Lrat.LratInferredClause getDefaultInstanceForType()
Definition Lrat.java:2034
Builder addAllLiterals(java.lang.Iterable<? extends java.lang.Integer > values)
Definition Lrat.java:2382
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:2167
Builder mergeFrom(operations_research.sat.Lrat.LratInferredClause other)
Definition Lrat.java:2100
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Definition Lrat.java:1987
operations_research.sat.Lrat.LratInferredClause.RatInfo build()
Definition Lrat.java:1250
operations_research.sat.Lrat.LratInferredClause.RatInfo getDefaultInstanceForType()
Definition Lrat.java:1245
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Definition Lrat.java:1213
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:1317
Builder mergeFrom(operations_research.sat.Lrat.LratInferredClause.RatInfo other)
Definition Lrat.java:1290
Builder mergeFrom(com.google.protobuf.Message other)
Definition Lrat.java:1281
operations_research.sat.Lrat.LratInferredClause.RatInfo buildPartial()
Definition Lrat.java:1259
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Definition Lrat.java:1207
Builder addAllUnitIds(java.lang.Iterable<? extends java.lang.Long > values)
Definition Lrat.java:1474
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Definition Lrat.java:1240
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
Definition Lrat.java:1182
static operations_research.sat.Lrat.LratInferredClause.RatInfo getDefaultInstance()
Definition Lrat.java:1503
static operations_research.sat.Lrat.LratInferredClause.RatInfo parseFrom(com.google.protobuf.CodedInputStream input)
Definition Lrat.java:1153
com.google.protobuf.Parser< RatInfo > getParserForType()
Definition Lrat.java:1534
boolean equals(final java.lang.Object obj)
Definition Lrat.java:1054
static operations_research.sat.Lrat.LratInferredClause.RatInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:1100
static operations_research.sat.Lrat.LratInferredClause.RatInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:1132
static com.google.protobuf.Parser< RatInfo > parser()
Definition Lrat.java:1529
static Builder newBuilder(operations_research.sat.Lrat.LratInferredClause.RatInfo prototype)
Definition Lrat.java:1172
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Definition Lrat.java:934
static operations_research.sat.Lrat.LratInferredClause.RatInfo parseFrom(java.io.InputStream input)
Definition Lrat.java:1127
static operations_research.sat.Lrat.LratInferredClause.RatInfo parseDelimitedFrom(java.io.InputStream input)
Definition Lrat.java:1140
static operations_research.sat.Lrat.LratInferredClause.RatInfo parseFrom(java.nio.ByteBuffer data)
Definition Lrat.java:1095
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Definition Lrat.java:940
static operations_research.sat.Lrat.LratInferredClause.RatInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:1121
operations_research.sat.Lrat.LratInferredClause.RatInfo getDefaultInstanceForType()
Definition Lrat.java:1539
static operations_research.sat.Lrat.LratInferredClause.RatInfo parseFrom(byte[] data)
Definition Lrat.java:1117
static operations_research.sat.Lrat.LratInferredClause.RatInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:1159
java.util.List< java.lang.Long > getUnitIdsList()
Definition Lrat.java:976
static operations_research.sat.Lrat.LratInferredClause.RatInfo parseFrom(com.google.protobuf.ByteString data)
Definition Lrat.java:1106
static operations_research.sat.Lrat.LratInferredClause.RatInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:1146
static operations_research.sat.Lrat.LratInferredClause.RatInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:1111
void writeTo(com.google.protobuf.CodedOutputStream output)
Definition Lrat.java:1008
operations_research.sat.Lrat.LratInferredClause.RatInfo getRatInfos(int index)
Definition Lrat.java:1684
static operations_research.sat.Lrat.LratInferredClause getDefaultInstance()
Definition Lrat.java:2845
java.util.List< java.lang.Integer > getLiteralsList()
Definition Lrat.java:1579
static operations_research.sat.Lrat.LratInferredClause parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:1888
static operations_research.sat.Lrat.LratInferredClause parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:1920
static operations_research.sat.Lrat.LratInferredClause parseFrom(byte[] data)
Definition Lrat.java:1905
static operations_research.sat.Lrat.LratInferredClause parseFrom(java.io.InputStream input)
Definition Lrat.java:1915
java.util.List<? extends operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder > getRatInfosOrBuilderList()
Definition Lrat.java:1670
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Definition Lrat.java:858
java.util.List< operations_research.sat.Lrat.LratInferredClause.RatInfo > getRatInfosList()
Definition Lrat.java:1662
static operations_research.sat.Lrat.LratInferredClause parseFrom(com.google.protobuf.ByteString data)
Definition Lrat.java:1894
operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder getRatInfosOrBuilder(int index)
Definition Lrat.java:1691
static operations_research.sat.Lrat.LratInferredClause parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:1909
static operations_research.sat.Lrat.LratInferredClause parseDelimitedFrom(java.io.InputStream input)
Definition Lrat.java:1928
static Builder newBuilder(operations_research.sat.Lrat.LratInferredClause prototype)
Definition Lrat.java:1960
java.util.List< java.lang.Long > getUnitIdsList()
Definition Lrat.java:1623
static com.google.protobuf.Parser< LratInferredClause > parser()
Definition Lrat.java:2871
static operations_research.sat.Lrat.LratInferredClause parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:1934
com.google.protobuf.Parser< LratInferredClause > getParserForType()
Definition Lrat.java:2876
void writeTo(com.google.protobuf.CodedOutputStream output)
Definition Lrat.java:1739
static operations_research.sat.Lrat.LratInferredClause parseFrom(java.nio.ByteBuffer data)
Definition Lrat.java:1883
operations_research.sat.Lrat.LratInferredClause getDefaultInstanceForType()
Definition Lrat.java:2881
static operations_research.sat.Lrat.LratInferredClause parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:1947
static operations_research.sat.Lrat.LratInferredClause parseFrom(com.google.protobuf.CodedInputStream input)
Definition Lrat.java:1941
boolean equals(final java.lang.Object obj)
Definition Lrat.java:1820
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Definition Lrat.java:852
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
Definition Lrat.java:1970
static operations_research.sat.Lrat.LratInferredClause parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:1899
Builder setExportedClause(operations_research.sat.Lrat.LratExportedClause value)
Definition Lrat.java:5226
operations_research.sat.Lrat.LratProofStep getDefaultInstanceForType()
Definition Lrat.java:4745
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Definition Lrat.java:4701
operations_research.sat.Lrat.LratImportedClause.Builder getImportedClauseBuilder()
Definition Lrat.java:5014
Builder setImportedClause(operations_research.sat.Lrat.LratImportedClause value)
Definition Lrat.java:4942
operations_research.sat.Lrat.LratDeletedClauses getDeletedClauses()
Definition Lrat.java:5352
Builder setExportedClause(operations_research.sat.Lrat.LratExportedClause.Builder builderForValue)
Definition Lrat.java:5242
operations_research.sat.Lrat.LratExportedClause.Builder getExportedClauseBuilder()
Definition Lrat.java:5298
Builder setDeletedClauses(operations_research.sat.Lrat.LratDeletedClauses.Builder builderForValue)
Definition Lrat.java:5384
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:4836
operations_research.sat.Lrat.LratInferredClause.Builder getInferredClauseBuilder()
Definition Lrat.java:5156
Builder setDeletedClauses(operations_research.sat.Lrat.LratDeletedClauses value)
Definition Lrat.java:5368
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Definition Lrat.java:4695
operations_research.sat.Lrat.LratInferredClause getInferredClause()
Definition Lrat.java:5068
operations_research.sat.Lrat.LratDeletedClausesOrBuilder getDeletedClausesOrBuilder()
Definition Lrat.java:5447
operations_research.sat.Lrat.LratInferredClauseOrBuilder getInferredClauseOrBuilder()
Definition Lrat.java:5163
Builder mergeImportedClause(operations_research.sat.Lrat.LratImportedClause value)
Definition Lrat.java:4972
operations_research.sat.Lrat.LratProofStep buildPartial()
Definition Lrat.java:4759
operations_research.sat.Lrat.LratImportedClauseOrBuilder getImportedClauseOrBuilder()
Definition Lrat.java:5021
Builder setInferredClause(operations_research.sat.Lrat.LratInferredClause.Builder builderForValue)
Definition Lrat.java:5100
operations_research.sat.Lrat.LratExportedClauseOrBuilder getExportedClauseOrBuilder()
Definition Lrat.java:5305
Builder mergeExportedClause(operations_research.sat.Lrat.LratExportedClause value)
Definition Lrat.java:5256
operations_research.sat.Lrat.LratImportedClause getImportedClause()
Definition Lrat.java:4926
Builder setImportedClause(operations_research.sat.Lrat.LratImportedClause.Builder builderForValue)
Definition Lrat.java:4958
Builder mergeFrom(operations_research.sat.Lrat.LratProofStep other)
Definition Lrat.java:4802
Builder mergeInferredClause(operations_research.sat.Lrat.LratInferredClause value)
Definition Lrat.java:5114
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Definition Lrat.java:4740
Builder mergeFrom(com.google.protobuf.Message other)
Definition Lrat.java:4793
Builder setInferredClause(operations_research.sat.Lrat.LratInferredClause value)
Definition Lrat.java:5084
operations_research.sat.Lrat.LratExportedClause getExportedClause()
Definition Lrat.java:5210
operations_research.sat.Lrat.LratDeletedClauses.Builder getDeletedClausesBuilder()
Definition Lrat.java:5440
Builder mergeDeletedClauses(operations_research.sat.Lrat.LratDeletedClauses value)
Definition Lrat.java:5398
operations_research.sat.Lrat.LratProofStep build()
Definition Lrat.java:4750
static operations_research.sat.Lrat.LratProofStep parseFrom(com.google.protobuf.CodedInputStream input)
Definition Lrat.java:4644
static operations_research.sat.Lrat.LratProofStep parseFrom(com.google.protobuf.ByteString data)
Definition Lrat.java:4597
operations_research.sat.Lrat.LratExportedClauseOrBuilder getExportedClauseOrBuilder()
Definition Lrat.java:4425
static operations_research.sat.Lrat.LratProofStep parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:4612
static operations_research.sat.Lrat.LratProofStep parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:4650
static operations_research.sat.Lrat.LratProofStep parseFrom(java.io.InputStream input)
Definition Lrat.java:4618
static operations_research.sat.Lrat.LratProofStep parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:4591
operations_research.sat.Lrat.LratImportedClause getImportedClause()
Definition Lrat.java:4353
com.google.protobuf.Parser< LratProofStep > getParserForType()
Definition Lrat.java:5519
operations_research.sat.Lrat.LratDeletedClausesOrBuilder getDeletedClausesOrBuilder()
Definition Lrat.java:4456
operations_research.sat.Lrat.LratDeletedClauses getDeletedClauses()
Definition Lrat.java:4446
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Definition Lrat.java:4281
boolean equals(final java.lang.Object obj)
Definition Lrat.java:4520
static operations_research.sat.Lrat.LratProofStep parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:4637
static operations_research.sat.Lrat.LratProofStep parseFrom(java.nio.ByteBuffer data)
Definition Lrat.java:4586
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
Definition Lrat.java:4673
void writeTo(com.google.protobuf.CodedOutputStream output)
Definition Lrat.java:4475
operations_research.sat.Lrat.LratImportedClauseOrBuilder getImportedClauseOrBuilder()
Definition Lrat.java:4363
static operations_research.sat.Lrat.LratProofStep parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:4623
operations_research.sat.Lrat.LratInferredClause getInferredClause()
Definition Lrat.java:4384
static operations_research.sat.Lrat.LratProofStep parseDelimitedFrom(java.io.InputStream input)
Definition Lrat.java:4631
static com.google.protobuf.Parser< LratProofStep > parser()
Definition Lrat.java:5514
static operations_research.sat.Lrat.LratProofStep parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Definition Lrat.java:4602
operations_research.sat.Lrat.LratExportedClause getExportedClause()
Definition Lrat.java:4415
operations_research.sat.Lrat.LratProofStep getDefaultInstanceForType()
Definition Lrat.java:5524
static operations_research.sat.Lrat.LratProofStep getDefaultInstance()
Definition Lrat.java:5488
operations_research.sat.Lrat.LratInferredClauseOrBuilder getInferredClauseOrBuilder()
Definition Lrat.java:4394
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Definition Lrat.java:4287
static operations_research.sat.Lrat.LratProofStep parseFrom(byte[] data)
Definition Lrat.java:4608
static Builder newBuilder(operations_research.sat.Lrat.LratProofStep prototype)
Definition Lrat.java:4663
static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)
Definition Lrat.java:24
static com.google.protobuf.Descriptors.FileDescriptor getDescriptor()
Definition Lrat.java:5562
static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)
Definition Lrat.java:20
java.util.List< java.lang.Long > getClauseIdsList()
java.util.List< java.lang.Integer > getLiteralsList()
java.util.List< java.lang.Integer > getLiteralsList()
java.util.List<? extends operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder > getRatInfosOrBuilderList()
java.util.List< operations_research.sat.Lrat.LratInferredClause.RatInfo > getRatInfosList()
java.util.List< java.lang.Integer > getLiteralsList()
java.util.List< java.lang.Long > getUnitIdsList()
operations_research.sat.Lrat.LratInferredClause.RatInfo getRatInfos(int index)
operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder getRatInfosOrBuilder(int index)
operations_research.sat.Lrat.LratInferredClauseOrBuilder getInferredClauseOrBuilder()
operations_research.sat.Lrat.LratDeletedClausesOrBuilder getDeletedClausesOrBuilder()
operations_research.sat.Lrat.LratImportedClauseOrBuilder getImportedClauseOrBuilder()
operations_research.sat.Lrat.LratExportedClauseOrBuilder getExportedClauseOrBuilder()
operations_research.sat.Lrat.LratDeletedClauses getDeletedClauses()
operations_research.sat.Lrat.LratInferredClause getInferredClause()
operations_research.sat.Lrat.LratExportedClause getExportedClause()
operations_research.sat.Lrat.LratProofStep.StepCase getStepCase()
operations_research.sat.Lrat.LratImportedClause getImportedClause()