public static final class EmbeddedSass.InboundMessage.CompileRequest.Importer extends com.google.protobuf.GeneratedMessageV3 implements EmbeddedSass.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 |
EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder
A wrapper message that represents either a user-defined importer or a
load path on disk.
|
static class |
EmbeddedSass.InboundMessage.CompileRequest.Importer.ImporterCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
FILE_IMPORTER_ID_FIELD_NUMBER |
static int |
IMPORTER_ID_FIELD_NUMBER |
static int |
PATH_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static EmbeddedSass.InboundMessage.CompileRequest.Importer |
getDefaultInstance() |
EmbeddedSass.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.
|
EmbeddedSass.InboundMessage.CompileRequest.Importer.ImporterCase |
getImporterCase() |
int |
getImporterId()
A unique ID for a user-defined importer.
|
com.google.protobuf.Parser<EmbeddedSass.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() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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 |
hasPath()
A built-in importer that loads Sass files within the given directory
on disk.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder |
newBuilder() |
static EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder |
newBuilder(EmbeddedSass.InboundMessage.CompileRequest.Importer prototype) |
EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder |
newBuilderForType() |
protected EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static EmbeddedSass.InboundMessage.CompileRequest.Importer |
parseDelimitedFrom(InputStream input) |
static EmbeddedSass.InboundMessage.CompileRequest.Importer |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.InboundMessage.CompileRequest.Importer |
parseFrom(byte[] data) |
static EmbeddedSass.InboundMessage.CompileRequest.Importer |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.InboundMessage.CompileRequest.Importer |
parseFrom(ByteBuffer data) |
static EmbeddedSass.InboundMessage.CompileRequest.Importer |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.InboundMessage.CompileRequest.Importer |
parseFrom(com.google.protobuf.ByteString data) |
static EmbeddedSass.InboundMessage.CompileRequest.Importer |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.InboundMessage.CompileRequest.Importer |
parseFrom(com.google.protobuf.CodedInputStream input) |
static EmbeddedSass.InboundMessage.CompileRequest.Importer |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.InboundMessage.CompileRequest.Importer |
parseFrom(InputStream input) |
static EmbeddedSass.InboundMessage.CompileRequest.Importer |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<EmbeddedSass.InboundMessage.CompileRequest.Importer> |
parser() |
EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int PATH_FIELD_NUMBER
public static final int IMPORTER_ID_FIELD_NUMBER
public static final int FILE_IMPORTER_ID_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public EmbeddedSass.InboundMessage.CompileRequest.Importer.ImporterCase getImporterCase()
getImporterCase
in interface EmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder
public boolean hasPath()
A built-in importer that loads Sass files within the given directory on disk.
string path = 1;
hasPath
in interface EmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder
public String getPath()
A built-in importer that loads Sass files within the given directory on disk.
string path = 1;
getPath
in interface EmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder
public 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 EmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder
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 EmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder
public 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 EmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder
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 EmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder
public 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 EmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(InputStream input) throws IOException
IOException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseDelimitedFrom(InputStream input) throws IOException
IOException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder newBuilder()
public static EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder newBuilder(EmbeddedSass.InboundMessage.CompileRequest.Importer prototype)
public EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static EmbeddedSass.InboundMessage.CompileRequest.Importer getDefaultInstance()
public static com.google.protobuf.Parser<EmbeddedSass.InboundMessage.CompileRequest.Importer> parser()
public com.google.protobuf.Parser<EmbeddedSass.InboundMessage.CompileRequest.Importer> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public EmbeddedSass.InboundMessage.CompileRequest.Importer getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder