public static final class EmbeddedSass.Value.HostFunction.Builder extends 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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.HostFunction.Builder>
public EmbeddedSass.Value.HostFunction.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.HostFunction.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.HostFunction.Builder>
public EmbeddedSass.Value.HostFunction getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public EmbeddedSass.Value.HostFunction build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public EmbeddedSass.Value.HostFunction buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public EmbeddedSass.Value.HostFunction.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.HostFunction.Builder>
public EmbeddedSass.Value.HostFunction.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.HostFunction.Builder>
public EmbeddedSass.Value.HostFunction.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.HostFunction.Builder>
public EmbeddedSass.Value.HostFunction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.HostFunction.Builder>
public EmbeddedSass.Value.HostFunction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.HostFunction.Builder>
public EmbeddedSass.Value.HostFunction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.HostFunction.Builder>
public EmbeddedSass.Value.HostFunction.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<EmbeddedSass.Value.HostFunction.Builder>
public EmbeddedSass.Value.HostFunction.Builder mergeFrom(EmbeddedSass.Value.HostFunction other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.HostFunction.Builder>
public EmbeddedSass.Value.HostFunction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<EmbeddedSass.Value.HostFunction.Builder>
IOException
public 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.HostFunctionOrBuilder
public 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 the function's return value as invalid. > 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.HostFunctionOrBuilder
public 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 the function's return value as invalid. > 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.HostFunctionOrBuilder
public 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 the function's return value as invalid. > 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 the function's return value as invalid. > 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(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 the function's return value as invalid. > 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(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.HostFunction.Builder>
public final EmbeddedSass.Value.HostFunction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.HostFunction.Builder>