public ImmutableList<SafetySetting> getSafetySettings() {
    return safetySettings;
  }
Returns a list of {@link com.google.cloud.vertexai.api.SafetySetting} of this generative model.
java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/generativeai/GenerativeModel.java