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

            _callValidateAttestationOccurrence = clientHelper.BuildApiCall <ValidateAttestationOccurrenceRequest, ValidateAttestationOccurrenceResponse>(grpcClient.ValidateAttestationOccurrenceAsync, grpcClient.ValidateAttestationOccurrence, effectiveSettings.ValidateAttestationOccurrenceSettings).WithGoogleRequestParam("attestor", request => request.Attestor);
            Modify_ApiCall(ref _callValidateAttestationOccurrence);
            Modify_ValidateAttestationOccurrenceApiCall(ref _callValidateAttestationOccurrence);
            OnConstruction(grpcClient, effectiveSettings, clientHelper);
        }
 partial void OnCopy(ValidationHelperV1Settings existing);
 private ValidationHelperV1Settings(ValidationHelperV1Settings existing) : base(existing)
 {
     gax::GaxPreconditions.CheckNotNull(existing, nameof(existing));
     ValidateAttestationOccurrenceSettings = existing.ValidateAttestationOccurrenceSettings;
     OnCopy(existing);
 }
 partial void OnConstruction(ValidationHelperV1.ValidationHelperV1Client grpcClient, ValidationHelperV1Settings effectiveSettings, gaxgrpc::ClientHelper clientHelper);
        /// <summary>
        /// Creates a <see cref="ValidationHelperV1Client"/> 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="ValidationHelperV1Settings"/>.</param>
        /// <returns>The created <see cref="ValidationHelperV1Client"/>.</returns>
        internal static ValidationHelperV1Client Create(grpccore::CallInvoker callInvoker, ValidationHelperV1Settings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            ValidationHelperV1.ValidationHelperV1Client grpcClient = new ValidationHelperV1.ValidationHelperV1Client(callInvoker);
            return(new ValidationHelperV1ClientImpl(grpcClient, settings));
        }