private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.cloud.vertexai.api.SafetyRating,
            com.google.cloud.vertexai.api.SafetyRating.Builder,
            com.google.cloud.vertexai.api.SafetyRatingOrBuilder>
        getSafetyRatingsFieldBuilder() {
      if (safetyRatingsBuilder_ == null) {
        safetyRatingsBuilder_ =
            new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.cloud.vertexai.api.SafetyRating,
                com.google.cloud.vertexai.api.SafetyRating.Builder,
                com.google.cloud.vertexai.api.SafetyRatingOrBuilder>(
                safetyRatings_,
                ((bitField0_ & 0x00000040) != 0),
                getParentForChildren(),
                isClean());
        safetyRatings_ = null;
      }
      return safetyRatingsBuilder_;
    }
<pre>
Output only. List of ratings for the safety of a response candidate.

There is at most one rating per category.
</pre>

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