Metric vector and mass spectrum of gauge fields