@java.lang.Override
  public boolean hasResponseLogprobs() {
    return ((bitField0_ & 0x00000020) != 0);
  }
<pre>
Optional. If true, export the logprobs results in response.
</pre>

<code>optional bool response_logprobs = 18 [(.google.api.field_behavior) = OPTIONAL];</code>

@return Whether the responseLogprobs field is set.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerationConfig.java