code: @Deprecated
    public static StorageResourceId validatePathAndGetId(URI uri, boolean allowEmptyObjectNames) {
      return LEGACY_PATH_CODEC.validatePathAndGetId(uri, allowEmptyObjectNames);
    }
docs: Validate a URI using the legacy path codec and return a StorageResourceId.
  
  @deprecated This method is deprecated as each instance of GCS FS can be configured
  with a codec.