public static final class EmbeddedSass.InboundMessage.CompileRequest extends com.google.protobuf.GeneratedMessageV3 implements EmbeddedSass.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 |
EmbeddedSass.InboundMessage.CompileRequest.Builder
A request that compiles an entrypoint to CSS.
|
static class |
EmbeddedSass.InboundMessage.CompileRequest.Importer
A wrapper message that represents either a user-defined importer or a
load path on disk.
|
static interface |
EmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder |
static class |
EmbeddedSass.InboundMessage.CompileRequest.InputCase |
static class |
EmbeddedSass.InboundMessage.CompileRequest.StringInput
An input stylesheet provided as plain text, rather than loaded from the
filesystem.
|
static interface |
EmbeddedSass.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 |
ID_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 EmbeddedSass.InboundMessage.CompileRequest |
getDefaultInstance() |
EmbeddedSass.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.
|
int |
getId()
This compilation's request id.
|
EmbeddedSass.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<EmbeddedSass.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.
|
EmbeddedSass.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 EmbeddedSass.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.
|
EmbeddedSass.InboundMessage.CompileRequest.InputCase |
getInputCase() |
com.google.protobuf.Parser<EmbeddedSass.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
|
EmbeddedSass.InboundMessage.CompileRequest.StringInput |
getString()
A stylesheet loaded from its contents.
|
EmbeddedSass.InboundMessage.CompileRequest.StringInputOrBuilder |
getStringOrBuilder()
A stylesheet loaded from its contents.
|
EmbeddedSass.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 EmbeddedSass.InboundMessage.CompileRequest.Builder |
newBuilder() |
static EmbeddedSass.InboundMessage.CompileRequest.Builder |
newBuilder(EmbeddedSass.InboundMessage.CompileRequest prototype) |
EmbeddedSass.InboundMessage.CompileRequest.Builder |
newBuilderForType() |
protected EmbeddedSass.InboundMessage.CompileRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static EmbeddedSass.InboundMessage.CompileRequest |
parseDelimitedFrom(InputStream input) |
static EmbeddedSass.InboundMessage.CompileRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.InboundMessage.CompileRequest |
parseFrom(byte[] data) |
static EmbeddedSass.InboundMessage.CompileRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.InboundMessage.CompileRequest |
parseFrom(ByteBuffer data) |
static EmbeddedSass.InboundMessage.CompileRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.InboundMessage.CompileRequest |
parseFrom(com.google.protobuf.ByteString data) |
static EmbeddedSass.InboundMessage.CompileRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.InboundMessage.CompileRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static EmbeddedSass.InboundMessage.CompileRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.InboundMessage.CompileRequest |
parseFrom(InputStream input) |
static EmbeddedSass.InboundMessage.CompileRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<EmbeddedSass.InboundMessage.CompileRequest> |
parser() |
EmbeddedSass.InboundMessage.CompileRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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 ID_FIELD_NUMBER
public 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 EmbeddedSass.InboundMessage.CompileRequest.InputCase getInputCase()
getInputCase in interface EmbeddedSass.InboundMessage.CompileRequestOrBuilderpublic int getId()
This compilation's request id. This is included in messages sent from the compiler to the host. Mandatory.
uint32 id = 1;getId in interface EmbeddedSass.InboundMessage.CompileRequestOrBuilderpublic boolean hasString()
A stylesheet loaded from its contents.
.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput string = 2;hasString in interface EmbeddedSass.InboundMessage.CompileRequestOrBuilderpublic EmbeddedSass.InboundMessage.CompileRequest.StringInput getString()
A stylesheet loaded from its contents.
.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput string = 2;getString in interface EmbeddedSass.InboundMessage.CompileRequestOrBuilderpublic EmbeddedSass.InboundMessage.CompileRequest.StringInputOrBuilder getStringOrBuilder()
A stylesheet loaded from its contents.
.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput string = 2;getStringOrBuilder in interface EmbeddedSass.InboundMessage.CompileRequestOrBuilderpublic boolean hasPath()
A stylesheet loaded from the given path on the filesystem.
string path = 3;hasPath in interface EmbeddedSass.InboundMessage.CompileRequestOrBuilderpublic String getPath()
A stylesheet loaded from the given path on the filesystem.
string path = 3;getPath in interface EmbeddedSass.InboundMessage.CompileRequestOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
A stylesheet loaded from the given path on the filesystem.
string path = 3;getPathBytes in interface EmbeddedSass.InboundMessage.CompileRequestOrBuilderpublic int getStyleValue()
How to format the CSS output.
.sass.embedded_protocol.OutputStyle style = 4;getStyleValue in interface EmbeddedSass.InboundMessage.CompileRequestOrBuilderpublic EmbeddedSass.OutputStyle getStyle()
How to format the CSS output.
.sass.embedded_protocol.OutputStyle style = 4;getStyle in interface EmbeddedSass.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 EmbeddedSass.InboundMessage.CompileRequestOrBuilderpublic List<EmbeddedSass.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 EmbeddedSass.InboundMessage.CompileRequestOrBuilderpublic List<? extends EmbeddedSass.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 EmbeddedSass.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 EmbeddedSass.InboundMessage.CompileRequestOrBuilderpublic EmbeddedSass.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 EmbeddedSass.InboundMessage.CompileRequestOrBuilderpublic EmbeddedSass.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 EmbeddedSass.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 EmbeddedSass.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 EmbeddedSass.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 EmbeddedSass.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 EmbeddedSass.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 EmbeddedSass.InboundMessage.CompileRequestOrBuilderpublic boolean getAlertAscii()
Whether to encode the formatted message of errors and logs in ASCII.
bool alert_ascii = 9;getAlertAscii in interface EmbeddedSass.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 EmbeddedSass.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 EmbeddedSass.InboundMessage.CompileRequestOrBuilderpublic boolean getSourceMapIncludeSources()
Whether to include sources in the generated sourcemap
bool source_map_include_sources = 12;getSourceMapIncludeSources in interface EmbeddedSass.InboundMessage.CompileRequestOrBuilderpublic boolean getCharset()
Whether to emit a `@charset`/BOM for non-ASCII stylesheets.
bool charset = 13;getCharset in interface EmbeddedSass.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 EmbeddedSass.InboundMessage.CompileRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EmbeddedSass.InboundMessage.CompileRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EmbeddedSass.InboundMessage.CompileRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EmbeddedSass.InboundMessage.CompileRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EmbeddedSass.InboundMessage.CompileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EmbeddedSass.InboundMessage.CompileRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EmbeddedSass.InboundMessage.CompileRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static EmbeddedSass.InboundMessage.CompileRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EmbeddedSass.InboundMessage.CompileRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static EmbeddedSass.InboundMessage.CompileRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EmbeddedSass.InboundMessage.CompileRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static EmbeddedSass.InboundMessage.CompileRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic EmbeddedSass.InboundMessage.CompileRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static EmbeddedSass.InboundMessage.CompileRequest.Builder newBuilder()
public static EmbeddedSass.InboundMessage.CompileRequest.Builder newBuilder(EmbeddedSass.InboundMessage.CompileRequest prototype)
public EmbeddedSass.InboundMessage.CompileRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected EmbeddedSass.InboundMessage.CompileRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static EmbeddedSass.InboundMessage.CompileRequest getDefaultInstance()
public static com.google.protobuf.Parser<EmbeddedSass.InboundMessage.CompileRequest> parser()
public com.google.protobuf.Parser<EmbeddedSass.InboundMessage.CompileRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public EmbeddedSass.InboundMessage.CompileRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder