public static void BindService(grpc::ServiceBinderBase serviceBinder, ConversionValueRuleServiceBase serviceImpl) { serviceBinder.AddMethod(__Method_GetConversionValueRule, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V9.Services.GetConversionValueRuleRequest, global::Google.Ads.GoogleAds.V9.Resources.ConversionValueRule>(serviceImpl.GetConversionValueRule)); serviceBinder.AddMethod(__Method_MutateConversionValueRules, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V9.Services.MutateConversionValueRulesRequest, global::Google.Ads.GoogleAds.V9.Services.MutateConversionValueRulesResponse>(serviceImpl.MutateConversionValueRules)); }
public static grpc::ServerServiceDefinition BindService(ConversionValueRuleServiceBase serviceImpl) { return(grpc::ServerServiceDefinition.CreateBuilder() .AddMethod(__Method_GetConversionValueRule, serviceImpl.GetConversionValueRule) .AddMethod(__Method_MutateConversionValueRules, serviceImpl.MutateConversionValueRules).Build()); }