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

        if (hasModelName() != other.hasModelName()) return false;
        if (hasModelName()) {
          if (!getModelName().equals(other.getModelName())) return false;
        }
        if (!getUnknownFields().equals(other.getUnknownFields())) return false;
        return true;
      }
<pre>
Optional. The model name of the rank service.
Format: `semantic-ranker-512&#64;latest`
</pre>

<code>optional string model_name = 1 [(.google.api.field_behavior) = OPTIONAL];</code>

@return The bytes for modelName.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/RagRetrievalConfig.java