public Builder mergeFrom(com.google.cloud.vertexai.api.SafetyRating other) {
      if (other == com.google.cloud.vertexai.api.SafetyRating.getDefaultInstance()) return this;
      if (other.category_ != 0) {
        setCategoryValue(other.getCategoryValue());
      }
      if (other.probability_ != 0) {
        setProbabilityValue(other.getProbabilityValue());
      }
      if (other.getProbabilityScore() != 0F) {
        setProbabilityScore(other.getProbabilityScore());
      }
      if (other.severity_ != 0) {
        setSeverityValue(other.getSeverityValue());
      }
      if (other.getSeverityScore() != 0F) {
        setSeverityScore(other.getSeverityScore());
      }
      if (other.getBlocked() != false) {
        setBlocked(other.getBlocked());
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
Safety rating corresponding to the generated content.
</pre>

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