Class NoulQuestionInstructions
java.lang.Object
com.google.genai.gaos.models.decisions.NoulQuestionInstructions
NoulQuestionInstructions
Required. Human-readable decision guidelines, rubrics, or criteria evaluated against the shared `input`. At least one content block is required.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionOptional<com.fasterxml.jackson.databind.JsonNode>asJson()Returns anOptionalcontaining the value as aJsonNode.booleaninthashCode()static NoulQuestionInstructionsof(DecisionInstructionContent value) static NoulQuestionInstructionsstatic NoulQuestionInstructionsof(List<DecisionInstructionContent> value) string()toString()
-
Method Details
-
of
-
of
-
of
-
decisionInstructionContent
Returns anOptionalcontaining the value if it is of typeDecisionInstructionContent, otherwise returns an emptyOptional.- Returns:
- an
Optionalcontaining theDecisionInstructionContentvalue, or empty if not of this type
-
arrayOfDecisionInstructionContent
Returns anOptionalcontaining the value if it is of typeList<DecisionInstructionContent>, otherwise returns an emptyOptional.- Returns:
- an
Optionalcontaining theList<DecisionInstructionContent>value, or empty if not of this type
-
string
Returns anOptionalcontaining the value if it is of typeString, otherwise returns an emptyOptional.- Returns:
- an
Optionalcontaining theStringvalue, or empty if not of this type
-
asJson
Returns anOptionalcontaining the value as aJsonNode. This accessor returns the raw JSON when the value doesn't match any of the defined union types.- Returns:
- an
Optionalcontaining theJsonNodevalue, or empty if value matched a known type
-
equals
-
hashCode
public int hashCode() -
toString
-