Enum RubricContentType.Known

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

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

    • RUBRIC_CONTENT_TYPE_UNSPECIFIED

      public static final RubricContentType.Known RUBRIC_CONTENT_TYPE_UNSPECIFIED
      The content type to generate is not specified.
    • PROPERTY

      public static final RubricContentType.Known PROPERTY
      Generate rubrics based on properties.
    • NL_QUESTION_ANSWER

      public static final RubricContentType.Known NL_QUESTION_ANSWER
      Generate rubrics in an NL question answer format.
    • PYTHON_CODE_ASSERTION

      public static final RubricContentType.Known PYTHON_CODE_ASSERTION
      Generate rubrics in a unit test format.
  • Method Details

    • values

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