Package sass.embedded_protocol
Class EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
sass.embedded_protocol.EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder
- All Implemented Interfaces:
Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,Cloneable
,EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccessOrBuilder
- Enclosing class:
- EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess
public static final class EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder
extends GeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
implements EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccessOrBuilder
A message indicating that the Sass file was successfully compiled to CSS.Protobuf type
sass.embedded_protocol.OutboundMessage.CompileResponse.CompileSuccess
-
Method Summary
Modifier and TypeMethodDescriptionaddAllLoadedUrls
(Iterable<String> values) The canonical URLs of all source files loaded during the compilation.addLoadedUrls
(String value) The canonical URLs of all source files loaded during the compilation.addLoadedUrlsBytes
(ByteString value) The canonical URLs of all source files loaded during the compilation.build()
clear()
clearCss()
The compiled CSS.The canonical URLs of all source files loaded during the compilation.The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`.getCss()
The compiled CSS.The compiled CSS.static final Descriptors.Descriptor
getLoadedUrls
(int index) The canonical URLs of all source files loaded during the compilation.getLoadedUrlsBytes
(int index) The canonical URLs of all source files loaded during the compilation.int
The canonical URLs of all source files loaded during the compilation.The canonical URLs of all source files loaded during the compilation.The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`.The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`.protected GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeUnknownFields
(UnknownFieldSet unknownFields) The compiled CSS.setCssBytes
(ByteString value) The compiled CSS.setLoadedUrls
(int index, String value) The canonical URLs of all source files loaded during the compilation.setSourceMap
(String value) The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`.setSourceMapBytes
(ByteString value) The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`.setUnknownFields
(UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, 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.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.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
-
mergeFrom
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-
mergeFrom
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.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.OutboundMessage.CompileResponse.CompileSuccess.Builder>
- Throws:
IOException
-
getCss
The compiled CSS.
string css = 1;
- Specified by:
getCss
in interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileSuccessOrBuilder
- Returns:
- The css.
-
getCssBytes
The compiled CSS.
string css = 1;
- Specified by:
getCssBytes
in interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileSuccessOrBuilder
- Returns:
- The bytes for css.
-
setCss
The compiled CSS.
string css = 1;
- Parameters:
value
- The css to set.- Returns:
- This builder for chaining.
-
clearCss
The compiled CSS.
string css = 1;
- Returns:
- This builder for chaining.
-
setCssBytes
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder setCssBytes(ByteString value) The compiled CSS.
string css = 1;
- Parameters:
value
- The bytes for css to set.- Returns:
- This builder for chaining.
-
getSourceMap
The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`. The compiler must not add a `"file"` key to this source map. It's the host's (or the host's user's) responsibility to determine how the generated CSS can be reached from the source map.
string source_map = 2;
- Specified by:
getSourceMap
in interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileSuccessOrBuilder
- Returns:
- The sourceMap.
-
getSourceMapBytes
The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`. The compiler must not add a `"file"` key to this source map. It's the host's (or the host's user's) responsibility to determine how the generated CSS can be reached from the source map.
string source_map = 2;
- Specified by:
getSourceMapBytes
in interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileSuccessOrBuilder
- Returns:
- The bytes for sourceMap.
-
setSourceMap
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder setSourceMap(String value) The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`. The compiler must not add a `"file"` key to this source map. It's the host's (or the host's user's) responsibility to determine how the generated CSS can be reached from the source map.
string source_map = 2;
- Parameters:
value
- The sourceMap to set.- Returns:
- This builder for chaining.
-
clearSourceMap
The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`. The compiler must not add a `"file"` key to this source map. It's the host's (or the host's user's) responsibility to determine how the generated CSS can be reached from the source map.
string source_map = 2;
- Returns:
- This builder for chaining.
-
setSourceMapBytes
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder setSourceMapBytes(ByteString value) The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`. The compiler must not add a `"file"` key to this source map. It's the host's (or the host's user's) responsibility to determine how the generated CSS can be reached from the source map.
string source_map = 2;
- Parameters:
value
- The bytes for sourceMap to set.- Returns:
- This builder for chaining.
-
getLoadedUrlsList
The canonical URLs of all source files loaded during the compilation. The compiler must ensure that each canonical URL appears only once in this list. This must include the entrypoint file's URL if either `CompileRequest.input.path` or `CompileRequest.StringInput.url` was passed.
repeated string loaded_urls = 3;
- Specified by:
getLoadedUrlsList
in interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileSuccessOrBuilder
- Returns:
- A list containing the loadedUrls.
-
getLoadedUrlsCount
public int getLoadedUrlsCount()The canonical URLs of all source files loaded during the compilation. The compiler must ensure that each canonical URL appears only once in this list. This must include the entrypoint file's URL if either `CompileRequest.input.path` or `CompileRequest.StringInput.url` was passed.
repeated string loaded_urls = 3;
- Specified by:
getLoadedUrlsCount
in interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileSuccessOrBuilder
- Returns:
- The count of loadedUrls.
-
getLoadedUrls
The canonical URLs of all source files loaded during the compilation. The compiler must ensure that each canonical URL appears only once in this list. This must include the entrypoint file's URL if either `CompileRequest.input.path` or `CompileRequest.StringInput.url` was passed.
repeated string loaded_urls = 3;
- Specified by:
getLoadedUrls
in interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileSuccessOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The loadedUrls at the given index.
-
getLoadedUrlsBytes
The canonical URLs of all source files loaded during the compilation. The compiler must ensure that each canonical URL appears only once in this list. This must include the entrypoint file's URL if either `CompileRequest.input.path` or `CompileRequest.StringInput.url` was passed.
repeated string loaded_urls = 3;
- Specified by:
getLoadedUrlsBytes
in interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileSuccessOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the loadedUrls at the given index.
-
setLoadedUrls
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder setLoadedUrls(int index, String value) The canonical URLs of all source files loaded during the compilation. The compiler must ensure that each canonical URL appears only once in this list. This must include the entrypoint file's URL if either `CompileRequest.input.path` or `CompileRequest.StringInput.url` was passed.
repeated string loaded_urls = 3;
- Parameters:
index
- The index to set the value at.value
- The loadedUrls to set.- Returns:
- This builder for chaining.
-
addLoadedUrls
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder addLoadedUrls(String value) The canonical URLs of all source files loaded during the compilation. The compiler must ensure that each canonical URL appears only once in this list. This must include the entrypoint file's URL if either `CompileRequest.input.path` or `CompileRequest.StringInput.url` was passed.
repeated string loaded_urls = 3;
- Parameters:
value
- The loadedUrls to add.- Returns:
- This builder for chaining.
-
addAllLoadedUrls
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder addAllLoadedUrls(Iterable<String> values) The canonical URLs of all source files loaded during the compilation. The compiler must ensure that each canonical URL appears only once in this list. This must include the entrypoint file's URL if either `CompileRequest.input.path` or `CompileRequest.StringInput.url` was passed.
repeated string loaded_urls = 3;
- Parameters:
values
- The loadedUrls to add.- Returns:
- This builder for chaining.
-
clearLoadedUrls
The canonical URLs of all source files loaded during the compilation. The compiler must ensure that each canonical URL appears only once in this list. This must include the entrypoint file's URL if either `CompileRequest.input.path` or `CompileRequest.StringInput.url` was passed.
repeated string loaded_urls = 3;
- Returns:
- This builder for chaining.
-
addLoadedUrlsBytes
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder addLoadedUrlsBytes(ByteString value) The canonical URLs of all source files loaded during the compilation. The compiler must ensure that each canonical URL appears only once in this list. This must include the entrypoint file's URL if either `CompileRequest.input.path` or `CompileRequest.StringInput.url` was passed.
repeated string loaded_urls = 3;
- Parameters:
value
- The bytes of the loadedUrls to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder setUnknownFields(UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-
mergeUnknownFields
public final EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-