Was there a Japanese Samurai Movie that they loosely based the Clint Eastwood "man with no name" Wester trilogy  upon?

You're talking about Yojimbo, which served as a model for A Fistful of Dollars.

Nothing Wikipedia couldn't have told you, mind.

Thanks , was the actor in that film same one who co starred with charles bronson in that cowboy samurai