Exemplo n.º 1
0
        /// <summary>
        /// Creates a <see cref="FeedItemTargetServiceClient"/> 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="FeedItemTargetServiceSettings"/>.</param>
        /// <returns>The created <see cref="FeedItemTargetServiceClient"/>.</returns>
        internal static FeedItemTargetServiceClient Create(grpccore::CallInvoker callInvoker, FeedItemTargetServiceSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            FeedItemTargetService.FeedItemTargetServiceClient grpcClient = new FeedItemTargetService.FeedItemTargetServiceClient(callInvoker);
            return(new FeedItemTargetServiceClientImpl(grpcClient, settings));
        }
Exemplo n.º 2
0
        /// <summary>
        /// Creates a <see cref="BiddingSeasonalityAdjustmentServiceClient"/> 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="BiddingSeasonalityAdjustmentServiceSettings"/>.</param>
        /// <returns>The created <see cref="BiddingSeasonalityAdjustmentServiceClient"/>.</returns>
        internal static BiddingSeasonalityAdjustmentServiceClient Create(grpccore::CallInvoker callInvoker, BiddingSeasonalityAdjustmentServiceSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            BiddingSeasonalityAdjustmentService.BiddingSeasonalityAdjustmentServiceClient grpcClient = new BiddingSeasonalityAdjustmentService.BiddingSeasonalityAdjustmentServiceClient(callInvoker);
            return(new BiddingSeasonalityAdjustmentServiceClientImpl(grpcClient, settings));
        }
Exemplo n.º 3
0
        /// <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="AdGroupCriterionSimulationServiceClient"/> 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="AdGroupCriterionSimulationServiceSettings"/>.</param>
        /// <returns>The created <see cref="AdGroupCriterionSimulationServiceClient"/>.</returns>
        internal static AdGroupCriterionSimulationServiceClient Create(grpccore::CallInvoker callInvoker, AdGroupCriterionSimulationServiceSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            AdGroupCriterionSimulationService.AdGroupCriterionSimulationServiceClient grpcClient = new AdGroupCriterionSimulationService.AdGroupCriterionSimulationServiceClient(callInvoker);
            return(new AdGroupCriterionSimulationServiceClientImpl(grpcClient, settings));
        }
Exemplo n.º 5
0
        /// <summary>
        /// Creates a <see cref="ValidationHelperV1Client"/> 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="ValidationHelperV1Settings"/>.</param>
        /// <returns>The created <see cref="ValidationHelperV1Client"/>.</returns>
        internal static ValidationHelperV1Client Create(grpccore::CallInvoker callInvoker, ValidationHelperV1Settings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            ValidationHelperV1.ValidationHelperV1Client grpcClient = new ValidationHelperV1.ValidationHelperV1Client(callInvoker);
            return(new ValidationHelperV1ClientImpl(grpcClient, settings));
        }
        /// <summary>
        /// Creates a <see cref="OperatingSystemVersionConstantServiceClient"/> 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="OperatingSystemVersionConstantServiceSettings"/>.</param>
        /// <returns>The created <see cref="OperatingSystemVersionConstantServiceClient"/>.</returns>
        internal static OperatingSystemVersionConstantServiceClient Create(grpccore::CallInvoker callInvoker, OperatingSystemVersionConstantServiceSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            OperatingSystemVersionConstantService.OperatingSystemVersionConstantServiceClient grpcClient = new OperatingSystemVersionConstantService.OperatingSystemVersionConstantServiceClient(callInvoker);
            return(new OperatingSystemVersionConstantServiceClientImpl(grpcClient, settings));
        }
Exemplo n.º 7
0
        /// <summary>
        /// Creates a <see cref="PublicAdvertisedPrefixesClient"/> 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="PublicAdvertisedPrefixesSettings"/>.</param>
        /// <returns>The created <see cref="PublicAdvertisedPrefixesClient"/>.</returns>
        internal static PublicAdvertisedPrefixesClient Create(grpccore::CallInvoker callInvoker, PublicAdvertisedPrefixesSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient grpcClient = new PublicAdvertisedPrefixes.PublicAdvertisedPrefixesClient(callInvoker);
            return(new PublicAdvertisedPrefixesClientImpl(grpcClient, settings));
        }
