private void buildPartialRepeatedFields(com.google.cloud.vertexai.api.Candidate result) {
      if (safetyRatingsBuilder_ == null) {
        if (((bitField0_ & 0x00000040) != 0)) {
          safetyRatings_ = java.util.Collections.unmodifiableList(safetyRatings_);
          bitField0_ = (bitField0_ & ~0x00000040);
        }
        result.safetyRatings_ = safetyRatings_;
      } else {
        result.safetyRatings_ = safetyRatingsBuilder_.build();
      }
    }
<pre>
A response candidate generated from the model.
</pre>

Protobuf type {@code google.cloud.vertexai.v1.Candidate}
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Candidate.java