public Builder mergeFrom(com.google.cloud.vertexai.api.LogprobsResult.TopCandidates other) {
        if (other
            == com.google.cloud.vertexai.api.LogprobsResult.TopCandidates.getDefaultInstance())
          return this;
        if (candidatesBuilder_ == null) {
          if (!other.candidates_.isEmpty()) {
            if (candidates_.isEmpty()) {
              candidates_ = other.candidates_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureCandidatesIsMutable();
              candidates_.addAll(other.candidates_);
            }
            onChanged();
          }
        } else {
          if (!other.candidates_.isEmpty()) {
            if (candidatesBuilder_.isEmpty()) {
              candidatesBuilder_.dispose();
              candidatesBuilder_ = null;
              candidates_ = other.candidates_;
              bitField0_ = (bitField0_ & ~0x00000001);
              candidatesBuilder_ =
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                      ? getCandidatesFieldBuilder()
                      : null;
            } else {
              candidatesBuilder_.addAllMessages(other.candidates_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }
<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