private void buildPartialRepeatedFields(
          com.google.cloud.vertexai.api.LogprobsResult.TopCandidates result) {
        if (candidatesBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            candidates_ = java.util.Collections.unmodifiableList(candidates_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.candidates_ = candidates_;
        } else {
          result.candidates_ = candidatesBuilder_.build();
        }
      }
<pre>
Candidates with top log probabilities at each decoding step.
</pre>

Protobuf type {@code google.cloud.vertexai.v1.LogprobsResult.TopCandidates}
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/LogprobsResult.java