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.int
The calculation's arguments.The calculation's arguments.getArgumentsOrBuilder
(int index) The calculation's arguments.The calculation's arguments.static final Descriptors.Descriptor
getName()
The calculation's name.The calculation's name.protected GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
clear
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
setField
public EmbeddedSass.Value.Calculation.Builder setField(Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
clearField
- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
setRepeatedField
public EmbeddedSass.Value.Calculation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
addRepeatedField
public EmbeddedSass.Value.Calculation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<EmbeddedSass.Value.Calculation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
mergeFrom
public EmbeddedSass.Value.Calculation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getArgumentsList
in 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:
getArgumentsCount
in 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:
getArguments
in 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:
getArgumentsOrBuilder
in 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:
getArgumentsOrBuilderList
in 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:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
mergeUnknownFields
public final EmbeddedSass.Value.Calculation.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-