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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-14 UTC."],[[["The webpage lists different versions of the `PredictionServiceConnection` class, ranging from the latest release candidate, version 2.37.0-rc, down to version 2.11.0."],["`PredictionServiceConnection` defines virtual methods for each user-facing overload set in `PredictionServiceClient`, facilitating the injection of custom behavior for testing."],["Users can create a concrete instance of `PredictionServiceConnection` using `MakePredictionServiceConnection()`."],["For testing purposes, `retail_v2_mocks::MockPredictionServiceConnection` is available for mocking."],["The `Predict` method takes a `google::cloud::retail::v2::PredictRequest` as input and returns a `StatusOr\u003cgoogle::cloud::retail::v2::PredictResponse\u003e`."]]],[]]