Package sass.embedded_protocol
Class EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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 typesass.embedded_protocol.OutboundMessage.CompileResponse.CompileSuccess
-
-
Method Summary
-
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.OutboundMessage.CompileResponse.CompileSuccess.Builder clear()
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-
getDefaultInstanceForType
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess build()
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess buildPartial()
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.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
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder mergeFrom(Message other)
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder>
-
mergeFrom
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder mergeFrom(EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess other)
-
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
public String getCss()
The compiled CSS.
string css = 1;- Specified by:
getCssin interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileSuccessOrBuilder- Returns:
- The css.
-
getCssBytes
public ByteString getCssBytes()
The compiled CSS.
string css = 1;- Specified by:
getCssBytesin interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileSuccessOrBuilder- Returns:
- The bytes for css.
-
setCss
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder setCss(String value)
The compiled CSS.
string css = 1;- Parameters:
value- The css to set.- Returns:
- This builder for chaining.
-
clearCss
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder 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
public String 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
public ByteString 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
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder 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
public ProtocolStringList 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
public String getLoadedUrls(int index)
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
public ByteString getLoadedUrlsBytes(int index)
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
public EmbeddedSass.OutboundMessage.CompileResponse.CompileSuccess.Builder 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>
-
-