Uri
Stands in for android.net.Uri as the carrier of a URI string, so that the Firebase Android SDK members taking or returning one (StorageReference.putFile, RemoteMessage.Notification.getImageUrl) keep their signatures in common code and Android code creating one, Uri.parse(path), compiles unchanged.
On Android and the JVM, where firebase-java-sdk ships one, the class is a header stub stripped from the output (see buildSrc utils/HeaderStubs.kt), so code there uses the platform's. Elsewhere this class is shipped: parse holds the string as given, with none of Android's parsing, and the platform SDK receives toString. Only the members the SDK needs are declared.