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

            _callGetShoppingPerformanceView = clientHelper.BuildApiCall <GetShoppingPerformanceViewRequest, gagvr::ShoppingPerformanceView>(grpcClient.GetShoppingPerformanceViewAsync, grpcClient.GetShoppingPerformanceView, effectiveSettings.GetShoppingPerformanceViewSettings).WithGoogleRequestParam("resource_name", request => request.ResourceName);
            Modify_ApiCall(ref _callGetShoppingPerformanceView);
            Modify_GetShoppingPerformanceViewApiCall(ref _callGetShoppingPerformanceView);
            OnConstruction(grpcClient, effectiveSettings, clientHelper);
        }
        /// <summary>
        /// Creates a <see cref="ShoppingPerformanceViewServiceClient"/> 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="ShoppingPerformanceViewServiceSettings"/>.</param>
        /// <returns>The created <see cref="ShoppingPerformanceViewServiceClient"/>.</returns>
        internal static ShoppingPerformanceViewServiceClient Create(grpccore::CallInvoker callInvoker, ShoppingPerformanceViewServiceSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            ShoppingPerformanceViewService.ShoppingPerformanceViewServiceClient grpcClient = new ShoppingPerformanceViewService.ShoppingPerformanceViewServiceClient(callInvoker);
            return(new ShoppingPerformanceViewServiceClientImpl(grpcClient, settings));
        }
 partial void OnConstruction(ShoppingPerformanceViewService.ShoppingPerformanceViewServiceClient grpcClient, ShoppingPerformanceViewServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper);