Package sass.embedded_protocol
Interface EmbeddedSass.InboundMessage.FileImportResponseOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
EmbeddedSass.InboundMessage.FileImportResponse
,EmbeddedSass.InboundMessage.FileImportResponse.Builder
- Enclosing class:
- EmbeddedSass.InboundMessage
public static interface EmbeddedSass.InboundMessage.FileImportResponseOrBuilder
extends MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetError()
An error message explaining why the URL could not be loaded.An error message explaining why the URL could not be loaded.The absolute `file:` URL to look for the file on the physical filesystem.The absolute `file:` URL to look for the file on the physical filesystem.int
getId()
uint32 id = 1;
boolean
hasError()
An error message explaining why the URL could not be loaded.boolean
The absolute `file:` URL to look for the file on the physical filesystem.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
-
getId
int getId()uint32 id = 1;
- Returns:
- The id.
-
hasFileUrl
boolean hasFileUrl()The absolute `file:` URL to look for the file on the physical filesystem. The compiler must verify to the best of its ability that this URL follows the format for an absolute `file:` URL on the current operating system without a hostname. If it doesn't, the compiler must treat that as an error thrown by the importer. See https://en.wikipedia.org/wiki/File_URI_scheme for details on the format. The compiler must handle turning this into a canonical URL by resolving it for partials, file extensions, and index files. The compiler must then loading the contents of the resulting canonical URL from the filesystem.
string file_url = 2;
- Returns:
- Whether the fileUrl field is set.
-
getFileUrl
String getFileUrl()The absolute `file:` URL to look for the file on the physical filesystem. The compiler must verify to the best of its ability that this URL follows the format for an absolute `file:` URL on the current operating system without a hostname. If it doesn't, the compiler must treat that as an error thrown by the importer. See https://en.wikipedia.org/wiki/File_URI_scheme for details on the format. The compiler must handle turning this into a canonical URL by resolving it for partials, file extensions, and index files. The compiler must then loading the contents of the resulting canonical URL from the filesystem.
string file_url = 2;
- Returns:
- The fileUrl.
-
getFileUrlBytes
ByteString getFileUrlBytes()The absolute `file:` URL to look for the file on the physical filesystem. The compiler must verify to the best of its ability that this URL follows the format for an absolute `file:` URL on the current operating system without a hostname. If it doesn't, the compiler must treat that as an error thrown by the importer. See https://en.wikipedia.org/wiki/File_URI_scheme for details on the format. The compiler must handle turning this into a canonical URL by resolving it for partials, file extensions, and index files. The compiler must then loading the contents of the resulting canonical URL from the filesystem.
string file_url = 2;
- Returns:
- The bytes for fileUrl.
-
hasError
boolean hasError()An error message explaining why the URL could not be loaded.
string error = 3;
- Returns:
- Whether the error field is set.
-
getError
String getError()An error message explaining why the URL could not be loaded.
string error = 3;
- Returns:
- The error.
-
getErrorBytes
ByteString getErrorBytes()An error message explaining why the URL could not be loaded.
string error = 3;
- Returns:
- The bytes for error.
-
getResultCase
EmbeddedSass.InboundMessage.FileImportResponse.ResultCase getResultCase()
-