@java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj
            instanceof
            com.google.cloud.vertexai.api.GenerationConfig.RoutingConfig.AutoRoutingMode)) {
          return super.equals(obj);
        }
        com.google.cloud.vertexai.api.GenerationConfig.RoutingConfig.AutoRoutingMode other =
            (com.google.cloud.vertexai.api.GenerationConfig.RoutingConfig.AutoRoutingMode) obj;

        if (hasModelRoutingPreference() != other.hasModelRoutingPreference()) return false;
        if (hasModelRoutingPreference()) {
          if (modelRoutingPreference_ != other.modelRoutingPreference_) return false;
        }
        if (!getUnknownFields().equals(other.getUnknownFields())) return false;
        return true;
      }
<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