@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, token_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeFloat(2, logProbability_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeInt32(3, tokenId_);
      }
      getUnknownFields().writeTo(output);
    }
<pre>
The candidate's log probability.
</pre>

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

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