Google OR-Tools v9.11
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: 4.26.1
5package com.google.ortools.sat;
6
16public final class LinearExpressionProto extends
17 com.google.protobuf.GeneratedMessage implements
18 // @@protoc_insertion_point(message_implements:operations_research.sat.LinearExpressionProto)
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= */ 26,
26 /* patch= */ 1,
27 /* suffix= */ "",
28 LinearExpressionProto.class.getName());
29 }
30 // Use LinearExpressionProto.newBuilder() to construct.
31 private LinearExpressionProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
32 super(builder);
33 }
34 private LinearExpressionProto() {
35 vars_ = emptyIntList();
36 coeffs_ = emptyLongList();
37 }
38
39 public static final com.google.protobuf.Descriptors.Descriptor
41 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearExpressionProto_descriptor;
42 }
43
44 @java.lang.Override
45 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
47 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearExpressionProto_fieldAccessorTable
48 .ensureFieldAccessorsInitialized(
49 com.google.ortools.sat.LinearExpressionProto.class, com.google.ortools.sat.LinearExpressionProto.Builder.class);
50 }
51
52 public static final int VARS_FIELD_NUMBER = 1;
53 @SuppressWarnings("serial")
54 private com.google.protobuf.Internal.IntList vars_ =
55 emptyIntList();
60 @java.lang.Override
61 public java.util.List<java.lang.Integer>
63 return vars_;
64 }
69 public int getVarsCount() {
70 return vars_.size();
71 }
77 public int getVars(int index) {
78 return vars_.getInt(index);
79 }
80 private int varsMemoizedSerializedSize = -1;
81
82 public static final int COEFFS_FIELD_NUMBER = 2;
83 @SuppressWarnings("serial")
84 private com.google.protobuf.Internal.LongList coeffs_ =
85 emptyLongList();
90 @java.lang.Override
91 public java.util.List<java.lang.Long>
93 return coeffs_;
94 }
99 public int getCoeffsCount() {
100 return coeffs_.size();
101 }
107 public long getCoeffs(int index) {
108 return coeffs_.getLong(index);
109 }
110 private int coeffsMemoizedSerializedSize = -1;
111
112 public static final int OFFSET_FIELD_NUMBER = 3;
113 private long offset_ = 0L;
118 @java.lang.Override
119 public long getOffset() {
120 return offset_;
121 }
122
123 private byte memoizedIsInitialized = -1;
124 @java.lang.Override
125 public final boolean isInitialized() {
126 byte isInitialized = memoizedIsInitialized;
127 if (isInitialized == 1) return true;
128 if (isInitialized == 0) return false;
129
130 memoizedIsInitialized = 1;
131 return true;
132 }
133
134 @java.lang.Override
135 public void writeTo(com.google.protobuf.CodedOutputStream output)
136 throws java.io.IOException {
138 if (getVarsList().size() > 0) {
139 output.writeUInt32NoTag(10);
140 output.writeUInt32NoTag(varsMemoizedSerializedSize);
141 }
142 for (int i = 0; i < vars_.size(); i++) {
143 output.writeInt32NoTag(vars_.getInt(i));
144 }
145 if (getCoeffsList().size() > 0) {
146 output.writeUInt32NoTag(18);
147 output.writeUInt32NoTag(coeffsMemoizedSerializedSize);
148 }
149 for (int i = 0; i < coeffs_.size(); i++) {
150 output.writeInt64NoTag(coeffs_.getLong(i));
151 }
152 if (offset_ != 0L) {
153 output.writeInt64(3, offset_);
154 }
155 getUnknownFields().writeTo(output);
156 }
157
158 @java.lang.Override
159 public int getSerializedSize() {
160 int size = memoizedSize;
161 if (size != -1) return size;
162
163 size = 0;
164 {
165 int dataSize = 0;
166 for (int i = 0; i < vars_.size(); i++) {
167 dataSize += com.google.protobuf.CodedOutputStream
168 .computeInt32SizeNoTag(vars_.getInt(i));
169 }
170 size += dataSize;
171 if (!getVarsList().isEmpty()) {
172 size += 1;
173 size += com.google.protobuf.CodedOutputStream
174 .computeInt32SizeNoTag(dataSize);
175 }
176 varsMemoizedSerializedSize = dataSize;
177 }
178 {
179 int dataSize = 0;
180 for (int i = 0; i < coeffs_.size(); i++) {
181 dataSize += com.google.protobuf.CodedOutputStream
182 .computeInt64SizeNoTag(coeffs_.getLong(i));
183 }
184 size += dataSize;
185 if (!getCoeffsList().isEmpty()) {
186 size += 1;
187 size += com.google.protobuf.CodedOutputStream
188 .computeInt32SizeNoTag(dataSize);
189 }
190 coeffsMemoizedSerializedSize = dataSize;
191 }
192 if (offset_ != 0L) {
193 size += com.google.protobuf.CodedOutputStream
194 .computeInt64Size(3, offset_);
195 }
196 size += getUnknownFields().getSerializedSize();
197 memoizedSize = size;
198 return size;
199 }
200
201 @java.lang.Override
202 public boolean equals(final java.lang.Object obj) {
203 if (obj == this) {
204 return true;
205 }
206 if (!(obj instanceof com.google.ortools.sat.LinearExpressionProto)) {
207 return super.equals(obj);
208 }
209 com.google.ortools.sat.LinearExpressionProto other = (com.google.ortools.sat.LinearExpressionProto) obj;
210
211 if (!getVarsList()
212 .equals(other.getVarsList())) return false;
213 if (!getCoeffsList()
214 .equals(other.getCoeffsList())) return false;
215 if (getOffset()
216 != other.getOffset()) return false;
217 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
218 return true;
219 }
220
221 @java.lang.Override
222 public int hashCode() {
223 if (memoizedHashCode != 0) {
224 return memoizedHashCode;
225 }
226 int hash = 41;
227 hash = (19 * hash) + getDescriptor().hashCode();
228 if (getVarsCount() > 0) {
229 hash = (37 * hash) + VARS_FIELD_NUMBER;
230 hash = (53 * hash) + getVarsList().hashCode();
231 }
232 if (getCoeffsCount() > 0) {
233 hash = (37 * hash) + COEFFS_FIELD_NUMBER;
234 hash = (53 * hash) + getCoeffsList().hashCode();
235 }
236 hash = (37 * hash) + OFFSET_FIELD_NUMBER;
237 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
238 getOffset());
239 hash = (29 * hash) + getUnknownFields().hashCode();
240 memoizedHashCode = hash;
241 return hash;
242 }
243
245 java.nio.ByteBuffer data)
246 throws com.google.protobuf.InvalidProtocolBufferException {
247 return PARSER.parseFrom(data);
248 }
250 java.nio.ByteBuffer data,
251 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
252 throws com.google.protobuf.InvalidProtocolBufferException {
253 return PARSER.parseFrom(data, extensionRegistry);
254 }
256 com.google.protobuf.ByteString data)
257 throws com.google.protobuf.InvalidProtocolBufferException {
258 return PARSER.parseFrom(data);
259 }
261 com.google.protobuf.ByteString data,
262 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
263 throws com.google.protobuf.InvalidProtocolBufferException {
264 return PARSER.parseFrom(data, extensionRegistry);
265 }
267 throws com.google.protobuf.InvalidProtocolBufferException {
268 return PARSER.parseFrom(data);
269 }
271 byte[] data,
272 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
273 throws com.google.protobuf.InvalidProtocolBufferException {
274 return PARSER.parseFrom(data, extensionRegistry);
275 }
276 public static com.google.ortools.sat.LinearExpressionProto parseFrom(java.io.InputStream input)
277 throws java.io.IOException {
278 return com.google.protobuf.GeneratedMessage
279 .parseWithIOException(PARSER, input);
280 }
282 java.io.InputStream input,
283 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
284 throws java.io.IOException {
285 return com.google.protobuf.GeneratedMessage
286 .parseWithIOException(PARSER, input, extensionRegistry);
287 }
288
290 throws java.io.IOException {
291 return com.google.protobuf.GeneratedMessage
292 .parseDelimitedWithIOException(PARSER, input);
293 }
294
296 java.io.InputStream input,
297 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
298 throws java.io.IOException {
299 return com.google.protobuf.GeneratedMessage
300 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
301 }
303 com.google.protobuf.CodedInputStream input)
304 throws java.io.IOException {
305 return com.google.protobuf.GeneratedMessage
306 .parseWithIOException(PARSER, input);
307 }
309 com.google.protobuf.CodedInputStream input,
310 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
311 throws java.io.IOException {
312 return com.google.protobuf.GeneratedMessage
313 .parseWithIOException(PARSER, input, extensionRegistry);
314 }
315
316 @java.lang.Override
317 public Builder newBuilderForType() { return newBuilder(); }
318 public static Builder newBuilder() {
319 return DEFAULT_INSTANCE.toBuilder();
320 }
321 public static Builder newBuilder(com.google.ortools.sat.LinearExpressionProto prototype) {
322 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
323 }
324 @java.lang.Override
326 return this == DEFAULT_INSTANCE
327 ? new Builder() : new Builder().mergeFrom(this);
328 }
329
330 @java.lang.Override
332 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
333 Builder builder = new Builder(parent);
334 return builder;
335 }
345 public static final class Builder extends
346 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
347 // @@protoc_insertion_point(builder_implements:operations_research.sat.LinearExpressionProto)
348 com.google.ortools.sat.LinearExpressionProtoOrBuilder {
349 public static final com.google.protobuf.Descriptors.Descriptor
351 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearExpressionProto_descriptor;
352 }
353
354 @java.lang.Override
355 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
357 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearExpressionProto_fieldAccessorTable
358 .ensureFieldAccessorsInitialized(
359 com.google.ortools.sat.LinearExpressionProto.class, com.google.ortools.sat.LinearExpressionProto.Builder.class);
360 }
361
362 // Construct using com.google.ortools.sat.LinearExpressionProto.newBuilder()
363 private Builder() {
364
365 }
366
367 private Builder(
368 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
369 super(parent);
370
371 }
372 @java.lang.Override
373 public Builder clear() {
374 super.clear();
375 bitField0_ = 0;
376 vars_ = emptyIntList();
377 coeffs_ = emptyLongList();
378 offset_ = 0L;
379 return this;
380 }
381
382 @java.lang.Override
383 public com.google.protobuf.Descriptors.Descriptor
385 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearExpressionProto_descriptor;
386 }
387
388 @java.lang.Override
390 return com.google.ortools.sat.LinearExpressionProto.getDefaultInstance();
391 }
392
393 @java.lang.Override
396 if (!result.isInitialized()) {
397 throw newUninitializedMessageException(result);
398 }
399 return result;
400 }
401
402 @java.lang.Override
404 com.google.ortools.sat.LinearExpressionProto result = new com.google.ortools.sat.LinearExpressionProto(this);
405 if (bitField0_ != 0) { buildPartial0(result); }
406 onBuilt();
407 return result;
408 }
409
410 private void buildPartial0(com.google.ortools.sat.LinearExpressionProto result) {
411 int from_bitField0_ = bitField0_;
412 if (((from_bitField0_ & 0x00000001) != 0)) {
413 vars_.makeImmutable();
414 result.vars_ = vars_;
415 }
416 if (((from_bitField0_ & 0x00000002) != 0)) {
417 coeffs_.makeImmutable();
418 result.coeffs_ = coeffs_;
419 }
420 if (((from_bitField0_ & 0x00000004) != 0)) {
421 result.offset_ = offset_;
422 }
423 }
424
425 @java.lang.Override
426 public Builder mergeFrom(com.google.protobuf.Message other) {
427 if (other instanceof com.google.ortools.sat.LinearExpressionProto) {
428 return mergeFrom((com.google.ortools.sat.LinearExpressionProto)other);
429 } else {
430 super.mergeFrom(other);
431 return this;
432 }
433 }
434
435 public Builder mergeFrom(com.google.ortools.sat.LinearExpressionProto other) {
436 if (other == com.google.ortools.sat.LinearExpressionProto.getDefaultInstance()) return this;
437 if (!other.vars_.isEmpty()) {
438 if (vars_.isEmpty()) {
439 vars_ = other.vars_;
440 vars_.makeImmutable();
441 bitField0_ |= 0x00000001;
442 } else {
443 ensureVarsIsMutable();
444 vars_.addAll(other.vars_);
445 }
446 onChanged();
447 }
448 if (!other.coeffs_.isEmpty()) {
449 if (coeffs_.isEmpty()) {
450 coeffs_ = other.coeffs_;
451 coeffs_.makeImmutable();
452 bitField0_ |= 0x00000002;
453 } else {
454 ensureCoeffsIsMutable();
455 coeffs_.addAll(other.coeffs_);
456 }
457 onChanged();
458 }
459 if (other.getOffset() != 0L) {
460 setOffset(other.getOffset());
461 }
462 this.mergeUnknownFields(other.getUnknownFields());
463 onChanged();
464 return this;
465 }
466
467 @java.lang.Override
468 public final boolean isInitialized() {
469 return true;
470 }
471
472 @java.lang.Override
474 com.google.protobuf.CodedInputStream input,
475 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
476 throws java.io.IOException {
477 if (extensionRegistry == null) {
478 throw new java.lang.NullPointerException();
479 }
480 try {
481 boolean done = false;
482 while (!done) {
483 int tag = input.readTag();
484 switch (tag) {
485 case 0:
486 done = true;
487 break;
488 case 8: {
489 int v = input.readInt32();
490 ensureVarsIsMutable();
491 vars_.addInt(v);
492 break;
493 } // case 8
494 case 10: {
495 int length = input.readRawVarint32();
496 int limit = input.pushLimit(length);
497 ensureVarsIsMutable();
498 while (input.getBytesUntilLimit() > 0) {
499 vars_.addInt(input.readInt32());
500 }
501 input.popLimit(limit);
502 break;
503 } // case 10
504 case 16: {
505 long v = input.readInt64();
506 ensureCoeffsIsMutable();
507 coeffs_.addLong(v);
508 break;
509 } // case 16
510 case 18: {
511 int length = input.readRawVarint32();
512 int limit = input.pushLimit(length);
513 ensureCoeffsIsMutable();
514 while (input.getBytesUntilLimit() > 0) {
515 coeffs_.addLong(input.readInt64());
516 }
517 input.popLimit(limit);
518 break;
519 } // case 18
520 case 24: {
521 offset_ = input.readInt64();
522 bitField0_ |= 0x00000004;
523 break;
524 } // case 24
525 default: {
526 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
527 done = true; // was an endgroup tag
528 }
529 break;
530 } // default:
531 } // switch (tag)
532 } // while (!done)
533 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
534 throw e.unwrapIOException();
535 } finally {
536 onChanged();
537 } // finally
538 return this;
539 }
540 private int bitField0_;
541
542 private com.google.protobuf.Internal.IntList vars_ = emptyIntList();
543 private void ensureVarsIsMutable() {
544 if (!vars_.isModifiable()) {
545 vars_ = makeMutableCopy(vars_);
546 }
547 bitField0_ |= 0x00000001;
548 }
553 public java.util.List<java.lang.Integer>
555 vars_.makeImmutable();
556 return vars_;
557 }
562 public int getVarsCount() {
563 return vars_.size();
564 }
570 public int getVars(int index) {
571 return vars_.getInt(index);
572 }
580 int index, int value) {
581
582 ensureVarsIsMutable();
583 vars_.setInt(index, value);
584 bitField0_ |= 0x00000001;
585 onChanged();
586 return this;
587 }
593 public Builder addVars(int value) {
594
595 ensureVarsIsMutable();
596 vars_.addInt(value);
597 bitField0_ |= 0x00000001;
598 onChanged();
599 return this;
600 }
607 java.lang.Iterable<? extends java.lang.Integer> values) {
608 ensureVarsIsMutable();
609 com.google.protobuf.AbstractMessageLite.Builder.addAll(
610 values, vars_);
611 bitField0_ |= 0x00000001;
612 onChanged();
613 return this;
614 }
620 vars_ = emptyIntList();
621 bitField0_ = (bitField0_ & ~0x00000001);
622 onChanged();
623 return this;
624 }
625
626 private com.google.protobuf.Internal.LongList coeffs_ = emptyLongList();
627 private void ensureCoeffsIsMutable() {
628 if (!coeffs_.isModifiable()) {
629 coeffs_ = makeMutableCopy(coeffs_);
630 }
631 bitField0_ |= 0x00000002;
632 }
637 public java.util.List<java.lang.Long>
639 coeffs_.makeImmutable();
640 return coeffs_;
641 }
646 public int getCoeffsCount() {
647 return coeffs_.size();
648 }
654 public long getCoeffs(int index) {
655 return coeffs_.getLong(index);
656 }
664 int index, long value) {
665
666 ensureCoeffsIsMutable();
667 coeffs_.setLong(index, value);
668 bitField0_ |= 0x00000002;
669 onChanged();
670 return this;
671 }
677 public Builder addCoeffs(long value) {
678
679 ensureCoeffsIsMutable();
680 coeffs_.addLong(value);
681 bitField0_ |= 0x00000002;
682 onChanged();
683 return this;
684 }
691 java.lang.Iterable<? extends java.lang.Long> values) {
692 ensureCoeffsIsMutable();
693 com.google.protobuf.AbstractMessageLite.Builder.addAll(
694 values, coeffs_);
695 bitField0_ |= 0x00000002;
696 onChanged();
697 return this;
698 }
704 coeffs_ = emptyLongList();
705 bitField0_ = (bitField0_ & ~0x00000002);
706 onChanged();
707 return this;
708 }
709
710 private long offset_ ;
715 @java.lang.Override
716 public long getOffset() {
717 return offset_;
718 }
724 public Builder setOffset(long value) {
725
726 offset_ = value;
727 bitField0_ |= 0x00000004;
728 onChanged();
729 return this;
730 }
736 bitField0_ = (bitField0_ & ~0x00000004);
737 offset_ = 0L;
738 onChanged();
739 return this;
740 }
741
742 // @@protoc_insertion_point(builder_scope:operations_research.sat.LinearExpressionProto)
743 }
744
745 // @@protoc_insertion_point(class_scope:operations_research.sat.LinearExpressionProto)
746 private static final com.google.ortools.sat.LinearExpressionProto DEFAULT_INSTANCE;
747 static {
748 DEFAULT_INSTANCE = new com.google.ortools.sat.LinearExpressionProto();
749 }
750
752 return DEFAULT_INSTANCE;
753 }
754
755 private static final com.google.protobuf.Parser<LinearExpressionProto>
756 PARSER = new com.google.protobuf.AbstractParser<LinearExpressionProto>() {
757 @java.lang.Override
758 public LinearExpressionProto parsePartialFrom(
759 com.google.protobuf.CodedInputStream input,
760 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
761 throws com.google.protobuf.InvalidProtocolBufferException {
762 Builder builder = newBuilder();
763 try {
764 builder.mergeFrom(input, extensionRegistry);
765 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
766 throw e.setUnfinishedMessage(builder.buildPartial());
767 } catch (com.google.protobuf.UninitializedMessageException e) {
768 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
769 } catch (java.io.IOException e) {
770 throw new com.google.protobuf.InvalidProtocolBufferException(e)
771 .setUnfinishedMessage(builder.buildPartial());
772 }
773 return builder.buildPartial();
774 }
775 };
776
777 public static com.google.protobuf.Parser<LinearExpressionProto> parser() {
778 return PARSER;
779 }
780
781 @java.lang.Override
782 public com.google.protobuf.Parser<LinearExpressionProto> getParserForType() {
783 return PARSER;
784 }
785
786 @java.lang.Override
788 return DEFAULT_INSTANCE;
789 }
790
791}
792
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Builder mergeFrom(com.google.ortools.sat.LinearExpressionProto other)
Builder addAllVars(java.lang.Iterable<? extends java.lang.Integer > values)
com.google.ortools.sat.LinearExpressionProto getDefaultInstanceForType()
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()
com.google.ortools.sat.LinearExpressionProto buildPartial()
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
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)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
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)
static com.google.ortools.sat.LinearExpressionProto parseDelimitedFrom(java.io.InputStream input)
static Builder newBuilder(com.google.ortools.sat.LinearExpressionProto prototype)
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
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)
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)