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

            _callMutateCustomerCustomizers = clientHelper.BuildApiCall <MutateCustomerCustomizersRequest, MutateCustomerCustomizersResponse>(grpcClient.MutateCustomerCustomizersAsync, grpcClient.MutateCustomerCustomizers, effectiveSettings.MutateCustomerCustomizersSettings).WithGoogleRequestParam("customer_id", request => request.CustomerId);
            Modify_ApiCall(ref _callMutateCustomerCustomizers);
            Modify_MutateCustomerCustomizersApiCall(ref _callMutateCustomerCustomizers);
            OnConstruction(grpcClient, effectiveSettings, clientHelper);
        }
        /// <summary>
        /// Creates a <see cref="CustomerCustomizerServiceClient"/> 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="CustomerCustomizerServiceSettings"/>.</param>
        /// <returns>The created <see cref="CustomerCustomizerServiceClient"/>.</returns>
        internal static CustomerCustomizerServiceClient Create(grpccore::CallInvoker callInvoker, CustomerCustomizerServiceSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            CustomerCustomizerService.CustomerCustomizerServiceClient grpcClient = new CustomerCustomizerService.CustomerCustomizerServiceClient(callInvoker);
            return(new CustomerCustomizerServiceClientImpl(grpcClient, settings));
        }
 partial void OnConstruction(CustomerCustomizerService.CustomerCustomizerServiceClient grpcClient, CustomerCustomizerServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper);