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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDescription()
Optional description for model version.com.google.protobuf.ByteString
getDescriptionBytes()
Optional description for model version.java.lang.String
getName()
Register model under this namecom.google.protobuf.ByteString
getNameBytes()
Register model under this namejava.lang.String
getRunId()
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking servercom.google.protobuf.ByteString
getRunIdBytes()
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking serverjava.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.com.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.java.lang.String
getSource()
URI indicating the location of the model artifacts.com.google.protobuf.ByteString
getSourceBytes()
URI indicating the location of the model artifacts.ModelRegistry.ModelVersionTag
getTags(int index)
Additional metadata for model version.int
getTagsCount()
Additional metadata for model version.java.util.List<ModelRegistry.ModelVersionTag>
getTagsList()
Additional metadata for model version.ModelRegistry.ModelVersionTagOrBuilder
getTagsOrBuilder(int index)
Additional metadata for model version.java.util.List<? extends ModelRegistry.ModelVersionTagOrBuilder>
getTagsOrBuilderList()
Additional metadata for model version.boolean
hasDescription()
Optional description for model version.boolean
hasName()
Register model under this nameboolean
hasRunId()
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking serverboolean
hasRunLink()
MLflow run link - this is the exact link of the run that generated this model version, potentially hosted at another instance of MLflow.boolean
hasSource()
URI indicating the location of the model artifacts.-
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()
Register model under this name
optional string name = 1 [(.mlflow.validate_required) = true];
- Returns:
- Whether the name field is set.
-
getName
java.lang.String getName()
Register model under this name
optional string name = 1 [(.mlflow.validate_required) = true];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Register model under this name
optional string name = 1 [(.mlflow.validate_required) = true];
- Returns:
- The bytes for name.
-
hasSource
boolean hasSource()
URI indicating the location of the model artifacts.
optional string source = 2 [(.mlflow.validate_required) = true];
- Returns:
- Whether the source field is set.
-
getSource
java.lang.String getSource()
URI indicating the location of the model artifacts.
optional string source = 2 [(.mlflow.validate_required) = true];
- Returns:
- The source.
-
getSourceBytes
com.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.
-
hasRunId
boolean 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.
-
getRunId
java.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.
-
getRunIdBytes
com.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.
-
getTagsList
java.util.List<ModelRegistry.ModelVersionTag> getTagsList()
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
-
getTags
ModelRegistry.ModelVersionTag getTags(int index)
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
-
getTagsCount
int getTagsCount()
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
-
getTagsOrBuilderList
java.util.List<? extends ModelRegistry.ModelVersionTagOrBuilder> getTagsOrBuilderList()
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
-
getTagsOrBuilder
ModelRegistry.ModelVersionTagOrBuilder getTagsOrBuilder(int index)
Additional metadata for model version.
repeated .mlflow.ModelVersionTag tags = 4;
-
hasRunLink
boolean 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.
-
getRunLink
java.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.
-
getRunLinkBytes
com.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.
-
hasDescription
boolean hasDescription()
Optional description for model version.
optional string description = 6;
- Returns:
- Whether the description field is set.
-
getDescription
java.lang.String getDescription()
Optional description for model version.
optional string description = 6;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Optional description for model version.
optional string description = 6;
- Returns:
- The bytes for description.
-
-