Java Reference

Java Reference

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 package com.google.ortools.linearsolver;
5 
19 public final class MPIndicatorConstraint extends
20  com.google.protobuf.GeneratedMessageV3 implements
21  // @@protoc_insertion_point(message_implements:operations_research.MPIndicatorConstraint)
23 private static final long serialVersionUID = 0L;
24  // Use MPIndicatorConstraint.newBuilder() to construct.
25  private MPIndicatorConstraint(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
26  super(builder);
27  }
28  private MPIndicatorConstraint() {
29  }
30 
31  @java.lang.Override
32  @SuppressWarnings({"unused"})
33  protected java.lang.Object newInstance(
34  UnusedPrivateParameter unused) {
35  return new MPIndicatorConstraint();
36  }
37 
38  @java.lang.Override
39  public final com.google.protobuf.UnknownFieldSet
41  return this.unknownFields;
42  }
43  private MPIndicatorConstraint(
44  com.google.protobuf.CodedInputStream input,
45  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
46  throws com.google.protobuf.InvalidProtocolBufferException {
47  this();
48  if (extensionRegistry == null) {
49  throw new java.lang.NullPointerException();
50  }
51  int mutable_bitField0_ = 0;
52  com.google.protobuf.UnknownFieldSet.Builder unknownFields =
53  com.google.protobuf.UnknownFieldSet.newBuilder();
54  try {
55  boolean done = false;
56  while (!done) {
57  int tag = input.readTag();
58  switch (tag) {
59  case 0:
60  done = true;
61  break;
62  case 8: {
63  bitField0_ |= 0x00000001;
64  varIndex_ = input.readInt32();
65  break;
66  }
67  case 16: {
68  bitField0_ |= 0x00000002;
69  varValue_ = input.readInt32();
70  break;
71  }
72  case 26: {
74  if (((bitField0_ & 0x00000004) != 0)) {
75  subBuilder = constraint_.toBuilder();
76  }
77  constraint_ = input.readMessage(com.google.ortools.linearsolver.MPConstraintProto.PARSER, extensionRegistry);
78  if (subBuilder != null) {
79  subBuilder.mergeFrom(constraint_);
80  constraint_ = subBuilder.buildPartial();
81  }
82  bitField0_ |= 0x00000004;
83  break;
84  }
85  default: {
86  if (!parseUnknownField(
87  input, unknownFields, extensionRegistry, tag)) {
88  done = true;
89  }
90  break;
91  }
92  }
93  }
94  } catch (com.google.protobuf.InvalidProtocolBufferException e) {
95  throw e.setUnfinishedMessage(this);
96  } catch (java.io.IOException e) {
97  throw new com.google.protobuf.InvalidProtocolBufferException(
98  e).setUnfinishedMessage(this);
99  } finally {
100  this.unknownFields = unknownFields.build();
101  makeExtensionsImmutable();
102  }
103  }
104  public static final com.google.protobuf.Descriptors.Descriptor
106  return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPIndicatorConstraint_descriptor;
107  }
108 
109  @java.lang.Override
110  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
112  return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPIndicatorConstraint_fieldAccessorTable
113  .ensureFieldAccessorsInitialized(
115  }
116 
117  private int bitField0_;
118  public static final int VAR_INDEX_FIELD_NUMBER = 1;
119  private int varIndex_;
129  @java.lang.Override
130  public boolean hasVarIndex() {
131  return ((bitField0_ & 0x00000001) != 0);
132  }
142  @java.lang.Override
143  public int getVarIndex() {
144  return varIndex_;
145  }
146 
147  public static final int VAR_VALUE_FIELD_NUMBER = 2;
148  private int varValue_;
157  @java.lang.Override
158  public boolean hasVarValue() {
159  return ((bitField0_ & 0x00000002) != 0);
160  }
169  @java.lang.Override
170  public int getVarValue() {
171  return varValue_;
172  }
173 
174  public static final int CONSTRAINT_FIELD_NUMBER = 3;
175  private com.google.ortools.linearsolver.MPConstraintProto constraint_;
184  @java.lang.Override
185  public boolean hasConstraint() {
186  return ((bitField0_ & 0x00000004) != 0);
187  }
196  @java.lang.Override
198  return constraint_ == null ? com.google.ortools.linearsolver.MPConstraintProto.getDefaultInstance() : constraint_;
199  }
207  @java.lang.Override
209  return constraint_ == null ? com.google.ortools.linearsolver.MPConstraintProto.getDefaultInstance() : constraint_;
210  }
211 
212  private byte memoizedIsInitialized = -1;
213  @java.lang.Override
214  public final boolean isInitialized() {
215  byte isInitialized = memoizedIsInitialized;
216  if (isInitialized == 1) return true;
217  if (isInitialized == 0) return false;
218 
219  memoizedIsInitialized = 1;
220  return true;
221  }
222 
223  @java.lang.Override
224  public void writeTo(com.google.protobuf.CodedOutputStream output)
225  throws java.io.IOException {
226  if (((bitField0_ & 0x00000001) != 0)) {
227  output.writeInt32(1, varIndex_);
228  }
229  if (((bitField0_ & 0x00000002) != 0)) {
230  output.writeInt32(2, varValue_);
231  }
232  if (((bitField0_ & 0x00000004) != 0)) {
233  output.writeMessage(3, getConstraint());
234  }
235  unknownFields.writeTo(output);
236  }
237 
238  @java.lang.Override
239  public int getSerializedSize() {
240  int size = memoizedSize;
241  if (size != -1) return size;
242 
243  size = 0;
244  if (((bitField0_ & 0x00000001) != 0)) {
245  size += com.google.protobuf.CodedOutputStream
246  .computeInt32Size(1, varIndex_);
247  }
248  if (((bitField0_ & 0x00000002) != 0)) {
249  size += com.google.protobuf.CodedOutputStream
250  .computeInt32Size(2, varValue_);
251  }
252  if (((bitField0_ & 0x00000004) != 0)) {
253  size += com.google.protobuf.CodedOutputStream
254  .computeMessageSize(3, getConstraint());
255  }
256  size += unknownFields.getSerializedSize();
257  memoizedSize = size;
258  return size;
259  }
260 
261  @java.lang.Override
262  public boolean equals(final java.lang.Object obj) {
263  if (obj == this) {
264  return true;
265  }
266  if (!(obj instanceof com.google.ortools.linearsolver.MPIndicatorConstraint)) {
267  return super.equals(obj);
268  }
270 
271  if (hasVarIndex() != other.hasVarIndex()) return false;
272  if (hasVarIndex()) {
273  if (getVarIndex()
274  != other.getVarIndex()) return false;
275  }
276  if (hasVarValue() != other.hasVarValue()) return false;
277  if (hasVarValue()) {
278  if (getVarValue()
279  != other.getVarValue()) return false;
280  }
281  if (hasConstraint() != other.hasConstraint()) return false;
282  if (hasConstraint()) {
283  if (!getConstraint()
284  .equals(other.getConstraint())) return false;
285  }
286  if (!unknownFields.equals(other.unknownFields)) return false;
287  return true;
288  }
289 
290  @java.lang.Override
291  public int hashCode() {
292  if (memoizedHashCode != 0) {
293  return memoizedHashCode;
294  }
295  int hash = 41;
296  hash = (19 * hash) + getDescriptor().hashCode();
297  if (hasVarIndex()) {
298  hash = (37 * hash) + VAR_INDEX_FIELD_NUMBER;
299  hash = (53 * hash) + getVarIndex();
300  }
301  if (hasVarValue()) {
302  hash = (37 * hash) + VAR_VALUE_FIELD_NUMBER;
303  hash = (53 * hash) + getVarValue();
304  }
305  if (hasConstraint()) {
306  hash = (37 * hash) + CONSTRAINT_FIELD_NUMBER;
307  hash = (53 * hash) + getConstraint().hashCode();
308  }
309  hash = (29 * hash) + unknownFields.hashCode();
310  memoizedHashCode = hash;
311  return hash;
312  }
313 
315  java.nio.ByteBuffer data)
316  throws com.google.protobuf.InvalidProtocolBufferException {
317  return PARSER.parseFrom(data);
318  }
320  java.nio.ByteBuffer data,
321  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
322  throws com.google.protobuf.InvalidProtocolBufferException {
323  return PARSER.parseFrom(data, extensionRegistry);
324  }
326  com.google.protobuf.ByteString data)
327  throws com.google.protobuf.InvalidProtocolBufferException {
328  return PARSER.parseFrom(data);
329  }
331  com.google.protobuf.ByteString data,
332  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
333  throws com.google.protobuf.InvalidProtocolBufferException {
334  return PARSER.parseFrom(data, extensionRegistry);
335  }
337  throws com.google.protobuf.InvalidProtocolBufferException {
338  return PARSER.parseFrom(data);
339  }
341  byte[] data,
342  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
343  throws com.google.protobuf.InvalidProtocolBufferException {
344  return PARSER.parseFrom(data, extensionRegistry);
345  }
346  public static com.google.ortools.linearsolver.MPIndicatorConstraint parseFrom(java.io.InputStream input)
347  throws java.io.IOException {
348  return com.google.protobuf.GeneratedMessageV3
349  .parseWithIOException(PARSER, input);
350  }
352  java.io.InputStream input,
353  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
354  throws java.io.IOException {
355  return com.google.protobuf.GeneratedMessageV3
356  .parseWithIOException(PARSER, input, extensionRegistry);
357  }
358  public static com.google.ortools.linearsolver.MPIndicatorConstraint parseDelimitedFrom(java.io.InputStream input)
359  throws java.io.IOException {
360  return com.google.protobuf.GeneratedMessageV3
361  .parseDelimitedWithIOException(PARSER, input);
362  }
364  java.io.InputStream input,
365  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
366  throws java.io.IOException {
367  return com.google.protobuf.GeneratedMessageV3
368  .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
369  }
371  com.google.protobuf.CodedInputStream input)
372  throws java.io.IOException {
373  return com.google.protobuf.GeneratedMessageV3
374  .parseWithIOException(PARSER, input);
375  }
377  com.google.protobuf.CodedInputStream input,
378  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
379  throws java.io.IOException {
380  return com.google.protobuf.GeneratedMessageV3
381  .parseWithIOException(PARSER, input, extensionRegistry);
382  }
383 
384  @java.lang.Override
385  public Builder newBuilderForType() { return newBuilder(); }
386  public static Builder newBuilder() {
387  return DEFAULT_INSTANCE.toBuilder();
388  }
390  return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
391  }
392  @java.lang.Override
393  public Builder toBuilder() {
394  return this == DEFAULT_INSTANCE
395  ? new Builder() : new Builder().mergeFrom(this);
396  }
397 
398  @java.lang.Override
400  com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
401  Builder builder = new Builder(parent);
402  return builder;
403  }
417  public static final class Builder extends
418  com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
419  // @@protoc_insertion_point(builder_implements:operations_research.MPIndicatorConstraint)
420  com.google.ortools.linearsolver.MPIndicatorConstraintOrBuilder {
421  public static final com.google.protobuf.Descriptors.Descriptor
423  return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPIndicatorConstraint_descriptor;
424  }
425 
426  @java.lang.Override
427  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
429  return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPIndicatorConstraint_fieldAccessorTable
430  .ensureFieldAccessorsInitialized(
432  }
433 
434  // Construct using com.google.ortools.linearsolver.MPIndicatorConstraint.newBuilder()
435  private Builder() {
436  maybeForceBuilderInitialization();
437  }
438 
439  private Builder(
440  com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
441  super(parent);
442  maybeForceBuilderInitialization();
443  }
444  private void maybeForceBuilderInitialization() {
445  if (com.google.protobuf.GeneratedMessageV3
446  .alwaysUseFieldBuilders) {
447  getConstraintFieldBuilder();
448  }
449  }
450  @java.lang.Override
451  public Builder clear() {
452  super.clear();
453  varIndex_ = 0;
454  bitField0_ = (bitField0_ & ~0x00000001);
455  varValue_ = 0;
456  bitField0_ = (bitField0_ & ~0x00000002);
457  if (constraintBuilder_ == null) {
458  constraint_ = null;
459  } else {
460  constraintBuilder_.clear();
461  }
462  bitField0_ = (bitField0_ & ~0x00000004);
463  return this;
464  }
465 
466  @java.lang.Override
467  public com.google.protobuf.Descriptors.Descriptor
469  return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPIndicatorConstraint_descriptor;
470  }
471 
472  @java.lang.Override
475  }
476 
477  @java.lang.Override
480  if (!result.isInitialized()) {
481  throw newUninitializedMessageException(result);
482  }
483  return result;
484  }
485 
486  @java.lang.Override
489  int from_bitField0_ = bitField0_;
490  int to_bitField0_ = 0;
491  if (((from_bitField0_ & 0x00000001) != 0)) {
492  result.varIndex_ = varIndex_;
493  to_bitField0_ |= 0x00000001;
494  }
495  if (((from_bitField0_ & 0x00000002) != 0)) {
496  result.varValue_ = varValue_;
497  to_bitField0_ |= 0x00000002;
498  }
499  if (((from_bitField0_ & 0x00000004) != 0)) {
500  if (constraintBuilder_ == null) {
501  result.constraint_ = constraint_;
502  } else {
503  result.constraint_ = constraintBuilder_.build();
504  }
505  to_bitField0_ |= 0x00000004;
506  }
507  result.bitField0_ = to_bitField0_;
508  onBuilt();
509  return result;
510  }
511 
512  @java.lang.Override
513  public Builder clone() {
514  return super.clone();
515  }
516  @java.lang.Override
518  com.google.protobuf.Descriptors.FieldDescriptor field,
519  java.lang.Object value) {
520  return super.setField(field, value);
521  }
522  @java.lang.Override
524  com.google.protobuf.Descriptors.FieldDescriptor field) {
525  return super.clearField(field);
526  }
527  @java.lang.Override
529  com.google.protobuf.Descriptors.OneofDescriptor oneof) {
530  return super.clearOneof(oneof);
531  }
532  @java.lang.Override
534  com.google.protobuf.Descriptors.FieldDescriptor field,
535  int index, java.lang.Object value) {
536  return super.setRepeatedField(field, index, value);
537  }
538  @java.lang.Override
540  com.google.protobuf.Descriptors.FieldDescriptor field,
541  java.lang.Object value) {
542  return super.addRepeatedField(field, value);
543  }
544  @java.lang.Override
545  public Builder mergeFrom(com.google.protobuf.Message other) {
546  if (other instanceof com.google.ortools.linearsolver.MPIndicatorConstraint) {
548  } else {
549  super.mergeFrom(other);
550  return this;
551  }
552  }
553 
556  if (other.hasVarIndex()) {
557  setVarIndex(other.getVarIndex());
558  }
559  if (other.hasVarValue()) {
560  setVarValue(other.getVarValue());
561  }
562  if (other.hasConstraint()) {
563  mergeConstraint(other.getConstraint());
564  }
565  this.mergeUnknownFields(other.unknownFields);
566  onChanged();
567  return this;
568  }
569 
570  @java.lang.Override
571  public final boolean isInitialized() {
572  return true;
573  }
574 
575  @java.lang.Override
577  com.google.protobuf.CodedInputStream input,
578  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
579  throws java.io.IOException {
580  com.google.ortools.linearsolver.MPIndicatorConstraint parsedMessage = null;
581  try {
582  parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
583  } catch (com.google.protobuf.InvalidProtocolBufferException e) {
584  parsedMessage = (com.google.ortools.linearsolver.MPIndicatorConstraint) e.getUnfinishedMessage();
585  throw e.unwrapIOException();
586  } finally {
587  if (parsedMessage != null) {
588  mergeFrom(parsedMessage);
589  }
590  }
591  return this;
592  }
593  private int bitField0_;
594 
595  private int varIndex_ ;
605  @java.lang.Override
606  public boolean hasVarIndex() {
607  return ((bitField0_ & 0x00000001) != 0);
608  }
618  @java.lang.Override
619  public int getVarIndex() {
620  return varIndex_;
621  }
632  public Builder setVarIndex(int value) {
633  bitField0_ |= 0x00000001;
634  varIndex_ = value;
635  onChanged();
636  return this;
637  }
648  bitField0_ = (bitField0_ & ~0x00000001);
649  varIndex_ = 0;
650  onChanged();
651  return this;
652  }
653 
654  private int varValue_ ;
663  @java.lang.Override
664  public boolean hasVarValue() {
665  return ((bitField0_ & 0x00000002) != 0);
666  }
675  @java.lang.Override
676  public int getVarValue() {
677  return varValue_;
678  }
688  public Builder setVarValue(int value) {
689  bitField0_ |= 0x00000002;
690  varValue_ = value;
691  onChanged();
692  return this;
693  }
703  bitField0_ = (bitField0_ & ~0x00000002);
704  varValue_ = 0;
705  onChanged();
706  return this;
707  }
708 
709  private com.google.ortools.linearsolver.MPConstraintProto constraint_;
710  private com.google.protobuf.SingleFieldBuilderV3<
720  public boolean hasConstraint() {
721  return ((bitField0_ & 0x00000004) != 0);
722  }
732  if (constraintBuilder_ == null) {
733  return constraint_ == null ? com.google.ortools.linearsolver.MPConstraintProto.getDefaultInstance() : constraint_;
734  } else {
735  return constraintBuilder_.getMessage();
736  }
737  }
746  if (constraintBuilder_ == null) {
747  if (value == null) {
748  throw new NullPointerException();
749  }
750  constraint_ = value;
751  onChanged();
752  } else {
753  constraintBuilder_.setMessage(value);
754  }
755  bitField0_ |= 0x00000004;
756  return this;
757  }
767  if (constraintBuilder_ == null) {
768  constraint_ = builderForValue.build();
769  onChanged();
770  } else {
771  constraintBuilder_.setMessage(builderForValue.build());
772  }
773  bitField0_ |= 0x00000004;
774  return this;
775  }
784  if (constraintBuilder_ == null) {
785  if (((bitField0_ & 0x00000004) != 0) &&
786  constraint_ != null &&
788  constraint_ =
790  } else {
791  constraint_ = value;
792  }
793  onChanged();
794  } else {
795  constraintBuilder_.mergeFrom(value);
796  }
797  bitField0_ |= 0x00000004;
798  return this;
799  }
808  if (constraintBuilder_ == null) {
809  constraint_ = null;
810  onChanged();
811  } else {
812  constraintBuilder_.clear();
813  }
814  bitField0_ = (bitField0_ & ~0x00000004);
815  return this;
816  }
825  bitField0_ |= 0x00000004;
826  onChanged();
827  return getConstraintFieldBuilder().getBuilder();
828  }
837  if (constraintBuilder_ != null) {
838  return constraintBuilder_.getMessageOrBuilder();
839  } else {
840  return constraint_ == null ?
842  }
843  }
851  private com.google.protobuf.SingleFieldBuilderV3<
853  getConstraintFieldBuilder() {
854  if (constraintBuilder_ == null) {
855  constraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
857  getConstraint(),
858  getParentForChildren(),
859  isClean());
860  constraint_ = null;
861  }
862  return constraintBuilder_;
863  }
864  @java.lang.Override
865  public final Builder setUnknownFields(
866  final com.google.protobuf.UnknownFieldSet unknownFields) {
867  return super.setUnknownFields(unknownFields);
868  }
869 
870  @java.lang.Override
872  final com.google.protobuf.UnknownFieldSet unknownFields) {
873  return super.mergeUnknownFields(unknownFields);
874  }
875 
876 
877  // @@protoc_insertion_point(builder_scope:operations_research.MPIndicatorConstraint)
878  }
879 
880  // @@protoc_insertion_point(class_scope:operations_research.MPIndicatorConstraint)
881  private static final com.google.ortools.linearsolver.MPIndicatorConstraint DEFAULT_INSTANCE;
882  static {
883  DEFAULT_INSTANCE = new com.google.ortools.linearsolver.MPIndicatorConstraint();
884  }
885 
887  return DEFAULT_INSTANCE;
888  }
889 
890  @java.lang.Deprecated public static final com.google.protobuf.Parser<MPIndicatorConstraint>
891  PARSER = new com.google.protobuf.AbstractParser<MPIndicatorConstraint>() {
892  @java.lang.Override
893  public MPIndicatorConstraint parsePartialFrom(
894  com.google.protobuf.CodedInputStream input,
895  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
896  throws com.google.protobuf.InvalidProtocolBufferException {
897  return new MPIndicatorConstraint(input, extensionRegistry);
898  }
899  };
900 
901  public static com.google.protobuf.Parser<MPIndicatorConstraint> parser() {
902  return PARSER;
903  }
904 
905  @java.lang.Override
906  public com.google.protobuf.Parser<MPIndicatorConstraint> getParserForType() {
907  return PARSER;
908  }
909 
910  @java.lang.Override
912  return DEFAULT_INSTANCE;
913  }
914 
915 }
916 
.lang.Override Builder toBuilder()
.lang.Override int getVarValue()
Builder mergeConstraint(com.google.ortools.linearsolver.MPConstraintProto value)
.lang.Override com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
.lang.Override com.google.ortools.linearsolver.MPConstraintProto buildPartial()
static com.google.protobuf.Parser< MPIndicatorConstraint > parser()
Builder clearConstraint()
static com.google.ortools.linearsolver.MPIndicatorConstraint parseFrom(java.nio.ByteBuffer data)
.lang.Override Builder newBuilderForType()
.lang.Override com.google.protobuf.Parser< MPIndicatorConstraint > getParserForType()
static com.google.ortools.linearsolver.MPIndicatorConstraint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
.lang.Override int hashCode()
.lang.Override int getVarValue()
.lang.Override com.google.ortools.linearsolver.MPConstraintProto getConstraint()
.lang.Override com.google.ortools.linearsolver.MPIndicatorConstraint getDefaultInstanceForType()
.lang.Override boolean hasVarIndex()
.lang.Deprecated static final com.google.protobuf.Parser< MPConstraintProto > PARSER
static com.google.ortools.linearsolver.MPIndicatorConstraint parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.linearsolver.MPIndicatorConstraint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
.lang.Override Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static Builder newBuilder()
.lang.Override void writeTo(com.google.protobuf.CodedOutputStream output)
.lang.Override int getVarIndex()
static final int VAR_INDEX_FIELD_NUMBER
static com.google.ortools.linearsolver.MPIndicatorConstraint parseFrom(com.google.protobuf.ByteString data)
static final int CONSTRAINT_FIELD_NUMBER
.lang.Override Builder mergeFrom(com.google.protobuf.Message other)
static final int VAR_VALUE_FIELD_NUMBER
.lang.Override boolean hasVarValue()
.lang.Override com.google.ortools.linearsolver.MPIndicatorConstraint build()
com.google.ortools.linearsolver.MPConstraintProtoOrBuilder getConstraintOrBuilder()
.lang.Override Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
.lang.Override Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Builder setVarIndex(int value)
.lang.Override boolean equals(final java.lang.Object obj)
.lang.Override Builder toBuilder()
Builder setVarValue(int value)
com.google.ortools.linearsolver.MPConstraintProto.Builder getConstraintBuilder()
.lang.Override Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
static Builder newBuilder(com.google.ortools.linearsolver.MPIndicatorConstraint prototype)
.lang.Override com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
.lang.Override final boolean isInitialized()
.lang.Override final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
com.google.ortools.linearsolver.MPConstraintProto getConstraint()
Builder setConstraint(com.google.ortools.linearsolver.MPConstraintProto.Builder builderForValue)
.lang.Override Builder clone()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
.lang.Override com.google.ortools.linearsolver.MPIndicatorConstraint getDefaultInstanceForType()
.lang.Override boolean equals(final java.lang.Object obj)
Builder clearVarValue()
static com.google.ortools.linearsolver.MPIndicatorConstraint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
.lang.Deprecated static final com.google.protobuf.Parser< MPIndicatorConstraint > PARSER
static Builder newBuilder()
boolean hasConstraint()
.lang.Override int getSerializedSize()
Builder clearVarIndex()
.lang.Override final com.google.protobuf.UnknownFieldSet getUnknownFields()
.lang.Override boolean hasVarValue()
.lang.Override com.google.ortools.linearsolver.MPConstraintProtoOrBuilder getConstraintOrBuilder()
static com.google.ortools.linearsolver.MPIndicatorConstraint parseDelimitedFrom(java.io.InputStream input)
.lang.Override com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
static com.google.ortools.linearsolver.MPConstraintProto getDefaultInstance()
.lang.Override Builder mergeFrom(com.google.protobuf.Message other)
.lang.Override final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
.lang.Override Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
.lang.Override final boolean isInitialized()
.lang.Override int getVarIndex()
Builder setConstraint(com.google.ortools.linearsolver.MPConstraintProto value)
static com.google.ortools.linearsolver.MPIndicatorConstraint parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Builder mergeFrom(com.google.ortools.linearsolver.MPIndicatorConstraint other)
static com.google.ortools.linearsolver.MPIndicatorConstraint getDefaultInstance()
.lang.Override boolean hasConstraint()
.lang.Override com.google.ortools.linearsolver.MPIndicatorConstraint buildPartial()
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.protobuf.ExtensionRegistryLite extensionRegistry)
.lang.Override Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
.lang.Override Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
static com.google.ortools.linearsolver.MPIndicatorConstraint parseFrom(byte[] data)
.lang.Override java.lang.Object newInstance(UnusedPrivateParameter unused)
.lang.Override Builder clear()
.lang.Override int hashCode()
.lang.Override boolean hasVarIndex()
static com.google.ortools.linearsolver.MPIndicatorConstraint parseFrom(java.io.InputStream input)