Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
MPIndicatorConstraint.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: 3.25.3
5package com.google.ortools.linearsolver;
6
20public final class MPIndicatorConstraint extends
21 com.google.protobuf.GeneratedMessageV3 implements
22 // @@protoc_insertion_point(message_implements:operations_research.MPIndicatorConstraint)
24private static final long serialVersionUID = 0L;
25 // Use MPIndicatorConstraint.newBuilder() to construct.
26 private MPIndicatorConstraint(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
27 super(builder);
28 }
29 private MPIndicatorConstraint() {
30 }
31
32 @java.lang.Override
33 @SuppressWarnings({"unused"})
34 protected java.lang.Object newInstance(
35 UnusedPrivateParameter unused) {
36 return new MPIndicatorConstraint();
37 }
38
39 public static final com.google.protobuf.Descriptors.Descriptor
41 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPIndicatorConstraint_descriptor;
42 }
43
44 @java.lang.Override
45 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
47 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPIndicatorConstraint_fieldAccessorTable
48 .ensureFieldAccessorsInitialized(
49 com.google.ortools.linearsolver.MPIndicatorConstraint.class, com.google.ortools.linearsolver.MPIndicatorConstraint.Builder.class);
50 }
51
52 private int bitField0_;
53 public static final int VAR_INDEX_FIELD_NUMBER = 1;
54 private int varIndex_ = 0;
64 @java.lang.Override
65 public boolean hasVarIndex() {
66 return ((bitField0_ & 0x00000001) != 0);
67 }
77 @java.lang.Override
78 public int getVarIndex() {
79 return varIndex_;
80 }
81
82 public static final int VAR_VALUE_FIELD_NUMBER = 2;
83 private int varValue_ = 0;
92 @java.lang.Override
93 public boolean hasVarValue() {
94 return ((bitField0_ & 0x00000002) != 0);
95 }
104 @java.lang.Override
105 public int getVarValue() {
106 return varValue_;
107 }
108
109 public static final int CONSTRAINT_FIELD_NUMBER = 3;
119 @java.lang.Override
120 public boolean hasConstraint() {
121 return ((bitField0_ & 0x00000004) != 0);
122 }
131 @java.lang.Override
133 return constraint_ == null ? com.google.ortools.linearsolver.MPConstraintProto.getDefaultInstance() : constraint_;
134 }
142 @java.lang.Override
144 return constraint_ == null ? com.google.ortools.linearsolver.MPConstraintProto.getDefaultInstance() : constraint_;
145 }
146
147 private byte memoizedIsInitialized = -1;
148 @java.lang.Override
149 public final boolean isInitialized() {
150 byte isInitialized = memoizedIsInitialized;
151 if (isInitialized == 1) return true;
152 if (isInitialized == 0) return false;
153
154 memoizedIsInitialized = 1;
155 return true;
156 }
157
158 @java.lang.Override
159 public void writeTo(com.google.protobuf.CodedOutputStream output)
160 throws java.io.IOException {
161 if (((bitField0_ & 0x00000001) != 0)) {
162 output.writeInt32(1, varIndex_);
163 }
164 if (((bitField0_ & 0x00000002) != 0)) {
165 output.writeInt32(2, varValue_);
166 }
167 if (((bitField0_ & 0x00000004) != 0)) {
168 output.writeMessage(3, getConstraint());
169 }
170 getUnknownFields().writeTo(output);
171 }
172
173 @java.lang.Override
174 public int getSerializedSize() {
175 int size = memoizedSize;
176 if (size != -1) return size;
177
178 size = 0;
179 if (((bitField0_ & 0x00000001) != 0)) {
180 size += com.google.protobuf.CodedOutputStream
181 .computeInt32Size(1, varIndex_);
182 }
183 if (((bitField0_ & 0x00000002) != 0)) {
184 size += com.google.protobuf.CodedOutputStream
185 .computeInt32Size(2, varValue_);
186 }
187 if (((bitField0_ & 0x00000004) != 0)) {
188 size += com.google.protobuf.CodedOutputStream
189 .computeMessageSize(3, getConstraint());
190 }
191 size += getUnknownFields().getSerializedSize();
192 memoizedSize = size;
193 return size;
194 }
195
196 @java.lang.Override
197 public boolean equals(final java.lang.Object obj) {
198 if (obj == this) {
199 return true;
200 }
201 if (!(obj instanceof com.google.ortools.linearsolver.MPIndicatorConstraint)) {
202 return super.equals(obj);
203 }
204 com.google.ortools.linearsolver.MPIndicatorConstraint other = (com.google.ortools.linearsolver.MPIndicatorConstraint) obj;
205
206 if (hasVarIndex() != other.hasVarIndex()) return false;
207 if (hasVarIndex()) {
208 if (getVarIndex()
209 != other.getVarIndex()) return false;
210 }
211 if (hasVarValue() != other.hasVarValue()) return false;
212 if (hasVarValue()) {
213 if (getVarValue()
214 != other.getVarValue()) return false;
215 }
216 if (hasConstraint() != other.hasConstraint()) return false;
217 if (hasConstraint()) {
218 if (!getConstraint()
219 .equals(other.getConstraint())) return false;
220 }
221 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
222 return true;
223 }
224
225 @java.lang.Override
226 public int hashCode() {
227 if (memoizedHashCode != 0) {
228 return memoizedHashCode;
229 }
230 int hash = 41;
231 hash = (19 * hash) + getDescriptor().hashCode();
232 if (hasVarIndex()) {
233 hash = (37 * hash) + VAR_INDEX_FIELD_NUMBER;
234 hash = (53 * hash) + getVarIndex();
235 }
236 if (hasVarValue()) {
237 hash = (37 * hash) + VAR_VALUE_FIELD_NUMBER;
238 hash = (53 * hash) + getVarValue();
239 }
240 if (hasConstraint()) {
241 hash = (37 * hash) + CONSTRAINT_FIELD_NUMBER;
242 hash = (53 * hash) + getConstraint().hashCode();
243 }
244 hash = (29 * hash) + getUnknownFields().hashCode();
245 memoizedHashCode = hash;
246 return hash;
247 }
248
250 java.nio.ByteBuffer data)
251 throws com.google.protobuf.InvalidProtocolBufferException {
252 return PARSER.parseFrom(data);
253 }
255 java.nio.ByteBuffer data,
256 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
257 throws com.google.protobuf.InvalidProtocolBufferException {
258 return PARSER.parseFrom(data, extensionRegistry);
259 }
261 com.google.protobuf.ByteString data)
262 throws com.google.protobuf.InvalidProtocolBufferException {
263 return PARSER.parseFrom(data);
264 }
266 com.google.protobuf.ByteString data,
267 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
268 throws com.google.protobuf.InvalidProtocolBufferException {
269 return PARSER.parseFrom(data, extensionRegistry);
270 }
272 throws com.google.protobuf.InvalidProtocolBufferException {
273 return PARSER.parseFrom(data);
274 }
276 byte[] data,
277 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
278 throws com.google.protobuf.InvalidProtocolBufferException {
279 return PARSER.parseFrom(data, extensionRegistry);
280 }
282 throws java.io.IOException {
283 return com.google.protobuf.GeneratedMessageV3
284 .parseWithIOException(PARSER, input);
285 }
287 java.io.InputStream input,
288 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
289 throws java.io.IOException {
290 return com.google.protobuf.GeneratedMessageV3
291 .parseWithIOException(PARSER, input, extensionRegistry);
292 }
293
295 throws java.io.IOException {
296 return com.google.protobuf.GeneratedMessageV3
297 .parseDelimitedWithIOException(PARSER, input);
298 }
299
301 java.io.InputStream input,
302 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
303 throws java.io.IOException {
304 return com.google.protobuf.GeneratedMessageV3
305 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
306 }
308 com.google.protobuf.CodedInputStream input)
309 throws java.io.IOException {
310 return com.google.protobuf.GeneratedMessageV3
311 .parseWithIOException(PARSER, input);
312 }
314 com.google.protobuf.CodedInputStream input,
315 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
316 throws java.io.IOException {
317 return com.google.protobuf.GeneratedMessageV3
318 .parseWithIOException(PARSER, input, extensionRegistry);
319 }
320
321 @java.lang.Override
322 public Builder newBuilderForType() { return newBuilder(); }
323 public static Builder newBuilder() {
324 return DEFAULT_INSTANCE.toBuilder();
325 }
326 public static Builder newBuilder(com.google.ortools.linearsolver.MPIndicatorConstraint prototype) {
327 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
328 }
329 @java.lang.Override
331 return this == DEFAULT_INSTANCE
332 ? new Builder() : new Builder().mergeFrom(this);
333 }
334
335 @java.lang.Override
337 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
338 Builder builder = new Builder(parent);
339 return builder;
340 }
354 public static final class Builder extends
355 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
356 // @@protoc_insertion_point(builder_implements:operations_research.MPIndicatorConstraint)
357 com.google.ortools.linearsolver.MPIndicatorConstraintOrBuilder {
358 public static final com.google.protobuf.Descriptors.Descriptor
360 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPIndicatorConstraint_descriptor;
361 }
362
363 @java.lang.Override
364 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
366 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPIndicatorConstraint_fieldAccessorTable
367 .ensureFieldAccessorsInitialized(
368 com.google.ortools.linearsolver.MPIndicatorConstraint.class, com.google.ortools.linearsolver.MPIndicatorConstraint.Builder.class);
369 }
370
371 // Construct using com.google.ortools.linearsolver.MPIndicatorConstraint.newBuilder()
372 private Builder() {
373 maybeForceBuilderInitialization();
374 }
375
376 private Builder(
377 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
378 super(parent);
379 maybeForceBuilderInitialization();
380 }
381 private void maybeForceBuilderInitialization() {
382 if (com.google.protobuf.GeneratedMessageV3
383 .alwaysUseFieldBuilders) {
384 getConstraintFieldBuilder();
385 }
386 }
387 @java.lang.Override
388 public Builder clear() {
389 super.clear();
390 bitField0_ = 0;
391 varIndex_ = 0;
392 varValue_ = 0;
393 constraint_ = null;
394 if (constraintBuilder_ != null) {
395 constraintBuilder_.dispose();
396 constraintBuilder_ = null;
397 }
398 return this;
399 }
400
401 @java.lang.Override
402 public com.google.protobuf.Descriptors.Descriptor
404 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPIndicatorConstraint_descriptor;
405 }
406
407 @java.lang.Override
409 return com.google.ortools.linearsolver.MPIndicatorConstraint.getDefaultInstance();
410 }
411
412 @java.lang.Override
415 if (!result.isInitialized()) {
416 throw newUninitializedMessageException(result);
417 }
418 return result;
419 }
420
421 @java.lang.Override
423 com.google.ortools.linearsolver.MPIndicatorConstraint result = new com.google.ortools.linearsolver.MPIndicatorConstraint(this);
424 if (bitField0_ != 0) { buildPartial0(result); }
425 onBuilt();
426 return result;
427 }
428
429 private void buildPartial0(com.google.ortools.linearsolver.MPIndicatorConstraint result) {
430 int from_bitField0_ = bitField0_;
431 int to_bitField0_ = 0;
432 if (((from_bitField0_ & 0x00000001) != 0)) {
433 result.varIndex_ = varIndex_;
434 to_bitField0_ |= 0x00000001;
435 }
436 if (((from_bitField0_ & 0x00000002) != 0)) {
437 result.varValue_ = varValue_;
438 to_bitField0_ |= 0x00000002;
439 }
440 if (((from_bitField0_ & 0x00000004) != 0)) {
441 result.constraint_ = constraintBuilder_ == null
442 ? constraint_
443 : constraintBuilder_.build();
444 to_bitField0_ |= 0x00000004;
445 }
446 result.bitField0_ |= to_bitField0_;
447 }
448
449 @java.lang.Override
450 public Builder clone() {
451 return super.clone();
452 }
453 @java.lang.Override
455 com.google.protobuf.Descriptors.FieldDescriptor field,
456 java.lang.Object value) {
457 return super.setField(field, value);
458 }
459 @java.lang.Override
461 com.google.protobuf.Descriptors.FieldDescriptor field) {
462 return super.clearField(field);
463 }
464 @java.lang.Override
466 com.google.protobuf.Descriptors.OneofDescriptor oneof) {
467 return super.clearOneof(oneof);
468 }
469 @java.lang.Override
471 com.google.protobuf.Descriptors.FieldDescriptor field,
472 int index, java.lang.Object value) {
473 return super.setRepeatedField(field, index, value);
474 }
475 @java.lang.Override
477 com.google.protobuf.Descriptors.FieldDescriptor field,
478 java.lang.Object value) {
479 return super.addRepeatedField(field, value);
480 }
481 @java.lang.Override
482 public Builder mergeFrom(com.google.protobuf.Message other) {
483 if (other instanceof com.google.ortools.linearsolver.MPIndicatorConstraint) {
484 return mergeFrom((com.google.ortools.linearsolver.MPIndicatorConstraint)other);
485 } else {
486 super.mergeFrom(other);
487 return this;
488 }
489 }
490
491 public Builder mergeFrom(com.google.ortools.linearsolver.MPIndicatorConstraint other) {
492 if (other == com.google.ortools.linearsolver.MPIndicatorConstraint.getDefaultInstance()) return this;
493 if (other.hasVarIndex()) {
494 setVarIndex(other.getVarIndex());
495 }
496 if (other.hasVarValue()) {
497 setVarValue(other.getVarValue());
498 }
499 if (other.hasConstraint()) {
500 mergeConstraint(other.getConstraint());
501 }
502 this.mergeUnknownFields(other.getUnknownFields());
503 onChanged();
504 return this;
505 }
506
507 @java.lang.Override
508 public final boolean isInitialized() {
509 return true;
510 }
511
512 @java.lang.Override
514 com.google.protobuf.CodedInputStream input,
515 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
516 throws java.io.IOException {
517 if (extensionRegistry == null) {
518 throw new java.lang.NullPointerException();
519 }
520 try {
521 boolean done = false;
522 while (!done) {
523 int tag = input.readTag();
524 switch (tag) {
525 case 0:
526 done = true;
527 break;
528 case 8: {
529 varIndex_ = input.readInt32();
530 bitField0_ |= 0x00000001;
531 break;
532 } // case 8
533 case 16: {
534 varValue_ = input.readInt32();
535 bitField0_ |= 0x00000002;
536 break;
537 } // case 16
538 case 26: {
539 input.readMessage(
540 getConstraintFieldBuilder().getBuilder(),
541 extensionRegistry);
542 bitField0_ |= 0x00000004;
543 break;
544 } // case 26
545 default: {
546 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
547 done = true; // was an endgroup tag
548 }
549 break;
550 } // default:
551 } // switch (tag)
552 } // while (!done)
553 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
554 throw e.unwrapIOException();
555 } finally {
556 onChanged();
557 } // finally
558 return this;
559 }
560 private int bitField0_;
561
562 private int varIndex_ ;
572 @java.lang.Override
573 public boolean hasVarIndex() {
574 return ((bitField0_ & 0x00000001) != 0);
575 }
585 @java.lang.Override
586 public int getVarIndex() {
587 return varIndex_;
588 }
599 public Builder setVarIndex(int value) {
600
601 varIndex_ = value;
602 bitField0_ |= 0x00000001;
603 onChanged();
604 return this;
605 }
616 bitField0_ = (bitField0_ & ~0x00000001);
617 varIndex_ = 0;
618 onChanged();
619 return this;
620 }
621
622 private int varValue_ ;
631 @java.lang.Override
632 public boolean hasVarValue() {
633 return ((bitField0_ & 0x00000002) != 0);
634 }
643 @java.lang.Override
644 public int getVarValue() {
645 return varValue_;
646 }
656 public Builder setVarValue(int value) {
657
658 varValue_ = value;
659 bitField0_ |= 0x00000002;
660 onChanged();
661 return this;
662 }
672 bitField0_ = (bitField0_ & ~0x00000002);
673 varValue_ = 0;
674 onChanged();
675 return this;
676 }
677
679 private com.google.protobuf.SingleFieldBuilderV3<
680 com.google.ortools.linearsolver.MPConstraintProto, com.google.ortools.linearsolver.MPConstraintProto.Builder, com.google.ortools.linearsolver.MPConstraintProtoOrBuilder> constraintBuilder_;
689 public boolean hasConstraint() {
690 return ((bitField0_ & 0x00000004) != 0);
691 }
701 if (constraintBuilder_ == null) {
702 return constraint_ == null ? com.google.ortools.linearsolver.MPConstraintProto.getDefaultInstance() : constraint_;
703 } else {
704 return constraintBuilder_.getMessage();
705 }
706 }
714 public Builder setConstraint(com.google.ortools.linearsolver.MPConstraintProto value) {
715 if (constraintBuilder_ == null) {
716 if (value == null) {
717 throw new NullPointerException();
718 }
719 constraint_ = value;
720 } else {
721 constraintBuilder_.setMessage(value);
722 }
723 bitField0_ |= 0x00000004;
724 onChanged();
725 return this;
726 }
735 com.google.ortools.linearsolver.MPConstraintProto.Builder builderForValue) {
736 if (constraintBuilder_ == null) {
737 constraint_ = builderForValue.build();
738 } else {
739 constraintBuilder_.setMessage(builderForValue.build());
740 }
741 bitField0_ |= 0x00000004;
742 onChanged();
743 return this;
744 }
752 public Builder mergeConstraint(com.google.ortools.linearsolver.MPConstraintProto value) {
753 if (constraintBuilder_ == null) {
754 if (((bitField0_ & 0x00000004) != 0) &&
755 constraint_ != null &&
756 constraint_ != com.google.ortools.linearsolver.MPConstraintProto.getDefaultInstance()) {
757 getConstraintBuilder().mergeFrom(value);
758 } else {
759 constraint_ = value;
760 }
761 } else {
762 constraintBuilder_.mergeFrom(value);
763 }
764 if (constraint_ != null) {
765 bitField0_ |= 0x00000004;
766 onChanged();
767 }
768 return this;
769 }
778 bitField0_ = (bitField0_ & ~0x00000004);
779 constraint_ = null;
780 if (constraintBuilder_ != null) {
781 constraintBuilder_.dispose();
782 constraintBuilder_ = null;
783 }
784 onChanged();
785 return this;
786 }
795 bitField0_ |= 0x00000004;
796 onChanged();
797 return getConstraintFieldBuilder().getBuilder();
798 }
807 if (constraintBuilder_ != null) {
808 return constraintBuilder_.getMessageOrBuilder();
809 } else {
810 return constraint_ == null ?
811 com.google.ortools.linearsolver.MPConstraintProto.getDefaultInstance() : constraint_;
812 }
813 }
821 private com.google.protobuf.SingleFieldBuilderV3<
822 com.google.ortools.linearsolver.MPConstraintProto, com.google.ortools.linearsolver.MPConstraintProto.Builder, com.google.ortools.linearsolver.MPConstraintProtoOrBuilder>
823 getConstraintFieldBuilder() {
824 if (constraintBuilder_ == null) {
825 constraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
826 com.google.ortools.linearsolver.MPConstraintProto, com.google.ortools.linearsolver.MPConstraintProto.Builder, com.google.ortools.linearsolver.MPConstraintProtoOrBuilder>(
828 getParentForChildren(),
829 isClean());
830 constraint_ = null;
831 }
832 return constraintBuilder_;
833 }
834 @java.lang.Override
836 final com.google.protobuf.UnknownFieldSet unknownFields) {
837 return super.setUnknownFields(unknownFields);
838 }
839
840 @java.lang.Override
842 final com.google.protobuf.UnknownFieldSet unknownFields) {
843 return super.mergeUnknownFields(unknownFields);
844 }
845
846
847 // @@protoc_insertion_point(builder_scope:operations_research.MPIndicatorConstraint)
848 }
849
850 // @@protoc_insertion_point(class_scope:operations_research.MPIndicatorConstraint)
851 private static final com.google.ortools.linearsolver.MPIndicatorConstraint DEFAULT_INSTANCE;
852 static {
853 DEFAULT_INSTANCE = new com.google.ortools.linearsolver.MPIndicatorConstraint();
854 }
855
857 return DEFAULT_INSTANCE;
858 }
859
860 @java.lang.Deprecated public static final com.google.protobuf.Parser<MPIndicatorConstraint>
861 PARSER = new com.google.protobuf.AbstractParser<MPIndicatorConstraint>() {
862 @java.lang.Override
863 public MPIndicatorConstraint parsePartialFrom(
864 com.google.protobuf.CodedInputStream input,
865 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
866 throws com.google.protobuf.InvalidProtocolBufferException {
867 Builder builder = newBuilder();
868 try {
869 builder.mergeFrom(input, extensionRegistry);
870 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
871 throw e.setUnfinishedMessage(builder.buildPartial());
872 } catch (com.google.protobuf.UninitializedMessageException e) {
873 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
874 } catch (java.io.IOException e) {
875 throw new com.google.protobuf.InvalidProtocolBufferException(e)
876 .setUnfinishedMessage(builder.buildPartial());
877 }
878 return builder.buildPartial();
879 }
880 };
881
882 public static com.google.protobuf.Parser<MPIndicatorConstraint> parser() {
883 return PARSER;
884 }
885
886 @java.lang.Override
887 public com.google.protobuf.Parser<MPIndicatorConstraint> getParserForType() {
888 return PARSER;
889 }
890
891 @java.lang.Override
895
896}
897
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Builder mergeConstraint(com.google.ortools.linearsolver.MPConstraintProto value)
com.google.ortools.linearsolver.MPConstraintProto getConstraint()
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.linearsolver.MPConstraintProtoOrBuilder getConstraintOrBuilder()
Builder setConstraint(com.google.ortools.linearsolver.MPConstraintProto value)
Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Builder mergeFrom(com.google.ortools.linearsolver.MPIndicatorConstraint other)
Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
com.google.ortools.linearsolver.MPIndicatorConstraint buildPartial()
com.google.ortools.linearsolver.MPConstraintProto.Builder getConstraintBuilder()
Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
com.google.ortools.linearsolver.MPIndicatorConstraint getDefaultInstanceForType()
com.google.ortools.linearsolver.MPIndicatorConstraint build()
Builder setConstraint(com.google.ortools.linearsolver.MPConstraintProto.Builder builderForValue)
static com.google.ortools.linearsolver.MPIndicatorConstraint parseDelimitedFrom(java.io.InputStream input)
static com.google.ortools.linearsolver.MPIndicatorConstraint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.linearsolver.MPIndicatorConstraint parseFrom(byte[] data)
java.lang.Object newInstance(UnusedPrivateParameter unused)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
static final com.google.protobuf.Parser< MPIndicatorConstraint > PARSER
static com.google.ortools.linearsolver.MPIndicatorConstraint parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.linearsolver.MPIndicatorConstraint parseFrom(java.nio.ByteBuffer data)
static com.google.ortools.linearsolver.MPIndicatorConstraint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.linearsolver.MPIndicatorConstraint parseFrom(com.google.protobuf.CodedInputStream input)
static com.google.ortools.linearsolver.MPIndicatorConstraint parseFrom(java.io.InputStream input)
com.google.ortools.linearsolver.MPConstraintProto getConstraint()
com.google.ortools.linearsolver.MPIndicatorConstraint getDefaultInstanceForType()
static Builder newBuilder(com.google.ortools.linearsolver.MPIndicatorConstraint prototype)
static com.google.protobuf.Parser< MPIndicatorConstraint > parser()
static com.google.ortools.linearsolver.MPIndicatorConstraint getDefaultInstance()
static com.google.ortools.linearsolver.MPIndicatorConstraint parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
void writeTo(com.google.protobuf.CodedOutputStream output)
static com.google.ortools.linearsolver.MPIndicatorConstraint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.Parser< MPIndicatorConstraint > getParserForType()
static com.google.ortools.linearsolver.MPIndicatorConstraint parseFrom(com.google.protobuf.ByteString data)
Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
com.google.ortools.linearsolver.MPConstraintProtoOrBuilder getConstraintOrBuilder()
static com.google.ortools.linearsolver.MPIndicatorConstraint parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)