@java.lang.Override
    public float getTemperature() {
      return temperature_;
    }
<pre>
Optional. Controls the randomness of predictions.
</pre>

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

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