/// <summary>
        /// Constructs a client wrapper for the BiddingStrategySimulationService service, with the specified gRPC client
        /// and settings.
        /// </summary>
        /// <param name="grpcClient">The underlying gRPC client.</param>
        /// <param name="settings">
        /// The base <see cref="BiddingStrategySimulationServiceSettings"/> used within this client.
        /// </param>
        public BiddingStrategySimulationServiceClientImpl(BiddingStrategySimulationService.BiddingStrategySimulationServiceClient grpcClient, BiddingStrategySimulationServiceSettings settings)
        {
            GrpcClient = grpcClient;
            BiddingStrategySimulationServiceSettings effectiveSettings = settings ?? BiddingStrategySimulationServiceSettings.GetDefault();
            gaxgrpc::ClientHelper clientHelper = new gaxgrpc::ClientHelper(effectiveSettings);

            _callGetBiddingStrategySimulation = clientHelper.BuildApiCall <GetBiddingStrategySimulationRequest, gagvr::BiddingStrategySimulation>(grpcClient.GetBiddingStrategySimulationAsync, grpcClient.GetBiddingStrategySimulation, effectiveSettings.GetBiddingStrategySimulationSettings).WithGoogleRequestParam("resource_name", request => request.ResourceName);
            Modify_ApiCall(ref _callGetBiddingStrategySimulation);
            Modify_GetBiddingStrategySimulationApiCall(ref _callGetBiddingStrategySimulation);
            OnConstruction(grpcClient, effectiveSettings, clientHelper);
        }
        /// <summary>
        /// Creates a <see cref="BiddingStrategySimulationServiceClient"/> 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="BiddingStrategySimulationServiceSettings"/>.</param>
        /// <returns>The created <see cref="BiddingStrategySimulationServiceClient"/>.</returns>
        internal static BiddingStrategySimulationServiceClient Create(grpccore::CallInvoker callInvoker, BiddingStrategySimulationServiceSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            BiddingStrategySimulationService.BiddingStrategySimulationServiceClient grpcClient = new BiddingStrategySimulationService.BiddingStrategySimulationServiceClient(callInvoker);
            return(new BiddingStrategySimulationServiceClientImpl(grpcClient, settings));
        }
 partial void OnConstruction(BiddingStrategySimulationService.BiddingStrategySimulationServiceClient grpcClient, BiddingStrategySimulationServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper);