Enum EndSensitivity.Known

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

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

    • END_SENSITIVITY_UNSPECIFIED

      public static final EndSensitivity.Known END_SENSITIVITY_UNSPECIFIED
      The default is END_SENSITIVITY_LOW.
    • END_SENSITIVITY_HIGH

      public static final EndSensitivity.Known END_SENSITIVITY_HIGH
      Automatic detection ends speech more often.
    • END_SENSITIVITY_LOW

      public static final EndSensitivity.Known END_SENSITIVITY_LOW
      Automatic detection ends speech less often.
  • Method Details

    • values

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