Interface EmbeddedSass.InboundMessage.CompileRequest.StringInputOrBuilder

    • Method Detail

      • getSource

        String getSource()
         The contents of the stylesheet.
         
        string source = 1;
        Returns:
        The source.
      • getSourceBytes

        ByteString getSourceBytes()
         The contents of the stylesheet.
         
        string source = 1;
        Returns:
        The bytes for source.
      • getUrl

        String getUrl()
         The location from which `source` was loaded. If this is empty, it
         indicates that the URL is unknown.
         This must be a URL recognized by `importer`, if it's passed.
         
        string url = 2;
        Returns:
        The url.
      • getUrlBytes

        ByteString getUrlBytes()
         The location from which `source` was loaded. If this is empty, it
         indicates that the URL is unknown.
         This must be a URL recognized by `importer`, if it's passed.
         
        string url = 2;
        Returns:
        The bytes for url.
      • getSyntaxValue

        int getSyntaxValue()
         The syntax to use to parse `source`.
         
        .sass.embedded_protocol.InboundMessage.Syntax syntax = 3;
        Returns:
        The enum numeric value on the wire for syntax.
      • getSyntax

        EmbeddedSass.InboundMessage.Syntax getSyntax()
         The syntax to use to parse `source`.
         
        .sass.embedded_protocol.InboundMessage.Syntax syntax = 3;
        Returns:
        The syntax.
      • hasImporter

        boolean hasImporter()
         The importer to use to resolve imports relative to `url`.
         
        .sass.embedded_protocol.InboundMessage.CompileRequest.Importer importer = 4;
        Returns:
        Whether the importer field is set.