Google OR-Tools v9.11
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// source: ortools/sat/cp_model.proto
3
4// Protobuf Java Version: 4.26.1
5package com.google.ortools.sat;
6
14public final class AllDifferentConstraintProto extends
15 com.google.protobuf.GeneratedMessage implements
16 // @@protoc_insertion_point(message_implements:operations_research.sat.AllDifferentConstraintProto)
18private static final long serialVersionUID = 0L;
19 static {
20 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
21 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
22 /* major= */ 4,
23 /* minor= */ 26,
24 /* patch= */ 1,
25 /* suffix= */ "",
26 AllDifferentConstraintProto.class.getName());
27 }
28 // Use AllDifferentConstraintProto.newBuilder() to construct.
29 private AllDifferentConstraintProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
30 super(builder);
31 }
33 exprs_ = java.util.Collections.emptyList();
34 }
35
36 public static final com.google.protobuf.Descriptors.Descriptor
38 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_AllDifferentConstraintProto_descriptor;
39 }
40
41 @java.lang.Override
42 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
44 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_AllDifferentConstraintProto_fieldAccessorTable
45 .ensureFieldAccessorsInitialized(
46 com.google.ortools.sat.AllDifferentConstraintProto.class, com.google.ortools.sat.AllDifferentConstraintProto.Builder.class);
47 }
48
49 public static final int EXPRS_FIELD_NUMBER = 1;
50 @SuppressWarnings("serial")
51 private java.util.List<com.google.ortools.sat.LinearExpressionProto> exprs_;
55 @java.lang.Override
56 public java.util.List<com.google.ortools.sat.LinearExpressionProto> getExprsList() {
57 return exprs_;
58 }
62 @java.lang.Override
63 public java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder>
65 return exprs_;
66 }
70 @java.lang.Override
71 public int getExprsCount() {
72 return exprs_.size();
73 }
77 @java.lang.Override
79 return exprs_.get(index);
80 }
84 @java.lang.Override
86 int index) {
87 return exprs_.get(index);
88 }
89
90 private byte memoizedIsInitialized = -1;
91 @java.lang.Override
92 public final boolean isInitialized() {
93 byte isInitialized = memoizedIsInitialized;
94 if (isInitialized == 1) return true;
95 if (isInitialized == 0) return false;
96
97 memoizedIsInitialized = 1;
98 return true;
99 }
100
101 @java.lang.Override
102 public void writeTo(com.google.protobuf.CodedOutputStream output)
103 throws java.io.IOException {
104 for (int i = 0; i < exprs_.size(); i++) {
105 output.writeMessage(1, exprs_.get(i));
106 }
107 getUnknownFields().writeTo(output);
108 }
109
110 @java.lang.Override
111 public int getSerializedSize() {
112 int size = memoizedSize;
113 if (size != -1) return size;
114
115 size = 0;
116 for (int i = 0; i < exprs_.size(); i++) {
117 size += com.google.protobuf.CodedOutputStream
118 .computeMessageSize(1, exprs_.get(i));
119 }
120 size += getUnknownFields().getSerializedSize();
121 memoizedSize = size;
122 return size;
123 }
124
125 @java.lang.Override
126 public boolean equals(final java.lang.Object obj) {
127 if (obj == this) {
128 return true;
129 }
130 if (!(obj instanceof com.google.ortools.sat.AllDifferentConstraintProto)) {
131 return super.equals(obj);
132 }
133 com.google.ortools.sat.AllDifferentConstraintProto other = (com.google.ortools.sat.AllDifferentConstraintProto) obj;
134
135 if (!getExprsList()
136 .equals(other.getExprsList())) return false;
137 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
138 return true;
139 }
140
141 @java.lang.Override
142 public int hashCode() {
143 if (memoizedHashCode != 0) {
144 return memoizedHashCode;
145 }
146 int hash = 41;
147 hash = (19 * hash) + getDescriptor().hashCode();
148 if (getExprsCount() > 0) {
149 hash = (37 * hash) + EXPRS_FIELD_NUMBER;
150 hash = (53 * hash) + getExprsList().hashCode();
151 }
152 hash = (29 * hash) + getUnknownFields().hashCode();
153 memoizedHashCode = hash;
154 return hash;
155 }
156
158 java.nio.ByteBuffer data)
159 throws com.google.protobuf.InvalidProtocolBufferException {
160 return PARSER.parseFrom(data);
161 }
163 java.nio.ByteBuffer data,
164 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
165 throws com.google.protobuf.InvalidProtocolBufferException {
166 return PARSER.parseFrom(data, extensionRegistry);
167 }
169 com.google.protobuf.ByteString data)
170 throws com.google.protobuf.InvalidProtocolBufferException {
171 return PARSER.parseFrom(data);
172 }
174 com.google.protobuf.ByteString data,
175 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
176 throws com.google.protobuf.InvalidProtocolBufferException {
177 return PARSER.parseFrom(data, extensionRegistry);
178 }
180 throws com.google.protobuf.InvalidProtocolBufferException {
181 return PARSER.parseFrom(data);
182 }
184 byte[] data,
185 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
186 throws com.google.protobuf.InvalidProtocolBufferException {
187 return PARSER.parseFrom(data, extensionRegistry);
188 }
189 public static com.google.ortools.sat.AllDifferentConstraintProto parseFrom(java.io.InputStream input)
190 throws java.io.IOException {
191 return com.google.protobuf.GeneratedMessage
192 .parseWithIOException(PARSER, input);
193 }
195 java.io.InputStream input,
196 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
197 throws java.io.IOException {
198 return com.google.protobuf.GeneratedMessage
199 .parseWithIOException(PARSER, input, extensionRegistry);
200 }
201
203 throws java.io.IOException {
204 return com.google.protobuf.GeneratedMessage
205 .parseDelimitedWithIOException(PARSER, input);
206 }
207
209 java.io.InputStream input,
210 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
211 throws java.io.IOException {
212 return com.google.protobuf.GeneratedMessage
213 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
214 }
216 com.google.protobuf.CodedInputStream input)
217 throws java.io.IOException {
218 return com.google.protobuf.GeneratedMessage
219 .parseWithIOException(PARSER, input);
220 }
222 com.google.protobuf.CodedInputStream input,
223 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
224 throws java.io.IOException {
225 return com.google.protobuf.GeneratedMessage
226 .parseWithIOException(PARSER, input, extensionRegistry);
227 }
228
229 @java.lang.Override
230 public Builder newBuilderForType() { return newBuilder(); }
231 public static Builder newBuilder() {
232 return DEFAULT_INSTANCE.toBuilder();
233 }
234 public static Builder newBuilder(com.google.ortools.sat.AllDifferentConstraintProto prototype) {
235 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
236 }
237 @java.lang.Override
239 return this == DEFAULT_INSTANCE
240 ? new Builder() : new Builder().mergeFrom(this);
241 }
242
243 @java.lang.Override
245 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
246 Builder builder = new Builder(parent);
247 return builder;
248 }
256 public static final class Builder extends
257 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
258 // @@protoc_insertion_point(builder_implements:operations_research.sat.AllDifferentConstraintProto)
259 com.google.ortools.sat.AllDifferentConstraintProtoOrBuilder {
260 public static final com.google.protobuf.Descriptors.Descriptor
262 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_AllDifferentConstraintProto_descriptor;
263 }
264
265 @java.lang.Override
266 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
268 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_AllDifferentConstraintProto_fieldAccessorTable
269 .ensureFieldAccessorsInitialized(
270 com.google.ortools.sat.AllDifferentConstraintProto.class, com.google.ortools.sat.AllDifferentConstraintProto.Builder.class);
271 }
272
273 // Construct using com.google.ortools.sat.AllDifferentConstraintProto.newBuilder()
274 private Builder() {
275
276 }
277
278 private Builder(
279 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
280 super(parent);
281
282 }
283 @java.lang.Override
284 public Builder clear() {
285 super.clear();
286 bitField0_ = 0;
287 if (exprsBuilder_ == null) {
288 exprs_ = java.util.Collections.emptyList();
289 } else {
290 exprs_ = null;
291 exprsBuilder_.clear();
292 }
293 bitField0_ = (bitField0_ & ~0x00000001);
294 return this;
295 }
296
297 @java.lang.Override
298 public com.google.protobuf.Descriptors.Descriptor
300 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_AllDifferentConstraintProto_descriptor;
301 }
302
303 @java.lang.Override
305 return com.google.ortools.sat.AllDifferentConstraintProto.getDefaultInstance();
306 }
307
308 @java.lang.Override
311 if (!result.isInitialized()) {
312 throw newUninitializedMessageException(result);
313 }
314 return result;
315 }
316
317 @java.lang.Override
319 com.google.ortools.sat.AllDifferentConstraintProto result = new com.google.ortools.sat.AllDifferentConstraintProto(this);
320 buildPartialRepeatedFields(result);
321 if (bitField0_ != 0) { buildPartial0(result); }
322 onBuilt();
323 return result;
324 }
325
326 private void buildPartialRepeatedFields(com.google.ortools.sat.AllDifferentConstraintProto result) {
327 if (exprsBuilder_ == null) {
328 if (((bitField0_ & 0x00000001) != 0)) {
329 exprs_ = java.util.Collections.unmodifiableList(exprs_);
330 bitField0_ = (bitField0_ & ~0x00000001);
331 }
332 result.exprs_ = exprs_;
333 } else {
334 result.exprs_ = exprsBuilder_.build();
335 }
336 }
337
338 private void buildPartial0(com.google.ortools.sat.AllDifferentConstraintProto result) {
339 int from_bitField0_ = bitField0_;
340 }
341
342 @java.lang.Override
343 public Builder mergeFrom(com.google.protobuf.Message other) {
344 if (other instanceof com.google.ortools.sat.AllDifferentConstraintProto) {
345 return mergeFrom((com.google.ortools.sat.AllDifferentConstraintProto)other);
346 } else {
347 super.mergeFrom(other);
348 return this;
349 }
350 }
351
352 public Builder mergeFrom(com.google.ortools.sat.AllDifferentConstraintProto other) {
353 if (other == com.google.ortools.sat.AllDifferentConstraintProto.getDefaultInstance()) return this;
354 if (exprsBuilder_ == null) {
355 if (!other.exprs_.isEmpty()) {
356 if (exprs_.isEmpty()) {
357 exprs_ = other.exprs_;
358 bitField0_ = (bitField0_ & ~0x00000001);
359 } else {
360 ensureExprsIsMutable();
361 exprs_.addAll(other.exprs_);
362 }
363 onChanged();
364 }
365 } else {
366 if (!other.exprs_.isEmpty()) {
367 if (exprsBuilder_.isEmpty()) {
368 exprsBuilder_.dispose();
369 exprsBuilder_ = null;
370 exprs_ = other.exprs_;
371 bitField0_ = (bitField0_ & ~0x00000001);
372 exprsBuilder_ =
373 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
374 getExprsFieldBuilder() : null;
375 } else {
376 exprsBuilder_.addAllMessages(other.exprs_);
377 }
378 }
379 }
380 this.mergeUnknownFields(other.getUnknownFields());
381 onChanged();
382 return this;
383 }
384
385 @java.lang.Override
386 public final boolean isInitialized() {
387 return true;
388 }
389
390 @java.lang.Override
392 com.google.protobuf.CodedInputStream input,
393 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
394 throws java.io.IOException {
395 if (extensionRegistry == null) {
396 throw new java.lang.NullPointerException();
397 }
398 try {
399 boolean done = false;
400 while (!done) {
401 int tag = input.readTag();
402 switch (tag) {
403 case 0:
404 done = true;
405 break;
406 case 10: {
408 input.readMessage(
409 com.google.ortools.sat.LinearExpressionProto.parser(),
410 extensionRegistry);
411 if (exprsBuilder_ == null) {
412 ensureExprsIsMutable();
413 exprs_.add(m);
414 } else {
415 exprsBuilder_.addMessage(m);
416 }
417 break;
418 } // case 10
419 default: {
420 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
421 done = true; // was an endgroup tag
422 }
423 break;
424 } // default:
425 } // switch (tag)
426 } // while (!done)
427 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
428 throw e.unwrapIOException();
429 } finally {
430 onChanged();
431 } // finally
432 return this;
433 }
434 private int bitField0_;
435
436 private java.util.List<com.google.ortools.sat.LinearExpressionProto> exprs_ =
437 java.util.Collections.emptyList();
438 private void ensureExprsIsMutable() {
439 if (!((bitField0_ & 0x00000001) != 0)) {
440 exprs_ = new java.util.ArrayList<com.google.ortools.sat.LinearExpressionProto>(exprs_);
441 bitField0_ |= 0x00000001;
442 }
443 }
444
445 private com.google.protobuf.RepeatedFieldBuilder<
446 com.google.ortools.sat.LinearExpressionProto, com.google.ortools.sat.LinearExpressionProto.Builder, com.google.ortools.sat.LinearExpressionProtoOrBuilder> exprsBuilder_;
447
451 public java.util.List<com.google.ortools.sat.LinearExpressionProto> getExprsList() {
452 if (exprsBuilder_ == null) {
453 return java.util.Collections.unmodifiableList(exprs_);
454 } else {
455 return exprsBuilder_.getMessageList();
456 }
457 }
461 public int getExprsCount() {
462 if (exprsBuilder_ == null) {
463 return exprs_.size();
464 } else {
465 return exprsBuilder_.getCount();
466 }
467 }
472 if (exprsBuilder_ == null) {
473 return exprs_.get(index);
474 } else {
475 return exprsBuilder_.getMessage(index);
476 }
477 }
482 int index, com.google.ortools.sat.LinearExpressionProto value) {
483 if (exprsBuilder_ == null) {
484 if (value == null) {
485 throw new NullPointerException();
486 }
487 ensureExprsIsMutable();
488 exprs_.set(index, value);
489 onChanged();
490 } else {
491 exprsBuilder_.setMessage(index, value);
492 }
493 return this;
494 }
499 int index, com.google.ortools.sat.LinearExpressionProto.Builder builderForValue) {
500 if (exprsBuilder_ == null) {
501 ensureExprsIsMutable();
502 exprs_.set(index, builderForValue.build());
503 onChanged();
504 } else {
505 exprsBuilder_.setMessage(index, builderForValue.build());
506 }
507 return this;
508 }
512 public Builder addExprs(com.google.ortools.sat.LinearExpressionProto value) {
513 if (exprsBuilder_ == null) {
514 if (value == null) {
515 throw new NullPointerException();
516 }
517 ensureExprsIsMutable();
518 exprs_.add(value);
519 onChanged();
520 } else {
521 exprsBuilder_.addMessage(value);
522 }
523 return this;
524 }
529 int index, com.google.ortools.sat.LinearExpressionProto value) {
530 if (exprsBuilder_ == null) {
531 if (value == null) {
532 throw new NullPointerException();
533 }
534 ensureExprsIsMutable();
535 exprs_.add(index, value);
536 onChanged();
537 } else {
538 exprsBuilder_.addMessage(index, value);
539 }
540 return this;
541 }
546 com.google.ortools.sat.LinearExpressionProto.Builder builderForValue) {
547 if (exprsBuilder_ == null) {
548 ensureExprsIsMutable();
549 exprs_.add(builderForValue.build());
550 onChanged();
551 } else {
552 exprsBuilder_.addMessage(builderForValue.build());
553 }
554 return this;
555 }
560 int index, com.google.ortools.sat.LinearExpressionProto.Builder builderForValue) {
561 if (exprsBuilder_ == null) {
562 ensureExprsIsMutable();
563 exprs_.add(index, builderForValue.build());
564 onChanged();
565 } else {
566 exprsBuilder_.addMessage(index, builderForValue.build());
567 }
568 return this;
569 }
574 java.lang.Iterable<? extends com.google.ortools.sat.LinearExpressionProto> values) {
575 if (exprsBuilder_ == null) {
576 ensureExprsIsMutable();
577 com.google.protobuf.AbstractMessageLite.Builder.addAll(
578 values, exprs_);
579 onChanged();
580 } else {
581 exprsBuilder_.addAllMessages(values);
582 }
583 return this;
584 }
589 if (exprsBuilder_ == null) {
590 exprs_ = java.util.Collections.emptyList();
591 bitField0_ = (bitField0_ & ~0x00000001);
592 onChanged();
593 } else {
594 exprsBuilder_.clear();
595 }
596 return this;
597 }
601 public Builder removeExprs(int index) {
602 if (exprsBuilder_ == null) {
603 ensureExprsIsMutable();
604 exprs_.remove(index);
605 onChanged();
606 } else {
607 exprsBuilder_.remove(index);
608 }
609 return this;
610 }
615 int index) {
616 return getExprsFieldBuilder().getBuilder(index);
617 }
622 int index) {
623 if (exprsBuilder_ == null) {
624 return exprs_.get(index); } else {
625 return exprsBuilder_.getMessageOrBuilder(index);
626 }
627 }
631 public java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder>
633 if (exprsBuilder_ != null) {
634 return exprsBuilder_.getMessageOrBuilderList();
635 } else {
636 return java.util.Collections.unmodifiableList(exprs_);
637 }
638 }
643 return getExprsFieldBuilder().addBuilder(
644 com.google.ortools.sat.LinearExpressionProto.getDefaultInstance());
645 }
650 int index) {
651 return getExprsFieldBuilder().addBuilder(
652 index, com.google.ortools.sat.LinearExpressionProto.getDefaultInstance());
653 }
657 public java.util.List<com.google.ortools.sat.LinearExpressionProto.Builder>
659 return getExprsFieldBuilder().getBuilderList();
660 }
661 private com.google.protobuf.RepeatedFieldBuilder<
662 com.google.ortools.sat.LinearExpressionProto, com.google.ortools.sat.LinearExpressionProto.Builder, com.google.ortools.sat.LinearExpressionProtoOrBuilder>
663 getExprsFieldBuilder() {
664 if (exprsBuilder_ == null) {
665 exprsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
666 com.google.ortools.sat.LinearExpressionProto, com.google.ortools.sat.LinearExpressionProto.Builder, com.google.ortools.sat.LinearExpressionProtoOrBuilder>(
667 exprs_,
668 ((bitField0_ & 0x00000001) != 0),
669 getParentForChildren(),
670 isClean());
671 exprs_ = null;
672 }
673 return exprsBuilder_;
674 }
675
676 // @@protoc_insertion_point(builder_scope:operations_research.sat.AllDifferentConstraintProto)
677 }
678
679 // @@protoc_insertion_point(class_scope:operations_research.sat.AllDifferentConstraintProto)
680 private static final com.google.ortools.sat.AllDifferentConstraintProto DEFAULT_INSTANCE;
681 static {
682 DEFAULT_INSTANCE = new com.google.ortools.sat.AllDifferentConstraintProto();
683 }
684
686 return DEFAULT_INSTANCE;
687 }
688
689 private static final com.google.protobuf.Parser<AllDifferentConstraintProto>
690 PARSER = new com.google.protobuf.AbstractParser<AllDifferentConstraintProto>() {
691 @java.lang.Override
692 public AllDifferentConstraintProto parsePartialFrom(
693 com.google.protobuf.CodedInputStream input,
694 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
695 throws com.google.protobuf.InvalidProtocolBufferException {
696 Builder builder = newBuilder();
697 try {
698 builder.mergeFrom(input, extensionRegistry);
699 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
700 throw e.setUnfinishedMessage(builder.buildPartial());
701 } catch (com.google.protobuf.UninitializedMessageException e) {
702 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
703 } catch (java.io.IOException e) {
704 throw new com.google.protobuf.InvalidProtocolBufferException(e)
705 .setUnfinishedMessage(builder.buildPartial());
706 }
707 return builder.buildPartial();
708 }
709 };
710
711 public static com.google.protobuf.Parser<AllDifferentConstraintProto> parser() {
712 return PARSER;
713 }
714
715 @java.lang.Override
716 public com.google.protobuf.Parser<AllDifferentConstraintProto> getParserForType() {
717 return PARSER;
718 }
719
720 @java.lang.Override
724
725}
726
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)