Class PromptFeedback
java.lang.Object
com.google.genai.gaos.models.decisions.PromptFeedback
PromptFeedback
Feedback from input content filters.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.static PromptFeedback.Builderbuilder()booleaninthashCode()toString()withBlockReason(BlockReason blockReason) Optional.withBlockReasonMessage(String blockReasonMessage) Optional.
-
Constructor Details
-
PromptFeedback
-
PromptFeedback
public PromptFeedback()
-
-
Method Details
-
blockReason
Optional. If set, the input was blocked and no answers are returned. -
blockReasonMessage
Optional. Optional message detailing the reason for blocking. -
builder
-
withBlockReason
Optional. If set, the input was blocked and no answers are returned. -
withBlockReasonMessage
Optional. Optional message detailing the reason for blocking. -
equals
-
hashCode
public int hashCode() -
toString
-