@InlineMe(replacement = "this.setPrimary(keyId)")
  @CanIgnoreReturnValue
  public synchronized KeysetManager promote(int keyId) throws GeneralSecurityException {
    return setPrimary(keyId);
  }
Sets the key with {@code keyId} as primary.

@throws GeneralSecurityException if the key is not found or not enabled
java_src/src/main/java/com/google/crypto/tink/KeysetManager.java