code: public void setModerationLabels(java.util.Collection<ContentModerationDetection> moderationLabels) {
          if (moderationLabels == null) {
              this.moderationLabels = null;
              return;
          }
  
          this.moderationLabels = new java.util.ArrayList<ContentModerationDetection>(moderationLabels);
      }
docs: <p>
  The detected moderation labels and the time(s) they were detected.
  </p>
  
  @param moderationLabels
  The detected moderation labels and the time(s) they were detected.