@java.lang.Override
    public float getPresencePenalty() {
      return presencePenalty_;
    }
<pre>
Optional. Positive penalties.
</pre>

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

@return The presencePenalty.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerationConfig.java