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