Package com.google.genai.types
Enum TuningTask.Known
- All Implemented Interfaces:
Serializable,Comparable<TuningTask.Known>
- Enclosing class:
- TuningTask
Enum representing the known values for TuningTask.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTuning task for image to video.Tuning task for text to video.Default value. -
Method Summary
Modifier and TypeMethodDescriptionstatic TuningTask.KnownReturns the enum constant of this type with the specified name.static TuningTask.Known[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TUNING_TASK_UNSPECIFIED
Default value. This value is unused. -
TUNING_TASK_I2V
Tuning task for image to video. -
TUNING_TASK_T2V
Tuning task for text to video.
-
-
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
-