Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
MPQuadraticObjective.java
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ortools/linear_solver/linear_solver.proto
3
4// Protobuf Java Version: 4.26.1
5package com.google.ortools.linearsolver;
6
18public final class MPQuadraticObjective extends
19 com.google.protobuf.GeneratedMessage implements
20 // @@protoc_insertion_point(message_implements:operations_research.MPQuadraticObjective)
22private static final long serialVersionUID = 0L;
23 static {
24 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
25 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
26 /* major= */ 4,
27 /* minor= */ 26,
28 /* patch= */ 1,
29 /* suffix= */ "",
30 MPQuadraticObjective.class.getName());
31 }
32 // Use MPQuadraticObjective.newBuilder() to construct.
33 private MPQuadraticObjective(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
34 super(builder);
35 }
36 private MPQuadraticObjective() {
37 qvar1Index_ = emptyIntList();
38 qvar2Index_ = emptyIntList();
39 coefficient_ = emptyDoubleList();
40 }
41
42 public static final com.google.protobuf.Descriptors.Descriptor
44 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPQuadraticObjective_descriptor;
45 }
46
47 @java.lang.Override
48 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
50 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPQuadraticObjective_fieldAccessorTable
51 .ensureFieldAccessorsInitialized(
52 com.google.ortools.linearsolver.MPQuadraticObjective.class, com.google.ortools.linearsolver.MPQuadraticObjective.Builder.class);
53 }
54
55 public static final int QVAR1_INDEX_FIELD_NUMBER = 1;
56 @SuppressWarnings("serial")
57 private com.google.protobuf.Internal.IntList qvar1Index_ =
58 emptyIntList();
73 @java.lang.Override
74 public java.util.List<java.lang.Integer>
76 return qvar1Index_;
77 }
92 public int getQvar1IndexCount() {
93 return qvar1Index_.size();
94 }
110 public int getQvar1Index(int index) {
111 return qvar1Index_.getInt(index);
112 }
113
114 public static final int QVAR2_INDEX_FIELD_NUMBER = 2;
115 @SuppressWarnings("serial")
116 private com.google.protobuf.Internal.IntList qvar2Index_ =
117 emptyIntList();
122 @java.lang.Override
123 public java.util.List<java.lang.Integer>
125 return qvar2Index_;
126 }
131 public int getQvar2IndexCount() {
132 return qvar2Index_.size();
133 }
139 public int getQvar2Index(int index) {
140 return qvar2Index_.getInt(index);
141 }
142
143 public static final int COEFFICIENT_FIELD_NUMBER = 3;
144 @SuppressWarnings("serial")
145 private com.google.protobuf.Internal.DoubleList coefficient_ =
146 emptyDoubleList();
155 @java.lang.Override
156 public java.util.List<java.lang.Double>
158 return coefficient_;
159 }
168 public int getCoefficientCount() {
169 return coefficient_.size();
170 }
180 public double getCoefficient(int index) {
181 return coefficient_.getDouble(index);
182 }
183
184 private byte memoizedIsInitialized = -1;
185 @java.lang.Override
186 public final boolean isInitialized() {
187 byte isInitialized = memoizedIsInitialized;
188 if (isInitialized == 1) return true;
189 if (isInitialized == 0) return false;
190
191 memoizedIsInitialized = 1;
192 return true;
193 }
194
195 @java.lang.Override
196 public void writeTo(com.google.protobuf.CodedOutputStream output)
197 throws java.io.IOException {
198 for (int i = 0; i < qvar1Index_.size(); i++) {
199 output.writeInt32(1, qvar1Index_.getInt(i));
200 }
201 for (int i = 0; i < qvar2Index_.size(); i++) {
202 output.writeInt32(2, qvar2Index_.getInt(i));
203 }
204 for (int i = 0; i < coefficient_.size(); i++) {
205 output.writeDouble(3, coefficient_.getDouble(i));
206 }
207 getUnknownFields().writeTo(output);
208 }
209
210 @java.lang.Override
211 public int getSerializedSize() {
212 int size = memoizedSize;
213 if (size != -1) return size;
214
215 size = 0;
216 {
217 int dataSize = 0;
218 for (int i = 0; i < qvar1Index_.size(); i++) {
219 dataSize += com.google.protobuf.CodedOutputStream
220 .computeInt32SizeNoTag(qvar1Index_.getInt(i));
221 }
222 size += dataSize;
223 size += 1 * getQvar1IndexList().size();
224 }
225 {
226 int dataSize = 0;
227 for (int i = 0; i < qvar2Index_.size(); i++) {
228 dataSize += com.google.protobuf.CodedOutputStream
229 .computeInt32SizeNoTag(qvar2Index_.getInt(i));
230 }
231 size += dataSize;
232 size += 1 * getQvar2IndexList().size();
233 }
234 {
235 int dataSize = 0;
236 dataSize = 8 * getCoefficientList().size();
237 size += dataSize;
238 size += 1 * getCoefficientList().size();
239 }
240 size += getUnknownFields().getSerializedSize();
241 memoizedSize = size;
242 return size;
243 }
244
245 @java.lang.Override
246 public boolean equals(final java.lang.Object obj) {
247 if (obj == this) {
248 return true;
249 }
250 if (!(obj instanceof com.google.ortools.linearsolver.MPQuadraticObjective)) {
251 return super.equals(obj);
252 }
253 com.google.ortools.linearsolver.MPQuadraticObjective other = (com.google.ortools.linearsolver.MPQuadraticObjective) obj;
254
255 if (!getQvar1IndexList()
256 .equals(other.getQvar1IndexList())) return false;
257 if (!getQvar2IndexList()
258 .equals(other.getQvar2IndexList())) return false;
259 if (!getCoefficientList()
260 .equals(other.getCoefficientList())) return false;
261 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
262 return true;
263 }
264
265 @java.lang.Override
266 public int hashCode() {
267 if (memoizedHashCode != 0) {
268 return memoizedHashCode;
269 }
270 int hash = 41;
271 hash = (19 * hash) + getDescriptor().hashCode();
272 if (getQvar1IndexCount() > 0) {
273 hash = (37 * hash) + QVAR1_INDEX_FIELD_NUMBER;
274 hash = (53 * hash) + getQvar1IndexList().hashCode();
275 }
276 if (getQvar2IndexCount() > 0) {
277 hash = (37 * hash) + QVAR2_INDEX_FIELD_NUMBER;
278 hash = (53 * hash) + getQvar2IndexList().hashCode();
279 }
280 if (getCoefficientCount() > 0) {
281 hash = (37 * hash) + COEFFICIENT_FIELD_NUMBER;
282 hash = (53 * hash) + getCoefficientList().hashCode();
283 }
284 hash = (29 * hash) + getUnknownFields().hashCode();
285 memoizedHashCode = hash;
286 return hash;
287 }
288
290 java.nio.ByteBuffer data)
291 throws com.google.protobuf.InvalidProtocolBufferException {
292 return PARSER.parseFrom(data);
293 }
295 java.nio.ByteBuffer data,
296 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
297 throws com.google.protobuf.InvalidProtocolBufferException {
298 return PARSER.parseFrom(data, extensionRegistry);
299 }
301 com.google.protobuf.ByteString data)
302 throws com.google.protobuf.InvalidProtocolBufferException {
303 return PARSER.parseFrom(data);
304 }
306 com.google.protobuf.ByteString data,
307 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
308 throws com.google.protobuf.InvalidProtocolBufferException {
309 return PARSER.parseFrom(data, extensionRegistry);
310 }
312 throws com.google.protobuf.InvalidProtocolBufferException {
313 return PARSER.parseFrom(data);
314 }
316 byte[] data,
317 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
318 throws com.google.protobuf.InvalidProtocolBufferException {
319 return PARSER.parseFrom(data, extensionRegistry);
320 }
322 throws java.io.IOException {
323 return com.google.protobuf.GeneratedMessage
324 .parseWithIOException(PARSER, input);
325 }
327 java.io.InputStream input,
328 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
329 throws java.io.IOException {
330 return com.google.protobuf.GeneratedMessage
331 .parseWithIOException(PARSER, input, extensionRegistry);
332 }
333
335 throws java.io.IOException {
336 return com.google.protobuf.GeneratedMessage
337 .parseDelimitedWithIOException(PARSER, input);
338 }
339
341 java.io.InputStream input,
342 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
343 throws java.io.IOException {
344 return com.google.protobuf.GeneratedMessage
345 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
346 }
348 com.google.protobuf.CodedInputStream input)
349 throws java.io.IOException {
350 return com.google.protobuf.GeneratedMessage
351 .parseWithIOException(PARSER, input);
352 }
354 com.google.protobuf.CodedInputStream input,
355 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
356 throws java.io.IOException {
357 return com.google.protobuf.GeneratedMessage
358 .parseWithIOException(PARSER, input, extensionRegistry);
359 }
360
361 @java.lang.Override
362 public Builder newBuilderForType() { return newBuilder(); }
363 public static Builder newBuilder() {
364 return DEFAULT_INSTANCE.toBuilder();
365 }
366 public static Builder newBuilder(com.google.ortools.linearsolver.MPQuadraticObjective prototype) {
367 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
368 }
369 @java.lang.Override
371 return this == DEFAULT_INSTANCE
372 ? new Builder() : new Builder().mergeFrom(this);
373 }
374
375 @java.lang.Override
377 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
378 Builder builder = new Builder(parent);
379 return builder;
380 }
392 public static final class Builder extends
393 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
394 // @@protoc_insertion_point(builder_implements:operations_research.MPQuadraticObjective)
395 com.google.ortools.linearsolver.MPQuadraticObjectiveOrBuilder {
396 public static final com.google.protobuf.Descriptors.Descriptor
398 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPQuadraticObjective_descriptor;
399 }
400
401 @java.lang.Override
402 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
404 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPQuadraticObjective_fieldAccessorTable
405 .ensureFieldAccessorsInitialized(
406 com.google.ortools.linearsolver.MPQuadraticObjective.class, com.google.ortools.linearsolver.MPQuadraticObjective.Builder.class);
407 }
408
409 // Construct using com.google.ortools.linearsolver.MPQuadraticObjective.newBuilder()
410 private Builder() {
411
412 }
413
414 private Builder(
415 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
416 super(parent);
417
418 }
419 @java.lang.Override
420 public Builder clear() {
421 super.clear();
422 bitField0_ = 0;
423 qvar1Index_ = emptyIntList();
424 qvar2Index_ = emptyIntList();
425 coefficient_ = emptyDoubleList();
426 return this;
427 }
428
429 @java.lang.Override
430 public com.google.protobuf.Descriptors.Descriptor
432 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPQuadraticObjective_descriptor;
433 }
434
435 @java.lang.Override
437 return com.google.ortools.linearsolver.MPQuadraticObjective.getDefaultInstance();
438 }
439
440 @java.lang.Override
443 if (!result.isInitialized()) {
444 throw newUninitializedMessageException(result);
445 }
446 return result;
447 }
448
449 @java.lang.Override
451 com.google.ortools.linearsolver.MPQuadraticObjective result = new com.google.ortools.linearsolver.MPQuadraticObjective(this);
452 if (bitField0_ != 0) { buildPartial0(result); }
453 onBuilt();
454 return result;
455 }
456
457 private void buildPartial0(com.google.ortools.linearsolver.MPQuadraticObjective result) {
458 int from_bitField0_ = bitField0_;
459 if (((from_bitField0_ & 0x00000001) != 0)) {
460 qvar1Index_.makeImmutable();
461 result.qvar1Index_ = qvar1Index_;
462 }
463 if (((from_bitField0_ & 0x00000002) != 0)) {
464 qvar2Index_.makeImmutable();
465 result.qvar2Index_ = qvar2Index_;
466 }
467 if (((from_bitField0_ & 0x00000004) != 0)) {
468 coefficient_.makeImmutable();
469 result.coefficient_ = coefficient_;
470 }
471 }
472
473 @java.lang.Override
474 public Builder mergeFrom(com.google.protobuf.Message other) {
475 if (other instanceof com.google.ortools.linearsolver.MPQuadraticObjective) {
476 return mergeFrom((com.google.ortools.linearsolver.MPQuadraticObjective)other);
477 } else {
478 super.mergeFrom(other);
479 return this;
480 }
481 }
482
483 public Builder mergeFrom(com.google.ortools.linearsolver.MPQuadraticObjective other) {
484 if (other == com.google.ortools.linearsolver.MPQuadraticObjective.getDefaultInstance()) return this;
485 if (!other.qvar1Index_.isEmpty()) {
486 if (qvar1Index_.isEmpty()) {
487 qvar1Index_ = other.qvar1Index_;
488 qvar1Index_.makeImmutable();
489 bitField0_ |= 0x00000001;
490 } else {
491 ensureQvar1IndexIsMutable();
492 qvar1Index_.addAll(other.qvar1Index_);
493 }
494 onChanged();
495 }
496 if (!other.qvar2Index_.isEmpty()) {
497 if (qvar2Index_.isEmpty()) {
498 qvar2Index_ = other.qvar2Index_;
499 qvar2Index_.makeImmutable();
500 bitField0_ |= 0x00000002;
501 } else {
502 ensureQvar2IndexIsMutable();
503 qvar2Index_.addAll(other.qvar2Index_);
504 }
505 onChanged();
506 }
507 if (!other.coefficient_.isEmpty()) {
508 if (coefficient_.isEmpty()) {
509 coefficient_ = other.coefficient_;
510 coefficient_.makeImmutable();
511 bitField0_ |= 0x00000004;
512 } else {
513 ensureCoefficientIsMutable();
514 coefficient_.addAll(other.coefficient_);
515 }
516 onChanged();
517 }
518 this.mergeUnknownFields(other.getUnknownFields());
519 onChanged();
520 return this;
521 }
522
523 @java.lang.Override
524 public final boolean isInitialized() {
525 return true;
526 }
527
528 @java.lang.Override
530 com.google.protobuf.CodedInputStream input,
531 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
532 throws java.io.IOException {
533 if (extensionRegistry == null) {
534 throw new java.lang.NullPointerException();
535 }
536 try {
537 boolean done = false;
538 while (!done) {
539 int tag = input.readTag();
540 switch (tag) {
541 case 0:
542 done = true;
543 break;
544 case 8: {
545 int v = input.readInt32();
546 ensureQvar1IndexIsMutable();
547 qvar1Index_.addInt(v);
548 break;
549 } // case 8
550 case 10: {
551 int length = input.readRawVarint32();
552 int limit = input.pushLimit(length);
553 ensureQvar1IndexIsMutable();
554 while (input.getBytesUntilLimit() > 0) {
555 qvar1Index_.addInt(input.readInt32());
556 }
557 input.popLimit(limit);
558 break;
559 } // case 10
560 case 16: {
561 int v = input.readInt32();
562 ensureQvar2IndexIsMutable();
563 qvar2Index_.addInt(v);
564 break;
565 } // case 16
566 case 18: {
567 int length = input.readRawVarint32();
568 int limit = input.pushLimit(length);
569 ensureQvar2IndexIsMutable();
570 while (input.getBytesUntilLimit() > 0) {
571 qvar2Index_.addInt(input.readInt32());
572 }
573 input.popLimit(limit);
574 break;
575 } // case 18
576 case 25: {
577 double v = input.readDouble();
578 ensureCoefficientIsMutable();
579 coefficient_.addDouble(v);
580 break;
581 } // case 25
582 case 26: {
583 int length = input.readRawVarint32();
584 int limit = input.pushLimit(length);
585 int alloc = length > 4096 ? 4096 : length;
586 ensureCoefficientIsMutable(alloc / 8);
587 while (input.getBytesUntilLimit() > 0) {
588 coefficient_.addDouble(input.readDouble());
589 }
590 input.popLimit(limit);
591 break;
592 } // case 26
593 default: {
594 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
595 done = true; // was an endgroup tag
596 }
597 break;
598 } // default:
599 } // switch (tag)
600 } // while (!done)
601 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
602 throw e.unwrapIOException();
603 } finally {
604 onChanged();
605 } // finally
606 return this;
607 }
608 private int bitField0_;
609
610 private com.google.protobuf.Internal.IntList qvar1Index_ = emptyIntList();
611 private void ensureQvar1IndexIsMutable() {
612 if (!qvar1Index_.isModifiable()) {
613 qvar1Index_ = makeMutableCopy(qvar1Index_);
614 }
615 bitField0_ |= 0x00000001;
616 }
631 public java.util.List<java.lang.Integer>
633 qvar1Index_.makeImmutable();
634 return qvar1Index_;
635 }
650 public int getQvar1IndexCount() {
651 return qvar1Index_.size();
652 }
668 public int getQvar1Index(int index) {
669 return qvar1Index_.getInt(index);
670 }
688 int index, int value) {
689
690 ensureQvar1IndexIsMutable();
691 qvar1Index_.setInt(index, value);
692 bitField0_ |= 0x00000001;
693 onChanged();
694 return this;
695 }
711 public Builder addQvar1Index(int value) {
712
713 ensureQvar1IndexIsMutable();
714 qvar1Index_.addInt(value);
715 bitField0_ |= 0x00000001;
716 onChanged();
717 return this;
718 }
735 java.lang.Iterable<? extends java.lang.Integer> values) {
736 ensureQvar1IndexIsMutable();
737 com.google.protobuf.AbstractMessageLite.Builder.addAll(
738 values, qvar1Index_);
739 bitField0_ |= 0x00000001;
740 onChanged();
741 return this;
742 }
758 qvar1Index_ = emptyIntList();
759 bitField0_ = (bitField0_ & ~0x00000001);
760 onChanged();
761 return this;
762 }
763
764 private com.google.protobuf.Internal.IntList qvar2Index_ = emptyIntList();
765 private void ensureQvar2IndexIsMutable() {
766 if (!qvar2Index_.isModifiable()) {
767 qvar2Index_ = makeMutableCopy(qvar2Index_);
768 }
769 bitField0_ |= 0x00000002;
770 }
775 public java.util.List<java.lang.Integer>
777 qvar2Index_.makeImmutable();
778 return qvar2Index_;
779 }
784 public int getQvar2IndexCount() {
785 return qvar2Index_.size();
786 }
792 public int getQvar2Index(int index) {
793 return qvar2Index_.getInt(index);
794 }
802 int index, int value) {
803
804 ensureQvar2IndexIsMutable();
805 qvar2Index_.setInt(index, value);
806 bitField0_ |= 0x00000002;
807 onChanged();
808 return this;
809 }
815 public Builder addQvar2Index(int value) {
816
817 ensureQvar2IndexIsMutable();
818 qvar2Index_.addInt(value);
819 bitField0_ |= 0x00000002;
820 onChanged();
821 return this;
822 }
829 java.lang.Iterable<? extends java.lang.Integer> values) {
830 ensureQvar2IndexIsMutable();
831 com.google.protobuf.AbstractMessageLite.Builder.addAll(
832 values, qvar2Index_);
833 bitField0_ |= 0x00000002;
834 onChanged();
835 return this;
836 }
842 qvar2Index_ = emptyIntList();
843 bitField0_ = (bitField0_ & ~0x00000002);
844 onChanged();
845 return this;
846 }
847
848 private com.google.protobuf.Internal.DoubleList coefficient_ = emptyDoubleList();
849 private void ensureCoefficientIsMutable() {
850 if (!coefficient_.isModifiable()) {
851 coefficient_ = makeMutableCopy(coefficient_);
852 }
853 bitField0_ |= 0x00000004;
854 }
855 private void ensureCoefficientIsMutable(int capacity) {
856 if (!coefficient_.isModifiable()) {
857 coefficient_ = makeMutableCopy(coefficient_, capacity);
858 }
859 bitField0_ |= 0x00000004;
860 }
869 public java.util.List<java.lang.Double>
871 coefficient_.makeImmutable();
872 return coefficient_;
873 }
882 public int getCoefficientCount() {
883 return coefficient_.size();
884 }
894 public double getCoefficient(int index) {
895 return coefficient_.getDouble(index);
896 }
908 int index, double value) {
909
910 ensureCoefficientIsMutable();
911 coefficient_.setDouble(index, value);
912 bitField0_ |= 0x00000004;
913 onChanged();
914 return this;
915 }
925 public Builder addCoefficient(double value) {
926
927 ensureCoefficientIsMutable();
928 coefficient_.addDouble(value);
929 bitField0_ |= 0x00000004;
930 onChanged();
931 return this;
932 }
943 java.lang.Iterable<? extends java.lang.Double> values) {
944 ensureCoefficientIsMutable();
945 com.google.protobuf.AbstractMessageLite.Builder.addAll(
946 values, coefficient_);
947 bitField0_ |= 0x00000004;
948 onChanged();
949 return this;
950 }
960 coefficient_ = emptyDoubleList();
961 bitField0_ = (bitField0_ & ~0x00000004);
962 onChanged();
963 return this;
964 }
965
966 // @@protoc_insertion_point(builder_scope:operations_research.MPQuadraticObjective)
967 }
968
969 // @@protoc_insertion_point(class_scope:operations_research.MPQuadraticObjective)
970 private static final com.google.ortools.linearsolver.MPQuadraticObjective DEFAULT_INSTANCE;
971 static {
972 DEFAULT_INSTANCE = new com.google.ortools.linearsolver.MPQuadraticObjective();
973 }
974
976 return DEFAULT_INSTANCE;
977 }
978
979 private static final com.google.protobuf.Parser<MPQuadraticObjective>
980 PARSER = new com.google.protobuf.AbstractParser<MPQuadraticObjective>() {
981 @java.lang.Override
982 public MPQuadraticObjective parsePartialFrom(
983 com.google.protobuf.CodedInputStream input,
984 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
985 throws com.google.protobuf.InvalidProtocolBufferException {
986 Builder builder = newBuilder();
987 try {
988 builder.mergeFrom(input, extensionRegistry);
989 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
990 throw e.setUnfinishedMessage(builder.buildPartial());
991 } catch (com.google.protobuf.UninitializedMessageException e) {
992 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
993 } catch (java.io.IOException e) {
994 throw new com.google.protobuf.InvalidProtocolBufferException(e)
995 .setUnfinishedMessage(builder.buildPartial());
996 }
997 return builder.buildPartial();
998 }
999 };
1000
1001 public static com.google.protobuf.Parser<MPQuadraticObjective> parser() {
1002 return PARSER;
1003 }
1004
1005 @java.lang.Override
1006 public com.google.protobuf.Parser<MPQuadraticObjective> getParserForType() {
1007 return PARSER;
1008 }
1009
1010 @java.lang.Override
1014
1015}
1016
com.google.ortools.linearsolver.MPQuadraticObjective buildPartial()
com.google.ortools.linearsolver.MPQuadraticObjective build()
Builder addAllQvar2Index(java.lang.Iterable<? extends java.lang.Integer > values)
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Builder addAllCoefficient(java.lang.Iterable<? extends java.lang.Double > values)
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.linearsolver.MPQuadraticObjective getDefaultInstanceForType()
Builder mergeFrom(com.google.ortools.linearsolver.MPQuadraticObjective other)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Builder addAllQvar1Index(java.lang.Iterable<? extends java.lang.Integer > values)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
java.util.List< java.lang.Integer > getQvar2IndexList()
static Builder newBuilder(com.google.ortools.linearsolver.MPQuadraticObjective prototype)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
static com.google.ortools.linearsolver.MPQuadraticObjective parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser< MPQuadraticObjective > parser()
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static com.google.ortools.linearsolver.MPQuadraticObjective parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
java.util.List< java.lang.Integer > getQvar1IndexList()
static com.google.ortools.linearsolver.MPQuadraticObjective parseDelimitedFrom(java.io.InputStream input)
static com.google.ortools.linearsolver.MPQuadraticObjective parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.linearsolver.MPQuadraticObjective parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.linearsolver.MPQuadraticObjective parseFrom(com.google.protobuf.ByteString data)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
static com.google.ortools.linearsolver.MPQuadraticObjective parseFrom(com.google.protobuf.CodedInputStream input)
static com.google.ortools.linearsolver.MPQuadraticObjective getDefaultInstance()
com.google.protobuf.Parser< MPQuadraticObjective > getParserForType()
void writeTo(com.google.protobuf.CodedOutputStream output)
static com.google.ortools.linearsolver.MPQuadraticObjective parseFrom(byte[] data)
static com.google.ortools.linearsolver.MPQuadraticObjective parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.linearsolver.MPQuadraticObjective parseFrom(java.nio.ByteBuffer data)
static com.google.ortools.linearsolver.MPQuadraticObjective parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.linearsolver.MPQuadraticObjective getDefaultInstanceForType()
static com.google.ortools.linearsolver.MPQuadraticObjective parseFrom(java.io.InputStream input)