Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
AutomatonConstraintProto.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
16@com.google.protobuf.Generated
17public final class AutomatonConstraintProto extends
18 com.google.protobuf.GeneratedMessage implements
19 // @@protoc_insertion_point(message_implements:operations_research.sat.AutomatonConstraintProto)
21private static final long serialVersionUID = 0L;
22 static {
23 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
24 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
25 /* major= */ 4,
26 /* minor= */ 31,
27 /* patch= */ 1,
28 /* suffix= */ "",
29 AutomatonConstraintProto.class.getName());
30 }
31 // Use AutomatonConstraintProto.newBuilder() to construct.
32 private AutomatonConstraintProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
33 super(builder);
34 }
35 private AutomatonConstraintProto() {
36 finalStates_ = emptyLongList();
37 transitionTail_ = emptyLongList();
38 transitionHead_ = emptyLongList();
39 transitionLabel_ = emptyLongList();
40 vars_ = emptyIntList();
41 exprs_ = java.util.Collections.emptyList();
42 }
43
44 public static final com.google.protobuf.Descriptors.Descriptor
46 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_AutomatonConstraintProto_descriptor;
47 }
48
49 @java.lang.Override
50 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
52 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_AutomatonConstraintProto_fieldAccessorTable
53 .ensureFieldAccessorsInitialized(
54 com.google.ortools.sat.AutomatonConstraintProto.class, com.google.ortools.sat.AutomatonConstraintProto.Builder.class);
55 }
56
57 public static final int STARTING_STATE_FIELD_NUMBER = 2;
58 private long startingState_ = 0L;
69 @java.lang.Override
70 public long getStartingState() {
71 return startingState_;
72 }
73
74 public static final int FINAL_STATES_FIELD_NUMBER = 3;
75 @SuppressWarnings("serial")
76 private com.google.protobuf.Internal.LongList finalStates_ =
77 emptyLongList();
82 @java.lang.Override
83 public java.util.List<java.lang.Long>
85 return finalStates_;
86 }
87
91 public int getFinalStatesCount() {
92 return finalStates_.size();
93 }
94
99 public long getFinalStates(int index) {
100 return finalStates_.getLong(index);
101 }
102 private int finalStatesMemoizedSerializedSize = -1;
103
104 public static final int TRANSITION_TAIL_FIELD_NUMBER = 4;
105 @SuppressWarnings("serial")
106 private com.google.protobuf.Internal.LongList transitionTail_ =
107 emptyLongList();
118 @java.lang.Override
119 public java.util.List<java.lang.Long>
121 return transitionTail_;
122 }
123
134 return transitionTail_.size();
135 }
136
147 public long getTransitionTail(int index) {
148 return transitionTail_.getLong(index);
149 }
150 private int transitionTailMemoizedSerializedSize = -1;
151
152 public static final int TRANSITION_HEAD_FIELD_NUMBER = 5;
153 @SuppressWarnings("serial")
154 private com.google.protobuf.Internal.LongList transitionHead_ =
155 emptyLongList();
160 @java.lang.Override
161 public java.util.List<java.lang.Long>
163 return transitionHead_;
164 }
165
170 return transitionHead_.size();
171 }
172
177 public long getTransitionHead(int index) {
178 return transitionHead_.getLong(index);
179 }
180 private int transitionHeadMemoizedSerializedSize = -1;
181
182 public static final int TRANSITION_LABEL_FIELD_NUMBER = 6;
183 @SuppressWarnings("serial")
184 private com.google.protobuf.Internal.LongList transitionLabel_ =
185 emptyLongList();
190 @java.lang.Override
191 public java.util.List<java.lang.Long>
193 return transitionLabel_;
194 }
195
200 return transitionLabel_.size();
201 }
202
207 public long getTransitionLabel(int index) {
208 return transitionLabel_.getLong(index);
209 }
210 private int transitionLabelMemoizedSerializedSize = -1;
211
212 public static final int VARS_FIELD_NUMBER = 7;
213 @SuppressWarnings("serial")
214 private com.google.protobuf.Internal.IntList vars_ =
215 emptyIntList();
224 @java.lang.Override
225 public java.util.List<java.lang.Integer>
227 return vars_;
228 }
229
237 public int getVarsCount() {
238 return vars_.size();
239 }
240
249 public int getVars(int index) {
250 return vars_.getInt(index);
251 }
252 private int varsMemoizedSerializedSize = -1;
253
254 public static final int EXPRS_FIELD_NUMBER = 8;
255 @SuppressWarnings("serial")
256 private java.util.List<com.google.ortools.sat.LinearExpressionProto> exprs_;
266 @java.lang.Override
267 public java.util.List<com.google.ortools.sat.LinearExpressionProto> getExprsList() {
268 return exprs_;
269 }
270
279 @java.lang.Override
280 public java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder>
282 return exprs_;
283 }
284
293 @java.lang.Override
294 public int getExprsCount() {
295 return exprs_.size();
296 }
297
306 @java.lang.Override
308 return exprs_.get(index);
309 }
310
319 @java.lang.Override
321 int index) {
322 return exprs_.get(index);
323 }
324
325 private byte memoizedIsInitialized = -1;
326 @java.lang.Override
327 public final boolean isInitialized() {
328 byte isInitialized = memoizedIsInitialized;
329 if (isInitialized == 1) return true;
330 if (isInitialized == 0) return false;
331
332 memoizedIsInitialized = 1;
333 return true;
334 }
335
336 @java.lang.Override
337 public void writeTo(com.google.protobuf.CodedOutputStream output)
338 throws java.io.IOException {
340 if (startingState_ != 0L) {
341 output.writeInt64(2, startingState_);
342 }
343 if (getFinalStatesList().size() > 0) {
344 output.writeUInt32NoTag(26);
345 output.writeUInt32NoTag(finalStatesMemoizedSerializedSize);
346 }
347 for (int i = 0; i < finalStates_.size(); i++) {
348 output.writeInt64NoTag(finalStates_.getLong(i));
349 }
350 if (getTransitionTailList().size() > 0) {
351 output.writeUInt32NoTag(34);
352 output.writeUInt32NoTag(transitionTailMemoizedSerializedSize);
353 }
354 for (int i = 0; i < transitionTail_.size(); i++) {
355 output.writeInt64NoTag(transitionTail_.getLong(i));
356 }
357 if (getTransitionHeadList().size() > 0) {
358 output.writeUInt32NoTag(42);
359 output.writeUInt32NoTag(transitionHeadMemoizedSerializedSize);
360 }
361 for (int i = 0; i < transitionHead_.size(); i++) {
362 output.writeInt64NoTag(transitionHead_.getLong(i));
363 }
364 if (getTransitionLabelList().size() > 0) {
365 output.writeUInt32NoTag(50);
366 output.writeUInt32NoTag(transitionLabelMemoizedSerializedSize);
367 }
368 for (int i = 0; i < transitionLabel_.size(); i++) {
369 output.writeInt64NoTag(transitionLabel_.getLong(i));
370 }
371 if (getVarsList().size() > 0) {
372 output.writeUInt32NoTag(58);
373 output.writeUInt32NoTag(varsMemoizedSerializedSize);
374 }
375 for (int i = 0; i < vars_.size(); i++) {
376 output.writeInt32NoTag(vars_.getInt(i));
377 }
378 for (int i = 0; i < exprs_.size(); i++) {
379 output.writeMessage(8, exprs_.get(i));
380 }
381 getUnknownFields().writeTo(output);
382 }
383
384 @java.lang.Override
385 public int getSerializedSize() {
386 int size = memoizedSize;
387 if (size != -1) return size;
388
389 size = 0;
390 if (startingState_ != 0L) {
391 size += com.google.protobuf.CodedOutputStream
392 .computeInt64Size(2, startingState_);
393 }
394 {
395 int dataSize = 0;
396 for (int i = 0; i < finalStates_.size(); i++) {
397 dataSize += com.google.protobuf.CodedOutputStream
398 .computeInt64SizeNoTag(finalStates_.getLong(i));
399 }
400 size += dataSize;
401 if (!getFinalStatesList().isEmpty()) {
402 size += 1;
403 size += com.google.protobuf.CodedOutputStream
404 .computeInt32SizeNoTag(dataSize);
405 }
406 finalStatesMemoizedSerializedSize = dataSize;
407 }
408 {
409 int dataSize = 0;
410 for (int i = 0; i < transitionTail_.size(); i++) {
411 dataSize += com.google.protobuf.CodedOutputStream
412 .computeInt64SizeNoTag(transitionTail_.getLong(i));
413 }
414 size += dataSize;
415 if (!getTransitionTailList().isEmpty()) {
416 size += 1;
417 size += com.google.protobuf.CodedOutputStream
418 .computeInt32SizeNoTag(dataSize);
419 }
420 transitionTailMemoizedSerializedSize = dataSize;
421 }
422 {
423 int dataSize = 0;
424 for (int i = 0; i < transitionHead_.size(); i++) {
425 dataSize += com.google.protobuf.CodedOutputStream
426 .computeInt64SizeNoTag(transitionHead_.getLong(i));
427 }
428 size += dataSize;
429 if (!getTransitionHeadList().isEmpty()) {
430 size += 1;
431 size += com.google.protobuf.CodedOutputStream
432 .computeInt32SizeNoTag(dataSize);
433 }
434 transitionHeadMemoizedSerializedSize = dataSize;
435 }
436 {
437 int dataSize = 0;
438 for (int i = 0; i < transitionLabel_.size(); i++) {
439 dataSize += com.google.protobuf.CodedOutputStream
440 .computeInt64SizeNoTag(transitionLabel_.getLong(i));
441 }
442 size += dataSize;
443 if (!getTransitionLabelList().isEmpty()) {
444 size += 1;
445 size += com.google.protobuf.CodedOutputStream
446 .computeInt32SizeNoTag(dataSize);
447 }
448 transitionLabelMemoizedSerializedSize = dataSize;
449 }
450 {
451 int dataSize = 0;
452 for (int i = 0; i < vars_.size(); i++) {
453 dataSize += com.google.protobuf.CodedOutputStream
454 .computeInt32SizeNoTag(vars_.getInt(i));
455 }
456 size += dataSize;
457 if (!getVarsList().isEmpty()) {
458 size += 1;
459 size += com.google.protobuf.CodedOutputStream
460 .computeInt32SizeNoTag(dataSize);
461 }
462 varsMemoizedSerializedSize = dataSize;
463 }
464 for (int i = 0; i < exprs_.size(); i++) {
465 size += com.google.protobuf.CodedOutputStream
466 .computeMessageSize(8, exprs_.get(i));
467 }
468 size += getUnknownFields().getSerializedSize();
469 memoizedSize = size;
470 return size;
471 }
472
473 @java.lang.Override
474 public boolean equals(final java.lang.Object obj) {
475 if (obj == this) {
476 return true;
477 }
478 if (!(obj instanceof com.google.ortools.sat.AutomatonConstraintProto)) {
479 return super.equals(obj);
480 }
481 com.google.ortools.sat.AutomatonConstraintProto other = (com.google.ortools.sat.AutomatonConstraintProto) obj;
482
483 if (getStartingState()
484 != other.getStartingState()) return false;
485 if (!getFinalStatesList()
486 .equals(other.getFinalStatesList())) return false;
488 .equals(other.getTransitionTailList())) return false;
490 .equals(other.getTransitionHeadList())) return false;
492 .equals(other.getTransitionLabelList())) return false;
493 if (!getVarsList()
494 .equals(other.getVarsList())) return false;
495 if (!getExprsList()
496 .equals(other.getExprsList())) return false;
497 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
498 return true;
499 }
500
501 @java.lang.Override
502 public int hashCode() {
503 if (memoizedHashCode != 0) {
504 return memoizedHashCode;
505 }
506 int hash = 41;
507 hash = (19 * hash) + getDescriptor().hashCode();
508 hash = (37 * hash) + STARTING_STATE_FIELD_NUMBER;
509 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
511 if (getFinalStatesCount() > 0) {
512 hash = (37 * hash) + FINAL_STATES_FIELD_NUMBER;
513 hash = (53 * hash) + getFinalStatesList().hashCode();
514 }
515 if (getTransitionTailCount() > 0) {
516 hash = (37 * hash) + TRANSITION_TAIL_FIELD_NUMBER;
517 hash = (53 * hash) + getTransitionTailList().hashCode();
518 }
519 if (getTransitionHeadCount() > 0) {
520 hash = (37 * hash) + TRANSITION_HEAD_FIELD_NUMBER;
521 hash = (53 * hash) + getTransitionHeadList().hashCode();
522 }
523 if (getTransitionLabelCount() > 0) {
524 hash = (37 * hash) + TRANSITION_LABEL_FIELD_NUMBER;
525 hash = (53 * hash) + getTransitionLabelList().hashCode();
526 }
527 if (getVarsCount() > 0) {
528 hash = (37 * hash) + VARS_FIELD_NUMBER;
529 hash = (53 * hash) + getVarsList().hashCode();
530 }
531 if (getExprsCount() > 0) {
532 hash = (37 * hash) + EXPRS_FIELD_NUMBER;
533 hash = (53 * hash) + getExprsList().hashCode();
534 }
535 hash = (29 * hash) + getUnknownFields().hashCode();
536 memoizedHashCode = hash;
537 return hash;
538 }
539
541 java.nio.ByteBuffer data)
542 throws com.google.protobuf.InvalidProtocolBufferException {
543 return PARSER.parseFrom(data);
544 }
546 java.nio.ByteBuffer data,
547 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
548 throws com.google.protobuf.InvalidProtocolBufferException {
549 return PARSER.parseFrom(data, extensionRegistry);
550 }
552 com.google.protobuf.ByteString data)
553 throws com.google.protobuf.InvalidProtocolBufferException {
554 return PARSER.parseFrom(data);
555 }
557 com.google.protobuf.ByteString data,
558 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
559 throws com.google.protobuf.InvalidProtocolBufferException {
560 return PARSER.parseFrom(data, extensionRegistry);
561 }
563 throws com.google.protobuf.InvalidProtocolBufferException {
564 return PARSER.parseFrom(data);
565 }
567 byte[] data,
568 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
569 throws com.google.protobuf.InvalidProtocolBufferException {
570 return PARSER.parseFrom(data, extensionRegistry);
571 }
572 public static com.google.ortools.sat.AutomatonConstraintProto parseFrom(java.io.InputStream input)
573 throws java.io.IOException {
574 return com.google.protobuf.GeneratedMessage
575 .parseWithIOException(PARSER, input);
576 }
578 java.io.InputStream input,
579 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
580 throws java.io.IOException {
581 return com.google.protobuf.GeneratedMessage
582 .parseWithIOException(PARSER, input, extensionRegistry);
583 }
584
586 throws java.io.IOException {
587 return com.google.protobuf.GeneratedMessage
588 .parseDelimitedWithIOException(PARSER, input);
589 }
590
592 java.io.InputStream input,
593 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
594 throws java.io.IOException {
595 return com.google.protobuf.GeneratedMessage
596 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
597 }
599 com.google.protobuf.CodedInputStream input)
600 throws java.io.IOException {
601 return com.google.protobuf.GeneratedMessage
602 .parseWithIOException(PARSER, input);
603 }
605 com.google.protobuf.CodedInputStream input,
606 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
607 throws java.io.IOException {
608 return com.google.protobuf.GeneratedMessage
609 .parseWithIOException(PARSER, input, extensionRegistry);
610 }
611
612 @java.lang.Override
613 public Builder newBuilderForType() { return newBuilder(); }
614 public static Builder newBuilder() {
615 return DEFAULT_INSTANCE.toBuilder();
616 }
617 public static Builder newBuilder(com.google.ortools.sat.AutomatonConstraintProto prototype) {
618 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
619 }
620 @java.lang.Override
622 return this == DEFAULT_INSTANCE
623 ? new Builder() : new Builder().mergeFrom(this);
624 }
625
626 @java.lang.Override
628 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
629 Builder builder = new Builder(parent);
630 return builder;
631 }
632
640 public static final class Builder extends
641 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
642 // @@protoc_insertion_point(builder_implements:operations_research.sat.AutomatonConstraintProto)
644 public static final com.google.protobuf.Descriptors.Descriptor
646 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_AutomatonConstraintProto_descriptor;
647 }
648
649 @java.lang.Override
650 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
652 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_AutomatonConstraintProto_fieldAccessorTable
653 .ensureFieldAccessorsInitialized(
654 com.google.ortools.sat.AutomatonConstraintProto.class, com.google.ortools.sat.AutomatonConstraintProto.Builder.class);
655 }
656
657 // Construct using com.google.ortools.sat.AutomatonConstraintProto.newBuilder()
658 private Builder() {
659
660 }
661
662 private Builder(
663 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
664 super(parent);
665
666 }
667 @java.lang.Override
668 public Builder clear() {
669 super.clear();
670 bitField0_ = 0;
671 startingState_ = 0L;
672 finalStates_ = emptyLongList();
673 transitionTail_ = emptyLongList();
674 transitionHead_ = emptyLongList();
675 transitionLabel_ = emptyLongList();
676 vars_ = emptyIntList();
677 if (exprsBuilder_ == null) {
678 exprs_ = java.util.Collections.emptyList();
679 } else {
680 exprs_ = null;
681 exprsBuilder_.clear();
682 }
683 bitField0_ = (bitField0_ & ~0x00000040);
684 return this;
685 }
686
687 @java.lang.Override
688 public com.google.protobuf.Descriptors.Descriptor
690 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_AutomatonConstraintProto_descriptor;
691 }
692
693 @java.lang.Override
695 return com.google.ortools.sat.AutomatonConstraintProto.getDefaultInstance();
696 }
697
698 @java.lang.Override
701 if (!result.isInitialized()) {
702 throw newUninitializedMessageException(result);
703 }
704 return result;
705 }
706
707 @java.lang.Override
709 com.google.ortools.sat.AutomatonConstraintProto result = new com.google.ortools.sat.AutomatonConstraintProto(this);
710 buildPartialRepeatedFields(result);
711 if (bitField0_ != 0) { buildPartial0(result); }
712 onBuilt();
713 return result;
714 }
715
716 private void buildPartialRepeatedFields(com.google.ortools.sat.AutomatonConstraintProto result) {
717 if (exprsBuilder_ == null) {
718 if (((bitField0_ & 0x00000040) != 0)) {
719 exprs_ = java.util.Collections.unmodifiableList(exprs_);
720 bitField0_ = (bitField0_ & ~0x00000040);
721 }
722 result.exprs_ = exprs_;
723 } else {
724 result.exprs_ = exprsBuilder_.build();
725 }
726 }
727
728 private void buildPartial0(com.google.ortools.sat.AutomatonConstraintProto result) {
729 int from_bitField0_ = bitField0_;
730 if (((from_bitField0_ & 0x00000001) != 0)) {
731 result.startingState_ = startingState_;
732 }
733 if (((from_bitField0_ & 0x00000002) != 0)) {
734 finalStates_.makeImmutable();
735 result.finalStates_ = finalStates_;
736 }
737 if (((from_bitField0_ & 0x00000004) != 0)) {
738 transitionTail_.makeImmutable();
739 result.transitionTail_ = transitionTail_;
740 }
741 if (((from_bitField0_ & 0x00000008) != 0)) {
742 transitionHead_.makeImmutable();
743 result.transitionHead_ = transitionHead_;
744 }
745 if (((from_bitField0_ & 0x00000010) != 0)) {
746 transitionLabel_.makeImmutable();
747 result.transitionLabel_ = transitionLabel_;
748 }
749 if (((from_bitField0_ & 0x00000020) != 0)) {
750 vars_.makeImmutable();
751 result.vars_ = vars_;
752 }
753 }
754
755 @java.lang.Override
756 public Builder mergeFrom(com.google.protobuf.Message other) {
757 if (other instanceof com.google.ortools.sat.AutomatonConstraintProto) {
758 return mergeFrom((com.google.ortools.sat.AutomatonConstraintProto)other);
759 } else {
760 super.mergeFrom(other);
761 return this;
762 }
763 }
764
765 public Builder mergeFrom(com.google.ortools.sat.AutomatonConstraintProto other) {
766 if (other == com.google.ortools.sat.AutomatonConstraintProto.getDefaultInstance()) return this;
767 if (other.getStartingState() != 0L) {
768 setStartingState(other.getStartingState());
769 }
770 if (!other.finalStates_.isEmpty()) {
771 if (finalStates_.isEmpty()) {
772 finalStates_ = other.finalStates_;
773 finalStates_.makeImmutable();
774 bitField0_ |= 0x00000002;
775 } else {
776 ensureFinalStatesIsMutable();
777 finalStates_.addAll(other.finalStates_);
778 }
779 onChanged();
780 }
781 if (!other.transitionTail_.isEmpty()) {
782 if (transitionTail_.isEmpty()) {
783 transitionTail_ = other.transitionTail_;
784 transitionTail_.makeImmutable();
785 bitField0_ |= 0x00000004;
786 } else {
787 ensureTransitionTailIsMutable();
788 transitionTail_.addAll(other.transitionTail_);
789 }
790 onChanged();
791 }
792 if (!other.transitionHead_.isEmpty()) {
793 if (transitionHead_.isEmpty()) {
794 transitionHead_ = other.transitionHead_;
795 transitionHead_.makeImmutable();
796 bitField0_ |= 0x00000008;
797 } else {
798 ensureTransitionHeadIsMutable();
799 transitionHead_.addAll(other.transitionHead_);
800 }
801 onChanged();
802 }
803 if (!other.transitionLabel_.isEmpty()) {
804 if (transitionLabel_.isEmpty()) {
805 transitionLabel_ = other.transitionLabel_;
806 transitionLabel_.makeImmutable();
807 bitField0_ |= 0x00000010;
808 } else {
809 ensureTransitionLabelIsMutable();
810 transitionLabel_.addAll(other.transitionLabel_);
811 }
812 onChanged();
813 }
814 if (!other.vars_.isEmpty()) {
815 if (vars_.isEmpty()) {
816 vars_ = other.vars_;
817 vars_.makeImmutable();
818 bitField0_ |= 0x00000020;
819 } else {
820 ensureVarsIsMutable();
821 vars_.addAll(other.vars_);
822 }
823 onChanged();
824 }
825 if (exprsBuilder_ == null) {
826 if (!other.exprs_.isEmpty()) {
827 if (exprs_.isEmpty()) {
828 exprs_ = other.exprs_;
829 bitField0_ = (bitField0_ & ~0x00000040);
830 } else {
831 ensureExprsIsMutable();
832 exprs_.addAll(other.exprs_);
833 }
834 onChanged();
835 }
836 } else {
837 if (!other.exprs_.isEmpty()) {
838 if (exprsBuilder_.isEmpty()) {
839 exprsBuilder_.dispose();
840 exprsBuilder_ = null;
841 exprs_ = other.exprs_;
842 bitField0_ = (bitField0_ & ~0x00000040);
843 exprsBuilder_ =
844 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
845 internalGetExprsFieldBuilder() : null;
846 } else {
847 exprsBuilder_.addAllMessages(other.exprs_);
848 }
849 }
850 }
851 this.mergeUnknownFields(other.getUnknownFields());
852 onChanged();
853 return this;
854 }
855
856 @java.lang.Override
857 public final boolean isInitialized() {
858 return true;
859 }
860
861 @java.lang.Override
862 public Builder mergeFrom(
863 com.google.protobuf.CodedInputStream input,
864 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
865 throws java.io.IOException {
866 if (extensionRegistry == null) {
867 throw new java.lang.NullPointerException();
868 }
869 try {
870 boolean done = false;
871 while (!done) {
872 int tag = input.readTag();
873 switch (tag) {
874 case 0:
875 done = true;
876 break;
877 case 16: {
878 startingState_ = input.readInt64();
879 bitField0_ |= 0x00000001;
880 break;
881 } // case 16
882 case 24: {
883 long v = input.readInt64();
884 ensureFinalStatesIsMutable();
885 finalStates_.addLong(v);
886 break;
887 } // case 24
888 case 26: {
889 int length = input.readRawVarint32();
890 int limit = input.pushLimit(length);
891 ensureFinalStatesIsMutable();
892 while (input.getBytesUntilLimit() > 0) {
893 finalStates_.addLong(input.readInt64());
894 }
895 input.popLimit(limit);
896 break;
897 } // case 26
898 case 32: {
899 long v = input.readInt64();
900 ensureTransitionTailIsMutable();
901 transitionTail_.addLong(v);
902 break;
903 } // case 32
904 case 34: {
905 int length = input.readRawVarint32();
906 int limit = input.pushLimit(length);
907 ensureTransitionTailIsMutable();
908 while (input.getBytesUntilLimit() > 0) {
909 transitionTail_.addLong(input.readInt64());
910 }
911 input.popLimit(limit);
912 break;
913 } // case 34
914 case 40: {
915 long v = input.readInt64();
916 ensureTransitionHeadIsMutable();
917 transitionHead_.addLong(v);
918 break;
919 } // case 40
920 case 42: {
921 int length = input.readRawVarint32();
922 int limit = input.pushLimit(length);
923 ensureTransitionHeadIsMutable();
924 while (input.getBytesUntilLimit() > 0) {
925 transitionHead_.addLong(input.readInt64());
926 }
927 input.popLimit(limit);
928 break;
929 } // case 42
930 case 48: {
931 long v = input.readInt64();
932 ensureTransitionLabelIsMutable();
933 transitionLabel_.addLong(v);
934 break;
935 } // case 48
936 case 50: {
937 int length = input.readRawVarint32();
938 int limit = input.pushLimit(length);
939 ensureTransitionLabelIsMutable();
940 while (input.getBytesUntilLimit() > 0) {
941 transitionLabel_.addLong(input.readInt64());
942 }
943 input.popLimit(limit);
944 break;
945 } // case 50
946 case 56: {
947 int v = input.readInt32();
948 ensureVarsIsMutable();
949 vars_.addInt(v);
950 break;
951 } // case 56
952 case 58: {
953 int length = input.readRawVarint32();
954 int limit = input.pushLimit(length);
955 ensureVarsIsMutable();
956 while (input.getBytesUntilLimit() > 0) {
957 vars_.addInt(input.readInt32());
958 }
959 input.popLimit(limit);
960 break;
961 } // case 58
962 case 66: {
964 input.readMessage(
965 com.google.ortools.sat.LinearExpressionProto.parser(),
966 extensionRegistry);
967 if (exprsBuilder_ == null) {
968 ensureExprsIsMutable();
969 exprs_.add(m);
970 } else {
971 exprsBuilder_.addMessage(m);
972 }
973 break;
974 } // case 66
975 default: {
976 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
977 done = true; // was an endgroup tag
978 }
979 break;
980 } // default:
981 } // switch (tag)
982 } // while (!done)
983 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
984 throw e.unwrapIOException();
985 } finally {
986 onChanged();
987 } // finally
988 return this;
989 }
990 private int bitField0_;
991
992 private long startingState_ ;
1003 @java.lang.Override
1004 public long getStartingState() {
1005 return startingState_;
1006 }
1007
1018 public Builder setStartingState(long value) {
1019
1020 startingState_ = value;
1021 bitField0_ |= 0x00000001;
1022 onChanged();
1023 return this;
1024 }
1025
1035 public Builder clearStartingState() {
1036 bitField0_ = (bitField0_ & ~0x00000001);
1037 startingState_ = 0L;
1038 onChanged();
1039 return this;
1040 }
1041
1042 private com.google.protobuf.Internal.LongList finalStates_ = emptyLongList();
1043 private void ensureFinalStatesIsMutable() {
1044 if (!finalStates_.isModifiable()) {
1045 finalStates_ = makeMutableCopy(finalStates_);
1046 }
1047 bitField0_ |= 0x00000002;
1048 }
1053 public java.util.List<java.lang.Long>
1055 finalStates_.makeImmutable();
1056 return finalStates_;
1057 }
1058
1062 public int getFinalStatesCount() {
1063 return finalStates_.size();
1064 }
1065
1070 public long getFinalStates(int index) {
1071 return finalStates_.getLong(index);
1072 }
1073
1079 public Builder setFinalStates(
1080 int index, long value) {
1081
1082 ensureFinalStatesIsMutable();
1083 finalStates_.setLong(index, value);
1084 bitField0_ |= 0x00000002;
1085 onChanged();
1086 return this;
1087 }
1088
1093 public Builder addFinalStates(long value) {
1094
1095 ensureFinalStatesIsMutable();
1096 finalStates_.addLong(value);
1097 bitField0_ |= 0x00000002;
1098 onChanged();
1099 return this;
1100 }
1101
1106 public Builder addAllFinalStates(
1107 java.lang.Iterable<? extends java.lang.Long> values) {
1108 ensureFinalStatesIsMutable();
1109 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1110 values, finalStates_);
1111 bitField0_ |= 0x00000002;
1112 onChanged();
1113 return this;
1114 }
1115
1119 public Builder clearFinalStates() {
1120 finalStates_ = emptyLongList();
1121 bitField0_ = (bitField0_ & ~0x00000002);
1122 onChanged();
1123 return this;
1124 }
1125
1126 private com.google.protobuf.Internal.LongList transitionTail_ = emptyLongList();
1127 private void ensureTransitionTailIsMutable() {
1128 if (!transitionTail_.isModifiable()) {
1129 transitionTail_ = makeMutableCopy(transitionTail_);
1130 }
1131 bitField0_ |= 0x00000004;
1132 }
1143 public java.util.List<java.lang.Long>
1145 transitionTail_.makeImmutable();
1146 return transitionTail_;
1147 }
1148
1159 return transitionTail_.size();
1160 }
1161
1172 public long getTransitionTail(int index) {
1173 return transitionTail_.getLong(index);
1174 }
1175
1187 public Builder setTransitionTail(
1188 int index, long value) {
1189
1190 ensureTransitionTailIsMutable();
1191 transitionTail_.setLong(index, value);
1192 bitField0_ |= 0x00000004;
1193 onChanged();
1194 return this;
1195 }
1196
1207 public Builder addTransitionTail(long value) {
1208
1209 ensureTransitionTailIsMutable();
1210 transitionTail_.addLong(value);
1211 bitField0_ |= 0x00000004;
1212 onChanged();
1213 return this;
1214 }
1215
1226 public Builder addAllTransitionTail(
1227 java.lang.Iterable<? extends java.lang.Long> values) {
1228 ensureTransitionTailIsMutable();
1229 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1230 values, transitionTail_);
1231 bitField0_ |= 0x00000004;
1232 onChanged();
1233 return this;
1234 }
1235
1245 public Builder clearTransitionTail() {
1246 transitionTail_ = emptyLongList();
1247 bitField0_ = (bitField0_ & ~0x00000004);
1248 onChanged();
1249 return this;
1250 }
1251
1252 private com.google.protobuf.Internal.LongList transitionHead_ = emptyLongList();
1253 private void ensureTransitionHeadIsMutable() {
1254 if (!transitionHead_.isModifiable()) {
1255 transitionHead_ = makeMutableCopy(transitionHead_);
1256 }
1257 bitField0_ |= 0x00000008;
1258 }
1263 public java.util.List<java.lang.Long>
1265 transitionHead_.makeImmutable();
1266 return transitionHead_;
1267 }
1268
1273 return transitionHead_.size();
1274 }
1275
1280 public long getTransitionHead(int index) {
1281 return transitionHead_.getLong(index);
1282 }
1283
1289 public Builder setTransitionHead(
1290 int index, long value) {
1291
1292 ensureTransitionHeadIsMutable();
1293 transitionHead_.setLong(index, value);
1294 bitField0_ |= 0x00000008;
1295 onChanged();
1296 return this;
1297 }
1298
1303 public Builder addTransitionHead(long value) {
1304
1305 ensureTransitionHeadIsMutable();
1306 transitionHead_.addLong(value);
1307 bitField0_ |= 0x00000008;
1308 onChanged();
1309 return this;
1310 }
1311
1316 public Builder addAllTransitionHead(
1317 java.lang.Iterable<? extends java.lang.Long> values) {
1318 ensureTransitionHeadIsMutable();
1319 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1320 values, transitionHead_);
1321 bitField0_ |= 0x00000008;
1322 onChanged();
1323 return this;
1324 }
1325
1329 public Builder clearTransitionHead() {
1330 transitionHead_ = emptyLongList();
1331 bitField0_ = (bitField0_ & ~0x00000008);
1332 onChanged();
1333 return this;
1334 }
1335
1336 private com.google.protobuf.Internal.LongList transitionLabel_ = emptyLongList();
1337 private void ensureTransitionLabelIsMutable() {
1338 if (!transitionLabel_.isModifiable()) {
1339 transitionLabel_ = makeMutableCopy(transitionLabel_);
1340 }
1341 bitField0_ |= 0x00000010;
1342 }
1347 public java.util.List<java.lang.Long>
1349 transitionLabel_.makeImmutable();
1350 return transitionLabel_;
1351 }
1352
1357 return transitionLabel_.size();
1358 }
1359
1364 public long getTransitionLabel(int index) {
1365 return transitionLabel_.getLong(index);
1366 }
1367
1373 public Builder setTransitionLabel(
1374 int index, long value) {
1375
1376 ensureTransitionLabelIsMutable();
1377 transitionLabel_.setLong(index, value);
1378 bitField0_ |= 0x00000010;
1379 onChanged();
1380 return this;
1381 }
1382
1387 public Builder addTransitionLabel(long value) {
1388
1389 ensureTransitionLabelIsMutable();
1390 transitionLabel_.addLong(value);
1391 bitField0_ |= 0x00000010;
1392 onChanged();
1393 return this;
1394 }
1395
1401 java.lang.Iterable<? extends java.lang.Long> values) {
1402 ensureTransitionLabelIsMutable();
1403 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1404 values, transitionLabel_);
1405 bitField0_ |= 0x00000010;
1406 onChanged();
1407 return this;
1408 }
1409
1413 public Builder clearTransitionLabel() {
1414 transitionLabel_ = emptyLongList();
1415 bitField0_ = (bitField0_ & ~0x00000010);
1416 onChanged();
1417 return this;
1418 }
1419
1420 private com.google.protobuf.Internal.IntList vars_ = emptyIntList();
1421 private void ensureVarsIsMutable() {
1422 if (!vars_.isModifiable()) {
1423 vars_ = makeMutableCopy(vars_);
1424 }
1425 bitField0_ |= 0x00000020;
1426 }
1435 public java.util.List<java.lang.Integer>
1437 vars_.makeImmutable();
1438 return vars_;
1439 }
1440
1448 public int getVarsCount() {
1449 return vars_.size();
1450 }
1451
1460 public int getVars(int index) {
1461 return vars_.getInt(index);
1462 }
1463
1473 public Builder setVars(
1474 int index, int value) {
1475
1476 ensureVarsIsMutable();
1477 vars_.setInt(index, value);
1478 bitField0_ |= 0x00000020;
1479 onChanged();
1480 return this;
1481 }
1482
1491 public Builder addVars(int value) {
1492
1493 ensureVarsIsMutable();
1494 vars_.addInt(value);
1495 bitField0_ |= 0x00000020;
1496 onChanged();
1497 return this;
1498 }
1499
1508 public Builder addAllVars(
1509 java.lang.Iterable<? extends java.lang.Integer> values) {
1510 ensureVarsIsMutable();
1511 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1512 values, vars_);
1513 bitField0_ |= 0x00000020;
1514 onChanged();
1515 return this;
1516 }
1517
1525 public Builder clearVars() {
1526 vars_ = emptyIntList();
1527 bitField0_ = (bitField0_ & ~0x00000020);
1528 onChanged();
1529 return this;
1530 }
1531
1532 private java.util.List<com.google.ortools.sat.LinearExpressionProto> exprs_ =
1533 java.util.Collections.emptyList();
1534 private void ensureExprsIsMutable() {
1535 if (!((bitField0_ & 0x00000040) != 0)) {
1536 exprs_ = new java.util.ArrayList<com.google.ortools.sat.LinearExpressionProto>(exprs_);
1537 bitField0_ |= 0x00000040;
1538 }
1539 }
1540
1541 private com.google.protobuf.RepeatedFieldBuilder<
1542 com.google.ortools.sat.LinearExpressionProto, com.google.ortools.sat.LinearExpressionProto.Builder, com.google.ortools.sat.LinearExpressionProtoOrBuilder> exprsBuilder_;
1543
1553 public java.util.List<com.google.ortools.sat.LinearExpressionProto> getExprsList() {
1554 if (exprsBuilder_ == null) {
1555 return java.util.Collections.unmodifiableList(exprs_);
1556 } else {
1557 return exprsBuilder_.getMessageList();
1558 }
1559 }
1560
1569 public int getExprsCount() {
1570 if (exprsBuilder_ == null) {
1571 return exprs_.size();
1572 } else {
1573 return exprsBuilder_.getCount();
1574 }
1575 }
1576
1586 if (exprsBuilder_ == null) {
1587 return exprs_.get(index);
1588 } else {
1589 return exprsBuilder_.getMessage(index);
1590 }
1591 }
1592
1601 public Builder setExprs(
1602 int index, com.google.ortools.sat.LinearExpressionProto value) {
1603 if (exprsBuilder_ == null) {
1604 if (value == null) {
1605 throw new NullPointerException();
1606 }
1607 ensureExprsIsMutable();
1608 exprs_.set(index, value);
1609 onChanged();
1610 } else {
1611 exprsBuilder_.setMessage(index, value);
1612 }
1613 return this;
1614 }
1615
1624 public Builder setExprs(
1625 int index, com.google.ortools.sat.LinearExpressionProto.Builder builderForValue) {
1626 if (exprsBuilder_ == null) {
1627 ensureExprsIsMutable();
1628 exprs_.set(index, builderForValue.build());
1629 onChanged();
1630 } else {
1631 exprsBuilder_.setMessage(index, builderForValue.build());
1632 }
1633 return this;
1634 }
1635
1644 public Builder addExprs(com.google.ortools.sat.LinearExpressionProto value) {
1645 if (exprsBuilder_ == null) {
1646 if (value == null) {
1647 throw new NullPointerException();
1648 }
1649 ensureExprsIsMutable();
1650 exprs_.add(value);
1651 onChanged();
1652 } else {
1653 exprsBuilder_.addMessage(value);
1654 }
1655 return this;
1656 }
1657
1666 public Builder addExprs(
1667 int index, com.google.ortools.sat.LinearExpressionProto value) {
1668 if (exprsBuilder_ == null) {
1669 if (value == null) {
1670 throw new NullPointerException();
1671 }
1672 ensureExprsIsMutable();
1673 exprs_.add(index, value);
1674 onChanged();
1675 } else {
1676 exprsBuilder_.addMessage(index, value);
1677 }
1678 return this;
1679 }
1680
1689 public Builder addExprs(
1690 com.google.ortools.sat.LinearExpressionProto.Builder builderForValue) {
1691 if (exprsBuilder_ == null) {
1692 ensureExprsIsMutable();
1693 exprs_.add(builderForValue.build());
1694 onChanged();
1695 } else {
1696 exprsBuilder_.addMessage(builderForValue.build());
1697 }
1698 return this;
1699 }
1700
1709 public Builder addExprs(
1710 int index, com.google.ortools.sat.LinearExpressionProto.Builder builderForValue) {
1711 if (exprsBuilder_ == null) {
1712 ensureExprsIsMutable();
1713 exprs_.add(index, builderForValue.build());
1714 onChanged();
1715 } else {
1716 exprsBuilder_.addMessage(index, builderForValue.build());
1717 }
1718 return this;
1719 }
1720
1729 public Builder addAllExprs(
1730 java.lang.Iterable<? extends com.google.ortools.sat.LinearExpressionProto> values) {
1731 if (exprsBuilder_ == null) {
1732 ensureExprsIsMutable();
1733 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1734 values, exprs_);
1735 onChanged();
1736 } else {
1737 exprsBuilder_.addAllMessages(values);
1738 }
1739 return this;
1740 }
1741
1750 public Builder clearExprs() {
1751 if (exprsBuilder_ == null) {
1752 exprs_ = java.util.Collections.emptyList();
1753 bitField0_ = (bitField0_ & ~0x00000040);
1754 onChanged();
1755 } else {
1756 exprsBuilder_.clear();
1757 }
1758 return this;
1759 }
1760
1769 public Builder removeExprs(int index) {
1770 if (exprsBuilder_ == null) {
1771 ensureExprsIsMutable();
1772 exprs_.remove(index);
1773 onChanged();
1774 } else {
1775 exprsBuilder_.remove(index);
1776 }
1777 return this;
1778 }
1779
1789 int index) {
1790 return internalGetExprsFieldBuilder().getBuilder(index);
1791 }
1792
1802 int index) {
1803 if (exprsBuilder_ == null) {
1804 return exprs_.get(index); } else {
1805 return exprsBuilder_.getMessageOrBuilder(index);
1806 }
1807 }
1808
1817 public java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder>
1819 if (exprsBuilder_ != null) {
1820 return exprsBuilder_.getMessageOrBuilderList();
1821 } else {
1822 return java.util.Collections.unmodifiableList(exprs_);
1823 }
1824 }
1825
1835 return internalGetExprsFieldBuilder().addBuilder(
1836 com.google.ortools.sat.LinearExpressionProto.getDefaultInstance());
1837 }
1838
1848 int index) {
1849 return internalGetExprsFieldBuilder().addBuilder(
1850 index, com.google.ortools.sat.LinearExpressionProto.getDefaultInstance());
1851 }
1852
1861 public java.util.List<com.google.ortools.sat.LinearExpressionProto.Builder>
1863 return internalGetExprsFieldBuilder().getBuilderList();
1864 }
1865 private com.google.protobuf.RepeatedFieldBuilder<
1866 com.google.ortools.sat.LinearExpressionProto, com.google.ortools.sat.LinearExpressionProto.Builder, com.google.ortools.sat.LinearExpressionProtoOrBuilder>
1867 internalGetExprsFieldBuilder() {
1868 if (exprsBuilder_ == null) {
1869 exprsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
1870 com.google.ortools.sat.LinearExpressionProto, com.google.ortools.sat.LinearExpressionProto.Builder, com.google.ortools.sat.LinearExpressionProtoOrBuilder>(
1871 exprs_,
1872 ((bitField0_ & 0x00000040) != 0),
1873 getParentForChildren(),
1874 isClean());
1875 exprs_ = null;
1876 }
1877 return exprsBuilder_;
1878 }
1879
1880 // @@protoc_insertion_point(builder_scope:operations_research.sat.AutomatonConstraintProto)
1881 }
1882
1883 // @@protoc_insertion_point(class_scope:operations_research.sat.AutomatonConstraintProto)
1884 private static final com.google.ortools.sat.AutomatonConstraintProto DEFAULT_INSTANCE;
1885 static {
1886 DEFAULT_INSTANCE = new com.google.ortools.sat.AutomatonConstraintProto();
1887 }
1888
1890 return DEFAULT_INSTANCE;
1891 }
1892
1893 private static final com.google.protobuf.Parser<AutomatonConstraintProto>
1894 PARSER = new com.google.protobuf.AbstractParser<AutomatonConstraintProto>() {
1895 @java.lang.Override
1896 public AutomatonConstraintProto parsePartialFrom(
1897 com.google.protobuf.CodedInputStream input,
1898 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1899 throws com.google.protobuf.InvalidProtocolBufferException {
1900 Builder builder = newBuilder();
1901 try {
1902 builder.mergeFrom(input, extensionRegistry);
1903 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1904 throw e.setUnfinishedMessage(builder.buildPartial());
1905 } catch (com.google.protobuf.UninitializedMessageException e) {
1906 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1907 } catch (java.io.IOException e) {
1908 throw new com.google.protobuf.InvalidProtocolBufferException(e)
1909 .setUnfinishedMessage(builder.buildPartial());
1910 }
1911 return builder.buildPartial();
1912 }
1913 };
1914
1915 public static com.google.protobuf.Parser<AutomatonConstraintProto> parser() {
1916 return PARSER;
1917 }
1918
1919 @java.lang.Override
1920 public com.google.protobuf.Parser<AutomatonConstraintProto> getParserForType() {
1921 return PARSER;
1922 }
1923
1924 @java.lang.Override
1928
1929}
1930
java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder > getExprsOrBuilderList()
com.google.ortools.sat.LinearExpressionProto.Builder addExprsBuilder(int index)
java.util.List< com.google.ortools.sat.LinearExpressionProto > getExprsList()
Builder addAllVars(java.lang.Iterable<? extends java.lang.Integer > values)
Builder addAllExprs(java.lang.Iterable<? extends com.google.ortools.sat.LinearExpressionProto > values)
Builder mergeFrom(com.google.ortools.sat.AutomatonConstraintProto other)
com.google.ortools.sat.LinearExpressionProto getExprs(int index)
Builder addExprs(com.google.ortools.sat.LinearExpressionProto value)
com.google.ortools.sat.LinearExpressionProto.Builder getExprsBuilder(int index)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Builder setExprs(int index, com.google.ortools.sat.LinearExpressionProto.Builder builderForValue)
Builder setExprs(int index, com.google.ortools.sat.LinearExpressionProto value)
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
com.google.ortools.sat.LinearExpressionProtoOrBuilder getExprsOrBuilder(int index)
Builder addExprs(com.google.ortools.sat.LinearExpressionProto.Builder builderForValue)
Builder addExprs(int index, com.google.ortools.sat.LinearExpressionProto.Builder builderForValue)
Builder addAllTransitionLabel(java.lang.Iterable<? extends java.lang.Long > values)
com.google.ortools.sat.AutomatonConstraintProto build()
com.google.ortools.sat.AutomatonConstraintProto getDefaultInstanceForType()
Builder addAllTransitionHead(java.lang.Iterable<? extends java.lang.Long > values)
java.util.List< com.google.ortools.sat.LinearExpressionProto.Builder > getExprsBuilderList()
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.sat.AutomatonConstraintProto buildPartial()
Builder addAllTransitionTail(java.lang.Iterable<? extends java.lang.Long > values)
com.google.ortools.sat.LinearExpressionProto.Builder addExprsBuilder()
Builder addExprs(int index, com.google.ortools.sat.LinearExpressionProto value)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Builder addAllFinalStates(java.lang.Iterable<? extends java.lang.Long > values)
static com.google.ortools.sat.AutomatonConstraintProto parseDelimitedFrom(java.io.InputStream input)
static com.google.ortools.sat.AutomatonConstraintProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.AutomatonConstraintProto parseFrom(com.google.protobuf.CodedInputStream input)
static com.google.ortools.sat.AutomatonConstraintProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.AutomatonConstraintProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.AutomatonConstraintProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser< AutomatonConstraintProto > parser()
java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder > getExprsOrBuilderList()
void writeTo(com.google.protobuf.CodedOutputStream output)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
java.util.List< com.google.ortools.sat.LinearExpressionProto > getExprsList()
static Builder newBuilder(com.google.ortools.sat.AutomatonConstraintProto prototype)
com.google.ortools.sat.AutomatonConstraintProto getDefaultInstanceForType()
static com.google.ortools.sat.AutomatonConstraintProto parseFrom(java.io.InputStream input)
static com.google.ortools.sat.AutomatonConstraintProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.AutomatonConstraintProto parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.AutomatonConstraintProto parseFrom(java.nio.ByteBuffer data)
static com.google.ortools.sat.AutomatonConstraintProto parseFrom(com.google.protobuf.ByteString data)
static com.google.ortools.sat.AutomatonConstraintProto parseFrom(byte[] data)
com.google.protobuf.Parser< AutomatonConstraintProto > getParserForType()
static com.google.ortools.sat.AutomatonConstraintProto getDefaultInstance()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
com.google.ortools.sat.LinearExpressionProto getExprs(int index)
com.google.ortools.sat.LinearExpressionProtoOrBuilder getExprsOrBuilder(int index)