public static final class EmbeddedSass.Value.Calculation.Builder extends GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder> implements EmbeddedSass.Value.CalculationOrBuilder
A SassScript calculation value. The compiler must send fully [simplified] calculations, meaning that simplifying it again will produce the same calculation. The host is not required to simplify calculations. [simplified]: https://github.com/sass/sass/tree/main/spec/types/calculation.md#simplifying-a-calculation The compiler must simplify any calculations it receives from the host before returning them from a function. If this simplification produces an error, it should be treated as though the function call threw that error. It should *not* be treated as a protocol error.Protobuf type
sass.embedded_protocol.Value.Calculation
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.Calculation.Builder>
public EmbeddedSass.Value.Calculation.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
public EmbeddedSass.Value.Calculation getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public EmbeddedSass.Value.Calculation build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public EmbeddedSass.Value.Calculation buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public EmbeddedSass.Value.Calculation.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
public EmbeddedSass.Value.Calculation.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
public EmbeddedSass.Value.Calculation.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
public EmbeddedSass.Value.Calculation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
public EmbeddedSass.Value.Calculation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
public EmbeddedSass.Value.Calculation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
public EmbeddedSass.Value.Calculation.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<EmbeddedSass.Value.Calculation.Builder>
public EmbeddedSass.Value.Calculation.Builder mergeFrom(EmbeddedSass.Value.Calculation other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
public EmbeddedSass.Value.Calculation.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.Calculation.Builder>
IOException
public String getName()
The calculation's name. Mandatory. The host may only set this to names that the Sass specification uses to create calculations.
string name = 1;
getName
in interface EmbeddedSass.Value.CalculationOrBuilder
public ByteString getNameBytes()
The calculation's name. Mandatory. The host may only set this to names that the Sass specification uses to create calculations.
string name = 1;
getNameBytes
in interface EmbeddedSass.Value.CalculationOrBuilder
public EmbeddedSass.Value.Calculation.Builder setName(String value)
The calculation's name. Mandatory. The host may only set this to names that the Sass specification uses to create calculations.
string name = 1;
value
- The name to set.public EmbeddedSass.Value.Calculation.Builder clearName()
The calculation's name. Mandatory. The host may only set this to names that the Sass specification uses to create calculations.
string name = 1;
public EmbeddedSass.Value.Calculation.Builder setNameBytes(ByteString value)
The calculation's name. Mandatory. The host may only set this to names that the Sass specification uses to create calculations.
string name = 1;
value
- The bytes for name to set.public List<EmbeddedSass.Value.Calculation.CalculationValue> getArgumentsList()
The calculation's arguments. Mandatory. The host must use exactly the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue arguments = 2;
getArgumentsList
in interface EmbeddedSass.Value.CalculationOrBuilder
public int getArgumentsCount()
The calculation's arguments. Mandatory. The host must use exactly the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue arguments = 2;
getArgumentsCount
in interface EmbeddedSass.Value.CalculationOrBuilder
public EmbeddedSass.Value.Calculation.CalculationValue getArguments(int index)
The calculation's arguments. Mandatory. The host must use exactly the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue arguments = 2;
getArguments
in interface EmbeddedSass.Value.CalculationOrBuilder
public EmbeddedSass.Value.Calculation.Builder setArguments(int index, EmbeddedSass.Value.Calculation.CalculationValue value)
The calculation's arguments. Mandatory. The host must use exactly the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue arguments = 2;
public EmbeddedSass.Value.Calculation.Builder setArguments(int index, EmbeddedSass.Value.Calculation.CalculationValue.Builder builderForValue)
The calculation's arguments. Mandatory. The host must use exactly the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue arguments = 2;
public EmbeddedSass.Value.Calculation.Builder addArguments(EmbeddedSass.Value.Calculation.CalculationValue value)
The calculation's arguments. Mandatory. The host must use exactly the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue arguments = 2;
public EmbeddedSass.Value.Calculation.Builder addArguments(int index, EmbeddedSass.Value.Calculation.CalculationValue value)
The calculation's arguments. Mandatory. The host must use exactly the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue arguments = 2;
public EmbeddedSass.Value.Calculation.Builder addArguments(EmbeddedSass.Value.Calculation.CalculationValue.Builder builderForValue)
The calculation's arguments. Mandatory. The host must use exactly the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue arguments = 2;
public EmbeddedSass.Value.Calculation.Builder addArguments(int index, EmbeddedSass.Value.Calculation.CalculationValue.Builder builderForValue)
The calculation's arguments. Mandatory. The host must use exactly the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue arguments = 2;
public EmbeddedSass.Value.Calculation.Builder addAllArguments(Iterable<? extends EmbeddedSass.Value.Calculation.CalculationValue> values)
The calculation's arguments. Mandatory. The host must use exactly the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue arguments = 2;
public EmbeddedSass.Value.Calculation.Builder clearArguments()
The calculation's arguments. Mandatory. The host must use exactly the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue arguments = 2;
public EmbeddedSass.Value.Calculation.Builder removeArguments(int index)
The calculation's arguments. Mandatory. The host must use exactly the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue arguments = 2;
public EmbeddedSass.Value.Calculation.CalculationValue.Builder getArgumentsBuilder(int index)
The calculation's arguments. Mandatory. The host must use exactly the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue arguments = 2;
public EmbeddedSass.Value.Calculation.CalculationValueOrBuilder getArgumentsOrBuilder(int index)
The calculation's arguments. Mandatory. The host must use exactly the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue arguments = 2;
getArgumentsOrBuilder
in interface EmbeddedSass.Value.CalculationOrBuilder
public List<? extends EmbeddedSass.Value.Calculation.CalculationValueOrBuilder> getArgumentsOrBuilderList()
The calculation's arguments. Mandatory. The host must use exactly the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue arguments = 2;
getArgumentsOrBuilderList
in interface EmbeddedSass.Value.CalculationOrBuilder
public EmbeddedSass.Value.Calculation.CalculationValue.Builder addArgumentsBuilder()
The calculation's arguments. Mandatory. The host must use exactly the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue arguments = 2;
public EmbeddedSass.Value.Calculation.CalculationValue.Builder addArgumentsBuilder(int index)
The calculation's arguments. Mandatory. The host must use exactly the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue arguments = 2;
public List<EmbeddedSass.Value.Calculation.CalculationValue.Builder> getArgumentsBuilderList()
The calculation's arguments. Mandatory. The host must use exactly the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue arguments = 2;
public final EmbeddedSass.Value.Calculation.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
public final EmbeddedSass.Value.Calculation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>