code: public void setMetric(String metric) {
          SystemAssert.requireArgument(metric != null && !metric.isEmpty(), "Metric cannot be null or empty.");
          this.metric = metric;
      }
docs: Specifies the metric name of the query.
  
  @param  metric  The metric name of the query.  Cannot be null or empty.