@java.lang.Override
    public int getSafetyRatingsCount() {
      return safetyRatings_.size();
    }
<pre>
Output only. Safety ratings.
</pre>

<code>
repeated .google.cloud.vertexai.v1.SafetyRating safety_ratings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentResponse.java