public Builder setLogProbability(float value) {

        logProbability_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
<pre>
The candidate's log probability.
</pre>

<code>optional float log_probability = 2;</code>

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