docs: public void setMetrics(java.util.Collection<String> metrics) {
          if (metrics == null) {
              this.metrics = null;
              return;
          }
  
          this.metrics = new java.util.ArrayList<String>(metrics);
      }