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 TypeMethodDescriptionbuild()
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.static final Descriptors.Descriptor
int
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.int
A 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.boolean
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.boolean
A unique ID for a user-defined importer.boolean
hasPath()
A built-in importer that loads Sass files within the given directory on disk.protected GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeUnknownFields
(UnknownFieldSet unknownFields) 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.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.InboundMessage.CompileRequest.Importer.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Importer.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.InboundMessage.CompileRequest.Importer.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder>
-
mergeFrom
public EmbeddedSass.InboundMessage.CompileRequest.Importer.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.InboundMessage.CompileRequest.Importer.Builder>
- Throws:
IOException
-
getImporterCase
- Specified by:
getImporterCase
in 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:
hasPath
in 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:
getPath
in 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:
getPathBytes
in 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:
hasImporterId
in 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:
getImporterId
in 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:
hasFileImporterId
in 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:
getFileImporterId
in 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:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder>
-
mergeUnknownFields
public final EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.CompileRequest.Importer.Builder>
-