Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
CircuitConstraintProto.java
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ortools/sat/cp_model.proto
3
4// Protobuf Java Version: 4.26.1
5package com.google.ortools.sat;
6
22public final class CircuitConstraintProto extends
23 com.google.protobuf.GeneratedMessage implements
24 // @@protoc_insertion_point(message_implements:operations_research.sat.CircuitConstraintProto)
26private static final long serialVersionUID = 0L;
27 static {
28 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
29 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
30 /* major= */ 4,
31 /* minor= */ 26,
32 /* patch= */ 1,
33 /* suffix= */ "",
34 CircuitConstraintProto.class.getName());
35 }
36 // Use CircuitConstraintProto.newBuilder() to construct.
37 private CircuitConstraintProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
38 super(builder);
39 }
40 private CircuitConstraintProto() {
41 tails_ = emptyIntList();
42 heads_ = emptyIntList();
43 literals_ = emptyIntList();
44 }
45
46 public static final com.google.protobuf.Descriptors.Descriptor
48 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_CircuitConstraintProto_descriptor;
49 }
50
51 @java.lang.Override
52 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
54 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_CircuitConstraintProto_fieldAccessorTable
55 .ensureFieldAccessorsInitialized(
56 com.google.ortools.sat.CircuitConstraintProto.class, com.google.ortools.sat.CircuitConstraintProto.Builder.class);
57 }
58
59 public static final int TAILS_FIELD_NUMBER = 3;
60 @SuppressWarnings("serial")
61 private com.google.protobuf.Internal.IntList tails_ =
62 emptyIntList();
67 @java.lang.Override
68 public java.util.List<java.lang.Integer>
70 return tails_;
71 }
76 public int getTailsCount() {
77 return tails_.size();
78 }
84 public int getTails(int index) {
85 return tails_.getInt(index);
86 }
87 private int tailsMemoizedSerializedSize = -1;
88
89 public static final int HEADS_FIELD_NUMBER = 4;
90 @SuppressWarnings("serial")
91 private com.google.protobuf.Internal.IntList heads_ =
92 emptyIntList();
97 @java.lang.Override
98 public java.util.List<java.lang.Integer>
100 return heads_;
101 }
106 public int getHeadsCount() {
107 return heads_.size();
108 }
114 public int getHeads(int index) {
115 return heads_.getInt(index);
116 }
117 private int headsMemoizedSerializedSize = -1;
118
119 public static final int LITERALS_FIELD_NUMBER = 5;
120 @SuppressWarnings("serial")
121 private com.google.protobuf.Internal.IntList literals_ =
122 emptyIntList();
127 @java.lang.Override
128 public java.util.List<java.lang.Integer>
130 return literals_;
131 }
136 public int getLiteralsCount() {
137 return literals_.size();
138 }
144 public int getLiterals(int index) {
145 return literals_.getInt(index);
146 }
147 private int literalsMemoizedSerializedSize = -1;
148
149 private byte memoizedIsInitialized = -1;
150 @java.lang.Override
151 public final boolean isInitialized() {
152 byte isInitialized = memoizedIsInitialized;
153 if (isInitialized == 1) return true;
154 if (isInitialized == 0) return false;
155
156 memoizedIsInitialized = 1;
157 return true;
158 }
159
160 @java.lang.Override
161 public void writeTo(com.google.protobuf.CodedOutputStream output)
162 throws java.io.IOException {
164 if (getTailsList().size() > 0) {
165 output.writeUInt32NoTag(26);
166 output.writeUInt32NoTag(tailsMemoizedSerializedSize);
167 }
168 for (int i = 0; i < tails_.size(); i++) {
169 output.writeInt32NoTag(tails_.getInt(i));
170 }
171 if (getHeadsList().size() > 0) {
172 output.writeUInt32NoTag(34);
173 output.writeUInt32NoTag(headsMemoizedSerializedSize);
174 }
175 for (int i = 0; i < heads_.size(); i++) {
176 output.writeInt32NoTag(heads_.getInt(i));
177 }
178 if (getLiteralsList().size() > 0) {
179 output.writeUInt32NoTag(42);
180 output.writeUInt32NoTag(literalsMemoizedSerializedSize);
181 }
182 for (int i = 0; i < literals_.size(); i++) {
183 output.writeInt32NoTag(literals_.getInt(i));
184 }
185 getUnknownFields().writeTo(output);
186 }
187
188 @java.lang.Override
189 public int getSerializedSize() {
190 int size = memoizedSize;
191 if (size != -1) return size;
192
193 size = 0;
194 {
195 int dataSize = 0;
196 for (int i = 0; i < tails_.size(); i++) {
197 dataSize += com.google.protobuf.CodedOutputStream
198 .computeInt32SizeNoTag(tails_.getInt(i));
199 }
200 size += dataSize;
201 if (!getTailsList().isEmpty()) {
202 size += 1;
203 size += com.google.protobuf.CodedOutputStream
204 .computeInt32SizeNoTag(dataSize);
205 }
206 tailsMemoizedSerializedSize = dataSize;
207 }
208 {
209 int dataSize = 0;
210 for (int i = 0; i < heads_.size(); i++) {
211 dataSize += com.google.protobuf.CodedOutputStream
212 .computeInt32SizeNoTag(heads_.getInt(i));
213 }
214 size += dataSize;
215 if (!getHeadsList().isEmpty()) {
216 size += 1;
217 size += com.google.protobuf.CodedOutputStream
218 .computeInt32SizeNoTag(dataSize);
219 }
220 headsMemoizedSerializedSize = dataSize;
221 }
222 {
223 int dataSize = 0;
224 for (int i = 0; i < literals_.size(); i++) {
225 dataSize += com.google.protobuf.CodedOutputStream
226 .computeInt32SizeNoTag(literals_.getInt(i));
227 }
228 size += dataSize;
229 if (!getLiteralsList().isEmpty()) {
230 size += 1;
231 size += com.google.protobuf.CodedOutputStream
232 .computeInt32SizeNoTag(dataSize);
233 }
234 literalsMemoizedSerializedSize = dataSize;
235 }
236 size += getUnknownFields().getSerializedSize();
237 memoizedSize = size;
238 return size;
239 }
240
241 @java.lang.Override
242 public boolean equals(final java.lang.Object obj) {
243 if (obj == this) {
244 return true;
245 }
246 if (!(obj instanceof com.google.ortools.sat.CircuitConstraintProto)) {
247 return super.equals(obj);
248 }
249 com.google.ortools.sat.CircuitConstraintProto other = (com.google.ortools.sat.CircuitConstraintProto) obj;
250
251 if (!getTailsList()
252 .equals(other.getTailsList())) return false;
253 if (!getHeadsList()
254 .equals(other.getHeadsList())) return false;
255 if (!getLiteralsList()
256 .equals(other.getLiteralsList())) return false;
257 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
258 return true;
259 }
260
261 @java.lang.Override
262 public int hashCode() {
263 if (memoizedHashCode != 0) {
264 return memoizedHashCode;
265 }
266 int hash = 41;
267 hash = (19 * hash) + getDescriptor().hashCode();
268 if (getTailsCount() > 0) {
269 hash = (37 * hash) + TAILS_FIELD_NUMBER;
270 hash = (53 * hash) + getTailsList().hashCode();
271 }
272 if (getHeadsCount() > 0) {
273 hash = (37 * hash) + HEADS_FIELD_NUMBER;
274 hash = (53 * hash) + getHeadsList().hashCode();
275 }
276 if (getLiteralsCount() > 0) {
277 hash = (37 * hash) + LITERALS_FIELD_NUMBER;
278 hash = (53 * hash) + getLiteralsList().hashCode();
279 }
280 hash = (29 * hash) + getUnknownFields().hashCode();
281 memoizedHashCode = hash;
282 return hash;
283 }
284
286 java.nio.ByteBuffer data)
287 throws com.google.protobuf.InvalidProtocolBufferException {
288 return PARSER.parseFrom(data);
289 }
291 java.nio.ByteBuffer data,
292 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
293 throws com.google.protobuf.InvalidProtocolBufferException {
294 return PARSER.parseFrom(data, extensionRegistry);
295 }
297 com.google.protobuf.ByteString data)
298 throws com.google.protobuf.InvalidProtocolBufferException {
299 return PARSER.parseFrom(data);
300 }
302 com.google.protobuf.ByteString data,
303 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
304 throws com.google.protobuf.InvalidProtocolBufferException {
305 return PARSER.parseFrom(data, extensionRegistry);
306 }
308 throws com.google.protobuf.InvalidProtocolBufferException {
309 return PARSER.parseFrom(data);
310 }
312 byte[] data,
313 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
314 throws com.google.protobuf.InvalidProtocolBufferException {
315 return PARSER.parseFrom(data, extensionRegistry);
316 }
317 public static com.google.ortools.sat.CircuitConstraintProto parseFrom(java.io.InputStream input)
318 throws java.io.IOException {
319 return com.google.protobuf.GeneratedMessage
320 .parseWithIOException(PARSER, input);
321 }
323 java.io.InputStream input,
324 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
325 throws java.io.IOException {
326 return com.google.protobuf.GeneratedMessage
327 .parseWithIOException(PARSER, input, extensionRegistry);
328 }
329
331 throws java.io.IOException {
332 return com.google.protobuf.GeneratedMessage
333 .parseDelimitedWithIOException(PARSER, input);
334 }
335
337 java.io.InputStream input,
338 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
339 throws java.io.IOException {
340 return com.google.protobuf.GeneratedMessage
341 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
342 }
344 com.google.protobuf.CodedInputStream input)
345 throws java.io.IOException {
346 return com.google.protobuf.GeneratedMessage
347 .parseWithIOException(PARSER, input);
348 }
350 com.google.protobuf.CodedInputStream input,
351 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
352 throws java.io.IOException {
353 return com.google.protobuf.GeneratedMessage
354 .parseWithIOException(PARSER, input, extensionRegistry);
355 }
356
357 @java.lang.Override
358 public Builder newBuilderForType() { return newBuilder(); }
359 public static Builder newBuilder() {
360 return DEFAULT_INSTANCE.toBuilder();
361 }
362 public static Builder newBuilder(com.google.ortools.sat.CircuitConstraintProto prototype) {
363 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
364 }
365 @java.lang.Override
367 return this == DEFAULT_INSTANCE
368 ? new Builder() : new Builder().mergeFrom(this);
369 }
370
371 @java.lang.Override
373 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
374 Builder builder = new Builder(parent);
375 return builder;
376 }
392 public static final class Builder extends
393 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
394 // @@protoc_insertion_point(builder_implements:operations_research.sat.CircuitConstraintProto)
395 com.google.ortools.sat.CircuitConstraintProtoOrBuilder {
396 public static final com.google.protobuf.Descriptors.Descriptor
398 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_CircuitConstraintProto_descriptor;
399 }
400
401 @java.lang.Override
402 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
404 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_CircuitConstraintProto_fieldAccessorTable
405 .ensureFieldAccessorsInitialized(
406 com.google.ortools.sat.CircuitConstraintProto.class, com.google.ortools.sat.CircuitConstraintProto.Builder.class);
407 }
408
409 // Construct using com.google.ortools.sat.CircuitConstraintProto.newBuilder()
410 private Builder() {
411
412 }
413
414 private Builder(
415 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
416 super(parent);
417
418 }
419 @java.lang.Override
420 public Builder clear() {
421 super.clear();
422 bitField0_ = 0;
423 tails_ = emptyIntList();
424 heads_ = emptyIntList();
425 literals_ = emptyIntList();
426 return this;
427 }
428
429 @java.lang.Override
430 public com.google.protobuf.Descriptors.Descriptor
432 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_CircuitConstraintProto_descriptor;
433 }
434
435 @java.lang.Override
437 return com.google.ortools.sat.CircuitConstraintProto.getDefaultInstance();
438 }
439
440 @java.lang.Override
443 if (!result.isInitialized()) {
444 throw newUninitializedMessageException(result);
445 }
446 return result;
447 }
448
449 @java.lang.Override
451 com.google.ortools.sat.CircuitConstraintProto result = new com.google.ortools.sat.CircuitConstraintProto(this);
452 if (bitField0_ != 0) { buildPartial0(result); }
453 onBuilt();
454 return result;
455 }
456
457 private void buildPartial0(com.google.ortools.sat.CircuitConstraintProto result) {
458 int from_bitField0_ = bitField0_;
459 if (((from_bitField0_ & 0x00000001) != 0)) {
460 tails_.makeImmutable();
461 result.tails_ = tails_;
462 }
463 if (((from_bitField0_ & 0x00000002) != 0)) {
464 heads_.makeImmutable();
465 result.heads_ = heads_;
466 }
467 if (((from_bitField0_ & 0x00000004) != 0)) {
468 literals_.makeImmutable();
469 result.literals_ = literals_;
470 }
471 }
472
473 @java.lang.Override
474 public Builder mergeFrom(com.google.protobuf.Message other) {
475 if (other instanceof com.google.ortools.sat.CircuitConstraintProto) {
476 return mergeFrom((com.google.ortools.sat.CircuitConstraintProto)other);
477 } else {
478 super.mergeFrom(other);
479 return this;
480 }
481 }
482
483 public Builder mergeFrom(com.google.ortools.sat.CircuitConstraintProto other) {
484 if (other == com.google.ortools.sat.CircuitConstraintProto.getDefaultInstance()) return this;
485 if (!other.tails_.isEmpty()) {
486 if (tails_.isEmpty()) {
487 tails_ = other.tails_;
488 tails_.makeImmutable();
489 bitField0_ |= 0x00000001;
490 } else {
491 ensureTailsIsMutable();
492 tails_.addAll(other.tails_);
493 }
494 onChanged();
495 }
496 if (!other.heads_.isEmpty()) {
497 if (heads_.isEmpty()) {
498 heads_ = other.heads_;
499 heads_.makeImmutable();
500 bitField0_ |= 0x00000002;
501 } else {
502 ensureHeadsIsMutable();
503 heads_.addAll(other.heads_);
504 }
505 onChanged();
506 }
507 if (!other.literals_.isEmpty()) {
508 if (literals_.isEmpty()) {
509 literals_ = other.literals_;
510 literals_.makeImmutable();
511 bitField0_ |= 0x00000004;
512 } else {
513 ensureLiteralsIsMutable();
514 literals_.addAll(other.literals_);
515 }
516 onChanged();
517 }
518 this.mergeUnknownFields(other.getUnknownFields());
519 onChanged();
520 return this;
521 }
522
523 @java.lang.Override
524 public final boolean isInitialized() {
525 return true;
526 }
527
528 @java.lang.Override
530 com.google.protobuf.CodedInputStream input,
531 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
532 throws java.io.IOException {
533 if (extensionRegistry == null) {
534 throw new java.lang.NullPointerException();
535 }
536 try {
537 boolean done = false;
538 while (!done) {
539 int tag = input.readTag();
540 switch (tag) {
541 case 0:
542 done = true;
543 break;
544 case 24: {
545 int v = input.readInt32();
546 ensureTailsIsMutable();
547 tails_.addInt(v);
548 break;
549 } // case 24
550 case 26: {
551 int length = input.readRawVarint32();
552 int limit = input.pushLimit(length);
553 ensureTailsIsMutable();
554 while (input.getBytesUntilLimit() > 0) {
555 tails_.addInt(input.readInt32());
556 }
557 input.popLimit(limit);
558 break;
559 } // case 26
560 case 32: {
561 int v = input.readInt32();
562 ensureHeadsIsMutable();
563 heads_.addInt(v);
564 break;
565 } // case 32
566 case 34: {
567 int length = input.readRawVarint32();
568 int limit = input.pushLimit(length);
569 ensureHeadsIsMutable();
570 while (input.getBytesUntilLimit() > 0) {
571 heads_.addInt(input.readInt32());
572 }
573 input.popLimit(limit);
574 break;
575 } // case 34
576 case 40: {
577 int v = input.readInt32();
578 ensureLiteralsIsMutable();
579 literals_.addInt(v);
580 break;
581 } // case 40
582 case 42: {
583 int length = input.readRawVarint32();
584 int limit = input.pushLimit(length);
585 ensureLiteralsIsMutable();
586 while (input.getBytesUntilLimit() > 0) {
587 literals_.addInt(input.readInt32());
588 }
589 input.popLimit(limit);
590 break;
591 } // case 42
592 default: {
593 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
594 done = true; // was an endgroup tag
595 }
596 break;
597 } // default:
598 } // switch (tag)
599 } // while (!done)
600 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
601 throw e.unwrapIOException();
602 } finally {
603 onChanged();
604 } // finally
605 return this;
606 }
607 private int bitField0_;
608
609 private com.google.protobuf.Internal.IntList tails_ = emptyIntList();
610 private void ensureTailsIsMutable() {
611 if (!tails_.isModifiable()) {
612 tails_ = makeMutableCopy(tails_);
613 }
614 bitField0_ |= 0x00000001;
615 }
620 public java.util.List<java.lang.Integer>
622 tails_.makeImmutable();
623 return tails_;
624 }
629 public int getTailsCount() {
630 return tails_.size();
631 }
637 public int getTails(int index) {
638 return tails_.getInt(index);
639 }
647 int index, int value) {
648
649 ensureTailsIsMutable();
650 tails_.setInt(index, value);
651 bitField0_ |= 0x00000001;
652 onChanged();
653 return this;
654 }
660 public Builder addTails(int value) {
661
662 ensureTailsIsMutable();
663 tails_.addInt(value);
664 bitField0_ |= 0x00000001;
665 onChanged();
666 return this;
667 }
674 java.lang.Iterable<? extends java.lang.Integer> values) {
675 ensureTailsIsMutable();
676 com.google.protobuf.AbstractMessageLite.Builder.addAll(
677 values, tails_);
678 bitField0_ |= 0x00000001;
679 onChanged();
680 return this;
681 }
687 tails_ = emptyIntList();
688 bitField0_ = (bitField0_ & ~0x00000001);
689 onChanged();
690 return this;
691 }
692
693 private com.google.protobuf.Internal.IntList heads_ = emptyIntList();
694 private void ensureHeadsIsMutable() {
695 if (!heads_.isModifiable()) {
696 heads_ = makeMutableCopy(heads_);
697 }
698 bitField0_ |= 0x00000002;
699 }
704 public java.util.List<java.lang.Integer>
706 heads_.makeImmutable();
707 return heads_;
708 }
713 public int getHeadsCount() {
714 return heads_.size();
715 }
721 public int getHeads(int index) {
722 return heads_.getInt(index);
723 }
731 int index, int value) {
732
733 ensureHeadsIsMutable();
734 heads_.setInt(index, value);
735 bitField0_ |= 0x00000002;
736 onChanged();
737 return this;
738 }
744 public Builder addHeads(int value) {
745
746 ensureHeadsIsMutable();
747 heads_.addInt(value);
748 bitField0_ |= 0x00000002;
749 onChanged();
750 return this;
751 }
758 java.lang.Iterable<? extends java.lang.Integer> values) {
759 ensureHeadsIsMutable();
760 com.google.protobuf.AbstractMessageLite.Builder.addAll(
761 values, heads_);
762 bitField0_ |= 0x00000002;
763 onChanged();
764 return this;
765 }
771 heads_ = emptyIntList();
772 bitField0_ = (bitField0_ & ~0x00000002);
773 onChanged();
774 return this;
775 }
776
777 private com.google.protobuf.Internal.IntList literals_ = emptyIntList();
778 private void ensureLiteralsIsMutable() {
779 if (!literals_.isModifiable()) {
780 literals_ = makeMutableCopy(literals_);
781 }
782 bitField0_ |= 0x00000004;
783 }
788 public java.util.List<java.lang.Integer>
790 literals_.makeImmutable();
791 return literals_;
792 }
797 public int getLiteralsCount() {
798 return literals_.size();
799 }
805 public int getLiterals(int index) {
806 return literals_.getInt(index);
807 }
815 int index, int value) {
816
817 ensureLiteralsIsMutable();
818 literals_.setInt(index, value);
819 bitField0_ |= 0x00000004;
820 onChanged();
821 return this;
822 }
828 public Builder addLiterals(int value) {
829
830 ensureLiteralsIsMutable();
831 literals_.addInt(value);
832 bitField0_ |= 0x00000004;
833 onChanged();
834 return this;
835 }
842 java.lang.Iterable<? extends java.lang.Integer> values) {
843 ensureLiteralsIsMutable();
844 com.google.protobuf.AbstractMessageLite.Builder.addAll(
845 values, literals_);
846 bitField0_ |= 0x00000004;
847 onChanged();
848 return this;
849 }
855 literals_ = emptyIntList();
856 bitField0_ = (bitField0_ & ~0x00000004);
857 onChanged();
858 return this;
859 }
860
861 // @@protoc_insertion_point(builder_scope:operations_research.sat.CircuitConstraintProto)
862 }
863
864 // @@protoc_insertion_point(class_scope:operations_research.sat.CircuitConstraintProto)
865 private static final com.google.ortools.sat.CircuitConstraintProto DEFAULT_INSTANCE;
866 static {
867 DEFAULT_INSTANCE = new com.google.ortools.sat.CircuitConstraintProto();
868 }
869
871 return DEFAULT_INSTANCE;
872 }
873
874 private static final com.google.protobuf.Parser<CircuitConstraintProto>
875 PARSER = new com.google.protobuf.AbstractParser<CircuitConstraintProto>() {
876 @java.lang.Override
877 public CircuitConstraintProto parsePartialFrom(
878 com.google.protobuf.CodedInputStream input,
879 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
880 throws com.google.protobuf.InvalidProtocolBufferException {
881 Builder builder = newBuilder();
882 try {
883 builder.mergeFrom(input, extensionRegistry);
884 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
885 throw e.setUnfinishedMessage(builder.buildPartial());
886 } catch (com.google.protobuf.UninitializedMessageException e) {
887 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
888 } catch (java.io.IOException e) {
889 throw new com.google.protobuf.InvalidProtocolBufferException(e)
890 .setUnfinishedMessage(builder.buildPartial());
891 }
892 return builder.buildPartial();
893 }
894 };
895
896 public static com.google.protobuf.Parser<CircuitConstraintProto> parser() {
897 return PARSER;
898 }
899
900 @java.lang.Override
901 public com.google.protobuf.Parser<CircuitConstraintProto> getParserForType() {
902 return PARSER;
903 }
904
905 @java.lang.Override
909
910}
911
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
com.google.ortools.sat.CircuitConstraintProto buildPartial()
com.google.ortools.sat.CircuitConstraintProto getDefaultInstanceForType()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Builder addAllTails(java.lang.Iterable<? extends java.lang.Integer > values)
Builder addAllLiterals(java.lang.Iterable<? extends java.lang.Integer > values)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Builder mergeFrom(com.google.protobuf.Message other)
Builder addAllHeads(java.lang.Iterable<? extends java.lang.Integer > values)
com.google.ortools.sat.CircuitConstraintProto build()
Builder mergeFrom(com.google.ortools.sat.CircuitConstraintProto other)
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
java.util.List< java.lang.Integer > getTailsList()
void writeTo(com.google.protobuf.CodedOutputStream output)
static com.google.ortools.sat.CircuitConstraintProto parseFrom(byte[] data)
com.google.ortools.sat.CircuitConstraintProto getDefaultInstanceForType()
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
static com.google.ortools.sat.CircuitConstraintProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.CircuitConstraintProto parseFrom(com.google.protobuf.CodedInputStream input)
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
static com.google.ortools.sat.CircuitConstraintProto parseDelimitedFrom(java.io.InputStream input)
java.util.List< java.lang.Integer > getHeadsList()
java.util.List< java.lang.Integer > getLiteralsList()
static com.google.ortools.sat.CircuitConstraintProto parseFrom(com.google.protobuf.ByteString data)
static com.google.ortools.sat.CircuitConstraintProto getDefaultInstance()
static com.google.ortools.sat.CircuitConstraintProto parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.CircuitConstraintProto parseFrom(java.io.InputStream input)
static com.google.ortools.sat.CircuitConstraintProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.CircuitConstraintProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.CircuitConstraintProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.CircuitConstraintProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.Parser< CircuitConstraintProto > getParserForType()
static com.google.protobuf.Parser< CircuitConstraintProto > parser()
static com.google.ortools.sat.CircuitConstraintProto parseFrom(java.nio.ByteBuffer data)
static Builder newBuilder(com.google.ortools.sat.CircuitConstraintProto prototype)