/// <summary> /// Creates a <see cref="MobileAppCategoryConstantServiceClient"/> 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="MobileAppCategoryConstantServiceSettings"/>.</param> /// <returns>The created <see cref="MobileAppCategoryConstantServiceClient"/>.</returns> internal static MobileAppCategoryConstantServiceClient Create(grpccore::CallInvoker callInvoker, MobileAppCategoryConstantServiceSettings settings = null) { gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); grpcinter::Interceptor interceptor = settings?.Interceptor; if (interceptor != null) { callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); } MobileAppCategoryConstantService.MobileAppCategoryConstantServiceClient grpcClient = new MobileAppCategoryConstantService.MobileAppCategoryConstantServiceClient(callInvoker); return(new MobileAppCategoryConstantServiceClientImpl(grpcClient, settings)); }
/// <summary> /// Creates a <see cref="AdMobApiClient"/> 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="AdMobApiSettings"/>.</param> /// <returns>The created <see cref="AdMobApiClient"/>.</returns> internal static AdMobApiClient Create(grpccore::CallInvoker callInvoker, AdMobApiSettings settings = null) { gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); grpcinter::Interceptor interceptor = settings?.Interceptor; if (interceptor != null) { callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); } AdMobApi.AdMobApiClient grpcClient = new AdMobApi.AdMobApiClient(callInvoker); return(new AdMobApiClientImpl(grpcClient, settings)); }
/// <summary> /// Creates a <see cref="QuotaControllerClient"/> 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="QuotaControllerSettings"/>.</param> /// <returns>The created <see cref="QuotaControllerClient"/>.</returns> internal static QuotaControllerClient Create(grpccore::CallInvoker callInvoker, QuotaControllerSettings settings = null) { gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); grpcinter::Interceptor interceptor = settings?.Interceptor; if (interceptor != null) { callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); } QuotaController.QuotaControllerClient grpcClient = new QuotaController.QuotaControllerClient(callInvoker); return(new QuotaControllerClientImpl(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> internal static PhishingProtectionServiceV1Beta1Client Create(grpccore::CallInvoker callInvoker, PhishingProtectionServiceV1Beta1Settings settings = null) { gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); grpcinter::Interceptor interceptor = settings?.Interceptor; if (interceptor != null) { callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); } PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client grpcClient = new PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client(callInvoker); return(new PhishingProtectionServiceV1Beta1ClientImpl(grpcClient, settings)); }
/// <summary> /// Creates a <see cref="PredictionApiKeyRegistryClient"/> 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="PredictionApiKeyRegistrySettings"/>.</param> /// <returns>The created <see cref="PredictionApiKeyRegistryClient"/>.</returns> internal static PredictionApiKeyRegistryClient Create(grpccore::CallInvoker callInvoker, PredictionApiKeyRegistrySettings settings = null) { gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); grpcinter::Interceptor interceptor = settings?.Interceptor; if (interceptor != null) { callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); } PredictionApiKeyRegistry.PredictionApiKeyRegistryClient grpcClient = new PredictionApiKeyRegistry.PredictionApiKeyRegistryClient(callInvoker); return(new PredictionApiKeyRegistryClientImpl(grpcClient, settings)); }
/// <summary> /// Creates a <see cref="PaidOrganicSearchTermViewServiceClient"/> 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="PaidOrganicSearchTermViewServiceSettings"/>.</param> /// <returns>The created <see cref="PaidOrganicSearchTermViewServiceClient"/>.</returns> internal static PaidOrganicSearchTermViewServiceClient Create(grpccore::CallInvoker callInvoker, PaidOrganicSearchTermViewServiceSettings settings = null) { gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); grpcinter::Interceptor interceptor = settings?.Interceptor; if (interceptor != null) { callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); } PaidOrganicSearchTermViewService.PaidOrganicSearchTermViewServiceClient grpcClient = new PaidOrganicSearchTermViewService.PaidOrganicSearchTermViewServiceClient(callInvoker); return(new PaidOrganicSearchTermViewServiceClientImpl(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> internal static ConversionAdjustmentUploadServiceClient Create(grpccore::CallInvoker callInvoker, ConversionAdjustmentUploadServiceSettings settings = null) { gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); grpcinter::Interceptor interceptor = settings?.Interceptor; if (interceptor != null) { callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); } ConversionAdjustmentUploadService.ConversionAdjustmentUploadServiceClient grpcClient = new ConversionAdjustmentUploadService.ConversionAdjustmentUploadServiceClient(callInvoker); return(new ConversionAdjustmentUploadServiceClientImpl(grpcClient, settings)); }
/// <summary> /// Creates a <see cref="ThirdPartyAppAnalyticsLinkServiceClient"/> 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="ThirdPartyAppAnalyticsLinkServiceSettings"/>.</param> /// <returns>The created <see cref="ThirdPartyAppAnalyticsLinkServiceClient"/>.</returns> internal static ThirdPartyAppAnalyticsLinkServiceClient Create(grpccore::CallInvoker callInvoker, ThirdPartyAppAnalyticsLinkServiceSettings settings = null) { gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); grpcinter::Interceptor interceptor = settings?.Interceptor; if (interceptor != null) { callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); } ThirdPartyAppAnalyticsLinkService.ThirdPartyAppAnalyticsLinkServiceClient grpcClient = new ThirdPartyAppAnalyticsLinkService.ThirdPartyAppAnalyticsLinkServiceClient(callInvoker); return(new ThirdPartyAppAnalyticsLinkServiceClientImpl(grpcClient, settings)); }
/// <summary> /// Creates a <see cref="MessagesV1Beta3Client"/> 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="MessagesV1Beta3Settings"/>.</param> /// <returns>The created <see cref="MessagesV1Beta3Client"/>.</returns> internal static MessagesV1Beta3Client Create(grpccore::CallInvoker callInvoker, MessagesV1Beta3Settings settings = null) { gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); grpcinter::Interceptor interceptor = settings?.Interceptor; if (interceptor != null) { callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); } MessagesV1Beta3.MessagesV1Beta3Client grpcClient = new MessagesV1Beta3.MessagesV1Beta3Client(callInvoker); return(new MessagesV1Beta3ClientImpl(grpcClient, settings)); }
/// <summary> /// Creates a <see cref="RegionNotificationEndpointsClient"/> 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="RegionNotificationEndpointsSettings"/>.</param> /// <returns>The created <see cref="RegionNotificationEndpointsClient"/>.</returns> internal static RegionNotificationEndpointsClient Create(grpccore::CallInvoker callInvoker, RegionNotificationEndpointsSettings settings = null) { gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); grpcinter::Interceptor interceptor = settings?.Interceptor; if (interceptor != null) { callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); } RegionNotificationEndpoints.RegionNotificationEndpointsClient grpcClient = new RegionNotificationEndpoints.RegionNotificationEndpointsClient(callInvoker); return(new RegionNotificationEndpointsClientImpl(grpcClient, settings)); }
/// <summary> /// Creates a <see cref="FeedMappingServiceClient"/> 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="FeedMappingServiceSettings"/>.</param> /// <returns>The created <see cref="FeedMappingServiceClient"/>.</returns> internal static FeedMappingServiceClient Create(grpccore::CallInvoker callInvoker, FeedMappingServiceSettings settings = null) { gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); grpcinter::Interceptor interceptor = settings?.Interceptor; if (interceptor != null) { callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); } FeedMappingService.FeedMappingServiceClient grpcClient = new FeedMappingService.FeedMappingServiceClient(callInvoker); return(new FeedMappingServiceClientImpl(grpcClient, settings)); }
/// <summary> /// Creates a <see cref="VideoIntelligenceServiceClient"/> 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="VideoIntelligenceServiceSettings"/>.</param> /// <returns>The created <see cref="VideoIntelligenceServiceClient"/>.</returns> public static VideoIntelligenceServiceClient Create(grpccore::CallInvoker callInvoker, VideoIntelligenceServiceSettings settings = null) { gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); grpcinter::Interceptor interceptor = settings?.Interceptor; if (interceptor != null) { callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); } VideoIntelligenceService.VideoIntelligenceServiceClient grpcClient = new VideoIntelligenceService.VideoIntelligenceServiceClient(callInvoker); return(new VideoIntelligenceServiceClientImpl(grpcClient, settings)); }
/// <inheritdoc /> public override async stt::Task<AdGroupServiceClient> BuildAsync(st::CancellationToken cancellationToken = default) { Validate(); grpccore::CallInvoker callInvoker = await CreateCallInvokerAsync(cancellationToken).ConfigureAwait(false); return AdGroupServiceClient.Create(callInvoker, Settings); }
private async stt::Task<CampaignCriterionServiceClient> BuildAsyncImpl(st::CancellationToken cancellationToken) { Validate(); grpccore::CallInvoker callInvoker = await CreateCallInvokerAsync(cancellationToken).ConfigureAwait(false); return CampaignCriterionServiceClient.Create(callInvoker, Settings); }
/// <inheritdoc/> public override AdGroupServiceClient Build() { Validate(); grpccore::CallInvoker callInvoker = CreateCallInvoker(); return AdGroupServiceClient.Create(callInvoker, Settings); }
/// <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)); TextToSpeech.TextToSpeechClient grpcClient = new TextToSpeech.TextToSpeechClient(callInvoker); return(new TextToSpeechClientImpl(grpcClient, settings)); }
private CampaignCriterionServiceClient BuildImpl() { Validate(); grpccore::CallInvoker callInvoker = CreateCallInvoker(); return CampaignCriterionServiceClient.Create(callInvoker, Settings); }
/// <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)); ImageAnnotator.ImageAnnotatorClient grpcClient = new ImageAnnotator.ImageAnnotatorClient(callInvoker); return(new ImageAnnotatorClientImpl(grpcClient, settings)); }
/// <summary> /// Creates a <see cref="SessionsClient"/> 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="SessionsSettings"/>.</param> /// <returns>The created <see cref="SessionsClient"/>.</returns> public static SessionsClient Create(grpccore::CallInvoker callInvoker, SessionsSettings settings = null) { gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); Sessions.SessionsClient grpcClient = new Sessions.SessionsClient(callInvoker); return(new SessionsClientImpl(grpcClient, settings)); }
private LocationViewServiceClient BuildImpl() { Validate(); grpccore::CallInvoker callInvoker = CreateCallInvoker(); return LocationViewServiceClient.Create(callInvoker, Settings); }
private CustomerUserAccessInvitationServiceClient BuildImpl() { Validate(); grpccore::CallInvoker callInvoker = CreateCallInvoker(); return CustomerUserAccessInvitationServiceClient.Create(callInvoker, Settings); }
private MobileDeviceConstantServiceClient BuildImpl() { Validate(); grpccore::CallInvoker callInvoker = CreateCallInvoker(); return MobileDeviceConstantServiceClient.Create(callInvoker, Settings); }
/// <summary> /// Creates a <see cref="TraceServiceClient"/> 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="TraceServiceSettings"/>.</param> /// <returns>The created <see cref="TraceServiceClient"/>.</returns> public static TraceServiceClient Create(grpccore::CallInvoker callInvoker, TraceServiceSettings settings = null) { gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); TraceService.TraceServiceClient grpcClient = new TraceService.TraceServiceClient(callInvoker); return(new TraceServiceClientImpl(grpcClient, settings)); }
/// <inheritdoc/> public override CustomerManagerLinkServiceClient Build() { Validate(); grpccore::CallInvoker callInvoker = CreateCallInvoker(); return CustomerManagerLinkServiceClient.Create(callInvoker, Settings); }