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

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            BiddingStrategyService.BiddingStrategyServiceClient grpcClient = new BiddingStrategyService.BiddingStrategyServiceClient(callInvoker);
            return(new BiddingStrategyServiceClientImpl(grpcClient, settings));
        }
        /// <summary>
        /// Constructs a client wrapper for the BiddingStrategyService service, with the specified gRPC client and
        /// settings.
        /// </summary>
        /// <param name="grpcClient">The underlying gRPC client.</param>
        /// <param name="settings">
        /// The base <see cref="BiddingStrategyServiceSettings"/> used within this client.
        /// </param>
        public BiddingStrategyServiceClientImpl(BiddingStrategyService.BiddingStrategyServiceClient grpcClient, BiddingStrategyServiceSettings settings)
        {
            GrpcClient = grpcClient;
            BiddingStrategyServiceSettings effectiveSettings = settings ?? BiddingStrategyServiceSettings.GetDefault();
            gaxgrpc::ClientHelper          clientHelper      = new gaxgrpc::ClientHelper(effectiveSettings);

            _callGetBiddingStrategy = clientHelper.BuildApiCall <GetBiddingStrategyRequest, gagvr::BiddingStrategy>(grpcClient.GetBiddingStrategyAsync, grpcClient.GetBiddingStrategy, effectiveSettings.GetBiddingStrategySettings).WithGoogleRequestParam("resource_name", request => request.ResourceName);
            Modify_ApiCall(ref _callGetBiddingStrategy);
            Modify_GetBiddingStrategyApiCall(ref _callGetBiddingStrategy);
            _callMutateBiddingStrategies = clientHelper.BuildApiCall <MutateBiddingStrategiesRequest, MutateBiddingStrategiesResponse>(grpcClient.MutateBiddingStrategiesAsync, grpcClient.MutateBiddingStrategies, effectiveSettings.MutateBiddingStrategiesSettings).WithGoogleRequestParam("customer_id", request => request.CustomerId);
            Modify_ApiCall(ref _callMutateBiddingStrategies);
            Modify_MutateBiddingStrategiesApiCall(ref _callMutateBiddingStrategies);
            OnConstruction(grpcClient, effectiveSettings, clientHelper);
        }
 partial void OnConstruction(BiddingStrategyService.BiddingStrategyServiceClient grpcClient, BiddingStrategyServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper);