Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
LinearExpressionProto.java
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ortools/sat/cp_model.proto
3
4// Protobuf Java Version: 3.25.3
5package com.google.ortools.sat;
6
16public final class LinearExpressionProto extends
17 com.google.protobuf.GeneratedMessageV3 implements
18 // @@protoc_insertion_point(message_implements:operations_research.sat.LinearExpressionProto)
20private static final long serialVersionUID = 0L;
21 // Use LinearExpressionProto.newBuilder() to construct.
22 private LinearExpressionProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
23 super(builder);
24 }
25 private LinearExpressionProto() {
26 vars_ = emptyIntList();
27 coeffs_ = emptyLongList();
28 }
29
30 @java.lang.Override
31 @SuppressWarnings({"unused"})
32 protected java.lang.Object newInstance(
33 UnusedPrivateParameter unused) {
34 return new LinearExpressionProto();
35 }
36
37 public static final com.google.protobuf.Descriptors.Descriptor
39 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearExpressionProto_descriptor;
40 }
41
42 @java.lang.Override
43 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
45 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearExpressionProto_fieldAccessorTable
46 .ensureFieldAccessorsInitialized(
47 com.google.ortools.sat.LinearExpressionProto.class, com.google.ortools.sat.LinearExpressionProto.Builder.class);
48 }
49
50 public static final int VARS_FIELD_NUMBER = 1;
51 @SuppressWarnings("serial")
52 private com.google.protobuf.Internal.IntList vars_ =
53 emptyIntList();
58 @java.lang.Override
59 public java.util.List<java.lang.Integer>
61 return vars_;
62 }
67 public int getVarsCount() {
68 return vars_.size();
69 }
75 public int getVars(int index) {
76 return vars_.getInt(index);
77 }
78 private int varsMemoizedSerializedSize = -1;
79
80 public static final int COEFFS_FIELD_NUMBER = 2;
81 @SuppressWarnings("serial")
82 private com.google.protobuf.Internal.LongList coeffs_ =
83 emptyLongList();
88 @java.lang.Override
89 public java.util.List<java.lang.Long>
91 return coeffs_;
92 }
97 public int getCoeffsCount() {
98 return coeffs_.size();
99 }
105 public long getCoeffs(int index) {
106 return coeffs_.getLong(index);
107 }
108 private int coeffsMemoizedSerializedSize = -1;
109
110 public static final int OFFSET_FIELD_NUMBER = 3;
111 private long offset_ = 0L;
116 @java.lang.Override
117 public long getOffset() {
118 return offset_;
119 }
120
121 private byte memoizedIsInitialized = -1;
122 @java.lang.Override
123 public final boolean isInitialized() {
124 byte isInitialized = memoizedIsInitialized;
125 if (isInitialized == 1) return true;
126 if (isInitialized == 0) return false;
127
128 memoizedIsInitialized = 1;
129 return true;
130 }
131
132 @java.lang.Override
133 public void writeTo(com.google.protobuf.CodedOutputStream output)
134 throws java.io.IOException {
136 if (getVarsList().size() > 0) {
137 output.writeUInt32NoTag(10);
138 output.writeUInt32NoTag(varsMemoizedSerializedSize);
139 }
140 for (int i = 0; i < vars_.size(); i++) {
141 output.writeInt32NoTag(vars_.getInt(i));
142 }
143 if (getCoeffsList().size() > 0) {
144 output.writeUInt32NoTag(18);
145 output.writeUInt32NoTag(coeffsMemoizedSerializedSize);
146 }
147 for (int i = 0; i < coeffs_.size(); i++) {
148 output.writeInt64NoTag(coeffs_.getLong(i));
149 }
150 if (offset_ != 0L) {
151 output.writeInt64(3, offset_);
152 }
153 getUnknownFields().writeTo(output);
154 }
155
156 @java.lang.Override
157 public int getSerializedSize() {
158 int size = memoizedSize;
159 if (size != -1) return size;
160
161 size = 0;
162 {
163 int dataSize = 0;
164 for (int i = 0; i < vars_.size(); i++) {
165 dataSize += com.google.protobuf.CodedOutputStream
166 .computeInt32SizeNoTag(vars_.getInt(i));
167 }
168 size += dataSize;
169 if (!getVarsList().isEmpty()) {
170 size += 1;
171 size += com.google.protobuf.CodedOutputStream
172 .computeInt32SizeNoTag(dataSize);
173 }
174 varsMemoizedSerializedSize = dataSize;
175 }
176 {
177 int dataSize = 0;
178 for (int i = 0; i < coeffs_.size(); i++) {
179 dataSize += com.google.protobuf.CodedOutputStream
180 .computeInt64SizeNoTag(coeffs_.getLong(i));
181 }
182 size += dataSize;
183 if (!getCoeffsList().isEmpty()) {
184 size += 1;
185 size += com.google.protobuf.CodedOutputStream
186 .computeInt32SizeNoTag(dataSize);
187 }
188 coeffsMemoizedSerializedSize = dataSize;
189 }
190 if (offset_ != 0L) {
191 size += com.google.protobuf.CodedOutputStream
192 .computeInt64Size(3, offset_);
193 }
194 size += getUnknownFields().getSerializedSize();
195 memoizedSize = size;
196 return size;
197 }
198
199 @java.lang.Override
200 public boolean equals(final java.lang.Object obj) {
201 if (obj == this) {
202 return true;
203 }
204 if (!(obj instanceof com.google.ortools.sat.LinearExpressionProto)) {
205 return super.equals(obj);
206 }
207 com.google.ortools.sat.LinearExpressionProto other = (com.google.ortools.sat.LinearExpressionProto) obj;
208
209 if (!getVarsList()
210 .equals(other.getVarsList())) return false;
211 if (!getCoeffsList()
212 .equals(other.getCoeffsList())) return false;
213 if (getOffset()
214 != other.getOffset()) return false;
215 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
216 return true;
217 }
218
219 @java.lang.Override
220 public int hashCode() {
221 if (memoizedHashCode != 0) {
222 return memoizedHashCode;
223 }
224 int hash = 41;
225 hash = (19 * hash) + getDescriptor().hashCode();
226 if (getVarsCount() > 0) {
227 hash = (37 * hash) + VARS_FIELD_NUMBER;
228 hash = (53 * hash) + getVarsList().hashCode();
229 }
230 if (getCoeffsCount() > 0) {
231 hash = (37 * hash) + COEFFS_FIELD_NUMBER;
232 hash = (53 * hash) + getCoeffsList().hashCode();
233 }
234 hash = (37 * hash) + OFFSET_FIELD_NUMBER;
235 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
236 getOffset());
237 hash = (29 * hash) + getUnknownFields().hashCode();
238 memoizedHashCode = hash;
239 return hash;
240 }
241
243 java.nio.ByteBuffer data)
244 throws com.google.protobuf.InvalidProtocolBufferException {
245 return PARSER.parseFrom(data);
246 }
248 java.nio.ByteBuffer data,
249 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
250 throws com.google.protobuf.InvalidProtocolBufferException {
251 return PARSER.parseFrom(data, extensionRegistry);
252 }
254 com.google.protobuf.ByteString data)
255 throws com.google.protobuf.InvalidProtocolBufferException {
256 return PARSER.parseFrom(data);
257 }
259 com.google.protobuf.ByteString data,
260 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
261 throws com.google.protobuf.InvalidProtocolBufferException {
262 return PARSER.parseFrom(data, extensionRegistry);
263 }
265 throws com.google.protobuf.InvalidProtocolBufferException {
266 return PARSER.parseFrom(data);
267 }
269 byte[] data,
270 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
271 throws com.google.protobuf.InvalidProtocolBufferException {
272 return PARSER.parseFrom(data, extensionRegistry);
273 }
274 public static com.google.ortools.sat.LinearExpressionProto parseFrom(java.io.InputStream input)
275 throws java.io.IOException {
276 return com.google.protobuf.GeneratedMessageV3
277 .parseWithIOException(PARSER, input);
278 }
280 java.io.InputStream input,
281 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
282 throws java.io.IOException {
283 return com.google.protobuf.GeneratedMessageV3
284 .parseWithIOException(PARSER, input, extensionRegistry);
285 }
286
288 throws java.io.IOException {
289 return com.google.protobuf.GeneratedMessageV3
290 .parseDelimitedWithIOException(PARSER, input);
291 }
292
294 java.io.InputStream input,
295 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
296 throws java.io.IOException {
297 return com.google.protobuf.GeneratedMessageV3
298 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
299 }
301 com.google.protobuf.CodedInputStream input)
302 throws java.io.IOException {
303 return com.google.protobuf.GeneratedMessageV3
304 .parseWithIOException(PARSER, input);
305 }
307 com.google.protobuf.CodedInputStream input,
308 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
309 throws java.io.IOException {
310 return com.google.protobuf.GeneratedMessageV3
311 .parseWithIOException(PARSER, input, extensionRegistry);
312 }
313
314 @java.lang.Override
315 public Builder newBuilderForType() { return newBuilder(); }
316 public static Builder newBuilder() {
317 return DEFAULT_INSTANCE.toBuilder();
318 }
319 public static Builder newBuilder(com.google.ortools.sat.LinearExpressionProto prototype) {
320 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
321 }
322 @java.lang.Override
324 return this == DEFAULT_INSTANCE
325 ? new Builder() : new Builder().mergeFrom(this);
326 }
327
328 @java.lang.Override
330 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
331 Builder builder = new Builder(parent);
332 return builder;
333 }
343 public static final class Builder extends
344 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
345 // @@protoc_insertion_point(builder_implements:operations_research.sat.LinearExpressionProto)
346 com.google.ortools.sat.LinearExpressionProtoOrBuilder {
347 public static final com.google.protobuf.Descriptors.Descriptor
349 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearExpressionProto_descriptor;
350 }
351
352 @java.lang.Override
353 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
355 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearExpressionProto_fieldAccessorTable
356 .ensureFieldAccessorsInitialized(
357 com.google.ortools.sat.LinearExpressionProto.class, com.google.ortools.sat.LinearExpressionProto.Builder.class);
358 }
359
360 // Construct using com.google.ortools.sat.LinearExpressionProto.newBuilder()
361 private Builder() {
362
363 }
364
365 private Builder(
366 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
367 super(parent);
368
369 }
370 @java.lang.Override
371 public Builder clear() {
372 super.clear();
373 bitField0_ = 0;
374 vars_ = emptyIntList();
375 coeffs_ = emptyLongList();
376 offset_ = 0L;
377 return this;
378 }
379
380 @java.lang.Override
381 public com.google.protobuf.Descriptors.Descriptor
383 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearExpressionProto_descriptor;
384 }
385
386 @java.lang.Override
388 return com.google.ortools.sat.LinearExpressionProto.getDefaultInstance();
389 }
390
391 @java.lang.Override
394 if (!result.isInitialized()) {
395 throw newUninitializedMessageException(result);
396 }
397 return result;
398 }
399
400 @java.lang.Override
402 com.google.ortools.sat.LinearExpressionProto result = new com.google.ortools.sat.LinearExpressionProto(this);
403 if (bitField0_ != 0) { buildPartial0(result); }
404 onBuilt();
405 return result;
406 }
407
408 private void buildPartial0(com.google.ortools.sat.LinearExpressionProto result) {
409 int from_bitField0_ = bitField0_;
410 if (((from_bitField0_ & 0x00000001) != 0)) {
411 vars_.makeImmutable();
412 result.vars_ = vars_;
413 }
414 if (((from_bitField0_ & 0x00000002) != 0)) {
415 coeffs_.makeImmutable();
416 result.coeffs_ = coeffs_;
417 }
418 if (((from_bitField0_ & 0x00000004) != 0)) {
419 result.offset_ = offset_;
420 }
421 }
422
423 @java.lang.Override
424 public Builder clone() {
425 return super.clone();
426 }
427 @java.lang.Override
429 com.google.protobuf.Descriptors.FieldDescriptor field,
430 java.lang.Object value) {
431 return super.setField(field, value);
432 }
433 @java.lang.Override
435 com.google.protobuf.Descriptors.FieldDescriptor field) {
436 return super.clearField(field);
437 }
438 @java.lang.Override
440 com.google.protobuf.Descriptors.OneofDescriptor oneof) {
441 return super.clearOneof(oneof);
442 }
443 @java.lang.Override
445 com.google.protobuf.Descriptors.FieldDescriptor field,
446 int index, java.lang.Object value) {
447 return super.setRepeatedField(field, index, value);
448 }
449 @java.lang.Override
451 com.google.protobuf.Descriptors.FieldDescriptor field,
452 java.lang.Object value) {
453 return super.addRepeatedField(field, value);
454 }
455 @java.lang.Override
456 public Builder mergeFrom(com.google.protobuf.Message other) {
457 if (other instanceof com.google.ortools.sat.LinearExpressionProto) {
458 return mergeFrom((com.google.ortools.sat.LinearExpressionProto)other);
459 } else {
460 super.mergeFrom(other);
461 return this;
462 }
463 }
464
465 public Builder mergeFrom(com.google.ortools.sat.LinearExpressionProto other) {
466 if (other == com.google.ortools.sat.LinearExpressionProto.getDefaultInstance()) return this;
467 if (!other.vars_.isEmpty()) {
468 if (vars_.isEmpty()) {
469 vars_ = other.vars_;
470 vars_.makeImmutable();
471 bitField0_ |= 0x00000001;
472 } else {
473 ensureVarsIsMutable();
474 vars_.addAll(other.vars_);
475 }
476 onChanged();
477 }
478 if (!other.coeffs_.isEmpty()) {
479 if (coeffs_.isEmpty()) {
480 coeffs_ = other.coeffs_;
481 coeffs_.makeImmutable();
482 bitField0_ |= 0x00000002;
483 } else {
484 ensureCoeffsIsMutable();
485 coeffs_.addAll(other.coeffs_);
486 }
487 onChanged();
488 }
489 if (other.getOffset() != 0L) {
490 setOffset(other.getOffset());
491 }
492 this.mergeUnknownFields(other.getUnknownFields());
493 onChanged();
494 return this;
495 }
496
497 @java.lang.Override
498 public final boolean isInitialized() {
499 return true;
500 }
501
502 @java.lang.Override
504 com.google.protobuf.CodedInputStream input,
505 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
506 throws java.io.IOException {
507 if (extensionRegistry == null) {
508 throw new java.lang.NullPointerException();
509 }
510 try {
511 boolean done = false;
512 while (!done) {
513 int tag = input.readTag();
514 switch (tag) {
515 case 0:
516 done = true;
517 break;
518 case 8: {
519 int v = input.readInt32();
520 ensureVarsIsMutable();
521 vars_.addInt(v);
522 break;
523 } // case 8
524 case 10: {
525 int length = input.readRawVarint32();
526 int limit = input.pushLimit(length);
527 ensureVarsIsMutable();
528 while (input.getBytesUntilLimit() > 0) {
529 vars_.addInt(input.readInt32());
530 }
531 input.popLimit(limit);
532 break;
533 } // case 10
534 case 16: {
535 long v = input.readInt64();
536 ensureCoeffsIsMutable();
537 coeffs_.addLong(v);
538 break;
539 } // case 16
540 case 18: {
541 int length = input.readRawVarint32();
542 int limit = input.pushLimit(length);
543 ensureCoeffsIsMutable();
544 while (input.getBytesUntilLimit() > 0) {
545 coeffs_.addLong(input.readInt64());
546 }
547 input.popLimit(limit);
548 break;
549 } // case 18
550 case 24: {
551 offset_ = input.readInt64();
552 bitField0_ |= 0x00000004;
553 break;
554 } // case 24
555 default: {
556 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
557 done = true; // was an endgroup tag
558 }
559 break;
560 } // default:
561 } // switch (tag)
562 } // while (!done)
563 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
564 throw e.unwrapIOException();
565 } finally {
566 onChanged();
567 } // finally
568 return this;
569 }
570 private int bitField0_;
571
572 private com.google.protobuf.Internal.IntList vars_ = emptyIntList();
573 private void ensureVarsIsMutable() {
574 if (!vars_.isModifiable()) {
575 vars_ = makeMutableCopy(vars_);
576 }
577 bitField0_ |= 0x00000001;
578 }
583 public java.util.List<java.lang.Integer>
585 vars_.makeImmutable();
586 return vars_;
587 }
592 public int getVarsCount() {
593 return vars_.size();
594 }
600 public int getVars(int index) {
601 return vars_.getInt(index);
602 }
610 int index, int value) {
611
612 ensureVarsIsMutable();
613 vars_.setInt(index, value);
614 bitField0_ |= 0x00000001;
615 onChanged();
616 return this;
617 }
623 public Builder addVars(int value) {
624
625 ensureVarsIsMutable();
626 vars_.addInt(value);
627 bitField0_ |= 0x00000001;
628 onChanged();
629 return this;
630 }
637 java.lang.Iterable<? extends java.lang.Integer> values) {
638 ensureVarsIsMutable();
639 com.google.protobuf.AbstractMessageLite.Builder.addAll(
640 values, vars_);
641 bitField0_ |= 0x00000001;
642 onChanged();
643 return this;
644 }
650 vars_ = emptyIntList();
651 bitField0_ = (bitField0_ & ~0x00000001);
652 onChanged();
653 return this;
654 }
655
656 private com.google.protobuf.Internal.LongList coeffs_ = emptyLongList();
657 private void ensureCoeffsIsMutable() {
658 if (!coeffs_.isModifiable()) {
659 coeffs_ = makeMutableCopy(coeffs_);
660 }
661 bitField0_ |= 0x00000002;
662 }
667 public java.util.List<java.lang.Long>
669 coeffs_.makeImmutable();
670 return coeffs_;
671 }
676 public int getCoeffsCount() {
677 return coeffs_.size();
678 }
684 public long getCoeffs(int index) {
685 return coeffs_.getLong(index);
686 }
694 int index, long value) {
695
696 ensureCoeffsIsMutable();
697 coeffs_.setLong(index, value);
698 bitField0_ |= 0x00000002;
699 onChanged();
700 return this;
701 }
707 public Builder addCoeffs(long value) {
708
709 ensureCoeffsIsMutable();
710 coeffs_.addLong(value);
711 bitField0_ |= 0x00000002;
712 onChanged();
713 return this;
714 }
721 java.lang.Iterable<? extends java.lang.Long> values) {
722 ensureCoeffsIsMutable();
723 com.google.protobuf.AbstractMessageLite.Builder.addAll(
724 values, coeffs_);
725 bitField0_ |= 0x00000002;
726 onChanged();
727 return this;
728 }
734 coeffs_ = emptyLongList();
735 bitField0_ = (bitField0_ & ~0x00000002);
736 onChanged();
737 return this;
738 }
739
740 private long offset_ ;
745 @java.lang.Override
746 public long getOffset() {
747 return offset_;
748 }
754 public Builder setOffset(long value) {
755
756 offset_ = value;
757 bitField0_ |= 0x00000004;
758 onChanged();
759 return this;
760 }
766 bitField0_ = (bitField0_ & ~0x00000004);
767 offset_ = 0L;
768 onChanged();
769 return this;
770 }
771 @java.lang.Override
773 final com.google.protobuf.UnknownFieldSet unknownFields) {
774 return super.setUnknownFields(unknownFields);
775 }
776
777 @java.lang.Override
779 final com.google.protobuf.UnknownFieldSet unknownFields) {
780 return super.mergeUnknownFields(unknownFields);
781 }
782
783
784 // @@protoc_insertion_point(builder_scope:operations_research.sat.LinearExpressionProto)
785 }
786
787 // @@protoc_insertion_point(class_scope:operations_research.sat.LinearExpressionProto)
788 private static final com.google.ortools.sat.LinearExpressionProto DEFAULT_INSTANCE;
789 static {
790 DEFAULT_INSTANCE = new com.google.ortools.sat.LinearExpressionProto();
791 }
792
794 return DEFAULT_INSTANCE;
795 }
796
797 private static final com.google.protobuf.Parser<LinearExpressionProto>
798 PARSER = new com.google.protobuf.AbstractParser<LinearExpressionProto>() {
799 @java.lang.Override
800 public LinearExpressionProto parsePartialFrom(
801 com.google.protobuf.CodedInputStream input,
802 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
803 throws com.google.protobuf.InvalidProtocolBufferException {
804 Builder builder = newBuilder();
805 try {
806 builder.mergeFrom(input, extensionRegistry);
807 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
808 throw e.setUnfinishedMessage(builder.buildPartial());
809 } catch (com.google.protobuf.UninitializedMessageException e) {
810 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
811 } catch (java.io.IOException e) {
812 throw new com.google.protobuf.InvalidProtocolBufferException(e)
813 .setUnfinishedMessage(builder.buildPartial());
814 }
815 return builder.buildPartial();
816 }
817 };
818
819 public static com.google.protobuf.Parser<LinearExpressionProto> parser() {
820 return PARSER;
821 }
822
823 @java.lang.Override
824 public com.google.protobuf.Parser<LinearExpressionProto> getParserForType() {
825 return PARSER;
826 }
827
828 @java.lang.Override
830 return DEFAULT_INSTANCE;
831 }
832
833}
834
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Builder mergeFrom(com.google.ortools.sat.LinearExpressionProto other)
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Builder addAllVars(java.lang.Iterable<? extends java.lang.Integer > values)
final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
com.google.ortools.sat.LinearExpressionProto getDefaultInstanceForType()
Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Builder mergeFrom(com.google.protobuf.Message other)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
com.google.ortools.sat.LinearExpressionProto build()
Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
com.google.ortools.sat.LinearExpressionProto buildPartial()
final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)
Builder addAllCoeffs(java.lang.Iterable<? extends java.lang.Long > values)
void writeTo(com.google.protobuf.CodedOutputStream output)
static com.google.ortools.sat.LinearExpressionProto parseFrom(com.google.protobuf.ByteString data)
static com.google.protobuf.Parser< LinearExpressionProto > parser()
static com.google.ortools.sat.LinearExpressionProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
java.util.List< java.lang.Long > getCoeffsList()
java.util.List< java.lang.Integer > getVarsList()
static com.google.ortools.sat.LinearExpressionProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
static com.google.ortools.sat.LinearExpressionProto parseDelimitedFrom(java.io.InputStream input)
java.lang.Object newInstance(UnusedPrivateParameter unused)
static Builder newBuilder(com.google.ortools.sat.LinearExpressionProto prototype)
static com.google.ortools.sat.LinearExpressionProto parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.LinearExpressionProto getDefaultInstance()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
static com.google.ortools.sat.LinearExpressionProto parseFrom(com.google.protobuf.CodedInputStream input)
static com.google.ortools.sat.LinearExpressionProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.Parser< LinearExpressionProto > getParserForType()
static com.google.ortools.sat.LinearExpressionProto parseFrom(byte[] data)
static com.google.ortools.sat.LinearExpressionProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
com.google.ortools.sat.LinearExpressionProto getDefaultInstanceForType()
static com.google.ortools.sat.LinearExpressionProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.sat.LinearExpressionProto parseFrom(java.nio.ByteBuffer data)
static com.google.ortools.sat.LinearExpressionProto parseFrom(java.io.InputStream input)