Package sass.embedded_protocol
Class EmbeddedSass.Value.Calculation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
sass.embedded_protocol.EmbeddedSass.Value.Calculation.Builder
- All Implemented Interfaces:
Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,Cloneable,EmbeddedSass.Value.CalculationOrBuilder
- Enclosing class:
- EmbeddedSass.Value.Calculation
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllArguments(Iterable<? extends EmbeddedSass.Value.Calculation.CalculationValue> values) The calculation's arguments.addArguments(int index, EmbeddedSass.Value.Calculation.CalculationValue value) The calculation's arguments.addArguments(int index, EmbeddedSass.Value.Calculation.CalculationValue.Builder builderForValue) The calculation's arguments.The calculation's arguments.addArguments(EmbeddedSass.Value.Calculation.CalculationValue.Builder builderForValue) The calculation's arguments.The calculation's arguments.addArgumentsBuilder(int index) The calculation's arguments.addRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()The calculation's arguments.The calculation's name.clone()getArguments(int index) The calculation's arguments.getArgumentsBuilder(int index) The calculation's arguments.The calculation's arguments.intThe calculation's arguments.The calculation's arguments.getArgumentsOrBuilder(int index) The calculation's arguments.The calculation's arguments.static final Descriptors.DescriptorgetName()The calculation's name.The calculation's name.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeUnknownFields(UnknownFieldSet unknownFields) removeArguments(int index) The calculation's arguments.setArguments(int index, EmbeddedSass.Value.Calculation.CalculationValue value) The calculation's arguments.setArguments(int index, EmbeddedSass.Value.Calculation.CalculationValue.Builder builderForValue) The calculation's arguments.setField(Descriptors.FieldDescriptor field, Object value) The calculation's name.setNameBytes(ByteString value) The calculation's name.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
setField
public EmbeddedSass.Value.Calculation.Builder setField(Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
setRepeatedField
public EmbeddedSass.Value.Calculation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
addRepeatedField
public EmbeddedSass.Value.Calculation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.Value.Calculation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
mergeFrom
public EmbeddedSass.Value.Calculation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.Value.Calculation.Builder>- Throws:
IOException
-
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;- Specified by:
getNamein interfaceEmbeddedSass.Value.CalculationOrBuilder- Returns:
- The name.
-
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;- Specified by:
getNameBytesin interfaceEmbeddedSass.Value.CalculationOrBuilder- Returns:
- The bytes for name.
-
setName
The calculation's name. Mandatory. The host may only set this to names that the Sass specification uses to create calculations.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setNameBytes
The calculation's name. Mandatory. The host may only set this to names that the Sass specification uses to create calculations.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getArgumentsListin interfaceEmbeddedSass.Value.CalculationOrBuilder
-
getArgumentsCount
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;- Specified by:
getArgumentsCountin interfaceEmbeddedSass.Value.CalculationOrBuilder
-
getArguments
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;- Specified by:
getArgumentsin interfaceEmbeddedSass.Value.CalculationOrBuilder
-
setArguments
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; -
setArguments
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; -
addArguments
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; -
addArguments
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; -
addArguments
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; -
addArguments
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; -
addAllArguments
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; -
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; -
removeArguments
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; -
getArgumentsBuilder
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
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;- Specified by:
getArgumentsOrBuilderin interfaceEmbeddedSass.Value.CalculationOrBuilder
-
getArgumentsOrBuilderList
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;- Specified by:
getArgumentsOrBuilderListin interfaceEmbeddedSass.Value.CalculationOrBuilder
-
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; -
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; -
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; -
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
mergeUnknownFields
public final EmbeddedSass.Value.Calculation.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-