public com.google.cloud.vertexai.api.LogprobsResult.TopCandidates.Builder
        addTopCandidatesBuilder() {
      return getTopCandidatesFieldBuilder()
          .addBuilder(
              com.google.cloud.vertexai.api.LogprobsResult.TopCandidates.getDefaultInstance());
    }
<pre>
Length = total number of decoding steps.
</pre>

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