public static interface EmbeddedSass.OutboundMessage.FileImportRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getCompilationId()
The request id for the compilation that triggered the message.
|
boolean |
getFromImport()
/ Whether this request comes from an `@import` rule.
|
int |
getId()
uint32 id = 1; |
int |
getImporterId()
The unique ID of the importer being invoked.
|
String |
getUrl()
The (non-canonicalized) URL of the import.
|
com.google.protobuf.ByteString |
getUrlBytes()
The (non-canonicalized) URL of the import.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
int getId()
uint32 id = 1;
int getCompilationId()
The request id for the compilation that triggered the message. Mandatory.
uint32 compilation_id = 2;
int getImporterId()
The unique ID of the importer being invoked. This must match an `Importer.file_importer_id` passed to this compilation in `CompileRequest.importers` or `CompileRequest.input.string.importer`. Mandatory.
uint32 importer_id = 3;
String getUrl()
The (non-canonicalized) URL of the import.
string url = 4;
com.google.protobuf.ByteString getUrlBytes()
The (non-canonicalized) URL of the import.
string url = 4;
boolean getFromImport()
/ Whether this request comes from an `@import` rule. / / When evaluating `@import` rules, filesystem importers should load an / [import-only file] if one exists for the URL being canonicalized. / Otherwise, canonicalization should be identical for `@import` and `@use` / rules. / / [import-only file]: https://sass-lang.com/documentation/at-rules/import#import-only-files
bool from_import = 5;