Package com.google.genai.types
Enum RubricContentType.Known
- All Implemented Interfaces:
Serializable,Comparable<RubricContentType.Known>
- Enclosing class:
- RubricContentType
Enum representing the known values for RubricContentType.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGenerate rubrics in an NL question answer format.Generate rubrics based on properties.Generate rubrics in a unit test format.The content type to generate is not specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic RubricContentType.KnownReturns the enum constant of this type with the specified name.static RubricContentType.Known[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RUBRIC_CONTENT_TYPE_UNSPECIFIED
The content type to generate is not specified. -
PROPERTY
Generate rubrics based on properties. -
NL_QUESTION_ANSWER
Generate rubrics in an NL question answer format. -
PYTHON_CODE_ASSERTION
Generate rubrics in a unit test format.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-