GeneratedCodeGenConfigBuilder.java

package io.github.deweyjose.codegen.generated;

import com.netflix.graphql.dgs.codegen.CodeGenConfig;
import com.netflix.graphql.dgs.codegen.Language;
import java.io.File;
import java.lang.String;
import java.nio.file.Path;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * Auto-generated by BuilderCodegen. DO NOT EDIT.
 */
public class GeneratedCodeGenConfigBuilder {
  private Set<String> schemas;

  private Set<File> schemaFiles;

  private List<File> schemaJarFilesFromDependencies;

  private Path outputDir;

  private Path examplesOutputDir;

  private boolean writeToFiles;

  private String packageName;

  private String subPackageNameClient;

  private String subPackageNameDatafetchers;

  private String subPackageNameTypes;

  private String subPackageNameDocs;

  private Language language;

  private boolean generateBoxedTypes;

  private boolean generateIsGetterForPrimitiveBooleanFields;

  private boolean generateClientApi;

  private boolean generateClientApiv2;

  private boolean generateInterfaces;

  private boolean generateKotlinNullableClasses;

  private boolean generateKotlinClosureProjections;

  private Map<String, String> typeMapping;

  private Set<String> includeQueries;

  private Set<String> includeMutations;

  private Set<String> includeSubscriptions;

  private boolean skipEntityQueries;

  private boolean shortProjectionNames;

  private boolean generateDataTypes;

  private boolean omitNullInputFields;

  private int maxProjectionDepth;

  private boolean kotlinAllFieldsOptional;

  private boolean snakeCaseConstantNames;

  private boolean generateInterfaceSetters;

  private boolean generateInterfaceMethodsForInterfaceFields;

  private boolean generateDocs;

  private Path generatedDocsFolder;

  private Map<String, String> includeImports;

  private Map<String, Map<String, String>> includeEnumImports;

  private Map<String, Map<String, String>> includeClassImports;

  private boolean generateCustomAnnotations;

  private boolean javaGenerateAllConstructor;

  private boolean implementSerializable;

  private boolean addGeneratedAnnotation;

  private boolean disableDatesInGeneratedAnnotation;

  private boolean addDeprecatedAnnotation;

  private boolean trackInputFieldSet;

