Package com.google.ortools.sat
Class CpModelProto
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ortools.sat.CpModelProto
- All Implemented Interfaces:
CpModelProtoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class CpModelProto extends com.google.protobuf.GeneratedMessageV3 implements CpModelProtoOrBuilder
A constraint programming problem.Protobuf type
operations_research.sat.CpModelProto- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCpModelProto.BuilderA constraint programming problem.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameterNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
Fields Modifier and Type Field Description static intASSUMPTIONS_FIELD_NUMBERstatic intCONSTRAINTS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intOBJECTIVE_FIELD_NUMBERstatic intSEARCH_STRATEGY_FIELD_NUMBERstatic intSOLUTION_HINT_FIELD_NUMBERstatic intSYMMETRY_FIELD_NUMBERstatic intVARIABLES_FIELD_NUMBERFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)intgetAssumptions(int index)A list of literals.intgetAssumptionsCount()A list of literals.java.util.List<java.lang.Integer>getAssumptionsList()A list of literals.ConstraintProtogetConstraints(int index)repeated .operations_research.sat.ConstraintProto constraints = 3;intgetConstraintsCount()repeated .operations_research.sat.ConstraintProto constraints = 3;java.util.List<ConstraintProto>getConstraintsList()repeated .operations_research.sat.ConstraintProto constraints = 3;ConstraintProtoOrBuildergetConstraintsOrBuilder(int index)repeated .operations_research.sat.ConstraintProto constraints = 3;java.util.List<? extends ConstraintProtoOrBuilder>getConstraintsOrBuilderList()repeated .operations_research.sat.ConstraintProto constraints = 3;static CpModelProtogetDefaultInstance()CpModelProtogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.lang.StringgetName()For debug/logging only.com.google.protobuf.ByteStringgetNameBytes()For debug/logging only.CpObjectiveProtogetObjective()The objective to minimize.CpObjectiveProtoOrBuildergetObjectiveOrBuilder()The objective to minimize.com.google.protobuf.Parser<CpModelProto>getParserForType()DecisionStrategyProtogetSearchStrategy(int index)Defines the strategy that the solver should follow when the search_branching parameter is set to FIXED_SEARCH.intgetSearchStrategyCount()Defines the strategy that the solver should follow when the search_branching parameter is set to FIXED_SEARCH.java.util.List<DecisionStrategyProto>getSearchStrategyList()Defines the strategy that the solver should follow when the search_branching parameter is set to FIXED_SEARCH.DecisionStrategyProtoOrBuildergetSearchStrategyOrBuilder(int index)Defines the strategy that the solver should follow when the search_branching parameter is set to FIXED_SEARCH.java.util.List<? extends DecisionStrategyProtoOrBuilder>getSearchStrategyOrBuilderList()Defines the strategy that the solver should follow when the search_branching parameter is set to FIXED_SEARCH.intgetSerializedSize()PartialVariableAssignmentgetSolutionHint()Solution hint.PartialVariableAssignmentOrBuildergetSolutionHintOrBuilder()Solution hint.SymmetryProtogetSymmetry()For now, this is not meant to be filled by a client writing a model, but by our preprocessing step.SymmetryProtoOrBuildergetSymmetryOrBuilder()For now, this is not meant to be filled by a client writing a model, but by our preprocessing step.com.google.protobuf.UnknownFieldSetgetUnknownFields()IntegerVariableProtogetVariables(int index)The associated Protos should be referred by their index in these fields.intgetVariablesCount()The associated Protos should be referred by their index in these fields.java.util.List<IntegerVariableProto>getVariablesList()The associated Protos should be referred by their index in these fields.IntegerVariableProtoOrBuildergetVariablesOrBuilder(int index)The associated Protos should be referred by their index in these fields.java.util.List<? extends IntegerVariableProtoOrBuilder>getVariablesOrBuilderList()The associated Protos should be referred by their index in these fields.inthashCode()booleanhasObjective()The objective to minimize.booleanhasSolutionHint()Solution hint.booleanhasSymmetry()For now, this is not meant to be filled by a client writing a model, but by our preprocessing step.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static CpModelProto.BuildernewBuilder()static CpModelProto.BuildernewBuilder(CpModelProto prototype)CpModelProto.BuildernewBuilderForType()protected CpModelProto.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static CpModelProtoparseDelimitedFrom(java.io.InputStream input)static CpModelProtoparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CpModelProtoparseFrom(byte[] data)static CpModelProtoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CpModelProtoparseFrom(com.google.protobuf.ByteString data)static CpModelProtoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CpModelProtoparseFrom(com.google.protobuf.CodedInputStream input)static CpModelProtoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CpModelProtoparseFrom(java.io.InputStream input)static CpModelProtoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CpModelProtoparseFrom(java.nio.ByteBuffer data)static CpModelProtoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<CpModelProto>parser()CpModelProto.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
- Constant Field Values
-
VARIABLES_FIELD_NUMBER
public static final int VARIABLES_FIELD_NUMBER- See Also:
- Constant Field Values
-
CONSTRAINTS_FIELD_NUMBER
public static final int CONSTRAINTS_FIELD_NUMBER- See Also:
- Constant Field Values
-
OBJECTIVE_FIELD_NUMBER
public static final int OBJECTIVE_FIELD_NUMBER- See Also:
- Constant Field Values
-
SEARCH_STRATEGY_FIELD_NUMBER
public static final int SEARCH_STRATEGY_FIELD_NUMBER- See Also:
- Constant Field Values
-
SOLUTION_HINT_FIELD_NUMBER
public static final int SOLUTION_HINT_FIELD_NUMBER- See Also:
- Constant Field Values
-
ASSUMPTIONS_FIELD_NUMBER
public static final int ASSUMPTIONS_FIELD_NUMBER- See Also:
- Constant Field Values
-
SYMMETRY_FIELD_NUMBER
public static final int SYMMETRY_FIELD_NUMBER- See Also:
- Constant Field Values
-
-
Method Details
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
-
getName
public java.lang.String getName()For debug/logging only. Can be empty.
string name = 1;- Specified by:
getNamein interfaceCpModelProtoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()For debug/logging only. Can be empty.
string name = 1;- Specified by:
getNameBytesin interfaceCpModelProtoOrBuilder- Returns:
- The bytes for name.
-
getVariablesList
The associated Protos should be referred by their index in these fields.
repeated .operations_research.sat.IntegerVariableProto variables = 2;- Specified by:
getVariablesListin interfaceCpModelProtoOrBuilder
-
getVariablesOrBuilderList
The associated Protos should be referred by their index in these fields.
repeated .operations_research.sat.IntegerVariableProto variables = 2;- Specified by:
getVariablesOrBuilderListin interfaceCpModelProtoOrBuilder
-
getVariablesCount
public int getVariablesCount()The associated Protos should be referred by their index in these fields.
repeated .operations_research.sat.IntegerVariableProto variables = 2;- Specified by:
getVariablesCountin interfaceCpModelProtoOrBuilder
-
getVariables
The associated Protos should be referred by their index in these fields.
repeated .operations_research.sat.IntegerVariableProto variables = 2;- Specified by:
getVariablesin interfaceCpModelProtoOrBuilder
-
getVariablesOrBuilder
The associated Protos should be referred by their index in these fields.
repeated .operations_research.sat.IntegerVariableProto variables = 2;- Specified by:
getVariablesOrBuilderin interfaceCpModelProtoOrBuilder
-
getConstraintsList
repeated .operations_research.sat.ConstraintProto constraints = 3;- Specified by:
getConstraintsListin interfaceCpModelProtoOrBuilder
-
getConstraintsOrBuilderList
repeated .operations_research.sat.ConstraintProto constraints = 3;- Specified by:
getConstraintsOrBuilderListin interfaceCpModelProtoOrBuilder
-
getConstraintsCount
public int getConstraintsCount()repeated .operations_research.sat.ConstraintProto constraints = 3;- Specified by:
getConstraintsCountin interfaceCpModelProtoOrBuilder
-
getConstraints
repeated .operations_research.sat.ConstraintProto constraints = 3;- Specified by:
getConstraintsin interfaceCpModelProtoOrBuilder
-
getConstraintsOrBuilder
repeated .operations_research.sat.ConstraintProto constraints = 3;- Specified by:
getConstraintsOrBuilderin interfaceCpModelProtoOrBuilder
-
hasObjective
public boolean hasObjective()The objective to minimize. Can be empty for pure decision problems.
.operations_research.sat.CpObjectiveProto objective = 4;- Specified by:
hasObjectivein interfaceCpModelProtoOrBuilder- Returns:
- Whether the objective field is set.
-
getObjective
The objective to minimize. Can be empty for pure decision problems.
.operations_research.sat.CpObjectiveProto objective = 4;- Specified by:
getObjectivein interfaceCpModelProtoOrBuilder- Returns:
- The objective.
-
getObjectiveOrBuilder
The objective to minimize. Can be empty for pure decision problems.
.operations_research.sat.CpObjectiveProto objective = 4;- Specified by:
getObjectiveOrBuilderin interfaceCpModelProtoOrBuilder
-
getSearchStrategyList
Defines the strategy that the solver should follow when the search_branching parameter is set to FIXED_SEARCH. Note that this strategy is also used as a heuristic when we are not in fixed search. Advanced Usage: if not all variables appears and the parameter "instantiate_all_variables" is set to false, then the solver will not try to instantiate the variables that do not appear. Thus, at the end of the search, not all variables may be fixed and this is why we have the solution_lower_bounds and solution_upper_bounds fields in the CpSolverResponse.
repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;- Specified by:
getSearchStrategyListin interfaceCpModelProtoOrBuilder
-
getSearchStrategyOrBuilderList
Defines the strategy that the solver should follow when the search_branching parameter is set to FIXED_SEARCH. Note that this strategy is also used as a heuristic when we are not in fixed search. Advanced Usage: if not all variables appears and the parameter "instantiate_all_variables" is set to false, then the solver will not try to instantiate the variables that do not appear. Thus, at the end of the search, not all variables may be fixed and this is why we have the solution_lower_bounds and solution_upper_bounds fields in the CpSolverResponse.
repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;- Specified by:
getSearchStrategyOrBuilderListin interfaceCpModelProtoOrBuilder
-
getSearchStrategyCount
public int getSearchStrategyCount()Defines the strategy that the solver should follow when the search_branching parameter is set to FIXED_SEARCH. Note that this strategy is also used as a heuristic when we are not in fixed search. Advanced Usage: if not all variables appears and the parameter "instantiate_all_variables" is set to false, then the solver will not try to instantiate the variables that do not appear. Thus, at the end of the search, not all variables may be fixed and this is why we have the solution_lower_bounds and solution_upper_bounds fields in the CpSolverResponse.
repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;- Specified by:
getSearchStrategyCountin interfaceCpModelProtoOrBuilder
-
getSearchStrategy
Defines the strategy that the solver should follow when the search_branching parameter is set to FIXED_SEARCH. Note that this strategy is also used as a heuristic when we are not in fixed search. Advanced Usage: if not all variables appears and the parameter "instantiate_all_variables" is set to false, then the solver will not try to instantiate the variables that do not appear. Thus, at the end of the search, not all variables may be fixed and this is why we have the solution_lower_bounds and solution_upper_bounds fields in the CpSolverResponse.
repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;- Specified by:
getSearchStrategyin interfaceCpModelProtoOrBuilder
-
getSearchStrategyOrBuilder
Defines the strategy that the solver should follow when the search_branching parameter is set to FIXED_SEARCH. Note that this strategy is also used as a heuristic when we are not in fixed search. Advanced Usage: if not all variables appears and the parameter "instantiate_all_variables" is set to false, then the solver will not try to instantiate the variables that do not appear. Thus, at the end of the search, not all variables may be fixed and this is why we have the solution_lower_bounds and solution_upper_bounds fields in the CpSolverResponse.
repeated .operations_research.sat.DecisionStrategyProto search_strategy = 5;- Specified by:
getSearchStrategyOrBuilderin interfaceCpModelProtoOrBuilder
-
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. The solver 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.
.operations_research.sat.PartialVariableAssignment solution_hint = 6;- Specified by:
hasSolutionHintin interfaceCpModelProtoOrBuilder- Returns:
- Whether the solutionHint field is set.
-
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. The solver 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.
.operations_research.sat.PartialVariableAssignment solution_hint = 6;- Specified by:
getSolutionHintin interfaceCpModelProtoOrBuilder- Returns:
- The solutionHint.
-
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. The solver 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.
.operations_research.sat.PartialVariableAssignment solution_hint = 6;- Specified by:
getSolutionHintOrBuilderin interfaceCpModelProtoOrBuilder
-
getAssumptionsList
public java.util.List<java.lang.Integer> getAssumptionsList()A list of literals. The model will be solved assuming all these literals are true. Compared to just fixing the domain of these literals, using this mechanism is slower but allows in case the model is INFEASIBLE to get a potentially small subset of them that can be used to explain the infeasibility. Think (IIS), except when you are only concerned by the provided assumptions. This is powerful as it allows to group a set of logicially related constraint under only one enforcement literal which can potentially give you a good and interpretable explanation for infeasiblity. Such infeasibility explanation will be available in the sufficient_assumptions_for_infeasibility response field.
repeated int32 assumptions = 7;- Specified by:
getAssumptionsListin interfaceCpModelProtoOrBuilder- Returns:
- A list containing the assumptions.
-
getAssumptionsCount
public int getAssumptionsCount()A list of literals. The model will be solved assuming all these literals are true. Compared to just fixing the domain of these literals, using this mechanism is slower but allows in case the model is INFEASIBLE to get a potentially small subset of them that can be used to explain the infeasibility. Think (IIS), except when you are only concerned by the provided assumptions. This is powerful as it allows to group a set of logicially related constraint under only one enforcement literal which can potentially give you a good and interpretable explanation for infeasiblity. Such infeasibility explanation will be available in the sufficient_assumptions_for_infeasibility response field.
repeated int32 assumptions = 7;- Specified by:
getAssumptionsCountin interfaceCpModelProtoOrBuilder- Returns:
- The count of assumptions.
-
getAssumptions
public int getAssumptions(int index)A list of literals. The model will be solved assuming all these literals are true. Compared to just fixing the domain of these literals, using this mechanism is slower but allows in case the model is INFEASIBLE to get a potentially small subset of them that can be used to explain the infeasibility. Think (IIS), except when you are only concerned by the provided assumptions. This is powerful as it allows to group a set of logicially related constraint under only one enforcement literal which can potentially give you a good and interpretable explanation for infeasiblity. Such infeasibility explanation will be available in the sufficient_assumptions_for_infeasibility response field.
repeated int32 assumptions = 7;- Specified by:
getAssumptionsin interfaceCpModelProtoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The assumptions at the given index.
-
hasSymmetry
public boolean hasSymmetry()For now, this is not meant to be filled by a client writing a model, but by our preprocessing step. Information about the symmetries of the feasible solution space. These usually leaves the objective invariant.
.operations_research.sat.SymmetryProto symmetry = 8;- Specified by:
hasSymmetryin interfaceCpModelProtoOrBuilder- Returns:
- Whether the symmetry field is set.
-
getSymmetry
For now, this is not meant to be filled by a client writing a model, but by our preprocessing step. Information about the symmetries of the feasible solution space. These usually leaves the objective invariant.
.operations_research.sat.SymmetryProto symmetry = 8;- Specified by:
getSymmetryin interfaceCpModelProtoOrBuilder- Returns:
- The symmetry.
-
getSymmetryOrBuilder
For now, this is not meant to be filled by a client writing a model, but by our preprocessing step. Information about the symmetries of the feasible solution space. These usually leaves the objective invariant.
.operations_research.sat.SymmetryProto symmetry = 8;- Specified by:
getSymmetryOrBuilderin interfaceCpModelProtoOrBuilder
-
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 CpModelProto parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CpModelProto parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CpModelProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CpModelProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CpModelProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CpModelProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
java.io.IOException
-
parseFrom
public static CpModelProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
java.io.IOException
-
parseDelimitedFrom
public static CpModelProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException- Throws:
java.io.IOException
-
parseDelimitedFrom
public static CpModelProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
java.io.IOException
-
parseFrom
public static CpModelProto parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException- Throws:
java.io.IOException
-
parseFrom
public static CpModelProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
java.io.IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CpModelProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-