Package sass.embedded_protocol
Class EmbeddedSass.Value.Calculation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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 typesass.embedded_protocol.Value.Calculation
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, 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.MessageLite.Builder
mergeFrom
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
clear
public EmbeddedSass.Value.Calculation.Builder clear()
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
getDefaultInstanceForType
public EmbeddedSass.Value.Calculation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
public EmbeddedSass.Value.Calculation build()
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
public EmbeddedSass.Value.Calculation buildPartial()
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
public EmbeddedSass.Value.Calculation.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
public EmbeddedSass.Value.Calculation.Builder clearField(Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<EmbeddedSass.Value.Calculation.Builder>
-
clearOneof
public EmbeddedSass.Value.Calculation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
- 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
public EmbeddedSass.Value.Calculation.Builder mergeFrom(Message other)
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.Value.Calculation.Builder>
-
mergeFrom
public EmbeddedSass.Value.Calculation.Builder mergeFrom(EmbeddedSass.Value.Calculation other)
-
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
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;- Specified by:
getNamein interfaceEmbeddedSass.Value.CalculationOrBuilder- Returns:
- The name.
-
getNameBytes
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;- Specified by:
getNameBytesin interfaceEmbeddedSass.Value.CalculationOrBuilder- Returns:
- The bytes for name.
-
setName
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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;- Returns:
- This builder for chaining.
-
setNameBytes
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getArgumentList
public List<EmbeddedSass.Value.Calculation.CalculationValue> getArgumentList()
The calculation's arguments. Mandatory. The host must use exaclty the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue argument = 2;- Specified by:
getArgumentListin interfaceEmbeddedSass.Value.CalculationOrBuilder
-
getArgumentCount
public int getArgumentCount()
The calculation's arguments. Mandatory. The host must use exaclty the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue argument = 2;- Specified by:
getArgumentCountin interfaceEmbeddedSass.Value.CalculationOrBuilder
-
getArgument
public EmbeddedSass.Value.Calculation.CalculationValue getArgument(int index)
The calculation's arguments. Mandatory. The host must use exaclty the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue argument = 2;- Specified by:
getArgumentin interfaceEmbeddedSass.Value.CalculationOrBuilder
-
setArgument
public EmbeddedSass.Value.Calculation.Builder setArgument(int index, EmbeddedSass.Value.Calculation.CalculationValue value)
The calculation's arguments. Mandatory. The host must use exaclty the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue argument = 2;
-
setArgument
public EmbeddedSass.Value.Calculation.Builder setArgument(int index, EmbeddedSass.Value.Calculation.CalculationValue.Builder builderForValue)
The calculation's arguments. Mandatory. The host must use exaclty the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue argument = 2;
-
addArgument
public EmbeddedSass.Value.Calculation.Builder addArgument(EmbeddedSass.Value.Calculation.CalculationValue value)
The calculation's arguments. Mandatory. The host must use exaclty the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue argument = 2;
-
addArgument
public EmbeddedSass.Value.Calculation.Builder addArgument(int index, EmbeddedSass.Value.Calculation.CalculationValue value)
The calculation's arguments. Mandatory. The host must use exaclty the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue argument = 2;
-
addArgument
public EmbeddedSass.Value.Calculation.Builder addArgument(EmbeddedSass.Value.Calculation.CalculationValue.Builder builderForValue)
The calculation's arguments. Mandatory. The host must use exaclty the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue argument = 2;
-
addArgument
public EmbeddedSass.Value.Calculation.Builder addArgument(int index, EmbeddedSass.Value.Calculation.CalculationValue.Builder builderForValue)
The calculation's arguments. Mandatory. The host must use exaclty the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue argument = 2;
-
addAllArgument
public EmbeddedSass.Value.Calculation.Builder addAllArgument(Iterable<? extends EmbeddedSass.Value.Calculation.CalculationValue> values)
The calculation's arguments. Mandatory. The host must use exaclty the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue argument = 2;
-
clearArgument
public EmbeddedSass.Value.Calculation.Builder clearArgument()
The calculation's arguments. Mandatory. The host must use exaclty the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue argument = 2;
-
removeArgument
public EmbeddedSass.Value.Calculation.Builder removeArgument(int index)
The calculation's arguments. Mandatory. The host must use exaclty the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue argument = 2;
-
getArgumentBuilder
public EmbeddedSass.Value.Calculation.CalculationValue.Builder getArgumentBuilder(int index)
The calculation's arguments. Mandatory. The host must use exaclty the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue argument = 2;
-
getArgumentOrBuilder
public EmbeddedSass.Value.Calculation.CalculationValueOrBuilder getArgumentOrBuilder(int index)
The calculation's arguments. Mandatory. The host must use exaclty the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue argument = 2;- Specified by:
getArgumentOrBuilderin interfaceEmbeddedSass.Value.CalculationOrBuilder
-
getArgumentOrBuilderList
public List<? extends EmbeddedSass.Value.Calculation.CalculationValueOrBuilder> getArgumentOrBuilderList()
The calculation's arguments. Mandatory. The host must use exaclty the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue argument = 2;- Specified by:
getArgumentOrBuilderListin interfaceEmbeddedSass.Value.CalculationOrBuilder
-
addArgumentBuilder
public EmbeddedSass.Value.Calculation.CalculationValue.Builder addArgumentBuilder()
The calculation's arguments. Mandatory. The host must use exaclty the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue argument = 2;
-
addArgumentBuilder
public EmbeddedSass.Value.Calculation.CalculationValue.Builder addArgumentBuilder(int index)
The calculation's arguments. Mandatory. The host must use exaclty the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue argument = 2;
-
getArgumentBuilderList
public List<EmbeddedSass.Value.Calculation.CalculationValue.Builder> getArgumentBuilderList()
The calculation's arguments. Mandatory. The host must use exaclty the number of arguments used by the Sass specification for calculations with the given `name`.
repeated .sass.embedded_protocol.Value.Calculation.CalculationValue argument = 2;
-
setUnknownFields
public final EmbeddedSass.Value.Calculation.Builder setUnknownFields(UnknownFieldSet unknownFields)
- 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>
-
-