@CanIgnoreReturnValue
    public Builder withKeyTemplate(KeyTemplate val) {
      keyTemplate = val;
      return this;
    }
If the keyset is not found or valid, generates a new one using {@code val}.
java_src/src/main/java/com/google/crypto/tink/integration/android/AndroidKeysetManager.java