Package org.mlflow.api.proto
Interface ModelRegistry.ModelVersionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ModelRegistry.ModelVersion,ModelRegistry.ModelVersion.Builder
- Enclosing class:
- ModelRegistry
public static interface ModelRegistry.ModelVersionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAliases(int index)Aliases pointing to this ``model_version``.com.google.protobuf.ByteStringgetAliasesBytes(int index)Aliases pointing to this ``model_version``.intgetAliasesCount()Aliases pointing to this ``model_version``.java.util.List<java.lang.String>getAliasesList()Aliases pointing to this ``model_version``.longgetCreationTimestamp()Timestamp recorded when this ``model_version`` was created.java.lang.StringgetCurrentStage()Current stage for this ``model_version``.com.google.protobuf.ByteStringgetCurrentStageBytes()Current stage for this ``model_version``.ModelRegistry.ModelVersionDeploymentJobStategetDeploymentJobState()Deployment job state for this model version.ModelRegistry.ModelVersionDeploymentJobStateOrBuildergetDeploymentJobStateOrBuilder()Deployment job state for this model version.java.lang.StringgetDescription()Description of this ``model_version``.com.google.protobuf.ByteStringgetDescriptionBytes()Description of this ``model_version``.longgetLastUpdatedTimestamp()Timestamp recorded when metadata for this ``model_version`` was last updated.java.lang.StringgetModelId()Optional `model_id` for model version that is used to link the registered model to the source logged modelcom.google.protobuf.ByteStringgetModelIdBytes()Optional `model_id` for model version that is used to link the registered model to the source logged modelModelRegistry.ModelMetricgetModelMetrics(int index)Optional metrics for the model.intgetModelMetricsCount()Optional metrics for the model.java.util.List<ModelRegistry.ModelMetric>getModelMetricsList()Optional metrics for the model.ModelRegistry.ModelMetricOrBuildergetModelMetricsOrBuilder(int index)Optional metrics for the model.java.util.List<? extends ModelRegistry.ModelMetricOrBuilder>getModelMetricsOrBuilderList()Optional metrics for the model.ModelRegistry.ModelParamgetModelParams(int index)Optional parameters for the model.intgetModelParamsCount()Optional parameters for the model.java.util.List<ModelRegistry.ModelParam>getModelParamsList()Optional parameters for the model.ModelRegistry.ModelParamOrBuildergetModelParamsOrBuilder(int index)Optional parameters for the model.java.util.List<? extends ModelRegistry.ModelParamOrBuilder>getModelParamsOrBuilderList()Optional parameters for the model.java.lang.StringgetName()Unique name of the modelcom.google.protobuf.ByteStringgetNameBytes()Unique name of the modeljava.lang.StringgetRunId()MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.com.google.protobuf.ByteStringgetRunIdBytes()MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.java.lang.StringgetRunLink()Run Link: Direct link to the run that generated this version.com.google.protobuf.ByteStringgetRunLinkBytes()Run Link: Direct link to the run that generated this version.java.lang.StringgetSource()URI indicating the location of the source model artifacts, used when creating ``model_version``com.google.protobuf.ByteStringgetSourceBytes()URI indicating the location of the source model artifacts, used when creating ``model_version``ModelRegistry.ModelVersionStatusgetStatus()Current status of ``model_version``java.lang.StringgetStatusMessage()Details on current ``status``, if it is pending or failed.com.google.protobuf.ByteStringgetStatusMessageBytes()Details on current ``status``, if it is pending or failed.ModelRegistry.ModelVersionTaggetTags(int index)Tags: Additional metadata key-value pairs for this ``model_version``.intgetTagsCount()Tags: Additional metadata key-value pairs for this ``model_version``.java.util.List<ModelRegistry.ModelVersionTag>getTagsList()Tags: Additional metadata key-value pairs for this ``model_version``.ModelRegistry.ModelVersionTagOrBuildergetTagsOrBuilder(int index)Tags: Additional metadata key-value pairs for this ``model_version``.java.util.List<? extends ModelRegistry.ModelVersionTagOrBuilder>getTagsOrBuilderList()Tags: Additional metadata key-value pairs for this ``model_version``.java.lang.StringgetUserId()User that created this ``model_version``.com.google.protobuf.ByteStringgetUserIdBytes()User that created this ``model_version``.java.lang.StringgetVersion()Model's version number.com.google.protobuf.ByteStringgetVersionBytes()Model's version number.booleanhasCreationTimestamp()Timestamp recorded when this ``model_version`` was created.booleanhasCurrentStage()Current stage for this ``model_version``.booleanhasDeploymentJobState()Deployment job state for this model version.booleanhasDescription()Description of this ``model_version``.booleanhasLastUpdatedTimestamp()Timestamp recorded when metadata for this ``model_version`` was last updated.booleanhasModelId()Optional `model_id` for model version that is used to link the registered model to the source logged modelbooleanhasName()Unique name of the modelbooleanhasRunId()MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.booleanhasRunLink()Run Link: Direct link to the run that generated this version.booleanhasSource()URI indicating the location of the source model artifacts, used when creating ``model_version``booleanhasStatus()Current status of ``model_version``booleanhasStatusMessage()Details on current ``status``, if it is pending or failed.booleanhasUserId()User that created this ``model_version``.booleanhasVersion()Model's version number.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasName
boolean hasName()
Unique name of the model
optional string name = 1;- Returns:
- Whether the name field is set.
-
getName
java.lang.String getName()
Unique name of the model
optional string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Unique name of the model
optional string name = 1;- Returns:
- The bytes for name.
-
hasVersion
boolean hasVersion()
Model's version number.
optional string version = 2;- Returns:
- Whether the version field is set.
-
getVersion
java.lang.String getVersion()
Model's version number.
optional string version = 2;- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()
Model's version number.
optional string version = 2;- Returns:
- The bytes for version.
-
hasCreationTimestamp
boolean hasCreationTimestamp()
Timestamp recorded when this ``model_version`` was created.
optional int64 creation_timestamp = 3;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
long getCreationTimestamp()
Timestamp recorded when this ``model_version`` was created.
optional int64 creation_timestamp = 3;- Returns:
- The creationTimestamp.
-
hasLastUpdatedTimestamp
boolean hasLastUpdatedTimestamp()
Timestamp recorded when metadata for this ``model_version`` was last updated.
optional int64 last_updated_timestamp = 4;- Returns:
- Whether the lastUpdatedTimestamp field is set.
-
getLastUpdatedTimestamp
long getLastUpdatedTimestamp()
Timestamp recorded when metadata for this ``model_version`` was last updated.
optional int64 last_updated_timestamp = 4;- Returns:
- The lastUpdatedTimestamp.
-
hasUserId
boolean hasUserId()
User that created this ``model_version``.
optional string user_id = 5;- Returns:
- Whether the userId field is set.
-
getUserId
java.lang.String getUserId()
User that created this ``model_version``.
optional string user_id = 5;- Returns:
- The userId.
-
getUserIdBytes
com.google.protobuf.ByteString getUserIdBytes()
User that created this ``model_version``.
optional string user_id = 5;- Returns:
- The bytes for userId.
-
hasCurrentStage
boolean hasCurrentStage()
Current stage for this ``model_version``.
optional string current_stage = 6;- Returns:
- Whether the currentStage field is set.
-
getCurrentStage
java.lang.String getCurrentStage()
Current stage for this ``model_version``.
optional string current_stage = 6;- Returns:
- The currentStage.
-
getCurrentStageBytes
com.google.protobuf.ByteString getCurrentStageBytes()
Current stage for this ``model_version``.
optional string current_stage = 6;- Returns:
- The bytes for currentStage.
-
hasDescription
boolean hasDescription()
Description of this ``model_version``.
optional string description = 7;- Returns:
- Whether the description field is set.
-
getDescription
java.lang.String getDescription()
Description of this ``model_version``.
optional string description = 7;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Description of this ``model_version``.
optional string description = 7;- Returns:
- The bytes for description.
-
hasSource
boolean hasSource()
URI indicating the location of the source model artifacts, used when creating ``model_version``
optional string source = 8;- Returns:
- Whether the source field is set.
-
getSource
java.lang.String getSource()
URI indicating the location of the source model artifacts, used when creating ``model_version``
optional string source = 8;- Returns:
- The source.
-
getSourceBytes
com.google.protobuf.ByteString getSourceBytes()
URI indicating the location of the source model artifacts, used when creating ``model_version``
optional string source = 8;- Returns:
- The bytes for source.
-
hasRunId
boolean hasRunId()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.
optional string run_id = 9;- Returns:
- Whether the runId field is set.
-
getRunId
java.lang.String getRunId()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.
optional string run_id = 9;- Returns:
- The runId.
-
getRunIdBytes
com.google.protobuf.ByteString getRunIdBytes()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.
optional string run_id = 9;- Returns:
- The bytes for runId.
-
hasStatus
boolean hasStatus()
Current status of ``model_version``
optional .mlflow.ModelVersionStatus status = 10;- Returns:
- Whether the status field is set.
-
getStatus
ModelRegistry.ModelVersionStatus getStatus()
Current status of ``model_version``
optional .mlflow.ModelVersionStatus status = 10;- Returns:
- The status.
-
hasStatusMessage
boolean hasStatusMessage()
Details on current ``status``, if it is pending or failed.
optional string status_message = 11;- Returns:
- Whether the statusMessage field is set.
-
getStatusMessage
java.lang.String getStatusMessage()
Details on current ``status``, if it is pending or failed.
optional string status_message = 11;- Returns:
- The statusMessage.
-
getStatusMessageBytes
com.google.protobuf.ByteString getStatusMessageBytes()
Details on current ``status``, if it is pending or failed.
optional string status_message = 11;- Returns:
- The bytes for statusMessage.
-
getTagsList
java.util.List<ModelRegistry.ModelVersionTag> getTagsList()
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
getTags
ModelRegistry.ModelVersionTag getTags(int index)
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
getTagsCount
int getTagsCount()
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
getTagsOrBuilderList
java.util.List<? extends ModelRegistry.ModelVersionTagOrBuilder> getTagsOrBuilderList()
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
getTagsOrBuilder
ModelRegistry.ModelVersionTagOrBuilder getTagsOrBuilder(int index)
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
hasRunLink
boolean hasRunLink()
Run Link: Direct link to the run that generated this version. This field is set at model version creation time only for model versions whose source run is from a tracking server that is different from the registry server.
optional string run_link = 13;- Returns:
- Whether the runLink field is set.
-
getRunLink
java.lang.String getRunLink()
Run Link: Direct link to the run that generated this version. This field is set at model version creation time only for model versions whose source run is from a tracking server that is different from the registry server.
optional string run_link = 13;- Returns:
- The runLink.
-
getRunLinkBytes
com.google.protobuf.ByteString getRunLinkBytes()
Run Link: Direct link to the run that generated this version. This field is set at model version creation time only for model versions whose source run is from a tracking server that is different from the registry server.
optional string run_link = 13;- Returns:
- The bytes for runLink.
-
getAliasesList
java.util.List<java.lang.String> getAliasesList()
Aliases pointing to this ``model_version``.
repeated string aliases = 14;- Returns:
- A list containing the aliases.
-
getAliasesCount
int getAliasesCount()
Aliases pointing to this ``model_version``.
repeated string aliases = 14;- Returns:
- The count of aliases.
-
getAliases
java.lang.String getAliases(int index)
Aliases pointing to this ``model_version``.
repeated string aliases = 14;- Parameters:
index- The index of the element to return.- Returns:
- The aliases at the given index.
-
getAliasesBytes
com.google.protobuf.ByteString getAliasesBytes(int index)
Aliases pointing to this ``model_version``.
repeated string aliases = 14;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the aliases at the given index.
-
hasModelId
boolean hasModelId()
Optional `model_id` for model version that is used to link the registered model to the source logged model
optional string model_id = 15;- Returns:
- Whether the modelId field is set.
-
getModelId
java.lang.String getModelId()
Optional `model_id` for model version that is used to link the registered model to the source logged model
optional string model_id = 15;- Returns:
- The modelId.
-
getModelIdBytes
com.google.protobuf.ByteString getModelIdBytes()
Optional `model_id` for model version that is used to link the registered model to the source logged model
optional string model_id = 15;- Returns:
- The bytes for modelId.
-
getModelParamsList
java.util.List<ModelRegistry.ModelParam> getModelParamsList()
Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16;
-
getModelParams
ModelRegistry.ModelParam getModelParams(int index)
Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16;
-
getModelParamsCount
int getModelParamsCount()
Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16;
-
getModelParamsOrBuilderList
java.util.List<? extends ModelRegistry.ModelParamOrBuilder> getModelParamsOrBuilderList()
Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16;
-
getModelParamsOrBuilder
ModelRegistry.ModelParamOrBuilder getModelParamsOrBuilder(int index)
Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16;
-
getModelMetricsList
java.util.List<ModelRegistry.ModelMetric> getModelMetricsList()
Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17;
-
getModelMetrics
ModelRegistry.ModelMetric getModelMetrics(int index)
Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17;
-
getModelMetricsCount
int getModelMetricsCount()
Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17;
-
getModelMetricsOrBuilderList
java.util.List<? extends ModelRegistry.ModelMetricOrBuilder> getModelMetricsOrBuilderList()
Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17;
-
getModelMetricsOrBuilder
ModelRegistry.ModelMetricOrBuilder getModelMetricsOrBuilder(int index)
Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17;
-
hasDeploymentJobState
boolean hasDeploymentJobState()
Deployment job state for this model version.
optional .mlflow.ModelVersionDeploymentJobState deployment_job_state = 19;- Returns:
- Whether the deploymentJobState field is set.
-
getDeploymentJobState
ModelRegistry.ModelVersionDeploymentJobState getDeploymentJobState()
Deployment job state for this model version.
optional .mlflow.ModelVersionDeploymentJobState deployment_job_state = 19;- Returns:
- The deploymentJobState.
-
getDeploymentJobStateOrBuilder
ModelRegistry.ModelVersionDeploymentJobStateOrBuilder getDeploymentJobStateOrBuilder()
Deployment job state for this model version.
optional .mlflow.ModelVersionDeploymentJobState deployment_job_state = 19;
-
-