Google OR-Tools v9.14
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// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/sat/cp_model.proto
4// Protobuf Java Version: 4.31.1
5
6package com.google.ortools.sat;
7
17@com.google.protobuf.Generated
18public final class LinearExpressionProto extends
19 com.google.protobuf.GeneratedMessage implements
20 // @@protoc_insertion_point(message_implements:operations_research.sat.LinearExpressionProto)
22private static final long serialVersionUID = 0L;
23 static {
24 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
25 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
26 /* major= */ 4,
27 /* minor= */ 31,
28 /* patch= */ 1,
29 /* suffix= */ "",
30 LinearExpressionProto.class.getName());
31 }
32 // Use LinearExpressionProto.newBuilder() to construct.
33 private LinearExpressionProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
34 super(builder);
35 }
36 private LinearExpressionProto() {
37 vars_ = emptyIntList();
38 coeffs_ = emptyLongList();
39 }
40
41 public static final com.google.protobuf.Descriptors.Descriptor
43 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearExpressionProto_descriptor;
44 }
45
46 @java.lang.Override
47 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
49 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearExpressionProto_fieldAccessorTable
50 .ensureFieldAccessorsInitialized(
51 com.google.ortools.sat.LinearExpressionProto.class, com.google.ortools.sat.LinearExpressionProto.Builder.class);
52 }
53
54 public static final int VARS_FIELD_NUMBER = 1;
55 @SuppressWarnings("serial")
56 private com.google.protobuf.Internal.IntList vars_ =
57 emptyIntList();
62 @java.lang.Override
63 public java.util.List<java.lang.Integer>
65 return vars_;
66 }
67
71 public int getVarsCount() {
72 return vars_.size();
73 }
74
79 public int getVars(int index) {
80 return vars_.getInt(index);
81 }
82 private int varsMemoizedSerializedSize = -1;
83
84 public static final int COEFFS_FIELD_NUMBER = 2;
85 @SuppressWarnings("serial")
86 private com.google.protobuf.Internal.LongList coeffs_ =
87 emptyLongList();
92 @java.lang.Override
93 public java.util.List<java.lang.Long>
95 return coeffs_;
96 }
97
101 public int getCoeffsCount() {
102 return coeffs_.size();
103 }
104
109 public long getCoeffs(int index) {
110 return coeffs_.getLong(index);
111 }
112 private int coeffsMemoizedSerializedSize = -1;
113
114 public static final int OFFSET_FIELD_NUMBER = 3;
115 private long offset_ = 0L;
120 @java.lang.Override
121 public long getOffset() {
122 return offset_;
123 }
124
125 private byte memoizedIsInitialized = -1;
126 @java.lang.Override
127 public final boolean isInitialized() {
128 byte isInitialized = memoizedIsInitialized;
129 if (isInitialized == 1) return true;
130 if (isInitialized == 0) return false;
131
132 memoizedIsInitialized = 1;
133 return true;
134 }
135
136 @java.lang.Override
137 public void writeTo(com.google.protobuf.CodedOutputStream output)
138 throws java.io.IOException {
140 if (getVarsList().size() > 0) {
141 output.writeUInt32NoTag(10);
142 output.writeUInt32NoTag(varsMemoizedSerializedSize);
143 }
144 for (int i = 0; i < vars_.size(); i++) {
145 output.writeInt32NoTag(vars_.getInt(i));
146 }
147 if (getCoeffsList().size() > 0) {
148 output.writeUInt32NoTag(18);
149 output.writeUInt32NoTag(coeffsMemoizedSerializedSize);
150 }
151 for (int i = 0; i < coeffs_.size(); i++) {
152 output.writeInt64NoTag(coeffs_.getLong(i));
153 }
154 if (offset_ != 0L) {
155 output.writeInt64(3, offset_);
156 }
157 getUnknownFields().writeTo(output);
158 }
159
160 @java.lang.Override
161 public int getSerializedSize() {
162 int size = memoizedSize;
163 if (size != -1) return size;
164
165 size = 0;
166 {
167 int dataSize = 0;
168 for (int i = 0; i < vars_.size(); i++) {
169 dataSize += com.google.protobuf.CodedOutputStream
170 .computeInt32SizeNoTag(vars_.getInt(i));
171 }
172 size += dataSize;
173 if (!getVarsList().isEmpty()) {
174 size += 1;
175 size += com.google.protobuf.CodedOutputStream
176 .computeInt32SizeNoTag(dataSize);
177 }
178 varsMemoizedSerializedSize = dataSize;
179 }
180 {
181 int dataSize = 0;
182 for (int i = 0; i < coeffs_.size(); i++) {
183 dataSize += com.google.protobuf.CodedOutputStream
184 .computeInt64SizeNoTag(coeffs_.getLong(i));
185 }
186 size += dataSize;
187 if (!getCoeffsList().isEmpty()) {
188 size += 1;
189 size += com.google.protobuf.CodedOutputStream
190 .computeInt32SizeNoTag(dataSize);
191 }
192 coeffsMemoizedSerializedSize = dataSize;
193 }
194 if (offset_ != 0L) {
195 size += com.google.protobuf.CodedOutputStream
196 .computeInt64Size(3, offset_);
197 }
198 size += getUnknownFields().getSerializedSize();
199 memoizedSize = size;
200 return size;
201 }
202
203 @java.lang.Override
204 public boolean equals(final java.lang.Object obj) {
205 if (obj == this) {
206 return true;
207 }
208 if (!(obj instanceof com.google.ortools.sat.LinearExpressionProto)) {
209 return super.equals(obj);
210 }
211 com.google.ortools.sat.LinearExpressionProto other = (com.google.ortools.sat.LinearExpressionProto) obj;
212
213 if (!getVarsList()
214 .equals(other.getVarsList())) return false;
215 if (!getCoeffsList()
216 .equals(other.getCoeffsList())) return false;
217 if (getOffset()
218 != other.getOffset()) return false;
219 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
220 return true;
221 }
222
223 @java.lang.Override
224 public int hashCode() {
225 if (memoizedHashCode != 0) {
226 return memoizedHashCode;
227 }
228 int hash = 41;
229 hash = (19 * hash) + getDescriptor().hashCode();
230 if (getVarsCount() > 0) {
231 hash = (37 * hash) + VARS_FIELD_NUMBER;
232 hash = (53 * hash) + getVarsList().hashCode();
233 }
234 if (getCoeffsCount() > 0) {
235 hash = (37 * hash) + COEFFS_FIELD_NUMBER;
236 hash = (53 * hash) + getCoeffsList().hashCode();
237 }
238 hash = (37 * hash) + OFFSET_FIELD_NUMBER;
239 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
240 getOffset());
241 hash = (29 * hash) + getUnknownFields().hashCode();
242 memoizedHashCode = hash;
243 return hash;
244 }
245
247 java.nio.ByteBuffer data)
248 throws com.google.protobuf.InvalidProtocolBufferException {
249 return PARSER.parseFrom(data);
250 }
252 java.nio.ByteBuffer data,
253 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
254 throws com.google.protobuf.InvalidProtocolBufferException {
255 return PARSER.parseFrom(data, extensionRegistry);
256 }
258 com.google.protobuf.ByteString data)
259 throws com.google.protobuf.InvalidProtocolBufferException {
260 return PARSER.parseFrom(data);
261 }
263 com.google.protobuf.ByteString data,
264 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
265 throws com.google.protobuf.InvalidProtocolBufferException {
266 return PARSER.parseFrom(data, extensionRegistry);
267 }
269 throws com.google.protobuf.InvalidProtocolBufferException {
270 return PARSER.parseFrom(data);
271 }
273 byte[] data,
274 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
275 throws com.google.protobuf.InvalidProtocolBufferException {
276 return PARSER.parseFrom(data, extensionRegistry);
277 }
278 public static com.google.ortools.sat.LinearExpressionProto parseFrom(java.io.InputStream input)
279 throws java.io.IOException {
280 return com.google.protobuf.GeneratedMessage
281 .parseWithIOException(PARSER, input);
282 }
284 java.io.InputStream input,
285 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
286 throws java.io.IOException {
287 return com.google.protobuf.GeneratedMessage
288 .parseWithIOException(PARSER, input, extensionRegistry);
289 }
290
292 throws java.io.IOException {
293 return com.google.protobuf.GeneratedMessage
294 .parseDelimitedWithIOException(PARSER, input);
295 }
296
298 java.io.InputStream input,
299 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
300 throws java.io.IOException {
301 return com.google.protobuf.GeneratedMessage
302 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
303 }
305 com.google.protobuf.CodedInputStream input)
306 throws java.io.IOException {
307 return com.google.protobuf.GeneratedMessage
308 .parseWithIOException(PARSER, input);
309 }
311 com.google.protobuf.CodedInputStream input,
312 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
313 throws java.io.IOException {
314 return com.google.protobuf.GeneratedMessage
315 .parseWithIOException(PARSER, input, extensionRegistry);
316 }
317
318 @java.lang.Override
319 public Builder newBuilderForType() { return newBuilder(); }
320 public static Builder newBuilder() {
321 return DEFAULT_INSTANCE.toBuilder();
322 }
323 public static Builder newBuilder(com.google.ortools.sat.LinearExpressionProto prototype) {
324 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
325 }
326 @java.lang.Override
328 return this == DEFAULT_INSTANCE
329 ? new Builder() : new Builder().mergeFrom(this);
330 }
331
332 @java.lang.Override
334 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
335 Builder builder = new Builder(parent);
336 return builder;
337 }
338
347 public static final class Builder extends
348 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
349 // @@protoc_insertion_point(builder_implements:operations_research.sat.LinearExpressionProto)
351 public static final com.google.protobuf.Descriptors.Descriptor
353 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearExpressionProto_descriptor;
354 }
355
356 @java.lang.Override
357 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
359 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearExpressionProto_fieldAccessorTable
360 .ensureFieldAccessorsInitialized(
361 com.google.ortools.sat.LinearExpressionProto.class, com.google.ortools.sat.LinearExpressionProto.Builder.class);
362 }
363
364 // Construct using com.google.ortools.sat.LinearExpressionProto.newBuilder()
365 private Builder() {
366
367 }
368
369 private Builder(
370 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
371 super(parent);
372
373 }
374 @java.lang.Override
375 public Builder clear() {
376 super.clear();
377 bitField0_ = 0;
378 vars_ = emptyIntList();
379 coeffs_ = emptyLongList();
380 offset_ = 0L;
381 return this;
382 }
383
384 @java.lang.Override
385 public com.google.protobuf.Descriptors.Descriptor
387 return com.google.ortools.sat.CpModelProtobuf.internal_static_operations_research_sat_LinearExpressionProto_descriptor;
388 }
389
390 @java.lang.Override
392 return com.google.ortools.sat.LinearExpressionProto.getDefaultInstance();
393 }
394
395 @java.lang.Override
398 if (!result.isInitialized()) {
399 throw newUninitializedMessageException(result);
400 }
401 return result;
402 }
403
404 @java.lang.Override
406 com.google.ortools.sat.LinearExpressionProto result = new com.google.ortools.sat.LinearExpressionProto(this);
407 if (bitField0_ != 0) { buildPartial0(result); }
408 onBuilt();
409 return result;
410 }
411
412 private void buildPartial0(com.google.ortools.sat.LinearExpressionProto result) {
413 int from_bitField0_ = bitField0_;
414 if (((from_bitField0_ & 0x00000001) != 0)) {
415 vars_.makeImmutable();
416 result.vars_ = vars_;
417 }
418 if (((from_bitField0_ & 0x00000002) != 0)) {
419 coeffs_.makeImmutable();
420 result.coeffs_ = coeffs_;
421 }
422 if (((from_bitField0_ & 0x00000004) != 0)) {
423 result.offset_ = offset_;
424 }
425 }
426
427 @java.lang.Override
428 public Builder mergeFrom(com.google.protobuf.Message other) {
429 if (other instanceof com.google.ortools.sat.LinearExpressionProto) {
430 return mergeFrom((com.google.ortools.sat.LinearExpressionProto)other);
431 } else {
432 super.mergeFrom(other);
433 return this;
434 }
435 }
436
437 public Builder mergeFrom(com.google.ortools.sat.LinearExpressionProto other) {
438 if (other == com.google.ortools.sat.LinearExpressionProto.getDefaultInstance()) return this;
439 if (!other.vars_.isEmpty()) {
440 if (vars_.isEmpty()) {
441 vars_ = other.vars_;
442 vars_.makeImmutable();
443 bitField0_ |= 0x00000001;
444 } else {
445 ensureVarsIsMutable();
446 vars_.addAll(other.vars_);
447 }
448 onChanged();
449 }
450 if (!other.coeffs_.isEmpty()) {
451 if (coeffs_.isEmpty()) {
452 coeffs_ = other.coeffs_;
453 coeffs_.makeImmutable();
454 bitField0_ |= 0x00000002;
455 } else {
456 ensureCoeffsIsMutable();
457 coeffs_.addAll(other.coeffs_);
458 }
459 onChanged();
460 }
461 if (other.getOffset() != 0L) {
462 setOffset(other.getOffset());
463 }
464 this.mergeUnknownFields(other.getUnknownFields());
465 onChanged();
466 return this;
467 }
468
469 @java.lang.Override
470 public final boolean isInitialized() {
471 return true;
472 }
473
474 @java.lang.Override
475 public Builder mergeFrom(
476 com.google.protobuf.CodedInputStream input,
477 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
478 throws java.io.IOException {
479 if (extensionRegistry == null) {
480 throw new java.lang.NullPointerException();
481 }
482 try {
483 boolean done = false;
484 while (!done) {
485 int tag = input.readTag();
486 switch (tag) {
487 case 0:
488 done = true;
489 break;
490 case 8: {
491 int v = input.readInt32();
492 ensureVarsIsMutable();
493 vars_.addInt(v);
494 break;
495 } // case 8
496 case 10: {
497 int length = input.readRawVarint32();
498 int limit = input.pushLimit(length);
499 ensureVarsIsMutable();
500 while (input.getBytesUntilLimit() > 0) {
501 vars_.addInt(input.readInt32());
502 }
503 input.popLimit(limit);
504 break;
505 } // case 10
506 case 16: {
507 long v = input.readInt64();
508 ensureCoeffsIsMutable();
509 coeffs_.addLong(v);
510 break;
511 } // case 16
512 case 18: {
513 int length = input.readRawVarint32();
514 int limit = input.pushLimit(length);
515 ensureCoeffsIsMutable();
516 while (input.getBytesUntilLimit() > 0) {
517 coeffs_.addLong(input.readInt64());
518 }
519 input.popLimit(limit);
520 break;
521 } // case 18
522 case 24: {
523 offset_ = input.readInt64();
524 bitField0_ |= 0x00000004;
525 break;
526 } // case 24
527 default: {
528 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
529 done = true; // was an endgroup tag
530 }
531 break;
532 } // default:
533 } // switch (tag)
534 } // while (!done)
535 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
536 throw e.unwrapIOException();
537 } finally {
538 onChanged();
539 } // finally
540 return this;
541 }
542 private int bitField0_;
543
544 private com.google.protobuf.Internal.IntList vars_ = emptyIntList();
545 private void ensureVarsIsMutable() {
546 if (!vars_.isModifiable()) {
547 vars_ = makeMutableCopy(vars_);
548 }
549 bitField0_ |= 0x00000001;
550 }
555 public java.util.List<java.lang.Integer>
557 vars_.makeImmutable();
558 return vars_;
559 }
560
564 public int getVarsCount() {
565 return vars_.size();
566 }
567
572 public int getVars(int index) {
573 return vars_.getInt(index);
574 }
575
581 public Builder setVars(
582 int index, int value) {
583
584 ensureVarsIsMutable();
585 vars_.setInt(index, value);
586 bitField0_ |= 0x00000001;
587 onChanged();
588 return this;
589 }
590
595 public Builder addVars(int value) {
596
597 ensureVarsIsMutable();
598 vars_.addInt(value);
599 bitField0_ |= 0x00000001;
600 onChanged();
601 return this;
602 }
603
608 public Builder addAllVars(
609 java.lang.Iterable<? extends java.lang.Integer> values) {
610 ensureVarsIsMutable();
611 com.google.protobuf.AbstractMessageLite.Builder.addAll(
612 values, vars_);
613 bitField0_ |= 0x00000001;
614 onChanged();
615 return this;
616 }
617
621 public Builder clearVars() {
622 vars_ = emptyIntList();
623 bitField0_ = (bitField0_ & ~0x00000001);
624 onChanged();
625 return this;
626 }
627
628 private com.google.protobuf.Internal.LongList coeffs_ = emptyLongList();
629 private void ensureCoeffsIsMutable() {
630 if (!coeffs_.isModifiable()) {
631 coeffs_ = makeMutableCopy(coeffs_);
632 }
633 bitField0_ |= 0x00000002;
634 }
639 public java.util.List<java.lang.Long>
641 coeffs_.makeImmutable();
642 return coeffs_;
643 }
644
648 public int getCoeffsCount() {
649 return coeffs_.size();
650 }
651
656 public long getCoeffs(int index) {
657 return coeffs_.getLong(index);
658 }
659
665 public Builder setCoeffs(
666 int index, long value) {
667
668 ensureCoeffsIsMutable();
669 coeffs_.setLong(index, value);
670 bitField0_ |= 0x00000002;
671 onChanged();
672 return this;
673 }
674
679 public Builder addCoeffs(long value) {
680
681 ensureCoeffsIsMutable();
682 coeffs_.addLong(value);
683 bitField0_ |= 0x00000002;
684 onChanged();
685 return this;
686 }
687
692 public Builder addAllCoeffs(
693 java.lang.Iterable<? extends java.lang.Long> values) {
694 ensureCoeffsIsMutable();
695 com.google.protobuf.AbstractMessageLite.Builder.addAll(
696 values, coeffs_);
697 bitField0_ |= 0x00000002;
698 onChanged();
699 return this;
700 }
701
705 public Builder clearCoeffs() {
706 coeffs_ = emptyLongList();
707 bitField0_ = (bitField0_ & ~0x00000002);
708 onChanged();
709 return this;
710 }
711
712 private long offset_ ;
717 @java.lang.Override
718 public long getOffset() {
719 return offset_;
720 }
721
726 public Builder setOffset(long value) {
727
728 offset_ = value;
729 bitField0_ |= 0x00000004;
730 onChanged();
731 return this;
732 }
733
737 public Builder clearOffset() {
738 bitField0_ = (bitField0_ & ~0x00000004);
739 offset_ = 0L;
740 onChanged();
741 return this;
742 }
743
744 // @@protoc_insertion_point(builder_scope:operations_research.sat.LinearExpressionProto)
745 }
746
747 // @@protoc_insertion_point(class_scope:operations_research.sat.LinearExpressionProto)
748 private static final com.google.ortools.sat.LinearExpressionProto DEFAULT_INSTANCE;
749 static {
750 DEFAULT_INSTANCE = new com.google.ortools.sat.LinearExpressionProto();
751 }
752
754 return DEFAULT_INSTANCE;
755 }
756
757 private static final com.google.protobuf.Parser<LinearExpressionProto>
758 PARSER = new com.google.protobuf.AbstractParser<LinearExpressionProto>() {
759 @java.lang.Override
760 public LinearExpressionProto parsePartialFrom(
761 com.google.protobuf.CodedInputStream input,
762 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
763 throws com.google.protobuf.InvalidProtocolBufferException {
764 Builder builder = newBuilder();
765 try {
766 builder.mergeFrom(input, extensionRegistry);
767 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
768 throw e.setUnfinishedMessage(builder.buildPartial());
769 } catch (com.google.protobuf.UninitializedMessageException e) {
770 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
771 } catch (java.io.IOException e) {
772 throw new com.google.protobuf.InvalidProtocolBufferException(e)
773 .setUnfinishedMessage(builder.buildPartial());
774 }
775 return builder.buildPartial();
776 }
777 };
778
779 public static com.google.protobuf.Parser<LinearExpressionProto> parser() {
780 return PARSER;
781 }
782
783 @java.lang.Override
784 public com.google.protobuf.Parser<LinearExpressionProto> getParserForType() {
785 return PARSER;
786 }
787
788 @java.lang.Override
790 return DEFAULT_INSTANCE;
791 }
792
793}
794
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)