@ApiStatus.Internal
  @TestOnly
  public void waitUntilStubIndexedInitialized() {
    try {
      getAsyncState();
    }
    catch (AlreadyDisposedException ade) {
      // it's ok, nothing to await
    }
  }
@ApiStatus.Internal
  @TestOnly
  public void waitUntilStubIndexedInitialized()