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