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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
public EmbeddedSass.Value.Number.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
public EmbeddedSass.Value.Number getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public EmbeddedSass.Value.Number build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public EmbeddedSass.Value.Number buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public EmbeddedSass.Value.Number.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
public EmbeddedSass.Value.Number.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
public EmbeddedSass.Value.Number.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
public EmbeddedSass.Value.Number.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
public EmbeddedSass.Value.Number.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
public EmbeddedSass.Value.Number.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
public EmbeddedSass.Value.Number.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<EmbeddedSass.Value.Number.Builder>
public EmbeddedSass.Value.Number.Builder mergeFrom(EmbeddedSass.Value.Number other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
public EmbeddedSass.Value.Number.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class 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 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 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(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 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 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(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(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>
public final EmbeddedSass.Value.Number.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<EmbeddedSass.Value.Number.Builder>