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, which is fundamental for interacting with \u003ccode\u003ePredictionServiceClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePredictionServiceConnection\u003c/code\u003e interface defines virtual methods corresponding to each user-facing overload set found within \u003ccode\u003ePredictionServiceClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release candidate for this documentation is version 2.37.0-rc, with multiple previous versions available, ranging down to 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMakePredictionServiceConnection()\u003c/code\u003e can be used to create a concrete instance of the object, while \u003ccode\u003eMockPredictionServiceConnection\u003c/code\u003e can be used to add custom behavior for testing purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePredict\u003c/code\u003e and \u003ccode\u003eBatchPredict\u003c/code\u003e virtual functions, that take in a \u003ccode\u003ePredictRequest\u003c/code\u003e or \u003ccode\u003eBatchPredictRequest\u003c/code\u003e respectively, are listed with their request and return type information.\u003c/p\u003e\n"]]],[],null,[]]