  public GeneratedCodeGenConfigBuilder setSchemas(Set<String> schemas) {
    this.schemas = schemas;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setSchemaFiles(Set<File> schemaFiles) {
    this.schemaFiles = schemaFiles;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setSchemaJarFilesFromDependencies(
      List<File> schemaJarFilesFromDependencies) {
    this.schemaJarFilesFromDependencies = schemaJarFilesFromDependencies;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setOutputDir(Path outputDir) {
    this.outputDir = outputDir;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setExamplesOutputDir(Path examplesOutputDir) {
    this.examplesOutputDir = examplesOutputDir;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setWriteToFiles(boolean writeToFiles) {
    this.writeToFiles = writeToFiles;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setPackageName(String packageName) {
    this.packageName = packageName;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setSubPackageNameClient(String subPackageNameClient) {
    this.subPackageNameClient = subPackageNameClient;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setSubPackageNameDatafetchers(
      String subPackageNameDatafetchers) {
    this.subPackageNameDatafetchers = subPackageNameDatafetchers;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setSubPackageNameTypes(String subPackageNameTypes) {
    this.subPackageNameTypes = subPackageNameTypes;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setSubPackageNameDocs(String subPackageNameDocs) {
    this.subPackageNameDocs = subPackageNameDocs;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setLanguage(Language language) {
    this.language = language;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setGenerateBoxedTypes(boolean generateBoxedTypes) {
    this.generateBoxedTypes = generateBoxedTypes;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setGenerateIsGetterForPrimitiveBooleanFields(
      boolean generateIsGetterForPrimitiveBooleanFields) {
    this.generateIsGetterForPrimitiveBooleanFields = generateIsGetterForPrimitiveBooleanFields;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setGenerateClientApi(boolean generateClientApi) {
    this.generateClientApi = generateClientApi;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setGenerateClientApiv2(boolean generateClientApiv2) {
    this.generateClientApiv2 = generateClientApiv2;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setGenerateInterfaces(boolean generateInterfaces) {
    this.generateInterfaces = generateInterfaces;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setGenerateKotlinNullableClasses(
      boolean generateKotlinNullableClasses) {
    this.generateKotlinNullableClasses = generateKotlinNullableClasses;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setGenerateKotlinClosureProjections(
      boolean generateKotlinClosureProjections) {
    this.generateKotlinClosureProjections = generateKotlinClosureProjections;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setTypeMapping(Map<String, String> typeMapping) {
    this.typeMapping = typeMapping;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setIncludeQueries(Set<String> includeQueries) {
    this.includeQueries = includeQueries;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setIncludeMutations(Set<String> includeMutations) {
    this.includeMutations = includeMutations;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setIncludeSubscriptions(Set<String> includeSubscriptions) {
    this.includeSubscriptions = includeSubscriptions;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setSkipEntityQueries(boolean skipEntityQueries) {
    this.skipEntityQueries = skipEntityQueries;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setShortProjectionNames(boolean shortProjectionNames) {
    this.shortProjectionNames = shortProjectionNames;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setGenerateDataTypes(boolean generateDataTypes) {
    this.generateDataTypes = generateDataTypes;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setOmitNullInputFields(boolean omitNullInputFields) {
    this.omitNullInputFields = omitNullInputFields;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setMaxProjectionDepth(int maxProjectionDepth) {
    this.maxProjectionDepth = maxProjectionDepth;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setKotlinAllFieldsOptional(boolean kotlinAllFieldsOptional) {
    this.kotlinAllFieldsOptional = kotlinAllFieldsOptional;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setSnakeCaseConstantNames(boolean snakeCaseConstantNames) {
    this.snakeCaseConstantNames = snakeCaseConstantNames;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setGenerateInterfaceSetters(
      boolean generateInterfaceSetters) {
    this.generateInterfaceSetters = generateInterfaceSetters;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setGenerateInterfaceMethodsForInterfaceFields(
      boolean generateInterfaceMethodsForInterfaceFields) {
    this.generateInterfaceMethodsForInterfaceFields = generateInterfaceMethodsForInterfaceFields;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setGenerateDocs(boolean generateDocs) {
    this.generateDocs = generateDocs;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setGeneratedDocsFolder(Path generatedDocsFolder) {
    this.generatedDocsFolder = generatedDocsFolder;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setIncludeImports(Map<String, String> includeImports) {
    this.includeImports = includeImports;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setIncludeEnumImports(
      Map<String, Map<String, String>> includeEnumImports) {
    this.includeEnumImports = includeEnumImports;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setIncludeClassImports(
      Map<String, Map<String, String>> includeClassImports) {
    this.includeClassImports = includeClassImports;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setGenerateCustomAnnotations(
      boolean generateCustomAnnotations) {
    this.generateCustomAnnotations = generateCustomAnnotations;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setJavaGenerateAllConstructor(
      boolean javaGenerateAllConstructor) {
    this.javaGenerateAllConstructor = javaGenerateAllConstructor;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setImplementSerializable(boolean implementSerializable) {
    this.implementSerializable = implementSerializable;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setAddGeneratedAnnotation(boolean addGeneratedAnnotation) {
    this.addGeneratedAnnotation = addGeneratedAnnotation;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setDisableDatesInGeneratedAnnotation(
      boolean disableDatesInGeneratedAnnotation) {
    this.disableDatesInGeneratedAnnotation = disableDatesInGeneratedAnnotation;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setAddDeprecatedAnnotation(boolean addDeprecatedAnnotation) {
    this.addDeprecatedAnnotation = addDeprecatedAnnotation;
    return this;
  }

  public GeneratedCodeGenConfigBuilder setTrackInputFieldSet(boolean trackInputFieldSet) {
    this.trackInputFieldSet = trackInputFieldSet;
    return this;
  }

  public CodeGenConfig build() {
    return new CodeGenConfig(schemas, schemaFiles, schemaJarFilesFromDependencies, outputDir, examplesOutputDir, writeToFiles, packageName, subPackageNameClient, subPackageNameDatafetchers, subPackageNameTypes, subPackageNameDocs, language, generateBoxedTypes, generateIsGetterForPrimitiveBooleanFields, generateClientApi, generateClientApiv2, generateInterfaces, generateKotlinNullableClasses, generateKotlinClosureProjections, typeMapping, includeQueries, includeMutations, includeSubscriptions, skipEntityQueries, shortProjectionNames, generateDataTypes, omitNullInputFields, maxProjectionDepth, kotlinAllFieldsOptional, snakeCaseConstantNames, generateInterfaceSetters, generateInterfaceMethodsForInterfaceFields, generateDocs, generatedDocsFolder, includeImports, includeEnumImports, includeClassImports, generateCustomAnnotations, javaGenerateAllConstructor, implementSerializable, addGeneratedAnnotation, disableDatesInGeneratedAnnotation, addDeprecatedAnnotation, trackInputFieldSet);
  }
}