@java.lang.Override
      public com.google.cloud.vertexai.api.GenerationConfig.RoutingConfig.AutoRoutingMode
          getAutoMode() {
        if (autoModeBuilder_ == null) {
          if (routingConfigCase_ == 1) {
            return (com.google.cloud.vertexai.api.GenerationConfig.RoutingConfig.AutoRoutingMode)
                routingConfig_;
          }
          return com.google.cloud.vertexai.api.GenerationConfig.RoutingConfig.AutoRoutingMode
              .getDefaultInstance();
        } else {
          if (routingConfigCase_ == 1) {
            return autoModeBuilder_.getMessage();
          }
          return com.google.cloud.vertexai.api.GenerationConfig.RoutingConfig.AutoRoutingMode
              .getDefaultInstance();
        }
      }
<pre>
Automated routing.
</pre>

<code>
.google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.AutoRoutingMode auto_mode = 1;
</code>

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