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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<NodePackageImporter.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<NodePackageImporter.Builder>
public NodePackageImporter getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public NodePackageImporter build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public NodePackageImporter buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public NodePackageImporter.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<NodePackageImporter.Builder>
IOException
public 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 NodePackageImporterOrBuilder
public 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 NodePackageImporterOrBuilder
public 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.