@java.lang.Override
    public com.google.cloud.vertexai.api.GenerateContentResponse.PromptFeedback.BlockedReason
        getBlockReason() {
      com.google.cloud.vertexai.api.GenerateContentResponse.PromptFeedback.BlockedReason result =
          com.google.cloud.vertexai.api.GenerateContentResponse.PromptFeedback.BlockedReason
              .forNumber(blockReason_);
      return result == null
          ? com.google.cloud.vertexai.api.GenerateContentResponse.PromptFeedback.BlockedReason
              .UNRECOGNIZED
          : result;
    }
<pre>
Output only. Blocked reason.
</pre>

<code>
.google.cloud.vertexai.v1.GenerateContentResponse.PromptFeedback.BlockedReason block_reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>

@return The blockReason.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentResponse.java