private void ensureSafetyRatingsIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          safetyRatings_ =
              new java.util.ArrayList<com.google.cloud.vertexai.api.SafetyRating>(safetyRatings_);
          bitField0_ |= 0x00000002;
        }
      }
<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 This builder for chaining.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentResponse.java