code: private static Metric createInternal(
        MetricDescriptor metricDescriptor, List<TimeSeries> timeSeriesList) {
      Utils.checkNotNull(metricDescriptor, "metricDescriptor");
      checkTypeMatch(metricDescriptor.getType(), timeSeriesList);
      return new AutoValue_Metric(metricDescriptor, timeSeriesList);
    }
docs: Creates a {@link Metric}.
  
  @param metricDescriptor the {@link MetricDescriptor}.
  @param timeSeriesList the {@link TimeSeries} list for this metric.
  @return a {@code Metric}.
  @since 0.17