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

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            WebpageViewService.WebpageViewServiceClient grpcClient = new WebpageViewService.WebpageViewServiceClient(callInvoker);
            return(new WebpageViewServiceClientImpl(grpcClient, settings));
        }
 partial void OnConstruction(WebpageViewService.WebpageViewServiceClient grpcClient, WebpageViewServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper);