code: public void setLabels(java.util.Collection<Label> labels) {
          if (labels == null) {
              this.labels = null;
              return;
          }
  
          this.labels = new java.util.ArrayList<Label>(labels);
      }
docs: <p>
  An array of labels for the real-world objects detected.
  </p>
  
  @param labels
  An array of labels for the real-world objects detected.