@java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (getRagResourcesCount() > 0) {
      hash = (37 * hash) + RAG_RESOURCES_FIELD_NUMBER;
      hash = (53 * hash) + getRagResourcesList().hashCode();
    }
    if (hasSimilarityTopK()) {
      hash = (37 * hash) + SIMILARITY_TOP_K_FIELD_NUMBER;
      hash = (53 * hash) + getSimilarityTopK();
    }
    if (hasVectorDistanceThreshold()) {
      hash = (37 * hash) + VECTOR_DISTANCE_THRESHOLD_FIELD_NUMBER;
      hash =
          (53 * hash)
              + com.google.protobuf.Internal.hashLong(
                  java.lang.Double.doubleToLongBits(getVectorDistanceThreshold()));
    }
    if (hasRagRetrievalConfig()) {
      hash = (37 * hash) + RAG_RETRIEVAL_CONFIG_FIELD_NUMBER;
      hash = (53 * hash) + getRagRetrievalConfig().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }
<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