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 SummaryAll 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.MessageOrBuilderfindInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
 
- 
 
- 
- 
- 
Method Detail- 
hasNameboolean hasName() Unique name of the model optional string name = 1;- Returns:
- Whether the name field is set.
 
 - 
getNamejava.lang.String getName() Unique name of the model optional string name = 1;- Returns:
- The name.
 
 - 
getNameBytescom.google.protobuf.ByteString getNameBytes() Unique name of the model optional string name = 1;- Returns:
- The bytes for name.
 
 - 
hasVersionboolean hasVersion() Model's version number. optional string version = 2;- Returns:
- Whether the version field is set.
 
 - 
getVersionjava.lang.String getVersion() Model's version number. optional string version = 2;- Returns:
- The version.
 
 - 
getVersionBytescom.google.protobuf.ByteString getVersionBytes() Model's version number. optional string version = 2;- Returns:
- The bytes for version.
 
 - 
hasCreationTimestampboolean hasCreationTimestamp() Timestamp recorded when this ``model_version`` was created. optional int64 creation_timestamp = 3;- Returns:
- Whether the creationTimestamp field is set.
 
 - 
getCreationTimestamplong getCreationTimestamp() Timestamp recorded when this ``model_version`` was created. optional int64 creation_timestamp = 3;- Returns:
- The creationTimestamp.
 
 - 
hasLastUpdatedTimestampboolean 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.
 
 - 
getLastUpdatedTimestamplong getLastUpdatedTimestamp() Timestamp recorded when metadata for this ``model_version`` was last updated. optional int64 last_updated_timestamp = 4;- Returns:
- The lastUpdatedTimestamp.
 
 - 
hasUserIdboolean hasUserId() User that created this ``model_version``. optional string user_id = 5;- Returns:
- Whether the userId field is set.
 
 - 
getUserIdjava.lang.String getUserId() User that created this ``model_version``. optional string user_id = 5;- Returns:
- The userId.
 
 - 
getUserIdBytescom.google.protobuf.ByteString getUserIdBytes() User that created this ``model_version``. optional string user_id = 5;- Returns:
- The bytes for userId.
 
 - 
hasCurrentStageboolean hasCurrentStage() Current stage for this ``model_version``. optional string current_stage = 6;- Returns:
- Whether the currentStage field is set.
 
 - 
getCurrentStagejava.lang.String getCurrentStage() Current stage for this ``model_version``. optional string current_stage = 6;- Returns:
- The currentStage.
 
 - 
getCurrentStageBytescom.google.protobuf.ByteString getCurrentStageBytes() Current stage for this ``model_version``. optional string current_stage = 6;- Returns:
- The bytes for currentStage.
 
 - 
hasDescriptionboolean hasDescription() Description of this ``model_version``. optional string description = 7;- Returns:
- Whether the description field is set.
 
 - 
getDescriptionjava.lang.String getDescription() Description of this ``model_version``. optional string description = 7;- Returns:
- The description.
 
 - 
getDescriptionBytescom.google.protobuf.ByteString getDescriptionBytes() Description of this ``model_version``. optional string description = 7;- Returns:
- The bytes for description.
 
 - 
hasSourceboolean 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.
 
 - 
getSourcejava.lang.String getSource() URI indicating the location of the source model artifacts, used when creating ``model_version`` optional string source = 8;- Returns:
- The source.
 
 - 
getSourceBytescom.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.
 
 - 
hasRunIdboolean 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.
 
 - 
getRunIdjava.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.
 
 - 
getRunIdBytescom.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.
 
 - 
hasStatusboolean hasStatus() Current status of ``model_version`` optional .mlflow.ModelVersionStatus status = 10;- Returns:
- Whether the status field is set.
 
 - 
getStatusModelRegistry.ModelVersionStatus getStatus() Current status of ``model_version`` optional .mlflow.ModelVersionStatus status = 10;- Returns:
- The status.
 
 - 
hasStatusMessageboolean hasStatusMessage() Details on current ``status``, if it is pending or failed. optional string status_message = 11;- Returns:
- Whether the statusMessage field is set.
 
 - 
getStatusMessagejava.lang.String getStatusMessage() Details on current ``status``, if it is pending or failed. optional string status_message = 11;- Returns:
- The statusMessage.
 
 - 
getStatusMessageBytescom.google.protobuf.ByteString getStatusMessageBytes() Details on current ``status``, if it is pending or failed. optional string status_message = 11;- Returns:
- The bytes for statusMessage.
 
 - 
