public static final class OutboundMessage.ImportRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<OutboundMessage.ImportRequest.Builder> implements OutboundMessage.ImportRequestOrBuilder
A request for a custom importer to load the contents of a stylesheet.Protobuf type
sass.embedded_protocol.OutboundMessage.ImportRequest| Modifier and Type | Method and Description |
|---|---|
OutboundMessage.ImportRequest |
build() |
OutboundMessage.ImportRequest |
buildPartial() |
OutboundMessage.ImportRequest.Builder |
clear() |
OutboundMessage.ImportRequest.Builder |
clearId()
uint32 id = 1; |
OutboundMessage.ImportRequest.Builder |
clearImporterId()
The unique ID of the importer being invoked.
|
OutboundMessage.ImportRequest.Builder |
clearUrl()
The canonical URL of the import.
|
OutboundMessage.ImportRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getId()
uint32 id = 1; |
int |
getImporterId()
The unique ID of the importer being invoked.
|
String |
getUrl()
The canonical URL of the import.
|
com.google.protobuf.ByteString |
getUrlBytes()
The canonical URL of the import.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OutboundMessage.ImportRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OutboundMessage.ImportRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
OutboundMessage.ImportRequest.Builder |
mergeFrom(OutboundMessage.ImportRequest other) |
OutboundMessage.ImportRequest.Builder |
setId(int value)
uint32 id = 1; |
OutboundMessage.ImportRequest.Builder |
setImporterId(int value)
The unique ID of the importer being invoked.
|
OutboundMessage.ImportRequest.Builder |
setUrl(String value)
The canonical URL of the import.
|
OutboundMessage.ImportRequest.Builder |
setUrlBytes(com.google.protobuf.ByteString value)
The canonical URL of the import.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<OutboundMessage.ImportRequest.Builder>public OutboundMessage.ImportRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<OutboundMessage.ImportRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<OutboundMessage.ImportRequest.Builder>public OutboundMessage.ImportRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OutboundMessage.ImportRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OutboundMessage.ImportRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OutboundMessage.ImportRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OutboundMessage.ImportRequest.Builder>public OutboundMessage.ImportRequest.Builder mergeFrom(OutboundMessage.ImportRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<OutboundMessage.ImportRequest.Builder>public OutboundMessage.ImportRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OutboundMessage.ImportRequest.Builder>IOExceptionpublic int getId()
uint32 id = 1;getId in interface OutboundMessage.ImportRequestOrBuilderpublic OutboundMessage.ImportRequest.Builder setId(int value)
uint32 id = 1;value - The id to set.public OutboundMessage.ImportRequest.Builder clearId()
uint32 id = 1;public int getImporterId()
The unique ID of the importer being invoked. This must match an `Importer.importer_id` passed to this compilation in `CompileRequest.importers` or `CompileRequest.input.string.importer`.
uint32 importer_id = 3;getImporterId in interface OutboundMessage.ImportRequestOrBuilderpublic OutboundMessage.ImportRequest.Builder setImporterId(int value)
The unique ID of the importer being invoked. This must match an `Importer.importer_id` passed to this compilation in `CompileRequest.importers` or `CompileRequest.input.string.importer`.
uint32 importer_id = 3;value - The importerId to set.public OutboundMessage.ImportRequest.Builder clearImporterId()
The unique ID of the importer being invoked. This must match an `Importer.importer_id` passed to this compilation in `CompileRequest.importers` or `CompileRequest.input.string.importer`.
uint32 importer_id = 3;public String getUrl()
The canonical URL of the import. This is guaranteed to be a URL returned by a `CanonicalizeRequest` to this importer.
string url = 4;getUrl in interface OutboundMessage.ImportRequestOrBuilderpublic com.google.protobuf.ByteString getUrlBytes()
The canonical URL of the import. This is guaranteed to be a URL returned by a `CanonicalizeRequest` to this importer.
string url = 4;getUrlBytes in interface OutboundMessage.ImportRequestOrBuilderpublic OutboundMessage.ImportRequest.Builder setUrl(String value)
The canonical URL of the import. This is guaranteed to be a URL returned by a `CanonicalizeRequest` to this importer.
string url = 4;value - The url to set.public OutboundMessage.ImportRequest.Builder clearUrl()
The canonical URL of the import. This is guaranteed to be a URL returned by a `CanonicalizeRequest` to this importer.
string url = 4;public OutboundMessage.ImportRequest.Builder setUrlBytes(com.google.protobuf.ByteString value)
The canonical URL of the import. This is guaranteed to be a URL returned by a `CanonicalizeRequest` to this importer.
string url = 4;value - The bytes for url to set.