Package sass.embedded_protocol
Interface EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccessOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess
,EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder
- Enclosing class:
- EmbeddedSass.OutboundMessage.CompileResponse
public static interface EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccessOrBuilder
extends MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCss()
The compiled CSS.The compiled CSS.getLoadedUrls
(int index) The canonical URLs of all source files loaded during the compilation.getLoadedUrlsBytes
(int index) The canonical URLs of all source files loaded during the compilation.int
The canonical URLs of all source files loaded during the compilation.The canonical URLs of all source files loaded during the compilation.The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`.The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`.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
-
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
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
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
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.
-