public static void BindService(ServiceBinderBase serviceBinder, PredictionService.PredictionServiceBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
Parameters
Name
Description
serviceBinder
Grpc.Core.ServiceBinderBase
Service methods will be bound by calling AddMethod on this object.
[[["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-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003ePredictionService\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e namespace, which is used for making recommendation predictions.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the \u003ccode\u003ePredictionService\u003c/code\u003e is 2.12.0, with previous versions ranging back to 1.0.0 also documented and linked.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePredictionService\u003c/code\u003e class inherits members from \u003ccode\u003eSystem.Object\u003c/code\u003e, including methods like \u003ccode\u003eToString()\u003c/code\u003e, \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eMemberwiseClone()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page documents two \u003ccode\u003eBindService\u003c/code\u003e methods, one to create a service definition for a server and another to register service methods with a service binder.\u003c/p\u003e\n"],["\u003cp\u003eThe service implementation for \u003ccode\u003eBindService\u003c/code\u003e methods is based on the \u003ccode\u003ePredictionService.PredictionServiceBase\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]