class DefaultUserAgentPublisher implements UserAgentPublisher {

  @Override
  public String getUserAgent() {
    if (gamesSDKRegistrar.getRegisteredVersions().isEmpty()) {
      return javaSDKVersionUserAgent;
    }

    return javaSDKVersionUserAgent + ' ' + toUserAgent(gamesSDKRegistrar.getRegisteredVersions());
  }

    DefaultUserAgentPublisher(
      Set<LibraryVersion> libraryVersions, GlobalLibraryVersionRegistrar gamesSDKRegistrar);

}