code: public FaceDetail withEmotions(Emotion... emotions) {
          if (this.emotions == null) {
              setEmotions(new java.util.ArrayList<Emotion>(emotions.length));
          }
          for (Emotion ele : emotions) {
              this.emotions.add(ele);
          }
          return this;
      }
docs: <p>
  The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD, and
  ANGRY.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setEmotions(java.util.Collection)} or {@link #withEmotions(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param emotions
  The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD,
  and ANGRY.
  @return Returns a reference to this object so that method calls can be chained together.