Package sass.embedded_protocol
Class EmbeddedSass.Value.Number.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
sass.embedded_protocol.EmbeddedSass.Value.Number.Builder
- All Implemented Interfaces:
Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,Cloneable
,EmbeddedSass.Value.NumberOrBuilder
- Enclosing class:
- EmbeddedSass.Value.Number
public static final class EmbeddedSass.Value.Number.Builder
extends GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
implements EmbeddedSass.Value.NumberOrBuilder
A SassScript number value.Protobuf type
sass.embedded_protocol.Value.Number
-
Method Summary
Modifier and TypeMethodDescriptionaddAllDenominators
(Iterable<String> values) The number's denominator units.addAllNumerators
(Iterable<String> values) The number's numerator units.addDenominators
(String value) The number's denominator units.addDenominatorsBytes
(ByteString value) The number's denominator units.addNumerators
(String value) The number's numerator units.addNumeratorsBytes
(ByteString value) The number's numerator units.build()
clear()
The number's denominator units.The number's numerator units.The number's numeric value.getDenominators
(int index) The number's denominator units.getDenominatorsBytes
(int index) The number's denominator units.int
The number's denominator units.The number's denominator units.static final Descriptors.Descriptor
getNumerators
(int index) The number's numerator units.getNumeratorsBytes
(int index) The number's numerator units.int
The number's numerator units.The number's numerator units.double
getValue()
The number's numeric value.protected GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeUnknownFields
(UnknownFieldSet unknownFields) setDenominators
(int index, String value) The number's denominator units.setNumerators
(int index, String value) The number's numerator units.setUnknownFields
(UnknownFieldSet unknownFields) setValue
(double value) The number's numeric value.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, 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.Number.Builder>
-
clear
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.Number.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
-
mergeFrom
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<EmbeddedSass.Value.Number.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
-
mergeFrom
public EmbeddedSass.Value.Number.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.Number.Builder>
- Throws:
IOException
-
getValue
public double getValue()The number's numeric value. Mandatory.
double value = 1;
- Specified by:
getValue
in interfaceEmbeddedSass.Value.NumberOrBuilder
- Returns:
- The value.
-
setValue
The number's numeric value. Mandatory.
double value = 1;
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
The number's numeric value. Mandatory.
double value = 1;
- Returns:
- This builder for chaining.
-
getNumeratorsList
The number's numerator units. The endpoint sending the number must ensure that no numerator units are [compatible][] with any denominator units. Such compatible units must be simplified away according to the multiplicative factor between them defined in the CSS Values and Units spec. [compatible]: https://www.w3.org/TR/css-values-4/#compat
repeated string numerators = 2;
- Specified by:
getNumeratorsList
in interfaceEmbeddedSass.Value.NumberOrBuilder
- Returns:
- A list containing the numerators.
-
getNumeratorsCount
public int getNumeratorsCount()The number's numerator units. The endpoint sending the number must ensure that no numerator units are [compatible][] with any denominator units. Such compatible units must be simplified away according to the multiplicative factor between them defined in the CSS Values and Units spec. [compatible]: https://www.w3.org/TR/css-values-4/#compat
repeated string numerators = 2;
- Specified by:
getNumeratorsCount
in interfaceEmbeddedSass.Value.NumberOrBuilder
- Returns:
- The count of numerators.
-
getNumerators
The number's numerator units. The endpoint sending the number must ensure that no numerator units are [compatible][] with any denominator units. Such compatible units must be simplified away according to the multiplicative factor between them defined in the CSS Values and Units spec. [compatible]: https://www.w3.org/TR/css-values-4/#compat
repeated string numerators = 2;
- Specified by:
getNumerators
in interfaceEmbeddedSass.Value.NumberOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The numerators at the given index.
-
getNumeratorsBytes
The number's numerator units. The endpoint sending the number must ensure that no numerator units are [compatible][] with any denominator units. Such compatible units must be simplified away according to the multiplicative factor between them defined in the CSS Values and Units spec. [compatible]: https://www.w3.org/TR/css-values-4/#compat
repeated string numerators = 2;
- Specified by:
getNumeratorsBytes
in interfaceEmbeddedSass.Value.NumberOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the numerators at the given index.
-
setNumerators
The number's numerator units. The endpoint sending the number must ensure that no numerator units are [compatible][] with any denominator units. Such compatible units must be simplified away according to the multiplicative factor between them defined in the CSS Values and Units spec. [compatible]: https://www.w3.org/TR/css-values-4/#compat
repeated string numerators = 2;
- Parameters:
index
- The index to set the value at.value
- The numerators to set.- Returns:
- This builder for chaining.
-
addNumerators
The number's numerator units. The endpoint sending the number must ensure that no numerator units are [compatible][] with any denominator units. Such compatible units must be simplified away according to the multiplicative factor between them defined in the CSS Values and Units spec. [compatible]: https://www.w3.org/TR/css-values-4/#compat
repeated string numerators = 2;
- Parameters:
value
- The numerators to add.- Returns:
- This builder for chaining.
-
addAllNumerators
The number's numerator units. The endpoint sending the number must ensure that no numerator units are [compatible][] with any denominator units. Such compatible units must be simplified away according to the multiplicative factor between them defined in the CSS Values and Units spec. [compatible]: https://www.w3.org/TR/css-values-4/#compat
repeated string numerators = 2;
- Parameters:
values
- The numerators to add.- Returns:
- This builder for chaining.
-
clearNumerators
The number's numerator units. The endpoint sending the number must ensure that no numerator units are [compatible][] with any denominator units. Such compatible units must be simplified away according to the multiplicative factor between them defined in the CSS Values and Units spec. [compatible]: https://www.w3.org/TR/css-values-4/#compat
repeated string numerators = 2;
- Returns:
- This builder for chaining.
-
addNumeratorsBytes
The number's numerator units. The endpoint sending the number must ensure that no numerator units are [compatible][] with any denominator units. Such compatible units must be simplified away according to the multiplicative factor between them defined in the CSS Values and Units spec. [compatible]: https://www.w3.org/TR/css-values-4/#compat
repeated string numerators = 2;
- Parameters:
value
- The bytes of the numerators to add.- Returns:
- This builder for chaining.
-
getDenominatorsList
The number's denominator units.
repeated string denominators = 3;
- Specified by:
getDenominatorsList
in interfaceEmbeddedSass.Value.NumberOrBuilder
- Returns:
- A list containing the denominators.
-
getDenominatorsCount
public int getDenominatorsCount()The number's denominator units.
repeated string denominators = 3;
- Specified by:
getDenominatorsCount
in interfaceEmbeddedSass.Value.NumberOrBuilder
- Returns:
- The count of denominators.
-
getDenominators
The number's denominator units.
repeated string denominators = 3;
- Specified by:
getDenominators
in interfaceEmbeddedSass.Value.NumberOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The denominators at the given index.
-
getDenominatorsBytes
The number's denominator units.
repeated string denominators = 3;
- Specified by:
getDenominatorsBytes
in interfaceEmbeddedSass.Value.NumberOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the denominators at the given index.
-
setDenominators
The number's denominator units.
repeated string denominators = 3;
- Parameters:
index
- The index to set the value at.value
- The denominators to set.- Returns:
- This builder for chaining.
-
addDenominators
The number's denominator units.
repeated string denominators = 3;
- Parameters:
value
- The denominators to add.- Returns:
- This builder for chaining.
-
addAllDenominators
The number's denominator units.
repeated string denominators = 3;
- Parameters:
values
- The denominators to add.- Returns:
- This builder for chaining.
-
clearDenominators
The number's denominator units.
repeated string denominators = 3;
- Returns:
- This builder for chaining.
-
addDenominatorsBytes
The number's denominator units.
repeated string denominators = 3;
- Parameters:
value
- The bytes of the denominators to add.- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
-