Java Reference

Java Reference

MPArrayWithConstantConstraint.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
4package com.google.ortools.linearsolver;
5
14public final class MPArrayWithConstantConstraint extends
15 com.google.protobuf.GeneratedMessageV3 implements
16 // @@protoc_insertion_point(message_implements:operations_research.MPArrayWithConstantConstraint)
18private static final long serialVersionUID = 0L;
19 // Use MPArrayWithConstantConstraint.newBuilder() to construct.
20 private MPArrayWithConstantConstraint(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
21 super(builder);
22 }
24 varIndex_ = emptyIntList();
25 }
26
27 @java.lang.Override
28 @SuppressWarnings({"unused"})
29 protected java.lang.Object newInstance(
30 UnusedPrivateParameter unused) {
32 }
33
34 @java.lang.Override
35 public final com.google.protobuf.UnknownFieldSet
37 return this.unknownFields;
38 }
40 com.google.protobuf.CodedInputStream input,
41 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
42 throws com.google.protobuf.InvalidProtocolBufferException {
43 this();
44 if (extensionRegistry == null) {
45 throw new java.lang.NullPointerException();
46 }
47 int mutable_bitField0_ = 0;
48 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
49 com.google.protobuf.UnknownFieldSet.newBuilder();
50 try {
51 boolean done = false;
52 while (!done) {
53 int tag = input.readTag();
54 switch (tag) {
55 case 0:
56 done = true;
57 break;
58 case 8: {
59 if (!((mutable_bitField0_ & 0x00000001) != 0)) {
60 varIndex_ = newIntList();
61 mutable_bitField0_ |= 0x00000001;
62 }
63 varIndex_.addInt(input.readInt32());
64 break;
65 }
66 case 10: {
67 int length = input.readRawVarint32();
68 int limit = input.pushLimit(length);
69 if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
70 varIndex_ = newIntList();
71 mutable_bitField0_ |= 0x00000001;
72 }
73 while (input.getBytesUntilLimit() > 0) {
74 varIndex_.addInt(input.readInt32());
75 }
76 input.popLimit(limit);
77 break;
78 }
79 case 17: {
80 bitField0_ |= 0x00000001;
81 constant_ = input.readDouble();
82 break;
83 }
84 case 24: {
85 bitField0_ |= 0x00000002;
86 resultantVarIndex_ = input.readInt32();
87 break;
88 }
89 default: {
90 if (!parseUnknownField(
91 input, unknownFields, extensionRegistry, tag)) {
92 done = true;
93 }
94 break;
95 }
96 }
97 }
98 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
99 throw e.setUnfinishedMessage(this);
100 } catch (java.io.IOException e) {
101 throw new com.google.protobuf.InvalidProtocolBufferException(
102 e).setUnfinishedMessage(this);
103 } finally {
104 if (((mutable_bitField0_ & 0x00000001) != 0)) {
105 varIndex_.makeImmutable(); // C
106 }
107 this.unknownFields = unknownFields.build();
108 makeExtensionsImmutable();
109 }
110 }
111 public static final com.google.protobuf.Descriptors.Descriptor
113 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPArrayWithConstantConstraint_descriptor;
114 }
115
116 @java.lang.Override
117 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
119 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPArrayWithConstantConstraint_fieldAccessorTable
120 .ensureFieldAccessorsInitialized(
121 com.google.ortools.linearsolver.MPArrayWithConstantConstraint.class, com.google.ortools.linearsolver.MPArrayWithConstantConstraint.Builder.class);
122 }
123
124 private int bitField0_;
125 public static final int VAR_INDEX_FIELD_NUMBER = 1;
126 private com.google.protobuf.Internal.IntList varIndex_;
136 @java.lang.Override
137 public java.util.List<java.lang.Integer>
139 return varIndex_;
140 }
150 public int getVarIndexCount() {
151 return varIndex_.size();
152 }
163 public int getVarIndex(int index) {
164 return varIndex_.getInt(index);
165 }
166
167 public static final int CONSTANT_FIELD_NUMBER = 2;
168 private double constant_;
173 @java.lang.Override
174 public boolean hasConstant() {
175 return ((bitField0_ & 0x00000001) != 0);
176 }
181 @java.lang.Override
182 public double getConstant() {
183 return constant_;
184 }
185
186 public static final int RESULTANT_VAR_INDEX_FIELD_NUMBER = 3;
187 private int resultantVarIndex_;
192 @java.lang.Override
193 public boolean hasResultantVarIndex() {
194 return ((bitField0_ & 0x00000002) != 0);
195 }
200 @java.lang.Override
201 public int getResultantVarIndex() {
202 return resultantVarIndex_;
203 }
204
205 private byte memoizedIsInitialized = -1;
206 @java.lang.Override
207 public final boolean isInitialized() {
208 byte isInitialized = memoizedIsInitialized;
209 if (isInitialized == 1) return true;
210 if (isInitialized == 0) return false;
211
212 memoizedIsInitialized = 1;
213 return true;
214 }
215
216 @java.lang.Override
217 public void writeTo(com.google.protobuf.CodedOutputStream output)
218 throws java.io.IOException {
219 for (int i = 0; i < varIndex_.size(); i++) {
220 output.writeInt32(1, varIndex_.getInt(i));
221 }
222 if (((bitField0_ & 0x00000001) != 0)) {
223 output.writeDouble(2, constant_);
224 }
225 if (((bitField0_ & 0x00000002) != 0)) {
226 output.writeInt32(3, resultantVarIndex_);
227 }
228 unknownFields.writeTo(output);
229 }
230
231 @java.lang.Override
232 public int getSerializedSize() {
233 int size = memoizedSize;
234 if (size != -1) return size;
235
236 size = 0;
237 {
238 int dataSize = 0;
239 for (int i = 0; i < varIndex_.size(); i++) {
240 dataSize += com.google.protobuf.CodedOutputStream
241 .computeInt32SizeNoTag(varIndex_.getInt(i));
242 }
243 size += dataSize;
244 size += 1 * getVarIndexList().size();
245 }
246 if (((bitField0_ & 0x00000001) != 0)) {
247 size += com.google.protobuf.CodedOutputStream
248 .computeDoubleSize(2, constant_);
249 }
250 if (((bitField0_ & 0x00000002) != 0)) {
251 size += com.google.protobuf.CodedOutputStream
252 .computeInt32Size(3, resultantVarIndex_);
253 }
254 size += unknownFields.getSerializedSize();
255 memoizedSize = size;
256 return size;
257 }
258
259 @java.lang.Override
260 public boolean equals(final java.lang.Object obj) {
261 if (obj == this) {
262 return true;
263 }
264 if (!(obj instanceof com.google.ortools.linearsolver.MPArrayWithConstantConstraint)) {
265 return super.equals(obj);
266 }
267 com.google.ortools.linearsolver.MPArrayWithConstantConstraint other = (com.google.ortools.linearsolver.MPArrayWithConstantConstraint) obj;
268
269 if (!getVarIndexList()
270 .equals(other.getVarIndexList())) return false;
271 if (hasConstant() != other.hasConstant()) return false;
272 if (hasConstant()) {
273 if (java.lang.Double.doubleToLongBits(getConstant())
274 != java.lang.Double.doubleToLongBits(
275 other.getConstant())) return false;
276 }
277 if (hasResultantVarIndex() != other.hasResultantVarIndex()) return false;
278 if (hasResultantVarIndex()) {
280 != other.getResultantVarIndex()) return false;
281 }
282 if (!unknownFields.equals(other.unknownFields)) return false;
283 return true;
284 }
285
286 @java.lang.Override
287 public int hashCode() {
288 if (memoizedHashCode != 0) {
289 return memoizedHashCode;
290 }
291 int hash = 41;
292 hash = (19 * hash) + getDescriptor().hashCode();
293 if (getVarIndexCount() > 0) {
294 hash = (37 * hash) + VAR_INDEX_FIELD_NUMBER;
295 hash = (53 * hash) + getVarIndexList().hashCode();
296 }
297 if (hasConstant()) {
298 hash = (37 * hash) + CONSTANT_FIELD_NUMBER;
299 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
300 java.lang.Double.doubleToLongBits(getConstant()));
301 }
302 if (hasResultantVarIndex()) {
303 hash = (37 * hash) + RESULTANT_VAR_INDEX_FIELD_NUMBER;
304 hash = (53 * hash) + getResultantVarIndex();
305 }
306 hash = (29 * hash) + unknownFields.hashCode();
307 memoizedHashCode = hash;
308 return hash;
309 }
310
311 public static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(
312 java.nio.ByteBuffer data)
313 throws com.google.protobuf.InvalidProtocolBufferException {
314 return PARSER.parseFrom(data);
315 }
316 public static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(
317 java.nio.ByteBuffer data,
318 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
319 throws com.google.protobuf.InvalidProtocolBufferException {
320 return PARSER.parseFrom(data, extensionRegistry);
321 }
322 public static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(
323 com.google.protobuf.ByteString data)
324 throws com.google.protobuf.InvalidProtocolBufferException {
325 return PARSER.parseFrom(data);
326 }
327 public static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(
328 com.google.protobuf.ByteString data,
329 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
330 throws com.google.protobuf.InvalidProtocolBufferException {
331 return PARSER.parseFrom(data, extensionRegistry);
332 }
333 public static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(byte[] data)
334 throws com.google.protobuf.InvalidProtocolBufferException {
335 return PARSER.parseFrom(data);
336 }
337 public static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(
338 byte[] data,
339 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
340 throws com.google.protobuf.InvalidProtocolBufferException {
341 return PARSER.parseFrom(data, extensionRegistry);
342 }
343 public static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(java.io.InputStream input)
344 throws java.io.IOException {
345 return com.google.protobuf.GeneratedMessageV3
346 .parseWithIOException(PARSER, input);
347 }
348 public static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(
349 java.io.InputStream input,
350 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
351 throws java.io.IOException {
352 return com.google.protobuf.GeneratedMessageV3
353 .parseWithIOException(PARSER, input, extensionRegistry);
354 }
355 public static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseDelimitedFrom(java.io.InputStream input)
356 throws java.io.IOException {
357 return com.google.protobuf.GeneratedMessageV3
358 .parseDelimitedWithIOException(PARSER, input);
359 }
360 public static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseDelimitedFrom(
361 java.io.InputStream input,
362 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
363 throws java.io.IOException {
364 return com.google.protobuf.GeneratedMessageV3
365 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
366 }
367 public static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(
368 com.google.protobuf.CodedInputStream input)
369 throws java.io.IOException {
370 return com.google.protobuf.GeneratedMessageV3
371 .parseWithIOException(PARSER, input);
372 }
373 public static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(
374 com.google.protobuf.CodedInputStream input,
375 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
376 throws java.io.IOException {
377 return com.google.protobuf.GeneratedMessageV3
378 .parseWithIOException(PARSER, input, extensionRegistry);
379 }
380
381 @java.lang.Override
382 public Builder newBuilderForType() { return newBuilder(); }
383 public static Builder newBuilder() {
384 return DEFAULT_INSTANCE.toBuilder();
385 }
386 public static Builder newBuilder(com.google.ortools.linearsolver.MPArrayWithConstantConstraint prototype) {
387 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
388 }
389 @java.lang.Override
391 return this == DEFAULT_INSTANCE
392 ? new Builder() : new Builder().mergeFrom(this);
393 }
394
395 @java.lang.Override
397 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
398 Builder builder = new Builder(parent);
399 return builder;
400 }
409 public static final class Builder extends
410 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
411 // @@protoc_insertion_point(builder_implements:operations_research.MPArrayWithConstantConstraint)
412 com.google.ortools.linearsolver.MPArrayWithConstantConstraintOrBuilder {
413 public static final com.google.protobuf.Descriptors.Descriptor
415 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPArrayWithConstantConstraint_descriptor;
416 }
417
418 @java.lang.Override
419 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
421 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPArrayWithConstantConstraint_fieldAccessorTable
422 .ensureFieldAccessorsInitialized(
423 com.google.ortools.linearsolver.MPArrayWithConstantConstraint.class, com.google.ortools.linearsolver.MPArrayWithConstantConstraint.Builder.class);
424 }
425
426 // Construct using com.google.ortools.linearsolver.MPArrayWithConstantConstraint.newBuilder()
427 private Builder() {
428 maybeForceBuilderInitialization();
429 }
430
431 private Builder(
432 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
433 super(parent);
434 maybeForceBuilderInitialization();
435 }
436 private void maybeForceBuilderInitialization() {
437 if (com.google.protobuf.GeneratedMessageV3
438 .alwaysUseFieldBuilders) {
439 }
440 }
441 @java.lang.Override
442 public Builder clear() {
443 super.clear();
444 varIndex_ = emptyIntList();
445 bitField0_ = (bitField0_ & ~0x00000001);
446 constant_ = 0D;
447 bitField0_ = (bitField0_ & ~0x00000002);
448 resultantVarIndex_ = 0;
449 bitField0_ = (bitField0_ & ~0x00000004);
450 return this;
451 }
452
453 @java.lang.Override
454 public com.google.protobuf.Descriptors.Descriptor
456 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPArrayWithConstantConstraint_descriptor;
457 }
458
459 @java.lang.Override
460 public com.google.ortools.linearsolver.MPArrayWithConstantConstraint getDefaultInstanceForType() {
461 return com.google.ortools.linearsolver.MPArrayWithConstantConstraint.getDefaultInstance();
462 }
463
464 @java.lang.Override
465 public com.google.ortools.linearsolver.MPArrayWithConstantConstraint build() {
466 com.google.ortools.linearsolver.MPArrayWithConstantConstraint result = buildPartial();
467 if (!result.isInitialized()) {
468 throw newUninitializedMessageException(result);
469 }
470 return result;
471 }
472
473 @java.lang.Override
474 public com.google.ortools.linearsolver.MPArrayWithConstantConstraint buildPartial() {
475 com.google.ortools.linearsolver.MPArrayWithConstantConstraint result = new com.google.ortools.linearsolver.MPArrayWithConstantConstraint(this);
476 int from_bitField0_ = bitField0_;
477 int to_bitField0_ = 0;
478 if (((bitField0_ & 0x00000001) != 0)) {
479 varIndex_.makeImmutable();
480 bitField0_ = (bitField0_ & ~0x00000001);
481 }
482 result.varIndex_ = varIndex_;
483 if (((from_bitField0_ & 0x00000002) != 0)) {
484 result.constant_ = constant_;
485 to_bitField0_ |= 0x00000001;
486 }
487 if (((from_bitField0_ & 0x00000004) != 0)) {
488 result.resultantVarIndex_ = resultantVarIndex_;
489 to_bitField0_ |= 0x00000002;
490 }
491 result.bitField0_ = to_bitField0_;
492 onBuilt();
493 return result;
494 }
495
496 @java.lang.Override
497 public Builder clone() {
498 return super.clone();
499 }
500 @java.lang.Override
502 com.google.protobuf.Descriptors.FieldDescriptor field,
503 java.lang.Object value) {
504 return super.setField(field, value);
505 }
506 @java.lang.Override
508 com.google.protobuf.Descriptors.FieldDescriptor field) {
509 return super.clearField(field);
510 }
511 @java.lang.Override
513 com.google.protobuf.Descriptors.OneofDescriptor oneof) {
514 return super.clearOneof(oneof);
515 }
516 @java.lang.Override
518 com.google.protobuf.Descriptors.FieldDescriptor field,
519 int index, java.lang.Object value) {
520 return super.setRepeatedField(field, index, value);
521 }
522 @java.lang.Override
524 com.google.protobuf.Descriptors.FieldDescriptor field,
525 java.lang.Object value) {
526 return super.addRepeatedField(field, value);
527 }
528 @java.lang.Override
529 public Builder mergeFrom(com.google.protobuf.Message other) {
530 if (other instanceof com.google.ortools.linearsolver.MPArrayWithConstantConstraint) {
531 return mergeFrom((com.google.ortools.linearsolver.MPArrayWithConstantConstraint)other);
532 } else {
533 super.mergeFrom(other);
534 return this;
535 }
536 }
537
538 public Builder mergeFrom(com.google.ortools.linearsolver.MPArrayWithConstantConstraint other) {
539 if (other == com.google.ortools.linearsolver.MPArrayWithConstantConstraint.getDefaultInstance()) return this;
540 if (!other.varIndex_.isEmpty()) {
541 if (varIndex_.isEmpty()) {
542 varIndex_ = other.varIndex_;
543 bitField0_ = (bitField0_ & ~0x00000001);
544 } else {
545 ensureVarIndexIsMutable();
546 varIndex_.addAll(other.varIndex_);
547 }
548 onChanged();
549 }
550 if (other.hasConstant()) {
551 setConstant(other.getConstant());
552 }
553 if (other.hasResultantVarIndex()) {
554 setResultantVarIndex(other.getResultantVarIndex());
555 }
556 this.mergeUnknownFields(other.unknownFields);
557 onChanged();
558 return this;
559 }
560
561 @java.lang.Override
562 public final boolean isInitialized() {
563 return true;
564 }
565
566 @java.lang.Override
568 com.google.protobuf.CodedInputStream input,
569 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
570 throws java.io.IOException {
571 com.google.ortools.linearsolver.MPArrayWithConstantConstraint parsedMessage = null;
572 try {
573 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
574 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
575 parsedMessage = (com.google.ortools.linearsolver.MPArrayWithConstantConstraint) e.getUnfinishedMessage();
576 throw e.unwrapIOException();
577 } finally {
578 if (parsedMessage != null) {
579 mergeFrom(parsedMessage);
580 }
581 }
582 return this;
583 }
584 private int bitField0_;
585
586 private com.google.protobuf.Internal.IntList varIndex_ = emptyIntList();
587 private void ensureVarIndexIsMutable() {
588 if (!((bitField0_ & 0x00000001) != 0)) {
589 varIndex_ = mutableCopy(varIndex_);
590 bitField0_ |= 0x00000001;
591 }
592 }
602 public java.util.List<java.lang.Integer>
604 return ((bitField0_ & 0x00000001) != 0) ?
605 java.util.Collections.unmodifiableList(varIndex_) : varIndex_;
606 }
616 public int getVarIndexCount() {
617 return varIndex_.size();
618 }
629 public int getVarIndex(int index) {
630 return varIndex_.getInt(index);
631 }
644 int index, int value) {
645 ensureVarIndexIsMutable();
646 varIndex_.setInt(index, value);
647 onChanged();
648 return this;
649 }
660 public Builder addVarIndex(int value) {
661 ensureVarIndexIsMutable();
662 varIndex_.addInt(value);
663 onChanged();
664 return this;
665 }
677 java.lang.Iterable<? extends java.lang.Integer> values) {
678 ensureVarIndexIsMutable();
679 com.google.protobuf.AbstractMessageLite.Builder.addAll(
680 values, varIndex_);
681 onChanged();
682 return this;
683 }
694 varIndex_ = emptyIntList();
695 bitField0_ = (bitField0_ & ~0x00000001);
696 onChanged();
697 return this;
698 }
699
700 private double constant_ ;
705 @java.lang.Override
706 public boolean hasConstant() {
707 return ((bitField0_ & 0x00000002) != 0);
708 }
713 @java.lang.Override
714 public double getConstant() {
715 return constant_;
716 }
722 public Builder setConstant(double value) {
723 bitField0_ |= 0x00000002;
724 constant_ = value;
725 onChanged();
726 return this;
727 }
733 bitField0_ = (bitField0_ & ~0x00000002);
734 constant_ = 0D;
735 onChanged();
736 return this;
737 }
738
739 private int resultantVarIndex_ ;
744 @java.lang.Override
745 public boolean hasResultantVarIndex() {
746 return ((bitField0_ & 0x00000004) != 0);
747 }
752 @java.lang.Override
753 public int getResultantVarIndex() {
754 return resultantVarIndex_;
755 }
761 public Builder setResultantVarIndex(int value) {
762 bitField0_ |= 0x00000004;
763 resultantVarIndex_ = value;
764 onChanged();
765 return this;
766 }
772 bitField0_ = (bitField0_ & ~0x00000004);
773 resultantVarIndex_ = 0;
774 onChanged();
775 return this;
776 }
777 @java.lang.Override
779 final com.google.protobuf.UnknownFieldSet unknownFields) {
780 return super.setUnknownFields(unknownFields);
781 }
782
783 @java.lang.Override
785 final com.google.protobuf.UnknownFieldSet unknownFields) {
786 return super.mergeUnknownFields(unknownFields);
787 }
788
789
790 // @@protoc_insertion_point(builder_scope:operations_research.MPArrayWithConstantConstraint)
791 }
792
793 // @@protoc_insertion_point(class_scope:operations_research.MPArrayWithConstantConstraint)
794 private static final com.google.ortools.linearsolver.MPArrayWithConstantConstraint DEFAULT_INSTANCE;
795 static {
796 DEFAULT_INSTANCE = new com.google.ortools.linearsolver.MPArrayWithConstantConstraint();
797 }
798
799 public static com.google.ortools.linearsolver.MPArrayWithConstantConstraint getDefaultInstance() {
800 return DEFAULT_INSTANCE;
801 }
802
803 @java.lang.Deprecated public static final com.google.protobuf.Parser<MPArrayWithConstantConstraint>
804 PARSER = new com.google.protobuf.AbstractParser<MPArrayWithConstantConstraint>() {
805 @java.lang.Override
806 public MPArrayWithConstantConstraint parsePartialFrom(
807 com.google.protobuf.CodedInputStream input,
808 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
809 throws com.google.protobuf.InvalidProtocolBufferException {
810 return new MPArrayWithConstantConstraint(input, extensionRegistry);
811 }
812 };
813
814 public static com.google.protobuf.Parser<MPArrayWithConstantConstraint> parser() {
815 return PARSER;
816 }
817
818 @java.lang.Override
819 public com.google.protobuf.Parser<MPArrayWithConstantConstraint> getParserForType() {
820 return PARSER;
821 }
822
823 @java.lang.Override
824 public com.google.ortools.linearsolver.MPArrayWithConstantConstraint getDefaultInstanceForType() {
825 return DEFAULT_INSTANCE;
826 }
827
828}
829
final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
Builder mergeFrom(com.google.ortools.linearsolver.MPArrayWithConstantConstraint other)
Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
com.google.ortools.linearsolver.MPArrayWithConstantConstraint buildPartial()
Builder setResultantVarIndex(int value)
optional int32 resultant_var_index = 3;
Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
com.google.ortools.linearsolver.MPArrayWithConstantConstraint getDefaultInstanceForType()
Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Builder addAllVarIndex(java.lang.Iterable<? extends java.lang.Integer > values)
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.linearsolver.MPArrayWithConstantConstraint build()
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(com.google.protobuf.ByteString data)
static com.google.protobuf.Parser< MPArrayWithConstantConstraint > parser()
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(java.nio.ByteBuffer data)
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseDelimitedFrom(java.io.InputStream input)
com.google.protobuf.Parser< MPArrayWithConstantConstraint > getParserForType()
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(com.google.protobuf.CodedInputStream input)
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(java.io.InputStream input)
static final com.google.protobuf.Parser< MPArrayWithConstantConstraint > PARSER
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.linearsolver.MPArrayWithConstantConstraint getDefaultInstanceForType()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint getDefaultInstance()
boolean hasResultantVarIndex()
optional int32 resultant_var_index = 3;
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint parseFrom(byte[] data)
Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static Builder newBuilder(com.google.ortools.linearsolver.MPArrayWithConstantConstraint prototype)