public static final class InboundMessage.CompileRequest.Importer.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.CompileRequest.Importer.Builder> implements 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
Modifier and Type | Method and Description |
---|---|
InboundMessage.CompileRequest.Importer.Builder |
addAllNonCanonicalScheme(Iterable<String> values)
The set of URL schemes that are considered *non-canonical* for this
importer.
|
InboundMessage.CompileRequest.Importer.Builder |
addNonCanonicalScheme(String value)
The set of URL schemes that are considered *non-canonical* for this
importer.
|
InboundMessage.CompileRequest.Importer.Builder |
addNonCanonicalSchemeBytes(com.google.protobuf.ByteString value)
The set of URL schemes that are considered *non-canonical* for this
importer.
|
InboundMessage.CompileRequest.Importer.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InboundMessage.CompileRequest.Importer |
build() |
InboundMessage.CompileRequest.Importer |
buildPartial() |
InboundMessage.CompileRequest.Importer.Builder |
clear() |
InboundMessage.CompileRequest.Importer.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
InboundMessage.CompileRequest.Importer.Builder |
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.
|
InboundMessage.CompileRequest.Importer.Builder |
clearImporter() |
InboundMessage.CompileRequest.Importer.Builder |
clearImporterId()
A unique ID for a user-defined importer.
|
InboundMessage.CompileRequest.Importer.Builder |
clearNonCanonicalScheme()
The set of URL schemes that are considered *non-canonical* for this
importer.
|
InboundMessage.CompileRequest.Importer.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
InboundMessage.CompileRequest.Importer.Builder |
clearPath()
A built-in importer that loads Sass files within the given directory
on disk.
|
InboundMessage.CompileRequest.Importer.Builder |
clone() |
InboundMessage.CompileRequest.Importer |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
InboundMessage.CompileRequest.Importer.ImporterCase |
getImporterCase() |
int |
getImporterId()
A unique ID for a user-defined importer.
|
String |
getNonCanonicalScheme(int index)
The set of URL schemes that are considered *non-canonical* for this
importer.
|
com.google.protobuf.ByteString |
getNonCanonicalSchemeBytes(int index)
The set of URL schemes that are considered *non-canonical* for this
importer.
|
int |
getNonCanonicalSchemeCount()
The set of URL schemes that are considered *non-canonical* for this
importer.
|
com.google.protobuf.ProtocolStringList |
getNonCanonicalSchemeList()
The set of URL schemes that are considered *non-canonical* for this
importer.
|
String |
getPath()
A built-in importer that loads Sass files within the given directory
on disk.
|
com.google.protobuf.ByteString |
getPathBytes()
A built-in importer that loads Sass files within the given directory
on disk.
|
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.
|
boolean |
hasImporterId()
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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
InboundMessage.CompileRequest.Importer.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InboundMessage.CompileRequest.Importer.Builder |
mergeFrom(InboundMessage.CompileRequest.Importer other) |
InboundMessage.CompileRequest.Importer.Builder |
mergeFrom(com.google.protobuf.Message other) |
InboundMessage.CompileRequest.Importer.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InboundMessage.CompileRequest.Importer.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InboundMessage.CompileRequest.Importer.Builder |
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.
|
InboundMessage.CompileRequest.Importer.Builder |
setImporterId(int value)
A unique ID for a user-defined importer.
|
InboundMessage.CompileRequest.Importer.Builder |
setNonCanonicalScheme(int index,
String value)
The set of URL schemes that are considered *non-canonical* for this
importer.
|
InboundMessage.CompileRequest.Importer.Builder |
setPath(String value)
A built-in importer that loads Sass files within the given directory
on disk.
|
InboundMessage.CompileRequest.Importer.Builder |
setPathBytes(com.google.protobuf.ByteString value)
A built-in importer that loads Sass files within the given directory
on disk.
|
InboundMessage.CompileRequest.Importer.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
InboundMessage.CompileRequest.Importer.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.CompileRequest.Importer.Builder>
public InboundMessage.CompileRequest.Importer.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.CompileRequest.Importer.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.CompileRequest.Importer.Builder>
public InboundMessage.CompileRequest.Importer getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public InboundMessage.CompileRequest.Importer build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public InboundMessage.CompileRequest.Importer buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public InboundMessage.CompileRequest.Importer.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.CompileRequest.Importer.Builder>
public InboundMessage.CompileRequest.Importer.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.CompileRequest.Importer.Builder>
public InboundMessage.CompileRequest.Importer.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.CompileRequest.Importer.Builder>
public InboundMessage.CompileRequest.Importer.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.CompileRequest.Importer.Builder>
public InboundMessage.CompileRequest.Importer.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.CompileRequest.Importer.Builder>
public InboundMessage.CompileRequest.Importer.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.CompileRequest.Importer.Builder>
public InboundMessage.CompileRequest.Importer.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<InboundMessage.CompileRequest.Importer.Builder>
public InboundMessage.CompileRequest.Importer.Builder mergeFrom(InboundMessage.CompileRequest.Importer other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.CompileRequest.Importer.Builder>
public InboundMessage.CompileRequest.Importer.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<InboundMessage.CompileRequest.Importer.Builder>
IOException
public InboundMessage.CompileRequest.Importer.ImporterCase getImporterCase()
getImporterCase
in interface InboundMessage.CompileRequest.ImporterOrBuilder
public InboundMessage.CompileRequest.Importer.Builder clearImporter()
public boolean hasPath()
A built-in importer that loads Sass files within the given directory on disk.
string path = 1;
hasPath
in interface InboundMessage.CompileRequest.ImporterOrBuilder
public String getPath()
A built-in importer that loads Sass files within the given directory on disk.
string path = 1;
getPath
in interface InboundMessage.CompileRequest.ImporterOrBuilder
public com.google.protobuf.ByteString getPathBytes()
A built-in importer that loads Sass files within the given directory on disk.
string path = 1;
getPathBytes
in interface InboundMessage.CompileRequest.ImporterOrBuilder
public InboundMessage.CompileRequest.Importer.Builder setPath(String value)
A built-in importer that loads Sass files within the given directory on disk.
string path = 1;
value
- The path to set.public InboundMessage.CompileRequest.Importer.Builder clearPath()
A built-in importer that loads Sass files within the given directory on disk.
string path = 1;
public InboundMessage.CompileRequest.Importer.Builder setPathBytes(com.google.protobuf.ByteString value)
A built-in importer that loads Sass files within the given directory on disk.
string path = 1;
value
- The bytes for path to set.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;
hasImporterId
in interface InboundMessage.CompileRequest.ImporterOrBuilder
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;
getImporterId
in interface InboundMessage.CompileRequest.ImporterOrBuilder
public InboundMessage.CompileRequest.Importer.Builder setImporterId(int value)
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;
value
- The importerId to set.public InboundMessage.CompileRequest.Importer.Builder 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;
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;
hasFileImporterId
in interface InboundMessage.CompileRequest.ImporterOrBuilder
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;
getFileImporterId
in interface InboundMessage.CompileRequest.ImporterOrBuilder
public InboundMessage.CompileRequest.Importer.Builder 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. 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;
value
- The fileImporterId to set.public InboundMessage.CompileRequest.Importer.Builder 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;
public com.google.protobuf.ProtocolStringList getNonCanonicalSchemeList()
The set of URL schemes that are considered *non-canonical* for this importer. This must be empty unless `importer.importer_id` is set. If any element of this contains a character other than a lowercase ASCII letter, an ASCII numeral, U+002B (`+`), U+002D (`-`), or U+002E (`.`), the compiler must treat the compilation as failed.
repeated string non_canonical_scheme = 4;
getNonCanonicalSchemeList
in interface InboundMessage.CompileRequest.ImporterOrBuilder
public int getNonCanonicalSchemeCount()
The set of URL schemes that are considered *non-canonical* for this importer. This must be empty unless `importer.importer_id` is set. If any element of this contains a character other than a lowercase ASCII letter, an ASCII numeral, U+002B (`+`), U+002D (`-`), or U+002E (`.`), the compiler must treat the compilation as failed.
repeated string non_canonical_scheme = 4;
getNonCanonicalSchemeCount
in interface InboundMessage.CompileRequest.ImporterOrBuilder
public String getNonCanonicalScheme(int index)
The set of URL schemes that are considered *non-canonical* for this importer. This must be empty unless `importer.importer_id` is set. If any element of this contains a character other than a lowercase ASCII letter, an ASCII numeral, U+002B (`+`), U+002D (`-`), or U+002E (`.`), the compiler must treat the compilation as failed.
repeated string non_canonical_scheme = 4;
getNonCanonicalScheme
in interface InboundMessage.CompileRequest.ImporterOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getNonCanonicalSchemeBytes(int index)
The set of URL schemes that are considered *non-canonical* for this importer. This must be empty unless `importer.importer_id` is set. If any element of this contains a character other than a lowercase ASCII letter, an ASCII numeral, U+002B (`+`), U+002D (`-`), or U+002E (`.`), the compiler must treat the compilation as failed.
repeated string non_canonical_scheme = 4;
getNonCanonicalSchemeBytes
in interface InboundMessage.CompileRequest.ImporterOrBuilder
index
- The index of the value to return.public InboundMessage.CompileRequest.Importer.Builder setNonCanonicalScheme(int index, String value)
The set of URL schemes that are considered *non-canonical* for this importer. This must be empty unless `importer.importer_id` is set. If any element of this contains a character other than a lowercase ASCII letter, an ASCII numeral, U+002B (`+`), U+002D (`-`), or U+002E (`.`), the compiler must treat the compilation as failed.
repeated string non_canonical_scheme = 4;
index
- The index to set the value at.value
- The nonCanonicalScheme to set.public InboundMessage.CompileRequest.Importer.Builder addNonCanonicalScheme(String value)
The set of URL schemes that are considered *non-canonical* for this importer. This must be empty unless `importer.importer_id` is set. If any element of this contains a character other than a lowercase ASCII letter, an ASCII numeral, U+002B (`+`), U+002D (`-`), or U+002E (`.`), the compiler must treat the compilation as failed.
repeated string non_canonical_scheme = 4;
value
- The nonCanonicalScheme to add.public InboundMessage.CompileRequest.Importer.Builder addAllNonCanonicalScheme(Iterable<String> values)
The set of URL schemes that are considered *non-canonical* for this importer. This must be empty unless `importer.importer_id` is set. If any element of this contains a character other than a lowercase ASCII letter, an ASCII numeral, U+002B (`+`), U+002D (`-`), or U+002E (`.`), the compiler must treat the compilation as failed.
repeated string non_canonical_scheme = 4;
values
- The nonCanonicalScheme to add.public InboundMessage.CompileRequest.Importer.Builder clearNonCanonicalScheme()
The set of URL schemes that are considered *non-canonical* for this importer. This must be empty unless `importer.importer_id` is set. If any element of this contains a character other than a lowercase ASCII letter, an ASCII numeral, U+002B (`+`), U+002D (`-`), or U+002E (`.`), the compiler must treat the compilation as failed.
repeated string non_canonical_scheme = 4;
public InboundMessage.CompileRequest.Importer.Builder addNonCanonicalSchemeBytes(com.google.protobuf.ByteString value)
The set of URL schemes that are considered *non-canonical* for this importer. This must be empty unless `importer.importer_id` is set. If any element of this contains a character other than a lowercase ASCII letter, an ASCII numeral, U+002B (`+`), U+002D (`-`), or U+002E (`.`), the compiler must treat the compilation as failed.
repeated string non_canonical_scheme = 4;
value
- The bytes of the nonCanonicalScheme to add.public final InboundMessage.CompileRequest.Importer.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.CompileRequest.Importer.Builder>
public final InboundMessage.CompileRequest.Importer.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.CompileRequest.Importer.Builder>