Package sass.embedded_protocol
Class EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder>
sass.embedded_protocol.EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder
- All Implemented Interfaces:
Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,Cloneable,EmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder
- Enclosing class:
- EmbeddedSass.InboundMessage.CompileRequest.Importer
public static final class EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder
extends GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder>
implements EmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder
A wrapper message that represents either a user-defined importer or a load path on disk. This must be a wrapper because `oneof` types can't be `repeated`.Protobuf type
sass.embedded_protocol.InboundMessage.CompileRequest.Importer-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()A unique ID for a special kind of user-defined importer that tells the compiler where to look for files on the physical filesystem, but leaves the details of resolving partials and extensions and loading the file from disk up to the compiler itself.A unique ID for a user-defined importer.A built-in importer that loads Sass files within the given directory on disk.clone()static final Descriptors.DescriptorintA unique ID for a special kind of user-defined importer that tells the compiler where to look for files on the physical filesystem, but leaves the details of resolving partials and extensions and loading the file from disk up to the compiler itself.intA unique ID for a user-defined importer.getPath()A built-in importer that loads Sass files within the given directory on disk.A built-in importer that loads Sass files within the given directory on disk.booleanA unique ID for a special kind of user-defined importer that tells the compiler where to look for files on the physical filesystem, but leaves the details of resolving partials and extensions and loading the file from disk up to the compiler itself.booleanA unique ID for a user-defined importer.booleanhasPath()A built-in importer that loads Sass files within the given directory on disk.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeUnknownFields(UnknownFieldSet unknownFields) setField(Descriptors.FieldDescriptor field, Object value) setFileImporterId(int value) A unique ID for a special kind of user-defined importer that tells the compiler where to look for files on the physical filesystem, but leaves the details of resolving partials and extensions and loading the file from disk up to the compiler itself.setImporterId(int value) A unique ID for a user-defined importer.A built-in importer that loads Sass files within the given directory on disk.setPathBytes(ByteString value) A built-in importer that loads Sass files within the given directory on disk.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 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.InboundMessage.CompileRequest.Importer.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Importer.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.Importer.Builder>
-
setField
public EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder setField(Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder>
-
clearField
public EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder clearField(Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder>
-
clearOneof
public EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder clearOneof(Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder>
-
setRepeatedField
public EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder>
-
addRepeatedField
public EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder>
-
mergeFrom
public EmbeddedSass.InboundMessage.CompileRequest.Importer.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.Importer.Builder>- Throws:
IOException
-
getImporterCase
- Specified by:
getImporterCasein interfaceEmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder
-
clearImporter
-
hasPath
public boolean hasPath()A built-in importer that loads Sass files within the given directory on disk.
string path = 1;- Specified by:
hasPathin interfaceEmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder- Returns:
- Whether the path field is set.
-
getPath
A built-in importer that loads Sass files within the given directory on disk.
string path = 1;- Specified by:
getPathin interfaceEmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder- Returns:
- The path.
-
getPathBytes
A built-in importer that loads Sass files within the given directory on disk.
string path = 1;- Specified by:
getPathBytesin interfaceEmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder- Returns:
- The bytes for path.
-
setPath
A built-in importer that loads Sass files within the given directory on disk.
string path = 1;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
A built-in importer that loads Sass files within the given directory on disk.
string path = 1;- Returns:
- This builder for chaining.
-
setPathBytes
A built-in importer that loads Sass files within the given directory on disk.
string path = 1;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasImporterId
public boolean hasImporterId()A unique ID for a user-defined importer. This ID will be included in outbound `CanonicalizeRequest` and `ImportRequest` messages to indicate which importer is being called. The host is responsible for generating this ID and ensuring that it's unique across all importers registered for this compilation.
uint32 importer_id = 2;- Specified by:
hasImporterIdin interfaceEmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder- Returns:
- Whether the importerId field is set.
-
getImporterId
public int getImporterId()A unique ID for a user-defined importer. This ID will be included in outbound `CanonicalizeRequest` and `ImportRequest` messages to indicate which importer is being called. The host is responsible for generating this ID and ensuring that it's unique across all importers registered for this compilation.
uint32 importer_id = 2;- Specified by:
getImporterIdin interfaceEmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder- Returns:
- The importerId.
-
setImporterId
A unique ID for a user-defined importer. This ID will be included in outbound `CanonicalizeRequest` and `ImportRequest` messages to indicate which importer is being called. The host is responsible for generating this ID and ensuring that it's unique across all importers registered for this compilation.
uint32 importer_id = 2;- Parameters:
value- The importerId to set.- Returns:
- This builder for chaining.
-
clearImporterId
A unique ID for a user-defined importer. This ID will be included in outbound `CanonicalizeRequest` and `ImportRequest` messages to indicate which importer is being called. The host is responsible for generating this ID and ensuring that it's unique across all importers registered for this compilation.
uint32 importer_id = 2;- Returns:
- This builder for chaining.
-
hasFileImporterId
public boolean hasFileImporterId()A unique ID for a special kind of user-defined importer that tells the compiler where to look for files on the physical filesystem, but leaves the details of resolving partials and extensions and loading the file from disk up to the compiler itself. This ID will be included in outbound `FileImportRequest` messages to indicate which importer is being called. The host is responsible for generating this ID and ensuring that it's unique across all importers registered for this compilation.
uint32 file_importer_id = 3;- Specified by:
hasFileImporterIdin interfaceEmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder- Returns:
- Whether the fileImporterId field is set.
-
getFileImporterId
public int getFileImporterId()A unique ID for a special kind of user-defined importer that tells the compiler where to look for files on the physical filesystem, but leaves the details of resolving partials and extensions and loading the file from disk up to the compiler itself. This ID will be included in outbound `FileImportRequest` messages to indicate which importer is being called. The host is responsible for generating this ID and ensuring that it's unique across all importers registered for this compilation.
uint32 file_importer_id = 3;- Specified by:
getFileImporterIdin interfaceEmbeddedSass.InboundMessage.CompileRequest.ImporterOrBuilder- Returns:
- The fileImporterId.
-
setFileImporterId
A unique ID for a special kind of user-defined importer that tells the compiler where to look for files on the physical filesystem, but leaves the details of resolving partials and extensions and loading the file from disk up to the compiler itself. This ID will be included in outbound `FileImportRequest` messages to indicate which importer is being called. The host is responsible for generating this ID and ensuring that it's unique across all importers registered for this compilation.
uint32 file_importer_id = 3;- Parameters:
value- The fileImporterId to set.- Returns:
- This builder for chaining.
-
clearFileImporterId
A unique ID for a special kind of user-defined importer that tells the compiler where to look for files on the physical filesystem, but leaves the details of resolving partials and extensions and loading the file from disk up to the compiler itself. This ID will be included in outbound `FileImportRequest` messages to indicate which importer is being called. The host is responsible for generating this ID and ensuring that it's unique across all importers registered for this compilation.
uint32 file_importer_id = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder setUnknownFields(UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder>
-
mergeUnknownFields
public final EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder>
-