private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.cloud.vertexai.api.LogprobsResult.Candidate,
            com.google.cloud.vertexai.api.LogprobsResult.Candidate.Builder,
            com.google.cloud.vertexai.api.LogprobsResult.CandidateOrBuilder>
        getChosenCandidatesFieldBuilder() {
      if (chosenCandidatesBuilder_ == null) {
        chosenCandidatesBuilder_ =
            new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.cloud.vertexai.api.LogprobsResult.Candidate,
                com.google.cloud.vertexai.api.LogprobsResult.Candidate.Builder,
                com.google.cloud.vertexai.api.LogprobsResult.CandidateOrBuilder>(
                chosenCandidates_,
                ((bitField0_ & 0x00000002) != 0),
                getParentForChildren(),
                isClean());
        chosenCandidates_ = null;
      }
      return chosenCandidatesBuilder_;
    }
<pre>
Length = total number of decoding steps.
The chosen candidates may or may not be in top_candidates.
</pre>

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