code: public void setLabels(java.util.Collection<LabelDetection> labels) {
          if (labels == null) {
              this.labels = null;
              return;
          }
  
          this.labels = new java.util.ArrayList<LabelDetection>(labels);
      }
docs: <p>
  An array of labels detected in the video. Each element contains the detected label and the time, in milliseconds
  from the start of the video, that the label was detected.
  </p>
  
  @param labels
  An array of labels detected in the video. Each element contains the detected label and the time, in
  milliseconds from the start of the video, that the label was detected.