Package sass.embedded_protocol
Interface EmbeddedSass.InboundMessage.CompileRequest.StringInputOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
EmbeddedSass.InboundMessage.CompileRequest.StringInput
,EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder
- Enclosing class:
- EmbeddedSass.InboundMessage.CompileRequest
public static interface EmbeddedSass.InboundMessage.CompileRequest.StringInputOrBuilder
extends MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe importer to use to resolve imports relative to `url`.The importer to use to resolve imports relative to `url`.The contents of the stylesheet.The contents of the stylesheet.The syntax to use to parse `source`.int
The syntax to use to parse `source`.getUrl()
The location from which `source` was loaded.The location from which `source` was loaded.boolean
The importer to use to resolve imports relative to `url`.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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 canonical 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 canonical 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.Syntax syntax = 3;
- Returns:
- The enum numeric value on the wire for syntax.
-
getSyntax
EmbeddedSass.Syntax getSyntax()The syntax to use to parse `source`.
.sass.embedded_protocol.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.
-
getImporter
EmbeddedSass.InboundMessage.CompileRequest.Importer getImporter()The importer to use to resolve imports relative to `url`.
.sass.embedded_protocol.InboundMessage.CompileRequest.Importer importer = 4;
- Returns:
- The importer.
-
getImporterOrBuilder
EmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder getImporterOrBuilder()The importer to use to resolve imports relative to `url`.
.sass.embedded_protocol.InboundMessage.CompileRequest.Importer importer = 4;
-