public Builder mergeFrom(com.google.cloud.vertexai.api.SafetySetting other) {
      if (other == com.google.cloud.vertexai.api.SafetySetting.getDefaultInstance()) return this;
      if (other.category_ != 0) {
        setCategoryValue(other.getCategoryValue());
      }
      if (other.threshold_ != 0) {
        setThresholdValue(other.getThresholdValue());
      }
      if (other.method_ != 0) {
        setMethodValue(other.getMethodValue());
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
Safety settings.
</pre>

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