public Builder mergeFrom(com.google.cloud.vertexai.api.RagRetrievalConfig.Filter other) {
        if (other == com.google.cloud.vertexai.api.RagRetrievalConfig.Filter.getDefaultInstance())
          return this;
        if (!other.getMetadataFilter().isEmpty()) {
          metadataFilter_ = other.metadataFilter_;
          bitField0_ |= 0x00000004;
          onChanged();
        }
        switch (other.getVectorDbThresholdCase()) {
          case VECTOR_DISTANCE_THRESHOLD:
            {
              setVectorDistanceThreshold(other.getVectorDistanceThreshold());
              break;
            }
          case VECTOR_SIMILARITY_THRESHOLD:
            {
              setVectorSimilarityThreshold(other.getVectorSimilarityThreshold());
              break;
            }
          case VECTORDBTHRESHOLD_NOT_SET:
            {
              break;
            }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }
<pre>
Config for filters.
</pre>

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