public Builder setTemperature(float value) {

      temperature_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
<pre>
Optional. Controls the randomness of predictions.
</pre>

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

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