Google OR-Tools v9.12
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.29.3
5
6package com.google.ortools.linearsolver;
7
15public final class MPModelRequest extends
16 com.google.protobuf.GeneratedMessage implements
17 // @@protoc_insertion_point(message_implements:operations_research.MPModelRequest)
19private static final long serialVersionUID = 0L;
20 static {
21 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
22 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
23 /* major= */ 4,
24 /* minor= */ 29,
25 /* patch= */ 3,
26 /* suffix= */ "",
27 MPModelRequest.class.getName());
28 }
29 // Use MPModelRequest.newBuilder() to construct.
30 private MPModelRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
31 super(builder);
32 }
33 private MPModelRequest() {
34 solverType_ = 2;
35 solverSpecificParameters_ = "";
36 }
37
38 public static final com.google.protobuf.Descriptors.Descriptor
40 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPModelRequest_descriptor;
41 }
42
43 @java.lang.Override
44 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
46 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPModelRequest_fieldAccessorTable
47 .ensureFieldAccessorsInitialized(
48 com.google.ortools.linearsolver.MPModelRequest.class, com.google.ortools.linearsolver.MPModelRequest.Builder.class);
49 }
50
62 public enum SolverType
63 implements com.google.protobuf.ProtocolMessageEnum {
181 ;
182
183 static {
184 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
185 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
186 /* major= */ 4,
187 /* minor= */ 29,
188 /* patch= */ 3,
189 /* suffix= */ "",
190 SolverType.class.getName());
191 }
195 public static final int CLP_LINEAR_PROGRAMMING_VALUE = 0;
203 public static final int GLOP_LINEAR_PROGRAMMING_VALUE = 2;
207 public static final int GLPK_LINEAR_PROGRAMMING_VALUE = 1;
215 public static final int GUROBI_LINEAR_PROGRAMMING_VALUE = 6;
223 public static final int XPRESS_LINEAR_PROGRAMMING_VALUE = 101;
231 public static final int CPLEX_LINEAR_PROGRAMMING_VALUE = 10;
235 public static final int HIGHS_LINEAR_PROGRAMMING_VALUE = 15;
243 public static final int SCIP_MIXED_INTEGER_PROGRAMMING_VALUE = 3;
247 public static final int GLPK_MIXED_INTEGER_PROGRAMMING_VALUE = 4;
251 public static final int CBC_MIXED_INTEGER_PROGRAMMING_VALUE = 5;
259 public static final int GUROBI_MIXED_INTEGER_PROGRAMMING_VALUE = 7;
267 public static final int XPRESS_MIXED_INTEGER_PROGRAMMING_VALUE = 102;
275 public static final int CPLEX_MIXED_INTEGER_PROGRAMMING_VALUE = 11;
279 public static final int HIGHS_MIXED_INTEGER_PROGRAMMING_VALUE = 16;
283 public static final int BOP_INTEGER_PROGRAMMING_VALUE = 12;
294 public static final int SAT_INTEGER_PROGRAMMING_VALUE = 14;
304 public static final int PDLP_LINEAR_PROGRAMMING_VALUE = 8;
308 public static final int KNAPSACK_MIXED_INTEGER_PROGRAMMING_VALUE = 13;
309
310
311 public final int getNumber() {
312 return value;
313 }
314
320 @java.lang.Deprecated
321 public static SolverType valueOf(int value) {
322 return forNumber(value);
323 }
324
329 public static SolverType forNumber(int value) {
330 switch (value) {
331 case 0: return CLP_LINEAR_PROGRAMMING;
332 case 2: return GLOP_LINEAR_PROGRAMMING;
333 case 1: return GLPK_LINEAR_PROGRAMMING;
334 case 6: return GUROBI_LINEAR_PROGRAMMING;
335 case 101: return XPRESS_LINEAR_PROGRAMMING;
336 case 10: return CPLEX_LINEAR_PROGRAMMING;
337 case 15: return HIGHS_LINEAR_PROGRAMMING;
338 case 3: return SCIP_MIXED_INTEGER_PROGRAMMING;
339 case 4: return GLPK_MIXED_INTEGER_PROGRAMMING;
340 case 5: return CBC_MIXED_INTEGER_PROGRAMMING;
342 case 102: return XPRESS_MIXED_INTEGER_PROGRAMMING;
343 case 11: return CPLEX_MIXED_INTEGER_PROGRAMMING;
344 case 16: return HIGHS_MIXED_INTEGER_PROGRAMMING;
345 case 12: return BOP_INTEGER_PROGRAMMING;
346 case 14: return SAT_INTEGER_PROGRAMMING;
347 case 8: return PDLP_LINEAR_PROGRAMMING;
349 default: return null;
350 }
351 }
352
353 public static com.google.protobuf.Internal.EnumLiteMap<SolverType>
355 return internalValueMap;
356 }
357 private static final com.google.protobuf.Internal.EnumLiteMap<
358 SolverType> internalValueMap =
359 new com.google.protobuf.Internal.EnumLiteMap<SolverType>() {
360 public SolverType findValueByNumber(int number) {
361 return SolverType.forNumber(number);
362 }
363 };
364
365 public final com.google.protobuf.Descriptors.EnumValueDescriptor
367 return getDescriptor().getValues().get(ordinal());
368 }
369 public final com.google.protobuf.Descriptors.EnumDescriptor
371 return getDescriptor();
372 }
373 public static final com.google.protobuf.Descriptors.EnumDescriptor
375 return com.google.ortools.linearsolver.MPModelRequest.getDescriptor().getEnumTypes().get(0);
376 }
377
378 private static final SolverType[] VALUES = values();
379
380 public static SolverType valueOf(
381 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
382 if (desc.getType() != getDescriptor()) {
383 throw new java.lang.IllegalArgumentException(
384 "EnumValueDescriptor is not for this type.");
385 }
386 return VALUES[desc.getIndex()];
387 }
388
389 private final int value;
390
391 private SolverType(int value) {
392 this.value = value;
393 }
394
395 // @@protoc_insertion_point(enum_scope:operations_research.MPModelRequest.SolverType)
396 }
397
398 private int bitField0_;
399 public static final int MODEL_FIELD_NUMBER = 1;
409 @java.lang.Override
410 public boolean hasModel() {
411 return ((bitField0_ & 0x00000001) != 0);
412 }
413
421 @java.lang.Override
423 return model_ == null ? com.google.ortools.linearsolver.MPModelProto.getDefaultInstance() : model_;
424 }
425
432 @java.lang.Override
434 return model_ == null ? com.google.ortools.linearsolver.MPModelProto.getDefaultInstance() : model_;
435 }
436
437 public static final int SOLVER_TYPE_FIELD_NUMBER = 2;
438 private int solverType_ = 2;
443 @java.lang.Override public boolean hasSolverType() {
444 return ((bitField0_ & 0x00000002) != 0);
445 }
446
451 com.google.ortools.linearsolver.MPModelRequest.SolverType result = com.google.ortools.linearsolver.MPModelRequest.SolverType.forNumber(solverType_);
453 }
454
455 public static final int SOLVER_TIME_LIMIT_SECONDS_FIELD_NUMBER = 3;
456 private double solverTimeLimitSeconds_ = 0D;
473 @java.lang.Override
474 public boolean hasSolverTimeLimitSeconds() {
475 return ((bitField0_ & 0x00000004) != 0);
476 }
477
493 @java.lang.Override
495 return solverTimeLimitSeconds_;
496 }
497
499 private boolean enableInternalSolverOutput_ = false;
511 @java.lang.Override
513 return ((bitField0_ & 0x00000008) != 0);
514 }
515
526 @java.lang.Override
528 return enableInternalSolverOutput_;
529 }
530
531 public static final int SOLVER_SPECIFIC_PARAMETERS_FIELD_NUMBER = 5;
532 @SuppressWarnings("serial")
533 private volatile java.lang.Object solverSpecificParameters_ = "";
555 @java.lang.Override
557 return ((bitField0_ & 0x00000010) != 0);
558 }
559
580 @java.lang.Override
581 public java.lang.String getSolverSpecificParameters() {
582 java.lang.Object ref = solverSpecificParameters_;
583 if (ref instanceof java.lang.String) {
584 return (java.lang.String) ref;
585 } else {
586 com.google.protobuf.ByteString bs =
587 (com.google.protobuf.ByteString) ref;
588 java.lang.String s = bs.toStringUtf8();
589 if (bs.isValidUtf8()) {
590 solverSpecificParameters_ = s;
591 }
592 return s;
593 }
594 }
595
616 @java.lang.Override
617 public com.google.protobuf.ByteString
619 java.lang.Object ref = solverSpecificParameters_;
620 if (ref instanceof java.lang.String) {
621 com.google.protobuf.ByteString b =
622 com.google.protobuf.ByteString.copyFromUtf8(
623 (java.lang.String) ref);
624 solverSpecificParameters_ = b;
625 return b;
626 } else {
627 return (com.google.protobuf.ByteString) ref;
628 }
629 }
630
632 private boolean ignoreSolverSpecificParametersFailure_ = false;
637 @java.lang.Override
639 return ((bitField0_ & 0x00000020) != 0);
640 }
641
645 @java.lang.Override
647 return ignoreSolverSpecificParametersFailure_;
648 }
649
650 public static final int MODEL_DELTA_FIELD_NUMBER = 8;
661 @java.lang.Override
662 public boolean hasModelDelta() {
663 return ((bitField0_ & 0x00000040) != 0);
664 }
665
674 @java.lang.Override
676 return modelDelta_ == null ? com.google.ortools.linearsolver.MPModelDeltaProto.getDefaultInstance() : modelDelta_;
677 }
678
686 @java.lang.Override
688 return modelDelta_ == null ? com.google.ortools.linearsolver.MPModelDeltaProto.getDefaultInstance() : modelDelta_;
689 }
690
692 private int populateAdditionalSolutionsUpTo_ = 0;
707 @java.lang.Override
709 return ((bitField0_ & 0x00000080) != 0);
710 }
711
725 @java.lang.Override
727 return populateAdditionalSolutionsUpTo_;
728 }
729
730 private byte memoizedIsInitialized = -1;
731 @java.lang.Override
732 public final boolean isInitialized() {
733 byte isInitialized = memoizedIsInitialized;
734 if (isInitialized == 1) return true;
735 if (isInitialized == 0) return false;
736
737 memoizedIsInitialized = 1;
738 return true;
739 }
740
741 @java.lang.Override
742 public void writeTo(com.google.protobuf.CodedOutputStream output)
743 throws java.io.IOException {
744 if (((bitField0_ & 0x00000001) != 0)) {
745 output.writeMessage(1, getModel());
746 }
747 if (((bitField0_ & 0x00000002) != 0)) {
748 output.writeEnum(2, solverType_);
749 }
750 if (((bitField0_ & 0x00000004) != 0)) {
751 output.writeDouble(3, solverTimeLimitSeconds_);
752 }
753 if (((bitField0_ & 0x00000008) != 0)) {
754 output.writeBool(4, enableInternalSolverOutput_);
755 }
756 if (((bitField0_ & 0x00000010) != 0)) {
757 com.google.protobuf.GeneratedMessage.writeString(output, 5, solverSpecificParameters_);
758 }
759 if (((bitField0_ & 0x00000040) != 0)) {
760 output.writeMessage(8, getModelDelta());
761 }
762 if (((bitField0_ & 0x00000020) != 0)) {
763 output.writeBool(9, ignoreSolverSpecificParametersFailure_);
764 }
765 if (((bitField0_ & 0x00000080) != 0)) {
766 output.writeInt32(11, populateAdditionalSolutionsUpTo_);
767 }
768 getUnknownFields().writeTo(output);
769 }
770
771 @java.lang.Override
772 public int getSerializedSize() {
773 int size = memoizedSize;
774 if (size != -1) return size;
775
776 size = 0;
777 if (((bitField0_ & 0x00000001) != 0)) {
778 size += com.google.protobuf.CodedOutputStream
779 .computeMessageSize(1, getModel());
780 }
781 if (((bitField0_ & 0x00000002) != 0)) {
782 size += com.google.protobuf.CodedOutputStream
783 .computeEnumSize(2, solverType_);
784 }
785 if (((bitField0_ & 0x00000004) != 0)) {
786 size += com.google.protobuf.CodedOutputStream
787 .computeDoubleSize(3, solverTimeLimitSeconds_);
788 }
789 if (((bitField0_ & 0x00000008) != 0)) {
790 size += com.google.protobuf.CodedOutputStream
791 .computeBoolSize(4, enableInternalSolverOutput_);
792 }
793 if (((bitField0_ & 0x00000010) != 0)) {
794 size += com.google.protobuf.GeneratedMessage.computeStringSize(5, solverSpecificParameters_);
795 }
796 if (((bitField0_ & 0x00000040) != 0)) {
797 size += com.google.protobuf.CodedOutputStream
798 .computeMessageSize(8, getModelDelta());
799 }
800 if (((bitField0_ & 0x00000020) != 0)) {
801 size += com.google.protobuf.CodedOutputStream
802 .computeBoolSize(9, ignoreSolverSpecificParametersFailure_);
803 }
804 if (((bitField0_ & 0x00000080) != 0)) {
805 size += com.google.protobuf.CodedOutputStream
806 .computeInt32Size(11, populateAdditionalSolutionsUpTo_);
807 }
808 size += getUnknownFields().getSerializedSize();
809 memoizedSize = size;
810 return size;
811 }
812
813 @java.lang.Override
814 public boolean equals(final java.lang.Object obj) {
815 if (obj == this) {
816 return true;
817 }
818 if (!(obj instanceof com.google.ortools.linearsolver.MPModelRequest)) {
819 return super.equals(obj);
820 }
821 com.google.ortools.linearsolver.MPModelRequest other = (com.google.ortools.linearsolver.MPModelRequest) obj;
822
823 if (hasModel() != other.hasModel()) return false;
824 if (hasModel()) {
825 if (!getModel()
826 .equals(other.getModel())) return false;
827 }
828 if (hasSolverType() != other.hasSolverType()) return false;
829 if (hasSolverType()) {
830 if (solverType_ != other.solverType_) return false;
831 }
832 if (hasSolverTimeLimitSeconds() != other.hasSolverTimeLimitSeconds()) return false;
834 if (java.lang.Double.doubleToLongBits(getSolverTimeLimitSeconds())
835 != java.lang.Double.doubleToLongBits(
836 other.getSolverTimeLimitSeconds())) return false;
837 }
841 != other.getEnableInternalSolverOutput()) return false;
842 }
843 if (hasSolverSpecificParameters() != other.hasSolverSpecificParameters()) return false;
846 .equals(other.getSolverSpecificParameters())) return false;
847 }
851 != other.getIgnoreSolverSpecificParametersFailure()) return false;
852 }
853 if (hasModelDelta() != other.hasModelDelta()) return false;
854 if (hasModelDelta()) {
855 if (!getModelDelta()
856 .equals(other.getModelDelta())) return false;
857 }
861 != other.getPopulateAdditionalSolutionsUpTo()) return false;
862 }
863 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
864 return true;
865 }
866
867 @java.lang.Override
868 public int hashCode() {
869 if (memoizedHashCode != 0) {
870 return memoizedHashCode;
871 }
872 int hash = 41;
873 hash = (19 * hash) + getDescriptor().hashCode();
874 if (hasModel()) {
875 hash = (37 * hash) + MODEL_FIELD_NUMBER;
876 hash = (53 * hash) + getModel().hashCode();
877 }
878 if (hasSolverType()) {
879 hash = (37 * hash) + SOLVER_TYPE_FIELD_NUMBER;
880 hash = (53 * hash) + solverType_;
881 }
883 hash = (37 * hash) + SOLVER_TIME_LIMIT_SECONDS_FIELD_NUMBER;
884 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
885 java.lang.Double.doubleToLongBits(getSolverTimeLimitSeconds()));
886 }
889 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
891 }
893 hash = (37 * hash) + SOLVER_SPECIFIC_PARAMETERS_FIELD_NUMBER;
894 hash = (53 * hash) + getSolverSpecificParameters().hashCode();
895 }
898 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
900 }
901 if (hasModelDelta()) {
902 hash = (37 * hash) + MODEL_DELTA_FIELD_NUMBER;
903 hash = (53 * hash) + getModelDelta().hashCode();
904 }
907 hash = (53 * hash) + getPopulateAdditionalSolutionsUpTo();
908 }
909 hash = (29 * hash) + getUnknownFields().hashCode();
910 memoizedHashCode = hash;
911 return hash;
912 }
913
915 java.nio.ByteBuffer data)
916 throws com.google.protobuf.InvalidProtocolBufferException {
917 return PARSER.parseFrom(data);
918 }
920 java.nio.ByteBuffer data,
921 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
922 throws com.google.protobuf.InvalidProtocolBufferException {
923 return PARSER.parseFrom(data, extensionRegistry);
924 }
926 com.google.protobuf.ByteString data)
927 throws com.google.protobuf.InvalidProtocolBufferException {
928 return PARSER.parseFrom(data);
929 }
931 com.google.protobuf.ByteString data,
932 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
933 throws com.google.protobuf.InvalidProtocolBufferException {
934 return PARSER.parseFrom(data, extensionRegistry);
935 }
937 throws com.google.protobuf.InvalidProtocolBufferException {
938 return PARSER.parseFrom(data);
939 }
941 byte[] data,
942 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
943 throws com.google.protobuf.InvalidProtocolBufferException {
944 return PARSER.parseFrom(data, extensionRegistry);
945 }
946 public static com.google.ortools.linearsolver.MPModelRequest parseFrom(java.io.InputStream input)
947 throws java.io.IOException {
948 return com.google.protobuf.GeneratedMessage
949 .parseWithIOException(PARSER, input);
950 }
952 java.io.InputStream input,
953 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
954 throws java.io.IOException {
955 return com.google.protobuf.GeneratedMessage
956 .parseWithIOException(PARSER, input, extensionRegistry);
957 }
958
960 throws java.io.IOException {
961 return com.google.protobuf.GeneratedMessage
962 .parseDelimitedWithIOException(PARSER, input);
963 }
964
966 java.io.InputStream input,
967 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
968 throws java.io.IOException {
969 return com.google.protobuf.GeneratedMessage
970 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
971 }
973 com.google.protobuf.CodedInputStream input)
974 throws java.io.IOException {
975 return com.google.protobuf.GeneratedMessage
976 .parseWithIOException(PARSER, input);
977 }
979 com.google.protobuf.CodedInputStream input,
980 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
981 throws java.io.IOException {
982 return com.google.protobuf.GeneratedMessage
983 .parseWithIOException(PARSER, input, extensionRegistry);
984 }
985
986 @java.lang.Override
987 public Builder newBuilderForType() { return newBuilder(); }
988 public static Builder newBuilder() {
989 return DEFAULT_INSTANCE.toBuilder();
990 }
991 public static Builder newBuilder(com.google.ortools.linearsolver.MPModelRequest prototype) {
992 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
993 }
994 @java.lang.Override
996 return this == DEFAULT_INSTANCE
997 ? new Builder() : new Builder().mergeFrom(this);
998 }
999
1000 @java.lang.Override
1002 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1003 Builder builder = new Builder(parent);
1004 return builder;
1005 }
1006
1013 public static final class Builder extends
1014 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
1015 // @@protoc_insertion_point(builder_implements:operations_research.MPModelRequest)
1017 public static final com.google.protobuf.Descriptors.Descriptor
1019 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPModelRequest_descriptor;
1020 }
1021
1022 @java.lang.Override
1023 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1025 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPModelRequest_fieldAccessorTable
1026 .ensureFieldAccessorsInitialized(
1027 com.google.ortools.linearsolver.MPModelRequest.class, com.google.ortools.linearsolver.MPModelRequest.Builder.class);
1028 }
1029
1030 // Construct using com.google.ortools.linearsolver.MPModelRequest.newBuilder()
1031 private Builder() {
1032 maybeForceBuilderInitialization();
1033 }
1034
1035 private Builder(
1036 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1037 super(parent);
1038 maybeForceBuilderInitialization();
1039 }
1040 private void maybeForceBuilderInitialization() {
1041 if (com.google.protobuf.GeneratedMessage
1042 .alwaysUseFieldBuilders) {
1043 getModelFieldBuilder();
1044 getModelDeltaFieldBuilder();
1045 }
1046 }
1047 @java.lang.Override
1048 public Builder clear() {
1049 super.clear();
1050 bitField0_ = 0;
1051 model_ = null;
1052 if (modelBuilder_ != null) {
1053 modelBuilder_.dispose();
1054 modelBuilder_ = null;
1055 }
1056 solverType_ = 2;
1057 solverTimeLimitSeconds_ = 0D;
1058 enableInternalSolverOutput_ = false;
1059 solverSpecificParameters_ = "";
1060 ignoreSolverSpecificParametersFailure_ = false;
1061 modelDelta_ = null;
1062 if (modelDeltaBuilder_ != null) {
1063 modelDeltaBuilder_.dispose();
1064 modelDeltaBuilder_ = null;
1065 }
1066 populateAdditionalSolutionsUpTo_ = 0;
1067 return this;
1068 }
1069
1070 @java.lang.Override
1071 public com.google.protobuf.Descriptors.Descriptor
1073 return com.google.ortools.linearsolver.LinearSolver.internal_static_operations_research_MPModelRequest_descriptor;
1074 }
1075
1076 @java.lang.Override
1078 return com.google.ortools.linearsolver.MPModelRequest.getDefaultInstance();
1079 }
1080
1081 @java.lang.Override
1084 if (!result.isInitialized()) {
1085 throw newUninitializedMessageException(result);
1086 }
1087 return result;
1088 }
1089
1090 @java.lang.Override
1092 com.google.ortools.linearsolver.MPModelRequest result = new com.google.ortools.linearsolver.MPModelRequest(this);
1093 if (bitField0_ != 0) { buildPartial0(result); }
1094 onBuilt();
1095 return result;
1096 }
1097
1098 private void buildPartial0(com.google.ortools.linearsolver.MPModelRequest result) {
1099 int from_bitField0_ = bitField0_;
1100 int to_bitField0_ = 0;
1101 if (((from_bitField0_ & 0x00000001) != 0)) {
1102 result.model_ = modelBuilder_ == null
1103 ? model_
1104 : modelBuilder_.build();
1105 to_bitField0_ |= 0x00000001;
1106 }
1107 if (((from_bitField0_ & 0x00000002) != 0)) {
1108 result.solverType_ = solverType_;
1109 to_bitField0_ |= 0x00000002;
1110 }
1111 if (((from_bitField0_ & 0x00000004) != 0)) {
1112 result.solverTimeLimitSeconds_ = solverTimeLimitSeconds_;
1113 to_bitField0_ |= 0x00000004;
1114 }
1115 if (((from_bitField0_ & 0x00000008) != 0)) {
1116 result.enableInternalSolverOutput_ = enableInternalSolverOutput_;
1117 to_bitField0_ |= 0x00000008;
1118 }
1119 if (((from_bitField0_ & 0x00000010) != 0)) {
1120 result.solverSpecificParameters_ = solverSpecificParameters_;
1121 to_bitField0_ |= 0x00000010;
1122 }
1123 if (((from_bitField0_ & 0x00000020) != 0)) {
1124 result.ignoreSolverSpecificParametersFailure_ = ignoreSolverSpecificParametersFailure_;
1125 to_bitField0_ |= 0x00000020;
1126 }
1127 if (((from_bitField0_ & 0x00000040) != 0)) {
1128 result.modelDelta_ = modelDeltaBuilder_ == null
1129 ? modelDelta_
1130 : modelDeltaBuilder_.build();
1131 to_bitField0_ |= 0x00000040;
1132 }
1133 if (((from_bitField0_ & 0x00000080) != 0)) {
1134 result.populateAdditionalSolutionsUpTo_ = populateAdditionalSolutionsUpTo_;
1135 to_bitField0_ |= 0x00000080;
1136 }
1137 result.bitField0_ |= to_bitField0_;
1138 }
1139
1140 @java.lang.Override
1141 public Builder mergeFrom(com.google.protobuf.Message other) {
1142 if (other instanceof com.google.ortools.linearsolver.MPModelRequest) {
1143 return mergeFrom((com.google.ortools.linearsolver.MPModelRequest)other);
1144 } else {
1145 super.mergeFrom(other);
1146 return this;
1147 }
1148 }
1149
1150 public Builder mergeFrom(com.google.ortools.linearsolver.MPModelRequest other) {
1151 if (other == com.google.ortools.linearsolver.MPModelRequest.getDefaultInstance()) return this;
1152 if (other.hasModel()) {
1153 mergeModel(other.getModel());
1154 }
1155 if (other.hasSolverType()) {
1156 setSolverType(other.getSolverType());
1157 }
1158 if (other.hasSolverTimeLimitSeconds()) {
1159 setSolverTimeLimitSeconds(other.getSolverTimeLimitSeconds());
1160 }
1161 if (other.hasEnableInternalSolverOutput()) {
1162 setEnableInternalSolverOutput(other.getEnableInternalSolverOutput());
1163 }
1164 if (other.hasSolverSpecificParameters()) {
1165 solverSpecificParameters_ = other.solverSpecificParameters_;
1166 bitField0_ |= 0x00000010;
1167 onChanged();
1168 }
1169 if (other.hasIgnoreSolverSpecificParametersFailure()) {
1170 setIgnoreSolverSpecificParametersFailure(other.getIgnoreSolverSpecificParametersFailure());
1171 }
1172 if (other.hasModelDelta()) {
1173 mergeModelDelta(other.getModelDelta());
1174 }
1175 if (other.hasPopulateAdditionalSolutionsUpTo()) {
1176 setPopulateAdditionalSolutionsUpTo(other.getPopulateAdditionalSolutionsUpTo());
1177 }
1178 this.mergeUnknownFields(other.getUnknownFields());
1179 onChanged();
1180 return this;
1181 }
1182
1183 @java.lang.Override
1184 public final boolean isInitialized() {
1185 return true;
1186 }
1187
1188 @java.lang.Override
1189 public Builder mergeFrom(
1190 com.google.protobuf.CodedInputStream input,
1191 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1192 throws java.io.IOException {
1193 if (extensionRegistry == null) {
1194 throw new java.lang.NullPointerException();
1195 }
1196 try {
1197 boolean done = false;
1198 while (!done) {
1199 int tag = input.readTag();
1200 switch (tag) {
1201 case 0:
1202 done = true;
1203 break;
1204 case 10: {
1205 input.readMessage(
1206 getModelFieldBuilder().getBuilder(),
1207 extensionRegistry);
1208 bitField0_ |= 0x00000001;
1209 break;
1210 } // case 10
1211 case 16: {
1212 int tmpRaw = input.readEnum();
1214 com.google.ortools.linearsolver.MPModelRequest.SolverType.forNumber(tmpRaw);
1215 if (tmpValue == null) {
1216 mergeUnknownVarintField(2, tmpRaw);
1217 } else {
1218 solverType_ = tmpRaw;
1219 bitField0_ |= 0x00000002;
1220 }
1221 break;
1222 } // case 16
1223 case 25: {
1224 solverTimeLimitSeconds_ = input.readDouble();
1225 bitField0_ |= 0x00000004;
1226 break;
1227 } // case 25
1228 case 32: {
1229 enableInternalSolverOutput_ = input.readBool();
1230 bitField0_ |= 0x00000008;
1231 break;
1232 } // case 32
1233 case 42: {
1234 solverSpecificParameters_ = input.readBytes();
1235 bitField0_ |= 0x00000010;
1236 break;
1237 } // case 42
1238 case 66: {
1239 input.readMessage(
1240 getModelDeltaFieldBuilder().getBuilder(),
1241 extensionRegistry);
1242 bitField0_ |= 0x00000040;
1243 break;
1244 } // case 66
1245 case 72: {
1246 ignoreSolverSpecificParametersFailure_ = input.readBool();
1247 bitField0_ |= 0x00000020;
1248 break;
1249 } // case 72
1250 case 88: {
1251 populateAdditionalSolutionsUpTo_ = input.readInt32();
1252 bitField0_ |= 0x00000080;
1253 break;
1254 } // case 88
1255 default: {
1256 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1257 done = true; // was an endgroup tag
1258 }
1259 break;
1260 } // default:
1261 } // switch (tag)
1262 } // while (!done)
1263 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1264 throw e.unwrapIOException();
1265 } finally {
1266 onChanged();
1267 } // finally
1268 return this;
1269 }
1270 private int bitField0_;
1271
1273 private com.google.protobuf.SingleFieldBuilder<
1274 com.google.ortools.linearsolver.MPModelProto, com.google.ortools.linearsolver.MPModelProto.Builder, com.google.ortools.linearsolver.MPModelProtoOrBuilder> modelBuilder_;
1283 public boolean hasModel() {
1284 return ((bitField0_ & 0x00000001) != 0);
1285 }
1286
1295 if (modelBuilder_ == null) {
1296 return model_ == null ? com.google.ortools.linearsolver.MPModelProto.getDefaultInstance() : model_;
1297 } else {
1298 return modelBuilder_.getMessage();
1299 }
1300 }
1301
1308 public Builder setModel(com.google.ortools.linearsolver.MPModelProto value) {
1309 if (modelBuilder_ == null) {
1310 if (value == null) {
1311 throw new NullPointerException();
1312 }
1313 model_ = value;
1314 } else {
1315 modelBuilder_.setMessage(value);
1316 }
1317 bitField0_ |= 0x00000001;
1318 onChanged();
1319 return this;
1320 }
1321
1328 public Builder setModel(
1329 com.google.ortools.linearsolver.MPModelProto.Builder builderForValue) {
1330 if (modelBuilder_ == null) {
1331 model_ = builderForValue.build();
1332 } else {
1333 modelBuilder_.setMessage(builderForValue.build());
1334 }
1335 bitField0_ |= 0x00000001;
1336 onChanged();
1337 return this;
1338 }
1339
1346 public Builder mergeModel(com.google.ortools.linearsolver.MPModelProto value) {
1347 if (modelBuilder_ == null) {
1348 if (((bitField0_ & 0x00000001) != 0) &&
1349 model_ != null &&
1350 model_ != com.google.ortools.linearsolver.MPModelProto.getDefaultInstance()) {
1351 getModelBuilder().mergeFrom(value);
1352 } else {
1353 model_ = value;
1354 }
1355 } else {
1356 modelBuilder_.mergeFrom(value);
1357 }
1358 if (model_ != null) {
1359 bitField0_ |= 0x00000001;
1360 onChanged();
1361 }
1362 return this;
1363 }
1364
1371 public Builder clearModel() {
1372 bitField0_ = (bitField0_ & ~0x00000001);
1373 model_ = null;
1374 if (modelBuilder_ != null) {
1375 modelBuilder_.dispose();
1376 modelBuilder_ = null;
1377 }
1378 onChanged();
1379 return this;
1380 }
1381
1389 bitField0_ |= 0x00000001;
1390 onChanged();
1391 return getModelFieldBuilder().getBuilder();
1392 }
1393
1401 if (modelBuilder_ != null) {
1402 return modelBuilder_.getMessageOrBuilder();
1403 } else {
1404 return model_ == null ?
1405 com.google.ortools.linearsolver.MPModelProto.getDefaultInstance() : model_;
1406 }
1407 }
1408
1415 private com.google.protobuf.SingleFieldBuilder<
1416 com.google.ortools.linearsolver.MPModelProto, com.google.ortools.linearsolver.MPModelProto.Builder, com.google.ortools.linearsolver.MPModelProtoOrBuilder>
1417 getModelFieldBuilder() {
1418 if (modelBuilder_ == null) {
1419 modelBuilder_ = new com.google.protobuf.SingleFieldBuilder<
1420 com.google.ortools.linearsolver.MPModelProto, com.google.ortools.linearsolver.MPModelProto.Builder, com.google.ortools.linearsolver.MPModelProtoOrBuilder>(
1421 getModel(),
1422 getParentForChildren(),
1423 isClean());
1424 model_ = null;
1425 }
1426 return modelBuilder_;
1427 }
1428
1429 private int solverType_ = 2;
1434 @java.lang.Override public boolean hasSolverType() {
1435 return ((bitField0_ & 0x00000002) != 0);
1436 }
1437
1441 @java.lang.Override
1443 com.google.ortools.linearsolver.MPModelRequest.SolverType result = com.google.ortools.linearsolver.MPModelRequest.SolverType.forNumber(solverType_);
1445 }
1446
1451 public Builder setSolverType(com.google.ortools.linearsolver.MPModelRequest.SolverType value) {
1452 if (value == null) {
1453 throw new NullPointerException();
1454 }
1455 bitField0_ |= 0x00000002;
1456 solverType_ = value.getNumber();
1457 onChanged();
1458 return this;
1459 }
1460
1464 public Builder clearSolverType() {
1465 bitField0_ = (bitField0_ & ~0x00000002);
1466 solverType_ = 2;
1467 onChanged();
1468 return this;
1469 }
1470
1471 private double solverTimeLimitSeconds_ ;
1488 @java.lang.Override
1489 public boolean hasSolverTimeLimitSeconds() {
1490 return ((bitField0_ & 0x00000004) != 0);
1491 }
1492
1508 @java.lang.Override
1510 return solverTimeLimitSeconds_;
1511 }
1512
1529 public Builder setSolverTimeLimitSeconds(double value) {
1530
1531 solverTimeLimitSeconds_ = value;
1532 bitField0_ |= 0x00000004;
1533 onChanged();
1534 return this;
1535 }
1536
1553 bitField0_ = (bitField0_ & ~0x00000004);
1554 solverTimeLimitSeconds_ = 0D;
1555 onChanged();
1556 return this;
1557 }
1558
1559 private boolean enableInternalSolverOutput_ ;
1571 @java.lang.Override
1573 return ((bitField0_ & 0x00000008) != 0);
1574 }
1575
1586 @java.lang.Override
1588 return enableInternalSolverOutput_;
1589 }
1590
1602 public Builder setEnableInternalSolverOutput(boolean value) {
1603
1604 enableInternalSolverOutput_ = value;
1605 bitField0_ |= 0x00000008;
1606 onChanged();
1607 return this;
1608 }
1609
1621 bitField0_ = (bitField0_ & ~0x00000008);
1622 enableInternalSolverOutput_ = false;
1623 onChanged();
1624 return this;
1625 }
1626
1627 private java.lang.Object solverSpecificParameters_ = "";
1650 return ((bitField0_ & 0x00000010) != 0);
1651 }
1652
1673 public java.lang.String getSolverSpecificParameters() {
1674 java.lang.Object ref = solverSpecificParameters_;
1675 if (!(ref instanceof java.lang.String)) {
1676 com.google.protobuf.ByteString bs =
1677 (com.google.protobuf.ByteString) ref;
1678 java.lang.String s = bs.toStringUtf8();
1679 if (bs.isValidUtf8()) {
1680 solverSpecificParameters_ = s;
1681 }
1682 return s;
1683 } else {
1684 return (java.lang.String) ref;
1685 }
1686 }
1687
1708 public com.google.protobuf.ByteString
1710 java.lang.Object ref = solverSpecificParameters_;
1711 if (ref instanceof String) {
1712 com.google.protobuf.ByteString b =
1713 com.google.protobuf.ByteString.copyFromUtf8(
1714 (java.lang.String) ref);
1715 solverSpecificParameters_ = b;
1716 return b;
1717 } else {
1718 return (com.google.protobuf.ByteString) ref;
1719 }
1720 }
1721
1744 java.lang.String value) {
1745 if (value == null) { throw new NullPointerException(); }
1746 solverSpecificParameters_ = value;
1747 bitField0_ |= 0x00000010;
1748 onChanged();
1749 return this;
1750 }
1751
1773 solverSpecificParameters_ = getDefaultInstance().getSolverSpecificParameters();
1774 bitField0_ = (bitField0_ & ~0x00000010);
1775 onChanged();
1776 return this;
1777 }
1778
1801 com.google.protobuf.ByteString value) {
1802 if (value == null) { throw new NullPointerException(); }
1803 solverSpecificParameters_ = value;
1804 bitField0_ |= 0x00000010;
1805 onChanged();
1806 return this;
1807 }
1808
1809 private boolean ignoreSolverSpecificParametersFailure_ ;
1814 @java.lang.Override
1816 return ((bitField0_ & 0x00000020) != 0);
1817 }
1818
1822 @java.lang.Override
1824 return ignoreSolverSpecificParametersFailure_;
1825 }
1826
1831 public Builder setIgnoreSolverSpecificParametersFailure(boolean value) {
1832
1833 ignoreSolverSpecificParametersFailure_ = value;
1834 bitField0_ |= 0x00000020;
1835 onChanged();
1836 return this;
1837 }
1838
1843 bitField0_ = (bitField0_ & ~0x00000020);
1844 ignoreSolverSpecificParametersFailure_ = false;
1845 onChanged();
1846 return this;
1847 }
1848
1850 private com.google.protobuf.SingleFieldBuilder<
1851 com.google.ortools.linearsolver.MPModelDeltaProto, com.google.ortools.linearsolver.MPModelDeltaProto.Builder, com.google.ortools.linearsolver.MPModelDeltaProtoOrBuilder> modelDeltaBuilder_;
1861 public boolean hasModelDelta() {
1862 return ((bitField0_ & 0x00000040) != 0);
1863 }
1864
1874 if (modelDeltaBuilder_ == null) {
1875 return modelDelta_ == null ? com.google.ortools.linearsolver.MPModelDeltaProto.getDefaultInstance() : modelDelta_;
1876 } else {
1877 return modelDeltaBuilder_.getMessage();
1878 }
1879 }
1880
1888 public Builder setModelDelta(com.google.ortools.linearsolver.MPModelDeltaProto value) {
1889 if (modelDeltaBuilder_ == null) {
1890 if (value == null) {
1891 throw new NullPointerException();
1892 }
1893 modelDelta_ = value;
1894 } else {
1895 modelDeltaBuilder_.setMessage(value);
1896 }
1897 bitField0_ |= 0x00000040;
1898 onChanged();
1899 return this;
1900 }
1901
1909 public Builder setModelDelta(
1910 com.google.ortools.linearsolver.MPModelDeltaProto.Builder builderForValue) {
1911 if (modelDeltaBuilder_ == null) {
1912 modelDelta_ = builderForValue.build();
1913 } else {
1914 modelDeltaBuilder_.setMessage(builderForValue.build());
1915 }
1916 bitField0_ |= 0x00000040;
1917 onChanged();
1918 return this;
1919 }
1920
1928 public Builder mergeModelDelta(com.google.ortools.linearsolver.MPModelDeltaProto value) {
1929 if (modelDeltaBuilder_ == null) {
1930 if (((bitField0_ & 0x00000040) != 0) &&
1931 modelDelta_ != null &&
1932 modelDelta_ != com.google.ortools.linearsolver.MPModelDeltaProto.getDefaultInstance()) {
1933 getModelDeltaBuilder().mergeFrom(value);
1934 } else {
1935 modelDelta_ = value;
1936 }
1937 } else {
1938 modelDeltaBuilder_.mergeFrom(value);
1939 }
1940 if (modelDelta_ != null) {
1941 bitField0_ |= 0x00000040;
1942 onChanged();
1943 }
1944 return this;
1945 }
1946
1954 public Builder clearModelDelta() {
1955 bitField0_ = (bitField0_ & ~0x00000040);
1956 modelDelta_ = null;
1957 if (modelDeltaBuilder_ != null) {
1958 modelDeltaBuilder_.dispose();
1959 modelDeltaBuilder_ = null;
1960 }
1961 onChanged();
1962 return this;
1963 }
1964
1973 bitField0_ |= 0x00000040;
1974 onChanged();
1975 return getModelDeltaFieldBuilder().getBuilder();
1976 }
1977
1986 if (modelDeltaBuilder_ != null) {
1987 return modelDeltaBuilder_.getMessageOrBuilder();
1988 } else {
1989 return modelDelta_ == null ?
1990 com.google.ortools.linearsolver.MPModelDeltaProto.getDefaultInstance() : modelDelta_;
1991 }
1992 }
1993
2001 private com.google.protobuf.SingleFieldBuilder<
2002 com.google.ortools.linearsolver.MPModelDeltaProto, com.google.ortools.linearsolver.MPModelDeltaProto.Builder, com.google.ortools.linearsolver.MPModelDeltaProtoOrBuilder>
2003 getModelDeltaFieldBuilder() {
2004 if (modelDeltaBuilder_ == null) {
2005 modelDeltaBuilder_ = new com.google.protobuf.SingleFieldBuilder<
2006 com.google.ortools.linearsolver.MPModelDeltaProto, com.google.ortools.linearsolver.MPModelDeltaProto.Builder, com.google.ortools.linearsolver.MPModelDeltaProtoOrBuilder>(
2007 getModelDelta(),
2008 getParentForChildren(),
2009 isClean());
2010 modelDelta_ = null;
2011 }
2012 return modelDeltaBuilder_;
2013 }
2014
2015 private int populateAdditionalSolutionsUpTo_ ;
2030 @java.lang.Override
2032 return ((bitField0_ & 0x00000080) != 0);
2033 }
2034
2048 @java.lang.Override
2050 return populateAdditionalSolutionsUpTo_;
2051 }
2052
2067 public Builder setPopulateAdditionalSolutionsUpTo(int value) {
2068
2069 populateAdditionalSolutionsUpTo_ = value;
2070 bitField0_ |= 0x00000080;
2071 onChanged();
2072 return this;
2073 }
2074
2089 bitField0_ = (bitField0_ & ~0x00000080);
2090 populateAdditionalSolutionsUpTo_ = 0;
2091 onChanged();
2092 return this;
2093 }
2094
2095 // @@protoc_insertion_point(builder_scope:operations_research.MPModelRequest)
2096 }
2097
2098 // @@protoc_insertion_point(class_scope:operations_research.MPModelRequest)
2099 private static final com.google.ortools.linearsolver.MPModelRequest DEFAULT_INSTANCE;
2100 static {
2101 DEFAULT_INSTANCE = new com.google.ortools.linearsolver.MPModelRequest();
2102 }
2103
2105 return DEFAULT_INSTANCE;
2106 }
2107
2108 private static final com.google.protobuf.Parser<MPModelRequest>
2109 PARSER = new com.google.protobuf.AbstractParser<MPModelRequest>() {
2110 @java.lang.Override
2111 public MPModelRequest parsePartialFrom(
2112 com.google.protobuf.CodedInputStream input,
2113 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2114 throws com.google.protobuf.InvalidProtocolBufferException {
2115 Builder builder = newBuilder();
2116 try {
2117 builder.mergeFrom(input, extensionRegistry);
2118 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2119 throw e.setUnfinishedMessage(builder.buildPartial());
2120 } catch (com.google.protobuf.UninitializedMessageException e) {
2121 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
2122 } catch (java.io.IOException e) {
2123 throw new com.google.protobuf.InvalidProtocolBufferException(e)
2124 .setUnfinishedMessage(builder.buildPartial());
2125 }
2126 return builder.buildPartial();
2127 }
2128 };
2129
2130 public static com.google.protobuf.Parser<MPModelRequest> parser() {
2131 return PARSER;
2132 }
2133
2134 @java.lang.Override
2135 public com.google.protobuf.Parser<MPModelRequest> getParserForType() {
2136 return PARSER;
2137 }
2138
2139 @java.lang.Override
2141 return DEFAULT_INSTANCE;
2142 }
2143
2144}
2145
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()