Package org.mlflow.api.proto
Interface ModelRegistry.TransitionModelVersionStageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ModelRegistry.TransitionModelVersionStage
,ModelRegistry.TransitionModelVersionStage.Builder
- Enclosing class:
- ModelRegistry
public static interface ModelRegistry.TransitionModelVersionStageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description boolean
getArchiveExistingVersions()
When transitioning a model version to a particular stage, this flag dictates whether all existing model versions in that stage should be atomically moved to the "archived" stage.java.lang.String
getName()
Name of the registered modelcom.google.protobuf.ByteString
getNameBytes()
Name of the registered modeljava.lang.String
getStage()
Transition `model_version` to new stage.com.google.protobuf.ByteString
getStageBytes()
Transition `model_version` to new stage.java.lang.String
getVersion()
Model version numbercom.google.protobuf.ByteString
getVersionBytes()
Model version numberboolean
hasArchiveExistingVersions()
When transitioning a model version to a particular stage, this flag dictates whether all existing model versions in that stage should be atomically moved to the "archived" stage.boolean
hasName()
Name of the registered modelboolean
hasStage()
Transition `model_version` to new stage.boolean
hasVersion()
Model version numberMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()Name of the registered model
optional string name = 1 [(.mlflow.validate_required) = true];
-
getName
java.lang.String getName()Name of the registered model
optional string name = 1 [(.mlflow.validate_required) = true];
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the registered model
optional string name = 1 [(.mlflow.validate_required) = true];
-
hasVersion
boolean hasVersion()Model version number
optional string version = 2 [(.mlflow.validate_required) = true];
-
getVersion
java.lang.String getVersion()Model version number
optional string version = 2 [(.mlflow.validate_required) = true];
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()Model version number
optional string version = 2 [(.mlflow.validate_required) = true];
-
hasStage
boolean hasStage()Transition `model_version` to new stage.
optional string stage = 3 [(.mlflow.validate_required) = true];
-
getStage
java.lang.String getStage()Transition `model_version` to new stage.
optional string stage = 3 [(.mlflow.validate_required) = true];
-
getStageBytes
com.google.protobuf.ByteString getStageBytes()Transition `model_version` to new stage.
optional string stage = 3 [(.mlflow.validate_required) = true];
-
hasArchiveExistingVersions
boolean hasArchiveExistingVersions()When transitioning a model version to a particular stage, this flag dictates whether all existing model versions in that stage should be atomically moved to the "archived" stage. This ensures that at-most-one model version exists in the target stage. This field is *required* when transitioning a model versions's stage
optional bool archive_existing_versions = 4 [(.mlflow.validate_required) = true];
-
getArchiveExistingVersions
boolean getArchiveExistingVersions()When transitioning a model version to a particular stage, this flag dictates whether all existing model versions in that stage should be atomically moved to the "archived" stage. This ensures that at-most-one model version exists in the target stage. This field is *required* when transitioning a model versions's stage
optional bool archive_existing_versions = 4 [(.mlflow.validate_required) = true];
-