Package sass.embedded_protocol
Class EmbeddedSass.InboundMessage.CompileRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
sass.embedded_protocol.EmbeddedSass.InboundMessage.CompileRequest.Builder
- All Implemented Interfaces:
Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,Cloneable,EmbeddedSass.InboundMessage.CompileRequestOrBuilder
- Enclosing class:
- EmbeddedSass.InboundMessage.CompileRequest
public static final class EmbeddedSass.InboundMessage.CompileRequest.Builder
extends GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
implements EmbeddedSass.InboundMessage.CompileRequestOrBuilder
A request that compiles an entrypoint to CSS.Protobuf type
sass.embedded_protocol.InboundMessage.CompileRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllGlobalFunctions(Iterable<String> values) Signatures for custom global functions whose behavior is defined by the host.addAllImporters(Iterable<? extends EmbeddedSass.InboundMessage.CompileRequest.Importer> values) Importers (including load paths on the filesystem) to use when resolving imports that can't be resolved relative to the file that contains it.addGlobalFunctions(String value) Signatures for custom global functions whose behavior is defined by the host.Signatures for custom global functions whose behavior is defined by the host.addImporters(int index, EmbeddedSass.InboundMessage.CompileRequest.Importer value) Importers (including load paths on the filesystem) to use when resolving imports that can't be resolved relative to the file that contains it.addImporters(int index, EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder builderForValue) Importers (including load paths on the filesystem) to use when resolving imports that can't be resolved relative to the file that contains it.Importers (including load paths on the filesystem) to use when resolving imports that can't be resolved relative to the file that contains it.addImporters(EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder builderForValue) Importers (including load paths on the filesystem) to use when resolving imports that can't be resolved relative to the file that contains it.Importers (including load paths on the filesystem) to use when resolving imports that can't be resolved relative to the file that contains it.addImportersBuilder(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.addRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()Whether to encode the formatted message of errors and logs in ASCII.Whether to use terminal colors in the formatted message of errors and logs.Whether to emit a `@charset`/BOM for non-ASCII stylesheets.Signatures for custom global functions whose behavior is defined by the host.clearId()This compilation's request id.Importers (including load paths on the filesystem) to use when resolving imports that can't be resolved relative to the file that contains it.A stylesheet loaded from the given path on the filesystem.Whether to omit events for deprecation warnings coming from dependencies (files loaded from a different importer than the input).Whether to generate a source map.Whether to include sources in the generated sourcemapA stylesheet loaded from its contents.How to format the CSS output.Whether to report all deprecation warnings or only the first few ones.clone()booleanWhether to encode the formatted message of errors and logs in ASCII.booleanWhether to use terminal colors in the formatted message of errors and logs.booleanWhether to emit a `@charset`/BOM for non-ASCII stylesheets.static final Descriptors.DescriptorgetGlobalFunctions(int index) Signatures for custom global functions whose behavior is defined by the host.getGlobalFunctionsBytes(int index) Signatures for custom global functions whose behavior is defined by the host.intSignatures for custom global functions whose behavior is defined by the host.Signatures for custom global functions whose behavior is defined by the host.intgetId()This compilation's request id.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.getImportersBuilder(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.Importers (including load paths on the filesystem) to use when resolving imports that can't be resolved relative to the file that contains it.intImporters (including load paths on the filesystem) to use when resolving imports that can't be resolved relative to the file that contains it.Importers (including load paths on the filesystem) to use when resolving imports that can't be resolved relative to the file that contains it.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.Importers (including load paths on the filesystem) to use when resolving imports that can't be resolved relative to the file that contains it.getPath()A stylesheet loaded from the given path on the filesystem.A stylesheet loaded from the given path on the filesystem.booleanWhether to omit events for deprecation warnings coming from dependencies (files loaded from a different importer than the input).booleanWhether to generate a source map.booleanWhether to include sources in the generated sourcemapA stylesheet loaded from its contents.A stylesheet loaded from its contents.A stylesheet loaded from its contents.getStyle()How to format the CSS output.intHow to format the CSS output.booleanWhether to report all deprecation warnings or only the first few ones.booleanhasPath()A stylesheet loaded from the given path on the filesystem.booleanA stylesheet loaded from its contents.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) A stylesheet loaded from its contents.mergeUnknownFields(UnknownFieldSet unknownFields) removeImporters(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.setAlertAscii(boolean value) Whether to encode the formatted message of errors and logs in ASCII.setAlertColor(boolean value) Whether to use terminal colors in the formatted message of errors and logs.setCharset(boolean value) Whether to emit a `@charset`/BOM for non-ASCII stylesheets.setField(Descriptors.FieldDescriptor field, Object value) setGlobalFunctions(int index, String value) Signatures for custom global functions whose behavior is defined by the host.setId(int value) This compilation's request id.setImporters(int index, EmbeddedSass.InboundMessage.CompileRequest.Importer value) Importers (including load paths on the filesystem) to use when resolving imports that can't be resolved relative to the file that contains it.setImporters(int index, EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder builderForValue) Importers (including load paths on the filesystem) to use when resolving imports that can't be resolved relative to the file that contains it.A stylesheet loaded from the given path on the filesystem.setPathBytes(ByteString value) A stylesheet loaded from the given path on the filesystem.setQuietDeps(boolean value) Whether to omit events for deprecation warnings coming from dependencies (files loaded from a different importer than the input).setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setSourceMap(boolean value) Whether to generate a source map.setSourceMapIncludeSources(boolean value) Whether to include sources in the generated sourcemapA stylesheet loaded from its contents.setString(EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder builderForValue) A stylesheet loaded from its contents.setStyle(EmbeddedSass.OutputStyle value) How to format the CSS output.setStyleValue(int value) How to format the CSS output.setUnknownFields(UnknownFieldSet unknownFields) setVerbose(boolean value) Whether to report all deprecation warnings or only the first few ones.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
setField
public EmbeddedSass.InboundMessage.CompileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
clearField
public EmbeddedSass.InboundMessage.CompileRequest.Builder clearField(Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
clearOneof
public EmbeddedSass.InboundMessage.CompileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
setRepeatedField
public EmbeddedSass.InboundMessage.CompileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
addRepeatedField
public EmbeddedSass.InboundMessage.CompileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
mergeFrom
public EmbeddedSass.InboundMessage.CompileRequest.Builder mergeFrom(EmbeddedSass.InboundMessage.CompileRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
mergeFrom
public EmbeddedSass.InboundMessage.CompileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>- Throws:
IOException
-
getInputCase
- Specified by:
getInputCasein interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder
-
clearInput
-
getId
public int getId()This compilation's request id. This is included in messages sent from the compiler to the host. Mandatory.
uint32 id = 1;- Specified by:
getIdin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder- Returns:
- The id.
-
setId
This compilation's request id. This is included in messages sent from the compiler to the host. Mandatory.
uint32 id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
This compilation's request id. This is included in messages sent from the compiler to the host. Mandatory.
uint32 id = 1;- Returns:
- This builder for chaining.
-
hasString
public boolean hasString()A stylesheet loaded from its contents.
.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput string = 2;- Specified by:
hasStringin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder- Returns:
- Whether the string field is set.
-
getString
A stylesheet loaded from its contents.
.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput string = 2;- Specified by:
getStringin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder- Returns:
- The string.
-
setString
public EmbeddedSass.InboundMessage.CompileRequest.Builder setString(EmbeddedSass.InboundMessage.CompileRequest.StringInput value) A stylesheet loaded from its contents.
.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput string = 2; -
setString
public EmbeddedSass.InboundMessage.CompileRequest.Builder setString(EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder builderForValue) A stylesheet loaded from its contents.
.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput string = 2; -
mergeString
public EmbeddedSass.InboundMessage.CompileRequest.Builder mergeString(EmbeddedSass.InboundMessage.CompileRequest.StringInput value) A stylesheet loaded from its contents.
.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput string = 2; -
clearString
A stylesheet loaded from its contents.
.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput string = 2; -
getStringBuilder
A stylesheet loaded from its contents.
.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput string = 2; -
getStringOrBuilder
A stylesheet loaded from its contents.
.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput string = 2;- Specified by:
getStringOrBuilderin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder
-
hasPath
public boolean hasPath()A stylesheet loaded from the given path on the filesystem.
string path = 3;- Specified by:
hasPathin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder- Returns:
- Whether the path field is set.
-
getPath
A stylesheet loaded from the given path on the filesystem.
string path = 3;- Specified by:
getPathin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder- Returns:
- The path.
-
getPathBytes
A stylesheet loaded from the given path on the filesystem.
string path = 3;- Specified by:
getPathBytesin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder- Returns:
- The bytes for path.
-
setPath
A stylesheet loaded from the given path on the filesystem.
string path = 3;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
A stylesheet loaded from the given path on the filesystem.
string path = 3;- Returns:
- This builder for chaining.
-
setPathBytes
A stylesheet loaded from the given path on the filesystem.
string path = 3;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
getStyleValue
public int getStyleValue()How to format the CSS output.
.sass.embedded_protocol.OutputStyle style = 4;- Specified by:
getStyleValuein interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder- Returns:
- The enum numeric value on the wire for style.
-
setStyleValue
How to format the CSS output.
.sass.embedded_protocol.OutputStyle style = 4;- Parameters:
value- The enum numeric value on the wire for style to set.- Returns:
- This builder for chaining.
-
getStyle
How to format the CSS output.
.sass.embedded_protocol.OutputStyle style = 4;- Specified by:
getStylein interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder- Returns:
- The style.
-
setStyle
How to format the CSS output.
.sass.embedded_protocol.OutputStyle style = 4;- Parameters:
value- The style to set.- Returns:
- This builder for chaining.
-
clearStyle
How to format the CSS output.
.sass.embedded_protocol.OutputStyle style = 4;- Returns:
- This builder for chaining.
-
getSourceMap
public 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;- Specified by:
getSourceMapin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder- Returns:
- The sourceMap.
-
setSourceMap
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;- Parameters:
value- The sourceMap to set.- Returns:
- This builder for chaining.
-
clearSourceMap
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;- Returns:
- This builder for chaining.
-
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;- Specified by:
getImportersListin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder
-
getImportersCount
public 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;- Specified by:
getImportersCountin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder
-
getImporters
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;- Specified by:
getImportersin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder
-
setImporters
public EmbeddedSass.InboundMessage.CompileRequest.Builder setImporters(int index, EmbeddedSass.InboundMessage.CompileRequest.Importer value) 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; -
setImporters
public EmbeddedSass.InboundMessage.CompileRequest.Builder setImporters(int index, EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder builderForValue) 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; -
addImporters
public EmbeddedSass.InboundMessage.CompileRequest.Builder addImporters(EmbeddedSass.InboundMessage.CompileRequest.Importer value) 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; -
addImporters
public EmbeddedSass.InboundMessage.CompileRequest.Builder addImporters(int index, EmbeddedSass.InboundMessage.CompileRequest.Importer value) 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; -
addImporters
public EmbeddedSass.InboundMessage.CompileRequest.Builder addImporters(EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder builderForValue) 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; -
addImporters
public EmbeddedSass.InboundMessage.CompileRequest.Builder addImporters(int index, EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder builderForValue) 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; -
addAllImporters
public EmbeddedSass.InboundMessage.CompileRequest.Builder addAllImporters(Iterable<? extends EmbeddedSass.InboundMessage.CompileRequest.Importer> values) 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; -
clearImporters
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; -
removeImporters
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; -
getImportersBuilder
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
public 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;- Specified by:
getImportersOrBuilderin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder
-
getImportersOrBuilderList
public 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;- Specified by:
getImportersOrBuilderListin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder
-
addImportersBuilder
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; -
addImportersBuilder
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; -
getImportersBuilderList
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; -
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;- Specified by:
getGlobalFunctionsListin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder- Returns:
- A list containing the globalFunctions.
-
getGlobalFunctionsCount
public 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;- Specified by:
getGlobalFunctionsCountin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder- Returns:
- The count of globalFunctions.
-
getGlobalFunctions
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;- Specified by:
getGlobalFunctionsin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The globalFunctions at the given index.
-
getGlobalFunctionsBytes
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;- Specified by:
getGlobalFunctionsBytesin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the globalFunctions at the given index.
-
setGlobalFunctions
public EmbeddedSass.InboundMessage.CompileRequest.Builder setGlobalFunctions(int index, String value) 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;- Parameters:
index- The index to set the value at.value- The globalFunctions to set.- Returns:
- This builder for chaining.
-
addGlobalFunctions
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;- Parameters:
value- The globalFunctions to add.- Returns:
- This builder for chaining.
-
addAllGlobalFunctions
public EmbeddedSass.InboundMessage.CompileRequest.Builder addAllGlobalFunctions(Iterable<String> values) 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;- Parameters:
values- The globalFunctions to add.- Returns:
- This builder for chaining.
-
clearGlobalFunctions
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;- Returns:
- This builder for chaining.
-
addGlobalFunctionsBytes
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;- Parameters:
value- The bytes of the globalFunctions to add.- Returns:
- This builder for chaining.
-
getAlertColor
public boolean getAlertColor()Whether to use terminal colors in the formatted message of errors and logs.
bool alert_color = 8;- Specified by:
getAlertColorin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder- Returns:
- The alertColor.
-
setAlertColor
Whether to use terminal colors in the formatted message of errors and logs.
bool alert_color = 8;- Parameters:
value- The alertColor to set.- Returns:
- This builder for chaining.
-
clearAlertColor
Whether to use terminal colors in the formatted message of errors and logs.
bool alert_color = 8;- Returns:
- This builder for chaining.
-
getAlertAscii
public boolean getAlertAscii()Whether to encode the formatted message of errors and logs in ASCII.
bool alert_ascii = 9;- Specified by:
getAlertAsciiin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder- Returns:
- The alertAscii.
-
setAlertAscii
Whether to encode the formatted message of errors and logs in ASCII.
bool alert_ascii = 9;- Parameters:
value- The alertAscii to set.- Returns:
- This builder for chaining.
-
clearAlertAscii
Whether to encode the formatted message of errors and logs in ASCII.
bool alert_ascii = 9;- Returns:
- This builder for chaining.
-
getVerbose
public 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;- Specified by:
getVerbosein interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder- Returns:
- The verbose.
-
setVerbose
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;- Parameters:
value- The verbose to set.- Returns:
- This builder for chaining.
-
clearVerbose
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;- Returns:
- This builder for chaining.
-
getQuietDeps
public 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;- Specified by:
getQuietDepsin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder- Returns:
- The quietDeps.
-
setQuietDeps
Whether to omit events for deprecation warnings coming from dependencies (files loaded from a different importer than the input).
bool quiet_deps = 11;- Parameters:
value- The quietDeps to set.- Returns:
- This builder for chaining.
-
clearQuietDeps
Whether to omit events for deprecation warnings coming from dependencies (files loaded from a different importer than the input).
bool quiet_deps = 11;- Returns:
- This builder for chaining.
-
getSourceMapIncludeSources
public boolean getSourceMapIncludeSources()Whether to include sources in the generated sourcemap
bool source_map_include_sources = 12;- Specified by:
getSourceMapIncludeSourcesin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder- Returns:
- The sourceMapIncludeSources.
-
setSourceMapIncludeSources
Whether to include sources in the generated sourcemap
bool source_map_include_sources = 12;- Parameters:
value- The sourceMapIncludeSources to set.- Returns:
- This builder for chaining.
-
clearSourceMapIncludeSources
Whether to include sources in the generated sourcemap
bool source_map_include_sources = 12;- Returns:
- This builder for chaining.
-
getCharset
public boolean getCharset()Whether to emit a `@charset`/BOM for non-ASCII stylesheets.
bool charset = 13;- Specified by:
getCharsetin interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder- Returns:
- The charset.
-
setCharset
Whether to emit a `@charset`/BOM for non-ASCII stylesheets.
bool charset = 13;- Parameters:
value- The charset to set.- Returns:
- This builder for chaining.
-
clearCharset
Whether to emit a `@charset`/BOM for non-ASCII stylesheets.
bool charset = 13;- Returns:
- This builder for chaining.
-
setUnknownFields
public final EmbeddedSass.InboundMessage.CompileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
mergeUnknownFields
public final EmbeddedSass.InboundMessage.CompileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-