Class RetrievalResultDelta
java.lang.Object
com.google.genai.gaos.models.interactions.RetrievalResultDelta
- All Implemented Interfaces:
StepDeltaData
RetrievalResultDelta
Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. ToolResultDelta.type
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RetrievalResultDelta.Builderbuilder()booleaninthashCode()isError()Whether the retrieval resulted in an error.A signature hash for backend validation.toString()type()withIsError(Boolean isError) Whether the retrieval resulted in an error.withSignature(String signature) A signature hash for backend validation.
-
Constructor Details
-
RetrievalResultDelta
-
RetrievalResultDelta
public RetrievalResultDelta()
-
-
Method Details
-
isError
Whether the retrieval resulted in an error. -
signature
A signature hash for backend validation. -
type
- Specified by:
typein interfaceStepDeltaData
-
builder
-
withIsError
Whether the retrieval resulted in an error. -
withSignature
A signature hash for backend validation. -
equals
-
hashCode
public int hashCode() -
toString
-