block Reason
public abstract GenerateContentResponsePromptFeedback.Builder blockReason(BlockedReason blockReason)
Setter for blockReason.
blockReason: Output only. The reason why the prompt was blocked.
@CanIgnoreReturnValue()
Setter for blockReason given a known enum.
blockReason: Output only. The reason why the prompt was blocked.
@CanIgnoreReturnValue()
Setter for blockReason given a string.
blockReason: Output only. The reason why the prompt was blocked.