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"]],[["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-04-17 UTC."],[[["This webpage details the `PredictionService` class within the `Google.Cloud.Retail.V2` namespace, which is used for making recommendation predictions."],["The latest version available for the `PredictionService` is 2.12.0, with previous versions ranging back to 1.0.0 also documented and linked."],["The `PredictionService` class inherits members from `System.Object`, including methods like `ToString()`, `GetHashCode()`, `GetType()`, and `MemberwiseClone()`."],["The page documents two `BindService` methods, one to create a service definition for a server and another to register service methods with a service binder."],["The service implementation for `BindService` methods is based on the `PredictionService.PredictionServiceBase` object."]]],[]]