docs: public Handshake withParties(HandshakeParty... parties) {
          if (this.parties == null) {
              setParties(new java.util.ArrayList<HandshakeParty>(parties.length));
          }
          for (HandshakeParty ele : parties) {
              this.parties.add(ele);
          }
          return this;
      }