public static final class InboundMessage.CompileRequest.Importer.Builder extends com.google.protobuf.GeneratedMessage.Builder<InboundMessage.CompileRequest.Importer.Builder> implements InboundMessage.CompileRequest.ImporterOrBuilder
A wrapper message that represents either a user-defined importer or a load path on disk. This must be a wrapper because `oneof` types can't be `repeated`.Protobuf type
sass.embedded_protocol.InboundMessage.CompileRequest.Importer| Modifier and Type | Method and Description |
|---|---|
InboundMessage.CompileRequest.Importer.Builder |
addAllNonCanonicalScheme(Iterable<String> values)
The set of URL schemes that are considered *non-canonical* for this
importer.
|
InboundMessage.CompileRequest.Importer.Builder |
addNonCanonicalScheme(String value)
The set of URL schemes that are considered *non-canonical* for this
importer.
|
InboundMessage.CompileRequest.Importer.Builder |
addNonCanonicalSchemeBytes(com.google.protobuf.ByteString value)
The set of URL schemes that are considered *non-canonical* for this
importer.
|
InboundMessage.CompileRequest.Importer |
build() |
InboundMessage.CompileRequest.Importer |
buildPartial() |
InboundMessage.CompileRequest.Importer.Builder |
clear() |
InboundMessage.CompileRequest.Importer.Builder |
clearFileImporterId()
A unique ID for a special kind of user-defined importer that tells
the compiler where to look for files on the physical filesystem, but
leaves the details of resolving partials and extensions and loading
the file from disk up to the compiler itself.
|
InboundMessage.CompileRequest.Importer.Builder |
clearImporter() |
InboundMessage.CompileRequest.Importer.Builder |
clearImporterId()
A unique ID for a user-defined importer.
|
InboundMessage.CompileRequest.Importer.Builder |
clearNodePackageImporter()
The [Node.js package importer], which is a built-in Package Importer
with an associated `entry_point_directory` that resolves `pkg:` URLs
using the standards and conventions of the Node ecosystem.
|
InboundMessage.CompileRequest.Importer.Builder |
clearNonCanonicalScheme()
The set of URL schemes that are considered *non-canonical* for this
importer.
|
InboundMessage.CompileRequest.Importer.Builder |
clearPath()
A built-in importer that loads Sass files within the given directory
on disk.
|
InboundMessage.CompileRequest.Importer |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getFileImporterId()
A unique ID for a special kind of user-defined importer that tells
the compiler where to look for files on the physical filesystem, but
leaves the details of resolving partials and extensions and loading
the file from disk up to the compiler itself.
|
InboundMessage.CompileRequest.Importer.ImporterCase |
getImporterCase() |
int |
getImporterId()
A unique ID for a user-defined importer.
|
NodePackageImporter |
getNodePackageImporter()
The [Node.js package importer], which is a built-in Package Importer
with an associated `entry_point_directory` that resolves `pkg:` URLs
using the standards and conventions of the Node ecosystem.
|
NodePackageImporter.Builder |
getNodePackageImporterBuilder()
The [Node.js package importer], which is a built-in Package Importer
with an associated `entry_point_directory` that resolves `pkg:` URLs
using the standards and conventions of the Node ecosystem.
|
NodePackageImporterOrBuilder |
getNodePackageImporterOrBuilder()
The [Node.js package importer], which is a built-in Package Importer
with an associated `entry_point_directory` that resolves `pkg:` URLs
using the standards and conventions of the Node ecosystem.
|
String |
getNonCanonicalScheme(int index)
The set of URL schemes that are considered *non-canonical* for this
importer.
|
com.google.protobuf.ByteString |
getNonCanonicalSchemeBytes(int index)
The set of URL schemes that are considered *non-canonical* for this
importer.
|
int |
getNonCanonicalSchemeCount()
The set of URL schemes that are considered *non-canonical* for this
importer.
|
com.google.protobuf.ProtocolStringList |
getNonCanonicalSchemeList()
The set of URL schemes that are considered *non-canonical* for this
importer.
|
String |
getPath()
A built-in importer that loads Sass files within the given directory
on disk.
|
com.google.protobuf.ByteString |
getPathBytes()
A built-in importer that loads Sass files within the given directory
on disk.
|
boolean |
hasFileImporterId()
A unique ID for a special kind of user-defined importer that tells
the compiler where to look for files on the physical filesystem, but
leaves the details of resolving partials and extensions and loading
the file from disk up to the compiler itself.
|
boolean |
hasImporterId()
A unique ID for a user-defined importer.
|
boolean |
hasNodePackageImporter()
The [Node.js package importer], which is a built-in Package Importer
with an associated `entry_point_directory` that resolves `pkg:` URLs
using the standards and conventions of the Node ecosystem.
|
boolean |
hasPath()
A built-in importer that loads Sass files within the given directory
on disk.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
InboundMessage.CompileRequest.Importer.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InboundMessage.CompileRequest.Importer.Builder |
mergeFrom(InboundMessage.CompileRequest.Importer other) |
InboundMessage.CompileRequest.Importer.Builder |
mergeFrom(com.google.protobuf.Message other) |
InboundMessage.CompileRequest.Importer.Builder |
mergeNodePackageImporter(NodePackageImporter value)
The [Node.js package importer], which is a built-in Package Importer
with an associated `entry_point_directory` that resolves `pkg:` URLs
using the standards and conventions of the Node ecosystem.
|
InboundMessage.CompileRequest.Importer.Builder |
setFileImporterId(int value)
A unique ID for a special kind of user-defined importer that tells
the compiler where to look for files on the physical filesystem, but
leaves the details of resolving partials and extensions and loading
the file from disk up to the compiler itself.
|
InboundMessage.CompileRequest.Importer.Builder |
setImporterId(int value)
A unique ID for a user-defined importer.
|
InboundMessage.CompileRequest.Importer.Builder |
setNodePackageImporter(NodePackageImporter.Builder builderForValue)
The [Node.js package importer], which is a built-in Package Importer
with an associated `entry_point_directory` that resolves `pkg:` URLs
using the standards and conventions of the Node ecosystem.
|
InboundMessage.CompileRequest.Importer.Builder |
setNodePackageImporter(NodePackageImporter value)
The [Node.js package importer], which is a built-in Package Importer
with an associated `entry_point_directory` that resolves `pkg:` URLs
using the standards and conventions of the Node ecosystem.
|
InboundMessage.CompileRequest.Importer.Builder |
setNonCanonicalScheme(int index,
String value)
The set of URL schemes that are considered *non-canonical* for this
importer.
|
InboundMessage.CompileRequest.Importer.Builder |
setPath(String value)
A built-in importer that loads Sass files within the given directory
on disk.
|
InboundMessage.CompileRequest.Importer.Builder |
setPathBytes(com.google.protobuf.ByteString value)
A built-in importer that loads Sass files within the given directory
on disk.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<InboundMessage.CompileRequest.Importer.Builder>public InboundMessage.CompileRequest.Importer.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<InboundMessage.CompileRequest.Importer.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<InboundMessage.CompileRequest.Importer.Builder>public InboundMessage.CompileRequest.Importer getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic InboundMessage.CompileRequest.Importer build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic InboundMessage.CompileRequest.Importer buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic InboundMessage.CompileRequest.Importer.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InboundMessage.CompileRequest.Importer.Builder>public InboundMessage.CompileRequest.Importer.Builder mergeFrom(InboundMessage.CompileRequest.Importer other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<InboundMessage.CompileRequest.Importer.Builder>public InboundMessage.CompileRequest.Importer.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InboundMessage.CompileRequest.Importer.Builder>IOExceptionpublic InboundMessage.CompileRequest.Importer.ImporterCase getImporterCase()
getImporterCase in interface InboundMessage.CompileRequest.ImporterOrBuilderpublic InboundMessage.CompileRequest.Importer.Builder clearImporter()
public boolean hasPath()
A built-in importer that loads Sass files within the given directory on disk.
string path = 1;hasPath in interface InboundMessage.CompileRequest.ImporterOrBuilderpublic String getPath()
A built-in importer that loads Sass files within the given directory on disk.
string path = 1;getPath in interface InboundMessage.CompileRequest.ImporterOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
A built-in importer that loads Sass files within the given directory on disk.
string path = 1;getPathBytes in interface InboundMessage.CompileRequest.ImporterOrBuilderpublic InboundMessage.CompileRequest.Importer.Builder setPath(String value)
A built-in importer that loads Sass files within the given directory on disk.
string path = 1;value - The path to set.public InboundMessage.CompileRequest.Importer.Builder clearPath()
A built-in importer that loads Sass files within the given directory on disk.
string path = 1;public InboundMessage.CompileRequest.Importer.Builder setPathBytes(com.google.protobuf.ByteString value)
A built-in importer that loads Sass files within the given directory on disk.
string path = 1;value - The bytes for path to set.public boolean hasImporterId()
A unique ID for a user-defined importer. This ID will be included in outbound `CanonicalizeRequest` and `ImportRequest` messages to indicate which importer is being called. The host is responsible for generating this ID and ensuring that it's unique across all importers registered for this compilation.
uint32 importer_id = 2;hasImporterId in interface InboundMessage.CompileRequest.ImporterOrBuilderpublic int getImporterId()
A unique ID for a user-defined importer. This ID will be included in outbound `CanonicalizeRequest` and `ImportRequest` messages to indicate which importer is being called. The host is responsible for generating this ID and ensuring that it's unique across all importers registered for this compilation.
uint32 importer_id = 2;getImporterId in interface InboundMessage.CompileRequest.ImporterOrBuilderpublic InboundMessage.CompileRequest.Importer.Builder setImporterId(int value)
A unique ID for a user-defined importer. This ID will be included in outbound `CanonicalizeRequest` and `ImportRequest` messages to indicate which importer is being called. The host is responsible for generating this ID and ensuring that it's unique across all importers registered for this compilation.
uint32 importer_id = 2;value - The importerId to set.public InboundMessage.CompileRequest.Importer.Builder clearImporterId()
A unique ID for a user-defined importer. This ID will be included in outbound `CanonicalizeRequest` and `ImportRequest` messages to indicate which importer is being called. The host is responsible for generating this ID and ensuring that it's unique across all importers registered for this compilation.
uint32 importer_id = 2;public boolean hasFileImporterId()
A unique ID for a special kind of user-defined importer that tells the compiler where to look for files on the physical filesystem, but leaves the details of resolving partials and extensions and loading the file from disk up to the compiler itself. This ID will be included in outbound `FileImportRequest` messages to indicate which importer is being called. The host is responsible for generating this ID and ensuring that it's unique across all importers registered for this compilation.
uint32 file_importer_id = 3;hasFileImporterId in interface InboundMessage.CompileRequest.ImporterOrBuilderpublic int getFileImporterId()
A unique ID for a special kind of user-defined importer that tells the compiler where to look for files on the physical filesystem, but leaves the details of resolving partials and extensions and loading the file from disk up to the compiler itself. This ID will be included in outbound `FileImportRequest` messages to indicate which importer is being called. The host is responsible for generating this ID and ensuring that it's unique across all importers registered for this compilation.
uint32 file_importer_id = 3;getFileImporterId in interface InboundMessage.CompileRequest.ImporterOrBuilderpublic InboundMessage.CompileRequest.Importer.Builder setFileImporterId(int value)
A unique ID for a special kind of user-defined importer that tells the compiler where to look for files on the physical filesystem, but leaves the details of resolving partials and extensions and loading the file from disk up to the compiler itself. This ID will be included in outbound `FileImportRequest` messages to indicate which importer is being called. The host is responsible for generating this ID and ensuring that it's unique across all importers registered for this compilation.
uint32 file_importer_id = 3;value - The fileImporterId to set.public InboundMessage.CompileRequest.Importer.Builder clearFileImporterId()
A unique ID for a special kind of user-defined importer that tells the compiler where to look for files on the physical filesystem, but leaves the details of resolving partials and extensions and loading the file from disk up to the compiler itself. This ID will be included in outbound `FileImportRequest` messages to indicate which importer is being called. The host is responsible for generating this ID and ensuring that it's unique across all importers registered for this compilation.
uint32 file_importer_id = 3;public boolean hasNodePackageImporter()
The [Node.js package importer], which is a built-in Package Importer with an associated `entry_point_directory` that resolves `pkg:` URLs using the standards and conventions of the Node ecosystem. [Node.js package importer]: https://github.com/sass/sass/tree/main/spec/modules.md#node-package-importer
.sass.embedded_protocol.NodePackageImporter node_package_importer = 5;hasNodePackageImporter in interface InboundMessage.CompileRequest.ImporterOrBuilderpublic NodePackageImporter getNodePackageImporter()
The [Node.js package importer], which is a built-in Package Importer with an associated `entry_point_directory` that resolves `pkg:` URLs using the standards and conventions of the Node ecosystem. [Node.js package importer]: https://github.com/sass/sass/tree/main/spec/modules.md#node-package-importer
.sass.embedded_protocol.NodePackageImporter node_package_importer = 5;getNodePackageImporter in interface InboundMessage.CompileRequest.ImporterOrBuilderpublic InboundMessage.CompileRequest.Importer.Builder setNodePackageImporter(NodePackageImporter value)
The [Node.js package importer], which is a built-in Package Importer with an associated `entry_point_directory` that resolves `pkg:` URLs using the standards and conventions of the Node ecosystem. [Node.js package importer]: https://github.com/sass/sass/tree/main/spec/modules.md#node-package-importer
.sass.embedded_protocol.NodePackageImporter node_package_importer = 5;public InboundMessage.CompileRequest.Importer.Builder setNodePackageImporter(NodePackageImporter.Builder builderForValue)
The [Node.js package importer], which is a built-in Package Importer with an associated `entry_point_directory` that resolves `pkg:` URLs using the standards and conventions of the Node ecosystem. [Node.js package importer]: https://github.com/sass/sass/tree/main/spec/modules.md#node-package-importer
.sass.embedded_protocol.NodePackageImporter node_package_importer = 5;public InboundMessage.CompileRequest.Importer.Builder mergeNodePackageImporter(NodePackageImporter value)
The [Node.js package importer], which is a built-in Package Importer with an associated `entry_point_directory` that resolves `pkg:` URLs using the standards and conventions of the Node ecosystem. [Node.js package importer]: https://github.com/sass/sass/tree/main/spec/modules.md#node-package-importer
.sass.embedded_protocol.NodePackageImporter node_package_importer = 5;public InboundMessage.CompileRequest.Importer.Builder clearNodePackageImporter()
The [Node.js package importer], which is a built-in Package Importer with an associated `entry_point_directory` that resolves `pkg:` URLs using the standards and conventions of the Node ecosystem. [Node.js package importer]: https://github.com/sass/sass/tree/main/spec/modules.md#node-package-importer
.sass.embedded_protocol.NodePackageImporter node_package_importer = 5;public NodePackageImporter.Builder getNodePackageImporterBuilder()
The [Node.js package importer], which is a built-in Package Importer with an associated `entry_point_directory` that resolves `pkg:` URLs using the standards and conventions of the Node ecosystem. [Node.js package importer]: https://github.com/sass/sass/tree/main/spec/modules.md#node-package-importer
.sass.embedded_protocol.NodePackageImporter node_package_importer = 5;public NodePackageImporterOrBuilder getNodePackageImporterOrBuilder()
The [Node.js package importer], which is a built-in Package Importer with an associated `entry_point_directory` that resolves `pkg:` URLs using the standards and conventions of the Node ecosystem. [Node.js package importer]: https://github.com/sass/sass/tree/main/spec/modules.md#node-package-importer
.sass.embedded_protocol.NodePackageImporter node_package_importer = 5;getNodePackageImporterOrBuilder in interface InboundMessage.CompileRequest.ImporterOrBuilderpublic com.google.protobuf.ProtocolStringList getNonCanonicalSchemeList()
The set of URL schemes that are considered *non-canonical* for this importer. This must be empty unless `importer.importer_id` is set. If any element of this contains a character other than a lowercase ASCII letter, an ASCII numeral, U+002B (`+`), U+002D (`-`), or U+002E (`.`), the compiler must treat the compilation as failed.
repeated string non_canonical_scheme = 4;getNonCanonicalSchemeList in interface InboundMessage.CompileRequest.ImporterOrBuilderpublic int getNonCanonicalSchemeCount()
The set of URL schemes that are considered *non-canonical* for this importer. This must be empty unless `importer.importer_id` is set. If any element of this contains a character other than a lowercase ASCII letter, an ASCII numeral, U+002B (`+`), U+002D (`-`), or U+002E (`.`), the compiler must treat the compilation as failed.
repeated string non_canonical_scheme = 4;getNonCanonicalSchemeCount in interface InboundMessage.CompileRequest.ImporterOrBuilderpublic String getNonCanonicalScheme(int index)
The set of URL schemes that are considered *non-canonical* for this importer. This must be empty unless `importer.importer_id` is set. If any element of this contains a character other than a lowercase ASCII letter, an ASCII numeral, U+002B (`+`), U+002D (`-`), or U+002E (`.`), the compiler must treat the compilation as failed.
repeated string non_canonical_scheme = 4;getNonCanonicalScheme in interface InboundMessage.CompileRequest.ImporterOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getNonCanonicalSchemeBytes(int index)
The set of URL schemes that are considered *non-canonical* for this importer. This must be empty unless `importer.importer_id` is set. If any element of this contains a character other than a lowercase ASCII letter, an ASCII numeral, U+002B (`+`), U+002D (`-`), or U+002E (`.`), the compiler must treat the compilation as failed.
repeated string non_canonical_scheme = 4;getNonCanonicalSchemeBytes in interface InboundMessage.CompileRequest.ImporterOrBuilderindex - The index of the value to return.public InboundMessage.CompileRequest.Importer.Builder setNonCanonicalScheme(int index, String value)
The set of URL schemes that are considered *non-canonical* for this importer. This must be empty unless `importer.importer_id` is set. If any element of this contains a character other than a lowercase ASCII letter, an ASCII numeral, U+002B (`+`), U+002D (`-`), or U+002E (`.`), the compiler must treat the compilation as failed.
repeated string non_canonical_scheme = 4;index - The index to set the value at.value - The nonCanonicalScheme to set.public InboundMessage.CompileRequest.Importer.Builder addNonCanonicalScheme(String value)
The set of URL schemes that are considered *non-canonical* for this importer. This must be empty unless `importer.importer_id` is set. If any element of this contains a character other than a lowercase ASCII letter, an ASCII numeral, U+002B (`+`), U+002D (`-`), or U+002E (`.`), the compiler must treat the compilation as failed.
repeated string non_canonical_scheme = 4;value - The nonCanonicalScheme to add.public InboundMessage.CompileRequest.Importer.Builder addAllNonCanonicalScheme(Iterable<String> values)
The set of URL schemes that are considered *non-canonical* for this importer. This must be empty unless `importer.importer_id` is set. If any element of this contains a character other than a lowercase ASCII letter, an ASCII numeral, U+002B (`+`), U+002D (`-`), or U+002E (`.`), the compiler must treat the compilation as failed.
repeated string non_canonical_scheme = 4;values - The nonCanonicalScheme to add.public InboundMessage.CompileRequest.Importer.Builder clearNonCanonicalScheme()
The set of URL schemes that are considered *non-canonical* for this importer. This must be empty unless `importer.importer_id` is set. If any element of this contains a character other than a lowercase ASCII letter, an ASCII numeral, U+002B (`+`), U+002D (`-`), or U+002E (`.`), the compiler must treat the compilation as failed.
repeated string non_canonical_scheme = 4;public InboundMessage.CompileRequest.Importer.Builder addNonCanonicalSchemeBytes(com.google.protobuf.ByteString value)
The set of URL schemes that are considered *non-canonical* for this importer. This must be empty unless `importer.importer_id` is set. If any element of this contains a character other than a lowercase ASCII letter, an ASCII numeral, U+002B (`+`), U+002D (`-`), or U+002E (`.`), the compiler must treat the compilation as failed.
repeated string non_canonical_scheme = 4;value - The bytes of the nonCanonicalScheme to add.