コード例 #1
0
 /// <summary>Register service method implementations with a service binder. 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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, CustomInterestServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_GetCustomInterest, serviceImpl.GetCustomInterest);
     serviceBinder.AddMethod(__Method_MutateCustomInterests, serviceImpl.MutateCustomInterests);
 }
 public static void BindService(grpc::ServiceBinderBase serviceBinder, ShoppingPerformanceViewServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_GetShoppingPerformanceView, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V9.Services.GetShoppingPerformanceViewRequest, global::Google.Ads.GoogleAds.V9.Resources.ShoppingPerformanceView>(serviceImpl.GetShoppingPerformanceView));
 }
コード例 #3
0
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, GoogleAdsServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_Search, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V3.Services.SearchGoogleAdsRequest, global::Google.Ads.GoogleAds.V3.Services.SearchGoogleAdsResponse>(serviceImpl.Search));
     serviceBinder.AddMethod(__Method_SearchStream, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod <global::Google.Ads.GoogleAds.V3.Services.SearchGoogleAdsStreamRequest, global::Google.Ads.GoogleAds.V3.Services.SearchGoogleAdsStreamResponse>(serviceImpl.SearchStream));
     serviceBinder.AddMethod(__Method_Mutate, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V3.Services.MutateGoogleAdsRequest, global::Google.Ads.GoogleAds.V3.Services.MutateGoogleAdsResponse>(serviceImpl.Mutate));
 }
コード例 #4
0
 /// <summary>Register service method implementations with a service binder. 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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, AdGroupExtensionSettingServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_GetAdGroupExtensionSetting, serviceImpl.GetAdGroupExtensionSetting);
     serviceBinder.AddMethod(__Method_MutateAdGroupExtensionSettings, serviceImpl.MutateAdGroupExtensionSettings);
 }
コード例 #5
0
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, SearchTermViewServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_GetSearchTermView, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V7.Services.GetSearchTermViewRequest, global::Google.Ads.GoogleAds.V7.Resources.SearchTermView>(serviceImpl.GetSearchTermView));
 }
コード例 #6
0
ファイル: GreetGrpc.cs プロジェクト: glennc/scaling-couscous
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, GreeterBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_SayHello, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::grpc.server.HelloRequest, global::grpc.server.HelloReply>(serviceImpl.SayHello));
 }
 /// <summary>Register service method implementations with a service binder. 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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, DynamicSearchAdsSearchTermViewServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_GetDynamicSearchAdsSearchTermView, serviceImpl.GetDynamicSearchAdsSearchTermView);
 }
コード例 #8
0
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, ClientsServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_SayHello, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::GrpcService.Protos.greet, global::GrpcService.Protos.ClientReply>(serviceImpl.SayHello));
 }
コード例 #9
0
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, KeywordPlanIdeaServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_GenerateKeywordIdeas, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V5.Services.GenerateKeywordIdeasRequest, global::Google.Ads.GoogleAds.V5.Services.GenerateKeywordIdeaResponse>(serviceImpl.GenerateKeywordIdeas));
 }
コード例 #10
0
 /// <summary>Register service method implementations with a service binder. 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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, StepHostBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_RunStep, serviceImpl.RunStep);
     serviceBinder.AddMethod(__Method_GetPackageInfo, serviceImpl.GetPackageInfo);
 }
 public static void BindService(grpc::ServiceBinderBase serviceBinder, KeywordPlanCampaignKeywordServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_GetKeywordPlanCampaignKeyword, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V9.Services.GetKeywordPlanCampaignKeywordRequest, global::Google.Ads.GoogleAds.V9.Resources.KeywordPlanCampaignKeyword>(serviceImpl.GetKeywordPlanCampaignKeyword));
     serviceBinder.AddMethod(__Method_MutateKeywordPlanCampaignKeywords, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V9.Services.MutateKeywordPlanCampaignKeywordsRequest, global::Google.Ads.GoogleAds.V9.Services.MutateKeywordPlanCampaignKeywordsResponse>(serviceImpl.MutateKeywordPlanCampaignKeywords));
 }
