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, 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.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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<OutboundMessage.ImportRequest.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.GeneratedMessage.Builder<OutboundMessage.ImportRequest.Builder>
public OutboundMessage.ImportRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public OutboundMessage.ImportRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public OutboundMessage.ImportRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public OutboundMessage.ImportRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<OutboundMessage.ImportRequest.Builder>
IOException
public int getId()
uint32 id = 1;
getId
in interface OutboundMessage.ImportRequestOrBuilder
public 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.ImportRequestOrBuilder
public 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.ImportRequestOrBuilder
public 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.ImportRequestOrBuilder
public 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.