@java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        if (hasModelRoutingPreference()) {
          hash = (37 * hash) + MODEL_ROUTING_PREFERENCE_FIELD_NUMBER;
          hash = (53 * hash) + modelRoutingPreference_;
        }
        hash = (29 * hash) + getUnknownFields().hashCode();
        memoizedHashCode = hash;
        return hash;
      }
<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