public Builder mergeAutoMode(
          com.google.cloud.vertexai.api.GenerationConfig.RoutingConfig.AutoRoutingMode value) {
        if (autoModeBuilder_ == null) {
          if (routingConfigCase_ == 1
              && routingConfig_
                  != com.google.cloud.vertexai.api.GenerationConfig.RoutingConfig.AutoRoutingMode
                      .getDefaultInstance()) {
            routingConfig_ =
                com.google.cloud.vertexai.api.GenerationConfig.RoutingConfig.AutoRoutingMode
                    .newBuilder(
                        (com.google.cloud.vertexai.api.GenerationConfig.RoutingConfig
                                .AutoRoutingMode)
                            routingConfig_)
                    .mergeFrom(value)
                    .buildPartial();
          } else {
            routingConfig_ = value;
          }
          onChanged();
        } else {
          if (routingConfigCase_ == 1) {
            autoModeBuilder_.mergeFrom(value);
          } 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