Package sass.embedded_protocol
Class EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder>
sass.embedded_protocol.EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder
- All Implemented Interfaces:
Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,Cloneable,EmbeddedSass.InboundMessage.CompileRequest.StringInputOrBuilder
- Enclosing class:
- EmbeddedSass.InboundMessage.CompileRequest.StringInput
public static final class EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder
extends GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder>
implements EmbeddedSass.InboundMessage.CompileRequest.StringInputOrBuilder
An input stylesheet provided as plain text, rather than loaded from the filesystem.Protobuf type
sass.embedded_protocol.InboundMessage.CompileRequest.StringInput-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()The importer to use to resolve imports relative to `url`.The contents of the stylesheet.The syntax to use to parse `source`.clearUrl()The location from which `source` was loaded.clone()static final Descriptors.DescriptorThe importer to use to resolve imports relative to `url`.The importer to use to resolve imports relative to `url`.The importer to use to resolve imports relative to `url`.The contents of the stylesheet.The contents of the stylesheet.The syntax to use to parse `source`.intThe syntax to use to parse `source`.getUrl()The location from which `source` was loaded.The location from which `source` was loaded.booleanThe importer to use to resolve imports relative to `url`.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) The importer to use to resolve imports relative to `url`.mergeUnknownFields(UnknownFieldSet unknownFields) setField(Descriptors.FieldDescriptor field, Object value) The importer to use to resolve imports relative to `url`.setImporter(EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder builderForValue) The importer to use to resolve imports relative to `url`.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) The contents of the stylesheet.setSourceBytes(ByteString value) The contents of the stylesheet.setSyntax(EmbeddedSass.Syntax value) The syntax to use to parse `source`.setSyntaxValue(int value) The syntax to use to parse `source`.setUnknownFields(UnknownFieldSet unknownFields) The location from which `source` was loaded.setUrlBytes(ByteString value) The location from which `source` was loaded.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.InboundMessage.CompileRequest.StringInput.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.StringInput.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.InboundMessage.CompileRequest.StringInput.Builder>
-
setField
public EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder setField(Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder>
-
clearField
public EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder clearField(Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder>
-
clearOneof
public EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder clearOneof(Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder>
-
setRepeatedField
public EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder>
-
addRepeatedField
public EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder>
-
mergeFrom
public EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder>- Throws:
IOException
-
getSource
The contents of the stylesheet.
string source = 1;- Specified by:
getSourcein interfaceEmbeddedSass.InboundMessage.CompileRequest.StringInputOrBuilder- Returns:
- The source.
-
getSourceBytes
The contents of the stylesheet.
string source = 1;- Specified by:
getSourceBytesin interfaceEmbeddedSass.InboundMessage.CompileRequest.StringInputOrBuilder- Returns:
- The bytes for source.
-
setSource
The contents of the stylesheet.
string source = 1;- Parameters:
value- The source to set.- Returns:
- This builder for chaining.
-
clearSource
The contents of the stylesheet.
string source = 1;- Returns:
- This builder for chaining.
-
setSourceBytes
public EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder setSourceBytes(ByteString value) The contents of the stylesheet.
string source = 1;- Parameters:
value- The bytes for source to set.- Returns:
- This builder for chaining.
-
getUrl
The location from which `source` was loaded. If this is empty, it indicates that the URL is unknown. This must be a canonical URL recognized by `importer`, if it's passed.
string url = 2;- Specified by:
getUrlin interfaceEmbeddedSass.InboundMessage.CompileRequest.StringInputOrBuilder- Returns:
- The url.
-
getUrlBytes
The location from which `source` was loaded. If this is empty, it indicates that the URL is unknown. This must be a canonical URL recognized by `importer`, if it's passed.
string url = 2;- Specified by:
getUrlBytesin interfaceEmbeddedSass.InboundMessage.CompileRequest.StringInputOrBuilder- Returns:
- The bytes for url.
-
setUrl
The location from which `source` was loaded. If this is empty, it indicates that the URL is unknown. This must be a canonical URL recognized by `importer`, if it's passed.
string url = 2;- Parameters:
value- The url to set.- Returns:
- This builder for chaining.
-
clearUrl
The location from which `source` was loaded. If this is empty, it indicates that the URL is unknown. This must be a canonical URL recognized by `importer`, if it's passed.
string url = 2;- Returns:
- This builder for chaining.
-
setUrlBytes
The location from which `source` was loaded. If this is empty, it indicates that the URL is unknown. This must be a canonical URL recognized by `importer`, if it's passed.
string url = 2;- Parameters:
value- The bytes for url to set.- Returns:
- This builder for chaining.
-
getSyntaxValue
public int getSyntaxValue()The syntax to use to parse `source`.
.sass.embedded_protocol.Syntax syntax = 3;- Specified by:
getSyntaxValuein interfaceEmbeddedSass.InboundMessage.CompileRequest.StringInputOrBuilder- Returns:
- The enum numeric value on the wire for syntax.
-
setSyntaxValue
The syntax to use to parse `source`.
.sass.embedded_protocol.Syntax syntax = 3;- Parameters:
value- The enum numeric value on the wire for syntax to set.- Returns:
- This builder for chaining.
-
getSyntax
The syntax to use to parse `source`.
.sass.embedded_protocol.Syntax syntax = 3;- Specified by:
getSyntaxin interfaceEmbeddedSass.InboundMessage.CompileRequest.StringInputOrBuilder- Returns:
- The syntax.
-
setSyntax
public EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder setSyntax(EmbeddedSass.Syntax value) The syntax to use to parse `source`.
.sass.embedded_protocol.Syntax syntax = 3;- Parameters:
value- The syntax to set.- Returns:
- This builder for chaining.
-
clearSyntax
The syntax to use to parse `source`.
.sass.embedded_protocol.Syntax syntax = 3;- Returns:
- This builder for chaining.
-
hasImporter
public boolean hasImporter()The importer to use to resolve imports relative to `url`.
.sass.embedded_protocol.InboundMessage.CompileRequest.Importer importer = 4;- Specified by:
hasImporterin interfaceEmbeddedSass.InboundMessage.CompileRequest.StringInputOrBuilder- Returns:
- Whether the importer field is set.
-
getImporter
The importer to use to resolve imports relative to `url`.
.sass.embedded_protocol.InboundMessage.CompileRequest.Importer importer = 4;- Specified by:
getImporterin interfaceEmbeddedSass.InboundMessage.CompileRequest.StringInputOrBuilder- Returns:
- The importer.
-
setImporter
public EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder setImporter(EmbeddedSass.InboundMessage.CompileRequest.Importer value) The importer to use to resolve imports relative to `url`.
.sass.embedded_protocol.InboundMessage.CompileRequest.Importer importer = 4; -
setImporter
public EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder setImporter(EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder builderForValue) The importer to use to resolve imports relative to `url`.
.sass.embedded_protocol.InboundMessage.CompileRequest.Importer importer = 4; -
mergeImporter
public EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder mergeImporter(EmbeddedSass.InboundMessage.CompileRequest.Importer value) The importer to use to resolve imports relative to `url`.
.sass.embedded_protocol.InboundMessage.CompileRequest.Importer importer = 4; -
clearImporter
The importer to use to resolve imports relative to `url`.
.sass.embedded_protocol.InboundMessage.CompileRequest.Importer importer = 4; -
getImporterBuilder
The importer to use to resolve imports relative to `url`.
.sass.embedded_protocol.InboundMessage.CompileRequest.Importer importer = 4; -
getImporterOrBuilder
The importer to use to resolve imports relative to `url`.
.sass.embedded_protocol.InboundMessage.CompileRequest.Importer importer = 4;- Specified by:
getImporterOrBuilderin interfaceEmbeddedSass.InboundMessage.CompileRequest.StringInputOrBuilder
-
setUnknownFields
public final EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder setUnknownFields(UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder>
-
mergeUnknownFields
public final EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.StringInput.Builder>
-