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