Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
AllDifferentConstraintProto.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/sat/cp_model.proto
4// Protobuf Java Version: 4.31.1
5
6package com.google.ortools.sat;
7
15@com.google.protobuf.Generated
16public final class AllDifferentConstraintProto extends
17 com.google.protobuf.GeneratedMessage implements
18 // @@protoc_insertion_point(message_implements:operations_research.sat.AllDifferentConstraintProto)
20private static final long serialVersionUID = 0L;
21 static {
22 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
23 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
24 /* major= */ 4,
25 /* minor= */ 31,
26 /* patch= */ 1,
27 /* suffix= */ "",
28 AllDifferentConstraintProto.class.getName());
29 }
30 // Use AllDifferentConstraintProto.newBuilder() to construct.
31 private AllDifferentConstraintProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
32 super(builder);
33 }
34 private AllDifferentConstraintProto() {
35 exprs_ = java.util.Collections.emptyList();
36 }
37
38 public static final com.google.protobuf.Descriptors.Descriptor
40 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_AllDifferentConstraintProto_descriptor;
41 }
42
43 @java.lang.Override
44 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
46 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_AllDifferentConstraintProto_fieldAccessorTable
47 .ensureFieldAccessorsInitialized(
48 com.google.ortools.sat.AllDifferentConstraintProto.class, com.google.ortools.sat.AllDifferentConstraintProto.Builder.class);
49 }
50
51 public static final int EXPRS_FIELD_NUMBER = 1;
52 @SuppressWarnings("serial")
53 private java.util.List<com.google.ortools.sat.LinearExpressionProto> exprs_;
57 @java.lang.Override
58 public java.util.List<com.google.ortools.sat.LinearExpressionProto> getExprsList() {
59 return exprs_;
60 }
61
64 @java.lang.Override
65 public java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder>
67 return exprs_;
68 }
69
72 @java.lang.Override
73 public int getExprsCount() {
74 return exprs_.size();
75 }
76
79 @java.lang.Override
81 return exprs_.get(index);
82 }
83
86 @java.lang.Override
88 int index) {
89 return exprs_.get(index);
90 }
91
92 private byte memoizedIsInitialized = -1;
93 @java.lang.Override
94 public final boolean isInitialized() {
95 byte isInitialized = memoizedIsInitialized;
96 if (isInitialized == 1) return true;
97 if (isInitialized == 0) return false;
98
99 memoizedIsInitialized = 1;
100 return true;
101 }
102
103 @java.lang.Override
104 public void writeTo(com.google.protobuf.CodedOutputStream output)
105 throws java.io.IOException {
106 for (int i = 0; i < exprs_.size(); i++) {
107 output.writeMessage(1, exprs_.get(i));
108 }
109 getUnknownFields().writeTo(output);
110 }
111
112 @java.lang.Override
113 public int getSerializedSize() {
114 int size = memoizedSize;
115 if (size != -1) return size;
116
117 size = 0;
118 for (int i = 0; i < exprs_.size(); i++) {
119 size += com.google.protobuf.CodedOutputStream
120 .computeMessageSize(1, exprs_.get(i));
121 }
122 size += getUnknownFields().getSerializedSize();
123 memoizedSize = size;
124 return size;
125 }
126
127 @java.lang.Override
128 public boolean equals(final java.lang.Object obj) {
129 if (obj == this) {
130 return true;
131 }
132 if (!(obj instanceof com.google.ortools.sat.AllDifferentConstraintProto)) {
133 return super.equals(obj);
134 }
135 com.google.ortools.sat.AllDifferentConstraintProto other = (com.google.ortools.sat.AllDifferentConstraintProto) obj;
136
137 if (!getExprsList()
138 .equals(other.getExprsList())) return false;
139 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
140 return true;
141 }
142
143 @java.lang.Override
144 public int hashCode() {
145 if (memoizedHashCode != 0) {
146 return memoizedHashCode;
147 }
148 int hash = 41;
149 hash = (19 * hash) + getDescriptor().hashCode();
150 if (getExprsCount() > 0) {
151 hash = (37 * hash) + EXPRS_FIELD_NUMBER;
152 hash = (53 * hash) + getExprsList().hashCode();
153 }
154 hash = (29 * hash) + getUnknownFields().hashCode();
155 memoizedHashCode = hash;
156 return hash;
157 }
158
160 java.nio.ByteBuffer data)
161 throws com.google.protobuf.InvalidProtocolBufferException {
162 return PARSER.parseFrom(data);
163 }
165 java.nio.ByteBuffer data,
166 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
167 throws com.google.protobuf.InvalidProtocolBufferException {
168 return PARSER.parseFrom(data, extensionRegistry);
169 }
171 com.google.protobuf.ByteString data)
172 throws com.google.protobuf.InvalidProtocolBufferException {
173 return PARSER.parseFrom(data);
174 }
176 com.google.protobuf.ByteString data,
177 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
178 throws com.google.protobuf.InvalidProtocolBufferException {
179 return PARSER.parseFrom(data, extensionRegistry);
180 }
182 throws com.google.protobuf.InvalidProtocolBufferException {
183 return PARSER.parseFrom(data);
184 }
186 byte[] data,
187 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
188 throws com.google.protobuf.InvalidProtocolBufferException {
189 return PARSER.parseFrom(data, extensionRegistry);
190 }
191 public static com.google.ortools.sat.AllDifferentConstraintProto parseFrom(java.io.InputStream input)
192 throws java.io.IOException {
193 return com.google.protobuf.GeneratedMessage
194 .parseWithIOException(PARSER, input);
195 }
197 java.io.InputStream input,
198 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
199 throws java.io.IOException {
200 return com.google.protobuf.GeneratedMessage
201 .parseWithIOException(PARSER, input, extensionRegistry);
202 }
203
205 throws java.io.IOException {
206 return com.google.protobuf.GeneratedMessage
207 .parseDelimitedWithIOException(PARSER, input);
208 }
209
211 java.io.InputStream input,
212 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
213 throws java.io.IOException {
214 return com.google.protobuf.GeneratedMessage
215 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
216 }
218 com.google.protobuf.CodedInputStream input)
219 throws java.io.IOException {
220 return com.google.protobuf.GeneratedMessage
221 .parseWithIOException(PARSER, input);
222 }
224 com.google.protobuf.CodedInputStream input,
225 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
226 throws java.io.IOException {
227 return com.google.protobuf.GeneratedMessage
228 .parseWithIOException(PARSER, input, extensionRegistry);
229 }
230
231 @java.lang.Override
232 public Builder newBuilderForType() { return newBuilder(); }
233 public static Builder newBuilder() {
234 return DEFAULT_INSTANCE.toBuilder();
235 }
236 public static Builder newBuilder(com.google.ortools.sat.AllDifferentConstraintProto prototype) {
237 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
238 }
239 @java.lang.Override
241 return this == DEFAULT_INSTANCE
242 ? new Builder() : new Builder().mergeFrom(this);
243 }
244
245 @java.lang.Override
247 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
248 Builder builder = new Builder(parent);
249 return builder;
250 }
251
258 public static final class Builder extends
259 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
260 // @@protoc_insertion_point(builder_implements:operations_research.sat.AllDifferentConstraintProto)
262 public static final com.google.protobuf.Descriptors.Descriptor
264 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_AllDifferentConstraintProto_descriptor;
265 }
266
267 @java.lang.Override
268 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
270 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_AllDifferentConstraintProto_fieldAccessorTable
271 .ensureFieldAccessorsInitialized(
272 com.google.ortools.sat.AllDifferentConstraintProto.class, com.google.ortools.sat.AllDifferentConstraintProto.Builder.class);
273 }
274
275 // Construct using com.google.ortools.sat.AllDifferentConstraintProto.newBuilder()
276 private Builder() {
277
278 }
279
280 private Builder(
281 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
282 super(parent);
283
284 }
285 @java.lang.Override
286 public Builder clear() {
287 super.clear();
288 bitField0_ = 0;
289 if (exprsBuilder_ == null) {
290 exprs_ = java.util.Collections.emptyList();
291 } else {
292 exprs_ = null;
293 exprsBuilder_.clear();
294 }
295 bitField0_ = (bitField0_ & ~0x00000001);
296 return this;
297 }
298
299 @java.lang.Override
300 public com.google.protobuf.Descriptors.Descriptor
302 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_AllDifferentConstraintProto_descriptor;
303 }
304
305 @java.lang.Override
307 return com.google.ortools.sat.AllDifferentConstraintProto.getDefaultInstance();
308 }
309
310 @java.lang.Override
313 if (!result.isInitialized()) {
314 throw newUninitializedMessageException(result);
315 }
316 return result;
317 }
318
319 @java.lang.Override
321 com.google.ortools.sat.AllDifferentConstraintProto result = new com.google.ortools.sat.AllDifferentConstraintProto(this);
322 buildPartialRepeatedFields(result);
323 if (bitField0_ != 0) { buildPartial0(result); }
324 onBuilt();
325 return result;
326 }
327
328 private void buildPartialRepeatedFields(com.google.ortools.sat.AllDifferentConstraintProto result) {
329 if (exprsBuilder_ == null) {
330 if (((bitField0_ & 0x00000001) != 0)) {
331 exprs_ = java.util.Collections.unmodifiableList(exprs_);
332 bitField0_ = (bitField0_ & ~0x00000001);
333 }
334 result.exprs_ = exprs_;
335 } else {
336 result.exprs_ = exprsBuilder_.build();
337 }
338 }
339
340 private void buildPartial0(com.google.ortools.sat.AllDifferentConstraintProto result) {
341 int from_bitField0_ = bitField0_;
342 }
343
344 @java.lang.Override
345 public Builder mergeFrom(com.google.protobuf.Message other) {
346 if (other instanceof com.google.ortools.sat.AllDifferentConstraintProto) {
347 return mergeFrom((com.google.ortools.sat.AllDifferentConstraintProto)other);
348 } else {
349 super.mergeFrom(other);
350 return this;
351 }
352 }
353
354 public Builder mergeFrom(com.google.ortools.sat.AllDifferentConstraintProto other) {
355 if (other == com.google.ortools.sat.AllDifferentConstraintProto.getDefaultInstance()) return this;
356 if (exprsBuilder_ == null) {
357 if (!other.exprs_.isEmpty()) {
358 if (exprs_.isEmpty()) {
359 exprs_ = other.exprs_;
360 bitField0_ = (bitField0_ & ~0x00000001);
361 } else {
362 ensureExprsIsMutable();
363 exprs_.addAll(other.exprs_);
364 }
365 onChanged();
366 }
367 } else {
368 if (!other.exprs_.isEmpty()) {
369 if (exprsBuilder_.isEmpty()) {
370 exprsBuilder_.dispose();
371 exprsBuilder_ = null;
372 exprs_ = other.exprs_;
373 bitField0_ = (bitField0_ & ~0x00000001);
374 exprsBuilder_ =
375 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
376 internalGetExprsFieldBuilder() : null;
377 } else {
378 exprsBuilder_.addAllMessages(other.exprs_);
379 }
380 }
381 }
382 this.mergeUnknownFields(other.getUnknownFields());
383 onChanged();
384 return this;
385 }
386
387 @java.lang.Override
388 public final boolean isInitialized() {
389 return true;
390 }
391
392 @java.lang.Override
393 public Builder mergeFrom(
394 com.google.protobuf.CodedInputStream input,
395 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
396 throws java.io.IOException {
397 if (extensionRegistry == null) {
398 throw new java.lang.NullPointerException();
399 }
400 try {
401 boolean done = false;
402 while (!done) {
403 int tag = input.readTag();
404 switch (tag) {
405 case 0:
406 done = true;
407 break;
408 case 10: {
410 input.readMessage(
411 com.google.ortools.sat.LinearExpressionProto.parser(),
412 extensionRegistry);
413 if (exprsBuilder_ == null) {
414 ensureExprsIsMutable();
415 exprs_.add(m);
416 } else {
417 exprsBuilder_.addMessage(m);
418 }
419 break;
420 } // case 10
421 default: {
422 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
423 done = true; // was an endgroup tag
424 }
425 break;
426 } // default:
427 } // switch (tag)
428 } // while (!done)
429 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
430 throw e.unwrapIOException();
431 } finally {
432 onChanged();
433 } // finally
434 return this;
435 }
436 private int bitField0_;
437
438 private java.util.List<com.google.ortools.sat.LinearExpressionProto> exprs_ =
439 java.util.Collections.emptyList();
440 private void ensureExprsIsMutable() {
441 if (!((bitField0_ & 0x00000001) != 0)) {
442 exprs_ = new java.util.ArrayList<com.google.ortools.sat.LinearExpressionProto>(exprs_);
443 bitField0_ |= 0x00000001;
444 }
445 }
446
447 private com.google.protobuf.RepeatedFieldBuilder<
448 com.google.ortools.sat.LinearExpressionProto, com.google.ortools.sat.LinearExpressionProto.Builder, com.google.ortools.sat.LinearExpressionProtoOrBuilder> exprsBuilder_;
449
453 public java.util.List<com.google.ortools.sat.LinearExpressionProto> getExprsList() {
454 if (exprsBuilder_ == null) {
455 return java.util.Collections.unmodifiableList(exprs_);
456 } else {
457 return exprsBuilder_.getMessageList();
458 }
459 }
460
463 public int getExprsCount() {
464 if (exprsBuilder_ == null) {
465 return exprs_.size();
466 } else {
467 return exprsBuilder_.getCount();
468 }
469 }
470
474 if (exprsBuilder_ == null) {
475 return exprs_.get(index);
476 } else {
477 return exprsBuilder_.getMessage(index);
478 }
479 }
480
483 public Builder setExprs(
484 int index, com.google.ortools.sat.LinearExpressionProto value) {
485 if (exprsBuilder_ == null) {
486 if (value == null) {
487 throw new NullPointerException();
488 }
489 ensureExprsIsMutable();
490 exprs_.set(index, value);
491 onChanged();
492 } else {
493 exprsBuilder_.setMessage(index, value);
494 }
495 return this;
496 }
497
500 public Builder setExprs(
501 int index, com.google.ortools.sat.LinearExpressionProto.Builder builderForValue) {
502 if (exprsBuilder_ == null) {
503 ensureExprsIsMutable();
504 exprs_.set(index, builderForValue.build());
505 onChanged();
506 } else {
507 exprsBuilder_.setMessage(index, builderForValue.build());
508 }
509 return this;
510 }
511
514 public Builder addExprs(com.google.ortools.sat.LinearExpressionProto value) {
515 if (exprsBuilder_ == null) {
516 if (value == null) {
517 throw new NullPointerException();
518 }
519 ensureExprsIsMutable();
520 exprs_.add(value);
521 onChanged();
522 } else {
523 exprsBuilder_.addMessage(value);
524 }
525 return this;
526 }
527
530 public Builder addExprs(
531 int index, com.google.ortools.sat.LinearExpressionProto value) {
532 if (exprsBuilder_ == null) {
533 if (value == null) {
534 throw new NullPointerException();
535 }
536 ensureExprsIsMutable();
537 exprs_.add(index, value);
538 onChanged();
539 } else {
540 exprsBuilder_.addMessage(index, value);
541 }
542 return this;
543 }
544
547 public Builder addExprs(
548 com.google.ortools.sat.LinearExpressionProto.Builder builderForValue) {
549 if (exprsBuilder_ == null) {
550 ensureExprsIsMutable();
551 exprs_.add(builderForValue.build());
552 onChanged();
553 } else {
554 exprsBuilder_.addMessage(builderForValue.build());
555 }
556 return this;
557 }
558
561 public Builder addExprs(
562 int index, com.google.ortools.sat.LinearExpressionProto.Builder builderForValue) {
563 if (exprsBuilder_ == null) {
564 ensureExprsIsMutable();
565 exprs_.add(index, builderForValue.build());
566 onChanged();
567 } else {
568 exprsBuilder_.addMessage(index, builderForValue.build());
569 }
570 return this;
571 }
572
575 public Builder addAllExprs(
576 java.lang.Iterable<? extends com.google.ortools.sat.LinearExpressionProto> values) {
577 if (exprsBuilder_ == null) {
578 ensureExprsIsMutable();
579 com.google.protobuf.AbstractMessageLite.Builder.addAll(
580 values, exprs_);
581 onChanged();
582 } else {
583 exprsBuilder_.addAllMessages(values);
584 }
585 return this;
586 }
587
590 public Builder clearExprs() {
591 if (exprsBuilder_ == null) {
592 exprs_ = java.util.Collections.emptyList();
593 bitField0_ = (bitField0_ & ~0x00000001);
594 onChanged();
595 } else {
596 exprsBuilder_.clear();
597 }
598 return this;
599 }
600
603 public Builder removeExprs(int index) {
604 if (exprsBuilder_ == null) {
605 ensureExprsIsMutable();
606 exprs_.remove(index);
607 onChanged();
608 } else {
609 exprsBuilder_.remove(index);
610 }
611 return this;
612 }
613
617 int index) {
618 return internalGetExprsFieldBuilder().getBuilder(index);
619 }
620
624 int index) {
625 if (exprsBuilder_ == null) {
626 return exprs_.get(index); } else {
627 return exprsBuilder_.getMessageOrBuilder(index);
628 }
629 }
630
633 public java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder>
635 if (exprsBuilder_ != null) {
636 return exprsBuilder_.getMessageOrBuilderList();
637 } else {
638 return java.util.Collections.unmodifiableList(exprs_);
639 }
640 }
641
645 return internalGetExprsFieldBuilder().addBuilder(
646 com.google.ortools.sat.LinearExpressionProto.getDefaultInstance());
647 }
648
652 int index) {
653 return internalGetExprsFieldBuilder().addBuilder(
654 index, com.google.ortools.sat.LinearExpressionProto.getDefaultInstance());
655 }
656
659 public java.util.List<com.google.ortools.sat.LinearExpressionProto.Builder>
661 return internalGetExprsFieldBuilder().getBuilderList();
662 }
663 private com.google.protobuf.RepeatedFieldBuilder<
664 com.google.ortools.sat.LinearExpressionProto, com.google.ortools.sat.LinearExpressionProto.Builder, com.google.ortools.sat.LinearExpressionProtoOrBuilder>
665 internalGetExprsFieldBuilder() {
666 if (exprsBuilder_ == null) {
667 exprsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
668 com.google.ortools.sat.LinearExpressionProto, com.google.ortools.sat.LinearExpressionProto.Builder, com.google.ortools.sat.LinearExpressionProtoOrBuilder>(
669 exprs_,
670 ((bitField0_ & 0x00000001) != 0),
671 getParentForChildren(),
672 isClean());
673 exprs_ = null;
674 }
675 return exprsBuilder_;
676 }
677
678 // @@protoc_insertion_point(builder_scope:operations_research.sat.AllDifferentConstraintProto)
679 }
680
681 // @@protoc_insertion_point(class_scope:operations_research.sat.AllDifferentConstraintProto)
682 private static final com.google.ortools.sat.AllDifferentConstraintProto DEFAULT_INSTANCE;
683 static {
684 DEFAULT_INSTANCE = new com.google.ortools.sat.AllDifferentConstraintProto();
685 }
686
688 return DEFAULT_INSTANCE;
689 }
690
691 private static final com.google.protobuf.Parser<AllDifferentConstraintProto>
692 PARSER = new com.google.protobuf.AbstractParser<AllDifferentConstraintProto>() {
693 @java.lang.Override
694 public AllDifferentConstraintProto parsePartialFrom(
695 com.google.protobuf.CodedInputStream input,
696 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
697 throws com.google.protobuf.InvalidProtocolBufferException {
698 Builder builder = newBuilder();
699 try {
700 builder.mergeFrom(input, extensionRegistry);
701 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
702 throw e.setUnfinishedMessage(builder.buildPartial());
703 } catch (com.google.protobuf.UninitializedMessageException e) {
704 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
705 } catch (java.io.IOException e) {
706 throw new com.google.protobuf.InvalidProtocolBufferException(e)
707 .setUnfinishedMessage(builder.buildPartial());
708 }
709 return builder.buildPartial();
710 }
711 };
712
713 public static com.google.protobuf.Parser<AllDifferentConstraintProto> parser() {
714 return PARSER;
715 }
716
717 @java.lang.Override
718 public com.google.protobuf.Parser<AllDifferentConstraintProto> getParserForType() {
719 return PARSER;
720 }
721
722 @java.lang.Override
726
727}
728
Builder addExprs(int index, com.google.ortools.sat.LinearExpressionProto.Builder builderForValue)
com.google.ortools.sat.LinearExpressionProto.Builder addExprsBuilder()
Builder setExprs(int index, com.google.ortools.sat.LinearExpressionProto.Builder builderForValue)
com.google.ortools.sat.LinearExpressionProtoOrBuilder getExprsOrBuilder(int index)
Builder addExprs(int index, com.google.ortools.sat.LinearExpressionProto value)
Builder mergeFrom(com.google.ortools.sat.AllDifferentConstraintProto other)
com.google.ortools.sat.LinearExpressionProto.Builder addExprsBuilder(int index)
com.google.ortools.sat.AllDifferentConstraintProto buildPartial()
com.google.ortools.sat.LinearExpressionProto getExprs(int index)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
com.google.ortools.sat.AllDifferentConstraintProto getDefaultInstanceForType()
com.google.ortools.sat.AllDifferentConstraintProto build()
com.google.ortools.sat.LinearExpressionProto.Builder getExprsBuilder(int index)
Builder setExprs(int index, com.google.ortools.sat.LinearExpressionProto value)
java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder > getExprsOrBuilderList()
Builder addAllExprs(java.lang.Iterable<? extends com.google.ortools.sat.LinearExpressionProto > values)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
java.util.List< com.google.ortools.sat.LinearExpressionProto > getExprsList()
java.util.List< com.google.ortools.sat.LinearExpressionProto.Builder > getExprsBuilderList()
Builder addExprs(com.google.ortools.sat.LinearExpressionProto value)
Builder addExprs(com.google.ortools.sat.LinearExpressionProto.Builder builderForValue)
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Builder newBuilder(com.google.ortools.sat.AllDifferentConstraintProto prototype)
static com.google.protobuf.Parser< AllDifferentConstraintProto > parser()
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static com.google.ortools.sat.AllDifferentConstraintProto getDefaultInstance()
static com.google.ortools.sat.AllDifferentConstraintProto parseFrom(java.io.InputStream input)
static com.google.ortools.sat.AllDifferentConstraintProto parseFrom(com.google.protobuf.ByteString data)
void writeTo(com.google.protobuf.CodedOutputStream output)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
java.util.List< com.google.ortools.sat.LinearExpressionProto > getExprsList()
static com.google.ortools.sat.AllDifferentConstraintProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.Parser< AllDifferentConstraintProto > getParserForType()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
com.google.ortools.sat.LinearExpressionProtoOrBuilder getExprsOrBuilder(int index)
static com.google.ortools.sat.AllDifferentConstraintProto parseFrom(byte[] data)
static com.google.ortools.sat.AllDifferentConstraintProto parseFrom(com.google.protobuf.CodedInputStream input)
static com.google.ortools.sat.AllDifferentConstraintProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.AllDifferentConstraintProto parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.sat.AllDifferentConstraintProto getDefaultInstanceForType()
static com.google.ortools.sat.AllDifferentConstraintProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.sat.LinearExpressionProto getExprs(int index)
static com.google.ortools.sat.AllDifferentConstraintProto parseFrom(java.nio.ByteBuffer data)
java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder > getExprsOrBuilderList()
static com.google.ortools.sat.AllDifferentConstraintProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.AllDifferentConstraintProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.AllDifferentConstraintProto parseDelimitedFrom(java.io.InputStream input)