public static final class EmbeddedSass.Value.HostFunction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.HostFunction.Builder> implements EmbeddedSass.Value.HostFunctionOrBuilder
An anonymous custom function defined in the host. New `HostFunction`s may only be created by the host, and `HostFunction`s may *never* be passed from the compiler to the host. The compiler must instead pass a `CompilerFunction` that wraps the `HostFunction`.Protobuf type
sass.embedded_protocol.Value.HostFunction| Modifier and Type | Method and Description |
|---|---|
EmbeddedSass.Value.HostFunction |
build() |
EmbeddedSass.Value.HostFunction |
buildPartial() |
EmbeddedSass.Value.HostFunction.Builder |
clear() |
EmbeddedSass.Value.HostFunction.Builder |
clearId()
A unique ID for this function.
|
EmbeddedSass.Value.HostFunction.Builder |
clearSignature()
The signature for this function.
|
EmbeddedSass.Value.HostFunction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getId()
A unique ID for this function.
|
String |
getSignature()
The signature for this function.
|
com.google.protobuf.ByteString |
getSignatureBytes()
The signature for this function.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
EmbeddedSass.Value.HostFunction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EmbeddedSass.Value.HostFunction.Builder |
mergeFrom(EmbeddedSass.Value.HostFunction other) |
EmbeddedSass.Value.HostFunction.Builder |
mergeFrom(com.google.protobuf.Message other) |
EmbeddedSass.Value.HostFunction.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EmbeddedSass.Value.HostFunction.Builder |
setId(int value)
A unique ID for this function.
|
EmbeddedSass.Value.HostFunction.Builder |
setSignature(String value)
The signature for this function.
|
EmbeddedSass.Value.HostFunction.Builder |
setSignatureBytes(com.google.protobuf.ByteString value)
The signature for this function.
|
EmbeddedSass.Value.HostFunction.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.HostFunction.Builder>public EmbeddedSass.Value.HostFunction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.HostFunction.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.GeneratedMessageV3.Builder<EmbeddedSass.Value.HostFunction.Builder>public EmbeddedSass.Value.HostFunction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic EmbeddedSass.Value.HostFunction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic EmbeddedSass.Value.HostFunction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic EmbeddedSass.Value.HostFunction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EmbeddedSass.Value.HostFunction.Builder>public EmbeddedSass.Value.HostFunction.Builder mergeFrom(EmbeddedSass.Value.HostFunction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.HostFunction.Builder>public EmbeddedSass.Value.HostFunction.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<EmbeddedSass.Value.HostFunction.Builder>IOExceptionpublic int getId()
A unique ID for this function. The compiler must pass this ID as `OutboundRequest.FunctionCallRequest.id` when invoking this function. The host is responsible for generating this ID and ensuring it's unique across all functions for *all* compilations. Mandatory.
uint32 id = 1;getId in interface EmbeddedSass.Value.HostFunctionOrBuilderpublic EmbeddedSass.Value.HostFunction.Builder setId(int value)
A unique ID for this function. The compiler must pass this ID as `OutboundRequest.FunctionCallRequest.id` when invoking this function. The host is responsible for generating this ID and ensuring it's unique across all functions for *all* compilations. Mandatory.
uint32 id = 1;value - The id to set.public EmbeddedSass.Value.HostFunction.Builder clearId()
A unique ID for this function. The compiler must pass this ID as `OutboundRequest.FunctionCallRequest.id` when invoking this function. The host is responsible for generating this ID and ensuring it's unique across all functions for *all* compilations. Mandatory.
uint32 id = 1;public String getSignature()
The signature for this function. Mandatory. If this isn't a valid Sass function signature that could appear after `@function` in a Sass stylesheet (such as `mix($color1, $color2, $weight: 50%)`), the compiler must treat it as though the function that returned this `HostFunction` threw an error. > This ensures that the host doesn't need to be able to correctly parse > the entire function declaration syntax. The compiler may not invoke the function by its name, since it's not guaranteed to be globally unique. However, it may use the name to generate the string representation of this function.
string signature = 2;getSignature in interface EmbeddedSass.Value.HostFunctionOrBuilderpublic com.google.protobuf.ByteString getSignatureBytes()
The signature for this function. Mandatory. If this isn't a valid Sass function signature that could appear after `@function` in a Sass stylesheet (such as `mix($color1, $color2, $weight: 50%)`), the compiler must treat it as though the function that returned this `HostFunction` threw an error. > This ensures that the host doesn't need to be able to correctly parse > the entire function declaration syntax. The compiler may not invoke the function by its name, since it's not guaranteed to be globally unique. However, it may use the name to generate the string representation of this function.
string signature = 2;getSignatureBytes in interface EmbeddedSass.Value.HostFunctionOrBuilderpublic EmbeddedSass.Value.HostFunction.Builder setSignature(String value)
The signature for this function. Mandatory. If this isn't a valid Sass function signature that could appear after `@function` in a Sass stylesheet (such as `mix($color1, $color2, $weight: 50%)`), the compiler must treat it as though the function that returned this `HostFunction` threw an error. > This ensures that the host doesn't need to be able to correctly parse > the entire function declaration syntax. The compiler may not invoke the function by its name, since it's not guaranteed to be globally unique. However, it may use the name to generate the string representation of this function.
string signature = 2;value - The signature to set.public EmbeddedSass.Value.HostFunction.Builder clearSignature()
The signature for this function. Mandatory. If this isn't a valid Sass function signature that could appear after `@function` in a Sass stylesheet (such as `mix($color1, $color2, $weight: 50%)`), the compiler must treat it as though the function that returned this `HostFunction` threw an error. > This ensures that the host doesn't need to be able to correctly parse > the entire function declaration syntax. The compiler may not invoke the function by its name, since it's not guaranteed to be globally unique. However, it may use the name to generate the string representation of this function.
string signature = 2;public EmbeddedSass.Value.HostFunction.Builder setSignatureBytes(com.google.protobuf.ByteString value)
The signature for this function. Mandatory. If this isn't a valid Sass function signature that could appear after `@function` in a Sass stylesheet (such as `mix($color1, $color2, $weight: 50%)`), the compiler must treat it as though the function that returned this `HostFunction` threw an error. > This ensures that the host doesn't need to be able to correctly parse > the entire function declaration syntax. The compiler may not invoke the function by its name, since it's not guaranteed to be globally unique. However, it may use the name to generate the string representation of this function.
string signature = 2;value - The bytes for signature to set.public final EmbeddedSass.Value.HostFunction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.HostFunction.Builder>public final EmbeddedSass.Value.HostFunction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.HostFunction.Builder>