Package com.google.genai.types
Enum ModelStage.Known
- All Implemented Interfaces:
Serializable,Comparable<ModelStage.Known>
- Enclosing class:
- ModelStage
Enum representing the known values for ModelStage.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionModels in this stage are deprecated.Models in this stage are for experimental purposes only.If the model is on this stage, it means that this model is on the path to deprecation in near future.Unspecified model stage.Models in this stage are more mature than experimental models.Models in this stage are retired.Models in this stage are considered stable and ready for production use.The underlying model is subject to lots of tunings. -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelStage.KnownReturns the enum constant of this type with the specified name.static ModelStage.Known[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MODEL_STAGE_UNSPECIFIED
Unspecified model stage. -
UNSTABLE_EXPERIMENTAL
The underlying model is subject to lots of tunings. -
EXPERIMENTAL
Models in this stage are for experimental purposes only. -
PREVIEW
Models in this stage are more mature than experimental models. -
STABLE
Models in this stage are considered stable and ready for production use. -
LEGACY
If the model is on this stage, it means that this model is on the path to deprecation in near future. Only existing customers can use this model. -
DEPRECATED
Models in this stage are deprecated. These models cannot be used. -
RETIRED
Models in this stage are retired. These models cannot be used.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-