@java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasToken()) {
        hash = (37 * hash) + TOKEN_FIELD_NUMBER;
        hash = (53 * hash) + getToken().hashCode();
      }
      if (hasTokenId()) {
        hash = (37 * hash) + TOKEN_ID_FIELD_NUMBER;
        hash = (53 * hash) + getTokenId();
      }
      if (hasLogProbability()) {
        hash = (37 * hash) + LOG_PROBABILITY_FIELD_NUMBER;
        hash = (53 * hash) + java.lang.Float.floatToIntBits(getLogProbability());
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }
<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