Enum TuningTask.Known

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

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

    • TUNING_TASK_UNSPECIFIED

      public static final TuningTask.Known TUNING_TASK_UNSPECIFIED
      Default value. This value is unused.
    • TUNING_TASK_I2V

      public static final TuningTask.Known TUNING_TASK_I2V
      Tuning task for image to video.
    • TUNING_TASK_T2V

      public static final TuningTask.Known TUNING_TASK_T2V
      Tuning task for text to video.
  • Method Details

    • values

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