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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EmbeddedSass.InboundMessage.CompileRequest.Importer
getImporter()
The importer to use to resolve imports relative to `url`.EmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder
getImporterOrBuilder()
The importer to use to resolve imports relative to `url`.String
getSource()
The contents of the stylesheet.ByteString
getSourceBytes()
The contents of the stylesheet.EmbeddedSass.InboundMessage.Syntax
getSyntax()
The syntax to use to parse `source`.int
getSyntaxValue()
The syntax to use to parse `source`.String
getUrl()
The location from which `source` was loaded.ByteString
getUrlBytes()
The location from which `source` was loaded.boolean
hasImporter()
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 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.
-
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;
-
-