@java.lang.Override
        public com.google.cloud.vertexai.api.GenerationConfig.RoutingConfig.AutoRoutingMode
                .ModelRoutingPreference
            getModelRoutingPreference() {
          com.google.cloud.vertexai.api.GenerationConfig.RoutingConfig.AutoRoutingMode
                  .ModelRoutingPreference
              result =
                  com.google.cloud.vertexai.api.GenerationConfig.RoutingConfig.AutoRoutingMode
                      .ModelRoutingPreference.forNumber(modelRoutingPreference_);
          return result == null
              ? com.google.cloud.vertexai.api.GenerationConfig.RoutingConfig.AutoRoutingMode
                  .ModelRoutingPreference.UNRECOGNIZED
              : result;
        }
<pre>
The model routing preference.
</pre>

<code>
optional .google.cloud.vertexai.v1.GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreference model_routing_preference = 1;
</code>

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