/// <summary>
 /// Deletes a user, their profile, and all of their authored messages.
 /// </summary>
 /// <param name="name">
 /// The resource name of the user to delete.
 /// </param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public virtual stt::Task DeleteUserAsync(UserName name, gaxgrpc::CallSettings callSettings = null) =>
 DeleteUserAsync(new DeleteUserRequest
 {
     UserName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)),
 }, callSettings);
 /// <summary>
 /// Deletes a user, their profile, and all of their authored messages.
 /// </summary>
 /// <param name="name">
 /// The resource name of the user to delete.
 /// </param>
 /// <param name="cancellationToken">A <see cref="st::CancellationToken"/> to use for this RPC.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public virtual stt::Task DeleteUserAsync(UserName name, st::CancellationToken cancellationToken) =>
 DeleteUserAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
 /// <summary>
 /// Retrieves the User with the given uri.
 /// </summary>
 /// <param name="name">
 /// The resource name of the requested user.
 /// </param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>The RPC response.</returns>
 public virtual User GetUser(UserName name, gaxgrpc::CallSettings callSettings = null) =>
 GetUser(new GetUserRequest
 {
     UserName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)),
 }, callSettings);