Google OR-Tools v9.14
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// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/linear_solver/linear_solver.proto
4// Protobuf Java Version: 4.31.1
5
6package com.google.ortools.linearsolver;
7
15@com.google.protobuf.Generated
16public final class MPModelRequest extends
17 com.google.protobuf.GeneratedMessage implements
18 // @@protoc_insertion_point(message_implements:operations_research.MPModelRequest)
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= */ 31,
26 /* patch= */ 1,
27 /* suffix= */ "",
28 MPModelRequest.class.getName());
29 }
30 // Use MPModelRequest.newBuilder() to construct.
31 private MPModelRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
32 super(builder);
33 }
34 private MPModelRequest() {
35 solverType_ = 2;
36 solverSpecificParameters_ = "";
37 }
38
39 public static final com.google.protobuf.Descriptors.Descriptor
41 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPModelRequest_descriptor;
42 }
43
44 @java.lang.Override
45 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
47 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPModelRequest_fieldAccessorTable
48 .ensureFieldAccessorsInitialized(
49 com.google.ortools.linearsolver.MPModelRequest.class, com.google.ortools.linearsolver.MPModelRequest.Builder.class);
50 }
51
63 public enum SolverType
64 implements com.google.protobuf.ProtocolMessageEnum {
182 ;
183
184 static {
185 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
186 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
187 /* major= */ 4,
188 /* minor= */ 31,
189 /* patch= */ 1,
190 /* suffix= */ "",
191 SolverType.class.getName());
192 }
196 public static final int CLP_LINEAR_PROGRAMMING_VALUE = 0;
204 public static final int GLOP_LINEAR_PROGRAMMING_VALUE = 2;
208 public static final int GLPK_LINEAR_PROGRAMMING_VALUE = 1;
216 public static final int GUROBI_LINEAR_PROGRAMMING_VALUE = 6;
224 public static final int XPRESS_LINEAR_PROGRAMMING_VALUE = 101;
232 public static final int CPLEX_LINEAR_PROGRAMMING_VALUE = 10;
236 public static final int HIGHS_LINEAR_PROGRAMMING_VALUE = 15;
244 public static final int SCIP_MIXED_INTEGER_PROGRAMMING_VALUE = 3;
248 public static final int GLPK_MIXED_INTEGER_PROGRAMMING_VALUE = 4;
252 public static final int CBC_MIXED_INTEGER_PROGRAMMING_VALUE = 5;
260 public static final int GUROBI_MIXED_INTEGER_PROGRAMMING_VALUE = 7;
268 public static final int XPRESS_MIXED_INTEGER_PROGRAMMING_VALUE = 102;
276 public static final int CPLEX_MIXED_INTEGER_PROGRAMMING_VALUE = 11;
280 public static final int HIGHS_MIXED_INTEGER_PROGRAMMING_VALUE = 16;
284 public static final int BOP_INTEGER_PROGRAMMING_VALUE = 12;
295 public static final int SAT_INTEGER_PROGRAMMING_VALUE = 14;
305 public static final int PDLP_LINEAR_PROGRAMMING_VALUE = 8;
309 public static final int KNAPSACK_MIXED_INTEGER_PROGRAMMING_VALUE = 13;
310
311
312 public final int getNumber() {
313 return value;
314 }
315
321 @java.lang.Deprecated
322 public static SolverType valueOf(int value) {
323 return forNumber(value);
324 }
325
330 public static SolverType forNumber(int value) {
331 switch (value) {
332 case 0: return CLP_LINEAR_PROGRAMMING;
333 case 2: return GLOP_LINEAR_PROGRAMMING;
334 case 1: return GLPK_LINEAR_PROGRAMMING;
335 case 6: return GUROBI_LINEAR_PROGRAMMING;
336 case 101: return XPRESS_LINEAR_PROGRAMMING;
337 case 10: return CPLEX_LINEAR_PROGRAMMING;
338 case 15: return HIGHS_LINEAR_PROGRAMMING;
339 case 3: return SCIP_MIXED_INTEGER_PROGRAMMING;
340 case 4: return GLPK_MIXED_INTEGER_PROGRAMMING;
341 case 5: return CBC_MIXED_INTEGER_PROGRAMMING;
343 case 102: return XPRESS_MIXED_INTEGER_PROGRAMMING;
344 case 11: return CPLEX_MIXED_INTEGER_PROGRAMMING;
345 case 16: return HIGHS_MIXED_INTEGER_PROGRAMMING;
346 case 12: return BOP_INTEGER_PROGRAMMING;
347 case 14: return SAT_INTEGER_PROGRAMMING;
348 case 8: return PDLP_LINEAR_PROGRAMMING;
350 default: return null;
351 }
352 }
353
354 public static com.google.protobuf.Internal.EnumLiteMap<SolverType>
356 return internalValueMap;
357 }
358 private static final com.google.protobuf.Internal.EnumLiteMap<
359 SolverType> internalValueMap =
360 new com.google.protobuf.Internal.EnumLiteMap<SolverType>() {
361 public SolverType findValueByNumber(int number) {
362 return SolverType.forNumber(number);
363 }
364 };
365
366 public final com.google.protobuf.Descriptors.EnumValueDescriptor
368 return getDescriptor().getValues().get(ordinal());
369 }
370 public final com.google.protobuf.Descriptors.EnumDescriptor
372 return getDescriptor();
373 }
374 public static com.google.protobuf.Descriptors.EnumDescriptor
376 return com.google.ortools.linearsolver.MPModelRequest.getDescriptor().getEnumTypes().get(0);
377 }
378
379 private static final SolverType[] VALUES = values();
380
381 public static SolverType valueOf(
382 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
383 if (desc.getType() != getDescriptor()) {
384 throw new java.lang.IllegalArgumentException(
385 "EnumValueDescriptor is not for this type.");
386 }
387 return VALUES[desc.getIndex()];
388 }
389
390 private final int value;
391
392 private SolverType(int value) {
393 this.value = value;
394 }
395
396 // @@protoc_insertion_point(enum_scope:operations_research.MPModelRequest.SolverType)
397 }
398
399 private int bitField0_;
400 public static final int MODEL_FIELD_NUMBER = 1;
410 @java.lang.Override
411 public boolean hasModel() {
412 return ((bitField0_ & 0x00000001) != 0);
413 }
414
422 @java.lang.Override
424 return model_ == null ? com.google.ortools.linearsolver.MPModelProto.getDefaultInstance() : model_;
425 }
426
433 @java.lang.Override
435 return model_ == null ? com.google.ortools.linearsolver.MPModelProto.getDefaultInstance() : model_;
436 }
437
438 public static final int SOLVER_TYPE_FIELD_NUMBER = 2;
439 private int solverType_ = 2;
444 @java.lang.Override public boolean hasSolverType() {
445 return ((bitField0_ & 0x00000002) != 0);
446 }
447
452 com.google.ortools.linearsolver.MPModelRequest.SolverType result = com.google.ortools.linearsolver.MPModelRequest.SolverType.forNumber(solverType_);
454 }
455
456 public static final int SOLVER_TIME_LIMIT_SECONDS_FIELD_NUMBER = 3;
457 private double solverTimeLimitSeconds_ = 0D;
474 @java.lang.Override
475 public boolean hasSolverTimeLimitSeconds() {
476 return ((bitField0_ & 0x00000004) != 0);
477 }
478
494 @java.lang.Override
496 return solverTimeLimitSeconds_;
497 }
498
500 private boolean enableInternalSolverOutput_ = false;
512 @java.lang.Override
514 return ((bitField0_ & 0x00000008) != 0);
515 }
516
527 @java.lang.Override
529 return enableInternalSolverOutput_;
530 }
531
532 public static final int SOLVER_SPECIFIC_PARAMETERS_FIELD_NUMBER = 5;
533 @SuppressWarnings("serial")
534 private volatile java.lang.Object solverSpecificParameters_ = "";
556 @java.lang.Override
558 return ((bitField0_ & 0x00000010) != 0);
559 }
560
581 @java.lang.Override
582 public java.lang.String getSolverSpecificParameters() {
583 java.lang.Object ref = solverSpecificParameters_;
584 if (ref instanceof java.lang.String) {
585 return (java.lang.String) ref;
586 } else {
587 com.google.protobuf.ByteString bs =
588 (com.google.protobuf.ByteString) ref;
589 java.lang.String s = bs.toStringUtf8();
590 if (bs.isValidUtf8()) {
591 solverSpecificParameters_ = s;
592 }
593 return s;
594 }
595 }
596
617 @java.lang.Override
618 public com.google.protobuf.ByteString
620 java.lang.Object ref = solverSpecificParameters_;
621 if (ref instanceof java.lang.String) {
622 com.google.protobuf.ByteString b =
623 com.google.protobuf.ByteString.copyFromUtf8(
624 (java.lang.String) ref);
625 solverSpecificParameters_ = b;
626 return b;
627 } else {
628 return (com.google.protobuf.ByteString) ref;
629 }
630 }
631
633 private boolean ignoreSolverSpecificParametersFailure_ = false;
638 @java.lang.Override
640 return ((bitField0_ & 0x00000020) != 0);
641 }
642
646 @java.lang.Override
648 return ignoreSolverSpecificParametersFailure_;
649 }
650
651 public static final int MODEL_DELTA_FIELD_NUMBER = 8;
662 @java.lang.Override
663 public boolean hasModelDelta() {
664 return ((bitField0_ & 0x00000040) != 0);
665 }
666
675 @java.lang.Override
677 return modelDelta_ == null ? com.google.ortools.linearsolver.MPModelDeltaProto.getDefaultInstance() : modelDelta_;
678 }
679
687 @java.lang.Override
689 return modelDelta_ == null ? com.google.ortools.linearsolver.MPModelDeltaProto.getDefaultInstance() : modelDelta_;
690 }
691
693 private int populateAdditionalSolutionsUpTo_ = 0;
708 @java.lang.Override
710 return ((bitField0_ & 0x00000080) != 0);
711 }
712
726 @java.lang.Override
728 return populateAdditionalSolutionsUpTo_;
729 }
730
731 private byte memoizedIsInitialized = -1;
732 @java.lang.Override
733 public final boolean isInitialized() {
734 byte isInitialized = memoizedIsInitialized;
735 if (isInitialized == 1) return true;
736 if (isInitialized == 0) return false;
737
738 memoizedIsInitialized = 1;
739 return true;
740 }
741
742 @java.lang.Override
743 public void writeTo(com.google.protobuf.CodedOutputStream output)
744 throws java.io.IOException {
745 if (((bitField0_ & 0x00000001) != 0)) {
746 output.writeMessage(1, getModel());
747 }
748 if (((bitField0_ & 0x00000002) != 0)) {
749 output.writeEnum(2, solverType_);
750 }
751 if (((bitField0_ & 0x00000004) != 0)) {
752 output.writeDouble(3, solverTimeLimitSeconds_);
753 }
754 if (((bitField0_ & 0x00000008) != 0)) {
755 output.writeBool(4, enableInternalSolverOutput_);
756 }
757 if (((bitField0_ & 0x00000010) != 0)) {
758 com.google.protobuf.GeneratedMessage.writeString(output, 5, solverSpecificParameters_);
759 }
760 if (((bitField0_ & 0x00000040) != 0)) {
761 output.writeMessage(8, getModelDelta());
762 }
763 if (((bitField0_ & 0x00000020) != 0)) {
764 output.writeBool(9, ignoreSolverSpecificParametersFailure_);
765 }
766 if (((bitField0_ & 0x00000080) != 0)) {
767 output.writeInt32(11, populateAdditionalSolutionsUpTo_);
768 }
769 getUnknownFields().writeTo(output);
770 }
771
772 @java.lang.Override
773 public int getSerializedSize() {
774 int size = memoizedSize;
775 if (size != -1) return size;
776
777 size = 0;
778 if (((bitField0_ & 0x00000001) != 0)) {
779 size += com.google.protobuf.CodedOutputStream
780 .computeMessageSize(1, getModel());
781 }
782 if (((bitField0_ & 0x00000002) != 0)) {
783 size += com.google.protobuf.CodedOutputStream
784 .computeEnumSize(2, solverType_);
785 }
786 if (((bitField0_ & 0x00000004) != 0)) {
787 size += com.google.protobuf.CodedOutputStream
788 .computeDoubleSize(3, solverTimeLimitSeconds_);
789 }
790 if (((bitField0_ & 0x00000008) != 0)) {
791 size += com.google.protobuf.CodedOutputStream
792 .computeBoolSize(4, enableInternalSolverOutput_);
793 }
794 if (((bitField0_ & 0x00000010) != 0)) {
795 size += com.google.protobuf.GeneratedMessage.computeStringSize(5, solverSpecificParameters_);
796 }
797 if (((bitField0_ & 0x00000040) != 0)) {
798 size += com.google.protobuf.CodedOutputStream
799 .computeMessageSize(8, getModelDelta());
800 }
801 if (((bitField0_ & 0x00000020) != 0)) {
802 size += com.google.protobuf.CodedOutputStream
803 .computeBoolSize(9, ignoreSolverSpecificParametersFailure_);
804 }
805 if (((bitField0_ & 0x00000080) != 0)) {
806 size += com.google.protobuf.CodedOutputStream
807 .computeInt32Size(11, populateAdditionalSolutionsUpTo_);
808 }
809 size += getUnknownFields().getSerializedSize();
810 memoizedSize = size;
811 return size;
812 }
813
814 @java.lang.Override
815 public boolean equals(final java.lang.Object obj) {
816 if (obj == this) {
817 return true;
818 }
819 if (!(obj instanceof com.google.ortools.linearsolver.MPModelRequest)) {
820 return super.equals(obj);
821 }
822 com.google.ortools.linearsolver.MPModelRequest other = (com.google.ortools.linearsolver.MPModelRequest) obj;
823
824 if (hasModel() != other.hasModel()) return false;
825 if (hasModel()) {
826 if (!getModel()
827 .equals(other.getModel())) return false;
828 }
829 if (hasSolverType() != other.hasSolverType()) return false;
830 if (hasSolverType()) {
831 if (solverType_ != other.solverType_) return false;
832 }
833 if (hasSolverTimeLimitSeconds() != other.hasSolverTimeLimitSeconds()) return false;
835 if (java.lang.Double.doubleToLongBits(getSolverTimeLimitSeconds())
836 != java.lang.Double.doubleToLongBits(
837 other.getSolverTimeLimitSeconds())) return false;
838 }
842 != other.getEnableInternalSolverOutput()) return false;
843 }
844 if (hasSolverSpecificParameters() != other.hasSolverSpecificParameters()) return false;
847 .equals(other.getSolverSpecificParameters())) return false;
848 }
852 != other.getIgnoreSolverSpecificParametersFailure()) return false;
853 }
854 if (hasModelDelta() != other.hasModelDelta()) return false;
855 if (hasModelDelta()) {
856 if (!getModelDelta()
857 .equals(other.getModelDelta())) return false;
858 }
862 != other.getPopulateAdditionalSolutionsUpTo()) return false;
863 }
864 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
865 return true;
866 }
867
868 @java.lang.Override
869 public int hashCode() {
870 if (memoizedHashCode != 0) {
871 return memoizedHashCode;
872 }
873 int hash = 41;
874 hash = (19 * hash) + getDescriptor().hashCode();
875 if (hasModel()) {
876 hash = (37 * hash) + MODEL_FIELD_NUMBER;
877 hash = (53 * hash) + getModel().hashCode();
878 }
879 if (hasSolverType()) {
880 hash = (37 * hash) + SOLVER_TYPE_FIELD_NUMBER;
881 hash = (53 * hash) + solverType_;
882 }
884 hash = (37 * hash) + SOLVER_TIME_LIMIT_SECONDS_FIELD_NUMBER;
885 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
886 java.lang.Double.doubleToLongBits(getSolverTimeLimitSeconds()));
887 }
890 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
892 }
894 hash = (37 * hash) + SOLVER_SPECIFIC_PARAMETERS_FIELD_NUMBER;
895 hash = (53 * hash) + getSolverSpecificParameters().hashCode();
896 }
899 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
901 }
902 if (hasModelDelta()) {
903 hash = (37 * hash) + MODEL_DELTA_FIELD_NUMBER;
904 hash = (53 * hash) + getModelDelta().hashCode();
905 }
908 hash = (53 * hash) + getPopulateAdditionalSolutionsUpTo();
909 }
910 hash = (29 * hash) + getUnknownFields().hashCode();
911 memoizedHashCode = hash;
912 return hash;
913 }
914
916 java.nio.ByteBuffer data)
917 throws com.google.protobuf.InvalidProtocolBufferException {
918 return PARSER.parseFrom(data);
919 }
921 java.nio.ByteBuffer data,
922 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
923 throws com.google.protobuf.InvalidProtocolBufferException {
924 return PARSER.parseFrom(data, extensionRegistry);
925 }
927 com.google.protobuf.ByteString data)
928 throws com.google.protobuf.InvalidProtocolBufferException {
929 return PARSER.parseFrom(data);
930 }
932 com.google.protobuf.ByteString data,
933 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
934 throws com.google.protobuf.InvalidProtocolBufferException {
935 return PARSER.parseFrom(data, extensionRegistry);
936 }
938 throws com.google.protobuf.InvalidProtocolBufferException {
939 return PARSER.parseFrom(data);
940 }
942 byte[] data,
943 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
944 throws com.google.protobuf.InvalidProtocolBufferException {
945 return PARSER.parseFrom(data, extensionRegistry);
946 }
947 public static com.google.ortools.linearsolver.MPModelRequest parseFrom(java.io.InputStream input)
948 throws java.io.IOException {
949 return com.google.protobuf.GeneratedMessage
950 .parseWithIOException(PARSER, input);
951 }
953 java.io.InputStream input,
954 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
955 throws java.io.IOException {
956 return com.google.protobuf.GeneratedMessage
957 .parseWithIOException(PARSER, input, extensionRegistry);
958 }
959
961 throws java.io.IOException {
962 return com.google.protobuf.GeneratedMessage
963 .parseDelimitedWithIOException(PARSER, input);
964 }
965
967 java.io.InputStream input,
968 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
969 throws java.io.IOException {
970 return com.google.protobuf.GeneratedMessage
971 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
972 }
974 com.google.protobuf.CodedInputStream input)
975 throws java.io.IOException {
976 return com.google.protobuf.GeneratedMessage
977 .parseWithIOException(PARSER, input);
978 }
980 com.google.protobuf.CodedInputStream input,
981 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
982 throws java.io.IOException {
983 return com.google.protobuf.GeneratedMessage
984 .parseWithIOException(PARSER, input, extensionRegistry);
985 }
986
987 @java.lang.Override
988 public Builder newBuilderForType() { return newBuilder(); }
989 public static Builder newBuilder() {
990 return DEFAULT_INSTANCE.toBuilder();
991 }
992 public static Builder newBuilder(com.google.ortools.linearsolver.MPModelRequest prototype) {
993 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
994 }
995 @java.lang.Override
997 return this == DEFAULT_INSTANCE
998 ? new Builder() : new Builder().mergeFrom(this);
999 }
1000
1001 @java.lang.Override
1003 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1004 Builder builder = new Builder(parent);
1005 return builder;
1006 }
1007
1014 public static final class Builder extends
1015 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
1016 // @@protoc_insertion_point(builder_implements:operations_research.MPModelRequest)
1018 public static final com.google.protobuf.Descriptors.Descriptor
1020 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPModelRequest_descriptor;
1021 }
1022
1023 @java.lang.Override
1024 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1026 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPModelRequest_fieldAccessorTable
1027 .ensureFieldAccessorsInitialized(
1028 com.google.ortools.linearsolver.MPModelRequest.class, com.google.ortools.linearsolver.MPModelRequest.Builder.class);
1029 }
1030
1031 // Construct using com.google.ortools.linearsolver.MPModelRequest.newBuilder()
1032 private Builder() {
1033 maybeForceBuilderInitialization();
1034 }
1035
1036 private Builder(
1037 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1038 super(parent);
1039 maybeForceBuilderInitialization();
1040 }
1041 private void maybeForceBuilderInitialization() {
1042 if (com.google.protobuf.GeneratedMessage
1043 .alwaysUseFieldBuilders) {
1044 internalGetModelFieldBuilder();
1045 internalGetModelDeltaFieldBuilder();
1046 }
1047 }
1048 @java.lang.Override
1049 public Builder clear() {
1050 super.clear();
1051 bitField0_ = 0;
1052 model_ = null;
1053 if (modelBuilder_ != null) {
1054 modelBuilder_.dispose();
1055 modelBuilder_ = null;
1056 }
1057 solverType_ = 2;
1058 solverTimeLimitSeconds_ = 0D;
1059 enableInternalSolverOutput_ = false;
1060 solverSpecificParameters_ = "";
1061 ignoreSolverSpecificParametersFailure_ = false;
1062 modelDelta_ = null;
1063 if (modelDeltaBuilder_ != null) {
1064 modelDeltaBuilder_.dispose();
1065 modelDeltaBuilder_ = null;
1066 }
1067 populateAdditionalSolutionsUpTo_ = 0;
1068 return this;
1069 }
1070
1071 @java.lang.Override
1072 public com.google.protobuf.Descriptors.Descriptor
1074 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPModelRequest_descriptor;
1075 }
1076
1077 @java.lang.Override
1079 return com.google.ortools.linearsolver.MPModelRequest.getDefaultInstance();
1080 }
1081
1082 @java.lang.Override
1085 if (!result.isInitialized()) {
1086 throw newUninitializedMessageException(result);
1087 }
1088 return result;
1089 }
1090
1091 @java.lang.Override
1093 com.google.ortools.linearsolver.MPModelRequest result = new com.google.ortools.linearsolver.MPModelRequest(this);
1094 if (bitField0_ != 0) { buildPartial0(result); }
1095 onBuilt();
1096 return result;
1097 }
1098
1099 private void buildPartial0(com.google.ortools.linearsolver.MPModelRequest result) {
1100 int from_bitField0_ = bitField0_;
1101 int to_bitField0_ = 0;
1102 if (((from_bitField0_ & 0x00000001) != 0)) {
1103 result.model_ = modelBuilder_ == null
1104 ? model_
1105 : modelBuilder_.build();
1106 to_bitField0_ |= 0x00000001;
1107 }
1108 if (((from_bitField0_ & 0x00000002) != 0)) {
1109 result.solverType_ = solverType_;
1110 to_bitField0_ |= 0x00000002;
1111 }
1112 if (((from_bitField0_ & 0x00000004) != 0)) {
1113 result.solverTimeLimitSeconds_ = solverTimeLimitSeconds_;
1114 to_bitField0_ |= 0x00000004;
1115 }
1116 if (((from_bitField0_ & 0x00000008) != 0)) {
1117 result.enableInternalSolverOutput_ = enableInternalSolverOutput_;
1118 to_bitField0_ |= 0x00000008;
1119 }
1120 if (((from_bitField0_ & 0x00000010) != 0)) {
1121 result.solverSpecificParameters_ = solverSpecificParameters_;
1122 to_bitField0_ |= 0x00000010;
1123 }
1124 if (((from_bitField0_ & 0x00000020) != 0)) {
1125 result.ignoreSolverSpecificParametersFailure_ = ignoreSolverSpecificParametersFailure_;
1126 to_bitField0_ |= 0x00000020;
1127 }
1128 if (((from_bitField0_ & 0x00000040) != 0)) {
1129 result.modelDelta_ = modelDeltaBuilder_ == null
1130 ? modelDelta_
1131 : modelDeltaBuilder_.build();
1132 to_bitField0_ |= 0x00000040;
1133 }
1134 if (((from_bitField0_ & 0x00000080) != 0)) {
1135 result.populateAdditionalSolutionsUpTo_ = populateAdditionalSolutionsUpTo_;
1136 to_bitField0_ |= 0x00000080;
1137 }
1138 result.bitField0_ |= to_bitField0_;
1139 }
1140
1141 @java.lang.Override
1142 public Builder mergeFrom(com.google.protobuf.Message other) {
1143 if (other instanceof com.google.ortools.linearsolver.MPModelRequest) {
1144 return mergeFrom((com.google.ortools.linearsolver.MPModelRequest)other);
1145 } else {
1146 super.mergeFrom(other);
1147 return this;
1148 }
1149 }
1150
1151 public Builder mergeFrom(com.google.ortools.linearsolver.MPModelRequest other) {
1152 if (other == com.google.ortools.linearsolver.MPModelRequest.getDefaultInstance()) return this;
1153 if (other.hasModel()) {
1154 mergeModel(other.getModel());
1155 }
1156 if (other.hasSolverType()) {
1157 setSolverType(other.getSolverType());
1158 }
1159 if (other.hasSolverTimeLimitSeconds()) {
1160 setSolverTimeLimitSeconds(other.getSolverTimeLimitSeconds());
1161 }
1162 if (other.hasEnableInternalSolverOutput()) {
1163 setEnableInternalSolverOutput(other.getEnableInternalSolverOutput());
1164 }
1165 if (other.hasSolverSpecificParameters()) {
1166 solverSpecificParameters_ = other.solverSpecificParameters_;
1167 bitField0_ |= 0x00000010;
1168 onChanged();
1169 }
1170 if (other.hasIgnoreSolverSpecificParametersFailure()) {
1171 setIgnoreSolverSpecificParametersFailure(other.getIgnoreSolverSpecificParametersFailure());
1172 }
1173 if (other.hasModelDelta()) {
1174 mergeModelDelta(other.getModelDelta());
1175 }
1176 if (other.hasPopulateAdditionalSolutionsUpTo()) {
1177 setPopulateAdditionalSolutionsUpTo(other.getPopulateAdditionalSolutionsUpTo());
1178 }
1179 this.mergeUnknownFields(other.getUnknownFields());
1180 onChanged();
1181 return this;
1182 }
1183
1184 @java.lang.Override
1185 public final boolean isInitialized() {
1186 return true;
1187 }
1188
1189 @java.lang.Override
1190 public Builder mergeFrom(
1191 com.google.protobuf.CodedInputStream input,
1192 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1193 throws java.io.IOException {
1194 if (extensionRegistry == null) {
1195 throw new java.lang.NullPointerException();
1196 }
1197 try {
1198 boolean done = false;
1199 while (!done) {
1200 int tag = input.readTag();
1201 switch (tag) {
1202 case 0:
1203 done = true;
1204 break;
1205 case 10: {
1206 input.readMessage(
1207 internalGetModelFieldBuilder().getBuilder(),
1208 extensionRegistry);
1209 bitField0_ |= 0x00000001;
1210 break;
1211 } // case 10
1212 case 16: {
1213 int tmpRaw = input.readEnum();
1215 com.google.ortools.linearsolver.MPModelRequest.SolverType.forNumber(tmpRaw);
1216 if (tmpValue == null) {
1217 mergeUnknownVarintField(2, tmpRaw);
1218 } else {
1219 solverType_ = tmpRaw;
1220 bitField0_ |= 0x00000002;
1221 }
1222 break;
1223 } // case 16
1224 case 25: {
1225 solverTimeLimitSeconds_ = input.readDouble();
1226 bitField0_ |= 0x00000004;
1227 break;
1228 } // case 25
1229 case 32: {
1230 enableInternalSolverOutput_ = input.readBool();
1231 bitField0_ |= 0x00000008;
1232 break;
1233 } // case 32
1234 case 42: {
1235 solverSpecificParameters_ = input.readBytes();
1236 bitField0_ |= 0x00000010;
1237 break;
1238 } // case 42
1239 case 66: {
1240 input.readMessage(
1241 internalGetModelDeltaFieldBuilder().getBuilder(),
1242 extensionRegistry);
1243 bitField0_ |= 0x00000040;
1244 break;
1245 } // case 66
1246 case 72: {
1247 ignoreSolverSpecificParametersFailure_ = input.readBool();
1248 bitField0_ |= 0x00000020;
1249 break;
1250 } // case 72
1251 case 88: {
1252 populateAdditionalSolutionsUpTo_ = input.readInt32();
1253 bitField0_ |= 0x00000080;
1254 break;
1255 } // case 88
1256 default: {
1257 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1258 done = true; // was an endgroup tag
1259 }
1260 break;
1261 } // default:
1262 } // switch (tag)
1263 } // while (!done)
1264 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1265 throw e.unwrapIOException();
1266 } finally {
1267 onChanged();
1268 } // finally
1269 return this;
1270 }
1271 private int bitField0_;
1272
1274 private com.google.protobuf.SingleFieldBuilder<
1275 com.google.ortools.linearsolver.MPModelProto, com.google.ortools.linearsolver.MPModelProto.Builder, com.google.ortools.linearsolver.MPModelProtoOrBuilder> modelBuilder_;
1284 public boolean hasModel() {
1285 return ((bitField0_ & 0x00000001) != 0);
1286 }
1287
1296 if (modelBuilder_ == null) {
1297 return model_ == null ? com.google.ortools.linearsolver.MPModelProto.getDefaultInstance() : model_;
1298 } else {
1299 return modelBuilder_.getMessage();
1300 }
1301 }
1302
1309 public Builder setModel(com.google.ortools.linearsolver.MPModelProto value) {
1310 if (modelBuilder_ == null) {
1311 if (value == null) {
1312 throw new NullPointerException();
1313 }
1314 model_ = value;
1315 } else {
1316 modelBuilder_.setMessage(value);
1317 }
1318 bitField0_ |= 0x00000001;
1319 onChanged();
1320 return this;
1321 }
1322
1329 public Builder setModel(
1330 com.google.ortools.linearsolver.MPModelProto.Builder builderForValue) {
1331 if (modelBuilder_ == null) {
1332 model_ = builderForValue.build();
1333 } else {
1334 modelBuilder_.setMessage(builderForValue.build());
1335 }
1336 bitField0_ |= 0x00000001;
1337 onChanged();
1338 return this;
1339 }
1340
1347 public Builder mergeModel(com.google.ortools.linearsolver.MPModelProto value) {
1348 if (modelBuilder_ == null) {
1349 if (((bitField0_ & 0x00000001) != 0) &&
1350 model_ != null &&
1351 model_ != com.google.ortools.linearsolver.MPModelProto.getDefaultInstance()) {
1352 getModelBuilder().mergeFrom(value);
1353 } else {
1354 model_ = value;
1355 }
1356 } else {
1357 modelBuilder_.mergeFrom(value);
1358 }
1359 if (model_ != null) {
1360 bitField0_ |= 0x00000001;
1361 onChanged();
1362 }
1363 return this;
1364 }
1365
1372 public Builder clearModel() {
1373 bitField0_ = (bitField0_ & ~0x00000001);
1374 model_ = null;
1375 if (modelBuilder_ != null) {
1376 modelBuilder_.dispose();
1377 modelBuilder_ = null;
1378 }
1379 onChanged();
1380 return this;
1381 }
1382
1390 bitField0_ |= 0x00000001;
1391 onChanged();
1392 return internalGetModelFieldBuilder().getBuilder();
1393 }
1394
1402 if (modelBuilder_ != null) {
1403 return modelBuilder_.getMessageOrBuilder();
1404 } else {
1405 return model_ == null ?
1406 com.google.ortools.linearsolver.MPModelProto.getDefaultInstance() : model_;
1407 }
1408 }
1409
1416 private com.google.protobuf.SingleFieldBuilder<
1417 com.google.ortools.linearsolver.MPModelProto, com.google.ortools.linearsolver.MPModelProto.Builder, com.google.ortools.linearsolver.MPModelProtoOrBuilder>
1418 internalGetModelFieldBuilder() {
1419 if (modelBuilder_ == null) {
1420 modelBuilder_ = new com.google.protobuf.SingleFieldBuilder<
1421 com.google.ortools.linearsolver.MPModelProto, com.google.ortools.linearsolver.MPModelProto.Builder, com.google.ortools.linearsolver.MPModelProtoOrBuilder>(
1422 getModel(),
1423 getParentForChildren(),
1424 isClean());
1425 model_ = null;
1426 }
1427 return modelBuilder_;
1428 }
1429
1430 private int solverType_ = 2;
1435 @java.lang.Override public boolean hasSolverType() {
1436 return ((bitField0_ & 0x00000002) != 0);
1437 }
1438
1442 @java.lang.Override
1444 com.google.ortools.linearsolver.MPModelRequest.SolverType result = com.google.ortools.linearsolver.MPModelRequest.SolverType.forNumber(solverType_);
1446 }
1447
1452 public Builder setSolverType(com.google.ortools.linearsolver.MPModelRequest.SolverType value) {
1453 if (value == null) { throw new NullPointerException(); }
1454 bitField0_ |= 0x00000002;
1455 solverType_ = value.getNumber();
1456 onChanged();
1457 return this;
1458 }
1459
1463 public Builder clearSolverType() {
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 }
1491
1507 @java.lang.Override
1509 return solverTimeLimitSeconds_;
1510 }
1511
1528 public Builder setSolverTimeLimitSeconds(double value) {
1529
1530 solverTimeLimitSeconds_ = value;
1531 bitField0_ |= 0x00000004;
1532 onChanged();
1533 return this;
1534 }
1535
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 }
1574
1585 @java.lang.Override
1587 return enableInternalSolverOutput_;
1588 }
1589
1601 public Builder setEnableInternalSolverOutput(boolean value) {
1602
1603 enableInternalSolverOutput_ = value;
1604 bitField0_ |= 0x00000008;
1605 onChanged();
1606 return this;
1607 }
1608
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 }
1651
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 }
1686
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 }
1720
1743 java.lang.String value) {
1744 if (value == null) { throw new NullPointerException(); }
1745 solverSpecificParameters_ = value;
1746 bitField0_ |= 0x00000010;
1747 onChanged();
1748 return this;
1749 }
1750
1772 solverSpecificParameters_ = getDefaultInstance().getSolverSpecificParameters();
1773 bitField0_ = (bitField0_ & ~0x00000010);
1774 onChanged();
1775 return this;
1776 }
1777
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 }
1817
1821 @java.lang.Override
1823 return ignoreSolverSpecificParametersFailure_;
1824 }
1825
1830 public Builder setIgnoreSolverSpecificParametersFailure(boolean value) {
1831
1832 ignoreSolverSpecificParametersFailure_ = value;
1833 bitField0_ |= 0x00000020;
1834 onChanged();
1835 return this;
1836 }
1837
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 }
1863
1873 if (modelDeltaBuilder_ == null) {
1874 return modelDelta_ == null ? com.google.ortools.linearsolver.MPModelDeltaProto.getDefaultInstance() : modelDelta_;
1875 } else {
1876 return modelDeltaBuilder_.getMessage();
1877 }
1878 }
1879
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 }
1900
1908 public Builder setModelDelta(
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 }
1919
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 }
1945
1953 public Builder clearModelDelta() {
1954 bitField0_ = (bitField0_ & ~0x00000040);
1955 modelDelta_ = null;
1956 if (modelDeltaBuilder_ != null) {
1957 modelDeltaBuilder_.dispose();
1958 modelDeltaBuilder_ = null;
1959 }
1960 onChanged();
1961 return this;
1962 }
1963
1972 bitField0_ |= 0x00000040;
1973 onChanged();
1974 return internalGetModelDeltaFieldBuilder().getBuilder();
1975 }
1976
1985 if (modelDeltaBuilder_ != null) {
1986 return modelDeltaBuilder_.getMessageOrBuilder();
1987 } else {
1988 return modelDelta_ == null ?
1989 com.google.ortools.linearsolver.MPModelDeltaProto.getDefaultInstance() : modelDelta_;
1990 }
1991 }
1992
2000 private com.google.protobuf.SingleFieldBuilder<
2001 com.google.ortools.linearsolver.MPModelDeltaProto, com.google.ortools.linearsolver.MPModelDeltaProto.Builder, com.google.ortools.linearsolver.MPModelDeltaProtoOrBuilder>
2002 internalGetModelDeltaFieldBuilder() {
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 }
2033
2047 @java.lang.Override
2049 return populateAdditionalSolutionsUpTo_;
2050 }
2051
2066 public Builder setPopulateAdditionalSolutionsUpTo(int value) {
2067
2068 populateAdditionalSolutionsUpTo_ = value;
2069 bitField0_ |= 0x00000080;
2070 onChanged();
2071 return this;
2072 }
2073
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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()