public static final class NodePackageImporter.Builder extends com.google.protobuf.GeneratedMessage.Builder<NodePackageImporter.Builder> implements NodePackageImporterOrBuilder
The built-in Node.js Package Importer, which is a Package Importer that resolves using the standards and conventions of the Node.js ecosystem. It enables a `pkg:` URL scheme for usage with `@use` that directs an implementation to resolve a URL within a dependency.Protobuf type
sass.embedded_protocol.NodePackageImporter| Modifier and Type | Method and Description |
|---|---|
NodePackageImporter |
build() |
NodePackageImporter |
buildPartial() |
NodePackageImporter.Builder |
clear() |
NodePackageImporter.Builder |
clearEntryPointDirectory()
The absolute path to associate with the Node Package Importer, with
semantics identical to the [entryPointDirectory option] in the JavaScript
API.
|
NodePackageImporter |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEntryPointDirectory()
The absolute path to associate with the Node Package Importer, with
semantics identical to the [entryPointDirectory option] in the JavaScript
API.
|
com.google.protobuf.ByteString |
getEntryPointDirectoryBytes()
The absolute path to associate with the Node Package Importer, with
semantics identical to the [entryPointDirectory option] in the JavaScript
API.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
NodePackageImporter.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NodePackageImporter.Builder |
mergeFrom(com.google.protobuf.Message other) |
NodePackageImporter.Builder |
mergeFrom(NodePackageImporter other) |
NodePackageImporter.Builder |
setEntryPointDirectory(String value)
The absolute path to associate with the Node Package Importer, with
semantics identical to the [entryPointDirectory option] in the JavaScript
API.
|
NodePackageImporter.Builder |
setEntryPointDirectoryBytes(com.google.protobuf.ByteString value)
The absolute path to associate with the Node Package Importer, with
semantics identical to the [entryPointDirectory option] in the JavaScript
API.
|
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<NodePackageImporter.Builder>public NodePackageImporter.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<NodePackageImporter.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<NodePackageImporter.Builder>public NodePackageImporter getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic NodePackageImporter build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic NodePackageImporter buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic NodePackageImporter.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NodePackageImporter.Builder>public NodePackageImporter.Builder mergeFrom(NodePackageImporter other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<NodePackageImporter.Builder>public NodePackageImporter.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<NodePackageImporter.Builder>IOExceptionpublic String getEntryPointDirectory()
The absolute path to associate with the Node Package Importer, with semantics identical to the [entryPointDirectory option] in the JavaScript API. [entryPointDirectory option]: https://sass-lang.com/documentation/js-api/classes/NodePackageImporter.html#constructor
string entry_point_directory = 1;getEntryPointDirectory in interface NodePackageImporterOrBuilderpublic com.google.protobuf.ByteString getEntryPointDirectoryBytes()
The absolute path to associate with the Node Package Importer, with semantics identical to the [entryPointDirectory option] in the JavaScript API. [entryPointDirectory option]: https://sass-lang.com/documentation/js-api/classes/NodePackageImporter.html#constructor
string entry_point_directory = 1;getEntryPointDirectoryBytes in interface NodePackageImporterOrBuilderpublic NodePackageImporter.Builder setEntryPointDirectory(String value)
The absolute path to associate with the Node Package Importer, with semantics identical to the [entryPointDirectory option] in the JavaScript API. [entryPointDirectory option]: https://sass-lang.com/documentation/js-api/classes/NodePackageImporter.html#constructor
string entry_point_directory = 1;value - The entryPointDirectory to set.public NodePackageImporter.Builder clearEntryPointDirectory()
The absolute path to associate with the Node Package Importer, with semantics identical to the [entryPointDirectory option] in the JavaScript API. [entryPointDirectory option]: https://sass-lang.com/documentation/js-api/classes/NodePackageImporter.html#constructor
string entry_point_directory = 1;public NodePackageImporter.Builder setEntryPointDirectoryBytes(com.google.protobuf.ByteString value)
The absolute path to associate with the Node Package Importer, with semantics identical to the [entryPointDirectory option] in the JavaScript API. [entryPointDirectory option]: https://sass-lang.com/documentation/js-api/classes/NodePackageImporter.html#constructor
string entry_point_directory = 1;value - The bytes for entryPointDirectory to set.