Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
LinearConstraintProto.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
19public final class LinearConstraintProto extends
20 com.google.protobuf.GeneratedMessage implements
21 // @@protoc_insertion_point(message_implements:operations_research.sat.LinearConstraintProto)
23private static final long serialVersionUID = 0L;
24 static {
25 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
26 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
27 /* major= */ 4,
28 /* minor= */ 26,
29 /* patch= */ 1,
30 /* suffix= */ "",
31 LinearConstraintProto.class.getName());
32 }
33 // Use LinearConstraintProto.newBuilder() to construct.
34 private LinearConstraintProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
35 super(builder);
36 }
37 private LinearConstraintProto() {
38 vars_ = emptyIntList();
39 coeffs_ = emptyLongList();
40 domain_ = emptyLongList();
41 }
42
43 public static final com.google.protobuf.Descriptors.Descriptor
45 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearConstraintProto_descriptor;
46 }
47
48 @java.lang.Override
49 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
51 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearConstraintProto_fieldAccessorTable
52 .ensureFieldAccessorsInitialized(
53 com.google.ortools.sat.LinearConstraintProto.class, com.google.ortools.sat.LinearConstraintProto.Builder.class);
54 }
55
56 public static final int VARS_FIELD_NUMBER = 1;
57 @SuppressWarnings("serial")
58 private com.google.protobuf.Internal.IntList vars_ =
59 emptyIntList();
64 @java.lang.Override
65 public java.util.List<java.lang.Integer>
67 return vars_;
68 }
73 public int getVarsCount() {
74 return vars_.size();
75 }
81 public int getVars(int index) {
82 return vars_.getInt(index);
83 }
84 private int varsMemoizedSerializedSize = -1;
85
86 public static final int COEFFS_FIELD_NUMBER = 2;
87 @SuppressWarnings("serial")
88 private com.google.protobuf.Internal.LongList coeffs_ =
89 emptyLongList();
98 @java.lang.Override
99 public java.util.List<java.lang.Long>
101 return coeffs_;
102 }
111 public int getCoeffsCount() {
112 return coeffs_.size();
113 }
123 public long getCoeffs(int index) {
124 return coeffs_.getLong(index);
125 }
126 private int coeffsMemoizedSerializedSize = -1;
127
128 public static final int DOMAIN_FIELD_NUMBER = 3;
129 @SuppressWarnings("serial")
130 private com.google.protobuf.Internal.LongList domain_ =
131 emptyLongList();
136 @java.lang.Override
137 public java.util.List<java.lang.Long>
139 return domain_;
140 }
145 public int getDomainCount() {
146 return domain_.size();
147 }
153 public long getDomain(int index) {
154 return domain_.getLong(index);
155 }
156 private int domainMemoizedSerializedSize = -1;
157
158 private byte memoizedIsInitialized = -1;
159 @java.lang.Override
160 public final boolean isInitialized() {
161 byte isInitialized = memoizedIsInitialized;
162 if (isInitialized == 1) return true;
163 if (isInitialized == 0) return false;
164
165 memoizedIsInitialized = 1;
166 return true;
167 }
168
169 @java.lang.Override
170 public void writeTo(com.google.protobuf.CodedOutputStream output)
171 throws java.io.IOException {
173 if (getVarsList().size() > 0) {
174 output.writeUInt32NoTag(10);
175 output.writeUInt32NoTag(varsMemoizedSerializedSize);
176 }
177 for (int i = 0; i < vars_.size(); i++) {
178 output.writeInt32NoTag(vars_.getInt(i));
179 }
180 if (getCoeffsList().size() > 0) {
181 output.writeUInt32NoTag(18);
182 output.writeUInt32NoTag(coeffsMemoizedSerializedSize);
183 }
184 for (int i = 0; i < coeffs_.size(); i++) {
185 output.writeInt64NoTag(coeffs_.getLong(i));
186 }
187 if (getDomainList().size() > 0) {
188 output.writeUInt32NoTag(26);
189 output.writeUInt32NoTag(domainMemoizedSerializedSize);
190 }
191 for (int i = 0; i < domain_.size(); i++) {
192 output.writeInt64NoTag(domain_.getLong(i));
193 }
194 getUnknownFields().writeTo(output);
195 }
196
197 @java.lang.Override
198 public int getSerializedSize() {
199 int size = memoizedSize;
200 if (size != -1) return size;
201
202 size = 0;
203 {
204 int dataSize = 0;
205 for (int i = 0; i < vars_.size(); i++) {
206 dataSize += com.google.protobuf.CodedOutputStream
207 .computeInt32SizeNoTag(vars_.getInt(i));
208 }
209 size += dataSize;
210 if (!getVarsList().isEmpty()) {
211 size += 1;
212 size += com.google.protobuf.CodedOutputStream
213 .computeInt32SizeNoTag(dataSize);
214 }
215 varsMemoizedSerializedSize = dataSize;
216 }
217 {
218 int dataSize = 0;
219 for (int i = 0; i < coeffs_.size(); i++) {
220 dataSize += com.google.protobuf.CodedOutputStream
221 .computeInt64SizeNoTag(coeffs_.getLong(i));
222 }
223 size += dataSize;
224 if (!getCoeffsList().isEmpty()) {
225 size += 1;
226 size += com.google.protobuf.CodedOutputStream
227 .computeInt32SizeNoTag(dataSize);
228 }
229 coeffsMemoizedSerializedSize = dataSize;
230 }
231 {
232 int dataSize = 0;
233 for (int i = 0; i < domain_.size(); i++) {
234 dataSize += com.google.protobuf.CodedOutputStream
235 .computeInt64SizeNoTag(domain_.getLong(i));
236 }
237 size += dataSize;
238 if (!getDomainList().isEmpty()) {
239 size += 1;
240 size += com.google.protobuf.CodedOutputStream
241 .computeInt32SizeNoTag(dataSize);
242 }
243 domainMemoizedSerializedSize = dataSize;
244 }
245 size += getUnknownFields().getSerializedSize();
246 memoizedSize = size;
247 return size;
248 }
249
250 @java.lang.Override
251 public boolean equals(final java.lang.Object obj) {
252 if (obj == this) {
253 return true;
254 }
255 if (!(obj instanceof com.google.ortools.sat.LinearConstraintProto)) {
256 return super.equals(obj);
257 }
258 com.google.ortools.sat.LinearConstraintProto other = (com.google.ortools.sat.LinearConstraintProto) obj;
259
260 if (!getVarsList()
261 .equals(other.getVarsList())) return false;
262 if (!getCoeffsList()
263 .equals(other.getCoeffsList())) return false;
264 if (!getDomainList()
265 .equals(other.getDomainList())) return false;
266 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
267 return true;
268 }
269
270 @java.lang.Override
271 public int hashCode() {
272 if (memoizedHashCode != 0) {
273 return memoizedHashCode;
274 }
275 int hash = 41;
276 hash = (19 * hash) + getDescriptor().hashCode();
277 if (getVarsCount() > 0) {
278 hash = (37 * hash) + VARS_FIELD_NUMBER;
279 hash = (53 * hash) + getVarsList().hashCode();
280 }
281 if (getCoeffsCount() > 0) {
282 hash = (37 * hash) + COEFFS_FIELD_NUMBER;
283 hash = (53 * hash) + getCoeffsList().hashCode();
284 }
285 if (getDomainCount() > 0) {
286 hash = (37 * hash) + DOMAIN_FIELD_NUMBER;
287 hash = (53 * hash) + getDomainList().hashCode();
288 }
289 hash = (29 * hash) + getUnknownFields().hashCode();
290 memoizedHashCode = hash;
291 return hash;
292 }
293
295 java.nio.ByteBuffer data)
296 throws com.google.protobuf.InvalidProtocolBufferException {
297 return PARSER.parseFrom(data);
298 }
300 java.nio.ByteBuffer data,
301 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
302 throws com.google.protobuf.InvalidProtocolBufferException {
303 return PARSER.parseFrom(data, extensionRegistry);
304 }
306 com.google.protobuf.ByteString data)
307 throws com.google.protobuf.InvalidProtocolBufferException {
308 return PARSER.parseFrom(data);
309 }
311 com.google.protobuf.ByteString data,
312 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
313 throws com.google.protobuf.InvalidProtocolBufferException {
314 return PARSER.parseFrom(data, extensionRegistry);
315 }
317 throws com.google.protobuf.InvalidProtocolBufferException {
318 return PARSER.parseFrom(data);
319 }
321 byte[] data,
322 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
323 throws com.google.protobuf.InvalidProtocolBufferException {
324 return PARSER.parseFrom(data, extensionRegistry);
325 }
326 public static com.google.ortools.sat.LinearConstraintProto parseFrom(java.io.InputStream input)
327 throws java.io.IOException {
328 return com.google.protobuf.GeneratedMessage
329 .parseWithIOException(PARSER, input);
330 }
332 java.io.InputStream input,
333 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
334 throws java.io.IOException {
335 return com.google.protobuf.GeneratedMessage
336 .parseWithIOException(PARSER, input, extensionRegistry);
337 }
338
340 throws java.io.IOException {
341 return com.google.protobuf.GeneratedMessage
342 .parseDelimitedWithIOException(PARSER, input);
343 }
344
346 java.io.InputStream input,
347 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
348 throws java.io.IOException {
349 return com.google.protobuf.GeneratedMessage
350 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
351 }
353 com.google.protobuf.CodedInputStream input)
354 throws java.io.IOException {
355 return com.google.protobuf.GeneratedMessage
356 .parseWithIOException(PARSER, input);
357 }
359 com.google.protobuf.CodedInputStream input,
360 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
361 throws java.io.IOException {
362 return com.google.protobuf.GeneratedMessage
363 .parseWithIOException(PARSER, input, extensionRegistry);
364 }
365
366 @java.lang.Override
367 public Builder newBuilderForType() { return newBuilder(); }
368 public static Builder newBuilder() {
369 return DEFAULT_INSTANCE.toBuilder();
370 }
371 public static Builder newBuilder(com.google.ortools.sat.LinearConstraintProto prototype) {
372 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
373 }
374 @java.lang.Override
376 return this == DEFAULT_INSTANCE
377 ? new Builder() : new Builder().mergeFrom(this);
378 }
379
380 @java.lang.Override
382 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
383 Builder builder = new Builder(parent);
384 return builder;
385 }
398 public static final class Builder extends
399 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
400 // @@protoc_insertion_point(builder_implements:operations_research.sat.LinearConstraintProto)
401 com.google.ortools.sat.LinearConstraintProtoOrBuilder {
402 public static final com.google.protobuf.Descriptors.Descriptor
404 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearConstraintProto_descriptor;
405 }
406
407 @java.lang.Override
408 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
410 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearConstraintProto_fieldAccessorTable
411 .ensureFieldAccessorsInitialized(
412 com.google.ortools.sat.LinearConstraintProto.class, com.google.ortools.sat.LinearConstraintProto.Builder.class);
413 }
414
415 // Construct using com.google.ortools.sat.LinearConstraintProto.newBuilder()
416 private Builder() {
417
418 }
419
420 private Builder(
421 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
422 super(parent);
423
424 }
425 @java.lang.Override
426 public Builder clear() {
427 super.clear();
428 bitField0_ = 0;
429 vars_ = emptyIntList();
430 coeffs_ = emptyLongList();
431 domain_ = emptyLongList();
432 return this;
433 }
434
435 @java.lang.Override
436 public com.google.protobuf.Descriptors.Descriptor
438 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearConstraintProto_descriptor;
439 }
440
441 @java.lang.Override
443 return com.google.ortools.sat.LinearConstraintProto.getDefaultInstance();
444 }
445
446 @java.lang.Override
449 if (!result.isInitialized()) {
450 throw newUninitializedMessageException(result);
451 }
452 return result;
453 }
454
455 @java.lang.Override
457 com.google.ortools.sat.LinearConstraintProto result = new com.google.ortools.sat.LinearConstraintProto(this);
458 if (bitField0_ != 0) { buildPartial0(result); }
459 onBuilt();
460 return result;
461 }
462
463 private void buildPartial0(com.google.ortools.sat.LinearConstraintProto result) {
464 int from_bitField0_ = bitField0_;
465 if (((from_bitField0_ & 0x00000001) != 0)) {
466 vars_.makeImmutable();
467 result.vars_ = vars_;
468 }
469 if (((from_bitField0_ & 0x00000002) != 0)) {
470 coeffs_.makeImmutable();
471 result.coeffs_ = coeffs_;
472 }
473 if (((from_bitField0_ & 0x00000004) != 0)) {
474 domain_.makeImmutable();
475 result.domain_ = domain_;
476 }
477 }
478
479 @java.lang.Override
480 public Builder mergeFrom(com.google.protobuf.Message other) {
481 if (other instanceof com.google.ortools.sat.LinearConstraintProto) {
482 return mergeFrom((com.google.ortools.sat.LinearConstraintProto)other);
483 } else {
484 super.mergeFrom(other);
485 return this;
486 }
487 }
488
489 public Builder mergeFrom(com.google.ortools.sat.LinearConstraintProto other) {
490 if (other == com.google.ortools.sat.LinearConstraintProto.getDefaultInstance()) return this;
491 if (!other.vars_.isEmpty()) {
492 if (vars_.isEmpty()) {
493 vars_ = other.vars_;
494 vars_.makeImmutable();
495 bitField0_ |= 0x00000001;
496 } else {
497 ensureVarsIsMutable();
498 vars_.addAll(other.vars_);
499 }
500 onChanged();
501 }
502 if (!other.coeffs_.isEmpty()) {
503 if (coeffs_.isEmpty()) {
504 coeffs_ = other.coeffs_;
505 coeffs_.makeImmutable();
506 bitField0_ |= 0x00000002;
507 } else {
508 ensureCoeffsIsMutable();
509 coeffs_.addAll(other.coeffs_);
510 }
511 onChanged();
512 }
513 if (!other.domain_.isEmpty()) {
514 if (domain_.isEmpty()) {
515 domain_ = other.domain_;
516 domain_.makeImmutable();
517 bitField0_ |= 0x00000004;
518 } else {
519 ensureDomainIsMutable();
520 domain_.addAll(other.domain_);
521 }
522 onChanged();
523 }
524 this.mergeUnknownFields(other.getUnknownFields());
525 onChanged();
526 return this;
527 }
528
529 @java.lang.Override
530 public final boolean isInitialized() {
531 return true;
532 }
533
534 @java.lang.Override
536 com.google.protobuf.CodedInputStream input,
537 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
538 throws java.io.IOException {
539 if (extensionRegistry == null) {
540 throw new java.lang.NullPointerException();
541 }
542 try {
543 boolean done = false;
544 while (!done) {
545 int tag = input.readTag();
546 switch (tag) {
547 case 0:
548 done = true;
549 break;
550 case 8: {
551 int v = input.readInt32();
552 ensureVarsIsMutable();
553 vars_.addInt(v);
554 break;
555 } // case 8
556 case 10: {
557 int length = input.readRawVarint32();
558 int limit = input.pushLimit(length);
559 ensureVarsIsMutable();
560 while (input.getBytesUntilLimit() > 0) {
561 vars_.addInt(input.readInt32());
562 }
563 input.popLimit(limit);
564 break;
565 } // case 10
566 case 16: {
567 long v = input.readInt64();
568 ensureCoeffsIsMutable();
569 coeffs_.addLong(v);
570 break;
571 } // case 16
572 case 18: {
573 int length = input.readRawVarint32();
574 int limit = input.pushLimit(length);
575 ensureCoeffsIsMutable();
576 while (input.getBytesUntilLimit() > 0) {
577 coeffs_.addLong(input.readInt64());
578 }
579 input.popLimit(limit);
580 break;
581 } // case 18
582 case 24: {
583 long v = input.readInt64();
584 ensureDomainIsMutable();
585 domain_.addLong(v);
586 break;
587 } // case 24
588 case 26: {
589 int length = input.readRawVarint32();
590 int limit = input.pushLimit(length);
591 ensureDomainIsMutable();
592 while (input.getBytesUntilLimit() > 0) {
593 domain_.addLong(input.readInt64());
594 }
595 input.popLimit(limit);
596 break;
597 } // case 26
598 default: {
599 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
600 done = true; // was an endgroup tag
601 }
602 break;
603 } // default:
604 } // switch (tag)
605 } // while (!done)
606 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
607 throw e.unwrapIOException();
608 } finally {
609 onChanged();
610 } // finally
611 return this;
612 }
613 private int bitField0_;
614
615 private com.google.protobuf.Internal.IntList vars_ = emptyIntList();
616 private void ensureVarsIsMutable() {
617 if (!vars_.isModifiable()) {
618 vars_ = makeMutableCopy(vars_);
619 }
620 bitField0_ |= 0x00000001;
621 }
626 public java.util.List<java.lang.Integer>
628 vars_.makeImmutable();
629 return vars_;
630 }
635 public int getVarsCount() {
636 return vars_.size();
637 }
643 public int getVars(int index) {
644 return vars_.getInt(index);
645 }
653 int index, int value) {
654
655 ensureVarsIsMutable();
656 vars_.setInt(index, value);
657 bitField0_ |= 0x00000001;
658 onChanged();
659 return this;
660 }
666 public Builder addVars(int value) {
667
668 ensureVarsIsMutable();
669 vars_.addInt(value);
670 bitField0_ |= 0x00000001;
671 onChanged();
672 return this;
673 }
680 java.lang.Iterable<? extends java.lang.Integer> values) {
681 ensureVarsIsMutable();
682 com.google.protobuf.AbstractMessageLite.Builder.addAll(
683 values, vars_);
684 bitField0_ |= 0x00000001;
685 onChanged();
686 return this;
687 }
693 vars_ = emptyIntList();
694 bitField0_ = (bitField0_ & ~0x00000001);
695 onChanged();
696 return this;
697 }
698
699 private com.google.protobuf.Internal.LongList coeffs_ = emptyLongList();
700 private void ensureCoeffsIsMutable() {
701 if (!coeffs_.isModifiable()) {
702 coeffs_ = makeMutableCopy(coeffs_);
703 }
704 bitField0_ |= 0x00000002;
705 }
714 public java.util.List<java.lang.Long>
716 coeffs_.makeImmutable();
717 return coeffs_;
718 }
727 public int getCoeffsCount() {
728 return coeffs_.size();
729 }
739 public long getCoeffs(int index) {
740 return coeffs_.getLong(index);
741 }
753 int index, long value) {
754
755 ensureCoeffsIsMutable();
756 coeffs_.setLong(index, value);
757 bitField0_ |= 0x00000002;
758 onChanged();
759 return this;
760 }
770 public Builder addCoeffs(long value) {
771
772 ensureCoeffsIsMutable();
773 coeffs_.addLong(value);
774 bitField0_ |= 0x00000002;
775 onChanged();
776 return this;
777 }
788 java.lang.Iterable<? extends java.lang.Long> values) {
789 ensureCoeffsIsMutable();
790 com.google.protobuf.AbstractMessageLite.Builder.addAll(
791 values, coeffs_);
792 bitField0_ |= 0x00000002;
793 onChanged();
794 return this;
795 }
805 coeffs_ = emptyLongList();
806 bitField0_ = (bitField0_ & ~0x00000002);
807 onChanged();
808 return this;
809 }
810
811 private com.google.protobuf.Internal.LongList domain_ = emptyLongList();
812 private void ensureDomainIsMutable() {
813 if (!domain_.isModifiable()) {
814 domain_ = makeMutableCopy(domain_);
815 }
816 bitField0_ |= 0x00000004;
817 }
822 public java.util.List<java.lang.Long>
824 domain_.makeImmutable();
825 return domain_;
826 }
831 public int getDomainCount() {
832 return domain_.size();
833 }
839 public long getDomain(int index) {
840 return domain_.getLong(index);
841 }
849 int index, long value) {
850
851 ensureDomainIsMutable();
852 domain_.setLong(index, value);
853 bitField0_ |= 0x00000004;
854 onChanged();
855 return this;
856 }
862 public Builder addDomain(long value) {
863
864 ensureDomainIsMutable();
865 domain_.addLong(value);
866 bitField0_ |= 0x00000004;
867 onChanged();
868 return this;
869 }
876 java.lang.Iterable<? extends java.lang.Long> values) {
877 ensureDomainIsMutable();
878 com.google.protobuf.AbstractMessageLite.Builder.addAll(
879 values, domain_);
880 bitField0_ |= 0x00000004;
881 onChanged();
882 return this;
883 }
889 domain_ = emptyLongList();
890 bitField0_ = (bitField0_ & ~0x00000004);
891 onChanged();
892 return this;
893 }
894
895 // @@protoc_insertion_point(builder_scope:operations_research.sat.LinearConstraintProto)
896 }
897
898 // @@protoc_insertion_point(class_scope:operations_research.sat.LinearConstraintProto)
899 private static final com.google.ortools.sat.LinearConstraintProto DEFAULT_INSTANCE;
900 static {
901 DEFAULT_INSTANCE = new com.google.ortools.sat.LinearConstraintProto();
902 }
903
905 return DEFAULT_INSTANCE;
906 }
907
908 private static final com.google.protobuf.Parser<LinearConstraintProto>
909 PARSER = new com.google.protobuf.AbstractParser<LinearConstraintProto>() {
910 @java.lang.Override
911 public LinearConstraintProto parsePartialFrom(
912 com.google.protobuf.CodedInputStream input,
913 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
914 throws com.google.protobuf.InvalidProtocolBufferException {
915 Builder builder = newBuilder();
916 try {
917 builder.mergeFrom(input, extensionRegistry);
918 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
919 throw e.setUnfinishedMessage(builder.buildPartial());
920 } catch (com.google.protobuf.UninitializedMessageException e) {
921 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
922 } catch (java.io.IOException e) {
923 throw new com.google.protobuf.InvalidProtocolBufferException(e)
924 .setUnfinishedMessage(builder.buildPartial());
925 }
926 return builder.buildPartial();
927 }
928 };
929
930 public static com.google.protobuf.Parser<LinearConstraintProto> parser() {
931 return PARSER;
932 }
933
934 @java.lang.Override
935 public com.google.protobuf.Parser<LinearConstraintProto> getParserForType() {
936 return PARSER;
937 }
938
939 @java.lang.Override
941 return DEFAULT_INSTANCE;
942 }
943
944}
945
Builder addAllCoeffs(java.lang.Iterable<? extends java.lang.Long > values)
Builder addAllVars(java.lang.Iterable<? extends java.lang.Integer > values)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Builder addAllDomain(java.lang.Iterable<? extends java.lang.Long > values)
com.google.ortools.sat.LinearConstraintProto build()
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
com.google.ortools.sat.LinearConstraintProto getDefaultInstanceForType()
Builder mergeFrom(com.google.protobuf.Message other)
Builder mergeFrom(com.google.ortools.sat.LinearConstraintProto other)
com.google.ortools.sat.LinearConstraintProto buildPartial()
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Builder newBuilder(com.google.ortools.sat.LinearConstraintProto prototype)
static com.google.ortools.sat.LinearConstraintProto parseDelimitedFrom(java.io.InputStream input)
static com.google.ortools.sat.LinearConstraintProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.Parser< LinearConstraintProto > getParserForType()
static com.google.ortools.sat.LinearConstraintProto parseFrom(byte[] data)
static com.google.ortools.sat.LinearConstraintProto parseFrom(com.google.protobuf.CodedInputStream input)
static com.google.protobuf.Parser< LinearConstraintProto > parser()
static com.google.ortools.sat.LinearConstraintProto getDefaultInstance()
com.google.ortools.sat.LinearConstraintProto getDefaultInstanceForType()
void writeTo(com.google.protobuf.CodedOutputStream output)
static com.google.ortools.sat.LinearConstraintProto parseFrom(com.google.protobuf.ByteString data)
java.util.List< java.lang.Long > getCoeffsList()
static com.google.ortools.sat.LinearConstraintProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
java.util.List< java.lang.Long > getDomainList()
java.util.List< java.lang.Integer > getVarsList()
static com.google.ortools.sat.LinearConstraintProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.LinearConstraintProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
static com.google.ortools.sat.LinearConstraintProto parseFrom(java.nio.ByteBuffer data)
static com.google.ortools.sat.LinearConstraintProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static com.google.ortools.sat.LinearConstraintProto parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.LinearConstraintProto parseFrom(java.io.InputStream input)