コード例 #12
0
 public static void BindService(grpc::ServiceBinderBase serviceBinder, AssetGroupAssetServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_MutateAssetGroupAssets, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V10.Services.MutateAssetGroupAssetsRequest, global::Google.Ads.GoogleAds.V10.Services.MutateAssetGroupAssetsResponse>(serviceImpl.MutateAssetGroupAssets));
 }
コード例 #13
0
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, ServiceMeshMetricServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_collect, serviceImpl == null ? null : new grpc::ClientStreamingServerMethod <global::ServiceMeshMetric, global::MeshProbeDownstream>(serviceImpl.collect));
 }
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, ComputeAverageServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_ComputeAverage, serviceImpl == null ? null : new grpc::ClientStreamingServerMethod <global::ComputeAverage.ComputeAverageRequest, global::ComputeAverage.ComputeAverageResponse>(serviceImpl.ComputeAverage));
 }
コード例 #15
0
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, UsersBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_getUsers, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod <global::gRPC.UserRequest, global::gRPC.UserResponse>(serviceImpl.getUsers));
 }
コード例 #16
0
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, KeywordPlanAdGroupServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_GetKeywordPlanAdGroup, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V6.Services.GetKeywordPlanAdGroupRequest, global::Google.Ads.GoogleAds.V6.Resources.KeywordPlanAdGroup>(serviceImpl.GetKeywordPlanAdGroup));
     serviceBinder.AddMethod(__Method_MutateKeywordPlanAdGroups, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V6.Services.MutateKeywordPlanAdGroupsRequest, global::Google.Ads.GoogleAds.V6.Services.MutateKeywordPlanAdGroupsResponse>(serviceImpl.MutateKeywordPlanAdGroups));
 }
コード例 #17
0
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, FeedMappingServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_GetFeedMapping, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V6.Services.GetFeedMappingRequest, global::Google.Ads.GoogleAds.V6.Resources.FeedMapping>(serviceImpl.GetFeedMapping));
     serviceBinder.AddMethod(__Method_MutateFeedMappings, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V6.Services.MutateFeedMappingsRequest, global::Google.Ads.GoogleAds.V6.Services.MutateFeedMappingsResponse>(serviceImpl.MutateFeedMappings));
 }
コード例 #18
0
 public static void BindService(grpc::ServiceBinderBase serviceBinder, ParentalStatusViewServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_GetParentalStatusView, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V9.Services.GetParentalStatusViewRequest, global::Google.Ads.GoogleAds.V9.Resources.ParentalStatusView>(serviceImpl.GetParentalStatusView));
 }
コード例 #19
0
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, UserDataServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_UploadUserData, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V7.Services.UploadUserDataRequest, global::Google.Ads.GoogleAds.V7.Services.UploadUserDataResponse>(serviceImpl.UploadUserData));
 }
コード例 #20
0
ファイル: ReflectionGrpc.cs プロジェクト: zjbsean/grpc
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, ServerReflectionBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_ServerReflectionInfo, serviceImpl == null ? null : new grpc::DuplexStreamingServerMethod <global::Grpc.Reflection.V1Alpha.ServerReflectionRequest, global::Grpc.Reflection.V1Alpha.ServerReflectionResponse>(serviceImpl.ServerReflectionInfo));
 }
コード例 #21
0
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, MediaFileServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_GetMediaFile, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V3.Services.GetMediaFileRequest, global::Google.Ads.GoogleAds.V3.Resources.MediaFile>(serviceImpl.GetMediaFile));
     serviceBinder.AddMethod(__Method_MutateMediaFiles, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V3.Services.MutateMediaFilesRequest, global::Google.Ads.GoogleAds.V3.Services.MutateMediaFilesResponse>(serviceImpl.MutateMediaFiles));
 }
