public Builder mergeFrom(com.google.cloud.vertexai.api.RagRetrievalConfig other) {
      if (other == com.google.cloud.vertexai.api.RagRetrievalConfig.getDefaultInstance())
        return this;
      if (other.getTopK() != 0) {
        setTopK(other.getTopK());
      }
      if (other.hasFilter()) {
        mergeFilter(other.getFilter());
      }
      if (other.hasRanking()) {
        mergeRanking(other.getRanking());
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
Specifies the context retrieval config.
</pre>

Protobuf type {@code google.cloud.vertexai.v1.RagRetrievalConfig}
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/RagRetrievalConfig.java