docs: @Override
      public String getResourceId() {
          Preconditions.checkArgument(
                  this.urlType == UrlType.RESOURCE,
                  "UrlType must be %s but was %s",
                  UrlType.RESOURCE,
                  this.urlType);
          return this.resourceId;
      }