コード例 #1
0
 /// <summary>
 /// Creates a <see cref="FeedItemServiceClient"/> which uses the specified call invoker for remote operations.
 /// </summary>
 /// <param name="callInvoker">The <see cref="grpccore::CallInvoker"/> for remote operations. Must not be null.</param>
 /// <param name="settings">Optional <see cref="FeedItemServiceSettings"/>.</param>
 /// <returns>The created <see cref="FeedItemServiceClient"/>.</returns>
 public static FeedItemServiceClient Create(grpccore::CallInvoker callInvoker, FeedItemServiceSettings settings = null)
 {
     gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
     grpccore::Interceptors.Interceptor interceptor = settings?.Interceptor;
     if (interceptor != null)
     {
         callInvoker = grpccore::Interceptors.CallInvokerExtensions.Intercept(callInvoker, interceptor);
     }
     FeedItemService.FeedItemServiceClient grpcClient = new FeedItemService.FeedItemServiceClient(callInvoker);
     return(new FeedItemServiceClientImpl(grpcClient, settings));
 }
 /// <summary>
 /// Creates a <see cref="ConversionAdjustmentUploadServiceClient"/> which uses the specified call invoker for remote operations.
 /// </summary>
 /// <param name="callInvoker">The <see cref="grpccore::CallInvoker"/> for remote operations. Must not be null.</param>
 /// <param name="settings">Optional <see cref="ConversionAdjustmentUploadServiceSettings"/>.</param>
 /// <returns>The created <see cref="ConversionAdjustmentUploadServiceClient"/>.</returns>
 public static ConversionAdjustmentUploadServiceClient Create(grpccore::CallInvoker callInvoker, ConversionAdjustmentUploadServiceSettings settings = null)
 {
     gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
     grpccore::Interceptors.Interceptor interceptor = settings?.Interceptor;
     if (interceptor != null)
     {
         callInvoker = grpccore::Interceptors.CallInvokerExtensions.Intercept(callInvoker, interceptor);
     }
     ConversionAdjustmentUploadService.ConversionAdjustmentUploadServiceClient grpcClient = new ConversionAdjustmentUploadService.ConversionAdjustmentUploadServiceClient(callInvoker);
     return(new ConversionAdjustmentUploadServiceClientImpl(grpcClient, settings));
 }
コード例 #3
0
 /// <summary>
 /// Creates a <see cref="ProductBiddingCategoryConstantServiceClient"/> which uses the specified call invoker for remote operations.
 /// </summary>
 /// <param name="callInvoker">The <see cref="grpccore::CallInvoker"/> for remote operations. Must not be null.</param>
 /// <param name="settings">Optional <see cref="ProductBiddingCategoryConstantServiceSettings"/>.</param>
 /// <returns>The created <see cref="ProductBiddingCategoryConstantServiceClient"/>.</returns>
 public static ProductBiddingCategoryConstantServiceClient Create(grpccore::CallInvoker callInvoker, ProductBiddingCategoryConstantServiceSettings settings = null)
 {
     gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
     grpccore::Interceptors.Interceptor interceptor = settings?.Interceptor;
     if (interceptor != null)
     {
         callInvoker = grpccore::Interceptors.CallInvokerExtensions.Intercept(callInvoker, interceptor);
     }
     ProductBiddingCategoryConstantService.ProductBiddingCategoryConstantServiceClient grpcClient = new ProductBiddingCategoryConstantService.ProductBiddingCategoryConstantServiceClient(callInvoker);
     return(new ProductBiddingCategoryConstantServiceClientImpl(grpcClient, settings));
 }
 /// <summary>
 /// Creates a <see cref="PhishingProtectionServiceV1Beta1Client"/> which uses the specified call invoker for remote operations.
 /// </summary>
 /// <param name="callInvoker">The <see cref="grpccore::CallInvoker"/> for remote operations. Must not be null.</param>
 /// <param name="settings">Optional <see cref="PhishingProtectionServiceV1Beta1Settings"/>.</param>
 /// <returns>The created <see cref="PhishingProtectionServiceV1Beta1Client"/>.</returns>
 public static PhishingProtectionServiceV1Beta1Client Create(grpccore::CallInvoker callInvoker, PhishingProtectionServiceV1Beta1Settings settings = null)
 {
     gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
     grpccore::Interceptors.Interceptor interceptor = settings?.Interceptor;
     if (interceptor != null)
     {
         callInvoker = grpccore::Interceptors.CallInvokerExtensions.Intercept(callInvoker, interceptor);
     }
     PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client grpcClient = new PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client(callInvoker);
     return(new PhishingProtectionServiceV1Beta1ClientImpl(grpcClient, settings));
 }
コード例 #5
0
 /// <summary>
 /// Creates a <see cref="TextToSpeechClient"/> which uses the specified call invoker for remote operations.
 /// </summary>
 /// <param name="callInvoker">The <see cref="grpccore::CallInvoker"/> for remote operations. Must not be null.</param>
 /// <param name="settings">Optional <see cref="TextToSpeechSettings"/>.</param>
 /// <returns>The created <see cref="TextToSpeechClient"/>.</returns>
 public static TextToSpeechClient Create(grpccore::CallInvoker callInvoker, TextToSpeechSettings settings = null)
 {
     gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
     grpccore::Interceptors.Interceptor interceptor = settings?.Interceptor;
     if (interceptor != null)
     {
         callInvoker = grpccore::Interceptors.CallInvokerExtensions.Intercept(callInvoker, interceptor);
     }
     TextToSpeech.TextToSpeechClient grpcClient = new TextToSpeech.TextToSpeechClient(callInvoker);
     return(new TextToSpeechClientImpl(grpcClient, settings));
 }
コード例 #6
0
 /// <summary>
 /// Creates a <see cref="AlphaAnalyticsDataClient"/> which uses the specified call invoker for remote operations.
 /// </summary>
 /// <param name="callInvoker">The <see cref="grpccore::CallInvoker"/> for remote operations. Must not be null.</param>
 /// <param name="settings">Optional <see cref="AlphaAnalyticsDataSettings"/>.</param>
 /// <returns>The created <see cref="AlphaAnalyticsDataClient"/>.</returns>
 public static AlphaAnalyticsDataClient Create(grpccore::CallInvoker callInvoker, AlphaAnalyticsDataSettings settings = null)
 {
     gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
     grpccore::Interceptors.Interceptor interceptor = settings?.Interceptor;
     if (interceptor != null)
     {
         callInvoker = grpccore::Interceptors.CallInvokerExtensions.Intercept(callInvoker, interceptor);
     }
     AlphaAnalyticsData.AlphaAnalyticsDataClient grpcClient = new AlphaAnalyticsData.AlphaAnalyticsDataClient(callInvoker);
     return(new AlphaAnalyticsDataClientImpl(grpcClient, settings));
 }
