Package com.google.genai.types
Enum TuningMethod.Known
- All Implemented Interfaces:
Serializable,Comparable<TuningMethod.Known>
- Enclosing class:
- TuningMethod
Enum representing the known values for TuningMethod.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPreference optimization tuning.Supervised fine tuning. -
Method Summary
Modifier and TypeMethodDescriptionstatic TuningMethod.KnownReturns the enum constant of this type with the specified name.static TuningMethod.Known[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SUPERVISED_FINE_TUNING
Supervised fine tuning. -
PREFERENCE_TUNING
Preference optimization tuning. -
TUNING_METHOD_UNSPECIFIED
-
-
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
-