Interface EmbeddedSass.InboundMessage.ImportResponse.ImportSuccessOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
EmbeddedSass.InboundMessage.ImportResponse.ImportSuccess, EmbeddedSass.InboundMessage.ImportResponse.ImportSuccess.Builder
Enclosing class:
EmbeddedSass.InboundMessage.ImportResponse

public static interface EmbeddedSass.InboundMessage.ImportResponse.ImportSuccessOrBuilder extends MessageOrBuilder
  • Method Details

    • getContents

      String getContents()
       The text of the stylesheet. Mandatory.
       
      string contents = 1;
      Returns:
      The contents.
    • getContentsBytes

      ByteString getContentsBytes()
       The text of the stylesheet. Mandatory.
       
      string contents = 1;
      Returns:
      The bytes for contents.
    • getSyntaxValue

      int getSyntaxValue()
       The syntax of `contents`. Mandatory.
       
      .sass.embedded_protocol.Syntax syntax = 2;
      Returns:
      The enum numeric value on the wire for syntax.
    • getSyntax

      EmbeddedSass.Syntax getSyntax()
       The syntax of `contents`. Mandatory.
       
      .sass.embedded_protocol.Syntax syntax = 2;
      Returns:
      The syntax.
    • getSourceMapUrl

      String getSourceMapUrl()
       An absolute, browser-accessible URL indicating the resolved location of
       the imported stylesheet. Optional.
      
       This should be a `file:` URL if one is available, but an `http:` URL is
       acceptable as well. If no URL is supplied, a `data:` URL is generated
       automatically from `contents`.
      
       If this is provided and is not an absolute URL (including scheme) the
       compiler must treat that as an error thrown by the importer.
       
      string source_map_url = 3;
      Returns:
      The sourceMapUrl.
    • getSourceMapUrlBytes

      ByteString getSourceMapUrlBytes()
       An absolute, browser-accessible URL indicating the resolved location of
       the imported stylesheet. Optional.
      
       This should be a `file:` URL if one is available, but an `http:` URL is
       acceptable as well. If no URL is supplied, a `data:` URL is generated
       automatically from `contents`.
      
       If this is provided and is not an absolute URL (including scheme) the
       compiler must treat that as an error thrown by the importer.
       
      string source_map_url = 3;
      Returns:
      The bytes for sourceMapUrl.