public static void BindService(grpc::ServiceBinderBase serviceBinder, AssetGroupAssetServiceBase serviceImpl) { serviceBinder.AddMethod(__Method_GetAssetGroupAsset, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V9.Services.GetAssetGroupAssetRequest, global::Google.Ads.GoogleAds.V9.Resources.AssetGroupAsset>(serviceImpl.GetAssetGroupAsset)); serviceBinder.AddMethod(__Method_MutateAssetGroupAssets, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V9.Services.MutateAssetGroupAssetsRequest, global::Google.Ads.GoogleAds.V9.Services.MutateAssetGroupAssetsResponse>(serviceImpl.MutateAssetGroupAssets)); }
public static grpc::ServerServiceDefinition BindService(AssetGroupAssetServiceBase serviceImpl) { return(grpc::ServerServiceDefinition.CreateBuilder() .AddMethod(__Method_GetAssetGroupAsset, serviceImpl.GetAssetGroupAsset) .AddMethod(__Method_MutateAssetGroupAssets, serviceImpl.MutateAssetGroupAssets).Build()); }