public Builder setDynamicRetrievalConfig(
        com.google.cloud.vertexai.api.DynamicRetrievalConfig value) {
      if (dynamicRetrievalConfigBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        dynamicRetrievalConfig_ = value;
      } else {
        dynamicRetrievalConfigBuilder_.setMessage(value);
      }
      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