@java.lang.Override
  public com.google.cloud.vertexai.api.PresetsOrBuilder getPresetsOrBuilder() {
    if (configCase_ == 4) {
      return (com.google.cloud.vertexai.api.Presets) config_;
    }
    return com.google.cloud.vertexai.api.Presets.getDefaultInstance();
  }
<pre>
Simplified preset configuration, which automatically sets configuration
values based on the desired query speed-precision trade-off and modality.
</pre>

<code>.google.cloud.vertexai.v1.Presets presets = 4;</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Examples.java