Package org.mlflow.api.proto
Interface Service.FinalizeLoggedModelOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service.FinalizeLoggedModel
,Service.FinalizeLoggedModel.Builder
- Enclosing class:
- Service
public static interface Service.FinalizeLoggedModelOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getModelId()
The ID of the LoggedModel to finalizecom.google.protobuf.ByteString
getModelIdBytes()
The ID of the LoggedModel to finalizeService.LoggedModelStatus
getStatus()
Whether or not the model is ready for use.boolean
hasModelId()
The ID of the LoggedModel to finalizeboolean
hasStatus()
Whether or not the model is ready for use.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasModelId
boolean hasModelId()
The ID of the LoggedModel to finalize
optional string model_id = 1 [(.mlflow.validate_required) = true];
- Returns:
- Whether the modelId field is set.
-
getModelId
java.lang.String getModelId()
The ID of the LoggedModel to finalize
optional string model_id = 1 [(.mlflow.validate_required) = true];
- Returns:
- The modelId.
-
getModelIdBytes
com.google.protobuf.ByteString getModelIdBytes()
The ID of the LoggedModel to finalize
optional string model_id = 1 [(.mlflow.validate_required) = true];
- Returns:
- The bytes for modelId.
-
hasStatus
boolean hasStatus()
Whether or not the model is ready for use. Valid values in this message: ENUM<LOGGED_MODEL_READY, LOGGED_MODEL_UPLOAD_FAILED> ("LOGGED_MODEL_UPLOAD_FAILED" indicates that something went wrong when logging the model weights / agent code)
optional .mlflow.LoggedModelStatus status = 2 [(.mlflow.validate_required) = true];
- Returns:
- Whether the status field is set.
-
getStatus
Service.LoggedModelStatus getStatus()
Whether or not the model is ready for use. Valid values in this message: ENUM<LOGGED_MODEL_READY, LOGGED_MODEL_UPLOAD_FAILED> ("LOGGED_MODEL_UPLOAD_FAILED" indicates that something went wrong when logging the model weights / agent code)
optional .mlflow.LoggedModelStatus status = 2 [(.mlflow.validate_required) = true];
- Returns:
- The status.
-
-