public static final class EmbeddedSass.InboundMessage.CompileRequest.Importer extends 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 |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
FILE_IMPORTER_ID_FIELD_NUMBER |
static int |
IMPORTER_ID_FIELD_NUMBER |
static int |
PATH_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
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
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
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(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class 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 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 MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(InputStream input) throws IOException
IOException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(InputStream input, 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, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(CodedInputStream input) throws IOException
IOException
public static EmbeddedSass.InboundMessage.CompileRequest.Importer parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface 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 Message
toBuilder
in interface MessageLite
protected EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static EmbeddedSass.InboundMessage.CompileRequest.Importer getDefaultInstance()
public static Parser<EmbeddedSass.InboundMessage.CompileRequest.Importer> parser()
public Parser<EmbeddedSass.InboundMessage.CompileRequest.Importer> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public EmbeddedSass.InboundMessage.CompileRequest.Importer getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder