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

    if (!getRagResourcesList().equals(other.getRagResourcesList())) return false;
    if (hasSimilarityTopK() != other.hasSimilarityTopK()) return false;
    if (hasSimilarityTopK()) {
      if (getSimilarityTopK() != other.getSimilarityTopK()) return false;
    }
    if (hasVectorDistanceThreshold() != other.hasVectorDistanceThreshold()) return false;
    if (hasVectorDistanceThreshold()) {
      if (java.lang.Double.doubleToLongBits(getVectorDistanceThreshold())
          != java.lang.Double.doubleToLongBits(other.getVectorDistanceThreshold())) return false;
    }
    if (hasRagRetrievalConfig() != other.hasRagRetrievalConfig()) return false;
    if (hasRagRetrievalConfig()) {
      if (!getRagRetrievalConfig().equals(other.getRagRetrievalConfig())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Optional. The retrieval config for the Rag query.
</pre>

<code>
.google.cloud.vertexai.v1.RagRetrievalConfig rag_retrieval_config = 6 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VertexRagStore.java