public static final class Value.Calculation.CalculationValue.Builder extends com.google.protobuf.GeneratedMessage.Builder<Value.Calculation.CalculationValue.Builder> implements Value.Calculation.CalculationValueOrBuilder
A single component of a calculation expression.Protobuf type
sass.embedded_protocol.Value.Calculation.CalculationValue
Modifier and Type | Method and Description |
---|---|
Value.Calculation.CalculationValue |
build() |
Value.Calculation.CalculationValue |
buildPartial() |
Value.Calculation.CalculationValue.Builder |
clear() |
Value.Calculation.CalculationValue.Builder |
clearCalculation()
.sass.embedded_protocol.Value.Calculation calculation = 5; |
Value.Calculation.CalculationValue.Builder |
clearInterpolation()
An unquoted string as created by interpolation for
backwards-compatibility with older Sass syntax.
|
Value.Calculation.CalculationValue.Builder |
clearNumber()
.sass.embedded_protocol.Value.Number number = 1; |
Value.Calculation.CalculationValue.Builder |
clearOperation()
.sass.embedded_protocol.Value.Calculation.CalculationOperation operation = 4; |
Value.Calculation.CalculationValue.Builder |
clearString()
An unquoted string, as from a function like `var()` or `env()`.
|
Value.Calculation.CalculationValue.Builder |
clearValue() |
Value.Calculation |
getCalculation()
.sass.embedded_protocol.Value.Calculation calculation = 5; |
Value.Calculation.Builder |
getCalculationBuilder()
.sass.embedded_protocol.Value.Calculation calculation = 5; |
Value.CalculationOrBuilder |
getCalculationOrBuilder()
.sass.embedded_protocol.Value.Calculation calculation = 5; |
Value.Calculation.CalculationValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getInterpolation()
An unquoted string as created by interpolation for
backwards-compatibility with older Sass syntax.
|
com.google.protobuf.ByteString |
getInterpolationBytes()
An unquoted string as created by interpolation for
backwards-compatibility with older Sass syntax.
|
Value.Number |
getNumber()
.sass.embedded_protocol.Value.Number number = 1; |
Value.Number.Builder |
getNumberBuilder()
.sass.embedded_protocol.Value.Number number = 1; |
Value.NumberOrBuilder |
getNumberOrBuilder()
.sass.embedded_protocol.Value.Number number = 1; |
Value.Calculation.CalculationOperation |
getOperation()
.sass.embedded_protocol.Value.Calculation.CalculationOperation operation = 4; |
Value.Calculation.CalculationOperation.Builder |
getOperationBuilder()
.sass.embedded_protocol.Value.Calculation.CalculationOperation operation = 4; |
Value.Calculation.CalculationOperationOrBuilder |
getOperationOrBuilder()
.sass.embedded_protocol.Value.Calculation.CalculationOperation operation = 4; |
String |
getString()
An unquoted string, as from a function like `var()` or `env()`.
|
com.google.protobuf.ByteString |
getStringBytes()
An unquoted string, as from a function like `var()` or `env()`.
|
Value.Calculation.CalculationValue.ValueCase |
getValueCase() |
boolean |
hasCalculation()
.sass.embedded_protocol.Value.Calculation calculation = 5; |
boolean |
hasInterpolation()
An unquoted string as created by interpolation for
backwards-compatibility with older Sass syntax.
|
boolean |
hasNumber()
.sass.embedded_protocol.Value.Number number = 1; |
boolean |
hasOperation()
.sass.embedded_protocol.Value.Calculation.CalculationOperation operation = 4; |
boolean |
hasString()
An unquoted string, as from a function like `var()` or `env()`.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Value.Calculation.CalculationValue.Builder |
mergeCalculation(Value.Calculation value)
.sass.embedded_protocol.Value.Calculation calculation = 5; |
Value.Calculation.CalculationValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Value.Calculation.CalculationValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
Value.Calculation.CalculationValue.Builder |
mergeFrom(Value.Calculation.CalculationValue other) |
Value.Calculation.CalculationValue.Builder |
mergeNumber(Value.Number value)
.sass.embedded_protocol.Value.Number number = 1; |
Value.Calculation.CalculationValue.Builder |
mergeOperation(Value.Calculation.CalculationOperation value)
.sass.embedded_protocol.Value.Calculation.CalculationOperation operation = 4; |
Value.Calculation.CalculationValue.Builder |
setCalculation(Value.Calculation.Builder builderForValue)
.sass.embedded_protocol.Value.Calculation calculation = 5; |
Value.Calculation.CalculationValue.Builder |
setCalculation(Value.Calculation value)
.sass.embedded_protocol.Value.Calculation calculation = 5; |
Value.Calculation.CalculationValue.Builder |
setInterpolation(String value)
An unquoted string as created by interpolation for
backwards-compatibility with older Sass syntax.
|
Value.Calculation.CalculationValue.Builder |
setInterpolationBytes(com.google.protobuf.ByteString value)
An unquoted string as created by interpolation for
backwards-compatibility with older Sass syntax.
|
Value.Calculation.CalculationValue.Builder |
setNumber(Value.Number.Builder builderForValue)
.sass.embedded_protocol.Value.Number number = 1; |
Value.Calculation.CalculationValue.Builder |
setNumber(Value.Number value)
.sass.embedded_protocol.Value.Number number = 1; |
Value.Calculation.CalculationValue.Builder |
setOperation(Value.Calculation.CalculationOperation.Builder builderForValue)
.sass.embedded_protocol.Value.Calculation.CalculationOperation operation = 4; |
Value.Calculation.CalculationValue.Builder |
setOperation(Value.Calculation.CalculationOperation value)
.sass.embedded_protocol.Value.Calculation.CalculationOperation operation = 4; |
Value.Calculation.CalculationValue.Builder |
setString(String value)
An unquoted string, as from a function like `var()` or `env()`.
|
Value.Calculation.CalculationValue.Builder |
setStringBytes(com.google.protobuf.ByteString value)
An unquoted string, as from a function like `var()` or `env()`.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<Value.Calculation.CalculationValue.Builder>
public Value.Calculation.CalculationValue.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Value.Calculation.CalculationValue.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.GeneratedMessage.Builder<Value.Calculation.CalculationValue.Builder>
public Value.Calculation.CalculationValue getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Value.Calculation.CalculationValue build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Value.Calculation.CalculationValue buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Value.Calculation.CalculationValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Value.Calculation.CalculationValue.Builder>
public Value.Calculation.CalculationValue.Builder mergeFrom(Value.Calculation.CalculationValue other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Value.Calculation.CalculationValue.Builder>
public Value.Calculation.CalculationValue.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<Value.Calculation.CalculationValue.Builder>
IOException
public Value.Calculation.CalculationValue.ValueCase getValueCase()
getValueCase
in interface Value.Calculation.CalculationValueOrBuilder
public Value.Calculation.CalculationValue.Builder clearValue()
public boolean hasNumber()
.sass.embedded_protocol.Value.Number number = 1;
hasNumber
in interface Value.Calculation.CalculationValueOrBuilder
public Value.Number getNumber()
.sass.embedded_protocol.Value.Number number = 1;
getNumber
in interface Value.Calculation.CalculationValueOrBuilder
public Value.Calculation.CalculationValue.Builder setNumber(Value.Number value)
.sass.embedded_protocol.Value.Number number = 1;
public Value.Calculation.CalculationValue.Builder setNumber(Value.Number.Builder builderForValue)
.sass.embedded_protocol.Value.Number number = 1;
public Value.Calculation.CalculationValue.Builder mergeNumber(Value.Number value)
.sass.embedded_protocol.Value.Number number = 1;
public Value.Calculation.CalculationValue.Builder clearNumber()
.sass.embedded_protocol.Value.Number number = 1;
public Value.Number.Builder getNumberBuilder()
.sass.embedded_protocol.Value.Number number = 1;
public Value.NumberOrBuilder getNumberOrBuilder()
.sass.embedded_protocol.Value.Number number = 1;
getNumberOrBuilder
in interface Value.Calculation.CalculationValueOrBuilder
public boolean hasString()
An unquoted string, as from a function like `var()` or `env()`.
string string = 2;
hasString
in interface Value.Calculation.CalculationValueOrBuilder
public String getString()
An unquoted string, as from a function like `var()` or `env()`.
string string = 2;
getString
in interface Value.Calculation.CalculationValueOrBuilder
public com.google.protobuf.ByteString getStringBytes()
An unquoted string, as from a function like `var()` or `env()`.
string string = 2;
getStringBytes
in interface Value.Calculation.CalculationValueOrBuilder
public Value.Calculation.CalculationValue.Builder setString(String value)
An unquoted string, as from a function like `var()` or `env()`.
string string = 2;
value
- The string to set.public Value.Calculation.CalculationValue.Builder clearString()
An unquoted string, as from a function like `var()` or `env()`.
string string = 2;
public Value.Calculation.CalculationValue.Builder setStringBytes(com.google.protobuf.ByteString value)
An unquoted string, as from a function like `var()` or `env()`.
string string = 2;
value
- The bytes for string to set.public boolean hasInterpolation()
An unquoted string as created by interpolation for backwards-compatibility with older Sass syntax. The compiler must treat this as identical to a `string` option whose value is `"(" + interpolation + ")"`. This field is deprecated and hosts should avoid using it.
string interpolation = 3;
hasInterpolation
in interface Value.Calculation.CalculationValueOrBuilder
public String getInterpolation()
An unquoted string as created by interpolation for backwards-compatibility with older Sass syntax. The compiler must treat this as identical to a `string` option whose value is `"(" + interpolation + ")"`. This field is deprecated and hosts should avoid using it.
string interpolation = 3;
getInterpolation
in interface Value.Calculation.CalculationValueOrBuilder
public com.google.protobuf.ByteString getInterpolationBytes()
An unquoted string as created by interpolation for backwards-compatibility with older Sass syntax. The compiler must treat this as identical to a `string` option whose value is `"(" + interpolation + ")"`. This field is deprecated and hosts should avoid using it.
string interpolation = 3;
getInterpolationBytes
in interface Value.Calculation.CalculationValueOrBuilder
public Value.Calculation.CalculationValue.Builder setInterpolation(String value)
An unquoted string as created by interpolation for backwards-compatibility with older Sass syntax. The compiler must treat this as identical to a `string` option whose value is `"(" + interpolation + ")"`. This field is deprecated and hosts should avoid using it.
string interpolation = 3;
value
- The interpolation to set.public Value.Calculation.CalculationValue.Builder clearInterpolation()
An unquoted string as created by interpolation for backwards-compatibility with older Sass syntax. The compiler must treat this as identical to a `string` option whose value is `"(" + interpolation + ")"`. This field is deprecated and hosts should avoid using it.
string interpolation = 3;
public Value.Calculation.CalculationValue.Builder setInterpolationBytes(com.google.protobuf.ByteString value)
An unquoted string as created by interpolation for backwards-compatibility with older Sass syntax. The compiler must treat this as identical to a `string` option whose value is `"(" + interpolation + ")"`. This field is deprecated and hosts should avoid using it.
string interpolation = 3;
value
- The bytes for interpolation to set.public boolean hasOperation()
.sass.embedded_protocol.Value.Calculation.CalculationOperation operation = 4;
hasOperation
in interface Value.Calculation.CalculationValueOrBuilder
public Value.Calculation.CalculationOperation getOperation()
.sass.embedded_protocol.Value.Calculation.CalculationOperation operation = 4;
getOperation
in interface Value.Calculation.CalculationValueOrBuilder
public Value.Calculation.CalculationValue.Builder setOperation(Value.Calculation.CalculationOperation value)
.sass.embedded_protocol.Value.Calculation.CalculationOperation operation = 4;
public Value.Calculation.CalculationValue.Builder setOperation(Value.Calculation.CalculationOperation.Builder builderForValue)
.sass.embedded_protocol.Value.Calculation.CalculationOperation operation = 4;
public Value.Calculation.CalculationValue.Builder mergeOperation(Value.Calculation.CalculationOperation value)
.sass.embedded_protocol.Value.Calculation.CalculationOperation operation = 4;
public Value.Calculation.CalculationValue.Builder clearOperation()
.sass.embedded_protocol.Value.Calculation.CalculationOperation operation = 4;
public Value.Calculation.CalculationOperation.Builder getOperationBuilder()
.sass.embedded_protocol.Value.Calculation.CalculationOperation operation = 4;
public Value.Calculation.CalculationOperationOrBuilder getOperationOrBuilder()
.sass.embedded_protocol.Value.Calculation.CalculationOperation operation = 4;
getOperationOrBuilder
in interface Value.Calculation.CalculationValueOrBuilder
public boolean hasCalculation()
.sass.embedded_protocol.Value.Calculation calculation = 5;
hasCalculation
in interface Value.Calculation.CalculationValueOrBuilder
public Value.Calculation getCalculation()
.sass.embedded_protocol.Value.Calculation calculation = 5;
getCalculation
in interface Value.Calculation.CalculationValueOrBuilder
public Value.Calculation.CalculationValue.Builder setCalculation(Value.Calculation value)
.sass.embedded_protocol.Value.Calculation calculation = 5;
public Value.Calculation.CalculationValue.Builder setCalculation(Value.Calculation.Builder builderForValue)
.sass.embedded_protocol.Value.Calculation calculation = 5;
public Value.Calculation.CalculationValue.Builder mergeCalculation(Value.Calculation value)
.sass.embedded_protocol.Value.Calculation calculation = 5;
public Value.Calculation.CalculationValue.Builder clearCalculation()
.sass.embedded_protocol.Value.Calculation calculation = 5;
public Value.Calculation.Builder getCalculationBuilder()
.sass.embedded_protocol.Value.Calculation calculation = 5;
public Value.CalculationOrBuilder getCalculationOrBuilder()
.sass.embedded_protocol.Value.Calculation calculation = 5;
getCalculationOrBuilder
in interface Value.Calculation.CalculationValueOrBuilder