Google OR-Tools v9.15
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.33.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= */ 33,
27 /* patch= */ 1,
28 /* suffix= */ "",
29 "AutomatonConstraintProto");
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_;
265 @java.lang.Override
266 public java.util.List<com.google.ortools.sat.LinearExpressionProto> getExprsList() {
267 return exprs_;
268 }
269
277 @java.lang.Override
278 public java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder>
280 return exprs_;
281 }
282
290 @java.lang.Override
291 public int getExprsCount() {
292 return exprs_.size();
293 }
294
302 @java.lang.Override
304 return exprs_.get(index);
305 }
306
314 @java.lang.Override
316 int index) {
317 return exprs_.get(index);
318 }
319
320 private byte memoizedIsInitialized = -1;
321 @java.lang.Override
322 public final boolean isInitialized() {
323 byte isInitialized = memoizedIsInitialized;
324 if (isInitialized == 1) return true;
325 if (isInitialized == 0) return false;
326
327 memoizedIsInitialized = 1;
328 return true;
329 }
330
331 @java.lang.Override
332 public void writeTo(com.google.protobuf.CodedOutputStream output)
333 throws java.io.IOException {
335 if (startingState_ != 0L) {
336 output.writeInt64(2, startingState_);
337 }
338 if (getFinalStatesList().size() > 0) {
339 output.writeUInt32NoTag(26);
340 output.writeUInt32NoTag(finalStatesMemoizedSerializedSize);
341 }
342 for (int i = 0; i < finalStates_.size(); i++) {
343 output.writeInt64NoTag(finalStates_.getLong(i));
344 }
345 if (getTransitionTailList().size() > 0) {
346 output.writeUInt32NoTag(34);
347 output.writeUInt32NoTag(transitionTailMemoizedSerializedSize);
348 }
349 for (int i = 0; i < transitionTail_.size(); i++) {
350 output.writeInt64NoTag(transitionTail_.getLong(i));
351 }
352 if (getTransitionHeadList().size() > 0) {
353 output.writeUInt32NoTag(42);
354 output.writeUInt32NoTag(transitionHeadMemoizedSerializedSize);
355 }
356 for (int i = 0; i < transitionHead_.size(); i++) {
357 output.writeInt64NoTag(transitionHead_.getLong(i));
358 }
359 if (getTransitionLabelList().size() > 0) {
360 output.writeUInt32NoTag(50);
361 output.writeUInt32NoTag(transitionLabelMemoizedSerializedSize);
362 }
363 for (int i = 0; i < transitionLabel_.size(); i++) {
364 output.writeInt64NoTag(transitionLabel_.getLong(i));
365 }
366 if (getVarsList().size() > 0) {
367 output.writeUInt32NoTag(58);
368 output.writeUInt32NoTag(varsMemoizedSerializedSize);
369 }
370 for (int i = 0; i < vars_.size(); i++) {
371 output.writeInt32NoTag(vars_.getInt(i));
372 }
373 for (int i = 0; i < exprs_.size(); i++) {
374 output.writeMessage(8, exprs_.get(i));
375 }
376 getUnknownFields().writeTo(output);
377 }
378
379 @java.lang.Override
380 public int getSerializedSize() {
381 int size = memoizedSize;
382 if (size != -1) return size;
383
384 size = 0;
385 if (startingState_ != 0L) {
386 size += com.google.protobuf.CodedOutputStream
387 .computeInt64Size(2, startingState_);
388 }
389 {
390 int dataSize = 0;
391 for (int i = 0; i < finalStates_.size(); i++) {
392 dataSize += com.google.protobuf.CodedOutputStream
393 .computeInt64SizeNoTag(finalStates_.getLong(i));
394 }
395 size += dataSize;
396 if (!getFinalStatesList().isEmpty()) {
397 size += 1;
398 size += com.google.protobuf.CodedOutputStream
399 .computeInt32SizeNoTag(dataSize);
400 }
401 finalStatesMemoizedSerializedSize = dataSize;
402 }
403 {
404 int dataSize = 0;
405 for (int i = 0; i < transitionTail_.size(); i++) {
406 dataSize += com.google.protobuf.CodedOutputStream
407 .computeInt64SizeNoTag(transitionTail_.getLong(i));
408 }
409 size += dataSize;
410 if (!getTransitionTailList().isEmpty()) {
411 size += 1;
412 size += com.google.protobuf.CodedOutputStream
413 .computeInt32SizeNoTag(dataSize);
414 }
415 transitionTailMemoizedSerializedSize = dataSize;
416 }
417 {
418 int dataSize = 0;
419 for (int i = 0; i < transitionHead_.size(); i++) {
420 dataSize += com.google.protobuf.CodedOutputStream
421 .computeInt64SizeNoTag(transitionHead_.getLong(i));
422 }
423 size += dataSize;
424 if (!getTransitionHeadList().isEmpty()) {
425 size += 1;
426 size += com.google.protobuf.CodedOutputStream
427 .computeInt32SizeNoTag(dataSize);
428 }
429 transitionHeadMemoizedSerializedSize = dataSize;
430 }
431 {
432 int dataSize = 0;
433 for (int i = 0; i < transitionLabel_.size(); i++) {
434 dataSize += com.google.protobuf.CodedOutputStream
435 .computeInt64SizeNoTag(transitionLabel_.getLong(i));
436 }
437 size += dataSize;
438 if (!getTransitionLabelList().isEmpty()) {
439 size += 1;
440 size += com.google.protobuf.CodedOutputStream
441 .computeInt32SizeNoTag(dataSize);
442 }
443 transitionLabelMemoizedSerializedSize = dataSize;
444 }
445 {
446 int dataSize = 0;
447 for (int i = 0; i < vars_.size(); i++) {
448 dataSize += com.google.protobuf.CodedOutputStream
449 .computeInt32SizeNoTag(vars_.getInt(i));
450 }
451 size += dataSize;
452 if (!getVarsList().isEmpty()) {
453 size += 1;
454 size += com.google.protobuf.CodedOutputStream
455 .computeInt32SizeNoTag(dataSize);
456 }
457 varsMemoizedSerializedSize = dataSize;
458 }
459 for (int i = 0; i < exprs_.size(); i++) {
460 size += com.google.protobuf.CodedOutputStream
461 .computeMessageSize(8, exprs_.get(i));
462 }
463 size += getUnknownFields().getSerializedSize();
464 memoizedSize = size;
465 return size;
466 }
467
468 @java.lang.Override
469 public boolean equals(final java.lang.Object obj) {
470 if (obj == this) {
471 return true;
472 }
473 if (!(obj instanceof com.google.ortools.sat.AutomatonConstraintProto)) {
474 return super.equals(obj);
475 }
476 com.google.ortools.sat.AutomatonConstraintProto other = (com.google.ortools.sat.AutomatonConstraintProto) obj;
477
478 if (getStartingState()
479 != other.getStartingState()) return false;
480 if (!getFinalStatesList()
481 .equals(other.getFinalStatesList())) return false;
483 .equals(other.getTransitionTailList())) return false;
485 .equals(other.getTransitionHeadList())) return false;
487 .equals(other.getTransitionLabelList())) return false;
488 if (!getVarsList()
489 .equals(other.getVarsList())) return false;
490 if (!getExprsList()
491 .equals(other.getExprsList())) return false;
492 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
493 return true;
494 }
495
496 @java.lang.Override
497 public int hashCode() {
498 if (memoizedHashCode != 0) {
499 return memoizedHashCode;
500 }
501 int hash = 41;
502 hash = (19 * hash) + getDescriptor().hashCode();
503 hash = (37 * hash) + STARTING_STATE_FIELD_NUMBER;
504 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
506 if (getFinalStatesCount() > 0) {
507 hash = (37 * hash) + FINAL_STATES_FIELD_NUMBER;
508 hash = (53 * hash) + getFinalStatesList().hashCode();
509 }
510 if (getTransitionTailCount() > 0) {
511 hash = (37 * hash) + TRANSITION_TAIL_FIELD_NUMBER;
512 hash = (53 * hash) + getTransitionTailList().hashCode();
513 }
514 if (getTransitionHeadCount() > 0) {
515 hash = (37 * hash) + TRANSITION_HEAD_FIELD_NUMBER;
516 hash = (53 * hash) + getTransitionHeadList().hashCode();
517 }
518 if (getTransitionLabelCount() > 0) {
519 hash = (37 * hash) + TRANSITION_LABEL_FIELD_NUMBER;
520 hash = (53 * hash) + getTransitionLabelList().hashCode();
521 }
522 if (getVarsCount() > 0) {
523 hash = (37 * hash) + VARS_FIELD_NUMBER;
524 hash = (53 * hash) + getVarsList().hashCode();
525 }
526 if (getExprsCount() > 0) {
527 hash = (37 * hash) + EXPRS_FIELD_NUMBER;
528 hash = (53 * hash) + getExprsList().hashCode();
529 }
530 hash = (29 * hash) + getUnknownFields().hashCode();
531 memoizedHashCode = hash;
532 return hash;
533 }
534
536 java.nio.ByteBuffer data)
537 throws com.google.protobuf.InvalidProtocolBufferException {
538 return PARSER.parseFrom(data);
539 }
541 java.nio.ByteBuffer data,
542 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
543 throws com.google.protobuf.InvalidProtocolBufferException {
544 return PARSER.parseFrom(data, extensionRegistry);
545 }
547 com.google.protobuf.ByteString data)
548 throws com.google.protobuf.InvalidProtocolBufferException {
549 return PARSER.parseFrom(data);
550 }
552 com.google.protobuf.ByteString data,
553 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
554 throws com.google.protobuf.InvalidProtocolBufferException {
555 return PARSER.parseFrom(data, extensionRegistry);
556 }
558 throws com.google.protobuf.InvalidProtocolBufferException {
559 return PARSER.parseFrom(data);
560 }
562 byte[] data,
563 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
564 throws com.google.protobuf.InvalidProtocolBufferException {
565 return PARSER.parseFrom(data, extensionRegistry);
566 }
567 public static com.google.ortools.sat.AutomatonConstraintProto parseFrom(java.io.InputStream input)
568 throws java.io.IOException {
569 return com.google.protobuf.GeneratedMessage
570 .parseWithIOException(PARSER, input);
571 }
573 java.io.InputStream input,
574 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
575 throws java.io.IOException {
576 return com.google.protobuf.GeneratedMessage
577 .parseWithIOException(PARSER, input, extensionRegistry);
578 }
579
581 throws java.io.IOException {
582 return com.google.protobuf.GeneratedMessage
583 .parseDelimitedWithIOException(PARSER, input);
584 }
585
587 java.io.InputStream input,
588 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
589 throws java.io.IOException {
590 return com.google.protobuf.GeneratedMessage
591 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
592 }
594 com.google.protobuf.CodedInputStream input)
595 throws java.io.IOException {
596 return com.google.protobuf.GeneratedMessage
597 .parseWithIOException(PARSER, input);
598 }
600 com.google.protobuf.CodedInputStream input,
601 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
602 throws java.io.IOException {
603 return com.google.protobuf.GeneratedMessage
604 .parseWithIOException(PARSER, input, extensionRegistry);
605 }
606
607 @java.lang.Override
608 public Builder newBuilderForType() { return newBuilder(); }
609 public static Builder newBuilder() {
610 return DEFAULT_INSTANCE.toBuilder();
611 }
612 public static Builder newBuilder(com.google.ortools.sat.AutomatonConstraintProto prototype) {
613 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
614 }
615 @java.lang.Override
617 return this == DEFAULT_INSTANCE
618 ? new Builder() : new Builder().mergeFrom(this);
619 }
620
621 @java.lang.Override
623 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
624 Builder builder = new Builder(parent);
625 return builder;
626 }
627
635 public static final class Builder extends
636 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
637 // @@protoc_insertion_point(builder_implements:operations_research.sat.AutomatonConstraintProto)
639 public static final com.google.protobuf.Descriptors.Descriptor
641 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_AutomatonConstraintProto_descriptor;
642 }
643
644 @java.lang.Override
645 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
647 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_AutomatonConstraintProto_fieldAccessorTable
648 .ensureFieldAccessorsInitialized(
649 com.google.ortools.sat.AutomatonConstraintProto.class, com.google.ortools.sat.AutomatonConstraintProto.Builder.class);
650 }
651
652 // Construct using com.google.ortools.sat.AutomatonConstraintProto.newBuilder()
653 private Builder() {
654
655 }
656
657 private Builder(
658 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
659 super(parent);
660
661 }
662 @java.lang.Override
663 public Builder clear() {
664 super.clear();
665 bitField0_ = 0;
666 startingState_ = 0L;
667 finalStates_ = emptyLongList();
668 transitionTail_ = emptyLongList();
669 transitionHead_ = emptyLongList();
670 transitionLabel_ = emptyLongList();
671 vars_ = emptyIntList();
672 if (exprsBuilder_ == null) {
673 exprs_ = java.util.Collections.emptyList();
674 } else {
675 exprs_ = null;
676 exprsBuilder_.clear();
677 }
678 bitField0_ = (bitField0_ & ~0x00000040);
679 return this;
680 }
681
682 @java.lang.Override
683 public com.google.protobuf.Descriptors.Descriptor
685 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_AutomatonConstraintProto_descriptor;
686 }
687
688 @java.lang.Override
690 return com.google.ortools.sat.AutomatonConstraintProto.getDefaultInstance();
691 }
692
693 @java.lang.Override
696 if (!result.isInitialized()) {
697 throw newUninitializedMessageException(result);
698 }
699 return result;
700 }
701
702 @java.lang.Override
704 com.google.ortools.sat.AutomatonConstraintProto result = new com.google.ortools.sat.AutomatonConstraintProto(this);
705 buildPartialRepeatedFields(result);
706 if (bitField0_ != 0) { buildPartial0(result); }
707 onBuilt();
708 return result;
709 }
710
711 private void buildPartialRepeatedFields(com.google.ortools.sat.AutomatonConstraintProto result) {
712 if (exprsBuilder_ == null) {
713 if (((bitField0_ & 0x00000040) != 0)) {
714 exprs_ = java.util.Collections.unmodifiableList(exprs_);
715 bitField0_ = (bitField0_ & ~0x00000040);
716 }
717 result.exprs_ = exprs_;
718 } else {
719 result.exprs_ = exprsBuilder_.build();
720 }
721 }
722
723 private void buildPartial0(com.google.ortools.sat.AutomatonConstraintProto result) {
724 int from_bitField0_ = bitField0_;
725 if (((from_bitField0_ & 0x00000001) != 0)) {
726 result.startingState_ = startingState_;
727 }
728 if (((from_bitField0_ & 0x00000002) != 0)) {
729 finalStates_.makeImmutable();
730 result.finalStates_ = finalStates_;
731 }
732 if (((from_bitField0_ & 0x00000004) != 0)) {
733 transitionTail_.makeImmutable();
734 result.transitionTail_ = transitionTail_;
735 }
736 if (((from_bitField0_ & 0x00000008) != 0)) {
737 transitionHead_.makeImmutable();
738 result.transitionHead_ = transitionHead_;
739 }
740 if (((from_bitField0_ & 0x00000010) != 0)) {
741 transitionLabel_.makeImmutable();
742 result.transitionLabel_ = transitionLabel_;
743 }
744 if (((from_bitField0_ & 0x00000020) != 0)) {
745 vars_.makeImmutable();
746 result.vars_ = vars_;
747 }
748 }
749
750 @java.lang.Override
751 public Builder mergeFrom(com.google.protobuf.Message other) {
752 if (other instanceof com.google.ortools.sat.AutomatonConstraintProto) {
753 return mergeFrom((com.google.ortools.sat.AutomatonConstraintProto)other);
754 } else {
755 super.mergeFrom(other);
756 return this;
757 }
758 }
759
760 public Builder mergeFrom(com.google.ortools.sat.AutomatonConstraintProto other) {
761 if (other == com.google.ortools.sat.AutomatonConstraintProto.getDefaultInstance()) return this;
762 if (other.getStartingState() != 0L) {
763 setStartingState(other.getStartingState());
764 }
765 if (!other.finalStates_.isEmpty()) {
766 if (finalStates_.isEmpty()) {
767 finalStates_ = other.finalStates_;
768 finalStates_.makeImmutable();
769 bitField0_ |= 0x00000002;
770 } else {
771 ensureFinalStatesIsMutable();
772 finalStates_.addAll(other.finalStates_);
773 }
774 onChanged();
775 }
776 if (!other.transitionTail_.isEmpty()) {
777 if (transitionTail_.isEmpty()) {
778 transitionTail_ = other.transitionTail_;
779 transitionTail_.makeImmutable();
780 bitField0_ |= 0x00000004;
781 } else {
782 ensureTransitionTailIsMutable();
783 transitionTail_.addAll(other.transitionTail_);
784 }
785 onChanged();
786 }
787 if (!other.transitionHead_.isEmpty()) {
788 if (transitionHead_.isEmpty()) {
789 transitionHead_ = other.transitionHead_;
790 transitionHead_.makeImmutable();
791 bitField0_ |= 0x00000008;
792 } else {
793 ensureTransitionHeadIsMutable();
794 transitionHead_.addAll(other.transitionHead_);
795 }
796 onChanged();
797 }
798 if (!other.transitionLabel_.isEmpty()) {
799 if (transitionLabel_.isEmpty()) {
800 transitionLabel_ = other.transitionLabel_;
801 transitionLabel_.makeImmutable();
802 bitField0_ |= 0x00000010;
803 } else {
804 ensureTransitionLabelIsMutable();
805 transitionLabel_.addAll(other.transitionLabel_);
806 }
807 onChanged();
808 }
809 if (!other.vars_.isEmpty()) {
810 if (vars_.isEmpty()) {
811 vars_ = other.vars_;
812 vars_.makeImmutable();
813 bitField0_ |= 0x00000020;
814 } else {
815 ensureVarsIsMutable();
816 vars_.addAll(other.vars_);
817 }
818 onChanged();
819 }
820 if (exprsBuilder_ == null) {
821 if (!other.exprs_.isEmpty()) {
822 if (exprs_.isEmpty()) {
823 exprs_ = other.exprs_;
824 bitField0_ = (bitField0_ & ~0x00000040);
825 } else {
826 ensureExprsIsMutable();
827 exprs_.addAll(other.exprs_);
828 }
829 onChanged();
830 }
831 } else {
832 if (!other.exprs_.isEmpty()) {
833 if (exprsBuilder_.isEmpty()) {
834 exprsBuilder_.dispose();
835 exprsBuilder_ = null;
836 exprs_ = other.exprs_;
837 bitField0_ = (bitField0_ & ~0x00000040);
838 exprsBuilder_ =
839 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
840 internalGetExprsFieldBuilder() : null;
841 } else {
842 exprsBuilder_.addAllMessages(other.exprs_);
843 }
844 }
845 }
846 this.mergeUnknownFields(other.getUnknownFields());
847 onChanged();
848 return this;
849 }
850
851 @java.lang.Override
852 public final boolean isInitialized() {
853 return true;
854 }
855
856 @java.lang.Override
857 public Builder mergeFrom(
858 com.google.protobuf.CodedInputStream input,
859 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
860 throws java.io.IOException {
861 if (extensionRegistry == null) {
862 throw new java.lang.NullPointerException();
863 }
864 try {
865 boolean done = false;
866 while (!done) {
867 int tag = input.readTag();
868 switch (tag) {
869 case 0:
870 done = true;
871 break;
872 case 16: {
873 startingState_ = input.readInt64();
874 bitField0_ |= 0x00000001;
875 break;
876 } // case 16
877 case 24: {
878 long v = input.readInt64();
879 ensureFinalStatesIsMutable();
880 finalStates_.addLong(v);
881 break;
882 } // case 24
883 case 26: {
884 int length = input.readRawVarint32();
885 int limit = input.pushLimit(length);
886 ensureFinalStatesIsMutable();
887 while (input.getBytesUntilLimit() > 0) {
888 finalStates_.addLong(input.readInt64());
889 }
890 input.popLimit(limit);
891 break;
892 } // case 26
893 case 32: {
894 long v = input.readInt64();
895 ensureTransitionTailIsMutable();
896 transitionTail_.addLong(v);
897 break;
898 } // case 32
899 case 34: {
900 int length = input.readRawVarint32();
901 int limit = input.pushLimit(length);
902 ensureTransitionTailIsMutable();
903 while (input.getBytesUntilLimit() > 0) {
904 transitionTail_.addLong(input.readInt64());
905 }
906 input.popLimit(limit);
907 break;
908 } // case 34
909 case 40: {
910 long v = input.readInt64();
911 ensureTransitionHeadIsMutable();
912 transitionHead_.addLong(v);
913 break;
914 } // case 40
915 case 42: {
916 int length = input.readRawVarint32();
917 int limit = input.pushLimit(length);
918 ensureTransitionHeadIsMutable();
919 while (input.getBytesUntilLimit() > 0) {
920 transitionHead_.addLong(input.readInt64());
921 }
922 input.popLimit(limit);
923 break;
924 } // case 42
925 case 48: {
926 long v = input.readInt64();
927 ensureTransitionLabelIsMutable();
928 transitionLabel_.addLong(v);
929 break;
930 } // case 48
931 case 50: {
932 int length = input.readRawVarint32();
933 int limit = input.pushLimit(length);
934 ensureTransitionLabelIsMutable();
935 while (input.getBytesUntilLimit() > 0) {
936 transitionLabel_.addLong(input.readInt64());
937 }
938 input.popLimit(limit);
939 break;
940 } // case 50
941 case 56: {
942 int v = input.readInt32();
943 ensureVarsIsMutable();
944 vars_.addInt(v);
945 break;
946 } // case 56
947 case 58: {
948 int length = input.readRawVarint32();
949 int limit = input.pushLimit(length);
950 ensureVarsIsMutable();
951 while (input.getBytesUntilLimit() > 0) {
952 vars_.addInt(input.readInt32());
953 }
954 input.popLimit(limit);
955 break;
956 } // case 58
957 case 66: {
959 input.readMessage(
960 com.google.ortools.sat.LinearExpressionProto.parser(),
961 extensionRegistry);
962 if (exprsBuilder_ == null) {
963 ensureExprsIsMutable();
964 exprs_.add(m);
965 } else {
966 exprsBuilder_.addMessage(m);
967 }
968 break;
969 } // case 66
970 default: {
971 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
972 done = true; // was an endgroup tag
973 }
974 break;
975 } // default:
976 } // switch (tag)
977 } // while (!done)
978 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
979 throw e.unwrapIOException();
980 } finally {
981 onChanged();
982 } // finally
983 return this;
984 }
985 private int bitField0_;
986
987 private long startingState_ ;
998 @java.lang.Override
999 public long getStartingState() {
1000 return startingState_;
1001 }
1002
1013 public Builder setStartingState(long value) {
1014
1015 startingState_ = value;
1016 bitField0_ |= 0x00000001;
1017 onChanged();
1018 return this;
1019 }
1020
1030 public Builder clearStartingState() {
1031 bitField0_ = (bitField0_ & ~0x00000001);
1032 startingState_ = 0L;
1033 onChanged();
1034 return this;
1035 }
1036
1037 private com.google.protobuf.Internal.LongList finalStates_ = emptyLongList();
1038 private void ensureFinalStatesIsMutable() {
1039 if (!finalStates_.isModifiable()) {
1040 finalStates_ = makeMutableCopy(finalStates_);
1041 }
1042 bitField0_ |= 0x00000002;
1043 }
1048 public java.util.List<java.lang.Long>
1050 finalStates_.makeImmutable();
1051 return finalStates_;
1052 }
1053
1057 public int getFinalStatesCount() {
1058 return finalStates_.size();
1059 }
1060
1065 public long getFinalStates(int index) {
1066 return finalStates_.getLong(index);
1067 }
1068
1074 public Builder setFinalStates(
1075 int index, long value) {
1076
1077 ensureFinalStatesIsMutable();
1078 finalStates_.setLong(index, value);
1079 bitField0_ |= 0x00000002;
1080 onChanged();
1081 return this;
1082 }
1083
1088 public Builder addFinalStates(long value) {
1089
1090 ensureFinalStatesIsMutable();
1091 finalStates_.addLong(value);
1092 bitField0_ |= 0x00000002;
1093 onChanged();
1094 return this;
1095 }
1096
1101 public Builder addAllFinalStates(
1102 java.lang.Iterable<? extends java.lang.Long> values) {
1103 ensureFinalStatesIsMutable();
1104 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1105 values, finalStates_);
1106 bitField0_ |= 0x00000002;
1107 onChanged();
1108 return this;
1109 }
1110
1114 public Builder clearFinalStates() {
1115 finalStates_ = emptyLongList();
1116 bitField0_ = (bitField0_ & ~0x00000002);
1117 onChanged();
1118 return this;
1119 }
1120
1121 private com.google.protobuf.Internal.LongList transitionTail_ = emptyLongList();
1122 private void ensureTransitionTailIsMutable() {
1123 if (!transitionTail_.isModifiable()) {
1124 transitionTail_ = makeMutableCopy(transitionTail_);
1125 }
1126 bitField0_ |= 0x00000004;
1127 }
1138 public java.util.List<java.lang.Long>
1140 transitionTail_.makeImmutable();
1141 return transitionTail_;
1142 }
1143
1154 return transitionTail_.size();
1155 }
1156
1167 public long getTransitionTail(int index) {
1168 return transitionTail_.getLong(index);
1169 }
1170
1182 public Builder setTransitionTail(
1183 int index, long value) {
1184
1185 ensureTransitionTailIsMutable();
1186 transitionTail_.setLong(index, value);
1187 bitField0_ |= 0x00000004;
1188 onChanged();
1189 return this;
1190 }
1191
1202 public Builder addTransitionTail(long value) {
1203
1204 ensureTransitionTailIsMutable();
1205 transitionTail_.addLong(value);
1206 bitField0_ |= 0x00000004;
1207 onChanged();
1208 return this;
1209 }
1210
1221 public Builder addAllTransitionTail(
1222 java.lang.Iterable<? extends java.lang.Long> values) {
1223 ensureTransitionTailIsMutable();
1224 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1225 values, transitionTail_);
1226 bitField0_ |= 0x00000004;
1227 onChanged();
1228 return this;
1229 }
1230
1240 public Builder clearTransitionTail() {
1241 transitionTail_ = emptyLongList();
1242 bitField0_ = (bitField0_ & ~0x00000004);
1243 onChanged();
1244 return this;
1245 }
1246
1247 private com.google.protobuf.Internal.LongList transitionHead_ = emptyLongList();
1248 private void ensureTransitionHeadIsMutable() {
1249 if (!transitionHead_.isModifiable()) {
1250 transitionHead_ = makeMutableCopy(transitionHead_);
1251 }
1252 bitField0_ |= 0x00000008;
1253 }
1258 public java.util.List<java.lang.Long>
1260 transitionHead_.makeImmutable();
1261 return transitionHead_;
1262 }
1263
1268 return transitionHead_.size();
1269 }
1270
1275 public long getTransitionHead(int index) {
1276 return transitionHead_.getLong(index);
1277 }
1278
1284 public Builder setTransitionHead(
1285 int index, long value) {
1286
1287 ensureTransitionHeadIsMutable();
1288 transitionHead_.setLong(index, value);
1289 bitField0_ |= 0x00000008;
1290 onChanged();
1291 return this;
1292 }
1293
1298 public Builder addTransitionHead(long value) {
1299
1300 ensureTransitionHeadIsMutable();
1301 transitionHead_.addLong(value);
1302 bitField0_ |= 0x00000008;
1303 onChanged();
1304 return this;
1305 }
1306
1311 public Builder addAllTransitionHead(
1312 java.lang.Iterable<? extends java.lang.Long> values) {
1313 ensureTransitionHeadIsMutable();
1314 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1315 values, transitionHead_);
1316 bitField0_ |= 0x00000008;
1317 onChanged();
1318 return this;
1319 }
1320
1324 public Builder clearTransitionHead() {
1325 transitionHead_ = emptyLongList();
1326 bitField0_ = (bitField0_ & ~0x00000008);
1327 onChanged();
1328 return this;
1329 }
1330
1331 private com.google.protobuf.Internal.LongList transitionLabel_ = emptyLongList();
1332 private void ensureTransitionLabelIsMutable() {
1333 if (!transitionLabel_.isModifiable()) {
1334 transitionLabel_ = makeMutableCopy(transitionLabel_);
1335 }
1336 bitField0_ |= 0x00000010;
1337 }
1342 public java.util.List<java.lang.Long>
1344 transitionLabel_.makeImmutable();
1345 return transitionLabel_;
1346 }
1347
1352 return transitionLabel_.size();
1353 }
1354
1359 public long getTransitionLabel(int index) {
1360 return transitionLabel_.getLong(index);
1361 }
1362
1368 public Builder setTransitionLabel(
1369 int index, long value) {
1370
1371 ensureTransitionLabelIsMutable();
1372 transitionLabel_.setLong(index, value);
1373 bitField0_ |= 0x00000010;
1374 onChanged();
1375 return this;
1376 }
1377
1382 public Builder addTransitionLabel(long value) {
1383
1384 ensureTransitionLabelIsMutable();
1385 transitionLabel_.addLong(value);
1386 bitField0_ |= 0x00000010;
1387 onChanged();
1388 return this;
1389 }
1390
1396 java.lang.Iterable<? extends java.lang.Long> values) {
1397 ensureTransitionLabelIsMutable();
1398 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1399 values, transitionLabel_);
1400 bitField0_ |= 0x00000010;
1401 onChanged();
1402 return this;
1403 }
1404
1408 public Builder clearTransitionLabel() {
1409 transitionLabel_ = emptyLongList();
1410 bitField0_ = (bitField0_ & ~0x00000010);
1411 onChanged();
1412 return this;
1413 }
1414
1415 private com.google.protobuf.Internal.IntList vars_ = emptyIntList();
1416 private void ensureVarsIsMutable() {
1417 if (!vars_.isModifiable()) {
1418 vars_ = makeMutableCopy(vars_);
1419 }
1420 bitField0_ |= 0x00000020;
1421 }
1430 public java.util.List<java.lang.Integer>
1432 vars_.makeImmutable();
1433 return vars_;
1434 }
1435
1443 public int getVarsCount() {
1444 return vars_.size();
1445 }
1446
1455 public int getVars(int index) {
1456 return vars_.getInt(index);
1457 }
1458
1468 public Builder setVars(
1469 int index, int value) {
1470
1471 ensureVarsIsMutable();
1472 vars_.setInt(index, value);
1473 bitField0_ |= 0x00000020;
1474 onChanged();
1475 return this;
1476 }
1477
1486 public Builder addVars(int value) {
1487
1488 ensureVarsIsMutable();
1489 vars_.addInt(value);
1490 bitField0_ |= 0x00000020;
1491 onChanged();
1492 return this;
1493 }
1494
1503 public Builder addAllVars(
1504 java.lang.Iterable<? extends java.lang.Integer> values) {
1505 ensureVarsIsMutable();
1506 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1507 values, vars_);
1508 bitField0_ |= 0x00000020;
1509 onChanged();
1510 return this;
1511 }
1512
1520 public Builder clearVars() {
1521 vars_ = emptyIntList();
1522 bitField0_ = (bitField0_ & ~0x00000020);
1523 onChanged();
1524 return this;
1525 }
1526
1527 private java.util.List<com.google.ortools.sat.LinearExpressionProto> exprs_ =
1528 java.util.Collections.emptyList();
1529 private void ensureExprsIsMutable() {
1530 if (!((bitField0_ & 0x00000040) != 0)) {
1531 exprs_ = new java.util.ArrayList<com.google.ortools.sat.LinearExpressionProto>(exprs_);
1532 bitField0_ |= 0x00000040;
1533 }
1534 }
1535
1536 private com.google.protobuf.RepeatedFieldBuilder<
1537 com.google.ortools.sat.LinearExpressionProto, com.google.ortools.sat.LinearExpressionProto.Builder, com.google.ortools.sat.LinearExpressionProtoOrBuilder> exprsBuilder_;
1538
1547 public java.util.List<com.google.ortools.sat.LinearExpressionProto> getExprsList() {
1548 if (exprsBuilder_ == null) {
1549 return java.util.Collections.unmodifiableList(exprs_);
1550 } else {
1551 return exprsBuilder_.getMessageList();
1552 }
1553 }
1554
1562 public int getExprsCount() {
1563 if (exprsBuilder_ == null) {
1564 return exprs_.size();
1565 } else {
1566 return exprsBuilder_.getCount();
1567 }
1568 }
1569
1578 if (exprsBuilder_ == null) {
1579 return exprs_.get(index);
1580 } else {
1581 return exprsBuilder_.getMessage(index);
1582 }
1583 }
1584
1592 public Builder setExprs(
1593 int index, com.google.ortools.sat.LinearExpressionProto value) {
1594 if (exprsBuilder_ == null) {
1595 if (value == null) {
1596 throw new NullPointerException();
1597 }
1598 ensureExprsIsMutable();
1599 exprs_.set(index, value);
1600 onChanged();
1601 } else {
1602 exprsBuilder_.setMessage(index, value);
1603 }
1604 return this;
1605 }
1606
1614 public Builder setExprs(
1615 int index, com.google.ortools.sat.LinearExpressionProto.Builder builderForValue) {
1616 if (exprsBuilder_ == null) {
1617 ensureExprsIsMutable();
1618 exprs_.set(index, builderForValue.build());
1619 onChanged();
1620 } else {
1621 exprsBuilder_.setMessage(index, builderForValue.build());
1622 }
1623 return this;
1624 }
1625
1633 public Builder addExprs(com.google.ortools.sat.LinearExpressionProto value) {
1634 if (exprsBuilder_ == null) {
1635 if (value == null) {
1636 throw new NullPointerException();
1637 }
1638 ensureExprsIsMutable();
1639 exprs_.add(value);
1640 onChanged();
1641 } else {
1642 exprsBuilder_.addMessage(value);
1643 }
1644 return this;
1645 }
1646
1654 public Builder addExprs(
1655 int index, com.google.ortools.sat.LinearExpressionProto value) {
1656 if (exprsBuilder_ == null) {
1657 if (value == null) {
1658 throw new NullPointerException();
1659 }
1660 ensureExprsIsMutable();
1661 exprs_.add(index, value);
1662 onChanged();
1663 } else {
1664 exprsBuilder_.addMessage(index, value);
1665 }
1666 return this;
1667 }
1668
1676 public Builder addExprs(
1677 com.google.ortools.sat.LinearExpressionProto.Builder builderForValue) {
1678 if (exprsBuilder_ == null) {
1679 ensureExprsIsMutable();
1680 exprs_.add(builderForValue.build());
1681 onChanged();
1682 } else {
1683 exprsBuilder_.addMessage(builderForValue.build());
1684 }
1685 return this;
1686 }
1687
1695 public Builder addExprs(
1696 int index, com.google.ortools.sat.LinearExpressionProto.Builder builderForValue) {
1697 if (exprsBuilder_ == null) {
1698 ensureExprsIsMutable();
1699 exprs_.add(index, builderForValue.build());
1700 onChanged();
1701 } else {
1702 exprsBuilder_.addMessage(index, builderForValue.build());
1703 }
1704 return this;
1705 }
1706
1714 public Builder addAllExprs(
1715 java.lang.Iterable<? extends com.google.ortools.sat.LinearExpressionProto> values) {
1716 if (exprsBuilder_ == null) {
1717 ensureExprsIsMutable();
1718 com.google.protobuf.AbstractMessageLite.Builder.addAll(
1719 values, exprs_);
1720 onChanged();
1721 } else {
1722 exprsBuilder_.addAllMessages(values);
1723 }
1724 return this;
1725 }
1726
1734 public Builder clearExprs() {
1735 if (exprsBuilder_ == null) {
1736 exprs_ = java.util.Collections.emptyList();
1737 bitField0_ = (bitField0_ & ~0x00000040);
1738 onChanged();
1739 } else {
1740 exprsBuilder_.clear();
1741 }
1742 return this;
1743 }
1744
1752 public Builder removeExprs(int index) {
1753 if (exprsBuilder_ == null) {
1754 ensureExprsIsMutable();
1755 exprs_.remove(index);
1756 onChanged();
1757 } else {
1758 exprsBuilder_.remove(index);
1759 }
1760 return this;
1761 }
1762
1771 int index) {
1772 return internalGetExprsFieldBuilder().getBuilder(index);
1773 }
1774
1783 int index) {
1784 if (exprsBuilder_ == null) {
1785 return exprs_.get(index); } else {
1786 return exprsBuilder_.getMessageOrBuilder(index);
1787 }
1788 }
1789
1797 public java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder>
1799 if (exprsBuilder_ != null) {
1800 return exprsBuilder_.getMessageOrBuilderList();
1801 } else {
1802 return java.util.Collections.unmodifiableList(exprs_);
1803 }
1804 }
1805
1814 return internalGetExprsFieldBuilder().addBuilder(
1815 com.google.ortools.sat.LinearExpressionProto.getDefaultInstance());
1816 }
1817
1826 int index) {
1827 return internalGetExprsFieldBuilder().addBuilder(
1828 index, com.google.ortools.sat.LinearExpressionProto.getDefaultInstance());
1829 }
1830
1838 public java.util.List<com.google.ortools.sat.LinearExpressionProto.Builder>
1840 return internalGetExprsFieldBuilder().getBuilderList();
1841 }
1842 private com.google.protobuf.RepeatedFieldBuilder<
1843 com.google.ortools.sat.LinearExpressionProto, com.google.ortools.sat.LinearExpressionProto.Builder, com.google.ortools.sat.LinearExpressionProtoOrBuilder>
1844 internalGetExprsFieldBuilder() {
1845 if (exprsBuilder_ == null) {
1846 exprsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
1847 com.google.ortools.sat.LinearExpressionProto, com.google.ortools.sat.LinearExpressionProto.Builder, com.google.ortools.sat.LinearExpressionProtoOrBuilder>(
1848 exprs_,
1849 ((bitField0_ & 0x00000040) != 0),
1850 getParentForChildren(),
1851 isClean());
1852 exprs_ = null;
1853 }
1854 return exprsBuilder_;
1855 }
1856
1857 // @@protoc_insertion_point(builder_scope:operations_research.sat.AutomatonConstraintProto)
1858 }
1859
1860 // @@protoc_insertion_point(class_scope:operations_research.sat.AutomatonConstraintProto)
1861 private static final com.google.ortools.sat.AutomatonConstraintProto DEFAULT_INSTANCE;
1862 static {
1863 DEFAULT_INSTANCE = new com.google.ortools.sat.AutomatonConstraintProto();
1864 }
1865
1867 return DEFAULT_INSTANCE;
1868 }
1869
1870 private static final com.google.protobuf.Parser<AutomatonConstraintProto>
1871 PARSER = new com.google.protobuf.AbstractParser<AutomatonConstraintProto>() {
1872 @java.lang.Override
1873 public AutomatonConstraintProto parsePartialFrom(
1874 com.google.protobuf.CodedInputStream input,
1875 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1876 throws com.google.protobuf.InvalidProtocolBufferException {
1877 Builder builder = newBuilder();
1878 try {
1879 builder.mergeFrom(input, extensionRegistry);
1880 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1881 throw e.setUnfinishedMessage(builder.buildPartial());
1882 } catch (com.google.protobuf.UninitializedMessageException e) {
1883 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1884 } catch (java.io.IOException e) {
1885 throw new com.google.protobuf.InvalidProtocolBufferException(e)
1886 .setUnfinishedMessage(builder.buildPartial());
1887 }
1888 return builder.buildPartial();
1889 }
1890 };
1891
1892 public static com.google.protobuf.Parser<AutomatonConstraintProto> parser() {
1893 return PARSER;
1894 }
1895
1896 @java.lang.Override
1897 public com.google.protobuf.Parser<AutomatonConstraintProto> getParserForType() {
1898 return PARSER;
1899 }
1900
1901 @java.lang.Override
1905
1906}
1907
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)