Class FixRequest
java.lang.Object
com.google.genai.gaos.models.interactions.FixRequest
FixRequest
Request parameters specific to FIX sessions, used for generating and validating security patches.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFixRequest(String description, String findingId, List<FileContent> sourceFiles) -
Method Summary
Modifier and TypeMethodDescriptionstatic FixRequest.Builderbuilder()Additional context or custom instructions provided by the user to guide the patch generation process.booleanThe identifier of the specific security finding to be remediated.inthashCode()A list of source files providing context for the remediation.toString()withDescription(String description) Additional context or custom instructions provided by the user to guide the patch generation process.withFindingId(String findingId) The identifier of the specific security finding to be remediated.withSourceFiles(List<FileContent> sourceFiles) A list of source files providing context for the remediation.
-
Constructor Details
-
FixRequest
public FixRequest(@Nullable String description, @Nullable String findingId, @Nullable List<FileContent> sourceFiles) -
FixRequest
public FixRequest()
-
-
Method Details
-
description
Additional context or custom instructions provided by the user to guide the patch generation process. -
findingId
The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability. -
sourceFiles
A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability. -
builder
-
withDescription
Additional context or custom instructions provided by the user to guide the patch generation process. -
withFindingId
The identifier of the specific security finding to be remediated. This ID maps to a previously discovered vulnerability. -
withSourceFiles
A list of source files providing context for the remediation. These files are typically the ones containing the identified vulnerability. -
equals
-
hashCode
public int hashCode() -
toString
-