Exemplo n.º 8
0
        /// <summary>
        /// Creates a <see cref="CustomerConversionGoalServiceClient"/> 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="CustomerConversionGoalServiceSettings"/>.</param>
        /// <returns>The created <see cref="CustomerConversionGoalServiceClient"/>.</returns>
        internal static CustomerConversionGoalServiceClient Create(grpccore::CallInvoker callInvoker, CustomerConversionGoalServiceSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            CustomerConversionGoalService.CustomerConversionGoalServiceClient grpcClient = new CustomerConversionGoalService.CustomerConversionGoalServiceClient(callInvoker);
            return(new CustomerConversionGoalServiceClientImpl(grpcClient, settings));
        }
        /// <summary>
        /// Creates a <see cref="TargetGrpcProxiesClient"/> 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="TargetGrpcProxiesSettings"/>.</param>
        /// <returns>The created <see cref="TargetGrpcProxiesClient"/>.</returns>
        internal static TargetGrpcProxiesClient Create(grpccore::CallInvoker callInvoker, TargetGrpcProxiesSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            TargetGrpcProxies.TargetGrpcProxiesClient grpcClient = new TargetGrpcProxies.TargetGrpcProxiesClient(callInvoker);
            return(new TargetGrpcProxiesClientImpl(grpcClient, settings));
        }
Exemplo n.º 10
0
        /// <summary>
        /// Creates a <see cref="AccessibleBiddingStrategyServiceClient"/> 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="AccessibleBiddingStrategyServiceSettings"/>.</param>
        /// <returns>The created <see cref="AccessibleBiddingStrategyServiceClient"/>.</returns>
        internal static AccessibleBiddingStrategyServiceClient Create(grpccore::CallInvoker callInvoker, AccessibleBiddingStrategyServiceSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            AccessibleBiddingStrategyService.AccessibleBiddingStrategyServiceClient grpcClient = new AccessibleBiddingStrategyService.AccessibleBiddingStrategyServiceClient(callInvoker);
            return(new AccessibleBiddingStrategyServiceClientImpl(grpcClient, settings));
        }
        /// <summary>
        /// Creates a <see cref="RecaptchaEnterpriseServiceV1Beta1Client"/> 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="RecaptchaEnterpriseServiceV1Beta1Settings"/>.</param>
        /// <returns>The created <see cref="RecaptchaEnterpriseServiceV1Beta1Client"/>.</returns>
        public static RecaptchaEnterpriseServiceV1Beta1Client Create(grpccore::CallInvoker callInvoker, RecaptchaEnterpriseServiceV1Beta1Settings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            RecaptchaEnterpriseServiceV1Beta1.RecaptchaEnterpriseServiceV1Beta1Client grpcClient = new RecaptchaEnterpriseServiceV1Beta1.RecaptchaEnterpriseServiceV1Beta1Client(callInvoker);
            return(new RecaptchaEnterpriseServiceV1Beta1ClientImpl(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));
        }
Exemplo n.º 13
0
        /// <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="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));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            TextToSpeech.TextToSpeechClient grpcClient = new TextToSpeech.TextToSpeechClient(callInvoker);
            return(new TextToSpeechClientImpl(grpcClient, settings));
        }
