@java.lang.Override
    public com.google.cloud.vertexai.api.Presets getPresets() {
      if (presetsBuilder_ == null) {
        if (configCase_ == 4) {
          return (com.google.cloud.vertexai.api.Presets) config_;
        }
        return com.google.cloud.vertexai.api.Presets.getDefaultInstance();
      } else {
        if (configCase_ == 4) {
          return presetsBuilder_.getMessage();
        }
        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>

@return The presets.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Examples.java