docs: public void setStageStates(java.util.Collection<StageState> stageStates) {
          if (stageStates == null) {
              this.stageStates = null;
              return;
          }
  
          this.stageStates = new java.util.ArrayList<StageState>(stageStates);
      }