コード例 #22
0
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, ConversionUploadServiceBase serviceImpl)
 {
   serviceBinder.AddMethod(__Method_UploadClickConversions, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Google.Ads.GoogleAds.V5.Services.UploadClickConversionsRequest, global::Google.Ads.GoogleAds.V5.Services.UploadClickConversionsResponse>(serviceImpl.UploadClickConversions));
   serviceBinder.AddMethod(__Method_UploadCallConversions, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Google.Ads.GoogleAds.V5.Services.UploadCallConversionsRequest, global::Google.Ads.GoogleAds.V5.Services.UploadCallConversionsResponse>(serviceImpl.UploadCallConversions));
 }
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, CreditRatingCheckBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_CheckCreditRequest, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::CreditRatingService.CreditRequest, global::CreditRatingService.CreditReply>(serviceImpl.CheckCreditRequest));
 }
コード例 #24
0
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, CurrencyConstantServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_GetCurrencyConstant, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V5.Services.GetCurrencyConstantRequest, global::Google.Ads.GoogleAds.V5.Resources.CurrencyConstant>(serviceImpl.GetCurrencyConstant));
 }
コード例 #25
0
 public static void BindService(grpc::ServiceBinderBase serviceBinder, ErrorStatsServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_ListGroupStats, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.ErrorReporting.V1Beta1.ListGroupStatsRequest, global::Google.Cloud.ErrorReporting.V1Beta1.ListGroupStatsResponse>(serviceImpl.ListGroupStats));
     serviceBinder.AddMethod(__Method_ListEvents, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.ErrorReporting.V1Beta1.ListEventsRequest, global::Google.Cloud.ErrorReporting.V1Beta1.ListEventsResponse>(serviceImpl.ListEvents));
     serviceBinder.AddMethod(__Method_DeleteEvents, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.ErrorReporting.V1Beta1.DeleteEventsRequest, global::Google.Cloud.ErrorReporting.V1Beta1.DeleteEventsResponse>(serviceImpl.DeleteEvents));
 }
コード例 #26
0
ファイル: MsgGrpc.cs プロジェクト: winv/microservice
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, MsgServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_GetSum, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Permission.RPC.API.GetMsgNumRequest, global::Permission.RPC.API.GetMsgSumReply>(serviceImpl.GetSum));
 }
コード例 #27
0
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, CampaignSharedSetServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_GetCampaignSharedSet, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V8.Services.GetCampaignSharedSetRequest, global::Google.Ads.GoogleAds.V8.Resources.CampaignSharedSet>(serviceImpl.GetCampaignSharedSet));
     serviceBinder.AddMethod(__Method_MutateCampaignSharedSets, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V8.Services.MutateCampaignSharedSetsRequest, global::Google.Ads.GoogleAds.V8.Services.MutateCampaignSharedSetsResponse>(serviceImpl.MutateCampaignSharedSets));
 }
コード例 #28
0
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, DocumentUnderstandingServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_BatchProcessDocuments, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.DocumentAI.V1Beta2.BatchProcessDocumentsRequest, global::Google.LongRunning.Operation>(serviceImpl.BatchProcessDocuments));
     serviceBinder.AddMethod(__Method_ProcessDocument, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.DocumentAI.V1Beta2.ProcessDocumentRequest, global::Google.Cloud.DocumentAI.V1Beta2.Document>(serviceImpl.ProcessDocument));
 }
コード例 #29
0
 /// <summary>Register service method implementations with a service binder. 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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, SharedSetServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_GetSharedSet, serviceImpl.GetSharedSet);
     serviceBinder.AddMethod(__Method_MutateSharedSets, serviceImpl.MutateSharedSets);
 }
コード例 #30
0
 /// <summary>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.</summary>
 /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static void BindService(grpc::ServiceBinderBase serviceBinder, SharedCriterionServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_GetSharedCriterion, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V4.Services.GetSharedCriterionRequest, global::Google.Ads.GoogleAds.V4.Resources.SharedCriterion>(serviceImpl.GetSharedCriterion));
     serviceBinder.AddMethod(__Method_MutateSharedCriteria, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V4.Services.MutateSharedCriteriaRequest, global::Google.Ads.GoogleAds.V4.Services.MutateSharedCriteriaResponse>(serviceImpl.MutateSharedCriteria));
 }