public static final class InboundMessage.CompileRequest extends com.google.protobuf.GeneratedMessageV3 implements InboundMessage.CompileRequestOrBuilder
A request that compiles an entrypoint to CSS.Protobuf type
sass.embedded_protocol.InboundMessage.CompileRequest| Modifier and Type | Class and Description |
|---|---|
static class |
InboundMessage.CompileRequest.Builder
A request that compiles an entrypoint to CSS.
|
static class |
InboundMessage.CompileRequest.Importer
A wrapper message that represents either a user-defined importer or a
load path on disk.
|
static interface |
InboundMessage.CompileRequest.ImporterOrBuilder |
static class |
InboundMessage.CompileRequest.InputCase |
static class |
InboundMessage.CompileRequest.StringInput
An input stylesheet provided as plain text, rather than loaded from the
filesystem.
|
static interface |
InboundMessage.CompileRequest.StringInputOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALERT_ASCII_FIELD_NUMBER |
static int |
ALERT_COLOR_FIELD_NUMBER |
static int |
CHARSET_FIELD_NUMBER |
static int |
GLOBAL_FUNCTIONS_FIELD_NUMBER |
static int |
IMPORTERS_FIELD_NUMBER |
static int |
PATH_FIELD_NUMBER |
static int |
QUIET_DEPS_FIELD_NUMBER |
static int |
SOURCE_MAP_FIELD_NUMBER |
static int |
SOURCE_MAP_INCLUDE_SOURCES_FIELD_NUMBER |
static int |
STRING_FIELD_NUMBER |
static int |
STYLE_FIELD_NUMBER |
static int |
VERBOSE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getAlertAscii()
Whether to encode the formatted message of errors and logs in ASCII.
|
boolean |
getAlertColor()
Whether to use terminal colors in the formatted message of errors and
logs.
|
boolean |
getCharset()
Whether to emit a `@charset`/BOM for non-ASCII stylesheets.
|
static InboundMessage.CompileRequest |
getDefaultInstance() |
InboundMessage.CompileRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getGlobalFunctions(int index)
Signatures for custom global functions whose behavior is defined by the
host.
|
com.google.protobuf.ByteString |
getGlobalFunctionsBytes(int index)
Signatures for custom global functions whose behavior is defined by the
host.
|
int |
getGlobalFunctionsCount()
Signatures for custom global functions whose behavior is defined by the
host.
|
com.google.protobuf.ProtocolStringList |
getGlobalFunctionsList()
Signatures for custom global functions whose behavior is defined by the
host.
|
InboundMessage.CompileRequest.Importer |
getImporters(int index)
Importers (including load paths on the filesystem) to use when resolving
imports that can't be resolved relative to the file that contains it.
|
int |
getImportersCount()
Importers (including load paths on the filesystem) to use when resolving
imports that can't be resolved relative to the file that contains it.
|
List<InboundMessage.CompileRequest.Importer> |
getImportersList()
Importers (including load paths on the filesystem) to use when resolving
imports that can't be resolved relative to the file that contains it.
|
InboundMessage.CompileRequest.ImporterOrBuilder |
getImportersOrBuilder(int index)
Importers (including load paths on the filesystem) to use when resolving
imports that can't be resolved relative to the file that contains it.
|
List<? extends InboundMessage.CompileRequest.ImporterOrBuilder> |
getImportersOrBuilderList()
Importers (including load paths on the filesystem) to use when resolving
imports that can't be resolved relative to the file that contains it.
|
InboundMessage.CompileRequest.InputCase |
getInputCase() |
com.google.protobuf.Parser<InboundMessage.CompileRequest> |
getParserForType() |
String |
getPath()
A stylesheet loaded from the given path on the filesystem.
|
com.google.protobuf.ByteString |
getPathBytes()
A stylesheet loaded from the given path on the filesystem.
|
boolean |
getQuietDeps()
Whether to omit events for deprecation warnings coming from dependencies
(files loaded from a different importer than the input).
|
int |
getSerializedSize() |
boolean |
getSourceMap()
Whether to generate a source map.
|
boolean |
getSourceMapIncludeSources()
Whether to include sources in the generated sourcemap
|
InboundMessage.CompileRequest.StringInput |
getString()
A stylesheet loaded from its contents.
|
InboundMessage.CompileRequest.StringInputOrBuilder |
getStringOrBuilder()
A stylesheet loaded from its contents.
|
OutputStyle |
getStyle()
How to format the CSS output.
|
int |
getStyleValue()
How to format the CSS output.
|
boolean |
getVerbose()
Whether to report all deprecation warnings or only the first few ones.
|
int |
hashCode() |
boolean |
hasPath()
A stylesheet loaded from the given path on the filesystem.
|
boolean |
hasString()
A stylesheet loaded from its contents.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static InboundMessage.CompileRequest.Builder |
newBuilder() |
static InboundMessage.CompileRequest.Builder |
newBuilder(InboundMessage.CompileRequest prototype) |
InboundMessage.CompileRequest.Builder |
newBuilderForType() |
protected InboundMessage.CompileRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static InboundMessage.CompileRequest |
parseDelimitedFrom(InputStream input) |
static InboundMessage.CompileRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InboundMessage.CompileRequest |
parseFrom(byte[] data) |
static InboundMessage.CompileRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InboundMessage.CompileRequest |
parseFrom(ByteBuffer data) |
static InboundMessage.CompileRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InboundMessage.CompileRequest |
parseFrom(com.google.protobuf.ByteString data) |
static InboundMessage.CompileRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InboundMessage.CompileRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static InboundMessage.CompileRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InboundMessage.CompileRequest |
parseFrom(InputStream input) |
static InboundMessage.CompileRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<InboundMessage.CompileRequest> |
parser() |
InboundMessage.CompileRequest.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, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int STRING_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
public static final int STYLE_FIELD_NUMBER
public static final int SOURCE_MAP_FIELD_NUMBER
public static final int IMPORTERS_FIELD_NUMBER
public static final int GLOBAL_FUNCTIONS_FIELD_NUMBER
public static final int ALERT_COLOR_FIELD_NUMBER
public static final int ALERT_ASCII_FIELD_NUMBER
public static final int VERBOSE_FIELD_NUMBER
public static final int QUIET_DEPS_FIELD_NUMBER
public static final int SOURCE_MAP_INCLUDE_SOURCES_FIELD_NUMBER
public static final int CHARSET_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public InboundMessage.CompileRequest.InputCase getInputCase()
getInputCase in interface InboundMessage.CompileRequestOrBuilderpublic boolean hasString()
A stylesheet loaded from its contents.
.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput string = 2;hasString in interface InboundMessage.CompileRequestOrBuilderpublic InboundMessage.CompileRequest.StringInput getString()
A stylesheet loaded from its contents.
.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput string = 2;getString in interface InboundMessage.CompileRequestOrBuilderpublic InboundMessage.CompileRequest.StringInputOrBuilder getStringOrBuilder()
A stylesheet loaded from its contents.
.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput string = 2;getStringOrBuilder in interface InboundMessage.CompileRequestOrBuilderpublic boolean hasPath()
A stylesheet loaded from the given path on the filesystem.
string path = 3;hasPath in interface InboundMessage.CompileRequestOrBuilderpublic String getPath()
A stylesheet loaded from the given path on the filesystem.
string path = 3;getPath in interface InboundMessage.CompileRequestOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
A stylesheet loaded from the given path on the filesystem.
string path = 3;getPathBytes in interface InboundMessage.CompileRequestOrBuilderpublic int getStyleValue()
How to format the CSS output.
.sass.embedded_protocol.OutputStyle style = 4;getStyleValue in interface InboundMessage.CompileRequestOrBuilderpublic OutputStyle getStyle()
How to format the CSS output.
.sass.embedded_protocol.OutputStyle style = 4;getStyle in interface InboundMessage.CompileRequestOrBuilderpublic boolean getSourceMap()
Whether to generate a source map. Note that this will *not* add a source map comment to the stylesheet; that's up to the host or its users.
bool source_map = 5;getSourceMap in interface InboundMessage.CompileRequestOrBuilderpublic List<InboundMessage.CompileRequest.Importer> getImportersList()
Importers (including load paths on the filesystem) to use when resolving imports that can't be resolved relative to the file that contains it. Each importer is checked in order until one recognizes the imported URL.
repeated .sass.embedded_protocol.InboundMessage.CompileRequest.Importer importers = 6;getImportersList in interface InboundMessage.CompileRequestOrBuilderpublic List<? extends InboundMessage.CompileRequest.ImporterOrBuilder> getImportersOrBuilderList()
Importers (including load paths on the filesystem) to use when resolving imports that can't be resolved relative to the file that contains it. Each importer is checked in order until one recognizes the imported URL.
repeated .sass.embedded_protocol.InboundMessage.CompileRequest.Importer importers = 6;getImportersOrBuilderList in interface InboundMessage.CompileRequestOrBuilderpublic int getImportersCount()
Importers (including load paths on the filesystem) to use when resolving imports that can't be resolved relative to the file that contains it. Each importer is checked in order until one recognizes the imported URL.
repeated .sass.embedded_protocol.InboundMessage.CompileRequest.Importer importers = 6;getImportersCount in interface InboundMessage.CompileRequestOrBuilderpublic InboundMessage.CompileRequest.Importer getImporters(int index)
Importers (including load paths on the filesystem) to use when resolving imports that can't be resolved relative to the file that contains it. Each importer is checked in order until one recognizes the imported URL.
repeated .sass.embedded_protocol.InboundMessage.CompileRequest.Importer importers = 6;getImporters in interface InboundMessage.CompileRequestOrBuilderpublic InboundMessage.CompileRequest.ImporterOrBuilder getImportersOrBuilder(int index)
Importers (including load paths on the filesystem) to use when resolving imports that can't be resolved relative to the file that contains it. Each importer is checked in order until one recognizes the imported URL.
repeated .sass.embedded_protocol.InboundMessage.CompileRequest.Importer importers = 6;getImportersOrBuilder in interface InboundMessage.CompileRequestOrBuilderpublic com.google.protobuf.ProtocolStringList getGlobalFunctionsList()
Signatures for custom global functions whose behavior is defined by the host. If this is not a valid Sass function signature that could appear after `@function` in a Sass stylesheet (such as `mix($color1, $color2, $weight: 50%)`), or if it conflicts with a function name that's built into the Sass language, the compiler must treat the compilation as failed. Compilers must ensure that pure-Sass functions take precedence over custom global functions.
repeated string global_functions = 7;getGlobalFunctionsList in interface InboundMessage.CompileRequestOrBuilderpublic int getGlobalFunctionsCount()
Signatures for custom global functions whose behavior is defined by the host. If this is not a valid Sass function signature that could appear after `@function` in a Sass stylesheet (such as `mix($color1, $color2, $weight: 50%)`), or if it conflicts with a function name that's built into the Sass language, the compiler must treat the compilation as failed. Compilers must ensure that pure-Sass functions take precedence over custom global functions.
repeated string global_functions = 7;getGlobalFunctionsCount in interface InboundMessage.CompileRequestOrBuilderpublic String getGlobalFunctions(int index)
Signatures for custom global functions whose behavior is defined by the host. If this is not a valid Sass function signature that could appear after `@function` in a Sass stylesheet (such as `mix($color1, $color2, $weight: 50%)`), or if it conflicts with a function name that's built into the Sass language, the compiler must treat the compilation as failed. Compilers must ensure that pure-Sass functions take precedence over custom global functions.
repeated string global_functions = 7;getGlobalFunctions in interface InboundMessage.CompileRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getGlobalFunctionsBytes(int index)
Signatures for custom global functions whose behavior is defined by the host. If this is not a valid Sass function signature that could appear after `@function` in a Sass stylesheet (such as `mix($color1, $color2, $weight: 50%)`), or if it conflicts with a function name that's built into the Sass language, the compiler must treat the compilation as failed. Compilers must ensure that pure-Sass functions take precedence over custom global functions.
repeated string global_functions = 7;getGlobalFunctionsBytes in interface InboundMessage.CompileRequestOrBuilderindex - The index of the value to return.public boolean getAlertColor()
Whether to use terminal colors in the formatted message of errors and logs.
bool alert_color = 8;getAlertColor in interface InboundMessage.CompileRequestOrBuilderpublic boolean getAlertAscii()
Whether to encode the formatted message of errors and logs in ASCII.
bool alert_ascii = 9;getAlertAscii in interface InboundMessage.CompileRequestOrBuilderpublic boolean getVerbose()
Whether to report all deprecation warnings or only the first few ones. If this is `false`, the compiler may choose not to send events for repeated deprecation warnings. If this is `true`, the compiler must emit an event for every deprecation warning it encounters.
bool verbose = 10;getVerbose in interface InboundMessage.CompileRequestOrBuilderpublic boolean getQuietDeps()
Whether to omit events for deprecation warnings coming from dependencies (files loaded from a different importer than the input).
bool quiet_deps = 11;getQuietDeps in interface InboundMessage.CompileRequestOrBuilderpublic boolean getSourceMapIncludeSources()
Whether to include sources in the generated sourcemap
bool source_map_include_sources = 12;getSourceMapIncludeSources in interface InboundMessage.CompileRequestOrBuilderpublic boolean getCharset()
Whether to emit a `@charset`/BOM for non-ASCII stylesheets.
bool charset = 13;getCharset in interface InboundMessage.CompileRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public 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 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InboundMessage.CompileRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InboundMessage.CompileRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InboundMessage.CompileRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InboundMessage.CompileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InboundMessage.CompileRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InboundMessage.CompileRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static InboundMessage.CompileRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static InboundMessage.CompileRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static InboundMessage.CompileRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static InboundMessage.CompileRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static InboundMessage.CompileRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic InboundMessage.CompileRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static InboundMessage.CompileRequest.Builder newBuilder()
public static InboundMessage.CompileRequest.Builder newBuilder(InboundMessage.CompileRequest prototype)
public InboundMessage.CompileRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected InboundMessage.CompileRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static InboundMessage.CompileRequest getDefaultInstance()
public static com.google.protobuf.Parser<InboundMessage.CompileRequest> parser()
public com.google.protobuf.Parser<InboundMessage.CompileRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public InboundMessage.CompileRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder