docs: public void setLabels(java.util.Collection<Label> labels) {
          if (labels == null) {
              this.labels = null;
              return;
          }
  
          this.labels = new java.util.ArrayList<Label>(labels);
      }