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