public final class Value extends com.google.protobuf.GeneratedMessageV3 implements ValueOrBuilder
A SassScript value, passed to and returned by functions.Protobuf type
sass.embedded_protocol.Value
Modifier and Type | Class and Description |
---|---|
static class |
Value.ArgumentList
A SassScript argument list value.
|
static interface |
Value.ArgumentListOrBuilder |
static class |
Value.Builder
A SassScript value, passed to and returned by functions.
|
static class |
Value.Calculation
A SassScript calculation value.
|
static interface |
Value.CalculationOrBuilder |
static class |
Value.CompilerFunction
A first-class function defined in the compiler.
|
static interface |
Value.CompilerFunctionOrBuilder |
static class |
Value.HostFunction
An anonymous custom function defined in the host.
|
static interface |
Value.HostFunctionOrBuilder |
static class |
Value.HslColor
A SassScript color value, represented as hue, saturation, and lightness channels.
|
static interface |
Value.HslColorOrBuilder |
static class |
Value.HwbColor
A SassScript color value, represented as hue, whiteness, and blackness
channels.
|
static interface |
Value.HwbColorOrBuilder |
static class |
Value.List
A SassScript list value.
|
static interface |
Value.ListOrBuilder |
static class |
Value.Map
A SassScript map value.
|
static interface |
Value.MapOrBuilder |
static class |
Value.Number
A SassScript number value.
|
static interface |
Value.NumberOrBuilder |
static class |
Value.RgbColor
A SassScript color value, represented as red, green, and blue channels.
|
static interface |
Value.RgbColorOrBuilder |
static class |
Value.String
A SassScript string value.
|
static interface |
Value.StringOrBuilder |
static class |
Value.ValueCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
ARGUMENT_LIST_FIELD_NUMBER |
static int |
CALCULATION_FIELD_NUMBER |
static int |
COMPILER_FUNCTION_FIELD_NUMBER |
static int |
HOST_FUNCTION_FIELD_NUMBER |
static int |
HSL_COLOR_FIELD_NUMBER |
static int |
HWB_COLOR_FIELD_NUMBER |
static int |
LIST_FIELD_NUMBER |
static int |
MAP_FIELD_NUMBER |
static int |
NUMBER_FIELD_NUMBER |
static int |
RGB_COLOR_FIELD_NUMBER |
static int |
SINGLETON_FIELD_NUMBER |
static int |
STRING_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Value.ArgumentList |
getArgumentList()
.sass.embedded_protocol.Value.ArgumentList argument_list = 10; |
Value.ArgumentListOrBuilder |
getArgumentListOrBuilder()
.sass.embedded_protocol.Value.ArgumentList argument_list = 10; |
Value.Calculation |
getCalculation()
.sass.embedded_protocol.Value.Calculation calculation = 12; |
Value.CalculationOrBuilder |
getCalculationOrBuilder()
.sass.embedded_protocol.Value.Calculation calculation = 12; |
Value.CompilerFunction |
getCompilerFunction()
.sass.embedded_protocol.Value.CompilerFunction compiler_function = 8; |
Value.CompilerFunctionOrBuilder |
getCompilerFunctionOrBuilder()
.sass.embedded_protocol.Value.CompilerFunction compiler_function = 8; |
static Value |
getDefaultInstance() |
Value |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Value.HostFunction |
getHostFunction()
.sass.embedded_protocol.Value.HostFunction host_function = 9; |
Value.HostFunctionOrBuilder |
getHostFunctionOrBuilder()
.sass.embedded_protocol.Value.HostFunction host_function = 9; |
Value.HslColor |
getHslColor()
.sass.embedded_protocol.Value.HslColor hsl_color = 4; |
Value.HslColorOrBuilder |
getHslColorOrBuilder()
.sass.embedded_protocol.Value.HslColor hsl_color = 4; |
Value.HwbColor |
getHwbColor()
.sass.embedded_protocol.Value.HwbColor hwb_color = 11; |
Value.HwbColorOrBuilder |
getHwbColorOrBuilder()
.sass.embedded_protocol.Value.HwbColor hwb_color = 11; |
Value.List |
getList()
.sass.embedded_protocol.Value.List list = 5; |
Value.ListOrBuilder |
getListOrBuilder()
.sass.embedded_protocol.Value.List list = 5; |
Value.Map |
getMap()
.sass.embedded_protocol.Value.Map map = 6; |
Value.MapOrBuilder |
getMapOrBuilder()
.sass.embedded_protocol.Value.Map map = 6; |
Value.Number |
getNumber()
.sass.embedded_protocol.Value.Number number = 2; |
Value.NumberOrBuilder |
getNumberOrBuilder()
.sass.embedded_protocol.Value.Number number = 2; |
com.google.protobuf.Parser<Value> |
getParserForType() |
Value.RgbColor |
getRgbColor()
.sass.embedded_protocol.Value.RgbColor rgb_color = 3; |
Value.RgbColorOrBuilder |
getRgbColorOrBuilder()
.sass.embedded_protocol.Value.RgbColor rgb_color = 3; |
int |
getSerializedSize() |
SingletonValue |
getSingleton()
.sass.embedded_protocol.SingletonValue singleton = 7; |
int |
getSingletonValue()
.sass.embedded_protocol.SingletonValue singleton = 7; |
Value.String |
getString()
.sass.embedded_protocol.Value.String string = 1; |
Value.StringOrBuilder |
getStringOrBuilder()
.sass.embedded_protocol.Value.String string = 1; |
Value.ValueCase |
getValueCase() |
boolean |
hasArgumentList()
.sass.embedded_protocol.Value.ArgumentList argument_list = 10; |
boolean |
hasCalculation()
.sass.embedded_protocol.Value.Calculation calculation = 12; |
boolean |
hasCompilerFunction()
.sass.embedded_protocol.Value.CompilerFunction compiler_function = 8; |
int |
hashCode() |
boolean |
hasHostFunction()
.sass.embedded_protocol.Value.HostFunction host_function = 9; |
boolean |
hasHslColor()
.sass.embedded_protocol.Value.HslColor hsl_color = 4; |
boolean |
hasHwbColor()
.sass.embedded_protocol.Value.HwbColor hwb_color = 11; |
boolean |
hasList()
.sass.embedded_protocol.Value.List list = 5; |
boolean |
hasMap()
.sass.embedded_protocol.Value.Map map = 6; |
boolean |
hasNumber()
.sass.embedded_protocol.Value.Number number = 2; |
boolean |
hasRgbColor()
.sass.embedded_protocol.Value.RgbColor rgb_color = 3; |
boolean |
hasSingleton()
.sass.embedded_protocol.SingletonValue singleton = 7; |
boolean |
hasString()
.sass.embedded_protocol.Value.String string = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Value.Builder |
newBuilder() |
static Value.Builder |
newBuilder(Value prototype) |
Value.Builder |
newBuilderForType() |
protected Value.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Value |
parseDelimitedFrom(InputStream input) |
static Value |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(byte[] data) |
static Value |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(ByteBuffer data) |
static Value |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(com.google.protobuf.ByteString data) |
static Value |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Value |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Value |
parseFrom(InputStream input) |
static Value |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Value> |
parser() |
Value.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int STRING_FIELD_NUMBER
public static final int NUMBER_FIELD_NUMBER
public static final int RGB_COLOR_FIELD_NUMBER
public static final int HSL_COLOR_FIELD_NUMBER
public static final int LIST_FIELD_NUMBER
public static final int MAP_FIELD_NUMBER
public static final int SINGLETON_FIELD_NUMBER
public static final int COMPILER_FUNCTION_FIELD_NUMBER
public static final int HOST_FUNCTION_FIELD_NUMBER
public static final int ARGUMENT_LIST_FIELD_NUMBER
public static final int HWB_COLOR_FIELD_NUMBER
public static final int CALCULATION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public Value.ValueCase getValueCase()
getValueCase
in interface ValueOrBuilder
public boolean hasString()
.sass.embedded_protocol.Value.String string = 1;
hasString
in interface ValueOrBuilder
public Value.String getString()
.sass.embedded_protocol.Value.String string = 1;
getString
in interface ValueOrBuilder
public Value.StringOrBuilder getStringOrBuilder()
.sass.embedded_protocol.Value.String string = 1;
getStringOrBuilder
in interface ValueOrBuilder
public boolean hasNumber()
.sass.embedded_protocol.Value.Number number = 2;
hasNumber
in interface ValueOrBuilder
public Value.Number getNumber()
.sass.embedded_protocol.Value.Number number = 2;
getNumber
in interface ValueOrBuilder
public Value.NumberOrBuilder getNumberOrBuilder()
.sass.embedded_protocol.Value.Number number = 2;
getNumberOrBuilder
in interface ValueOrBuilder
public boolean hasRgbColor()
.sass.embedded_protocol.Value.RgbColor rgb_color = 3;
hasRgbColor
in interface ValueOrBuilder
public Value.RgbColor getRgbColor()
.sass.embedded_protocol.Value.RgbColor rgb_color = 3;
getRgbColor
in interface ValueOrBuilder
public Value.RgbColorOrBuilder getRgbColorOrBuilder()
.sass.embedded_protocol.Value.RgbColor rgb_color = 3;
getRgbColorOrBuilder
in interface ValueOrBuilder
public boolean hasHslColor()
.sass.embedded_protocol.Value.HslColor hsl_color = 4;
hasHslColor
in interface ValueOrBuilder
public Value.HslColor getHslColor()
.sass.embedded_protocol.Value.HslColor hsl_color = 4;
getHslColor
in interface ValueOrBuilder
public Value.HslColorOrBuilder getHslColorOrBuilder()
.sass.embedded_protocol.Value.HslColor hsl_color = 4;
getHslColorOrBuilder
in interface ValueOrBuilder
public boolean hasList()
.sass.embedded_protocol.Value.List list = 5;
hasList
in interface ValueOrBuilder
public Value.List getList()
.sass.embedded_protocol.Value.List list = 5;
getList
in interface ValueOrBuilder
public Value.ListOrBuilder getListOrBuilder()
.sass.embedded_protocol.Value.List list = 5;
getListOrBuilder
in interface ValueOrBuilder
public boolean hasMap()
.sass.embedded_protocol.Value.Map map = 6;
hasMap
in interface ValueOrBuilder
public Value.Map getMap()
.sass.embedded_protocol.Value.Map map = 6;
getMap
in interface ValueOrBuilder
public Value.MapOrBuilder getMapOrBuilder()
.sass.embedded_protocol.Value.Map map = 6;
getMapOrBuilder
in interface ValueOrBuilder
public boolean hasSingleton()
.sass.embedded_protocol.SingletonValue singleton = 7;
hasSingleton
in interface ValueOrBuilder
public int getSingletonValue()
.sass.embedded_protocol.SingletonValue singleton = 7;
getSingletonValue
in interface ValueOrBuilder
public SingletonValue getSingleton()
.sass.embedded_protocol.SingletonValue singleton = 7;
getSingleton
in interface ValueOrBuilder
public boolean hasCompilerFunction()
.sass.embedded_protocol.Value.CompilerFunction compiler_function = 8;
hasCompilerFunction
in interface ValueOrBuilder
public Value.CompilerFunction getCompilerFunction()
.sass.embedded_protocol.Value.CompilerFunction compiler_function = 8;
getCompilerFunction
in interface ValueOrBuilder
public Value.CompilerFunctionOrBuilder getCompilerFunctionOrBuilder()
.sass.embedded_protocol.Value.CompilerFunction compiler_function = 8;
getCompilerFunctionOrBuilder
in interface ValueOrBuilder
public boolean hasHostFunction()
.sass.embedded_protocol.Value.HostFunction host_function = 9;
hasHostFunction
in interface ValueOrBuilder
public Value.HostFunction getHostFunction()
.sass.embedded_protocol.Value.HostFunction host_function = 9;
getHostFunction
in interface ValueOrBuilder
public Value.HostFunctionOrBuilder getHostFunctionOrBuilder()
.sass.embedded_protocol.Value.HostFunction host_function = 9;
getHostFunctionOrBuilder
in interface ValueOrBuilder
public boolean hasArgumentList()
.sass.embedded_protocol.Value.ArgumentList argument_list = 10;
hasArgumentList
in interface ValueOrBuilder
public Value.ArgumentList getArgumentList()
.sass.embedded_protocol.Value.ArgumentList argument_list = 10;
getArgumentList
in interface ValueOrBuilder
public Value.ArgumentListOrBuilder getArgumentListOrBuilder()
.sass.embedded_protocol.Value.ArgumentList argument_list = 10;
getArgumentListOrBuilder
in interface ValueOrBuilder
public boolean hasHwbColor()
.sass.embedded_protocol.Value.HwbColor hwb_color = 11;
hasHwbColor
in interface ValueOrBuilder
public Value.HwbColor getHwbColor()
.sass.embedded_protocol.Value.HwbColor hwb_color = 11;
getHwbColor
in interface ValueOrBuilder
public Value.HwbColorOrBuilder getHwbColorOrBuilder()
.sass.embedded_protocol.Value.HwbColor hwb_color = 11;
getHwbColorOrBuilder
in interface ValueOrBuilder
public boolean hasCalculation()
.sass.embedded_protocol.Value.Calculation calculation = 12;
hasCalculation
in interface ValueOrBuilder
public Value.Calculation getCalculation()
.sass.embedded_protocol.Value.Calculation calculation = 12;
getCalculation
in interface ValueOrBuilder
public Value.CalculationOrBuilder getCalculationOrBuilder()
.sass.embedded_protocol.Value.Calculation calculation = 12;
getCalculationOrBuilder
in interface ValueOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Value parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Value parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Value parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Value parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Value parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Value parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Value parseFrom(InputStream input) throws IOException
IOException
public static Value parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Value parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Value parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Value parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Value parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Value.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Value.Builder newBuilder()
public static Value.Builder newBuilder(Value prototype)
public Value.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Value.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Value getDefaultInstance()
public static com.google.protobuf.Parser<Value> parser()
public com.google.protobuf.Parser<Value> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Value getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder