@java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.vertexai.api.LogprobsResult.TopCandidates)) {
        return super.equals(obj);
      }
      com.google.cloud.vertexai.api.LogprobsResult.TopCandidates other =
          (com.google.cloud.vertexai.api.LogprobsResult.TopCandidates) obj;

      if (!getCandidatesList().equals(other.getCandidatesList())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
Sorted by log probability in descending order.
</pre>

<code>repeated .google.cloud.vertexai.v1.LogprobsResult.Candidate candidates = 1;</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/LogprobsResult.java