docs: public void defineInputs(String... inputNames) {
          Preconditions.checkArgument(inputNames != null && inputNames.length > 0,
                          "Input names must not be null, and must have length > 0: got %s", inputNames);
          this.inputs = Arrays.asList(inputNames);
      }