Package com.sourcegraph.semanticdb_javac
Enum Semanticdb.Type.SealedValueCase
- java.lang.Object
-
- java.lang.Enum<Semanticdb.Type.SealedValueCase>
-
- com.sourcegraph.semanticdb_javac.Semanticdb.Type.SealedValueCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<Semanticdb.Type.SealedValueCase>
- Enclosing class:
- Semanticdb.Type
public static enum Semanticdb.Type.SealedValueCase extends java.lang.Enum<Semanticdb.Type.SealedValueCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXISTENTIAL_TYPEINTERSECTION_TYPESEALEDVALUE_NOT_SETTYPE_REF
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Semanticdb.Type.SealedValueCaseforNumber(int value)intgetNumber()static Semanticdb.Type.SealedValueCasevalueOf(int value)Deprecated.static Semanticdb.Type.SealedValueCasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Semanticdb.Type.SealedValueCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TYPE_REF
public static final Semanticdb.Type.SealedValueCase TYPE_REF
-
EXISTENTIAL_TYPE
public static final Semanticdb.Type.SealedValueCase EXISTENTIAL_TYPE
-
INTERSECTION_TYPE
public static final Semanticdb.Type.SealedValueCase INTERSECTION_TYPE
-
SEALEDVALUE_NOT_SET
public static final Semanticdb.Type.SealedValueCase SEALEDVALUE_NOT_SET
-
-
Method Detail
-
values
public static Semanticdb.Type.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.Type.SealedValueCase c : Semanticdb.Type.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.Type.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.Type.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.Type.SealedValueCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-