@java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      index_ = 0;
      content_ = null;
      if (contentBuilder_ != null) {
        contentBuilder_.dispose();
        contentBuilder_ = null;
      }
      score_ = 0D;
      avgLogprobs_ = 0D;
      logprobsResult_ = null;
      if (logprobsResultBuilder_ != null) {
        logprobsResultBuilder_.dispose();
        logprobsResultBuilder_ = null;
      }
      finishReason_ = 0;
      if (safetyRatingsBuilder_ == null) {
        safetyRatings_ = java.util.Collections.emptyList();
      } else {
        safetyRatings_ = null;
        safetyRatingsBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000040);
      finishMessage_ = "";
      citationMetadata_ = null;
      if (citationMetadataBuilder_ != null) {
        citationMetadataBuilder_.dispose();
        citationMetadataBuilder_ = null;
      }
      groundingMetadata_ = null;
      if (groundingMetadataBuilder_ != null) {
        groundingMetadataBuilder_.dispose();
        groundingMetadataBuilder_ = null;
      }
      return this;
    }
<pre>
A response candidate generated from the model.
</pre>

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