Class GoogleSearchResultStep
java.lang.Object
com.google.genai.gaos.models.interactions.GoogleSearchResultStep
- All Implemented Interfaces:
Step
GoogleSearchResultStep
Google Search result step.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionGoogleSearchResultStep(String callId, Boolean isError, List<GoogleSearchResult> result, String signature) GoogleSearchResultStep(String callId, List<GoogleSearchResult> result) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()callId()Required.booleaninthashCode()isError()Whether the Google Search resulted in an error.result()Required.A signature hash for backend validation.toString()type()withCallId(String callId) Required.withIsError(Boolean isError) Whether the Google Search resulted in an error.withResult(List<GoogleSearchResult> result) Required.withSignature(String signature) A signature hash for backend validation.
-
Constructor Details
-
GoogleSearchResultStep
public GoogleSearchResultStep(@Nonnull String callId, @Nullable Boolean isError, @Nonnull List<GoogleSearchResult> result, @Nullable String signature) -
GoogleSearchResultStep
-
-
Method Details
-
callId
Required. ID to match the ID from the function call block. -
isError
Whether the Google Search resulted in an error. -
result
Required. The results of the Google Search. -
signature
A signature hash for backend validation. -
type
-
builder
-
withCallId
Required. ID to match the ID from the function call block. -
withIsError
Whether the Google Search resulted in an error. -
withResult
Required. The results of the Google Search. -
withSignature
A signature hash for backend validation. -
equals
-
hashCode
public int hashCode() -
toString
-