Package io.unitycatalog.client.model
Enum Class ModelVersionStatus
- All Implemented Interfaces:
Serializable,Comparable<ModelVersionStatus>,Constable
All possible model version statuses.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFAILED_REGISTRATION: Indicates that the client has failed to write all model artifacts to external storage.MODEL_VERSION_STATUS_UNKNOWN: UnknownPENDING_REGISTRATION: Indicates that the client has not completely written all model artifacts to external storage.READY: Indicates that the client has successfully written all model artifacts to external storage. -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelVersionStatusgetValue()toString()toUrlQueryString(String prefix) Convert the instance into URL query string.static ModelVersionStatusReturns the enum constant of this class with the specified name.static ModelVersionStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MODEL_VERSION_STATUS_UNKNOWN
MODEL_VERSION_STATUS_UNKNOWN: Unknown -
PENDING_REGISTRATION
PENDING_REGISTRATION: Indicates that the client has not completely written all model artifacts to external storage. -
FAILED_REGISTRATION
FAILED_REGISTRATION: Indicates that the client has failed to write all model artifacts to external storage. -
READY
READY: Indicates that the client has successfully written all model artifacts to external storage. -
UNKNOWN_DEFAULT_OPEN_API
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-
toString
- Overrides:
toStringin classEnum<ModelVersionStatus>
-
fromValue
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-