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 typesass.embedded_protocol.InboundMessage.CompileRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EmbeddedSass.InboundMessage.CompileRequest.Builder
addAllGlobalFunctions(Iterable<String> values)
Signatures for custom global functions whose behavior is defined by the host.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.EmbeddedSass.InboundMessage.CompileRequest.Builder
addGlobalFunctions(String value)
Signatures for custom global functions whose behavior is defined by the host.EmbeddedSass.InboundMessage.CompileRequest.Builder
addGlobalFunctionsBytes(ByteString value)
Signatures for custom global functions whose behavior is defined by the host.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.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.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.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.EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder
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.EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder
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.EmbeddedSass.InboundMessage.CompileRequest.Builder
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
EmbeddedSass.InboundMessage.CompileRequest
build()
EmbeddedSass.InboundMessage.CompileRequest
buildPartial()
EmbeddedSass.InboundMessage.CompileRequest.Builder
clear()
EmbeddedSass.InboundMessage.CompileRequest.Builder
clearAlertAscii()
Whether to encode the formatted message of errors and logs in ASCII.EmbeddedSass.InboundMessage.CompileRequest.Builder
clearAlertColor()
Whether to use terminal colors in the formatted message of errors and logs.EmbeddedSass.InboundMessage.CompileRequest.Builder
clearField(Descriptors.FieldDescriptor field)
EmbeddedSass.InboundMessage.CompileRequest.Builder
clearGlobalFunctions()
Signatures for custom global functions whose behavior is defined by the host.EmbeddedSass.InboundMessage.CompileRequest.Builder
clearId()
This compilation's request id.EmbeddedSass.InboundMessage.CompileRequest.Builder
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.EmbeddedSass.InboundMessage.CompileRequest.Builder
clearInput()
EmbeddedSass.InboundMessage.CompileRequest.Builder
clearOneof(Descriptors.OneofDescriptor oneof)
EmbeddedSass.InboundMessage.CompileRequest.Builder
clearPath()
A stylesheet loaded from the given path on the filesystem.EmbeddedSass.InboundMessage.CompileRequest.Builder
clearQuietDeps()
Whether to omit events for deprecation warnings coming from dependencies (files loaded from a different importer than the input).EmbeddedSass.InboundMessage.CompileRequest.Builder
clearSourceMap()
Whether to generate a source map.EmbeddedSass.InboundMessage.CompileRequest.Builder
clearString()
A stylesheet loaded from its contents.EmbeddedSass.InboundMessage.CompileRequest.Builder
clearStyle()
How to format the CSS output.EmbeddedSass.InboundMessage.CompileRequest.Builder
clearVerbose()
Whether to report all deprecation warnings or only the first few ones.EmbeddedSass.InboundMessage.CompileRequest.Builder
clone()
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.EmbeddedSass.InboundMessage.CompileRequest
getDefaultInstanceForType()
static Descriptors.Descriptor
getDescriptor()
Descriptors.Descriptor
getDescriptorForType()
String
getGlobalFunctions(int index)
Signatures for custom global functions whose behavior is defined by the host.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.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.EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder
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.List<EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder>
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.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()
String
getPath()
A stylesheet loaded from the given path on the filesystem.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).boolean
getSourceMap()
Whether to generate a source map.EmbeddedSass.InboundMessage.CompileRequest.StringInput
getString()
A stylesheet loaded from its contents.EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder
getStringBuilder()
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.boolean
hasPath()
A stylesheet loaded from the given path on the filesystem.boolean
hasString()
A stylesheet loaded from its contents.protected GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
EmbeddedSass.InboundMessage.CompileRequest.Builder
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
EmbeddedSass.InboundMessage.CompileRequest.Builder
mergeFrom(Message other)
EmbeddedSass.InboundMessage.CompileRequest.Builder
mergeFrom(EmbeddedSass.InboundMessage.CompileRequest other)
EmbeddedSass.InboundMessage.CompileRequest.Builder
mergeString(EmbeddedSass.InboundMessage.CompileRequest.StringInput value)
A stylesheet loaded from its contents.EmbeddedSass.InboundMessage.CompileRequest.Builder
mergeUnknownFields(UnknownFieldSet unknownFields)
EmbeddedSass.InboundMessage.CompileRequest.Builder
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.EmbeddedSass.InboundMessage.CompileRequest.Builder
setAlertAscii(boolean value)
Whether to encode the formatted message of errors and logs in ASCII.EmbeddedSass.InboundMessage.CompileRequest.Builder
setAlertColor(boolean value)
Whether to use terminal colors in the formatted message of errors and logs.EmbeddedSass.InboundMessage.CompileRequest.Builder
setField(Descriptors.FieldDescriptor field, Object value)
EmbeddedSass.InboundMessage.CompileRequest.Builder
setGlobalFunctions(int index, String value)
Signatures for custom global functions whose behavior is defined by the host.EmbeddedSass.InboundMessage.CompileRequest.Builder
setId(int value)
This compilation's request id.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.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.EmbeddedSass.InboundMessage.CompileRequest.Builder
setPath(String value)
A stylesheet loaded from the given path on the filesystem.EmbeddedSass.InboundMessage.CompileRequest.Builder
setPathBytes(ByteString value)
A stylesheet loaded from the given path on the filesystem.EmbeddedSass.InboundMessage.CompileRequest.Builder
setQuietDeps(boolean value)
Whether to omit events for deprecation warnings coming from dependencies (files loaded from a different importer than the input).EmbeddedSass.InboundMessage.CompileRequest.Builder
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
EmbeddedSass.InboundMessage.CompileRequest.Builder
setSourceMap(boolean value)
Whether to generate a source map.EmbeddedSass.InboundMessage.CompileRequest.Builder
setString(EmbeddedSass.InboundMessage.CompileRequest.StringInput value)
A stylesheet loaded from its contents.EmbeddedSass.InboundMessage.CompileRequest.Builder
setString(EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder builderForValue)
A stylesheet loaded from its contents.EmbeddedSass.InboundMessage.CompileRequest.Builder
setStyle(EmbeddedSass.OutputStyle value)
How to format the CSS output.EmbeddedSass.InboundMessage.CompileRequest.Builder
setStyleValue(int value)
How to format the CSS output.EmbeddedSass.InboundMessage.CompileRequest.Builder
setUnknownFields(UnknownFieldSet unknownFields)
EmbeddedSass.InboundMessage.CompileRequest.Builder
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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, 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.MessageLite.Builder
mergeFrom
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
-
clear
public EmbeddedSass.InboundMessage.CompileRequest.Builder clear()
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Builder>
-
getDefaultInstanceForType
public EmbeddedSass.InboundMessage.CompileRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
public EmbeddedSass.InboundMessage.CompileRequest build()
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
public EmbeddedSass.InboundMessage.CompileRequest buildPartial()
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
public EmbeddedSass.InboundMessage.CompileRequest.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
public EmbeddedSass.InboundMessage.CompileRequest.Builder mergeFrom(Message other)
- 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
public EmbeddedSass.InboundMessage.CompileRequest.InputCase getInputCase()
- Specified by:
getInputCase
in interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder
-
clearInput
public EmbeddedSass.InboundMessage.CompileRequest.Builder 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
public EmbeddedSass.InboundMessage.CompileRequest.Builder setId(int value)
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
public EmbeddedSass.InboundMessage.CompileRequest.Builder 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
public EmbeddedSass.InboundMessage.CompileRequest.StringInput 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
public EmbeddedSass.InboundMessage.CompileRequest.Builder clearString()
A stylesheet loaded from its contents.
.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput string = 2;
-
getStringBuilder
public EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder getStringBuilder()
A stylesheet loaded from its contents.
.sass.embedded_protocol.InboundMessage.CompileRequest.StringInput string = 2;
-
getStringOrBuilder
public EmbeddedSass.InboundMessage.CompileRequest.StringInputOrBuilder 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
public String 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
public ByteString 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
public EmbeddedSass.InboundMessage.CompileRequest.Builder setPath(String value)
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
public EmbeddedSass.InboundMessage.CompileRequest.Builder clearPath()
A stylesheet loaded from the given path on the filesystem.
string path = 3;
- Returns:
- This builder for chaining.
-
setPathBytes
public EmbeddedSass.InboundMessage.CompileRequest.Builder setPathBytes(ByteString value)
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
public EmbeddedSass.InboundMessage.CompileRequest.Builder setStyleValue(int value)
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
public EmbeddedSass.OutputStyle getStyle()
How to format the CSS output.
.sass.embedded_protocol.OutputStyle style = 4;
- Specified by:
getStyle
in interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder
- Returns:
- The style.
-
setStyle
public EmbeddedSass.InboundMessage.CompileRequest.Builder setStyle(EmbeddedSass.OutputStyle value)
How to format the CSS output.
.sass.embedded_protocol.OutputStyle style = 4;
- Parameters:
value
- The style to set.- Returns:
- This builder for chaining.
-
clearStyle
public EmbeddedSass.InboundMessage.CompileRequest.Builder 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
public EmbeddedSass.InboundMessage.CompileRequest.Builder setSourceMap(boolean value)
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
public EmbeddedSass.InboundMessage.CompileRequest.Builder 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
public 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;
- 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
public 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;
- 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
public EmbeddedSass.InboundMessage.CompileRequest.Builder 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
public EmbeddedSass.InboundMessage.CompileRequest.Builder 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. Each importer is checked in order until one recognizes the imported URL.
repeated .sass.embedded_protocol.InboundMessage.CompileRequest.Importer importers = 6;
-
getImportersBuilder
public EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder 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. 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
public EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder 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
public EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder 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. Each importer is checked in order until one recognizes the imported URL.
repeated .sass.embedded_protocol.InboundMessage.CompileRequest.Importer importers = 6;
-
getImportersBuilderList
public List<EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder> 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
public ProtocolStringList getGlobalFunctionsList()
Signatures for custom global functions whose behavior is defined by the host. These must be valid Sass function signatures that could appear in after `@function` in a Sass stylesheet, such as `mix($color1, $color2, $weight: 50%)`. Compilers must ensure that pure-Sass functions take precedence over custom global functions. They must also reject any custom function names that conflict with function names built into the Sass language.
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. These must be valid Sass function signatures that could appear in after `@function` in a Sass stylesheet, such as `mix($color1, $color2, $weight: 50%)`. Compilers must ensure that pure-Sass functions take precedence over custom global functions. They must also reject any custom function names that conflict with function names built into the Sass language.
repeated string global_functions = 7;
- Specified by:
getGlobalFunctionsCount
in interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilder
- Returns:
- The count of globalFunctions.
-
getGlobalFunctions
public String getGlobalFunctions(int index)
Signatures for custom global functions whose behavior is defined by the host. These must be valid Sass function signatures that could appear in after `@function` in a Sass stylesheet, such as `mix($color1, $color2, $weight: 50%)`. Compilers must ensure that pure-Sass functions take precedence over custom global functions. They must also reject any custom function names that conflict with function names built into the Sass language.
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
public ByteString getGlobalFunctionsBytes(int index)
Signatures for custom global functions whose behavior is defined by the host. These must be valid Sass function signatures that could appear in after `@function` in a Sass stylesheet, such as `mix($color1, $color2, $weight: 50%)`. Compilers must ensure that pure-Sass functions take precedence over custom global functions. They must also reject any custom function names that conflict with function names built into the Sass language.
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. These must be valid Sass function signatures that could appear in after `@function` in a Sass stylesheet, such as `mix($color1, $color2, $weight: 50%)`. Compilers must ensure that pure-Sass functions take precedence over custom global functions. They must also reject any custom function names that conflict with function names built into the Sass language.
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
public EmbeddedSass.InboundMessage.CompileRequest.Builder addGlobalFunctions(String value)
Signatures for custom global functions whose behavior is defined by the host. These must be valid Sass function signatures that could appear in after `@function` in a Sass stylesheet, such as `mix($color1, $color2, $weight: 50%)`. Compilers must ensure that pure-Sass functions take precedence over custom global functions. They must also reject any custom function names that conflict with function names built into the Sass language.
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. These must be valid Sass function signatures that could appear in after `@function` in a Sass stylesheet, such as `mix($color1, $color2, $weight: 50%)`. Compilers must ensure that pure-Sass functions take precedence over custom global functions. They must also reject any custom function names that conflict with function names built into the Sass language.
repeated string global_functions = 7;
- Parameters:
values
- The globalFunctions to add.- Returns:
- This builder for chaining.
-
clearGlobalFunctions
public EmbeddedSass.InboundMessage.CompileRequest.Builder clearGlobalFunctions()
Signatures for custom global functions whose behavior is defined by the host. These must be valid Sass function signatures that could appear in after `@function` in a Sass stylesheet, such as `mix($color1, $color2, $weight: 50%)`. Compilers must ensure that pure-Sass functions take precedence over custom global functions. They must also reject any custom function names that conflict with function names built into the Sass language.
repeated string global_functions = 7;
- Returns:
- This builder for chaining.
-
addGlobalFunctionsBytes
public EmbeddedSass.InboundMessage.CompileRequest.Builder addGlobalFunctionsBytes(ByteString value)
Signatures for custom global functions whose behavior is defined by the host. These must be valid Sass function signatures that could appear in after `@function` in a Sass stylesheet, such as `mix($color1, $color2, $weight: 50%)`. Compilers must ensure that pure-Sass functions take precedence over custom global functions. They must also reject any custom function names that conflict with function names built into the Sass language.
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
public EmbeddedSass.InboundMessage.CompileRequest.Builder setAlertColor(boolean value)
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
public EmbeddedSass.InboundMessage.CompileRequest.Builder 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
public EmbeddedSass.InboundMessage.CompileRequest.Builder setAlertAscii(boolean value)
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
public EmbeddedSass.InboundMessage.CompileRequest.Builder 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
public EmbeddedSass.InboundMessage.CompileRequest.Builder setVerbose(boolean value)
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
public EmbeddedSass.InboundMessage.CompileRequest.Builder 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
public EmbeddedSass.InboundMessage.CompileRequest.Builder setQuietDeps(boolean value)
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
public EmbeddedSass.InboundMessage.CompileRequest.Builder 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.
-
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>
-
-