public Builder setFrequencyPenalty(float value) {

      frequencyPenalty_ = value;
      bitField0_ |= 0x00000200;
      onChanged();
      return this;
    }
<pre>
Optional. Frequency penalties.
</pre>

<code>optional float frequency_penalty = 9 [(.google.api.field_behavior) = OPTIONAL];</code>

@param value The frequencyPenalty to set.
@return This builder for chaining.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerationConfig.java