Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
LinearObjective.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/boolean_problem.proto
4// Protobuf Java Version: 4.29.3
5
6package com.google.ortools.sat;
7
15public final class LinearObjective extends
16 com.google.protobuf.GeneratedMessage implements
17 // @@protoc_insertion_point(message_implements:operations_research.sat.LinearObjective)
19private static final long serialVersionUID = 0L;
20 static {
21 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
22 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
23 /* major= */ 4,
24 /* minor= */ 29,
25 /* patch= */ 3,
26 /* suffix= */ "",
27 LinearObjective.class.getName());
28 }
29 // Use LinearObjective.newBuilder() to construct.
30 private LinearObjective(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
31 super(builder);
32 }
33 private LinearObjective() {
34 literals_ = emptyIntList();
35 coefficients_ = emptyLongList();
36 scalingFactor_ = 1D;
37 }
38
39 public static final com.google.protobuf.Descriptors.Descriptor
41 return com.google.ortools.sat.BooleanProblem.internal_static_operations_research_sat_LinearObjective_descriptor;
42 }
43
44 @java.lang.Override
45 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
47 return com.google.ortools.sat.BooleanProblem.internal_static_operations_research_sat_LinearObjective_fieldAccessorTable
48 .ensureFieldAccessorsInitialized(
49 com.google.ortools.sat.LinearObjective.class, com.google.ortools.sat.LinearObjective.Builder.class);
50 }
51
52 private int bitField0_;
53 public static final int LITERALS_FIELD_NUMBER = 1;
54 @SuppressWarnings("serial")
55 private com.google.protobuf.Internal.IntList literals_ =
56 emptyIntList();
70 @java.lang.Override
71 public java.util.List<java.lang.Integer>
73 return literals_;
74 }
75
88 public int getLiteralsCount() {
89 return literals_.size();
90 }
91
105 public int getLiterals(int index) {
106 return literals_.getInt(index);
107 }
108
109 public static final int COEFFICIENTS_FIELD_NUMBER = 2;
110 @SuppressWarnings("serial")
111 private com.google.protobuf.Internal.LongList coefficients_ =
112 emptyLongList();
117 @java.lang.Override
118 public java.util.List<java.lang.Long>
120 return coefficients_;
121 }
122
126 public int getCoefficientsCount() {
127 return coefficients_.size();
128 }
129
134 public long getCoefficients(int index) {
135 return coefficients_.getLong(index);
136 }
137
138 public static final int OFFSET_FIELD_NUMBER = 3;
139 private double offset_ = 0D;
154 @java.lang.Override
155 public boolean hasOffset() {
156 return ((bitField0_ & 0x00000001) != 0);
157 }
158
172 @java.lang.Override
173 public double getOffset() {
174 return offset_;
175 }
176
177 public static final int SCALING_FACTOR_FIELD_NUMBER = 4;
178 private double scalingFactor_ = 1D;
183 @java.lang.Override
184 public boolean hasScalingFactor() {
185 return ((bitField0_ & 0x00000002) != 0);
186 }
187
191 @java.lang.Override
192 public double getScalingFactor() {
193 return scalingFactor_;
194 }
195
196 private byte memoizedIsInitialized = -1;
197 @java.lang.Override
198 public final boolean isInitialized() {
199 byte isInitialized = memoizedIsInitialized;
200 if (isInitialized == 1) return true;
201 if (isInitialized == 0) return false;
202
203 memoizedIsInitialized = 1;
204 return true;
205 }
206
207 @java.lang.Override
208 public void writeTo(com.google.protobuf.CodedOutputStream output)
209 throws java.io.IOException {
210 for (int i = 0; i < literals_.size(); i++) {
211 output.writeInt32(1, literals_.getInt(i));
212 }
213 for (int i = 0; i < coefficients_.size(); i++) {
214 output.writeInt64(2, coefficients_.getLong(i));
215 }
216 if (((bitField0_ & 0x00000001) != 0)) {
217 output.writeDouble(3, offset_);
218 }
219 if (((bitField0_ & 0x00000002) != 0)) {
220 output.writeDouble(4, scalingFactor_);
221 }
222 getUnknownFields().writeTo(output);
223 }
224
225 @java.lang.Override
226 public int getSerializedSize() {
227 int size = memoizedSize;
228 if (size != -1) return size;
229
230 size = 0;
231 {
232 int dataSize = 0;
233 for (int i = 0; i < literals_.size(); i++) {
234 dataSize += com.google.protobuf.CodedOutputStream
235 .computeInt32SizeNoTag(literals_.getInt(i));
236 }
237 size += dataSize;
238 size += 1 * getLiteralsList().size();
239 }
240 {
241 int dataSize = 0;
242 for (int i = 0; i < coefficients_.size(); i++) {
243 dataSize += com.google.protobuf.CodedOutputStream
244 .computeInt64SizeNoTag(coefficients_.getLong(i));
245 }
246 size += dataSize;
247 size += 1 * getCoefficientsList().size();
248 }
249 if (((bitField0_ & 0x00000001) != 0)) {
250 size += com.google.protobuf.CodedOutputStream
251 .computeDoubleSize(3, offset_);
252 }
253 if (((bitField0_ & 0x00000002) != 0)) {
254 size += com.google.protobuf.CodedOutputStream
255 .computeDoubleSize(4, scalingFactor_);
256 }
257 size += getUnknownFields().getSerializedSize();
258 memoizedSize = size;
259 return size;
260 }
261
262 @java.lang.Override
263 public boolean equals(final java.lang.Object obj) {
264 if (obj == this) {
265 return true;
266 }
267 if (!(obj instanceof com.google.ortools.sat.LinearObjective)) {
268 return super.equals(obj);
269 }
270 com.google.ortools.sat.LinearObjective other = (com.google.ortools.sat.LinearObjective) obj;
271
272 if (!getLiteralsList()
273 .equals(other.getLiteralsList())) return false;
275 .equals(other.getCoefficientsList())) return false;
276 if (hasOffset() != other.hasOffset()) return false;
277 if (hasOffset()) {
278 if (java.lang.Double.doubleToLongBits(getOffset())
279 != java.lang.Double.doubleToLongBits(
280 other.getOffset())) return false;
281 }
282 if (hasScalingFactor() != other.hasScalingFactor()) return false;
283 if (hasScalingFactor()) {
284 if (java.lang.Double.doubleToLongBits(getScalingFactor())
285 != java.lang.Double.doubleToLongBits(
286 other.getScalingFactor())) return false;
287 }
288 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
289 return true;
290 }
291
292 @java.lang.Override
293 public int hashCode() {
294 if (memoizedHashCode != 0) {
295 return memoizedHashCode;
296 }
297 int hash = 41;
298 hash = (19 * hash) + getDescriptor().hashCode();
299 if (getLiteralsCount() > 0) {
300 hash = (37 * hash) + LITERALS_FIELD_NUMBER;
301 hash = (53 * hash) + getLiteralsList().hashCode();
302 }
303 if (getCoefficientsCount() > 0) {
304 hash = (37 * hash) + COEFFICIENTS_FIELD_NUMBER;
305 hash = (53 * hash) + getCoefficientsList().hashCode();
306 }
307 if (hasOffset()) {
308 hash = (37 * hash) + OFFSET_FIELD_NUMBER;
309 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
310 java.lang.Double.doubleToLongBits(getOffset()));
311 }
312 if (hasScalingFactor()) {
313 hash = (37 * hash) + SCALING_FACTOR_FIELD_NUMBER;
314 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
315 java.lang.Double.doubleToLongBits(getScalingFactor()));
316 }
317 hash = (29 * hash) + getUnknownFields().hashCode();
318 memoizedHashCode = hash;
319 return hash;
320 }
321
323 java.nio.ByteBuffer data)
324 throws com.google.protobuf.InvalidProtocolBufferException {
325 return PARSER.parseFrom(data);
326 }
328 java.nio.ByteBuffer data,
329 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
330 throws com.google.protobuf.InvalidProtocolBufferException {
331 return PARSER.parseFrom(data, extensionRegistry);
332 }
334 com.google.protobuf.ByteString data)
335 throws com.google.protobuf.InvalidProtocolBufferException {
336 return PARSER.parseFrom(data);
337 }
339 com.google.protobuf.ByteString data,
340 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
341 throws com.google.protobuf.InvalidProtocolBufferException {
342 return PARSER.parseFrom(data, extensionRegistry);
343 }
345 throws com.google.protobuf.InvalidProtocolBufferException {
346 return PARSER.parseFrom(data);
347 }
349 byte[] data,
350 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
351 throws com.google.protobuf.InvalidProtocolBufferException {
352 return PARSER.parseFrom(data, extensionRegistry);
353 }
354 public static com.google.ortools.sat.LinearObjective parseFrom(java.io.InputStream input)
355 throws java.io.IOException {
356 return com.google.protobuf.GeneratedMessage
357 .parseWithIOException(PARSER, input);
358 }
360 java.io.InputStream input,
361 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
362 throws java.io.IOException {
363 return com.google.protobuf.GeneratedMessage
364 .parseWithIOException(PARSER, input, extensionRegistry);
365 }
366
367 public static com.google.ortools.sat.LinearObjective parseDelimitedFrom(java.io.InputStream input)
368 throws java.io.IOException {
369 return com.google.protobuf.GeneratedMessage
370 .parseDelimitedWithIOException(PARSER, input);
371 }
372
374 java.io.InputStream input,
375 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
376 throws java.io.IOException {
377 return com.google.protobuf.GeneratedMessage
378 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
379 }
381 com.google.protobuf.CodedInputStream input)
382 throws java.io.IOException {
383 return com.google.protobuf.GeneratedMessage
384 .parseWithIOException(PARSER, input);
385 }
387 com.google.protobuf.CodedInputStream input,
388 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
389 throws java.io.IOException {
390 return com.google.protobuf.GeneratedMessage
391 .parseWithIOException(PARSER, input, extensionRegistry);
392 }
393
394 @java.lang.Override
395 public Builder newBuilderForType() { return newBuilder(); }
396 public static Builder newBuilder() {
397 return DEFAULT_INSTANCE.toBuilder();
398 }
399 public static Builder newBuilder(com.google.ortools.sat.LinearObjective prototype) {
400 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
401 }
402 @java.lang.Override
404 return this == DEFAULT_INSTANCE
405 ? new Builder() : new Builder().mergeFrom(this);
406 }
407
408 @java.lang.Override
410 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
411 Builder builder = new Builder(parent);
412 return builder;
413 }
414
421 public static final class Builder extends
422 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
423 // @@protoc_insertion_point(builder_implements:operations_research.sat.LinearObjective)
425 public static final com.google.protobuf.Descriptors.Descriptor
427 return com.google.ortools.sat.BooleanProblem.internal_static_operations_research_sat_LinearObjective_descriptor;
428 }
429
430 @java.lang.Override
431 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
433 return com.google.ortools.sat.BooleanProblem.internal_static_operations_research_sat_LinearObjective_fieldAccessorTable
434 .ensureFieldAccessorsInitialized(
435 com.google.ortools.sat.LinearObjective.class, com.google.ortools.sat.LinearObjective.Builder.class);
436 }
437
438 // Construct using com.google.ortools.sat.LinearObjective.newBuilder()
439 private Builder() {
440
441 }
442
443 private Builder(
444 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
445 super(parent);
446
447 }
448 @java.lang.Override
449 public Builder clear() {
450 super.clear();
451 bitField0_ = 0;
452 literals_ = emptyIntList();
453 coefficients_ = emptyLongList();
454 offset_ = 0D;
455 scalingFactor_ = 1D;
456 return this;
457 }
458
459 @java.lang.Override
460 public com.google.protobuf.Descriptors.Descriptor
462 return com.google.ortools.sat.BooleanProblem.internal_static_operations_research_sat_LinearObjective_descriptor;
463 }
464
465 @java.lang.Override
467 return com.google.ortools.sat.LinearObjective.getDefaultInstance();
468 }
469
470 @java.lang.Override
473 if (!result.isInitialized()) {
474 throw newUninitializedMessageException(result);
475 }
476 return result;
477 }
478
479 @java.lang.Override
481 com.google.ortools.sat.LinearObjective result = new com.google.ortools.sat.LinearObjective(this);
482 if (bitField0_ != 0) { buildPartial0(result); }
483 onBuilt();
484 return result;
485 }
486
487 private void buildPartial0(com.google.ortools.sat.LinearObjective result) {
488 int from_bitField0_ = bitField0_;
489 if (((from_bitField0_ & 0x00000001) != 0)) {
490 literals_.makeImmutable();
491 result.literals_ = literals_;
492 }
493 if (((from_bitField0_ & 0x00000002) != 0)) {
494 coefficients_.makeImmutable();
495 result.coefficients_ = coefficients_;
496 }
497 int to_bitField0_ = 0;
498 if (((from_bitField0_ & 0x00000004) != 0)) {
499 result.offset_ = offset_;
500 to_bitField0_ |= 0x00000001;
501 }
502 if (((from_bitField0_ & 0x00000008) != 0)) {
503 result.scalingFactor_ = scalingFactor_;
504 to_bitField0_ |= 0x00000002;
505 }
506 result.bitField0_ |= to_bitField0_;
507 }
508
509 @java.lang.Override
510 public Builder mergeFrom(com.google.protobuf.Message other) {
511 if (other instanceof com.google.ortools.sat.LinearObjective) {
512 return mergeFrom((com.google.ortools.sat.LinearObjective)other);
513 } else {
514 super.mergeFrom(other);
515 return this;
516 }
517 }
518
519 public Builder mergeFrom(com.google.ortools.sat.LinearObjective other) {
520 if (other == com.google.ortools.sat.LinearObjective.getDefaultInstance()) return this;
521 if (!other.literals_.isEmpty()) {
522 if (literals_.isEmpty()) {
523 literals_ = other.literals_;
524 literals_.makeImmutable();
525 bitField0_ |= 0x00000001;
526 } else {
527 ensureLiteralsIsMutable();
528 literals_.addAll(other.literals_);
529 }
530 onChanged();
531 }
532 if (!other.coefficients_.isEmpty()) {
533 if (coefficients_.isEmpty()) {
534 coefficients_ = other.coefficients_;
535 coefficients_.makeImmutable();
536 bitField0_ |= 0x00000002;
537 } else {
538 ensureCoefficientsIsMutable();
539 coefficients_.addAll(other.coefficients_);
540 }
541 onChanged();
542 }
543 if (other.hasOffset()) {
544 setOffset(other.getOffset());
545 }
546 if (other.hasScalingFactor()) {
547 setScalingFactor(other.getScalingFactor());
548 }
549 this.mergeUnknownFields(other.getUnknownFields());
550 onChanged();
551 return this;
552 }
553
554 @java.lang.Override
555 public final boolean isInitialized() {
556 return true;
557 }
558
559 @java.lang.Override
560 public Builder mergeFrom(
561 com.google.protobuf.CodedInputStream input,
562 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
563 throws java.io.IOException {
564 if (extensionRegistry == null) {
565 throw new java.lang.NullPointerException();
566 }
567 try {
568 boolean done = false;
569 while (!done) {
570 int tag = input.readTag();
571 switch (tag) {
572 case 0:
573 done = true;
574 break;
575 case 8: {
576 int v = input.readInt32();
577 ensureLiteralsIsMutable();
578 literals_.addInt(v);
579 break;
580 } // case 8
581 case 10: {
582 int length = input.readRawVarint32();
583 int limit = input.pushLimit(length);
584 ensureLiteralsIsMutable();
585 while (input.getBytesUntilLimit() > 0) {
586 literals_.addInt(input.readInt32());
587 }
588 input.popLimit(limit);
589 break;
590 } // case 10
591 case 16: {
592 long v = input.readInt64();
593 ensureCoefficientsIsMutable();
594 coefficients_.addLong(v);
595 break;
596 } // case 16
597 case 18: {
598 int length = input.readRawVarint32();
599 int limit = input.pushLimit(length);
600 ensureCoefficientsIsMutable();
601 while (input.getBytesUntilLimit() > 0) {
602 coefficients_.addLong(input.readInt64());
603 }
604 input.popLimit(limit);
605 break;
606 } // case 18
607 case 25: {
608 offset_ = input.readDouble();
609 bitField0_ |= 0x00000004;
610 break;
611 } // case 25
612 case 33: {
613 scalingFactor_ = input.readDouble();
614 bitField0_ |= 0x00000008;
615 break;
616 } // case 33
617 default: {
618 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
619 done = true; // was an endgroup tag
620 }
621 break;
622 } // default:
623 } // switch (tag)
624 } // while (!done)
625 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
626 throw e.unwrapIOException();
627 } finally {
628 onChanged();
629 } // finally
630 return this;
631 }
632 private int bitField0_;
633
634 private com.google.protobuf.Internal.IntList literals_ = emptyIntList();
635 private void ensureLiteralsIsMutable() {
636 if (!literals_.isModifiable()) {
637 literals_ = makeMutableCopy(literals_);
638 }
639 bitField0_ |= 0x00000001;
640 }
654 public java.util.List<java.lang.Integer>
656 literals_.makeImmutable();
657 return literals_;
658 }
659
672 public int getLiteralsCount() {
673 return literals_.size();
674 }
675
689 public int getLiterals(int index) {
690 return literals_.getInt(index);
691 }
692
707 public Builder setLiterals(
708 int index, int value) {
709
710 ensureLiteralsIsMutable();
711 literals_.setInt(index, value);
712 bitField0_ |= 0x00000001;
713 onChanged();
714 return this;
715 }
716
730 public Builder addLiterals(int value) {
731
732 ensureLiteralsIsMutable();
733 literals_.addInt(value);
734 bitField0_ |= 0x00000001;
735 onChanged();
736 return this;
737 }
738
752 public Builder addAllLiterals(
753 java.lang.Iterable<? extends java.lang.Integer> values) {
754 ensureLiteralsIsMutable();
755 com.google.protobuf.AbstractMessageLite.Builder.addAll(
756 values, literals_);
757 bitField0_ |= 0x00000001;
758 onChanged();
759 return this;
760 }
761
774 public Builder clearLiterals() {
775 literals_ = emptyIntList();
776 bitField0_ = (bitField0_ & ~0x00000001);
777 onChanged();
778 return this;
779 }
780
781 private com.google.protobuf.Internal.LongList coefficients_ = emptyLongList();
782 private void ensureCoefficientsIsMutable() {
783 if (!coefficients_.isModifiable()) {
784 coefficients_ = makeMutableCopy(coefficients_);
785 }
786 bitField0_ |= 0x00000002;
787 }
792 public java.util.List<java.lang.Long>
794 coefficients_.makeImmutable();
795 return coefficients_;
796 }
797
801 public int getCoefficientsCount() {
802 return coefficients_.size();
803 }
804
809 public long getCoefficients(int index) {
810 return coefficients_.getLong(index);
811 }
812
818 public Builder setCoefficients(
819 int index, long value) {
820
821 ensureCoefficientsIsMutable();
822 coefficients_.setLong(index, value);
823 bitField0_ |= 0x00000002;
824 onChanged();
825 return this;
826 }
827
832 public Builder addCoefficients(long value) {
833
834 ensureCoefficientsIsMutable();
835 coefficients_.addLong(value);
836 bitField0_ |= 0x00000002;
837 onChanged();
838 return this;
839 }
840
845 public Builder addAllCoefficients(
846 java.lang.Iterable<? extends java.lang.Long> values) {
847 ensureCoefficientsIsMutable();
848 com.google.protobuf.AbstractMessageLite.Builder.addAll(
849 values, coefficients_);
850 bitField0_ |= 0x00000002;
851 onChanged();
852 return this;
853 }
854
858 public Builder clearCoefficients() {
859 coefficients_ = emptyLongList();
860 bitField0_ = (bitField0_ & ~0x00000002);
861 onChanged();
862 return this;
863 }
864
865 private double offset_ ;
880 @java.lang.Override
881 public boolean hasOffset() {
882 return ((bitField0_ & 0x00000004) != 0);
883 }
884
898 @java.lang.Override
899 public double getOffset() {
900 return offset_;
901 }
902
917 public Builder setOffset(double value) {
918
919 offset_ = value;
920 bitField0_ |= 0x00000004;
921 onChanged();
922 return this;
923 }
924
938 public Builder clearOffset() {
939 bitField0_ = (bitField0_ & ~0x00000004);
940 offset_ = 0D;
941 onChanged();
942 return this;
943 }
944
945 private double scalingFactor_ = 1D;
950 @java.lang.Override
951 public boolean hasScalingFactor() {
952 return ((bitField0_ & 0x00000008) != 0);
953 }
954
958 @java.lang.Override
959 public double getScalingFactor() {
960 return scalingFactor_;
961 }
962
967 public Builder setScalingFactor(double value) {
968
969 scalingFactor_ = value;
970 bitField0_ |= 0x00000008;
971 onChanged();
972 return this;
973 }
974
978 public Builder clearScalingFactor() {
979 bitField0_ = (bitField0_ & ~0x00000008);
980 scalingFactor_ = 1D;
981 onChanged();
982 return this;
983 }
984
985 // @@protoc_insertion_point(builder_scope:operations_research.sat.LinearObjective)
986 }
987
988 // @@protoc_insertion_point(class_scope:operations_research.sat.LinearObjective)
989 private static final com.google.ortools.sat.LinearObjective DEFAULT_INSTANCE;
990 static {
991 DEFAULT_INSTANCE = new com.google.ortools.sat.LinearObjective();
992 }
993
995 return DEFAULT_INSTANCE;
996 }
997
998 private static final com.google.protobuf.Parser<LinearObjective>
999 PARSER = new com.google.protobuf.AbstractParser<LinearObjective>() {
1000 @java.lang.Override
1001 public LinearObjective parsePartialFrom(
1002 com.google.protobuf.CodedInputStream input,
1003 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1004 throws com.google.protobuf.InvalidProtocolBufferException {
1005 Builder builder = newBuilder();
1006 try {
1007 builder.mergeFrom(input, extensionRegistry);
1008 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1009 throw e.setUnfinishedMessage(builder.buildPartial());
1010 } catch (com.google.protobuf.UninitializedMessageException e) {
1011 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1012 } catch (java.io.IOException e) {
1013 throw new com.google.protobuf.InvalidProtocolBufferException(e)
1014 .setUnfinishedMessage(builder.buildPartial());
1015 }
1016 return builder.buildPartial();
1017 }
1018 };
1019
1020 public static com.google.protobuf.Parser<LinearObjective> parser() {
1021 return PARSER;
1022 }
1023
1024 @java.lang.Override
1025 public com.google.protobuf.Parser<LinearObjective> getParserForType() {
1026 return PARSER;
1027 }
1028
1029 @java.lang.Override
1031 return DEFAULT_INSTANCE;
1032 }
1033
1034}
1035
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Builder mergeFrom(com.google.protobuf.Message other)
java.util.List< java.lang.Integer > getLiteralsList()
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Builder addAllCoefficients(java.lang.Iterable<? extends java.lang.Long > values)
com.google.ortools.sat.LinearObjective build()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
java.util.List< java.lang.Long > getCoefficientsList()
com.google.ortools.sat.LinearObjective getDefaultInstanceForType()
Builder addAllLiterals(java.lang.Iterable<? extends java.lang.Integer > values)
com.google.ortools.sat.LinearObjective buildPartial()
Builder mergeFrom(com.google.ortools.sat.LinearObjective other)
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.LinearObjective parseFrom(java.nio.ByteBuffer data)
static com.google.ortools.sat.LinearObjective parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
java.util.List< java.lang.Integer > getLiteralsList()
static com.google.ortools.sat.LinearObjective parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.LinearObjective parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.LinearObjective parseFrom(byte[] data)
com.google.ortools.sat.LinearObjective getDefaultInstanceForType()
com.google.protobuf.Parser< LinearObjective > getParserForType()
static com.google.ortools.sat.LinearObjective parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
java.util.List< java.lang.Long > getCoefficientsList()
static com.google.ortools.sat.LinearObjective getDefaultInstance()
void writeTo(com.google.protobuf.CodedOutputStream output)
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static com.google.ortools.sat.LinearObjective parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Builder newBuilder(com.google.ortools.sat.LinearObjective prototype)
boolean equals(final java.lang.Object obj)
static com.google.ortools.sat.LinearObjective parseFrom(java.io.InputStream input)
static com.google.ortools.sat.LinearObjective parseDelimitedFrom(java.io.InputStream input)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
static com.google.protobuf.Parser< LinearObjective > parser()
static com.google.ortools.sat.LinearObjective parseFrom(com.google.protobuf.CodedInputStream input)
static com.google.ortools.sat.LinearObjective parseFrom(com.google.protobuf.ByteString data)
static com.google.ortools.sat.LinearObjective parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)