Package org.mlflow.api.proto
Interface ModelRegistry.CreateModelVersionOrBuilder
- 
- All Superinterfaces:
- com.google.protobuf.MessageLiteOrBuilder,- com.google.protobuf.MessageOrBuilder
 - All Known Implementing Classes:
- ModelRegistry.CreateModelVersion,- ModelRegistry.CreateModelVersion.Builder
 - Enclosing class:
- ModelRegistry
 
 public static interface ModelRegistry.CreateModelVersionOrBuilder extends com.google.protobuf.MessageOrBuilder
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDescription()Optional description for model version.com.google.protobuf.ByteStringgetDescriptionBytes()Optional description for model version.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 modeljava.lang.StringgetName()Register model under this namecom.google.protobuf.ByteStringgetNameBytes()Register model under this namejava.lang.StringgetRunId()MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking servercom.google.protobuf.ByteStringgetRunIdBytes()MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking serverjava.lang.StringgetRunLink()MLflow run link - this is the exact link of the run that generated this model version, potentially hosted at another instance of MLflow.com.google.protobuf.ByteStringgetRunLinkBytes()MLflow run link - this is the exact link of the run that generated this model version, potentially hosted at another instance of MLflow.java.lang.StringgetSource()URI indicating the location of the model artifacts.com.google.protobuf.ByteStringgetSourceBytes()URI indicating the location of the model artifacts.ModelRegistry.ModelVersionTaggetTags(int index)Additional metadata for model version.intgetTagsCount()Additional metadata for model version.java.util.List<ModelRegistry.ModelVersionTag>getTagsList()Additional metadata for model version.ModelRegistry.ModelVersionTagOrBuildergetTagsOrBuilder(int index)Additional metadata for model version.java.util.List<? extends ModelRegistry.ModelVersionTagOrBuilder>getTagsOrBuilderList()Additional metadata for model version.booleanhasDescription()Optional description for model version.booleanhasModelId()Optional `model_id` for model version that is used to link the registered model to the source logged modelbooleanhasName()Register model under this namebooleanhasRunId()MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking serverbooleanhasRunLink()MLflow run link - this is the exact link of the run that generated this model version, potentially hosted at another instance of MLflow.booleanhasSource()URI indicating the location of the model artifacts.- 
Methods inherited from interface com.google.protobuf.MessageOrBuilderfindInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
 
- 
 
- 
- 
- 
Method Detail- 
hasNameboolean hasName() Register model under this name optional string name = 1 [(.mlflow.validate_required) = true];- Returns:
- Whether the name field is set.
 
 - 
getNamejava.lang.String getName() Register model under this name optional string name = 1 [(.mlflow.validate_required) = true];- Returns:
- The name.
 
 - 
getNameBytescom.google.protobuf.ByteString getNameBytes() Register model under this name optional string name = 1 [(.mlflow.validate_required) = true];- Returns:
- The bytes for name.
 
 - 
hasSourceboolean hasSource() URI indicating the location of the model artifacts. optional string source = 2 [(.mlflow.validate_required) = true];- Returns:
- Whether the source field is set.
 
 - 
getSourcejava.lang.String getSource() URI indicating the location of the model artifacts. optional string source = 2 [(.mlflow.validate_required) = true];- Returns:
- The source.
 
 - 
getSourceBytescom.google.protobuf.ByteString getSourceBytes() URI indicating the location of the model artifacts. optional string source = 2 [(.mlflow.validate_required) = true];- Returns:
- The bytes for source.
 
 - 
hasRunIdboolean hasRunId() MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking server optional string run_id = 3;- Returns:
- Whether the runId field is set.
 
 - 
getRunIdjava.lang.String getRunId() MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking server optional string run_id = 3;- Returns:
- The runId.
 
 - 
getRunIdBytescom.google.protobuf.ByteString getRunIdBytes() MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking server optional string run_id = 3;- Returns:
- The bytes for runId.
 
 - 
getTagsListjava.util.List<ModelRegistry.ModelVersionTag> getTagsList() Additional metadata for model version. repeated .mlflow.ModelVersionTag tags = 4;
 - 
getTagsModelRegistry.ModelVersionTag getTags(int index) Additional metadata for model version. repeated .mlflow.ModelVersionTag tags = 4;
 - 
getTagsCountint getTagsCount() Additional metadata for model version. repeated .mlflow.ModelVersionTag tags = 4;
 - 
getTagsOrBuilderListjava.util.List<? extends ModelRegistry.ModelVersionTagOrBuilder> getTagsOrBuilderList() Additional metadata for model version. repeated .mlflow.ModelVersionTag tags = 4;
 - 
getTagsOrBuilderModelRegistry.ModelVersionTagOrBuilder getTagsOrBuilder(int index) Additional metadata for model version. repeated .mlflow.ModelVersionTag tags = 4;
 - 
hasRunLinkboolean hasRunLink() MLflow run link - this is the exact link of the run that generated this model version, potentially hosted at another instance of MLflow. optional string run_link = 5;- Returns:
- Whether the runLink field is set.
 
 - 
getRunLinkjava.lang.String getRunLink() MLflow run link - this is the exact link of the run that generated this model version, potentially hosted at another instance of MLflow. optional string run_link = 5;- Returns:
- The runLink.
 
 - 
getRunLinkBytescom.google.protobuf.ByteString getRunLinkBytes() MLflow run link - this is the exact link of the run that generated this model version, potentially hosted at another instance of MLflow. optional string run_link = 5;- Returns:
- The bytes for runLink.
 
 - 
hasDescriptionboolean hasDescription() Optional description for model version. optional string description = 6;- Returns:
- Whether the description field is set.
 
 - 
getDescriptionjava.lang.String getDescription() Optional description for model version. optional string description = 6;- Returns:
- The description.
 
 - 
getDescriptionBytescom.google.protobuf.ByteString getDescriptionBytes() Optional description for model version. optional string description = 6;- Returns:
- The bytes for description.
 
 - 
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 = 7;- 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 = 7;- 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 = 7;- Returns:
- The bytes for modelId.
 
 
- 
 
-