Enum Class Task

java.lang.Object
java.lang.Enum<Task>
com.alibaba.dashscope.legacy_2x.common.Task
All Implemented Interfaces:
Serializable, Comparable<Task>, Constable

@Deprecated public enum Task extends Enum<Task>
Deprecated.
  • Enum Constant Details

    • TEXT_GENERATION

      public static final Task TEXT_GENERATION
      Deprecated.
    • CODE_GENERATION

      public static final Task CODE_GENERATION
      Deprecated.
    • MULTIMODAL_GENERATION

      public static final Task MULTIMODAL_GENERATION
      Deprecated.
    • IMAGE_GENERATION

      public static final Task IMAGE_GENERATION
      Deprecated.
    • IMAGE_SYNTHESIS

      public static final Task IMAGE_SYNTHESIS
      Deprecated.
    • TEXT_EMBEDDING

      public static final Task TEXT_EMBEDDING
      Deprecated.
    • MULTIMODAL_EMBEDDING

      public static final Task MULTIMODAL_EMBEDDING
      Deprecated.
    • CHAT

      public static final Task CHAT
      Deprecated.
    • TEXT_TO_SPEECH

      public static final Task TEXT_TO_SPEECH
      Deprecated.
    • ASR

      public static final Task ASR
      Deprecated.
    • NLU

      public static final Task NLU
      Deprecated.
  • Method Details

    • values

      public static Task[] values()
      Deprecated.
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Task valueOf(String name)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      Deprecated.