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