Package sass.embedded_protocol
Class EmbeddedSass.OutboundMessage.ImportRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.ImportRequest.Builder>
sass.embedded_protocol.EmbeddedSass.OutboundMessage.ImportRequest.Builder
- All Implemented Interfaces:
Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,Cloneable
,EmbeddedSass.OutboundMessage.ImportRequestOrBuilder
- Enclosing class:
- EmbeddedSass.OutboundMessage.ImportRequest
public static final class EmbeddedSass.OutboundMessage.ImportRequest.Builder
extends GeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.ImportRequest.Builder>
implements EmbeddedSass.OutboundMessage.ImportRequestOrBuilder
A request for a custom importer to load the contents of a stylesheet.Protobuf type
sass.embedded_protocol.OutboundMessage.ImportRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
The request id for the compilation that triggered the message.clearId()
uint32 id = 1;
The unique ID of the importer being invoked.clearUrl()
The canonical URL of the import.int
The request id for the compilation that triggered the message.static final Descriptors.Descriptor
int
getId()
uint32 id = 1;
int
The unique ID of the importer being invoked.getUrl()
The canonical URL of the import.The canonical URL of the import.protected GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeUnknownFields
(UnknownFieldSet unknownFields) setCompilationId
(int value) The request id for the compilation that triggered the message.setId
(int value) uint32 id = 1;
setImporterId
(int value) The unique ID of the importer being invoked.setUnknownFields
(UnknownFieldSet unknownFields) The canonical URL of the import.setUrlBytes
(ByteString value) The canonical URL of the import.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.OutboundMessage.ImportRequest.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.ImportRequest.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.OutboundMessage.ImportRequest.Builder>
-
mergeFrom
public EmbeddedSass.OutboundMessage.ImportRequest.Builder mergeFrom(EmbeddedSass.OutboundMessage.ImportRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.ImportRequest.Builder>
-
mergeFrom
public EmbeddedSass.OutboundMessage.ImportRequest.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.OutboundMessage.ImportRequest.Builder>
- Throws:
IOException
-
getId
public int getId()uint32 id = 1;
- Specified by:
getId
in interfaceEmbeddedSass.OutboundMessage.ImportRequestOrBuilder
- Returns:
- The id.
-
setId
uint32 id = 1;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
uint32 id = 1;
- Returns:
- This builder for chaining.
-
getCompilationId
public int getCompilationId()The request id for the compilation that triggered the message. Mandatory.
uint32 compilation_id = 2;
- Specified by:
getCompilationId
in interfaceEmbeddedSass.OutboundMessage.ImportRequestOrBuilder
- Returns:
- The compilationId.
-
setCompilationId
The request id for the compilation that triggered the message. Mandatory.
uint32 compilation_id = 2;
- Parameters:
value
- The compilationId to set.- Returns:
- This builder for chaining.
-
clearCompilationId
The request id for the compilation that triggered the message. Mandatory.
uint32 compilation_id = 2;
- Returns:
- This builder for chaining.
-
getImporterId
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`. Mandatory.
uint32 importer_id = 3;
- Specified by:
getImporterId
in interfaceEmbeddedSass.OutboundMessage.ImportRequestOrBuilder
- Returns:
- The importerId.
-
setImporterId
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`. Mandatory.
uint32 importer_id = 3;
- Parameters:
value
- The importerId to set.- Returns:
- This builder for chaining.
-
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`. Mandatory.
uint32 importer_id = 3;
- Returns:
- This builder for chaining.
-
getUrl
The canonical URL of the import. This is guaranteed to be a URL returned by a `CanonicalizeRequest` to this importer.
string url = 4;
- Specified by:
getUrl
in interfaceEmbeddedSass.OutboundMessage.ImportRequestOrBuilder
- Returns:
- The url.
-
getUrlBytes
The canonical URL of the import. This is guaranteed to be a URL returned by a `CanonicalizeRequest` to this importer.
string url = 4;
- Specified by:
getUrlBytes
in interfaceEmbeddedSass.OutboundMessage.ImportRequestOrBuilder
- Returns:
- The bytes for url.
-
setUrl
The canonical URL of the import. This is guaranteed to be a URL returned by a `CanonicalizeRequest` to this importer.
string url = 4;
- Parameters:
value
- The url to set.- Returns:
- This builder for chaining.
-
clearUrl
The canonical URL of the import. This is guaranteed to be a URL returned by a `CanonicalizeRequest` to this importer.
string url = 4;
- Returns:
- This builder for chaining.
-
setUrlBytes
The canonical URL of the import. This is guaranteed to be a URL returned by a `CanonicalizeRequest` to this importer.
string url = 4;
- Parameters:
value
- The bytes for url to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final EmbeddedSass.OutboundMessage.ImportRequest.Builder setUnknownFields(UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.ImportRequest.Builder>
-
mergeUnknownFields
public final EmbeddedSass.OutboundMessage.ImportRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.ImportRequest.Builder>
-