Class FixRequest.Builder

java.lang.Object
com.google.genai.gaos.models.interactions.FixRequest.Builder
Enclosing class:
FixRequest

public static final class FixRequest.Builder extends Object
  • Method Details

    • description

      public FixRequest.Builder description(@Nullable String description)
      Additional context or custom instructions provided by the user to guide the patch generation process.
    • findingId

      public FixRequest.Builder findingId(@Nullable String findingId)
      The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability.
    • sourceFiles

      public FixRequest.Builder sourceFiles(@Nullable List<FileContent> sourceFiles)
      A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability.
    • build

      public FixRequest build()