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
public static interface EmbeddedSass.Value.NumberOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDenominators(int index)
The number's denominator units.ByteString
getDenominatorsBytes(int index)
The number's denominator units.int
getDenominatorsCount()
The number's denominator units.List<String>
getDenominatorsList()
The number's denominator units.String
getNumerators(int index)
The number's numerator units.ByteString
getNumeratorsBytes(int index)
The number's numerator units.int
getNumeratorsCount()
The number's numerator units.List<String>
getNumeratorsList()
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 Detail
-
getValue
double getValue()
The number's numeric value. Mandatory.
double value = 1;
- Returns:
- The value.
-
getNumeratorsList
List<String> 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
String getNumerators(int index)
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
ByteString getNumeratorsBytes(int index)
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
List<String> 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
String getDenominators(int index)
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
ByteString getDenominatorsBytes(int index)
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.
-
-