public static final class EmbeddedSass.Value.Calculation.Builder extends com.google.protobuf.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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public 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.Calculation.Builder>
public EmbeddedSass.Value.Calculation.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.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.GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
public EmbeddedSass.Value.Calculation getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public EmbeddedSass.Value.Calculation build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public EmbeddedSass.Value.Calculation buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public EmbeddedSass.Value.Calculation.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
public EmbeddedSass.Value.Calculation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
public EmbeddedSass.Value.Calculation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
public EmbeddedSass.Value.Calculation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
public EmbeddedSass.Value.Calculation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
public EmbeddedSass.Value.Calculation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
public EmbeddedSass.Value.Calculation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<EmbeddedSass.Value.Calculation.Builder>
public EmbeddedSass.Value.Calculation.Builder mergeFrom(EmbeddedSass.Value.Calculation other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
public EmbeddedSass.Value.Calculation.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<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 com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
public final EmbeddedSass.Value.Calculation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>