Enum ModelStage.Known

java.lang.Object
java.lang.Enum<ModelStage.Known>
com.google.genai.types.ModelStage.Known
All Implemented Interfaces:
Serializable, Comparable<ModelStage.Known>
Enclosing class:
ModelStage

public static enum ModelStage.Known extends Enum<ModelStage.Known>
Enum representing the known values for ModelStage.
  • Enum Constant Details

    • MODEL_STAGE_UNSPECIFIED

      public static final ModelStage.Known MODEL_STAGE_UNSPECIFIED
      Unspecified model stage.
    • UNSTABLE_EXPERIMENTAL

      public static final ModelStage.Known UNSTABLE_EXPERIMENTAL
      The underlying model is subject to lots of tunings.
    • EXPERIMENTAL

      public static final ModelStage.Known EXPERIMENTAL
      Models in this stage are for experimental purposes only.
    • PREVIEW

      public static final ModelStage.Known PREVIEW
      Models in this stage are more mature than experimental models.
    • STABLE

      public static final ModelStage.Known STABLE
      Models in this stage are considered stable and ready for production use.
    • LEGACY

      public static final ModelStage.Known 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

      public static final ModelStage.Known DEPRECATED
      Models in this stage are deprecated. These models cannot be used.
    • RETIRED

      public static final ModelStage.Known RETIRED
      Models in this stage are retired. These models cannot be used.
  • Method Details

    • values

      public static ModelStage.Known[] 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

      public static ModelStage.Known valueOf(String name)
      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 name
      NullPointerException - if the argument is null