public Builder clearCandidates() {
        if (candidatesBuilder_ == null) {
          candidates_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          candidatesBuilder_.clear();
        }
        return this;
      }
<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