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