Enum Class StreamingMode

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

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

    • NONE

      public static final StreamingMode NONE
      Deprecated.
      one message in, one message out.
    • IN

      public static final StreamingMode IN
      Deprecated.
      Stream in, one message out.
    • OUT

      public static final StreamingMode OUT
      Deprecated.
      one message in, stream out.
    • DUPLEX

      public static final StreamingMode DUPLEX
      Deprecated.
      stream in, stream out.
  • Method Details

    • values

      public static StreamingMode[] 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 StreamingMode 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.
    • of

      public static StreamingMode of(String value)
      Deprecated.