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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCss()
The compiled CSS.ByteString
getCssBytes()
The compiled CSS.String
getLoadedUrls(int index)
The canonical URLs of all source files loaded during the compilation.ByteString
getLoadedUrlsBytes(int index)
The canonical URLs of all source files loaded during the compilation.int
getLoadedUrlsCount()
The canonical URLs of all source files loaded during the compilation.List<String>
getLoadedUrlsList()
The canonical URLs of all source files loaded during the compilation.String
getSourceMap()
The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`.ByteString
getSourceMapBytes()
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 Detail
-
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
List<String> 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
String getLoadedUrls(int index)
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
ByteString getLoadedUrlsBytes(int index)
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.
-
-