private void ensureCandidatesIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          candidates_ =
              new java.util.ArrayList<com.google.cloud.vertexai.api.LogprobsResult.Candidate>(
                  candidates_);
          bitField0_ |= 0x00000001;
        }
      }
<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