public final class NodePackageImporter extends com.google.protobuf.GeneratedMessage 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 | Class and Description |
|---|---|
static class |
NodePackageImporter.Builder
The built-in Node.js Package Importer, which is a Package Importer that
resolves using the standards and conventions of the Node.js ecosystem.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ENTRY_POINT_DIRECTORY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static NodePackageImporter |
getDefaultInstance() |
NodePackageImporter |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<NodePackageImporter> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static NodePackageImporter.Builder |
newBuilder() |
static NodePackageImporter.Builder |
newBuilder(NodePackageImporter prototype) |
NodePackageImporter.Builder |
newBuilderForType() |
protected NodePackageImporter.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static NodePackageImporter |
parseDelimitedFrom(InputStream input) |
static NodePackageImporter |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NodePackageImporter |
parseFrom(byte[] data) |
static NodePackageImporter |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NodePackageImporter |
parseFrom(ByteBuffer data) |
static NodePackageImporter |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NodePackageImporter |
parseFrom(com.google.protobuf.ByteString data) |
static NodePackageImporter |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NodePackageImporter |
parseFrom(com.google.protobuf.CodedInputStream input) |
static NodePackageImporter |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NodePackageImporter |
parseFrom(InputStream input) |
static NodePackageImporter |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<NodePackageImporter> |
parser() |
NodePackageImporter.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ENTRY_POINT_DIRECTORY_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static NodePackageImporter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodePackageImporter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodePackageImporter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodePackageImporter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodePackageImporter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodePackageImporter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodePackageImporter parseFrom(InputStream input) throws IOException
IOExceptionpublic static NodePackageImporter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NodePackageImporter parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static NodePackageImporter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NodePackageImporter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static NodePackageImporter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic NodePackageImporter.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static NodePackageImporter.Builder newBuilder()
public static NodePackageImporter.Builder newBuilder(NodePackageImporter prototype)
public NodePackageImporter.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected NodePackageImporter.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static NodePackageImporter getDefaultInstance()
public static com.google.protobuf.Parser<NodePackageImporter> parser()
public com.google.protobuf.Parser<NodePackageImporter> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic NodePackageImporter getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder