Package sass.embedded_protocol
Class EmbeddedSass.InboundMessage.CompileRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
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()
boolean
Whether to encode the formatted message of errors and logs in ASCII.boolean
Whether to use terminal colors in the formatted message of errors and logs.boolean
Whether to emit a `@charset`/BOM for non-ASCII stylesheets.static final Descriptors.Descriptor
getGlobalFunctions
(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.int
Signatures for custom global functions whose behavior is defined by the host.Signatures for custom global functions whose behavior is defined by the host.int
getId()
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.int
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.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.boolean
Whether to omit events for deprecation warnings coming from dependencies (files loaded from a different importer than the input).boolean
Whether to generate a source map.boolean
Whether 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.int
How to format the CSS output.boolean
Whether to report all deprecation warnings or only the first few ones.boolean
hasPath()
A stylesheet loaded from the given path on the filesystem.boolean
A stylesheet loaded from its contents.protected GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
-
clear
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
setField
public EmbeddedSass.InboundMessage.CompileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
clearField
public EmbeddedSass.InboundMessage.CompileRequest.Builder clearField(Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
clearOneof
public EmbeddedSass.InboundMessage.CompileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
setRepeatedField
public EmbeddedSass.InboundMessage.CompileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
addRepeatedField
public EmbeddedSass.InboundMessage.CompileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
mergeFrom
public EmbeddedSass.InboundMessage.CompileRequest.Builder mergeFrom(EmbeddedSass.InboundMessage.CompileRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
mergeFrom
public EmbeddedSass.InboundMessage.CompileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
- Throws:
IOException
-
getInputCase
- Specified by:
getInputCase
in 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:
getId
in 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:
hasString
in 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:
getString
in 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:
getStringOrBuilder
in interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder
-
hasPath
public boolean hasPath()A stylesheet loaded from the given path on the filesystem.
string path = 3;
- Specified by:
hasPath
in 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:
getPath
in interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder
- Returns:
- The path.
-
getPathBytes
A stylesheet loaded from the given path on the filesystem.
string path = 3;
- Specified by:
getPathBytes
in 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:
getStyleValue
in 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:
getStyle
in 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:
getSourceMap
in 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:
getImportersList
in 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:
getImportersCount
in 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:
getImporters
in 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:
getImportersOrBuilder
in 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:
getImportersOrBuilderList
in 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:
getGlobalFunctionsList
in 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:
getGlobalFunctionsCount
in 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:
getGlobalFunctions
in 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:
getGlobalFunctionsBytes
in 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:
getAlertColor
in 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:
getAlertAscii
in 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:
getVerbose
in 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:
getQuietDeps
in 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:
getSourceMapIncludeSources
in 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:
getCharset
in 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:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
mergeUnknownFields
public final EmbeddedSass.InboundMessage.CompileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-