public static enum EmbeddedSass.CalculationOperator extends Enum<EmbeddedSass.CalculationOperator> implements com.google.protobuf.ProtocolMessageEnum
An operator used in a calculation value's operation.Protobuf enum
sass.embedded_protocol.CalculationOperator
Enum Constant and Description |
---|
DIVIDE
The division operator.
|
MINUS
The subtraction operator.
|
PLUS
The addition operator.
|
TIMES
The multiplication operator.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
DIVIDE_VALUE
The division operator.
|
static int |
MINUS_VALUE
The subtraction operator.
|
static int |
PLUS_VALUE
The addition operator.
|
static int |
TIMES_VALUE
The multiplication operator.
|
Modifier and Type | Method and Description |
---|---|
static EmbeddedSass.CalculationOperator |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<EmbeddedSass.CalculationOperator> |
internalGetValueMap() |
static EmbeddedSass.CalculationOperator |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static EmbeddedSass.CalculationOperator |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static EmbeddedSass.CalculationOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmbeddedSass.CalculationOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmbeddedSass.CalculationOperator PLUS
The addition operator.
PLUS = 0;
public static final EmbeddedSass.CalculationOperator MINUS
The subtraction operator.
MINUS = 1;
public static final EmbeddedSass.CalculationOperator TIMES
The multiplication operator.
TIMES = 2;
public static final EmbeddedSass.CalculationOperator DIVIDE
The division operator.
DIVIDE = 3;
public static final EmbeddedSass.CalculationOperator UNRECOGNIZED
public static final int PLUS_VALUE
The addition operator.
PLUS = 0;
public static final int MINUS_VALUE
The subtraction operator.
MINUS = 1;
public static final int TIMES_VALUE
The multiplication operator.
TIMES = 2;
public static final int DIVIDE_VALUE
The division operator.
DIVIDE = 3;
public static EmbeddedSass.CalculationOperator[] values()
for (EmbeddedSass.CalculationOperator c : EmbeddedSass.CalculationOperator.values()) System.out.println(c);
public static EmbeddedSass.CalculationOperator valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static EmbeddedSass.CalculationOperator valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static EmbeddedSass.CalculationOperator forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<EmbeddedSass.CalculationOperator> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static EmbeddedSass.CalculationOperator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)