Class RetrievalResultStep
java.lang.Object
com.google.genai.gaos.models.interactions.RetrievalResultStep
- All Implemented Interfaces:
Step
RetrievalResultStep
Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionRetrievalResultStep(String callId) RetrievalResultStep(String callId, Boolean isError, String signature) -
Method Summary
Modifier and TypeMethodDescriptionstatic RetrievalResultStep.Builderbuilder()callId()Required.booleaninthashCode()isError()Whether the retrieval resulted in an error.A signature hash for backend validation.toString()type()withCallId(String callId) Required.withIsError(Boolean isError) Whether the retrieval resulted in an error.withSignature(String signature) A signature hash for backend validation.
-
Constructor Details
-
RetrievalResultStep
-
RetrievalResultStep
-
-
Method Details
-
callId
Required. ID to match the ID from the function call block. -
isError
Whether the retrieval resulted in an error. -
signature
A signature hash for backend validation. -
type
-
builder
-
withCallId
Required. ID to match the ID from the function call block. -
withIsError
Whether the retrieval resulted in an error. -
withSignature
A signature hash for backend validation. -
equals
-
hashCode
public int hashCode() -
toString
-