Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
FloatObjectiveProto.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/cp_model.proto
4// Protobuf Java Version: 4.31.1
5
6package com.google.ortools.sat;
7
16@com.google.protobuf.Generated
17public final class FloatObjectiveProto extends
18 com.google.protobuf.GeneratedMessage implements
19 // @@protoc_insertion_point(message_implements:operations_research.sat.FloatObjectiveProto)
21private static final long serialVersionUID = 0L;
22 static {
23 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
24 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
25 /* major= */ 4,
26 /* minor= */ 31,
27 /* patch= */ 1,
28 /* suffix= */ "",
29 FloatObjectiveProto.class.getName());
30 }
31 // Use FloatObjectiveProto.newBuilder() to construct.
32 private FloatObjectiveProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
33 super(builder);
34 }
35 private FloatObjectiveProto() {
36 vars_ = emptyIntList();
37 coeffs_ = emptyDoubleList();
38 }
39
40 public static final com.google.protobuf.Descriptors.Descriptor
42 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_FloatObjectiveProto_descriptor;
43 }
44
45 @java.lang.Override
46 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
48 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_FloatObjectiveProto_fieldAccessorTable
49 .ensureFieldAccessorsInitialized(
50 com.google.ortools.sat.FloatObjectiveProto.class, com.google.ortools.sat.FloatObjectiveProto.Builder.class);
51 }
52
53 public static final int VARS_FIELD_NUMBER = 1;
54 @SuppressWarnings("serial")
55 private com.google.protobuf.Internal.IntList vars_ =
56 emptyIntList();
61 @java.lang.Override
62 public java.util.List<java.lang.Integer>
64 return vars_;
65 }
66
70 public int getVarsCount() {
71 return vars_.size();
72 }
73
78 public int getVars(int index) {
79 return vars_.getInt(index);
80 }
81 private int varsMemoizedSerializedSize = -1;
82
83 public static final int COEFFS_FIELD_NUMBER = 2;
84 @SuppressWarnings("serial")
85 private com.google.protobuf.Internal.DoubleList coeffs_ =
86 emptyDoubleList();
91 @java.lang.Override
92 public java.util.List<java.lang.Double>
94 return coeffs_;
95 }
96
100 public int getCoeffsCount() {
101 return coeffs_.size();
102 }
103
108 public double getCoeffs(int index) {
109 return coeffs_.getDouble(index);
110 }
111 private int coeffsMemoizedSerializedSize = -1;
112
113 public static final int OFFSET_FIELD_NUMBER = 3;
114 private double offset_ = 0D;
119 @java.lang.Override
120 public double getOffset() {
121 return offset_;
122 }
123
124 public static final int MAXIMIZE_FIELD_NUMBER = 4;
125 private boolean maximize_ = false;
134 @java.lang.Override
135 public boolean getMaximize() {
136 return maximize_;
137 }
138
139 private byte memoizedIsInitialized = -1;
140 @java.lang.Override
141 public final boolean isInitialized() {
142 byte isInitialized = memoizedIsInitialized;
143 if (isInitialized == 1) return true;
144 if (isInitialized == 0) return false;
145
146 memoizedIsInitialized = 1;
147 return true;
148 }
149
150 @java.lang.Override
151 public void writeTo(com.google.protobuf.CodedOutputStream output)
152 throws java.io.IOException {
154 if (getVarsList().size() > 0) {
155 output.writeUInt32NoTag(10);
156 output.writeUInt32NoTag(varsMemoizedSerializedSize);
157 }
158 for (int i = 0; i < vars_.size(); i++) {
159 output.writeInt32NoTag(vars_.getInt(i));
160 }
161 if (getCoeffsList().size() > 0) {
162 output.writeUInt32NoTag(18);
163 output.writeUInt32NoTag(coeffsMemoizedSerializedSize);
164 }
165 for (int i = 0; i < coeffs_.size(); i++) {
166 output.writeDoubleNoTag(coeffs_.getDouble(i));
167 }
168 if (java.lang.Double.doubleToRawLongBits(offset_) != 0) {
169 output.writeDouble(3, offset_);
170 }
171 if (maximize_ != false) {
172 output.writeBool(4, maximize_);
173 }
174 getUnknownFields().writeTo(output);
175 }
176
177 @java.lang.Override
178 public int getSerializedSize() {
179 int size = memoizedSize;
180 if (size != -1) return size;
181
182 size = 0;
183 {
184 int dataSize = 0;
185 for (int i = 0; i < vars_.size(); i++) {
186 dataSize += com.google.protobuf.CodedOutputStream
187 .computeInt32SizeNoTag(vars_.getInt(i));
188 }
189 size += dataSize;
190 if (!getVarsList().isEmpty()) {
191 size += 1;
192 size += com.google.protobuf.CodedOutputStream
193 .computeInt32SizeNoTag(dataSize);
194 }
195 varsMemoizedSerializedSize = dataSize;
196 }
197 {
198 int dataSize = 0;
199 dataSize = 8 * getCoeffsList().size();
200 size += dataSize;
201 if (!getCoeffsList().isEmpty()) {
202 size += 1;
203 size += com.google.protobuf.CodedOutputStream
204 .computeInt32SizeNoTag(dataSize);
205 }
206 coeffsMemoizedSerializedSize = dataSize;
207 }
208 if (java.lang.Double.doubleToRawLongBits(offset_) != 0) {
209 size += com.google.protobuf.CodedOutputStream
210 .computeDoubleSize(3, offset_);
211 }
212 if (maximize_ != false) {
213 size += com.google.protobuf.CodedOutputStream
214 .computeBoolSize(4, maximize_);
215 }
216 size += getUnknownFields().getSerializedSize();
217 memoizedSize = size;
218 return size;
219 }
220
221 @java.lang.Override
222 public boolean equals(final java.lang.Object obj) {
223 if (obj == this) {
224 return true;
225 }
226 if (!(obj instanceof com.google.ortools.sat.FloatObjectiveProto)) {
227 return super.equals(obj);
228 }
229 com.google.ortools.sat.FloatObjectiveProto other = (com.google.ortools.sat.FloatObjectiveProto) obj;
230
231 if (!getVarsList()
232 .equals(other.getVarsList())) return false;
233 if (!getCoeffsList()
234 .equals(other.getCoeffsList())) return false;
235 if (java.lang.Double.doubleToLongBits(getOffset())
236 != java.lang.Double.doubleToLongBits(
237 other.getOffset())) return false;
238 if (getMaximize()
239 != other.getMaximize()) return false;
240 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
241 return true;
242 }
243
244 @java.lang.Override
245 public int hashCode() {
246 if (memoizedHashCode != 0) {
247 return memoizedHashCode;
248 }
249 int hash = 41;
250 hash = (19 * hash) + getDescriptor().hashCode();
251 if (getVarsCount() > 0) {
252 hash = (37 * hash) + VARS_FIELD_NUMBER;
253 hash = (53 * hash) + getVarsList().hashCode();
254 }
255 if (getCoeffsCount() > 0) {
256 hash = (37 * hash) + COEFFS_FIELD_NUMBER;
257 hash = (53 * hash) + getCoeffsList().hashCode();
258 }
259 hash = (37 * hash) + OFFSET_FIELD_NUMBER;
260 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
261 java.lang.Double.doubleToLongBits(getOffset()));
262 hash = (37 * hash) + MAXIMIZE_FIELD_NUMBER;
263 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
264 getMaximize());
265 hash = (29 * hash) + getUnknownFields().hashCode();
266 memoizedHashCode = hash;
267 return hash;
268 }
269
271 java.nio.ByteBuffer data)
272 throws com.google.protobuf.InvalidProtocolBufferException {
273 return PARSER.parseFrom(data);
274 }
276 java.nio.ByteBuffer data,
277 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
278 throws com.google.protobuf.InvalidProtocolBufferException {
279 return PARSER.parseFrom(data, extensionRegistry);
280 }
282 com.google.protobuf.ByteString data)
283 throws com.google.protobuf.InvalidProtocolBufferException {
284 return PARSER.parseFrom(data);
285 }
287 com.google.protobuf.ByteString data,
288 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
289 throws com.google.protobuf.InvalidProtocolBufferException {
290 return PARSER.parseFrom(data, extensionRegistry);
291 }
293 throws com.google.protobuf.InvalidProtocolBufferException {
294 return PARSER.parseFrom(data);
295 }
297 byte[] data,
298 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
299 throws com.google.protobuf.InvalidProtocolBufferException {
300 return PARSER.parseFrom(data, extensionRegistry);
301 }
302 public static com.google.ortools.sat.FloatObjectiveProto parseFrom(java.io.InputStream input)
303 throws java.io.IOException {
304 return com.google.protobuf.GeneratedMessage
305 .parseWithIOException(PARSER, input);
306 }
308 java.io.InputStream input,
309 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
310 throws java.io.IOException {
311 return com.google.protobuf.GeneratedMessage
312 .parseWithIOException(PARSER, input, extensionRegistry);
313 }
314
315 public static com.google.ortools.sat.FloatObjectiveProto parseDelimitedFrom(java.io.InputStream input)
316 throws java.io.IOException {
317 return com.google.protobuf.GeneratedMessage
318 .parseDelimitedWithIOException(PARSER, input);
319 }
320
322 java.io.InputStream input,
323 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
324 throws java.io.IOException {
325 return com.google.protobuf.GeneratedMessage
326 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
327 }
329 com.google.protobuf.CodedInputStream input)
330 throws java.io.IOException {
331 return com.google.protobuf.GeneratedMessage
332 .parseWithIOException(PARSER, input);
333 }
335 com.google.protobuf.CodedInputStream input,
336 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
337 throws java.io.IOException {
338 return com.google.protobuf.GeneratedMessage
339 .parseWithIOException(PARSER, input, extensionRegistry);
340 }
341
342 @java.lang.Override
343 public Builder newBuilderForType() { return newBuilder(); }
344 public static Builder newBuilder() {
345 return DEFAULT_INSTANCE.toBuilder();
346 }
347 public static Builder newBuilder(com.google.ortools.sat.FloatObjectiveProto prototype) {
348 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
349 }
350 @java.lang.Override
352 return this == DEFAULT_INSTANCE
353 ? new Builder() : new Builder().mergeFrom(this);
354 }
355
356 @java.lang.Override
358 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
359 Builder builder = new Builder(parent);
360 return builder;
361 }
362
370 public static final class Builder extends
371 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
372 // @@protoc_insertion_point(builder_implements:operations_research.sat.FloatObjectiveProto)
374 public static final com.google.protobuf.Descriptors.Descriptor
376 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_FloatObjectiveProto_descriptor;
377 }
378
379 @java.lang.Override
380 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
382 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_FloatObjectiveProto_fieldAccessorTable
383 .ensureFieldAccessorsInitialized(
384 com.google.ortools.sat.FloatObjectiveProto.class, com.google.ortools.sat.FloatObjectiveProto.Builder.class);
385 }
386
387 // Construct using com.google.ortools.sat.FloatObjectiveProto.newBuilder()
388 private Builder() {
389
390 }
391
392 private Builder(
393 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
394 super(parent);
395
396 }
397 @java.lang.Override
398 public Builder clear() {
399 super.clear();
400 bitField0_ = 0;
401 vars_ = emptyIntList();
402 coeffs_ = emptyDoubleList();
403 offset_ = 0D;
404 maximize_ = false;
405 return this;
406 }
407
408 @java.lang.Override
409 public com.google.protobuf.Descriptors.Descriptor
411 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_FloatObjectiveProto_descriptor;
412 }
413
414 @java.lang.Override
416 return com.google.ortools.sat.FloatObjectiveProto.getDefaultInstance();
417 }
418
419 @java.lang.Override
422 if (!result.isInitialized()) {
423 throw newUninitializedMessageException(result);
424 }
425 return result;
426 }
427
428 @java.lang.Override
430 com.google.ortools.sat.FloatObjectiveProto result = new com.google.ortools.sat.FloatObjectiveProto(this);
431 if (bitField0_ != 0) { buildPartial0(result); }
432 onBuilt();
433 return result;
434 }
435
436 private void buildPartial0(com.google.ortools.sat.FloatObjectiveProto result) {
437 int from_bitField0_ = bitField0_;
438 if (((from_bitField0_ & 0x00000001) != 0)) {
439 vars_.makeImmutable();
440 result.vars_ = vars_;
441 }
442 if (((from_bitField0_ & 0x00000002) != 0)) {
443 coeffs_.makeImmutable();
444 result.coeffs_ = coeffs_;
445 }
446 if (((from_bitField0_ & 0x00000004) != 0)) {
447 result.offset_ = offset_;
448 }
449 if (((from_bitField0_ & 0x00000008) != 0)) {
450 result.maximize_ = maximize_;
451 }
452 }
453
454 @java.lang.Override
455 public Builder mergeFrom(com.google.protobuf.Message other) {
456 if (other instanceof com.google.ortools.sat.FloatObjectiveProto) {
457 return mergeFrom((com.google.ortools.sat.FloatObjectiveProto)other);
458 } else {
459 super.mergeFrom(other);
460 return this;
461 }
462 }
463
464 public Builder mergeFrom(com.google.ortools.sat.FloatObjectiveProto other) {
465 if (other == com.google.ortools.sat.FloatObjectiveProto.getDefaultInstance()) return this;
466 if (!other.vars_.isEmpty()) {
467 if (vars_.isEmpty()) {
468 vars_ = other.vars_;
469 vars_.makeImmutable();
470 bitField0_ |= 0x00000001;
471 } else {
472 ensureVarsIsMutable();
473 vars_.addAll(other.vars_);
474 }
475 onChanged();
476 }
477 if (!other.coeffs_.isEmpty()) {
478 if (coeffs_.isEmpty()) {
479 coeffs_ = other.coeffs_;
480 coeffs_.makeImmutable();
481 bitField0_ |= 0x00000002;
482 } else {
483 ensureCoeffsIsMutable();
484 coeffs_.addAll(other.coeffs_);
485 }
486 onChanged();
487 }
488 if (java.lang.Double.doubleToRawLongBits(other.getOffset()) != 0) {
489 setOffset(other.getOffset());
490 }
491 if (other.getMaximize() != false) {
492 setMaximize(other.getMaximize());
493 }
494 this.mergeUnknownFields(other.getUnknownFields());
495 onChanged();
496 return this;
497 }
498
499 @java.lang.Override
500 public final boolean isInitialized() {
501 return true;
502 }
503
504 @java.lang.Override
505 public Builder mergeFrom(
506 com.google.protobuf.CodedInputStream input,
507 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
508 throws java.io.IOException {
509 if (extensionRegistry == null) {
510 throw new java.lang.NullPointerException();
511 }
512 try {
513 boolean done = false;
514 while (!done) {
515 int tag = input.readTag();
516 switch (tag) {
517 case 0:
518 done = true;
519 break;
520 case 8: {
521 int v = input.readInt32();
522 ensureVarsIsMutable();
523 vars_.addInt(v);
524 break;
525 } // case 8
526 case 10: {
527 int length = input.readRawVarint32();
528 int limit = input.pushLimit(length);
529 ensureVarsIsMutable();
530 while (input.getBytesUntilLimit() > 0) {
531 vars_.addInt(input.readInt32());
532 }
533 input.popLimit(limit);
534 break;
535 } // case 10
536 case 17: {
537 double v = input.readDouble();
538 ensureCoeffsIsMutable();
539 coeffs_.addDouble(v);
540 break;
541 } // case 17
542 case 18: {
543 int length = input.readRawVarint32();
544 int limit = input.pushLimit(length);
545 int alloc = length > 4096 ? 4096 : length;
546 ensureCoeffsIsMutable(alloc / 8);
547 while (input.getBytesUntilLimit() > 0) {
548 coeffs_.addDouble(input.readDouble());
549 }
550 input.popLimit(limit);
551 break;
552 } // case 18
553 case 25: {
554 offset_ = input.readDouble();
555 bitField0_ |= 0x00000004;
556 break;
557 } // case 25
558 case 32: {
559 maximize_ = input.readBool();
560 bitField0_ |= 0x00000008;
561 break;
562 } // case 32
563 default: {
564 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
565 done = true; // was an endgroup tag
566 }
567 break;
568 } // default:
569 } // switch (tag)
570 } // while (!done)
571 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
572 throw e.unwrapIOException();
573 } finally {
574 onChanged();
575 } // finally
576 return this;
577 }
578 private int bitField0_;
579
580 private com.google.protobuf.Internal.IntList vars_ = emptyIntList();
581 private void ensureVarsIsMutable() {
582 if (!vars_.isModifiable()) {
583 vars_ = makeMutableCopy(vars_);
584 }
585 bitField0_ |= 0x00000001;
586 }
591 public java.util.List<java.lang.Integer>
593 vars_.makeImmutable();
594 return vars_;
595 }
596
600 public int getVarsCount() {
601 return vars_.size();
602 }
603
608 public int getVars(int index) {
609 return vars_.getInt(index);
610 }
611
617 public Builder setVars(
618 int index, int value) {
619
620 ensureVarsIsMutable();
621 vars_.setInt(index, value);
622 bitField0_ |= 0x00000001;
623 onChanged();
624 return this;
625 }
626
631 public Builder addVars(int value) {
632
633 ensureVarsIsMutable();
634 vars_.addInt(value);
635 bitField0_ |= 0x00000001;
636 onChanged();
637 return this;
638 }
639
644 public Builder addAllVars(
645 java.lang.Iterable<? extends java.lang.Integer> values) {
646 ensureVarsIsMutable();
647 com.google.protobuf.AbstractMessageLite.Builder.addAll(
648 values, vars_);
649 bitField0_ |= 0x00000001;
650 onChanged();
651 return this;
652 }
653
657 public Builder clearVars() {
658 vars_ = emptyIntList();
659 bitField0_ = (bitField0_ & ~0x00000001);
660 onChanged();
661 return this;
662 }
663
664 private com.google.protobuf.Internal.DoubleList coeffs_ = emptyDoubleList();
665 private void ensureCoeffsIsMutable() {
666 if (!coeffs_.isModifiable()) {
667 coeffs_ = makeMutableCopy(coeffs_);
668 }
669 bitField0_ |= 0x00000002;
670 }
671 private void ensureCoeffsIsMutable(int capacity) {
672 if (!coeffs_.isModifiable()) {
673 coeffs_ = makeMutableCopy(coeffs_, capacity);
674 }
675 bitField0_ |= 0x00000002;
676 }
681 public java.util.List<java.lang.Double>
683 coeffs_.makeImmutable();
684 return coeffs_;
685 }
686
690 public int getCoeffsCount() {
691 return coeffs_.size();
692 }
693
698 public double getCoeffs(int index) {
699 return coeffs_.getDouble(index);
700 }
701
707 public Builder setCoeffs(
708 int index, double value) {
709
710 ensureCoeffsIsMutable();
711 coeffs_.setDouble(index, value);
712 bitField0_ |= 0x00000002;
713 onChanged();
714 return this;
715 }
716
721 public Builder addCoeffs(double value) {
722
723 ensureCoeffsIsMutable();
724 coeffs_.addDouble(value);
725 bitField0_ |= 0x00000002;
726 onChanged();
727 return this;
728 }
729
734 public Builder addAllCoeffs(
735 java.lang.Iterable<? extends java.lang.Double> values) {
736 ensureCoeffsIsMutable();
737 com.google.protobuf.AbstractMessageLite.Builder.addAll(
738 values, coeffs_);
739 bitField0_ |= 0x00000002;
740 onChanged();
741 return this;
742 }
743
747 public Builder clearCoeffs() {
748 coeffs_ = emptyDoubleList();
749 bitField0_ = (bitField0_ & ~0x00000002);
750 onChanged();
751 return this;
752 }
753
754 private double offset_ ;
759 @java.lang.Override
760 public double getOffset() {
761 return offset_;
762 }
763
768 public Builder setOffset(double value) {
769
770 offset_ = value;
771 bitField0_ |= 0x00000004;
772 onChanged();
773 return this;
774 }
775
779 public Builder clearOffset() {
780 bitField0_ = (bitField0_ & ~0x00000004);
781 offset_ = 0D;
782 onChanged();
783 return this;
784 }
785
786 private boolean maximize_ ;
795 @java.lang.Override
796 public boolean getMaximize() {
797 return maximize_;
798 }
799
808 public Builder setMaximize(boolean value) {
809
810 maximize_ = value;
811 bitField0_ |= 0x00000008;
812 onChanged();
813 return this;
814 }
815
823 public Builder clearMaximize() {
824 bitField0_ = (bitField0_ & ~0x00000008);
825 maximize_ = false;
826 onChanged();
827 return this;
828 }
829
830 // @@protoc_insertion_point(builder_scope:operations_research.sat.FloatObjectiveProto)
831 }
832
833 // @@protoc_insertion_point(class_scope:operations_research.sat.FloatObjectiveProto)
834 private static final com.google.ortools.sat.FloatObjectiveProto DEFAULT_INSTANCE;
835 static {
836 DEFAULT_INSTANCE = new com.google.ortools.sat.FloatObjectiveProto();
837 }
838
840 return DEFAULT_INSTANCE;
841 }
842
843 private static final com.google.protobuf.Parser<FloatObjectiveProto>
844 PARSER = new com.google.protobuf.AbstractParser<FloatObjectiveProto>() {
845 @java.lang.Override
846 public FloatObjectiveProto parsePartialFrom(
847 com.google.protobuf.CodedInputStream input,
848 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
849 throws com.google.protobuf.InvalidProtocolBufferException {
850 Builder builder = newBuilder();
851 try {
852 builder.mergeFrom(input, extensionRegistry);
853 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
854 throw e.setUnfinishedMessage(builder.buildPartial());
855 } catch (com.google.protobuf.UninitializedMessageException e) {
856 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
857 } catch (java.io.IOException e) {
858 throw new com.google.protobuf.InvalidProtocolBufferException(e)
859 .setUnfinishedMessage(builder.buildPartial());
860 }
861 return builder.buildPartial();
862 }
863 };
864
865 public static com.google.protobuf.Parser<FloatObjectiveProto> parser() {
866 return PARSER;
867 }
868
869 @java.lang.Override
870 public com.google.protobuf.Parser<FloatObjectiveProto> getParserForType() {
871 return PARSER;
872 }
873
874 @java.lang.Override
876 return DEFAULT_INSTANCE;
877 }
878
879}
880
java.util.List< java.lang.Integer > getVarsList()
Builder addAllVars(java.lang.Iterable<? extends java.lang.Integer > values)
Builder mergeFrom(com.google.protobuf.Message other)
Builder addAllCoeffs(java.lang.Iterable<? extends java.lang.Double > values)
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
com.google.ortools.sat.FloatObjectiveProto buildPartial()
com.google.ortools.sat.FloatObjectiveProto getDefaultInstanceForType()
Builder mergeFrom(com.google.ortools.sat.FloatObjectiveProto other)
com.google.ortools.sat.FloatObjectiveProto build()
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
static com.google.ortools.sat.FloatObjectiveProto parseFrom(java.io.InputStream input)
static com.google.ortools.sat.FloatObjectiveProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
java.util.List< java.lang.Double > getCoeffsList()
static Builder newBuilder(com.google.ortools.sat.FloatObjectiveProto prototype)
boolean equals(final java.lang.Object obj)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
static com.google.ortools.sat.FloatObjectiveProto parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.FloatObjectiveProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
void writeTo(com.google.protobuf.CodedOutputStream output)
static com.google.ortools.sat.FloatObjectiveProto parseFrom(com.google.protobuf.ByteString data)
static com.google.ortools.sat.FloatObjectiveProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.FloatObjectiveProto getDefaultInstance()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
static com.google.ortools.sat.FloatObjectiveProto parseFrom(java.nio.ByteBuffer data)
static com.google.protobuf.Parser< FloatObjectiveProto > parser()
static com.google.ortools.sat.FloatObjectiveProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.Parser< FloatObjectiveProto > getParserForType()
java.util.List< java.lang.Integer > getVarsList()
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static com.google.ortools.sat.FloatObjectiveProto parseFrom(com.google.protobuf.CodedInputStream input)
static com.google.ortools.sat.FloatObjectiveProto parseFrom(byte[] data)
com.google.ortools.sat.FloatObjectiveProto getDefaultInstanceForType()
static com.google.ortools.sat.FloatObjectiveProto parseDelimitedFrom(java.io.InputStream input)
static com.google.ortools.sat.FloatObjectiveProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)