Package com.google.ortools.linearsolver
Class MPModelProto
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ortools.linearsolver.MPModelProto
-
- All Implemented Interfaces:
MPModelProtoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class MPModelProto extends com.google.protobuf.GeneratedMessageV3 implements MPModelProtoOrBuilder
MPModelProto contains all the information for a Linear Programming model.
Protobuf typeoperations_research.MPModelProto- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMPModelProto.AnnotationAnnotations can be freely added by users who want to attach arbitrary payload to the model's variables or constraints.static interfaceMPModelProto.AnnotationOrBuilderstatic classMPModelProto.BuilderMPModelProto contains all the information for a Linear Programming model.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intANNOTATION_FIELD_NUMBERstatic intCONSTRAINT_FIELD_NUMBERstatic intGENERAL_CONSTRAINT_FIELD_NUMBERstatic intMAXIMIZE_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intOBJECTIVE_OFFSET_FIELD_NUMBERstatic com.google.protobuf.Parser<MPModelProto>PARSERDeprecated.static intQUADRATIC_OBJECTIVE_FIELD_NUMBERstatic intSOLUTION_HINT_FIELD_NUMBERstatic intVARIABLE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)MPModelProto.AnnotationgetAnnotation(int index)repeated .operations_research.MPModelProto.Annotation annotation = 9;intgetAnnotationCount()repeated .operations_research.MPModelProto.Annotation annotation = 9;java.util.List<MPModelProto.Annotation>getAnnotationList()repeated .operations_research.MPModelProto.Annotation annotation = 9;MPModelProto.AnnotationOrBuildergetAnnotationOrBuilder(int index)repeated .operations_research.MPModelProto.Annotation annotation = 9;java.util.List<? extends MPModelProto.AnnotationOrBuilder>getAnnotationOrBuilderList()repeated .operations_research.MPModelProto.Annotation annotation = 9;MPConstraintProtogetConstraint(int index)All the constraints appearing in the model.intgetConstraintCount()All the constraints appearing in the model.java.util.List<MPConstraintProto>getConstraintList()All the constraints appearing in the model.MPConstraintProtoOrBuildergetConstraintOrBuilder(int index)All the constraints appearing in the model.java.util.List<? extends MPConstraintProtoOrBuilder>getConstraintOrBuilderList()All the constraints appearing in the model.static MPModelProtogetDefaultInstance()MPModelProtogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()MPGeneralConstraintProtogetGeneralConstraint(int index)All the general constraints appearing in the model.intgetGeneralConstraintCount()All the general constraints appearing in the model.java.util.List<MPGeneralConstraintProto>getGeneralConstraintList()All the general constraints appearing in the model.MPGeneralConstraintProtoOrBuildergetGeneralConstraintOrBuilder(int index)All the general constraints appearing in the model.java.util.List<? extends MPGeneralConstraintProtoOrBuilder>getGeneralConstraintOrBuilderList()All the general constraints appearing in the model.booleangetMaximize()True if the problem is a maximization problem.java.lang.StringgetName()Name of the model.com.google.protobuf.ByteStringgetNameBytes()Name of the model.doublegetObjectiveOffset()Offset for the objective function.com.google.protobuf.Parser<MPModelProto>getParserForType()MPQuadraticObjectivegetQuadraticObjective()Optionally, a quadratic objective.MPQuadraticObjectiveOrBuildergetQuadraticObjectiveOrBuilder()Optionally, a quadratic objective.intgetSerializedSize()PartialVariableAssignmentgetSolutionHint()Solution hint.PartialVariableAssignmentOrBuildergetSolutionHintOrBuilder()Solution hint.MPVariableProtogetVariable(int index)All the variables appearing in the model.intgetVariableCount()All the variables appearing in the model.java.util.List<MPVariableProto>getVariableList()All the variables appearing in the model.MPVariableProtoOrBuildergetVariableOrBuilder(int index)All the variables appearing in the model.java.util.List<? extends MPVariableProtoOrBuilder>getVariableOrBuilderList()All the variables appearing in the model.inthashCode()booleanhasMaximize()True if the problem is a maximization problem.booleanhasName()Name of the model.booleanhasObjectiveOffset()Offset for the objective function.booleanhasQuadraticObjective()Optionally, a quadratic objective.booleanhasSolutionHint()Solution hint.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static MPModelProto.BuildernewBuilder()static MPModelProto.BuildernewBuilder(MPModelProto prototype)MPModelProto.BuildernewBuilderForType()protected MPModelProto.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MPModelProtoparseDelimitedFrom(java.io.InputStream input)static MPModelProtoparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MPModelProtoparseFrom(byte[] data)static MPModelProtoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MPModelProtoparseFrom(com.google.protobuf.ByteString data)static MPModelProtoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MPModelProtoparseFrom(com.google.protobuf.CodedInputStream input)static MPModelProtoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MPModelProtoparseFrom(java.io.InputStream input)static MPModelProtoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MPModelProtoparseFrom(java.nio.ByteBuffer data)static MPModelProtoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MPModelProto>parser()MPModelProto.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
VARIABLE_FIELD_NUMBER
public static final int VARIABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONSTRAINT_FIELD_NUMBER
public static final int CONSTRAINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GENERAL_CONSTRAINT_FIELD_NUMBER
public static final int GENERAL_CONSTRAINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAXIMIZE_FIELD_NUMBER
public static final int MAXIMIZE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OBJECTIVE_OFFSET_FIELD_NUMBER
public static final int OBJECTIVE_OFFSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUADRATIC_OBJECTIVE_FIELD_NUMBER
public static final int QUADRATIC_OBJECTIVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOLUTION_HINT_FIELD_NUMBER
public static final int SOLUTION_HINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATION_FIELD_NUMBER
public static final int ANNOTATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<MPModelProto> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getVariableList
public java.util.List<MPVariableProto> getVariableList()
All the variables appearing in the model.
repeated .operations_research.MPVariableProto variable = 3;- Specified by:
getVariableListin interfaceMPModelProtoOrBuilder
-
getVariableOrBuilderList
public java.util.List<? extends MPVariableProtoOrBuilder> getVariableOrBuilderList()
All the variables appearing in the model.
repeated .operations_research.MPVariableProto variable = 3;- Specified by:
getVariableOrBuilderListin interfaceMPModelProtoOrBuilder
-
getVariableCount
public int getVariableCount()
All the variables appearing in the model.
repeated .operations_research.MPVariableProto variable = 3;- Specified by:
getVariableCountin interfaceMPModelProtoOrBuilder
-
getVariable
public MPVariableProto getVariable(int index)
All the variables appearing in the model.
repeated .operations_research.MPVariableProto variable = 3;- Specified by:
getVariablein interfaceMPModelProtoOrBuilder
-
getVariableOrBuilder
public MPVariableProtoOrBuilder getVariableOrBuilder(int index)
All the variables appearing in the model.
repeated .operations_research.MPVariableProto variable = 3;- Specified by:
getVariableOrBuilderin interfaceMPModelProtoOrBuilder
-
getConstraintList
public java.util.List<MPConstraintProto> getConstraintList()
All the constraints appearing in the model.
repeated .operations_research.MPConstraintProto constraint = 4;- Specified by:
getConstraintListin interfaceMPModelProtoOrBuilder
-
getConstraintOrBuilderList
public java.util.List<? extends MPConstraintProtoOrBuilder> getConstraintOrBuilderList()
All the constraints appearing in the model.
repeated .operations_research.MPConstraintProto constraint = 4;- Specified by:
getConstraintOrBuilderListin interfaceMPModelProtoOrBuilder
-
getConstraintCount
public int getConstraintCount()
All the constraints appearing in the model.
repeated .operations_research.MPConstraintProto constraint = 4;- Specified by:
getConstraintCountin interfaceMPModelProtoOrBuilder
-
getConstraint
public MPConstraintProto getConstraint(int index)
All the constraints appearing in the model.
repeated .operations_research.MPConstraintProto constraint = 4;- Specified by:
getConstraintin interfaceMPModelProtoOrBuilder
-
getConstraintOrBuilder
public MPConstraintProtoOrBuilder getConstraintOrBuilder(int index)
All the constraints appearing in the model.
repeated .operations_research.MPConstraintProto constraint = 4;- Specified by:
getConstraintOrBuilderin interfaceMPModelProtoOrBuilder
-
getGeneralConstraintList
public java.util.List<MPGeneralConstraintProto> getGeneralConstraintList()
All the general constraints appearing in the model. Note that not all solvers support all types of general constraints.
repeated .operations_research.MPGeneralConstraintProto general_constraint = 7;- Specified by:
getGeneralConstraintListin interfaceMPModelProtoOrBuilder
-
getGeneralConstraintOrBuilderList
public java.util.List<? extends MPGeneralConstraintProtoOrBuilder> getGeneralConstraintOrBuilderList()
All the general constraints appearing in the model. Note that not all solvers support all types of general constraints.
repeated .operations_research.MPGeneralConstraintProto general_constraint = 7;- Specified by:
getGeneralConstraintOrBuilderListin interfaceMPModelProtoOrBuilder
-
getGeneralConstraintCount
public int getGeneralConstraintCount()
All the general constraints appearing in the model. Note that not all solvers support all types of general constraints.
repeated .operations_research.MPGeneralConstraintProto general_constraint = 7;- Specified by:
getGeneralConstraintCountin interfaceMPModelProtoOrBuilder
-
getGeneralConstraint
public MPGeneralConstraintProto getGeneralConstraint(int index)
All the general constraints appearing in the model. Note that not all solvers support all types of general constraints.
repeated .operations_research.MPGeneralConstraintProto general_constraint = 7;- Specified by:
getGeneralConstraintin interfaceMPModelProtoOrBuilder
-
getGeneralConstraintOrBuilder
public MPGeneralConstraintProtoOrBuilder getGeneralConstraintOrBuilder(int index)
All the general constraints appearing in the model. Note that not all solvers support all types of general constraints.
repeated .operations_research.MPGeneralConstraintProto general_constraint = 7;- Specified by:
getGeneralConstraintOrBuilderin interfaceMPModelProtoOrBuilder
-
hasMaximize
public boolean hasMaximize()
True if the problem is a maximization problem. Minimize by default.
optional bool maximize = 1 [default = false];- Specified by:
hasMaximizein interfaceMPModelProtoOrBuilder- Returns:
- Whether the maximize field is set.
-
getMaximize
public boolean getMaximize()
True if the problem is a maximization problem. Minimize by default.
optional bool maximize = 1 [default = false];- Specified by:
getMaximizein interfaceMPModelProtoOrBuilder- Returns:
- The maximize.
-
hasObjectiveOffset
public boolean hasObjectiveOffset()
Offset for the objective function. Must be finite.
optional double objective_offset = 2 [default = 0];- Specified by:
hasObjectiveOffsetin interfaceMPModelProtoOrBuilder- Returns:
- Whether the objectiveOffset field is set.
-
getObjectiveOffset
public double getObjectiveOffset()
Offset for the objective function. Must be finite.
optional double objective_offset = 2 [default = 0];- Specified by:
getObjectiveOffsetin interfaceMPModelProtoOrBuilder- Returns:
- The objectiveOffset.
-
hasQuadraticObjective
public boolean hasQuadraticObjective()
Optionally, a quadratic objective. As of 2019/06, only SCIP and Gurobi support quadratic objectives.
optional .operations_research.MPQuadraticObjective quadratic_objective = 8;- Specified by:
hasQuadraticObjectivein interfaceMPModelProtoOrBuilder- Returns:
- Whether the quadraticObjective field is set.
-
getQuadraticObjective
public MPQuadraticObjective getQuadraticObjective()
Optionally, a quadratic objective. As of 2019/06, only SCIP and Gurobi support quadratic objectives.
optional .operations_research.MPQuadraticObjective quadratic_objective = 8;- Specified by:
getQuadraticObjectivein interfaceMPModelProtoOrBuilder- Returns:
- The quadraticObjective.
-
getQuadraticObjectiveOrBuilder
public MPQuadraticObjectiveOrBuilder getQuadraticObjectiveOrBuilder()
Optionally, a quadratic objective. As of 2019/06, only SCIP and Gurobi support quadratic objectives.
optional .operations_research.MPQuadraticObjective quadratic_objective = 8;- Specified by:
getQuadraticObjectiveOrBuilderin interfaceMPModelProtoOrBuilder
-
hasName
public boolean hasName()
Name of the model.
optional string name = 5 [default = ""];- Specified by:
hasNamein interfaceMPModelProtoOrBuilder- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
Name of the model.
optional string name = 5 [default = ""];- Specified by:
getNamein interfaceMPModelProtoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the model.
optional string name = 5 [default = ""];- Specified by:
getNameBytesin interfaceMPModelProtoOrBuilder- Returns:
- The bytes for name.
-
hasSolutionHint
public boolean hasSolutionHint()
Solution hint. If a feasible or almost-feasible solution to the problem is already known, it may be helpful to pass it to the solver so that it can be used. A solver that supports this feature will try to use this information to create its initial feasible solution. Note that it may not always be faster to give a hint like this to the solver. There is also no guarantee that the solver will use this hint or try to return a solution "close" to this assignment in case of multiple optimal solutions.
optional .operations_research.PartialVariableAssignment solution_hint = 6;- Specified by:
hasSolutionHintin interfaceMPModelProtoOrBuilder- Returns:
- Whether the solutionHint field is set.
-
getSolutionHint
public PartialVariableAssignment getSolutionHint()
Solution hint. If a feasible or almost-feasible solution to the problem is already known, it may be helpful to pass it to the solver so that it can be used. A solver that supports this feature will try to use this information to create its initial feasible solution. Note that it may not always be faster to give a hint like this to the solver. There is also no guarantee that the solver will use this hint or try to return a solution "close" to this assignment in case of multiple optimal solutions.
optional .operations_research.PartialVariableAssignment solution_hint = 6;- Specified by:
getSolutionHintin interfaceMPModelProtoOrBuilder- Returns:
- The solutionHint.
-
getSolutionHintOrBuilder
public PartialVariableAssignmentOrBuilder getSolutionHintOrBuilder()
Solution hint. If a feasible or almost-feasible solution to the problem is already known, it may be helpful to pass it to the solver so that it can be used. A solver that supports this feature will try to use this information to create its initial feasible solution. Note that it may not always be faster to give a hint like this to the solver. There is also no guarantee that the solver will use this hint or try to return a solution "close" to this assignment in case of multiple optimal solutions.
optional .operations_research.PartialVariableAssignment solution_hint = 6;- Specified by:
getSolutionHintOrBuilderin interfaceMPModelProtoOrBuilder
-
getAnnotationList
public java.util.List<MPModelProto.Annotation> getAnnotationList()
repeated .operations_research.MPModelProto.Annotation annotation = 9;- Specified by:
getAnnotationListin interfaceMPModelProtoOrBuilder
-
getAnnotationOrBuilderList
public java.util.List<? extends MPModelProto.AnnotationOrBuilder> getAnnotationOrBuilderList()
repeated .operations_research.MPModelProto.Annotation annotation = 9;- Specified by:
getAnnotationOrBuilderListin interfaceMPModelProtoOrBuilder
-
getAnnotationCount
public int getAnnotationCount()
repeated .operations_research.MPModelProto.Annotation annotation = 9;- Specified by:
getAnnotationCountin interfaceMPModelProtoOrBuilder
-
getAnnotation
public MPModelProto.Annotation getAnnotation(int index)
repeated .operations_research.MPModelProto.Annotation annotation = 9;- Specified by:
getAnnotationin interfaceMPModelProtoOrBuilder
-
getAnnotationOrBuilder
public MPModelProto.AnnotationOrBuilder getAnnotationOrBuilder(int index)
repeated .operations_research.MPModelProto.Annotation annotation = 9;- Specified by:
getAnnotationOrBuilderin interfaceMPModelProtoOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MPModelProto parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MPModelProto parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MPModelProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MPModelProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MPModelProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MPModelProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MPModelProto parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MPModelProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MPModelProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MPModelProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MPModelProto parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MPModelProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public MPModelProto.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static MPModelProto.Builder newBuilder()
-
newBuilder
public static MPModelProto.Builder newBuilder(MPModelProto prototype)
-
toBuilder
public MPModelProto.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MPModelProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static MPModelProto getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MPModelProto> parser()
-
getParserForType
public com.google.protobuf.Parser<MPModelProto> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MPModelProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-