public Builder setModeValue(int value) {
      mode_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
<pre>
The mode of the predictor to be used in dynamic retrieval.
</pre>

<code>.google.cloud.vertexai.v1.DynamicRetrievalConfig.Mode mode = 1;</code>

@param value The enum numeric value on the wire for mode to set.
@return This builder for chaining.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DynamicRetrievalConfig.java