public Builder mergeDynamicRetrievalConfig(
        com.google.cloud.vertexai.api.DynamicRetrievalConfig value) {
      if (dynamicRetrievalConfigBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)
            && dynamicRetrievalConfig_ != null
            && dynamicRetrievalConfig_
                != com.google.cloud.vertexai.api.DynamicRetrievalConfig.getDefaultInstance()) {
          getDynamicRetrievalConfigBuilder().mergeFrom(value);
        } else {
          dynamicRetrievalConfig_ = value;
        }
      } else {
        dynamicRetrievalConfigBuilder_.mergeFrom(value);
      }
      if (dynamicRetrievalConfig_ != null) {
        bitField0_ |= 0x00000001;
        onChanged();
      }
      return this;
    }
<pre>
Specifies the dynamic retrieval configuration for the given source.
</pre>

<code>.google.cloud.vertexai.v1.DynamicRetrievalConfig dynamic_retrieval_config = 2;</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GoogleSearchRetrieval.java