Enum TuningMethod.Known

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

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

    • SUPERVISED_FINE_TUNING

      public static final TuningMethod.Known SUPERVISED_FINE_TUNING
      Supervised fine tuning.
    • PREFERENCE_TUNING

      public static final TuningMethod.Known PREFERENCE_TUNING
      Preference optimization tuning.
    • TUNING_METHOD_UNSPECIFIED

      public static final TuningMethod.Known TUNING_METHOD_UNSPECIFIED
  • Method Details

    • values

      public static TuningMethod.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 TuningMethod.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