Class FindRequest
java.lang.Object
com.google.genai.gaos.models.interactions.FindRequest
FindRequest
Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFindRequest(String description, String findingId, Mode mode, List<FileContent> sourceFiles) -
Method Summary
Modifier and TypeMethodDescriptionstatic FindRequest.Builderbuilder()Additional context or custom instructions provided by the user to guide the vulnerability analysis.booleanThe identifier of a specific finding to verify.inthashCode()mode()The mode of the find session.A list of source files to provide as context for the scan.toString()withDescription(String description) Additional context or custom instructions provided by the user to guide the vulnerability analysis.withFindingId(String findingId) The identifier of a specific finding to verify.The mode of the find session.withSourceFiles(List<FileContent> sourceFiles) A list of source files to provide as context for the scan.
-
Constructor Details
-
FindRequest
public FindRequest(@Nullable String description, @Nullable String findingId, @Nullable Mode mode, @Nullable List<FileContent> sourceFiles) -
FindRequest
public FindRequest()
-
-
Method Details
-
description
Additional context or custom instructions provided by the user to guide the vulnerability analysis. -
findingId
The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent's execution-based validation on a single vulnerability. -
mode
The mode of the find session. -
sourceFiles
A list of source files to provide as context for the scan. -
builder
-
withDescription
Additional context or custom instructions provided by the user to guide the vulnerability analysis. -
withFindingId
The identifier of a specific finding to verify. This is primarily used in VERIFY mode to focus the agent's execution-based validation on a single vulnerability. -
withMode
The mode of the find session. -
withSourceFiles
A list of source files to provide as context for the scan. -
equals
-
hashCode
public int hashCode() -
toString
-