public static enum Cpg.DiffGraph.Entry.ValueCase extends java.lang.Enum<Cpg.DiffGraph.Entry.ValueCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
EDGE |
EDGE_PROPERTY |
NODE |
NODE_PROPERTY |
REMOVE_EDGE |
REMOVE_EDGE_PROPERTY |
REMOVE_NODE |
REMOVE_NODE_PROPERTY |
VALUE_NOT_SET |
Modifier and Type | Method and Description |
---|---|
static Cpg.DiffGraph.Entry.ValueCase |
forNumber(int value) |
int |
getNumber() |
static Cpg.DiffGraph.Entry.ValueCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Cpg.DiffGraph.Entry.ValueCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Cpg.DiffGraph.Entry.ValueCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cpg.DiffGraph.Entry.ValueCase NODE
public static final Cpg.DiffGraph.Entry.ValueCase EDGE
public static final Cpg.DiffGraph.Entry.ValueCase NODE_PROPERTY
public static final Cpg.DiffGraph.Entry.ValueCase EDGE_PROPERTY
public static final Cpg.DiffGraph.Entry.ValueCase REMOVE_NODE
public static final Cpg.DiffGraph.Entry.ValueCase REMOVE_NODE_PROPERTY
public static final Cpg.DiffGraph.Entry.ValueCase REMOVE_EDGE
public static final Cpg.DiffGraph.Entry.ValueCase REMOVE_EDGE_PROPERTY
public static final Cpg.DiffGraph.Entry.ValueCase VALUE_NOT_SET
public static Cpg.DiffGraph.Entry.ValueCase[] values()
for (Cpg.DiffGraph.Entry.ValueCase c : Cpg.DiffGraph.Entry.ValueCase.values()) System.out.println(c);
public static Cpg.DiffGraph.Entry.ValueCase valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static Cpg.DiffGraph.Entry.ValueCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static Cpg.DiffGraph.Entry.ValueCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite