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\u003eThe webpage provides documentation for the \u003ccode\u003ePredictionServiceConnection\u003c/code\u003e class within the Google Cloud AutoML C++ library, detailing its role in managing connections for the \u003ccode\u003ePredictionServiceClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists various versions of the \u003ccode\u003ePredictionServiceConnection\u003c/code\u003e class, ranging from version 2.11.0 up to the latest release candidate version, 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePredictionServiceConnection\u003c/code\u003e class defines virtual methods for user-facing operations, such as \u003ccode\u003ePredict\u003c/code\u003e and \u003ccode\u003eBatchPredict\u003c/code\u003e, allowing for the injection of custom behavior for testing purposes.\u003c/p\u003e\n"],["\u003cp\u003eUsers can create concrete instances of \u003ccode\u003ePredictionServiceConnection\u003c/code\u003e using the \u003ccode\u003eMakePredictionServiceConnection()\u003c/code\u003e function, or utilize the \u003ccode\u003eMockPredictionServiceConnection\u003c/code\u003e class for mocking.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePredictionServiceConnection\u003c/code\u003e class includes methods to set options and handle prediction requests, including single prediction requests using \u003ccode\u003ePredict\u003c/code\u003e, and batch prediction requests with the \u003ccode\u003eBatchPredict\u003c/code\u003e method.\u003c/p\u003e\n"]]],[],null,[]]