Google OR-Tools v9.14
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// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/linear_solver/linear_solver.proto
4// Protobuf Java Version: 4.31.1
5
6package com.google.ortools.linearsolver;
7
19@com.google.protobuf.Generated
20public final class MPQuadraticObjective extends
21 com.google.protobuf.GeneratedMessage implements
22 // @@protoc_insertion_point(message_implements:operations_research.MPQuadraticObjective)
24private static final long serialVersionUID = 0L;
25 static {
26 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
27 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
28 /* major= */ 4,
29 /* minor= */ 31,
30 /* patch= */ 1,
31 /* suffix= */ "",
32 MPQuadraticObjective.class.getName());
33 }
34 // Use MPQuadraticObjective.newBuilder() to construct.
35 private MPQuadraticObjective(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
36 super(builder);
37 }
38 private MPQuadraticObjective() {
39 qvar1Index_ = emptyIntList();
40 qvar2Index_ = emptyIntList();
41 coefficient_ = emptyDoubleList();
42 }
43
44 public static final com.google.protobuf.Descriptors.Descriptor
46 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPQuadraticObjective_descriptor;
47 }
48
49 @java.lang.Override
50 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
52 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPQuadraticObjective_fieldAccessorTable
53 .ensureFieldAccessorsInitialized(
54 com.google.ortools.linearsolver.MPQuadraticObjective.class, com.google.ortools.linearsolver.MPQuadraticObjective.Builder.class);
55 }
56
57 public static final int QVAR1_INDEX_FIELD_NUMBER = 1;
58 @SuppressWarnings("serial")
59 private com.google.protobuf.Internal.IntList qvar1Index_ =
60 emptyIntList();
75 @java.lang.Override
76 public java.util.List<java.lang.Integer>
78 return qvar1Index_;
79 }
80
94 public int getQvar1IndexCount() {
95 return qvar1Index_.size();
96 }
97
112 public int getQvar1Index(int index) {
113 return qvar1Index_.getInt(index);
114 }
115
116 public static final int QVAR2_INDEX_FIELD_NUMBER = 2;
117 @SuppressWarnings("serial")
118 private com.google.protobuf.Internal.IntList qvar2Index_ =
119 emptyIntList();
124 @java.lang.Override
125 public java.util.List<java.lang.Integer>
127 return qvar2Index_;
128 }
129
133 public int getQvar2IndexCount() {
134 return qvar2Index_.size();
135 }
136
141 public int getQvar2Index(int index) {
142 return qvar2Index_.getInt(index);
143 }
144
145 public static final int COEFFICIENT_FIELD_NUMBER = 3;
146 @SuppressWarnings("serial")
147 private com.google.protobuf.Internal.DoubleList coefficient_ =
148 emptyDoubleList();
157 @java.lang.Override
158 public java.util.List<java.lang.Double>
160 return coefficient_;
161 }
162
170 public int getCoefficientCount() {
171 return coefficient_.size();
172 }
173
182 public double getCoefficient(int index) {
183 return coefficient_.getDouble(index);
184 }
185
186 private byte memoizedIsInitialized = -1;
187 @java.lang.Override
188 public final boolean isInitialized() {
189 byte isInitialized = memoizedIsInitialized;
190 if (isInitialized == 1) return true;
191 if (isInitialized == 0) return false;
192
193 memoizedIsInitialized = 1;
194 return true;
195 }
196
197 @java.lang.Override
198 public void writeTo(com.google.protobuf.CodedOutputStream output)
199 throws java.io.IOException {
200 for (int i = 0; i < qvar1Index_.size(); i++) {
201 output.writeInt32(1, qvar1Index_.getInt(i));
202 }
203 for (int i = 0; i < qvar2Index_.size(); i++) {
204 output.writeInt32(2, qvar2Index_.getInt(i));
205 }
206 for (int i = 0; i < coefficient_.size(); i++) {
207 output.writeDouble(3, coefficient_.getDouble(i));
208 }
209 getUnknownFields().writeTo(output);
210 }
211
212 @java.lang.Override
213 public int getSerializedSize() {
214 int size = memoizedSize;
215 if (size != -1) return size;
216
217 size = 0;
218 {
219 int dataSize = 0;
220 for (int i = 0; i < qvar1Index_.size(); i++) {
221 dataSize += com.google.protobuf.CodedOutputStream
222 .computeInt32SizeNoTag(qvar1Index_.getInt(i));
223 }
224 size += dataSize;
225 size += 1 * getQvar1IndexList().size();
226 }
227 {
228 int dataSize = 0;
229 for (int i = 0; i < qvar2Index_.size(); i++) {
230 dataSize += com.google.protobuf.CodedOutputStream
231 .computeInt32SizeNoTag(qvar2Index_.getInt(i));
232 }
233 size += dataSize;
234 size += 1 * getQvar2IndexList().size();
235 }
236 {
237 int dataSize = 0;
238 dataSize = 8 * getCoefficientList().size();
239 size += dataSize;
240 size += 1 * getCoefficientList().size();
241 }
242 size += getUnknownFields().getSerializedSize();
243 memoizedSize = size;
244 return size;
245 }
246
247 @java.lang.Override
248 public boolean equals(final java.lang.Object obj) {
249 if (obj == this) {
250 return true;
251 }
252 if (!(obj instanceof com.google.ortools.linearsolver.MPQuadraticObjective)) {
253 return super.equals(obj);
254 }
255 com.google.ortools.linearsolver.MPQuadraticObjective other = (com.google.ortools.linearsolver.MPQuadraticObjective) obj;
256
257 if (!getQvar1IndexList()
258 .equals(other.getQvar1IndexList())) return false;
259 if (!getQvar2IndexList()
260 .equals(other.getQvar2IndexList())) return false;
261 if (!getCoefficientList()
262 .equals(other.getCoefficientList())) return false;
263 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
264 return true;
265 }
266
267 @java.lang.Override
268 public int hashCode() {
269 if (memoizedHashCode != 0) {
270 return memoizedHashCode;
271 }
272 int hash = 41;
273 hash = (19 * hash) + getDescriptor().hashCode();
274 if (getQvar1IndexCount() > 0) {
275 hash = (37 * hash) + QVAR1_INDEX_FIELD_NUMBER;
276 hash = (53 * hash) + getQvar1IndexList().hashCode();
277 }
278 if (getQvar2IndexCount() > 0) {
279 hash = (37 * hash) + QVAR2_INDEX_FIELD_NUMBER;
280 hash = (53 * hash) + getQvar2IndexList().hashCode();
281 }
282 if (getCoefficientCount() > 0) {
283 hash = (37 * hash) + COEFFICIENT_FIELD_NUMBER;
284 hash = (53 * hash) + getCoefficientList().hashCode();
285 }
286 hash = (29 * hash) + getUnknownFields().hashCode();
287 memoizedHashCode = hash;
288 return hash;
289 }
290
292 java.nio.ByteBuffer data)
293 throws com.google.protobuf.InvalidProtocolBufferException {
294 return PARSER.parseFrom(data);
295 }
297 java.nio.ByteBuffer data,
298 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
299 throws com.google.protobuf.InvalidProtocolBufferException {
300 return PARSER.parseFrom(data, extensionRegistry);
301 }
303 com.google.protobuf.ByteString data)
304 throws com.google.protobuf.InvalidProtocolBufferException {
305 return PARSER.parseFrom(data);
306 }
308 com.google.protobuf.ByteString data,
309 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
310 throws com.google.protobuf.InvalidProtocolBufferException {
311 return PARSER.parseFrom(data, extensionRegistry);
312 }
314 throws com.google.protobuf.InvalidProtocolBufferException {
315 return PARSER.parseFrom(data);
316 }
318 byte[] data,
319 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
320 throws com.google.protobuf.InvalidProtocolBufferException {
321 return PARSER.parseFrom(data, extensionRegistry);
322 }
324 throws java.io.IOException {
325 return com.google.protobuf.GeneratedMessage
326 .parseWithIOException(PARSER, input);
327 }
329 java.io.InputStream input,
330 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
331 throws java.io.IOException {
332 return com.google.protobuf.GeneratedMessage
333 .parseWithIOException(PARSER, input, extensionRegistry);
334 }
335
337 throws java.io.IOException {
338 return com.google.protobuf.GeneratedMessage
339 .parseDelimitedWithIOException(PARSER, input);
340 }
341
343 java.io.InputStream input,
344 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
345 throws java.io.IOException {
346 return com.google.protobuf.GeneratedMessage
347 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
348 }
350 com.google.protobuf.CodedInputStream input)
351 throws java.io.IOException {
352 return com.google.protobuf.GeneratedMessage
353 .parseWithIOException(PARSER, input);
354 }
356 com.google.protobuf.CodedInputStream input,
357 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
358 throws java.io.IOException {
359 return com.google.protobuf.GeneratedMessage
360 .parseWithIOException(PARSER, input, extensionRegistry);
361 }
362
363 @java.lang.Override
364 public Builder newBuilderForType() { return newBuilder(); }
365 public static Builder newBuilder() {
366 return DEFAULT_INSTANCE.toBuilder();
367 }
368 public static Builder newBuilder(com.google.ortools.linearsolver.MPQuadraticObjective prototype) {
369 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
370 }
371 @java.lang.Override
373 return this == DEFAULT_INSTANCE
374 ? new Builder() : new Builder().mergeFrom(this);
375 }
376
377 @java.lang.Override
379 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
380 Builder builder = new Builder(parent);
381 return builder;
382 }
383
394 public static final class Builder extends
395 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
396 // @@protoc_insertion_point(builder_implements:operations_research.MPQuadraticObjective)
398 public static final com.google.protobuf.Descriptors.Descriptor
400 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPQuadraticObjective_descriptor;
401 }
402
403 @java.lang.Override
404 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
406 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPQuadraticObjective_fieldAccessorTable
407 .ensureFieldAccessorsInitialized(
408 com.google.ortools.linearsolver.MPQuadraticObjective.class, com.google.ortools.linearsolver.MPQuadraticObjective.Builder.class);
409 }
410
411 // Construct using com.google.ortools.linearsolver.MPQuadraticObjective.newBuilder()
412 private Builder() {
413
414 }
415
416 private Builder(
417 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
418 super(parent);
419
420 }
421 @java.lang.Override
422 public Builder clear() {
423 super.clear();
424 bitField0_ = 0;
425 qvar1Index_ = emptyIntList();
426 qvar2Index_ = emptyIntList();
427 coefficient_ = emptyDoubleList();
428 return this;
429 }
430
431 @java.lang.Override
432 public com.google.protobuf.Descriptors.Descriptor
434 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPQuadraticObjective_descriptor;
435 }
436
437 @java.lang.Override
439 return com.google.ortools.linearsolver.MPQuadraticObjective.getDefaultInstance();
440 }
441
442 @java.lang.Override
445 if (!result.isInitialized()) {
446 throw newUninitializedMessageException(result);
447 }
448 return result;
449 }
450
451 @java.lang.Override
453 com.google.ortools.linearsolver.MPQuadraticObjective result = new com.google.ortools.linearsolver.MPQuadraticObjective(this);
454 if (bitField0_ != 0) { buildPartial0(result); }
455 onBuilt();
456 return result;
457 }
458
459 private void buildPartial0(com.google.ortools.linearsolver.MPQuadraticObjective result) {
460 int from_bitField0_ = bitField0_;
461 if (((from_bitField0_ & 0x00000001) != 0)) {
462 qvar1Index_.makeImmutable();
463 result.qvar1Index_ = qvar1Index_;
464 }
465 if (((from_bitField0_ & 0x00000002) != 0)) {
466 qvar2Index_.makeImmutable();
467 result.qvar2Index_ = qvar2Index_;
468 }
469 if (((from_bitField0_ & 0x00000004) != 0)) {
470 coefficient_.makeImmutable();
471 result.coefficient_ = coefficient_;
472 }
473 }
474
475 @java.lang.Override
476 public Builder mergeFrom(com.google.protobuf.Message other) {
477 if (other instanceof com.google.ortools.linearsolver.MPQuadraticObjective) {
478 return mergeFrom((com.google.ortools.linearsolver.MPQuadraticObjective)other);
479 } else {
480 super.mergeFrom(other);
481 return this;
482 }
483 }
484
485 public Builder mergeFrom(com.google.ortools.linearsolver.MPQuadraticObjective other) {
486 if (other == com.google.ortools.linearsolver.MPQuadraticObjective.getDefaultInstance()) return this;
487 if (!other.qvar1Index_.isEmpty()) {
488 if (qvar1Index_.isEmpty()) {
489 qvar1Index_ = other.qvar1Index_;
490 qvar1Index_.makeImmutable();
491 bitField0_ |= 0x00000001;
492 } else {
493 ensureQvar1IndexIsMutable();
494 qvar1Index_.addAll(other.qvar1Index_);
495 }
496 onChanged();
497 }
498 if (!other.qvar2Index_.isEmpty()) {
499 if (qvar2Index_.isEmpty()) {
500 qvar2Index_ = other.qvar2Index_;
501 qvar2Index_.makeImmutable();
502 bitField0_ |= 0x00000002;
503 } else {
504 ensureQvar2IndexIsMutable();
505 qvar2Index_.addAll(other.qvar2Index_);
506 }
507 onChanged();
508 }
509 if (!other.coefficient_.isEmpty()) {
510 if (coefficient_.isEmpty()) {
511 coefficient_ = other.coefficient_;
512 coefficient_.makeImmutable();
513 bitField0_ |= 0x00000004;
514 } else {
515 ensureCoefficientIsMutable();
516 coefficient_.addAll(other.coefficient_);
517 }
518 onChanged();
519 }
520 this.mergeUnknownFields(other.getUnknownFields());
521 onChanged();
522 return this;
523 }
524
525 @java.lang.Override
526 public final boolean isInitialized() {
527 return true;
528 }
529
530 @java.lang.Override
531 public Builder mergeFrom(
532 com.google.protobuf.CodedInputStream input,
533 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
534 throws java.io.IOException {
535 if (extensionRegistry == null) {
536 throw new java.lang.NullPointerException();
537 }
538 try {
539 boolean done = false;
540 while (!done) {
541 int tag = input.readTag();
542 switch (tag) {
543 case 0:
544 done = true;
545 break;
546 case 8: {
547 int v = input.readInt32();
548 ensureQvar1IndexIsMutable();
549 qvar1Index_.addInt(v);
550 break;
551 } // case 8
552 case 10: {
553 int length = input.readRawVarint32();
554 int limit = input.pushLimit(length);
555 ensureQvar1IndexIsMutable();
556 while (input.getBytesUntilLimit() > 0) {
557 qvar1Index_.addInt(input.readInt32());
558 }
559 input.popLimit(limit);
560 break;
561 } // case 10
562 case 16: {
563 int v = input.readInt32();
564 ensureQvar2IndexIsMutable();
565 qvar2Index_.addInt(v);
566 break;
567 } // case 16
568 case 18: {
569 int length = input.readRawVarint32();
570 int limit = input.pushLimit(length);
571 ensureQvar2IndexIsMutable();
572 while (input.getBytesUntilLimit() > 0) {
573 qvar2Index_.addInt(input.readInt32());
574 }
575 input.popLimit(limit);
576 break;
577 } // case 18
578 case 25: {
579 double v = input.readDouble();
580 ensureCoefficientIsMutable();
581 coefficient_.addDouble(v);
582 break;
583 } // case 25
584 case 26: {
585 int length = input.readRawVarint32();
586 int limit = input.pushLimit(length);
587 int alloc = length > 4096 ? 4096 : length;
588 ensureCoefficientIsMutable(alloc / 8);
589 while (input.getBytesUntilLimit() > 0) {
590 coefficient_.addDouble(input.readDouble());
591 }
592 input.popLimit(limit);
593 break;
594 } // case 26
595 default: {
596 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
597 done = true; // was an endgroup tag
598 }
599 break;
600 } // default:
601 } // switch (tag)
602 } // while (!done)
603 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
604 throw e.unwrapIOException();
605 } finally {
606 onChanged();
607 } // finally
608 return this;
609 }
610 private int bitField0_;
611
612 private com.google.protobuf.Internal.IntList qvar1Index_ = emptyIntList();
613 private void ensureQvar1IndexIsMutable() {
614 if (!qvar1Index_.isModifiable()) {
615 qvar1Index_ = makeMutableCopy(qvar1Index_);
616 }
617 bitField0_ |= 0x00000001;
618 }
633 public java.util.List<java.lang.Integer>
635 qvar1Index_.makeImmutable();
636 return qvar1Index_;
637 }
638
652 public int getQvar1IndexCount() {
653 return qvar1Index_.size();
654 }
655
670 public int getQvar1Index(int index) {
671 return qvar1Index_.getInt(index);
672 }
673
689 public Builder setQvar1Index(
690 int index, int value) {
691
692 ensureQvar1IndexIsMutable();
693 qvar1Index_.setInt(index, value);
694 bitField0_ |= 0x00000001;
695 onChanged();
696 return this;
697 }
698
713 public Builder addQvar1Index(int value) {
714
715 ensureQvar1IndexIsMutable();
716 qvar1Index_.addInt(value);
717 bitField0_ |= 0x00000001;
718 onChanged();
719 return this;
720 }
721
736 public Builder addAllQvar1Index(
737 java.lang.Iterable<? extends java.lang.Integer> values) {
738 ensureQvar1IndexIsMutable();
739 com.google.protobuf.AbstractMessageLite.Builder.addAll(
740 values, qvar1Index_);
741 bitField0_ |= 0x00000001;
742 onChanged();
743 return this;
744 }
745
759 public Builder clearQvar1Index() {
760 qvar1Index_ = emptyIntList();
761 bitField0_ = (bitField0_ & ~0x00000001);
762 onChanged();
763 return this;
764 }
765
766 private com.google.protobuf.Internal.IntList qvar2Index_ = emptyIntList();
767 private void ensureQvar2IndexIsMutable() {
768 if (!qvar2Index_.isModifiable()) {
769 qvar2Index_ = makeMutableCopy(qvar2Index_);
770 }
771 bitField0_ |= 0x00000002;
772 }
777 public java.util.List<java.lang.Integer>
779 qvar2Index_.makeImmutable();
780 return qvar2Index_;
781 }
782
786 public int getQvar2IndexCount() {
787 return qvar2Index_.size();
788 }
789
794 public int getQvar2Index(int index) {
795 return qvar2Index_.getInt(index);
796 }
797
803 public Builder setQvar2Index(
804 int index, int value) {
805
806 ensureQvar2IndexIsMutable();
807 qvar2Index_.setInt(index, value);
808 bitField0_ |= 0x00000002;
809 onChanged();
810 return this;
811 }
812
817 public Builder addQvar2Index(int value) {
818
819 ensureQvar2IndexIsMutable();
820 qvar2Index_.addInt(value);
821 bitField0_ |= 0x00000002;
822 onChanged();
823 return this;
824 }
825
830 public Builder addAllQvar2Index(
831 java.lang.Iterable<? extends java.lang.Integer> values) {
832 ensureQvar2IndexIsMutable();
833 com.google.protobuf.AbstractMessageLite.Builder.addAll(
834 values, qvar2Index_);
835 bitField0_ |= 0x00000002;
836 onChanged();
837 return this;
838 }
839
843 public Builder clearQvar2Index() {
844 qvar2Index_ = emptyIntList();
845 bitField0_ = (bitField0_ & ~0x00000002);
846 onChanged();
847 return this;
848 }
849
850 private com.google.protobuf.Internal.DoubleList coefficient_ = emptyDoubleList();
851 private void ensureCoefficientIsMutable() {
852 if (!coefficient_.isModifiable()) {
853 coefficient_ = makeMutableCopy(coefficient_);
854 }
855 bitField0_ |= 0x00000004;
856 }
857 private void ensureCoefficientIsMutable(int capacity) {
858 if (!coefficient_.isModifiable()) {
859 coefficient_ = makeMutableCopy(coefficient_, capacity);
860 }
861 bitField0_ |= 0x00000004;
862 }
871 public java.util.List<java.lang.Double>
873 coefficient_.makeImmutable();
874 return coefficient_;
875 }
876
884 public int getCoefficientCount() {
885 return coefficient_.size();
886 }
887
896 public double getCoefficient(int index) {
897 return coefficient_.getDouble(index);
898 }
899
909 public Builder setCoefficient(
910 int index, double value) {
911
912 ensureCoefficientIsMutable();
913 coefficient_.setDouble(index, value);
914 bitField0_ |= 0x00000004;
915 onChanged();
916 return this;
917 }
918
927 public Builder addCoefficient(double value) {
928
929 ensureCoefficientIsMutable();
930 coefficient_.addDouble(value);
931 bitField0_ |= 0x00000004;
932 onChanged();
933 return this;
934 }
935
944 public Builder addAllCoefficient(
945 java.lang.Iterable<? extends java.lang.Double> values) {
946 ensureCoefficientIsMutable();
947 com.google.protobuf.AbstractMessageLite.Builder.addAll(
948 values, coefficient_);
949 bitField0_ |= 0x00000004;
950 onChanged();
951 return this;
952 }
953
961 public Builder clearCoefficient() {
962 coefficient_ = emptyDoubleList();
963 bitField0_ = (bitField0_ & ~0x00000004);
964 onChanged();
965 return this;
966 }
967
968 // @@protoc_insertion_point(builder_scope:operations_research.MPQuadraticObjective)
969 }
970
971 // @@protoc_insertion_point(class_scope:operations_research.MPQuadraticObjective)
972 private static final com.google.ortools.linearsolver.MPQuadraticObjective DEFAULT_INSTANCE;
973 static {
974 DEFAULT_INSTANCE = new com.google.ortools.linearsolver.MPQuadraticObjective();
975 }
976
978 return DEFAULT_INSTANCE;
979 }
980
981 private static final com.google.protobuf.Parser<MPQuadraticObjective>
982 PARSER = new com.google.protobuf.AbstractParser<MPQuadraticObjective>() {
983 @java.lang.Override
984 public MPQuadraticObjective parsePartialFrom(
985 com.google.protobuf.CodedInputStream input,
986 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
987 throws com.google.protobuf.InvalidProtocolBufferException {
988 Builder builder = newBuilder();
989 try {
990 builder.mergeFrom(input, extensionRegistry);
991 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
992 throw e.setUnfinishedMessage(builder.buildPartial());
993 } catch (com.google.protobuf.UninitializedMessageException e) {
994 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
995 } catch (java.io.IOException e) {
996 throw new com.google.protobuf.InvalidProtocolBufferException(e)
997 .setUnfinishedMessage(builder.buildPartial());
998 }
999 return builder.buildPartial();
1000 }
1001 };
1002
1003 public static com.google.protobuf.Parser<MPQuadraticObjective> parser() {
1004 return PARSER;
1005 }
1006
1007 @java.lang.Override
1008 public com.google.protobuf.Parser<MPQuadraticObjective> getParserForType() {
1009 return PARSER;
1010 }
1011
1012 @java.lang.Override
1016
1017}
1018
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)