Package sass.embedded_protocol
Interface EmbeddedSass.Value.NumberOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
EmbeddedSass.Value.Number
,EmbeddedSass.Value.Number.Builder
- Enclosing class:
- EmbeddedSass.Value
-
Method Summary
Modifier and TypeMethodDescriptiongetDenominators
(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.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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getValue
double getValue()The number's numeric value. Mandatory.
double value = 1;
- Returns:
- The value.
-
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;
- Returns:
- A list containing the numerators.
-
getNumeratorsCount
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;
- 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;
- 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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the numerators at the given index.
-
getDenominatorsList
The number's denominator units.
repeated string denominators = 3;
- Returns:
- A list containing the denominators.
-
getDenominatorsCount
int getDenominatorsCount()The number's denominator units.
repeated string denominators = 3;
- Returns:
- The count of denominators.
-
getDenominators
The number's denominator units.
repeated string denominators = 3;
- 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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the denominators at the given index.
-