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.addRepeatedField(Descriptors.FieldDescriptor field, Object value) 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`.clone()getCss()The compiled CSS.The compiled CSS.static final Descriptors.DescriptorgetLoadedUrls(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.intThe 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.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeUnknownFields(UnknownFieldSet unknownFields) The compiled CSS.setCssBytes(ByteString value) The compiled CSS.setField(Descriptors.FieldDescriptor field, Object value) setLoadedUrls(int index, String value) The canonical URLs of all source files loaded during the compilation.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-
setField
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder setField(Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-
clearField
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder clearField(Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-
clearOneof
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder clearOneof(Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-
setRepeatedField
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-
addRepeatedField
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-
mergeFrom
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>- Throws:
IOException
-
getCss
The compiled CSS.
string css = 1;- Specified by:
getCssin interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileSuccessOrBuilder- Returns:
- The css.
-
getCssBytes
The compiled CSS.
string css = 1;- Specified by:
getCssBytesin 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:
getSourceMapin 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:
getSourceMapBytesin 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:
getLoadedUrlsListin 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:
getLoadedUrlsCountin 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:
getLoadedUrlsin 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:
getLoadedUrlsBytesin 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:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-
mergeUnknownFields
public final EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-