public Builder mergePresets(com.google.cloud.vertexai.api.Presets value) {
      if (presetsBuilder_ == null) {
        if (configCase_ == 4
            && config_ != com.google.cloud.vertexai.api.Presets.getDefaultInstance()) {
          config_ =
              com.google.cloud.vertexai.api.Presets.newBuilder(
                      (com.google.cloud.vertexai.api.Presets) config_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          config_ = value;
        }
        onChanged();
      } else {
        if (configCase_ == 4) {
          presetsBuilder_.mergeFrom(value);
        } else {
          presetsBuilder_.setMessage(value);
        }
      }
      configCase_ = 4;
      return this;
    }
<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