public static void BindService(grpc::ServiceBinderBase serviceBinder, FeedItemSetServiceBase serviceImpl) { serviceBinder.AddMethod(__Method_GetFeedItemSet, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V9.Services.GetFeedItemSetRequest, global::Google.Ads.GoogleAds.V9.Resources.FeedItemSet>(serviceImpl.GetFeedItemSet)); serviceBinder.AddMethod(__Method_MutateFeedItemSets, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V9.Services.MutateFeedItemSetsRequest, global::Google.Ads.GoogleAds.V9.Services.MutateFeedItemSetsResponse>(serviceImpl.MutateFeedItemSets)); }
public static grpc::ServerServiceDefinition BindService(FeedItemSetServiceBase serviceImpl) { return(grpc::ServerServiceDefinition.CreateBuilder() .AddMethod(__Method_GetFeedItemSet, serviceImpl.GetFeedItemSet) .AddMethod(__Method_MutateFeedItemSets, serviceImpl.MutateFeedItemSets).Build()); }