@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)) {
        return super.equals(obj);
      }
      com.google.cloud.vertexai.api.RagRetrievalConfig.Ranking other =
          (com.google.cloud.vertexai.api.RagRetrievalConfig.Ranking) obj;

      if (!getRankingConfigCase().equals(other.getRankingConfigCase())) return false;
      switch (rankingConfigCase_) {
        case 1:
          if (!getRankService().equals(other.getRankService())) return false;
          break;
        case 3:
          if (!getLlmRanker().equals(other.getLlmRanker())) return false;
          break;
        case 0:
        default:
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
Optional. Config for LlmRanker.
</pre>

<code>
.google.cloud.vertexai.v1.RagRetrievalConfig.Ranking.LlmRanker llm_ranker = 3 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/RagRetrievalConfig.java