Class CreateDecisionResponse
java.lang.Object
com.google.genai.gaos.models.decisions.CreateDecisionResponse
CreateDecisionResponse
Response message for `CreateDecision`.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCreateDecisionResponse(Map<String, Answer> answers, PromptFeedback promptFeedback, Usage usage) -
Method Summary
Modifier and TypeMethodDescriptionanswers()Output only.builder()booleaninthashCode()Feedback from input content filters.toString()usage()Statistics on the interaction request's token usage.withAnswers(Map<String, Answer> answers) Output only.withPromptFeedback(PromptFeedback promptFeedback) Feedback from input content filters.Statistics on the interaction request's token usage.
-
Constructor Details
-
CreateDecisionResponse
public CreateDecisionResponse(@Nullable Map<String, Answer> answers, @Nullable PromptFeedback promptFeedback, @Nullable Usage usage) -
CreateDecisionResponse
public CreateDecisionResponse()
-
-
Method Details
-
answers
Output only. Decision answers keyed by the question identifiers from `CreateDecisionRequest.questions`. -
promptFeedback
Feedback from input content filters. -
usage
Statistics on the interaction request's token usage. -
builder
-
withAnswers
Output only. Decision answers keyed by the question identifiers from `CreateDecisionRequest.questions`. -
withPromptFeedback
Feedback from input content filters. -
withUsage
Statistics on the interaction request's token usage. -
equals
-
hashCode
public int hashCode() -
toString
-