docs: public VertexElement buildVertexElement(Vertex vertex) {
          if (!tx.isValidElement(vertex)) {
              Objects.requireNonNull(vertex);
              throw TransactionException.invalidElement(vertex);
          }
          return new VertexElement(tx, vertex);
      }