public static void BindService(grpc::ServiceBinderBase serviceBinder, CustomerAssetServiceBase serviceImpl) { serviceBinder.AddMethod(__Method_GetCustomerAsset, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V9.Services.GetCustomerAssetRequest, global::Google.Ads.GoogleAds.V9.Resources.CustomerAsset>(serviceImpl.GetCustomerAsset)); serviceBinder.AddMethod(__Method_MutateCustomerAssets, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V9.Services.MutateCustomerAssetsRequest, global::Google.Ads.GoogleAds.V9.Services.MutateCustomerAssetsResponse>(serviceImpl.MutateCustomerAssets)); }
public static grpc::ServerServiceDefinition BindService(CustomerAssetServiceBase serviceImpl) { return(grpc::ServerServiceDefinition.CreateBuilder() .AddMethod(__Method_GetCustomerAsset, serviceImpl.GetCustomerAsset) .AddMethod(__Method_MutateCustomerAssets, serviceImpl.MutateCustomerAssets).Build()); }