public Builder setAutoMode(
          com.google.cloud.vertexai.api.GenerationConfig.RoutingConfig.AutoRoutingMode value) {
        if (autoModeBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          routingConfig_ = value;
          onChanged();
        } else {
          autoModeBuilder_.setMessage(value);
        }
        routingConfigCase_ = 1;
        return this;
      }
<pre>
Automated routing.
</pre>

<code>
.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.AutoRoutingMode auto_mode = 1;
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerationConfig.java