Exemplo n.º 15
0
        /// <summary>
        /// Creates a <see cref="WorkflowsServiceV2BetaClient"/> 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="WorkflowsServiceV2BetaSettings"/>.</param>
        /// <returns>The created <see cref="WorkflowsServiceV2BetaClient"/>.</returns>
        internal static WorkflowsServiceV2BetaClient Create(grpccore::CallInvoker callInvoker, WorkflowsServiceV2BetaSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            WorkflowsServiceV2Beta.WorkflowsServiceV2BetaClient grpcClient = new WorkflowsServiceV2Beta.WorkflowsServiceV2BetaClient(callInvoker);
            return(new WorkflowsServiceV2BetaClientImpl(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="GlobalOrganizationOperationsClient"/> 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="GlobalOrganizationOperationsSettings"/>.</param>
        /// <returns>The created <see cref="GlobalOrganizationOperationsClient"/>.</returns>
        internal static GlobalOrganizationOperationsClient Create(grpccore::CallInvoker callInvoker, GlobalOrganizationOperationsSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            GlobalOrganizationOperations.GlobalOrganizationOperationsClient grpcClient = new GlobalOrganizationOperations.GlobalOrganizationOperationsClient(callInvoker);
            return(new GlobalOrganizationOperationsClientImpl(grpcClient, settings));
        }
Exemplo n.º 18
0
        /// <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));
        }
Exemplo n.º 19
0
        /// <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));
        }
Exemplo n.º 20
0
        /// <summary>
        /// Creates a <see cref="DocumentUnderstandingServiceClient"/> 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="DocumentUnderstandingServiceSettings"/>.</param>
        /// <returns>The created <see cref="DocumentUnderstandingServiceClient"/>.</returns>
        internal static DocumentUnderstandingServiceClient Create(grpccore::CallInvoker callInvoker, DocumentUnderstandingServiceSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            DocumentUnderstandingService.DocumentUnderstandingServiceClient grpcClient = new DocumentUnderstandingService.DocumentUnderstandingServiceClient(callInvoker);
            return(new DocumentUnderstandingServiceClientImpl(grpcClient, settings));
        }
        /// <summary>
        /// Creates a <see cref="CloudCatalogClient"/> 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="CloudCatalogSettings"/>.</param>
        /// <returns>The created <see cref="CloudCatalogClient"/>.</returns>
        public static CloudCatalogClient Create(grpccore::CallInvoker callInvoker, CloudCatalogSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            CloudCatalog.CloudCatalogClient grpcClient = new CloudCatalog.CloudCatalogClient(callInvoker);
            return(new CloudCatalogClientImpl(grpcClient, settings));
        }
        /// <summary>
        /// Creates a <see cref="ErrorGroupServiceClient"/> 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="ErrorGroupServiceSettings"/>.</param>
        /// <returns>The created <see cref="ErrorGroupServiceClient"/>.</returns>
        public static ErrorGroupServiceClient Create(grpccore::CallInvoker callInvoker, ErrorGroupServiceSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            ErrorGroupService.ErrorGroupServiceClient grpcClient = new ErrorGroupService.ErrorGroupServiceClient(callInvoker);
            return(new ErrorGroupServiceClientImpl(grpcClient, settings));
        }
        /// <summary>
        /// Creates a <see cref="RegionInstanceGroupsClient"/> 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="RegionInstanceGroupsSettings"/>.</param>
        /// <returns>The created <see cref="RegionInstanceGroupsClient"/>.</returns>
        internal static RegionInstanceGroupsClient Create(grpccore::CallInvoker callInvoker, RegionInstanceGroupsSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            RegionInstanceGroups.RegionInstanceGroupsClient grpcClient = new RegionInstanceGroups.RegionInstanceGroupsClient(callInvoker);
            return(new RegionInstanceGroupsClientImpl(grpcClient, settings));
        }
Exemplo n.º 24
0
        /// <summary>
        /// Creates a <see cref="AnswerRecordsClient"/> 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="AnswerRecordsSettings"/>.</param>
        /// <returns>The created <see cref="AnswerRecordsClient"/>.</returns>
        internal static AnswerRecordsClient Create(grpccore::CallInvoker callInvoker, AnswerRecordsSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            AnswerRecords.AnswerRecordsClient grpcClient = new AnswerRecords.AnswerRecordsClient(callInvoker);
            return(new AnswerRecordsClientImpl(grpcClient, settings));
        }
        /// <summary>
        /// Creates a <see cref="IdentityClient"/> 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="IdentitySettings"/>.</param>
        /// <param name="logger">Optional <see cref="mel::ILogger"/>.</param>
        /// <returns>The created <see cref="IdentityClient"/>.</returns>
        internal static IdentityClient Create(grpccore::CallInvoker callInvoker, IdentitySettings settings = null, mel::ILogger logger = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            Identity.IdentityClient grpcClient = new Identity.IdentityClient(callInvoker);
            return(new IdentityClientImpl(grpcClient, settings, logger));
        }
        /// <summary>
        /// Creates a <see cref="SmartCampaignSuggestServiceClient"/> 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="SmartCampaignSuggestServiceSettings"/>.</param>
        /// <returns>The created <see cref="SmartCampaignSuggestServiceClient"/>.</returns>
        internal static SmartCampaignSuggestServiceClient Create(grpccore::CallInvoker callInvoker, SmartCampaignSuggestServiceSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            SmartCampaignSuggestService.SmartCampaignSuggestServiceClient grpcClient = new SmartCampaignSuggestService.SmartCampaignSuggestServiceClient(callInvoker);
            return(new SmartCampaignSuggestServiceClientImpl(grpcClient, settings));
        }
        /// <summary>
        /// Creates a <see cref="HotelPerformanceViewServiceClient"/> 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="HotelPerformanceViewServiceSettings"/>.</param>
        /// <returns>The created <see cref="HotelPerformanceViewServiceClient"/>.</returns>
        internal static HotelPerformanceViewServiceClient Create(grpccore::CallInvoker callInvoker, HotelPerformanceViewServiceSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            HotelPerformanceViewService.HotelPerformanceViewServiceClient grpcClient = new HotelPerformanceViewService.HotelPerformanceViewServiceClient(callInvoker);
            return(new HotelPerformanceViewServiceClientImpl(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));
        }
Exemplo n.º 29
0
        /// <summary>
        /// Creates a <see cref="KeywordPlanNegativeKeywordServiceClient"/> 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="KeywordPlanNegativeKeywordServiceSettings"/>.</param>
        /// <returns>The created <see cref="KeywordPlanNegativeKeywordServiceClient"/>.</returns>
        internal static KeywordPlanNegativeKeywordServiceClient Create(grpccore::CallInvoker callInvoker, KeywordPlanNegativeKeywordServiceSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            KeywordPlanNegativeKeywordService.KeywordPlanNegativeKeywordServiceClient grpcClient = new KeywordPlanNegativeKeywordService.KeywordPlanNegativeKeywordServiceClient(callInvoker);
            return(new KeywordPlanNegativeKeywordServiceClientImpl(grpcClient, settings));
        }