Package sass.embedded_protocol
Class EmbeddedSass.Value
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
sass.embedded_protocol.EmbeddedSass.Value
- All Implemented Interfaces:
Message
,MessageLite
,MessageLiteOrBuilder
,MessageOrBuilder
,Serializable
,EmbeddedSass.ValueOrBuilder
- Enclosing class:
- EmbeddedSass
public static final class EmbeddedSass.Value
extends GeneratedMessageV3
implements EmbeddedSass.ValueOrBuilder
A SassScript value, passed to and returned by functions.Protobuf type
sass.embedded_protocol.Value
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A SassScript argument list value.static interface
static final class
A SassScript value, passed to and returned by functions.static final class
A SassScript calculation value.static interface
static final class
A first-class function defined in the compiler.static interface
static final class
An anonymous custom function defined in the host.static interface
static final class
A SassScript color value, represented as hue, saturation, and lightness channels.static interface
static final class
A SassScript color value, represented as hue, whiteness, and blackness channels.static interface
static final class
A SassScript list value.static interface
static final class
A SassScript map value.static interface
static final class
A SassScript number value.static interface
static final class
A SassScript color value, represented as red, green, and blue channels.static interface
static final class
A SassScript string value.static interface
static enum
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>,
BuilderT extends GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, GeneratedMessageV3.ExtendableMessage<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
.sass.embedded_protocol.Value.ArgumentList argument_list = 10;
.sass.embedded_protocol.Value.ArgumentList argument_list = 10;
.sass.embedded_protocol.Value.Calculation calculation = 12;
.sass.embedded_protocol.Value.Calculation calculation = 12;
.sass.embedded_protocol.Value.CompilerFunction compiler_function = 8;
.sass.embedded_protocol.Value.CompilerFunction compiler_function = 8;
static EmbeddedSass.Value
static final Descriptors.Descriptor
.sass.embedded_protocol.Value.HostFunction host_function = 9;
.sass.embedded_protocol.Value.HostFunction host_function = 9;
.sass.embedded_protocol.Value.HslColor hsl_color = 4;
.sass.embedded_protocol.Value.HslColor hsl_color = 4;
.sass.embedded_protocol.Value.HwbColor hwb_color = 11;
.sass.embedded_protocol.Value.HwbColor hwb_color = 11;
getList()
.sass.embedded_protocol.Value.List list = 5;
.sass.embedded_protocol.Value.List list = 5;
getMap()
.sass.embedded_protocol.Value.Map map = 6;
.sass.embedded_protocol.Value.Map map = 6;
.sass.embedded_protocol.Value.Number number = 2;
.sass.embedded_protocol.Value.Number number = 2;
.sass.embedded_protocol.Value.RgbColor rgb_color = 3;
.sass.embedded_protocol.Value.RgbColor rgb_color = 3;
int
.sass.embedded_protocol.SingletonValue singleton = 7;
int
.sass.embedded_protocol.SingletonValue singleton = 7;
.sass.embedded_protocol.Value.String string = 1;
.sass.embedded_protocol.Value.String string = 1;
boolean
.sass.embedded_protocol.Value.ArgumentList argument_list = 10;
boolean
.sass.embedded_protocol.Value.Calculation calculation = 12;
boolean
.sass.embedded_protocol.Value.CompilerFunction compiler_function = 8;
int
hashCode()
boolean
.sass.embedded_protocol.Value.HostFunction host_function = 9;
boolean
.sass.embedded_protocol.Value.HslColor hsl_color = 4;
boolean
.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
.sass.embedded_protocol.Value.Number number = 2;
boolean
.sass.embedded_protocol.Value.RgbColor rgb_color = 3;
boolean
.sass.embedded_protocol.SingletonValue singleton = 7;
boolean
.sass.embedded_protocol.Value.String string = 1;
protected GeneratedMessageV3.FieldAccessorTable
final boolean
static EmbeddedSass.Value.Builder
static EmbeddedSass.Value.Builder
newBuilder
(EmbeddedSass.Value prototype) protected EmbeddedSass.Value.Builder
protected Object
static EmbeddedSass.Value
parseDelimitedFrom
(InputStream input) static EmbeddedSass.Value
parseDelimitedFrom
(InputStream input, ExtensionRegistryLite extensionRegistry) static EmbeddedSass.Value
parseFrom
(byte[] data) static EmbeddedSass.Value
parseFrom
(byte[] data, ExtensionRegistryLite extensionRegistry) static EmbeddedSass.Value
parseFrom
(ByteString data) static EmbeddedSass.Value
parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static EmbeddedSass.Value
parseFrom
(CodedInputStream input) static EmbeddedSass.Value
parseFrom
(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static EmbeddedSass.Value
parseFrom
(InputStream input) static EmbeddedSass.Value
parseFrom
(InputStream input, ExtensionRegistryLite extensionRegistry) static EmbeddedSass.Value
parseFrom
(ByteBuffer data) static EmbeddedSass.Value
parseFrom
(ByteBuffer data, ExtensionRegistryLite extensionRegistry) static Parser<EmbeddedSass.Value>
parser()
void
writeTo
(CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
STRING_FIELD_NUMBER
public static final int STRING_FIELD_NUMBER- See Also:
-
NUMBER_FIELD_NUMBER
public static final int NUMBER_FIELD_NUMBER- See Also:
-
RGB_COLOR_FIELD_NUMBER
public static final int RGB_COLOR_FIELD_NUMBER- See Also:
-
HSL_COLOR_FIELD_NUMBER
public static final int HSL_COLOR_FIELD_NUMBER- See Also:
-
LIST_FIELD_NUMBER
public static final int LIST_FIELD_NUMBER- See Also:
-
MAP_FIELD_NUMBER
public static final int MAP_FIELD_NUMBER- See Also:
-
SINGLETON_FIELD_NUMBER
public static final int SINGLETON_FIELD_NUMBER- See Also:
-
COMPILER_FUNCTION_FIELD_NUMBER
public static final int COMPILER_FUNCTION_FIELD_NUMBER- See Also:
-
HOST_FUNCTION_FIELD_NUMBER
public static final int HOST_FUNCTION_FIELD_NUMBER- See Also:
-
ARGUMENT_LIST_FIELD_NUMBER
public static final int ARGUMENT_LIST_FIELD_NUMBER- See Also:
-
HWB_COLOR_FIELD_NUMBER
public static final int HWB_COLOR_FIELD_NUMBER- See Also:
-
CALCULATION_FIELD_NUMBER
public static final int CALCULATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classGeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3
-
getValueCase
- Specified by:
getValueCase
in interfaceEmbeddedSass.ValueOrBuilder
-
hasString
public boolean hasString().sass.embedded_protocol.Value.String string = 1;
- Specified by:
hasString
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- Whether the string field is set.
-
getString
.sass.embedded_protocol.Value.String string = 1;
- Specified by:
getString
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- The string.
-
getStringOrBuilder
.sass.embedded_protocol.Value.String string = 1;
- Specified by:
getStringOrBuilder
in interfaceEmbeddedSass.ValueOrBuilder
-
hasNumber
public boolean hasNumber().sass.embedded_protocol.Value.Number number = 2;
- Specified by:
hasNumber
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- Whether the number field is set.
-
getNumber
.sass.embedded_protocol.Value.Number number = 2;
- Specified by:
getNumber
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- The number.
-
getNumberOrBuilder
.sass.embedded_protocol.Value.Number number = 2;
- Specified by:
getNumberOrBuilder
in interfaceEmbeddedSass.ValueOrBuilder
-
hasRgbColor
public boolean hasRgbColor().sass.embedded_protocol.Value.RgbColor rgb_color = 3;
- Specified by:
hasRgbColor
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- Whether the rgbColor field is set.
-
getRgbColor
.sass.embedded_protocol.Value.RgbColor rgb_color = 3;
- Specified by:
getRgbColor
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- The rgbColor.
-
getRgbColorOrBuilder
.sass.embedded_protocol.Value.RgbColor rgb_color = 3;
- Specified by:
getRgbColorOrBuilder
in interfaceEmbeddedSass.ValueOrBuilder
-
hasHslColor
public boolean hasHslColor().sass.embedded_protocol.Value.HslColor hsl_color = 4;
- Specified by:
hasHslColor
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- Whether the hslColor field is set.
-
getHslColor
.sass.embedded_protocol.Value.HslColor hsl_color = 4;
- Specified by:
getHslColor
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- The hslColor.
-
getHslColorOrBuilder
.sass.embedded_protocol.Value.HslColor hsl_color = 4;
- Specified by:
getHslColorOrBuilder
in interfaceEmbeddedSass.ValueOrBuilder
-
hasList
public boolean hasList().sass.embedded_protocol.Value.List list = 5;
- Specified by:
hasList
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- Whether the list field is set.
-
getList
.sass.embedded_protocol.Value.List list = 5;
- Specified by:
getList
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- The list.
-
getListOrBuilder
.sass.embedded_protocol.Value.List list = 5;
- Specified by:
getListOrBuilder
in interfaceEmbeddedSass.ValueOrBuilder
-
hasMap
public boolean hasMap().sass.embedded_protocol.Value.Map map = 6;
- Specified by:
hasMap
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- Whether the map field is set.
-
getMap
.sass.embedded_protocol.Value.Map map = 6;
- Specified by:
getMap
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- The map.
-
getMapOrBuilder
.sass.embedded_protocol.Value.Map map = 6;
- Specified by:
getMapOrBuilder
in interfaceEmbeddedSass.ValueOrBuilder
-
hasSingleton
public boolean hasSingleton().sass.embedded_protocol.SingletonValue singleton = 7;
- Specified by:
hasSingleton
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- Whether the singleton field is set.
-
getSingletonValue
public int getSingletonValue().sass.embedded_protocol.SingletonValue singleton = 7;
- Specified by:
getSingletonValue
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- The enum numeric value on the wire for singleton.
-
getSingleton
.sass.embedded_protocol.SingletonValue singleton = 7;
- Specified by:
getSingleton
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- The singleton.
-
hasCompilerFunction
public boolean hasCompilerFunction().sass.embedded_protocol.Value.CompilerFunction compiler_function = 8;
- Specified by:
hasCompilerFunction
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- Whether the compilerFunction field is set.
-
getCompilerFunction
.sass.embedded_protocol.Value.CompilerFunction compiler_function = 8;
- Specified by:
getCompilerFunction
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- The compilerFunction.
-
getCompilerFunctionOrBuilder
.sass.embedded_protocol.Value.CompilerFunction compiler_function = 8;
- Specified by:
getCompilerFunctionOrBuilder
in interfaceEmbeddedSass.ValueOrBuilder
-
hasHostFunction
public boolean hasHostFunction().sass.embedded_protocol.Value.HostFunction host_function = 9;
- Specified by:
hasHostFunction
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- Whether the hostFunction field is set.
-
getHostFunction
.sass.embedded_protocol.Value.HostFunction host_function = 9;
- Specified by:
getHostFunction
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- The hostFunction.
-
getHostFunctionOrBuilder
.sass.embedded_protocol.Value.HostFunction host_function = 9;
- Specified by:
getHostFunctionOrBuilder
in interfaceEmbeddedSass.ValueOrBuilder
-
hasArgumentList
public boolean hasArgumentList().sass.embedded_protocol.Value.ArgumentList argument_list = 10;
- Specified by:
hasArgumentList
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- Whether the argumentList field is set.
-
getArgumentList
.sass.embedded_protocol.Value.ArgumentList argument_list = 10;
- Specified by:
getArgumentList
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- The argumentList.
-
getArgumentListOrBuilder
.sass.embedded_protocol.Value.ArgumentList argument_list = 10;
- Specified by:
getArgumentListOrBuilder
in interfaceEmbeddedSass.ValueOrBuilder
-
hasHwbColor
public boolean hasHwbColor().sass.embedded_protocol.Value.HwbColor hwb_color = 11;
- Specified by:
hasHwbColor
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- Whether the hwbColor field is set.
-
getHwbColor
.sass.embedded_protocol.Value.HwbColor hwb_color = 11;
- Specified by:
getHwbColor
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- The hwbColor.
-
getHwbColorOrBuilder
.sass.embedded_protocol.Value.HwbColor hwb_color = 11;
- Specified by:
getHwbColorOrBuilder
in interfaceEmbeddedSass.ValueOrBuilder
-
hasCalculation
public boolean hasCalculation().sass.embedded_protocol.Value.Calculation calculation = 12;
- Specified by:
hasCalculation
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- Whether the calculation field is set.
-
getCalculation
.sass.embedded_protocol.Value.Calculation calculation = 12;
- Specified by:
getCalculation
in interfaceEmbeddedSass.ValueOrBuilder
- Returns:
- The calculation.
-
getCalculationOrBuilder
.sass.embedded_protocol.Value.Calculation calculation = 12;
- Specified by:
getCalculationOrBuilder
in interfaceEmbeddedSass.ValueOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfaceMessageLite
- Overrides:
writeTo
in classGeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfaceMessageLite
- Overrides:
getSerializedSize
in classGeneratedMessageV3
-
equals
- Specified by:
equals
in interfaceMessage
- Overrides:
equals
in classAbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceMessage
- Overrides:
hashCode
in classAbstractMessage
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static EmbeddedSass.Value parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static EmbeddedSass.Value parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static EmbeddedSass.Value parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EmbeddedSass.Value parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static EmbeddedSass.Value parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EmbeddedSass.Value parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfaceMessage
- Specified by:
newBuilderForType
in interfaceMessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfaceMessage
- Specified by:
toBuilder
in interfaceMessageLite
-
newBuilderForType
- Specified by:
newBuilderForType
in classGeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfaceMessage
- Specified by:
getParserForType
in interfaceMessageLite
- Overrides:
getParserForType
in classGeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-