public static final class InboundMessage.CompileRequest.Importer extends com.google.protobuf.GeneratedMessage 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 | Class and Description |
|---|---|
static class |
InboundMessage.CompileRequest.Importer.Builder
A wrapper message that represents either a user-defined importer or a
load path on disk.
|
static class |
InboundMessage.CompileRequest.Importer.ImporterCase |
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 |
FILE_IMPORTER_ID_FIELD_NUMBER |
static int |
IMPORTER_ID_FIELD_NUMBER |
static int |
NODE_PACKAGE_IMPORTER_FIELD_NUMBER |
static int |
NON_CANONICAL_SCHEME_FIELD_NUMBER |
static int |
PATH_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static InboundMessage.CompileRequest.Importer |
getDefaultInstance() |
InboundMessage.CompileRequest.Importer |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
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.
|
com.google.protobuf.Parser<InboundMessage.CompileRequest.Importer> |
getParserForType() |
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.
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
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() |
static InboundMessage.CompileRequest.Importer.Builder |
newBuilder() |
static InboundMessage.CompileRequest.Importer.Builder |
newBuilder(InboundMessage.CompileRequest.Importer prototype) |
InboundMessage.CompileRequest.Importer.Builder |
newBuilderForType() |
protected InboundMessage.CompileRequest.Importer.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static InboundMessage.CompileRequest.Importer |
parseDelimitedFrom(InputStream input) |
static InboundMessage.CompileRequest.Importer |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InboundMessage.CompileRequest.Importer |
parseFrom(byte[] data) |
static InboundMessage.CompileRequest.Importer |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InboundMessage.CompileRequest.Importer |
parseFrom(ByteBuffer data) |
static InboundMessage.CompileRequest.Importer |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InboundMessage.CompileRequest.Importer |
parseFrom(com.google.protobuf.ByteString data) |
static InboundMessage.CompileRequest.Importer |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InboundMessage.CompileRequest.Importer |
parseFrom(com.google.protobuf.CodedInputStream input) |
static InboundMessage.CompileRequest.Importer |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InboundMessage.CompileRequest.Importer |
parseFrom(InputStream input) |
static InboundMessage.CompileRequest.Importer |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<InboundMessage.CompileRequest.Importer> |
parser() |
InboundMessage.CompileRequest.Importer.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 PATH_FIELD_NUMBER
public static final int IMPORTER_ID_FIELD_NUMBER
public static final int FILE_IMPORTER_ID_FIELD_NUMBER
public static final int NODE_PACKAGE_IMPORTER_FIELD_NUMBER
public static final int NON_CANONICAL_SCHEME_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 InboundMessage.CompileRequest.Importer.ImporterCase getImporterCase()
getImporterCase in interface InboundMessage.CompileRequest.ImporterOrBuilderpublic 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 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 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 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 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 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 InboundMessage.CompileRequest.Importer parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InboundMessage.CompileRequest.Importer parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InboundMessage.CompileRequest.Importer parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InboundMessage.CompileRequest.Importer parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InboundMessage.CompileRequest.Importer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InboundMessage.CompileRequest.Importer parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InboundMessage.CompileRequest.Importer parseFrom(InputStream input) throws IOException
IOExceptionpublic static InboundMessage.CompileRequest.Importer parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static InboundMessage.CompileRequest.Importer parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static InboundMessage.CompileRequest.Importer parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static InboundMessage.CompileRequest.Importer parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static InboundMessage.CompileRequest.Importer parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic InboundMessage.CompileRequest.Importer.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static InboundMessage.CompileRequest.Importer.Builder newBuilder()
public static InboundMessage.CompileRequest.Importer.Builder newBuilder(InboundMessage.CompileRequest.Importer prototype)
public InboundMessage.CompileRequest.Importer.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected InboundMessage.CompileRequest.Importer.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static InboundMessage.CompileRequest.Importer getDefaultInstance()
public static com.google.protobuf.Parser<InboundMessage.CompileRequest.Importer> parser()
public com.google.protobuf.Parser<InboundMessage.CompileRequest.Importer> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic InboundMessage.CompileRequest.Importer getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder