Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
MPModelRequest.java
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ortools/linear_solver/linear_solver.proto
3
4// Protobuf Java Version: 4.26.1
5package com.google.ortools.linearsolver;
6
14public final class MPModelRequest extends
15 com.google.protobuf.GeneratedMessage implements
16 // @@protoc_insertion_point(message_implements:operations_research.MPModelRequest)
18private static final long serialVersionUID = 0L;
19 static {
20 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
21 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
22 /* major= */ 4,
23 /* minor= */ 26,
24 /* patch= */ 1,
25 /* suffix= */ "",
26 MPModelRequest.class.getName());
27 }
28 // Use MPModelRequest.newBuilder() to construct.
29 private MPModelRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
30 super(builder);
31 }
32 private MPModelRequest() {
33 solverType_ = 2;
34 solverSpecificParameters_ = "";
35 }
36
37 public static final com.google.protobuf.Descriptors.Descriptor
39 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPModelRequest_descriptor;
40 }
41
42 @java.lang.Override
43 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
45 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPModelRequest_fieldAccessorTable
46 .ensureFieldAccessorsInitialized(
47 com.google.ortools.linearsolver.MPModelRequest.class, com.google.ortools.linearsolver.MPModelRequest.Builder.class);
48 }
49
61 public enum SolverType
62 implements com.google.protobuf.ProtocolMessageEnum {
180 ;
181
182 static {
183 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
184 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
185 /* major= */ 4,
186 /* minor= */ 26,
187 /* patch= */ 1,
188 /* suffix= */ "",
189 SolverType.class.getName());
190 }
194 public static final int CLP_LINEAR_PROGRAMMING_VALUE = 0;
202 public static final int GLOP_LINEAR_PROGRAMMING_VALUE = 2;
206 public static final int GLPK_LINEAR_PROGRAMMING_VALUE = 1;
214 public static final int GUROBI_LINEAR_PROGRAMMING_VALUE = 6;
222 public static final int XPRESS_LINEAR_PROGRAMMING_VALUE = 101;
230 public static final int CPLEX_LINEAR_PROGRAMMING_VALUE = 10;
234 public static final int HIGHS_LINEAR_PROGRAMMING_VALUE = 15;
242 public static final int SCIP_MIXED_INTEGER_PROGRAMMING_VALUE = 3;
246 public static final int GLPK_MIXED_INTEGER_PROGRAMMING_VALUE = 4;
250 public static final int CBC_MIXED_INTEGER_PROGRAMMING_VALUE = 5;
258 public static final int GUROBI_MIXED_INTEGER_PROGRAMMING_VALUE = 7;
266 public static final int XPRESS_MIXED_INTEGER_PROGRAMMING_VALUE = 102;
274 public static final int CPLEX_MIXED_INTEGER_PROGRAMMING_VALUE = 11;
278 public static final int HIGHS_MIXED_INTEGER_PROGRAMMING_VALUE = 16;
282 public static final int BOP_INTEGER_PROGRAMMING_VALUE = 12;
293 public static final int SAT_INTEGER_PROGRAMMING_VALUE = 14;
303 public static final int PDLP_LINEAR_PROGRAMMING_VALUE = 8;
307 public static final int KNAPSACK_MIXED_INTEGER_PROGRAMMING_VALUE = 13;
308
309
310 public final int getNumber() {
311 return value;
312 }
313
319 @java.lang.Deprecated
320 public static SolverType valueOf(int value) {
321 return forNumber(value);
322 }
323
328 public static SolverType forNumber(int value) {
329 switch (value) {
330 case 0: return CLP_LINEAR_PROGRAMMING;
331 case 2: return GLOP_LINEAR_PROGRAMMING;
332 case 1: return GLPK_LINEAR_PROGRAMMING;
333 case 6: return GUROBI_LINEAR_PROGRAMMING;
334 case 101: return XPRESS_LINEAR_PROGRAMMING;
335 case 10: return CPLEX_LINEAR_PROGRAMMING;
336 case 15: return HIGHS_LINEAR_PROGRAMMING;
337 case 3: return SCIP_MIXED_INTEGER_PROGRAMMING;
338 case 4: return GLPK_MIXED_INTEGER_PROGRAMMING;
339 case 5: return CBC_MIXED_INTEGER_PROGRAMMING;
340 case 7: return GUROBI_MIXED_INTEGER_PROGRAMMING;
341 case 102: return XPRESS_MIXED_INTEGER_PROGRAMMING;
342 case 11: return CPLEX_MIXED_INTEGER_PROGRAMMING;
343 case 16: return HIGHS_MIXED_INTEGER_PROGRAMMING;
344 case 12: return BOP_INTEGER_PROGRAMMING;
345 case 14: return SAT_INTEGER_PROGRAMMING;
346 case 8: return PDLP_LINEAR_PROGRAMMING;
347 case 13: return KNAPSACK_MIXED_INTEGER_PROGRAMMING;
348 default: return null;
349 }
350 }
351
352 public static com.google.protobuf.Internal.EnumLiteMap<SolverType>
354 return internalValueMap;
355 }
356 private static final com.google.protobuf.Internal.EnumLiteMap<
357 SolverType> internalValueMap =
358 new com.google.protobuf.Internal.EnumLiteMap<SolverType>() {
359 public SolverType findValueByNumber(int number) {
360 return SolverType.forNumber(number);
361 }
362 };
363
364 public final com.google.protobuf.Descriptors.EnumValueDescriptor
366 return getDescriptor().getValues().get(ordinal());
367 }
368 public final com.google.protobuf.Descriptors.EnumDescriptor
370 return getDescriptor();
371 }
372 public static final com.google.protobuf.Descriptors.EnumDescriptor
374 return com.google.ortools.linearsolver.MPModelRequest.getDescriptor().getEnumTypes().get(0);
375 }
376
377 private static final SolverType[] VALUES = values();
378
379 public static SolverType valueOf(
380 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
381 if (desc.getType() != getDescriptor()) {
382 throw new java.lang.IllegalArgumentException(
383 "EnumValueDescriptor is not for this type.");
384 }
385 return VALUES[desc.getIndex()];
386 }
387
388 private final int value;
389
390 private SolverType(int value) {
391 this.value = value;
392 }
393
394 // @@protoc_insertion_point(enum_scope:operations_research.MPModelRequest.SolverType)
395 }
396
397 private int bitField0_;
398 public static final int MODEL_FIELD_NUMBER = 1;
408 @java.lang.Override
409 public boolean hasModel() {
410 return ((bitField0_ & 0x00000001) != 0);
411 }
420 @java.lang.Override
422 return model_ == null ? com.google.ortools.linearsolver.MPModelProto.getDefaultInstance() : model_;
423 }
431 @java.lang.Override
433 return model_ == null ? com.google.ortools.linearsolver.MPModelProto.getDefaultInstance() : model_;
434 }
435
436 public static final int SOLVER_TYPE_FIELD_NUMBER = 2;
437 private int solverType_ = 2;
442 @java.lang.Override public boolean hasSolverType() {
443 return ((bitField0_ & 0x00000002) != 0);
444 }
450 com.google.ortools.linearsolver.MPModelRequest.SolverType result = com.google.ortools.linearsolver.MPModelRequest.SolverType.forNumber(solverType_);
451 return result == null ? com.google.ortools.linearsolver.MPModelRequest.SolverType.GLOP_LINEAR_PROGRAMMING : result;
452 }
453
454 public static final int SOLVER_TIME_LIMIT_SECONDS_FIELD_NUMBER = 3;
455 private double solverTimeLimitSeconds_ = 0D;
472 @java.lang.Override
473 public boolean hasSolverTimeLimitSeconds() {
474 return ((bitField0_ & 0x00000004) != 0);
475 }
492 @java.lang.Override
494 return solverTimeLimitSeconds_;
495 }
496
498 private boolean enableInternalSolverOutput_ = false;
510 @java.lang.Override
512 return ((bitField0_ & 0x00000008) != 0);
513 }
525 @java.lang.Override
527 return enableInternalSolverOutput_;
528 }
529
530 public static final int SOLVER_SPECIFIC_PARAMETERS_FIELD_NUMBER = 5;
531 @SuppressWarnings("serial")
532 private volatile java.lang.Object solverSpecificParameters_ = "";
554 @java.lang.Override
556 return ((bitField0_ & 0x00000010) != 0);
557 }
579 @java.lang.Override
580 public java.lang.String getSolverSpecificParameters() {
581 java.lang.Object ref = solverSpecificParameters_;
582 if (ref instanceof java.lang.String) {
583 return (java.lang.String) ref;
584 } else {
585 com.google.protobuf.ByteString bs =
586 (com.google.protobuf.ByteString) ref;
587 java.lang.String s = bs.toStringUtf8();
588 if (bs.isValidUtf8()) {
589 solverSpecificParameters_ = s;
590 }
591 return s;
592 }
593 }
615 @java.lang.Override
616 public com.google.protobuf.ByteString
618 java.lang.Object ref = solverSpecificParameters_;
619 if (ref instanceof java.lang.String) {
620 com.google.protobuf.ByteString b =
621 com.google.protobuf.ByteString.copyFromUtf8(
622 (java.lang.String) ref);
623 solverSpecificParameters_ = b;
624 return b;
625 } else {
626 return (com.google.protobuf.ByteString) ref;
627 }
628 }
629
631 private boolean ignoreSolverSpecificParametersFailure_ = false;
636 @java.lang.Override
638 return ((bitField0_ & 0x00000020) != 0);
639 }
644 @java.lang.Override
646 return ignoreSolverSpecificParametersFailure_;
647 }
648
649 public static final int MODEL_DELTA_FIELD_NUMBER = 8;
660 @java.lang.Override
661 public boolean hasModelDelta() {
662 return ((bitField0_ & 0x00000040) != 0);
663 }
673 @java.lang.Override
675 return modelDelta_ == null ? com.google.ortools.linearsolver.MPModelDeltaProto.getDefaultInstance() : modelDelta_;
676 }
685 @java.lang.Override
687 return modelDelta_ == null ? com.google.ortools.linearsolver.MPModelDeltaProto.getDefaultInstance() : modelDelta_;
688 }
689
691 private int populateAdditionalSolutionsUpTo_ = 0;
706 @java.lang.Override
708 return ((bitField0_ & 0x00000080) != 0);
709 }
724 @java.lang.Override
726 return populateAdditionalSolutionsUpTo_;
727 }
728
729 private byte memoizedIsInitialized = -1;
730 @java.lang.Override
731 public final boolean isInitialized() {
732 byte isInitialized = memoizedIsInitialized;
733 if (isInitialized == 1) return true;
734 if (isInitialized == 0) return false;
735
736 memoizedIsInitialized = 1;
737 return true;
738 }
739
740 @java.lang.Override
741 public void writeTo(com.google.protobuf.CodedOutputStream output)
742 throws java.io.IOException {
743 if (((bitField0_ & 0x00000001) != 0)) {
744 output.writeMessage(1, getModel());
745 }
746 if (((bitField0_ & 0x00000002) != 0)) {
747 output.writeEnum(2, solverType_);
748 }
749 if (((bitField0_ & 0x00000004) != 0)) {
750 output.writeDouble(3, solverTimeLimitSeconds_);
751 }
752 if (((bitField0_ & 0x00000008) != 0)) {
753 output.writeBool(4, enableInternalSolverOutput_);
754 }
755 if (((bitField0_ & 0x00000010) != 0)) {
756 com.google.protobuf.GeneratedMessage.writeString(output, 5, solverSpecificParameters_);
757 }
758 if (((bitField0_ & 0x00000040) != 0)) {
759 output.writeMessage(8, getModelDelta());
760 }
761 if (((bitField0_ & 0x00000020) != 0)) {
762 output.writeBool(9, ignoreSolverSpecificParametersFailure_);
763 }
764 if (((bitField0_ & 0x00000080) != 0)) {
765 output.writeInt32(11, populateAdditionalSolutionsUpTo_);
766 }
767 getUnknownFields().writeTo(output);
768 }
769
770 @java.lang.Override
771 public int getSerializedSize() {
772 int size = memoizedSize;
773 if (size != -1) return size;
774
775 size = 0;
776 if (((bitField0_ & 0x00000001) != 0)) {
777 size += com.google.protobuf.CodedOutputStream
778 .computeMessageSize(1, getModel());
779 }
780 if (((bitField0_ & 0x00000002) != 0)) {
781 size += com.google.protobuf.CodedOutputStream
782 .computeEnumSize(2, solverType_);
783 }
784 if (((bitField0_ & 0x00000004) != 0)) {
785 size += com.google.protobuf.CodedOutputStream
786 .computeDoubleSize(3, solverTimeLimitSeconds_);
787 }
788 if (((bitField0_ & 0x00000008) != 0)) {
789 size += com.google.protobuf.CodedOutputStream
790 .computeBoolSize(4, enableInternalSolverOutput_);
791 }
792 if (((bitField0_ & 0x00000010) != 0)) {
793 size += com.google.protobuf.GeneratedMessage.computeStringSize(5, solverSpecificParameters_);
794 }
795 if (((bitField0_ & 0x00000040) != 0)) {
796 size += com.google.protobuf.CodedOutputStream
797 .computeMessageSize(8, getModelDelta());
798 }
799 if (((bitField0_ & 0x00000020) != 0)) {
800 size += com.google.protobuf.CodedOutputStream
801 .computeBoolSize(9, ignoreSolverSpecificParametersFailure_);
802 }
803 if (((bitField0_ & 0x00000080) != 0)) {
804 size += com.google.protobuf.CodedOutputStream
805 .computeInt32Size(11, populateAdditionalSolutionsUpTo_);
806 }
807 size += getUnknownFields().getSerializedSize();
808 memoizedSize = size;
809 return size;
810 }
811
812 @java.lang.Override
813 public boolean equals(final java.lang.Object obj) {
814 if (obj == this) {
815 return true;
816 }
817 if (!(obj instanceof com.google.ortools.linearsolver.MPModelRequest)) {
818 return super.equals(obj);
819 }
820 com.google.ortools.linearsolver.MPModelRequest other = (com.google.ortools.linearsolver.MPModelRequest) obj;
821
822 if (hasModel() != other.hasModel()) return false;
823 if (hasModel()) {
824 if (!getModel()
825 .equals(other.getModel())) return false;
826 }
827 if (hasSolverType() != other.hasSolverType()) return false;
828 if (hasSolverType()) {
829 if (solverType_ != other.solverType_) return false;
830 }
831 if (hasSolverTimeLimitSeconds() != other.hasSolverTimeLimitSeconds()) return false;
833 if (java.lang.Double.doubleToLongBits(getSolverTimeLimitSeconds())
834 != java.lang.Double.doubleToLongBits(
835 other.getSolverTimeLimitSeconds())) return false;
836 }
840 != other.getEnableInternalSolverOutput()) return false;
841 }
842 if (hasSolverSpecificParameters() != other.hasSolverSpecificParameters()) return false;
845 .equals(other.getSolverSpecificParameters())) return false;
846 }
850 != other.getIgnoreSolverSpecificParametersFailure()) return false;
851 }
852 if (hasModelDelta() != other.hasModelDelta()) return false;
853 if (hasModelDelta()) {
854 if (!getModelDelta()
855 .equals(other.getModelDelta())) return false;
856 }
860 != other.getPopulateAdditionalSolutionsUpTo()) return false;
861 }
862 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
863 return true;
864 }
865
866 @java.lang.Override
867 public int hashCode() {
868 if (memoizedHashCode != 0) {
869 return memoizedHashCode;
870 }
871 int hash = 41;
872 hash = (19 * hash) + getDescriptor().hashCode();
873 if (hasModel()) {
874 hash = (37 * hash) + MODEL_FIELD_NUMBER;
875 hash = (53 * hash) + getModel().hashCode();
876 }
877 if (hasSolverType()) {
878 hash = (37 * hash) + SOLVER_TYPE_FIELD_NUMBER;
879 hash = (53 * hash) + solverType_;
880 }
882 hash = (37 * hash) + SOLVER_TIME_LIMIT_SECONDS_FIELD_NUMBER;
883 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
884 java.lang.Double.doubleToLongBits(getSolverTimeLimitSeconds()));
885 }
888 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
890 }
892 hash = (37 * hash) + SOLVER_SPECIFIC_PARAMETERS_FIELD_NUMBER;
893 hash = (53 * hash) + getSolverSpecificParameters().hashCode();
894 }
897 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
899 }
900 if (hasModelDelta()) {
901 hash = (37 * hash) + MODEL_DELTA_FIELD_NUMBER;
902 hash = (53 * hash) + getModelDelta().hashCode();
903 }
906 hash = (53 * hash) + getPopulateAdditionalSolutionsUpTo();
907 }
908 hash = (29 * hash) + getUnknownFields().hashCode();
909 memoizedHashCode = hash;
910 return hash;
911 }
912
914 java.nio.ByteBuffer data)
915 throws com.google.protobuf.InvalidProtocolBufferException {
916 return PARSER.parseFrom(data);
917 }
919 java.nio.ByteBuffer data,
920 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
921 throws com.google.protobuf.InvalidProtocolBufferException {
922 return PARSER.parseFrom(data, extensionRegistry);
923 }
925 com.google.protobuf.ByteString data)
926 throws com.google.protobuf.InvalidProtocolBufferException {
927 return PARSER.parseFrom(data);
928 }
930 com.google.protobuf.ByteString data,
931 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
932 throws com.google.protobuf.InvalidProtocolBufferException {
933 return PARSER.parseFrom(data, extensionRegistry);
934 }
936 throws com.google.protobuf.InvalidProtocolBufferException {
937 return PARSER.parseFrom(data);
938 }
940 byte[] data,
941 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
942 throws com.google.protobuf.InvalidProtocolBufferException {
943 return PARSER.parseFrom(data, extensionRegistry);
944 }
945 public static com.google.ortools.linearsolver.MPModelRequest parseFrom(java.io.InputStream input)
946 throws java.io.IOException {
947 return com.google.protobuf.GeneratedMessage
948 .parseWithIOException(PARSER, input);
949 }
951 java.io.InputStream input,
952 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
953 throws java.io.IOException {
954 return com.google.protobuf.GeneratedMessage
955 .parseWithIOException(PARSER, input, extensionRegistry);
956 }
957
959 throws java.io.IOException {
960 return com.google.protobuf.GeneratedMessage
961 .parseDelimitedWithIOException(PARSER, input);
962 }
963
965 java.io.InputStream input,
966 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
967 throws java.io.IOException {
968 return com.google.protobuf.GeneratedMessage
969 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
970 }
972 com.google.protobuf.CodedInputStream input)
973 throws java.io.IOException {
974 return com.google.protobuf.GeneratedMessage
975 .parseWithIOException(PARSER, input);
976 }
978 com.google.protobuf.CodedInputStream input,
979 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
980 throws java.io.IOException {
981 return com.google.protobuf.GeneratedMessage
982 .parseWithIOException(PARSER, input, extensionRegistry);
983 }
984
985 @java.lang.Override
986 public Builder newBuilderForType() { return newBuilder(); }
987 public static Builder newBuilder() {
988 return DEFAULT_INSTANCE.toBuilder();
989 }
990 public static Builder newBuilder(com.google.ortools.linearsolver.MPModelRequest prototype) {
991 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
992 }
993 @java.lang.Override
995 return this == DEFAULT_INSTANCE
996 ? new Builder() : new Builder().mergeFrom(this);
997 }
998
999 @java.lang.Override
1001 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1002 Builder builder = new Builder(parent);
1003 return builder;
1004 }
1012 public static final class Builder extends
1013 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
1014 // @@protoc_insertion_point(builder_implements:operations_research.MPModelRequest)
1015 com.google.ortools.linearsolver.MPModelRequestOrBuilder {
1016 public static final com.google.protobuf.Descriptors.Descriptor
1018 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPModelRequest_descriptor;
1019 }
1020
1021 @java.lang.Override
1022 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1024 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPModelRequest_fieldAccessorTable
1025 .ensureFieldAccessorsInitialized(
1026 com.google.ortools.linearsolver.MPModelRequest.class, com.google.ortools.linearsolver.MPModelRequest.Builder.class);
1027 }
1028
1029 // Construct using com.google.ortools.linearsolver.MPModelRequest.newBuilder()
1030 private Builder() {
1031 maybeForceBuilderInitialization();
1032 }
1033
1034 private Builder(
1035 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1036 super(parent);
1037 maybeForceBuilderInitialization();
1038 }
1039 private void maybeForceBuilderInitialization() {
1040 if (com.google.protobuf.GeneratedMessage
1041 .alwaysUseFieldBuilders) {
1042 getModelFieldBuilder();
1043 getModelDeltaFieldBuilder();
1044 }
1045 }
1046 @java.lang.Override
1047 public Builder clear() {
1048 super.clear();
1049 bitField0_ = 0;
1050 model_ = null;
1051 if (modelBuilder_ != null) {
1052 modelBuilder_.dispose();
1053 modelBuilder_ = null;
1054 }
1055 solverType_ = 2;
1056 solverTimeLimitSeconds_ = 0D;
1057 enableInternalSolverOutput_ = false;
1058 solverSpecificParameters_ = "";
1059 ignoreSolverSpecificParametersFailure_ = false;
1060 modelDelta_ = null;
1061 if (modelDeltaBuilder_ != null) {
1062 modelDeltaBuilder_.dispose();
1063 modelDeltaBuilder_ = null;
1064 }
1065 populateAdditionalSolutionsUpTo_ = 0;
1066 return this;
1067 }
1068
1069 @java.lang.Override
1070 public com.google.protobuf.Descriptors.Descriptor
1072 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPModelRequest_descriptor;
1073 }
1074
1075 @java.lang.Override
1077 return com.google.ortools.linearsolver.MPModelRequest.getDefaultInstance();
1078 }
1079
1080 @java.lang.Override
1083 if (!result.isInitialized()) {
1084 throw newUninitializedMessageException(result);
1085 }
1086 return result;
1087 }
1088
1089 @java.lang.Override
1091 com.google.ortools.linearsolver.MPModelRequest result = new com.google.ortools.linearsolver.MPModelRequest(this);
1092 if (bitField0_ != 0) { buildPartial0(result); }
1093 onBuilt();
1094 return result;
1095 }
1096
1097 private void buildPartial0(com.google.ortools.linearsolver.MPModelRequest result) {
1098 int from_bitField0_ = bitField0_;
1099 int to_bitField0_ = 0;
1100 if (((from_bitField0_ & 0x00000001) != 0)) {
1101 result.model_ = modelBuilder_ == null
1102 ? model_
1103 : modelBuilder_.build();
1104 to_bitField0_ |= 0x00000001;
1105 }
1106 if (((from_bitField0_ & 0x00000002) != 0)) {
1107 result.solverType_ = solverType_;
1108 to_bitField0_ |= 0x00000002;
1109 }
1110 if (((from_bitField0_ & 0x00000004) != 0)) {
1111 result.solverTimeLimitSeconds_ = solverTimeLimitSeconds_;
1112 to_bitField0_ |= 0x00000004;
1113 }
1114 if (((from_bitField0_ & 0x00000008) != 0)) {
1115 result.enableInternalSolverOutput_ = enableInternalSolverOutput_;
1116 to_bitField0_ |= 0x00000008;
1117 }
1118 if (((from_bitField0_ & 0x00000010) != 0)) {
1119 result.solverSpecificParameters_ = solverSpecificParameters_;
1120 to_bitField0_ |= 0x00000010;
1121 }
1122 if (((from_bitField0_ & 0x00000020) != 0)) {
1123 result.ignoreSolverSpecificParametersFailure_ = ignoreSolverSpecificParametersFailure_;
1124 to_bitField0_ |= 0x00000020;
1125 }
1126 if (((from_bitField0_ & 0x00000040) != 0)) {
1127 result.modelDelta_ = modelDeltaBuilder_ == null
1128 ? modelDelta_
1129 : modelDeltaBuilder_.build();
1130 to_bitField0_ |= 0x00000040;
1131 }
1132 if (((from_bitField0_ & 0x00000080) != 0)) {
1133 result.populateAdditionalSolutionsUpTo_ = populateAdditionalSolutionsUpTo_;
1134 to_bitField0_ |= 0x00000080;
1135 }
1136 result.bitField0_ |= to_bitField0_;
1137 }
1138
1139 @java.lang.Override
1140 public Builder mergeFrom(com.google.protobuf.Message other) {
1141 if (other instanceof com.google.ortools.linearsolver.MPModelRequest) {
1142 return mergeFrom((com.google.ortools.linearsolver.MPModelRequest)other);
1143 } else {
1144 super.mergeFrom(other);
1145 return this;
1146 }
1147 }
1148
1149 public Builder mergeFrom(com.google.ortools.linearsolver.MPModelRequest other) {
1150 if (other == com.google.ortools.linearsolver.MPModelRequest.getDefaultInstance()) return this;
1151 if (other.hasModel()) {
1152 mergeModel(other.getModel());
1153 }
1154 if (other.hasSolverType()) {
1155 setSolverType(other.getSolverType());
1156 }
1157 if (other.hasSolverTimeLimitSeconds()) {
1158 setSolverTimeLimitSeconds(other.getSolverTimeLimitSeconds());
1159 }
1160 if (other.hasEnableInternalSolverOutput()) {
1161 setEnableInternalSolverOutput(other.getEnableInternalSolverOutput());
1162 }
1163 if (other.hasSolverSpecificParameters()) {
1164 solverSpecificParameters_ = other.solverSpecificParameters_;
1165 bitField0_ |= 0x00000010;
1166 onChanged();
1167 }
1168 if (other.hasIgnoreSolverSpecificParametersFailure()) {
1169 setIgnoreSolverSpecificParametersFailure(other.getIgnoreSolverSpecificParametersFailure());
1170 }
1171 if (other.hasModelDelta()) {
1172 mergeModelDelta(other.getModelDelta());
1173 }
1174 if (other.hasPopulateAdditionalSolutionsUpTo()) {
1175 setPopulateAdditionalSolutionsUpTo(other.getPopulateAdditionalSolutionsUpTo());
1176 }
1177 this.mergeUnknownFields(other.getUnknownFields());
1178 onChanged();
1179 return this;
1180 }
1181
1182 @java.lang.Override
1183 public final boolean isInitialized() {
1184 return true;
1185 }
1186
1187 @java.lang.Override
1189 com.google.protobuf.CodedInputStream input,
1190 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1191 throws java.io.IOException {
1192 if (extensionRegistry == null) {
1193 throw new java.lang.NullPointerException();
1194 }
1195 try {
1196 boolean done = false;
1197 while (!done) {
1198 int tag = input.readTag();
1199 switch (tag) {
1200 case 0:
1201 done = true;
1202 break;
1203 case 10: {
1204 input.readMessage(
1205 getModelFieldBuilder().getBuilder(),
1206 extensionRegistry);
1207 bitField0_ |= 0x00000001;
1208 break;
1209 } // case 10
1210 case 16: {
1211 int tmpRaw = input.readEnum();
1213 com.google.ortools.linearsolver.MPModelRequest.SolverType.forNumber(tmpRaw);
1214 if (tmpValue == null) {
1215 mergeUnknownVarintField(2, tmpRaw);
1216 } else {
1217 solverType_ = tmpRaw;
1218 bitField0_ |= 0x00000002;
1219 }
1220 break;
1221 } // case 16
1222 case 25: {
1223 solverTimeLimitSeconds_ = input.readDouble();
1224 bitField0_ |= 0x00000004;
1225 break;
1226 } // case 25
1227 case 32: {
1228 enableInternalSolverOutput_ = input.readBool();
1229 bitField0_ |= 0x00000008;
1230 break;
1231 } // case 32
1232 case 42: {
1233 solverSpecificParameters_ = input.readBytes();
1234 bitField0_ |= 0x00000010;
1235 break;
1236 } // case 42
1237 case 66: {
1238 input.readMessage(
1239 getModelDeltaFieldBuilder().getBuilder(),
1240 extensionRegistry);
1241 bitField0_ |= 0x00000040;
1242 break;
1243 } // case 66
1244 case 72: {
1245 ignoreSolverSpecificParametersFailure_ = input.readBool();
1246 bitField0_ |= 0x00000020;
1247 break;
1248 } // case 72
1249 case 88: {
1250 populateAdditionalSolutionsUpTo_ = input.readInt32();
1251 bitField0_ |= 0x00000080;
1252 break;
1253 } // case 88
1254 default: {
1255 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1256 done = true; // was an endgroup tag
1257 }
1258 break;
1259 } // default:
1260 } // switch (tag)
1261 } // while (!done)
1262 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1263 throw e.unwrapIOException();
1264 } finally {
1265 onChanged();
1266 } // finally
1267 return this;
1268 }
1269 private int bitField0_;
1270
1272 private com.google.protobuf.SingleFieldBuilder<
1273 com.google.ortools.linearsolver.MPModelProto, com.google.ortools.linearsolver.MPModelProto.Builder, com.google.ortools.linearsolver.MPModelProtoOrBuilder> modelBuilder_;
1282 public boolean hasModel() {
1283 return ((bitField0_ & 0x00000001) != 0);
1284 }
1294 if (modelBuilder_ == null) {
1295 return model_ == null ? com.google.ortools.linearsolver.MPModelProto.getDefaultInstance() : model_;
1296 } else {
1297 return modelBuilder_.getMessage();
1298 }
1299 }
1307 public Builder setModel(com.google.ortools.linearsolver.MPModelProto value) {
1308 if (modelBuilder_ == null) {
1309 if (value == null) {
1310 throw new NullPointerException();
1311 }
1312 model_ = value;
1313 } else {
1314 modelBuilder_.setMessage(value);
1315 }
1316 bitField0_ |= 0x00000001;
1317 onChanged();
1318 return this;
1319 }
1328 com.google.ortools.linearsolver.MPModelProto.Builder builderForValue) {
1329 if (modelBuilder_ == null) {
1330 model_ = builderForValue.build();
1331 } else {
1332 modelBuilder_.setMessage(builderForValue.build());
1333 }
1334 bitField0_ |= 0x00000001;
1335 onChanged();
1336 return this;
1337 }
1345 public Builder mergeModel(com.google.ortools.linearsolver.MPModelProto value) {
1346 if (modelBuilder_ == null) {
1347 if (((bitField0_ & 0x00000001) != 0) &&
1348 model_ != null &&
1349 model_ != com.google.ortools.linearsolver.MPModelProto.getDefaultInstance()) {
1350 getModelBuilder().mergeFrom(value);
1351 } else {
1352 model_ = value;
1353 }
1354 } else {
1355 modelBuilder_.mergeFrom(value);
1356 }
1357 if (model_ != null) {
1358 bitField0_ |= 0x00000001;
1359 onChanged();
1360 }
1361 return this;
1362 }
1371 bitField0_ = (bitField0_ & ~0x00000001);
1372 model_ = null;
1373 if (modelBuilder_ != null) {
1374 modelBuilder_.dispose();
1375 modelBuilder_ = null;
1376 }
1377 onChanged();
1378 return this;
1379 }
1388 bitField0_ |= 0x00000001;
1389 onChanged();
1390 return getModelFieldBuilder().getBuilder();
1391 }
1400 if (modelBuilder_ != null) {
1401 return modelBuilder_.getMessageOrBuilder();
1402 } else {
1403 return model_ == null ?
1404 com.google.ortools.linearsolver.MPModelProto.getDefaultInstance() : model_;
1405 }
1406 }
1414 private com.google.protobuf.SingleFieldBuilder<
1415 com.google.ortools.linearsolver.MPModelProto, com.google.ortools.linearsolver.MPModelProto.Builder, com.google.ortools.linearsolver.MPModelProtoOrBuilder>
1416 getModelFieldBuilder() {
1417 if (modelBuilder_ == null) {
1418 modelBuilder_ = new com.google.protobuf.SingleFieldBuilder<
1419 com.google.ortools.linearsolver.MPModelProto, com.google.ortools.linearsolver.MPModelProto.Builder, com.google.ortools.linearsolver.MPModelProtoOrBuilder>(
1420 getModel(),
1421 getParentForChildren(),
1422 isClean());
1423 model_ = null;
1424 }
1425 return modelBuilder_;
1426 }
1427
1428 private int solverType_ = 2;
1433 @java.lang.Override public boolean hasSolverType() {
1434 return ((bitField0_ & 0x00000002) != 0);
1435 }
1440 @java.lang.Override
1442 com.google.ortools.linearsolver.MPModelRequest.SolverType result = com.google.ortools.linearsolver.MPModelRequest.SolverType.forNumber(solverType_);
1443 return result == null ? com.google.ortools.linearsolver.MPModelRequest.SolverType.GLOP_LINEAR_PROGRAMMING : result;
1444 }
1450 public Builder setSolverType(com.google.ortools.linearsolver.MPModelRequest.SolverType value) {
1451 if (value == null) {
1452 throw new NullPointerException();
1453 }
1454 bitField0_ |= 0x00000002;
1455 solverType_ = value.getNumber();
1456 onChanged();
1457 return this;
1458 }
1464 bitField0_ = (bitField0_ & ~0x00000002);
1465 solverType_ = 2;
1466 onChanged();
1467 return this;
1468 }
1469
1470 private double solverTimeLimitSeconds_ ;
1487 @java.lang.Override
1488 public boolean hasSolverTimeLimitSeconds() {
1489 return ((bitField0_ & 0x00000004) != 0);
1490 }
1507 @java.lang.Override
1509 return solverTimeLimitSeconds_;
1510 }
1528 public Builder setSolverTimeLimitSeconds(double value) {
1529
1530 solverTimeLimitSeconds_ = value;
1531 bitField0_ |= 0x00000004;
1532 onChanged();
1533 return this;
1534 }
1552 bitField0_ = (bitField0_ & ~0x00000004);
1553 solverTimeLimitSeconds_ = 0D;
1554 onChanged();
1555 return this;
1556 }
1557
1558 private boolean enableInternalSolverOutput_ ;
1570 @java.lang.Override
1572 return ((bitField0_ & 0x00000008) != 0);
1573 }
1585 @java.lang.Override
1587 return enableInternalSolverOutput_;
1588 }
1602
1603 enableInternalSolverOutput_ = value;
1604 bitField0_ |= 0x00000008;
1605 onChanged();
1606 return this;
1607 }
1620 bitField0_ = (bitField0_ & ~0x00000008);
1621 enableInternalSolverOutput_ = false;
1622 onChanged();
1623 return this;
1624 }
1625
1626 private java.lang.Object solverSpecificParameters_ = "";
1649 return ((bitField0_ & 0x00000010) != 0);
1650 }
1672 public java.lang.String getSolverSpecificParameters() {
1673 java.lang.Object ref = solverSpecificParameters_;
1674 if (!(ref instanceof java.lang.String)) {
1675 com.google.protobuf.ByteString bs =
1676 (com.google.protobuf.ByteString) ref;
1677 java.lang.String s = bs.toStringUtf8();
1678 if (bs.isValidUtf8()) {
1679 solverSpecificParameters_ = s;
1680 }
1681 return s;
1682 } else {
1683 return (java.lang.String) ref;
1684 }
1685 }
1707 public com.google.protobuf.ByteString
1709 java.lang.Object ref = solverSpecificParameters_;
1710 if (ref instanceof String) {
1711 com.google.protobuf.ByteString b =
1712 com.google.protobuf.ByteString.copyFromUtf8(
1713 (java.lang.String) ref);
1714 solverSpecificParameters_ = b;
1715 return b;
1716 } else {
1717 return (com.google.protobuf.ByteString) ref;
1718 }
1719 }
1743 java.lang.String value) {
1744 if (value == null) { throw new NullPointerException(); }
1745 solverSpecificParameters_ = value;
1746 bitField0_ |= 0x00000010;
1747 onChanged();
1748 return this;
1749 }
1772 solverSpecificParameters_ = getDefaultInstance().getSolverSpecificParameters();
1773 bitField0_ = (bitField0_ & ~0x00000010);
1774 onChanged();
1775 return this;
1776 }
1800 com.google.protobuf.ByteString value) {
1801 if (value == null) { throw new NullPointerException(); }
1802 solverSpecificParameters_ = value;
1803 bitField0_ |= 0x00000010;
1804 onChanged();
1805 return this;
1806 }
1807
1808 private boolean ignoreSolverSpecificParametersFailure_ ;
1813 @java.lang.Override
1815 return ((bitField0_ & 0x00000020) != 0);
1816 }
1821 @java.lang.Override
1823 return ignoreSolverSpecificParametersFailure_;
1824 }
1831
1832 ignoreSolverSpecificParametersFailure_ = value;
1833 bitField0_ |= 0x00000020;
1834 onChanged();
1835 return this;
1836 }
1842 bitField0_ = (bitField0_ & ~0x00000020);
1843 ignoreSolverSpecificParametersFailure_ = false;
1844 onChanged();
1845 return this;
1846 }
1847
1849 private com.google.protobuf.SingleFieldBuilder<
1850 com.google.ortools.linearsolver.MPModelDeltaProto, com.google.ortools.linearsolver.MPModelDeltaProto.Builder, com.google.ortools.linearsolver.MPModelDeltaProtoOrBuilder> modelDeltaBuilder_;
1860 public boolean hasModelDelta() {
1861 return ((bitField0_ & 0x00000040) != 0);
1862 }
1873 if (modelDeltaBuilder_ == null) {
1874 return modelDelta_ == null ? com.google.ortools.linearsolver.MPModelDeltaProto.getDefaultInstance() : modelDelta_;
1875 } else {
1876 return modelDeltaBuilder_.getMessage();
1877 }
1878 }
1887 public Builder setModelDelta(com.google.ortools.linearsolver.MPModelDeltaProto value) {
1888 if (modelDeltaBuilder_ == null) {
1889 if (value == null) {
1890 throw new NullPointerException();
1891 }
1892 modelDelta_ = value;
1893 } else {
1894 modelDeltaBuilder_.setMessage(value);
1895 }
1896 bitField0_ |= 0x00000040;
1897 onChanged();
1898 return this;
1899 }
1909 com.google.ortools.linearsolver.MPModelDeltaProto.Builder builderForValue) {
1910 if (modelDeltaBuilder_ == null) {
1911 modelDelta_ = builderForValue.build();
1912 } else {
1913 modelDeltaBuilder_.setMessage(builderForValue.build());
1914 }
1915 bitField0_ |= 0x00000040;
1916 onChanged();
1917 return this;
1918 }
1927 public Builder mergeModelDelta(com.google.ortools.linearsolver.MPModelDeltaProto value) {
1928 if (modelDeltaBuilder_ == null) {
1929 if (((bitField0_ & 0x00000040) != 0) &&
1930 modelDelta_ != null &&
1931 modelDelta_ != com.google.ortools.linearsolver.MPModelDeltaProto.getDefaultInstance()) {
1932 getModelDeltaBuilder().mergeFrom(value);
1933 } else {
1934 modelDelta_ = value;
1935 }
1936 } else {
1937 modelDeltaBuilder_.mergeFrom(value);
1938 }
1939 if (modelDelta_ != null) {
1940 bitField0_ |= 0x00000040;
1941 onChanged();
1942 }
1943 return this;
1944 }
1954 bitField0_ = (bitField0_ & ~0x00000040);
1955 modelDelta_ = null;
1956 if (modelDeltaBuilder_ != null) {
1957 modelDeltaBuilder_.dispose();
1958 modelDeltaBuilder_ = null;
1959 }
1960 onChanged();
1961 return this;
1962 }
1972 bitField0_ |= 0x00000040;
1973 onChanged();
1974 return getModelDeltaFieldBuilder().getBuilder();
1975 }
1985 if (modelDeltaBuilder_ != null) {
1986 return modelDeltaBuilder_.getMessageOrBuilder();
1987 } else {
1988 return modelDelta_ == null ?
1989 com.google.ortools.linearsolver.MPModelDeltaProto.getDefaultInstance() : modelDelta_;
1990 }
1991 }
2000 private com.google.protobuf.SingleFieldBuilder<
2001 com.google.ortools.linearsolver.MPModelDeltaProto, com.google.ortools.linearsolver.MPModelDeltaProto.Builder, com.google.ortools.linearsolver.MPModelDeltaProtoOrBuilder>
2002 getModelDeltaFieldBuilder() {
2003 if (modelDeltaBuilder_ == null) {
2004 modelDeltaBuilder_ = new com.google.protobuf.SingleFieldBuilder<
2005 com.google.ortools.linearsolver.MPModelDeltaProto, com.google.ortools.linearsolver.MPModelDeltaProto.Builder, com.google.ortools.linearsolver.MPModelDeltaProtoOrBuilder>(
2006 getModelDelta(),
2007 getParentForChildren(),
2008 isClean());
2009 modelDelta_ = null;
2010 }
2011 return modelDeltaBuilder_;
2012 }
2013
2014 private int populateAdditionalSolutionsUpTo_ ;
2029 @java.lang.Override
2031 return ((bitField0_ & 0x00000080) != 0);
2032 }
2047 @java.lang.Override
2049 return populateAdditionalSolutionsUpTo_;
2050 }
2067
2068 populateAdditionalSolutionsUpTo_ = value;
2069 bitField0_ |= 0x00000080;
2070 onChanged();
2071 return this;
2072 }
2088 bitField0_ = (bitField0_ & ~0x00000080);
2089 populateAdditionalSolutionsUpTo_ = 0;
2090 onChanged();
2091 return this;
2092 }
2093
2094 // @@protoc_insertion_point(builder_scope:operations_research.MPModelRequest)
2095 }
2096
2097 // @@protoc_insertion_point(class_scope:operations_research.MPModelRequest)
2098 private static final com.google.ortools.linearsolver.MPModelRequest DEFAULT_INSTANCE;
2099 static {
2100 DEFAULT_INSTANCE = new com.google.ortools.linearsolver.MPModelRequest();
2101 }
2102
2104 return DEFAULT_INSTANCE;
2105 }
2106
2107 private static final com.google.protobuf.Parser<MPModelRequest>
2108 PARSER = new com.google.protobuf.AbstractParser<MPModelRequest>() {
2109 @java.lang.Override
2110 public MPModelRequest parsePartialFrom(
2111 com.google.protobuf.CodedInputStream input,
2112 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2113 throws com.google.protobuf.InvalidProtocolBufferException {
2114 Builder builder = newBuilder();
2115 try {
2116 builder.mergeFrom(input, extensionRegistry);
2117 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2118 throw e.setUnfinishedMessage(builder.buildPartial());
2119 } catch (com.google.protobuf.UninitializedMessageException e) {
2120 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
2121 } catch (java.io.IOException e) {
2122 throw new com.google.protobuf.InvalidProtocolBufferException(e)
2123 .setUnfinishedMessage(builder.buildPartial());
2124 }
2125 return builder.buildPartial();
2126 }
2127 };
2128
2129 public static com.google.protobuf.Parser<MPModelRequest> parser() {
2130 return PARSER;
2131 }
2132
2133 @java.lang.Override
2134 public com.google.protobuf.Parser<MPModelRequest> getParserForType() {
2135 return PARSER;
2136 }
2137
2138 @java.lang.Override
2140 return DEFAULT_INSTANCE;
2141 }
2142
2143}
2144
Builder mergeModelDelta(com.google.ortools.linearsolver.MPModelDeltaProto value)
com.google.ortools.linearsolver.MPModelRequest.SolverType getSolverType()
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.linearsolver.MPModelRequest build()
com.google.ortools.linearsolver.MPModelDeltaProto getModelDelta()
com.google.ortools.linearsolver.MPModelDeltaProtoOrBuilder getModelDeltaOrBuilder()
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
com.google.ortools.linearsolver.MPModelProto.Builder getModelBuilder()
com.google.ortools.linearsolver.MPModelProto getModel()
Builder setModel(com.google.ortools.linearsolver.MPModelProto.Builder builderForValue)
Builder mergeFrom(com.google.protobuf.Message other)
com.google.ortools.linearsolver.MPModelDeltaProto.Builder getModelDeltaBuilder()
Builder mergeFrom(com.google.ortools.linearsolver.MPModelRequest other)
Builder setSolverType(com.google.ortools.linearsolver.MPModelRequest.SolverType value)
Builder setModelDelta(com.google.ortools.linearsolver.MPModelDeltaProto value)
Builder setSolverSpecificParametersBytes(com.google.protobuf.ByteString value)
Builder setModel(com.google.ortools.linearsolver.MPModelProto value)
Builder setModelDelta(com.google.ortools.linearsolver.MPModelDeltaProto.Builder builderForValue)
com.google.ortools.linearsolver.MPModelRequest getDefaultInstanceForType()
com.google.ortools.linearsolver.MPModelRequest buildPartial()
com.google.protobuf.ByteString getSolverSpecificParametersBytes()
Builder mergeModel(com.google.ortools.linearsolver.MPModelProto value)
com.google.ortools.linearsolver.MPModelProtoOrBuilder getModelOrBuilder()
static com.google.protobuf.Parser< MPModelRequest > parser()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
static com.google.ortools.linearsolver.MPModelRequest parseFrom(com.google.protobuf.CodedInputStream input)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
static com.google.ortools.linearsolver.MPModelRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static com.google.ortools.linearsolver.MPModelRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.linearsolver.MPModelRequest parseFrom(java.nio.ByteBuffer data)
static com.google.ortools.linearsolver.MPModelRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.ortools.linearsolver.MPModelRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.linearsolver.MPModelRequest.SolverType getSolverType()
com.google.ortools.linearsolver.MPModelProtoOrBuilder getModelOrBuilder()
static com.google.ortools.linearsolver.MPModelRequest parseDelimitedFrom(java.io.InputStream input)
static com.google.ortools.linearsolver.MPModelRequest getDefaultInstance()
static com.google.ortools.linearsolver.MPModelRequest parseFrom(com.google.protobuf.ByteString data)
boolean equals(final java.lang.Object obj)
com.google.ortools.linearsolver.MPModelRequest getDefaultInstanceForType()
com.google.protobuf.Parser< MPModelRequest > getParserForType()
static com.google.ortools.linearsolver.MPModelRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.linearsolver.MPModelDeltaProtoOrBuilder getModelDeltaOrBuilder()
static com.google.ortools.linearsolver.MPModelRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Builder newBuilder(com.google.ortools.linearsolver.MPModelRequest prototype)
com.google.ortools.linearsolver.MPModelProto getModel()
static com.google.ortools.linearsolver.MPModelRequest parseFrom(byte[] data)
static com.google.ortools.linearsolver.MPModelRequest parseFrom(java.io.InputStream input)
com.google.protobuf.ByteString getSolverSpecificParametersBytes()
void writeTo(com.google.protobuf.CodedOutputStream output)
com.google.ortools.linearsolver.MPModelDeltaProto getModelDelta()
static com.google.protobuf.Internal.EnumLiteMap< SolverType > internalGetValueMap()
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
static SolverType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()