public Builder mergeFrom(com.google.cloud.vertexai.api.GenerationConfig other) {
      if (other == com.google.cloud.vertexai.api.GenerationConfig.getDefaultInstance()) return this;
      if (other.hasTemperature()) {
        setTemperature(other.getTemperature());
      }
      if (other.hasTopP()) {
        setTopP(other.getTopP());
      }
      if (other.hasTopK()) {
        setTopK(other.getTopK());
      }
      if (other.hasCandidateCount()) {
        setCandidateCount(other.getCandidateCount());
      }
      if (other.hasMaxOutputTokens()) {
        setMaxOutputTokens(other.getMaxOutputTokens());
      }
      if (!other.stopSequences_.isEmpty()) {
        if (stopSequences_.isEmpty()) {
          stopSequences_ = other.stopSequences_;
          bitField0_ |= 0x00000020;
        } else {
          ensureStopSequencesIsMutable();
          stopSequences_.addAll(other.stopSequences_);
        }
        onChanged();
      }
      if (other.hasResponseLogprobs()) {
        setResponseLogprobs(other.getResponseLogprobs());
      }
      if (other.hasLogprobs()) {
        setLogprobs(other.getLogprobs());
      }
      if (other.hasPresencePenalty()) {
        setPresencePenalty(other.getPresencePenalty());
      }
      if (other.hasFrequencyPenalty()) {
        setFrequencyPenalty(other.getFrequencyPenalty());
      }
      if (other.hasSeed()) {
        setSeed(other.getSeed());
      }
      if (!other.getResponseMimeType().isEmpty()) {
        responseMimeType_ = other.responseMimeType_;
        bitField0_ |= 0x00000800;
        onChanged();
      }
      if (other.hasResponseSchema()) {
        mergeResponseSchema(other.getResponseSchema());
      }
      if (other.hasRoutingConfig()) {
        mergeRoutingConfig(other.getRoutingConfig());
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
Generation config.
</pre>

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