Package com.sourcegraph.semanticdb_javac
Enum Semanticdb.Constant.SealedValueCase
- java.lang.Object
-
- java.lang.Enum<Semanticdb.Constant.SealedValueCase>
-
- com.sourcegraph.semanticdb_javac.Semanticdb.Constant.SealedValueCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<Semanticdb.Constant.SealedValueCase>
- Enclosing class:
- Semanticdb.Constant
public static enum Semanticdb.Constant.SealedValueCase extends java.lang.Enum<Semanticdb.Constant.SealedValueCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEAN_CONSTANTBYTE_CONSTANTCHAR_CONSTANTDOUBLE_CONSTANTFLOAT_CONSTANTINT_CONSTANTLONG_CONSTANTNULL_CONSTANTSEALEDVALUE_NOT_SETSHORT_CONSTANTSTRING_CONSTANTUNIT_CONSTANT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Semanticdb.Constant.SealedValueCaseforNumber(int value)intgetNumber()static Semanticdb.Constant.SealedValueCasevalueOf(int value)Deprecated.static Semanticdb.Constant.SealedValueCasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Semanticdb.Constant.SealedValueCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNIT_CONSTANT
public static final Semanticdb.Constant.SealedValueCase UNIT_CONSTANT
-
BOOLEAN_CONSTANT
public static final Semanticdb.Constant.SealedValueCase BOOLEAN_CONSTANT
-
BYTE_CONSTANT
public static final Semanticdb.Constant.SealedValueCase BYTE_CONSTANT
-
SHORT_CONSTANT
public static final Semanticdb.Constant.SealedValueCase SHORT_CONSTANT
-
CHAR_CONSTANT
public static final Semanticdb.Constant.SealedValueCase CHAR_CONSTANT
-
INT_CONSTANT
public static final Semanticdb.Constant.SealedValueCase INT_CONSTANT
-
LONG_CONSTANT
public static final Semanticdb.Constant.SealedValueCase LONG_CONSTANT
-
FLOAT_CONSTANT
public static final Semanticdb.Constant.SealedValueCase FLOAT_CONSTANT
-
DOUBLE_CONSTANT
public static final Semanticdb.Constant.SealedValueCase DOUBLE_CONSTANT
-
STRING_CONSTANT
public static final Semanticdb.Constant.SealedValueCase STRING_CONSTANT
-
NULL_CONSTANT
public static final Semanticdb.Constant.SealedValueCase NULL_CONSTANT
-
SEALEDVALUE_NOT_SET
public static final Semanticdb.Constant.SealedValueCase SEALEDVALUE_NOT_SET
-
-
Method Detail
-
values
public static Semanticdb.Constant.SealedValueCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Semanticdb.Constant.SealedValueCase c : Semanticdb.Constant.SealedValueCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Semanticdb.Constant.SealedValueCase valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
valueOf
@Deprecated public static Semanticdb.Constant.SealedValueCase valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static Semanticdb.Constant.SealedValueCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-