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
Modifier and TypeMethodDescriptiongetAliases
(int index) Aliases pointing to this ``model_version``.com.google.protobuf.ByteString
getAliasesBytes
(int index) Aliases pointing to this ``model_version``.int
Aliases pointing to this ``model_version``.Aliases pointing to this ``model_version``.long
Timestamp recorded when this ``model_version`` was created.Current stage for this ``model_version``.com.google.protobuf.ByteString
Current stage for this ``model_version``.Deployment job state for this model version.Deployment job state for this model version.Description of this ``model_version``.com.google.protobuf.ByteString
Description of this ``model_version``.long
Timestamp recorded when metadata for this ``model_version`` was last updated.Optional `model_id` for model version that is used to link the registered model to the source logged modelcom.google.protobuf.ByteString
Optional `model_id` for model version that is used to link the registered model to the source logged modelgetModelMetrics
(int index) Optional metrics for the model.int
Optional metrics for the model.Optional metrics for the model.getModelMetricsOrBuilder
(int index) Optional metrics for the model.List<? extends ModelRegistry.ModelMetricOrBuilder>
Optional metrics for the model.getModelParams
(int index) Optional parameters for the model.int
Optional parameters for the model.Optional parameters for the model.getModelParamsOrBuilder
(int index) Optional parameters for the model.List<? extends ModelRegistry.ModelParamOrBuilder>
Optional parameters for the model.getName()
Unique name of the modelcom.google.protobuf.ByteString
Unique name of the modelgetRunId()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.com.google.protobuf.ByteString
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.Run Link: Direct link to the run that generated this version.com.google.protobuf.ByteString
Run Link: Direct link to the run that generated this version.URI indicating the location of the source model artifacts, used when creating ``model_version``com.google.protobuf.ByteString
URI indicating the location of the source model artifacts, used when creating ``model_version``Current status of ``model_version``Details on current ``status``, if it is pending or failed.com.google.protobuf.ByteString
Details on current ``status``, if it is pending or failed.getTags
(int index) Tags: Additional metadata key-value pairs for this ``model_version``.int
Tags: Additional metadata key-value pairs for this ``model_version``.Tags: Additional metadata key-value pairs for this ``model_version``.getTagsOrBuilder
(int index) Tags: Additional metadata key-value pairs for this ``model_version``.List<? extends ModelRegistry.ModelVersionTagOrBuilder>
Tags: Additional metadata key-value pairs for this ``model_version``.User that created this ``model_version``.com.google.protobuf.ByteString
User that created this ``model_version``.Model's version number.com.google.protobuf.ByteString
Model's version number.boolean
Timestamp recorded when this ``model_version`` was created.boolean
Current stage for this ``model_version``.boolean
Deployment job state for this model version.boolean
Description of this ``model_version``.boolean
Timestamp recorded when metadata for this ``model_version`` was last updated.boolean
Optional `model_id` for model version that is used to link the registered model to the source logged modelboolean
hasName()
Unique name of the modelboolean
hasRunId()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.boolean
Run Link: Direct link to the run that generated this version.boolean
URI indicating the location of the source model artifacts, used when creating ``model_version``boolean
Current status of ``model_version``boolean
Details on current ``status``, if it is pending or failed.boolean
User that created this ``model_version``.boolean
Model's version number.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()Unique name of the model
optional string name = 1;
- Returns:
- Whether the name field is set.
-
getName
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
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
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
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
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
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
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
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
List<ModelRegistry.ModelVersionTag> getTagsList()Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
getTags
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
List<? extends ModelRegistry.ModelVersionTagOrBuilder> getTagsOrBuilderList()Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
-
getTagsOrBuilder
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
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
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
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
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
List<ModelRegistry.ModelParam> getModelParamsList()Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16;
-
getModelParams
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
List<? extends ModelRegistry.ModelParamOrBuilder> getModelParamsOrBuilderList()Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16;
-
getModelParamsOrBuilder
Optional parameters for the model.
repeated .mlflow.ModelParam model_params = 16;
-
getModelMetricsList
List<ModelRegistry.ModelMetric> getModelMetricsList()Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17;
-
getModelMetrics
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
List<? extends ModelRegistry.ModelMetricOrBuilder> getModelMetricsOrBuilderList()Optional metrics for the model.
repeated .mlflow.ModelMetric model_metrics = 17;
-
getModelMetricsOrBuilder
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;
-