public static final class EmbeddedSass.Value.Number.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder> implements EmbeddedSass.Value.NumberOrBuilder
A SassScript number value.Protobuf type
sass.embedded_protocol.Value.Number
Modifier and Type | Method and Description |
---|---|
EmbeddedSass.Value.Number.Builder |
addAllDenominators(Iterable<String> values)
The number's denominator units.
|
EmbeddedSass.Value.Number.Builder |
addAllNumerators(Iterable<String> values)
The number's numerator units.
|
EmbeddedSass.Value.Number.Builder |
addDenominators(String value)
The number's denominator units.
|
EmbeddedSass.Value.Number.Builder |
addDenominatorsBytes(com.google.protobuf.ByteString value)
The number's denominator units.
|
EmbeddedSass.Value.Number.Builder |
addNumerators(String value)
The number's numerator units.
|
EmbeddedSass.Value.Number.Builder |
addNumeratorsBytes(com.google.protobuf.ByteString value)
The number's numerator units.
|
EmbeddedSass.Value.Number |
build() |
EmbeddedSass.Value.Number |
buildPartial() |
EmbeddedSass.Value.Number.Builder |
clear() |
EmbeddedSass.Value.Number.Builder |
clearDenominators()
The number's denominator units.
|
EmbeddedSass.Value.Number.Builder |
clearNumerators()
The number's numerator units.
|
EmbeddedSass.Value.Number.Builder |
clearValue()
The number's numeric value.
|
EmbeddedSass.Value.Number |
getDefaultInstanceForType() |
String |
getDenominators(int index)
The number's denominator units.
|
com.google.protobuf.ByteString |
getDenominatorsBytes(int index)
The number's denominator units.
|
int |
getDenominatorsCount()
The number's denominator units.
|
com.google.protobuf.ProtocolStringList |
getDenominatorsList()
The number's denominator units.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNumerators(int index)
The number's numerator units.
|
com.google.protobuf.ByteString |
getNumeratorsBytes(int index)
The number's numerator units.
|
int |
getNumeratorsCount()
The number's numerator units.
|
com.google.protobuf.ProtocolStringList |
getNumeratorsList()
The number's numerator units.
|
double |
getValue()
The number's numeric value.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
EmbeddedSass.Value.Number.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EmbeddedSass.Value.Number.Builder |
mergeFrom(EmbeddedSass.Value.Number other) |
EmbeddedSass.Value.Number.Builder |
mergeFrom(com.google.protobuf.Message other) |
EmbeddedSass.Value.Number.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EmbeddedSass.Value.Number.Builder |
setDenominators(int index,
String value)
The number's denominator units.
|
EmbeddedSass.Value.Number.Builder |
setNumerators(int index,
String value)
The number's numerator units.
|
EmbeddedSass.Value.Number.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EmbeddedSass.Value.Number.Builder |
setValue(double value)
The number's numeric value.
|
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
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
public EmbeddedSass.Value.Number.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
public EmbeddedSass.Value.Number getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public EmbeddedSass.Value.Number build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public EmbeddedSass.Value.Number buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public EmbeddedSass.Value.Number.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<EmbeddedSass.Value.Number.Builder>
public EmbeddedSass.Value.Number.Builder mergeFrom(EmbeddedSass.Value.Number other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
public EmbeddedSass.Value.Number.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<EmbeddedSass.Value.Number.Builder>
IOException
public double getValue()
The number's numeric value. Mandatory.
double value = 1;
getValue
in interface EmbeddedSass.Value.NumberOrBuilder
public EmbeddedSass.Value.Number.Builder setValue(double value)
The number's numeric value. Mandatory.
double value = 1;
value
- The value to set.public EmbeddedSass.Value.Number.Builder clearValue()
The number's numeric value. Mandatory.
double value = 1;
public com.google.protobuf.ProtocolStringList 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;
getNumeratorsList
in interface EmbeddedSass.Value.NumberOrBuilder
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;
getNumeratorsCount
in interface EmbeddedSass.Value.NumberOrBuilder
public 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;
getNumerators
in interface EmbeddedSass.Value.NumberOrBuilder
index
- The index of the element to return.public com.google.protobuf.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;
getNumeratorsBytes
in interface EmbeddedSass.Value.NumberOrBuilder
index
- The index of the value to return.public EmbeddedSass.Value.Number.Builder setNumerators(int index, String value)
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;
index
- The index to set the value at.value
- The numerators to set.public EmbeddedSass.Value.Number.Builder addNumerators(String value)
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;
value
- The numerators to add.public EmbeddedSass.Value.Number.Builder addAllNumerators(Iterable<String> values)
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;
values
- The numerators to add.public EmbeddedSass.Value.Number.Builder 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;
public EmbeddedSass.Value.Number.Builder addNumeratorsBytes(com.google.protobuf.ByteString value)
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;
value
- The bytes of the numerators to add.public com.google.protobuf.ProtocolStringList getDenominatorsList()
The number's denominator units.
repeated string denominators = 3;
getDenominatorsList
in interface EmbeddedSass.Value.NumberOrBuilder
public int getDenominatorsCount()
The number's denominator units.
repeated string denominators = 3;
getDenominatorsCount
in interface EmbeddedSass.Value.NumberOrBuilder
public String getDenominators(int index)
The number's denominator units.
repeated string denominators = 3;
getDenominators
in interface EmbeddedSass.Value.NumberOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getDenominatorsBytes(int index)
The number's denominator units.
repeated string denominators = 3;
getDenominatorsBytes
in interface EmbeddedSass.Value.NumberOrBuilder
index
- The index of the value to return.public EmbeddedSass.Value.Number.Builder setDenominators(int index, String value)
The number's denominator units.
repeated string denominators = 3;
index
- The index to set the value at.value
- The denominators to set.public EmbeddedSass.Value.Number.Builder addDenominators(String value)
The number's denominator units.
repeated string denominators = 3;
value
- The denominators to add.public EmbeddedSass.Value.Number.Builder addAllDenominators(Iterable<String> values)
The number's denominator units.
repeated string denominators = 3;
values
- The denominators to add.public EmbeddedSass.Value.Number.Builder clearDenominators()
The number's denominator units.
repeated string denominators = 3;
public EmbeddedSass.Value.Number.Builder addDenominatorsBytes(com.google.protobuf.ByteString value)
The number's denominator units.
repeated string denominators = 3;
value
- The bytes of the denominators to add.public final EmbeddedSass.Value.Number.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
public final EmbeddedSass.Value.Number.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>