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