getTagsListjava.util.List<ModelRegistry.ModelVersionTag> getTagsList() Tags: Additional metadata key-value pairs for this ``model_version``. repeated .mlflow.ModelVersionTag tags = 12;
 - 
getTagsModelRegistry.ModelVersionTag getTags(int index) Tags: Additional metadata key-value pairs for this ``model_version``. repeated .mlflow.ModelVersionTag tags = 12;
 - 
getTagsCountint getTagsCount() Tags: Additional metadata key-value pairs for this ``model_version``. repeated .mlflow.ModelVersionTag tags = 12;
 - 
getTagsOrBuilderListjava.util.List<? extends ModelRegistry.ModelVersionTagOrBuilder> getTagsOrBuilderList() Tags: Additional metadata key-value pairs for this ``model_version``. repeated .mlflow.ModelVersionTag tags = 12;
 - 
getTagsOrBuilderModelRegistry.ModelVersionTagOrBuilder getTagsOrBuilder(int index) Tags: Additional metadata key-value pairs for this ``model_version``. repeated .mlflow.ModelVersionTag tags = 12;
 - 
hasRunLinkboolean 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.
 
 - 
getRunLinkjava.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.
 
 - 
getRunLinkBytescom.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.
 
 - 
getAliasesListjava.util.List<java.lang.String> getAliasesList() Aliases pointing to this ``model_version``. repeated string aliases = 14;- Returns:
- A list containing the aliases.
 
 - 
getAliasesCountint getAliasesCount() Aliases pointing to this ``model_version``. repeated string aliases = 14;- Returns:
- The count of aliases.
 
 - 
getAliasesjava.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.
 
 - 
getAliasesBytescom.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.
 
 - 
hasModelIdboolean 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.
 
 - 
getModelIdjava.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.
 
 - 
getModelIdBytescom.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.
 
 - 
getModelParamsListjava.util.List<ModelRegistry.ModelParam> getModelParamsList() Optional parameters for the model. repeated .mlflow.ModelParam model_params = 16;
 - 
getModelParamsModelRegistry.ModelParam getModelParams(int index) Optional parameters for the model. repeated .mlflow.ModelParam model_params = 16;
 - 
getModelParamsCountint getModelParamsCount() Optional parameters for the model. repeated .mlflow.ModelParam model_params = 16;
 - 
getModelParamsOrBuilderListjava.util.List<? extends ModelRegistry.ModelParamOrBuilder> getModelParamsOrBuilderList() Optional parameters for the model. repeated .mlflow.ModelParam model_params = 16;
 - 
getModelParamsOrBuilderModelRegistry.ModelParamOrBuilder getModelParamsOrBuilder(int index) Optional parameters for the model. repeated .mlflow.ModelParam model_params = 16;
 - 
getModelMetricsListjava.util.List<ModelRegistry.ModelMetric> getModelMetricsList() Optional metrics for the model. repeated .mlflow.ModelMetric model_metrics = 17;
 - 
getModelMetricsModelRegistry.ModelMetric getModelMetrics(int index) Optional metrics for the model. repeated .mlflow.ModelMetric model_metrics = 17;
 - 
getModelMetricsCountint getModelMetricsCount() Optional metrics for the model. repeated .mlflow.ModelMetric model_metrics = 17;
 - 
getModelMetricsOrBuilderListjava.util.List<? extends ModelRegistry.ModelMetricOrBuilder> getModelMetricsOrBuilderList() Optional metrics for the model. repeated .mlflow.ModelMetric model_metrics = 17;
 - 
getModelMetricsOrBuilderModelRegistry.ModelMetricOrBuilder getModelMetricsOrBuilder(int index) Optional metrics for the model. repeated .mlflow.ModelMetric model_metrics = 17;
 - 
hasDeploymentJobStateboolean hasDeploymentJobState() Deployment job state for this model version. optional .mlflow.ModelVersionDeploymentJobState deployment_job_state = 19;- Returns:
- Whether the deploymentJobState field is set.
 
 - 
getDeploymentJobStateModelRegistry.ModelVersionDeploymentJobState getDeploymentJobState() Deployment job state for this model version. optional .mlflow.ModelVersionDeploymentJobState deployment_job_state = 19;- Returns:
- The deploymentJobState.
 
 - 
getDeploymentJobStateOrBuilderModelRegistry.ModelVersionDeploymentJobStateOrBuilder getDeploymentJobStateOrBuilder() Deployment job state for this model version. optional .mlflow.ModelVersionDeploymentJobState deployment_job_state = 19;
 
- 
 
-