Package org.mlflow.api.proto
Interface Service.CreateLoggedModelOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service.CreateLoggedModel,Service.CreateLoggedModel.Builder
- Enclosing class:
- Service
public static interface Service.CreateLoggedModelOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetExperimentId()ID of the associated experiment.com.google.protobuf.ByteStringgetExperimentIdBytes()ID of the associated experiment.java.lang.StringgetModelType()The type of model, such as "Agent", "Classifier", "LLM".com.google.protobuf.ByteStringgetModelTypeBytes()The type of model, such as "Agent", "Classifier", "LLM".java.lang.StringgetName()Name of the model.com.google.protobuf.ByteStringgetNameBytes()Name of the model.Service.LoggedModelParametergetParams(int index)LoggedModel params.intgetParamsCount()LoggedModel params.java.util.List<Service.LoggedModelParameter>getParamsList()LoggedModel params.Service.LoggedModelParameterOrBuildergetParamsOrBuilder(int index)LoggedModel params.java.util.List<? extends Service.LoggedModelParameterOrBuilder>getParamsOrBuilderList()LoggedModel params.java.lang.StringgetSourceRunId()Run ID of the run that created this model.com.google.protobuf.ByteStringgetSourceRunIdBytes()Run ID of the run that created this model.Service.LoggedModelTaggetTags(int index)LoggedModel tags.intgetTagsCount()LoggedModel tags.java.util.List<Service.LoggedModelTag>getTagsList()LoggedModel tags.Service.LoggedModelTagOrBuildergetTagsOrBuilder(int index)LoggedModel tags.java.util.List<? extends Service.LoggedModelTagOrBuilder>getTagsOrBuilderList()LoggedModel tags.booleanhasExperimentId()ID of the associated experiment.booleanhasModelType()The type of model, such as "Agent", "Classifier", "LLM".booleanhasName()Name of the model.booleanhasSourceRunId()Run ID of the run that created this model.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasExperimentId
boolean hasExperimentId()
ID of the associated experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];- Returns:
- Whether the experimentId field is set.
-
getExperimentId
java.lang.String getExperimentId()
ID of the associated experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];- Returns:
- The experimentId.
-
getExperimentIdBytes
com.google.protobuf.ByteString getExperimentIdBytes()
ID of the associated experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];- Returns:
- The bytes for experimentId.
-
hasName
boolean hasName()
Name of the model. Optional. If not specified, the backend will generate one.
optional string name = 2;- Returns:
- Whether the name field is set.
-
getName
java.lang.String getName()
Name of the model. Optional. If not specified, the backend will generate one.
optional string name = 2;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Name of the model. Optional. If not specified, the backend will generate one.
optional string name = 2;- Returns:
- The bytes for name.
-
hasModelType
boolean hasModelType()
The type of model, such as "Agent", "Classifier", "LLM".
optional string model_type = 3;- Returns:
- Whether the modelType field is set.
-
getModelType
java.lang.String getModelType()
The type of model, such as "Agent", "Classifier", "LLM".
optional string model_type = 3;- Returns:
- The modelType.
-
getModelTypeBytes
com.google.protobuf.ByteString getModelTypeBytes()
The type of model, such as "Agent", "Classifier", "LLM".
optional string model_type = 3;- Returns:
- The bytes for modelType.
-
hasSourceRunId
boolean hasSourceRunId()
Run ID of the run that created this model.
optional string source_run_id = 4;- Returns:
- Whether the sourceRunId field is set.
-
getSourceRunId
java.lang.String getSourceRunId()
Run ID of the run that created this model.
optional string source_run_id = 4;- Returns:
- The sourceRunId.
-
getSourceRunIdBytes
com.google.protobuf.ByteString getSourceRunIdBytes()
Run ID of the run that created this model.
optional string source_run_id = 4;- Returns:
- The bytes for sourceRunId.
-
getParamsList
java.util.List<Service.LoggedModelParameter> getParamsList()
LoggedModel params.
repeated .mlflow.LoggedModelParameter params = 5;
-
getParams
Service.LoggedModelParameter getParams(int index)
LoggedModel params.
repeated .mlflow.LoggedModelParameter params = 5;
-
getParamsCount
int getParamsCount()
LoggedModel params.
repeated .mlflow.LoggedModelParameter params = 5;
-
getParamsOrBuilderList
java.util.List<? extends Service.LoggedModelParameterOrBuilder> getParamsOrBuilderList()
LoggedModel params.
repeated .mlflow.LoggedModelParameter params = 5;
-
getParamsOrBuilder
Service.LoggedModelParameterOrBuilder getParamsOrBuilder(int index)
LoggedModel params.
repeated .mlflow.LoggedModelParameter params = 5;
-
getTagsList
java.util.List<Service.LoggedModelTag> getTagsList()
LoggedModel tags.
repeated .mlflow.LoggedModelTag tags = 6;
-
getTags
Service.LoggedModelTag getTags(int index)
LoggedModel tags.
repeated .mlflow.LoggedModelTag tags = 6;
-
getTagsCount
int getTagsCount()
LoggedModel tags.
repeated .mlflow.LoggedModelTag tags = 6;
-
getTagsOrBuilderList
java.util.List<? extends Service.LoggedModelTagOrBuilder> getTagsOrBuilderList()
LoggedModel tags.
repeated .mlflow.LoggedModelTag tags = 6;
-
getTagsOrBuilder
Service.LoggedModelTagOrBuilder getTagsOrBuilder(int index)
LoggedModel tags.
repeated .mlflow.LoggedModelTag tags = 6;
-
-