docs: public void setMetricData(java.util.Collection<MetricDatapoint> metricData) {
          if (metricData == null) {
              this.metricData = null;
              return;
          }
  
          this.metricData = new java.util.ArrayList<MetricDatapoint>(metricData);
      }