This interface defines virtual methods for each of the user-facing overload sets in PredictionServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type PredictionServiceClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["The latest version available is 2.37.0-rc, with previous versions listed down to 2.11.0, all related to the `PredictionServiceConnection` class."],["`PredictionServiceConnection` defines virtual methods for user-facing overload sets in `PredictionServiceClient`, enabling users to customize behavior during testing."],["You can create a real `PredictionServiceConnection` instance using `MakePredictionServiceConnection()`."],["For testing and mocking purposes, `retail_v2_mocks::MockPredictionServiceConnection` can be used."],["The `PredictionServiceConnection` interface includes functions like `options()` and `Predict(google::cloud::retail::v2::PredictRequest const &)`, that returns `StatusOr\u003c google::cloud::retail::v2::PredictResponse \u003e`."]]],[]]