Package io.shiftleft.proto.cpg
Enum Cpg.PropertyValue.ValueCase
- java.lang.Object
-
- java.lang.Enum<Cpg.PropertyValue.ValueCase>
-
- io.shiftleft.proto.cpg.Cpg.PropertyValue.ValueCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,java.io.Serializable
,java.lang.Comparable<Cpg.PropertyValue.ValueCase>
- Enclosing class:
- Cpg.PropertyValue
public static enum Cpg.PropertyValue.ValueCase extends java.lang.Enum<Cpg.PropertyValue.ValueCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOL_LIST
BOOL_VALUE
CONTAINED_REFS
DOUBLE_LIST
DOUBLE_VALUE
FLOAT_LIST
FLOAT_VALUE
INT_LIST
INT_VALUE
LONG_LIST
LONG_VALUE
STRING_LIST
STRING_VALUE
VALUE_NOT_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Cpg.PropertyValue.ValueCase
forNumber(int value)
int
getNumber()
static Cpg.PropertyValue.ValueCase
valueOf(int value)
Deprecated.static Cpg.PropertyValue.ValueCase
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Cpg.PropertyValue.ValueCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING_VALUE
public static final Cpg.PropertyValue.ValueCase STRING_VALUE
-
BOOL_VALUE
public static final Cpg.PropertyValue.ValueCase BOOL_VALUE
-
INT_VALUE
public static final Cpg.PropertyValue.ValueCase INT_VALUE
-
LONG_VALUE
public static final Cpg.PropertyValue.ValueCase LONG_VALUE
-
FLOAT_VALUE
public static final Cpg.PropertyValue.ValueCase FLOAT_VALUE
-
DOUBLE_VALUE
public static final Cpg.PropertyValue.ValueCase DOUBLE_VALUE
-
STRING_LIST
public static final Cpg.PropertyValue.ValueCase STRING_LIST
-
BOOL_LIST
public static final Cpg.PropertyValue.ValueCase BOOL_LIST
-
INT_LIST
public static final Cpg.PropertyValue.ValueCase INT_LIST
-
LONG_LIST
public static final Cpg.PropertyValue.ValueCase LONG_LIST
-
FLOAT_LIST
public static final Cpg.PropertyValue.ValueCase FLOAT_LIST
-
DOUBLE_LIST
public static final Cpg.PropertyValue.ValueCase DOUBLE_LIST
-
CONTAINED_REFS
public static final Cpg.PropertyValue.ValueCase CONTAINED_REFS
-
VALUE_NOT_SET
public static final Cpg.PropertyValue.ValueCase VALUE_NOT_SET
-
-
Method Detail
-
values
public static Cpg.PropertyValue.ValueCase[] 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 (Cpg.PropertyValue.ValueCase c : Cpg.PropertyValue.ValueCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Cpg.PropertyValue.ValueCase 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 Cpg.PropertyValue.ValueCase 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 Cpg.PropertyValue.ValueCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-