@CanIgnoreReturnValue
    public Builder setGenerationConfig(GenerationConfig generationConfig) {
      checkNotNull(generationConfig, "GenerationConfig can't be null.");
      this.generationConfig = generationConfig;
      return this;
    }
Sets {@link com.google.cloud.vertexai.api.GenerationConfig} that will be used by default to
interact with the generative model.
java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/generativeai/GenerativeModel.java