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."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003ePredictionServiceConnection\u003c/code\u003e object for \u003ccode\u003ePredictionServiceClient\u003c/code\u003e, which is found within the google::cloud::automl::v1 namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePredictionServiceConnection\u003c/code\u003e interface defines virtual methods mirroring those in \u003ccode\u003ePredictionServiceClient\u003c/code\u003e, enabling custom behavior injection, particularly for testing.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides a comprehensive list of versions of the \u003ccode\u003ePredictionServiceConnection\u003c/code\u003e, starting from the latest release candidate 2.37.0-rc, going all the way down to 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakePredictionServiceConnection()\u003c/code\u003e function is mentioned as the method for creating a concrete instance of this object, whereas \u003ccode\u003eautoml_v1_mocks::MockPredictionServiceConnection\u003c/code\u003e is suggested for mocking purposes.\u003c/p\u003e\n"],["\u003cp\u003eKey functions are outlined such as virtual \u003ccode\u003eoptions()\u003c/code\u003e, \u003ccode\u003ePredict(google::cloud::automl::v1::PredictRequest const &)\u003c/code\u003e, and \u003ccode\u003eBatchPredict(google::cloud::automl::v1::BatchPredictRequest const &)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]