Interface EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccessOrBuilder

    • Method Detail

      • getCss

        String getCss()
         The compiled CSS.
         
        string css = 1;
        Returns:
        The css.
      • getCssBytes

        ByteString getCssBytes()
         The compiled CSS.
         
        string css = 1;
        Returns:
        The bytes for css.
      • getSourceMap

        String getSourceMap()
         The JSON-encoded source map, or the empty string if
         `CompileRequest.source_map` was `false`.
         The compiler must not add a `"file"` key to this source map. It's the
         host's (or the host's user's) responsibility to determine how the
         generated CSS can be reached from the source map.
         
        string source_map = 2;
        Returns:
        The sourceMap.
      • getSourceMapBytes

        ByteString getSourceMapBytes()
         The JSON-encoded source map, or the empty string if
         `CompileRequest.source_map` was `false`.
         The compiler must not add a `"file"` key to this source map. It's the
         host's (or the host's user's) responsibility to determine how the
         generated CSS can be reached from the source map.
         
        string source_map = 2;
        Returns:
        The bytes for sourceMap.
      • getLoadedUrlsList

        List<String> getLoadedUrlsList()
         The canonical URLs of all source files loaded during the compilation.
         The compiler must ensure that each canonical URL appears only once in
         this list. This must include the entrypoint file's URL if either
         `CompileRequest.input.path` or `CompileRequest.StringInput.url` was
         passed.
         
        repeated string loaded_urls = 3;
        Returns:
        A list containing the loadedUrls.
      • getLoadedUrlsCount

        int getLoadedUrlsCount()
         The canonical URLs of all source files loaded during the compilation.
         The compiler must ensure that each canonical URL appears only once in
         this list. This must include the entrypoint file's URL if either
         `CompileRequest.input.path` or `CompileRequest.StringInput.url` was
         passed.
         
        repeated string loaded_urls = 3;
        Returns:
        The count of loadedUrls.
      • getLoadedUrls

        String getLoadedUrls​(int index)
         The canonical URLs of all source files loaded during the compilation.
         The compiler must ensure that each canonical URL appears only once in
         this list. This must include the entrypoint file's URL if either
         `CompileRequest.input.path` or `CompileRequest.StringInput.url` was
         passed.
         
        repeated string loaded_urls = 3;
        Parameters:
        index - The index of the element to return.
        Returns:
        The loadedUrls at the given index.
      • getLoadedUrlsBytes

        ByteString getLoadedUrlsBytes​(int index)
         The canonical URLs of all source files loaded during the compilation.
         The compiler must ensure that each canonical URL appears only once in
         this list. This must include the entrypoint file's URL if either
         `CompileRequest.input.path` or `CompileRequest.StringInput.url` was
         passed.
         
        repeated string loaded_urls = 3;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the loadedUrls at the given index.