コード例 #7
0
 /// <summary>
 /// Creates a <see cref="ImageAnnotatorClient"/> which uses the specified call invoker for remote operations.
 /// </summary>
 /// <param name="callInvoker">The <see cref="grpccore::CallInvoker"/> for remote operations. Must not be null.</param>
 /// <param name="settings">Optional <see cref="ImageAnnotatorSettings"/>.</param>
 /// <returns>The created <see cref="ImageAnnotatorClient"/>.</returns>
 public static ImageAnnotatorClient Create(grpccore::CallInvoker callInvoker, ImageAnnotatorSettings settings = null)
 {
     gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
     grpccore::Interceptors.Interceptor interceptor = settings?.Interceptor;
     if (interceptor != null)
     {
         callInvoker = grpccore::Interceptors.CallInvokerExtensions.Intercept(callInvoker, interceptor);
     }
     ImageAnnotator.ImageAnnotatorClient grpcClient = new ImageAnnotator.ImageAnnotatorClient(callInvoker);
     return(new ImageAnnotatorClientImpl(grpcClient, settings));
 }
 /// <summary>
 /// Creates a <see cref="DynamicSearchAdsSearchTermViewServiceClient"/> which uses the specified call invoker for remote operations.
 /// </summary>
 /// <param name="callInvoker">The <see cref="grpccore::CallInvoker"/> for remote operations. Must not be null.</param>
 /// <param name="settings">Optional <see cref="DynamicSearchAdsSearchTermViewServiceSettings"/>.</param>
 /// <returns>The created <see cref="DynamicSearchAdsSearchTermViewServiceClient"/>.</returns>
 public static DynamicSearchAdsSearchTermViewServiceClient Create(grpccore::CallInvoker callInvoker, DynamicSearchAdsSearchTermViewServiceSettings settings = null)
 {
     gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
     grpccore::Interceptors.Interceptor interceptor = settings?.Interceptor;
     if (interceptor != null)
     {
         callInvoker = grpccore::Interceptors.CallInvokerExtensions.Intercept(callInvoker, interceptor);
     }
     DynamicSearchAdsSearchTermViewService.DynamicSearchAdsSearchTermViewServiceClient grpcClient = new DynamicSearchAdsSearchTermViewService.DynamicSearchAdsSearchTermViewServiceClient(callInvoker);
     return(new DynamicSearchAdsSearchTermViewServiceClientImpl(grpcClient, settings));
 }
コード例 #9
0
 /// <summary>
 /// Creates a <see cref="AdGroupAudienceViewServiceClient"/> which uses the specified call invoker for remote operations.
 /// </summary>
 /// <param name="callInvoker">The <see cref="grpccore::CallInvoker"/> for remote operations. Must not be null.</param>
 /// <param name="settings">Optional <see cref="AdGroupAudienceViewServiceSettings"/>.</param>
 /// <returns>The created <see cref="AdGroupAudienceViewServiceClient"/>.</returns>
 public static AdGroupAudienceViewServiceClient Create(grpccore::CallInvoker callInvoker, AdGroupAudienceViewServiceSettings settings = null)
 {
     gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
     grpccore::Interceptors.Interceptor interceptor = settings?.Interceptor;
     if (interceptor != null)
     {
         callInvoker = grpccore::Interceptors.CallInvokerExtensions.Intercept(callInvoker, interceptor);
     }
     AdGroupAudienceViewService.AdGroupAudienceViewServiceClient grpcClient = new AdGroupAudienceViewService.AdGroupAudienceViewServiceClient(callInvoker);
     return new AdGroupAudienceViewServiceClientImpl(grpcClient, settings);
 }
コード例 #10
0
 /// <summary>
 /// Creates a <see cref="CustomerManagerLinkServiceClient"/> which uses the specified call invoker for remote operations.
 /// </summary>
 /// <param name="callInvoker">The <see cref="grpccore::CallInvoker"/> for remote operations. Must not be null.</param>
 /// <param name="settings">Optional <see cref="CustomerManagerLinkServiceSettings"/>.</param>
 /// <returns>The created <see cref="CustomerManagerLinkServiceClient"/>.</returns>
 public static CustomerManagerLinkServiceClient Create(grpccore::CallInvoker callInvoker, CustomerManagerLinkServiceSettings settings = null)
 {
     gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
     grpccore::Interceptors.Interceptor interceptor = settings?.Interceptor;
     if (interceptor != null)
     {
         callInvoker = grpccore::Interceptors.CallInvokerExtensions.Intercept(callInvoker, interceptor);
     }
     CustomerManagerLinkService.CustomerManagerLinkServiceClient grpcClient = new CustomerManagerLinkService.CustomerManagerLinkServiceClient(callInvoker);
     return new CustomerManagerLinkServiceClientImpl(grpcClient, settings);
 }