public static enum CoreNLPProtos.FlattenedParseTree.Node.ContentsCase extends java.lang.Enum<CoreNLPProtos.FlattenedParseTree.Node.ContentsCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
CLOSENODE |
CONTENTS_NOT_SET |
OPENNODE |
VALUE |
Modifier and Type | Method and Description |
---|---|
static CoreNLPProtos.FlattenedParseTree.Node.ContentsCase |
forNumber(int value) |
int |
getNumber() |
static CoreNLPProtos.FlattenedParseTree.Node.ContentsCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CoreNLPProtos.FlattenedParseTree.Node.ContentsCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CoreNLPProtos.FlattenedParseTree.Node.ContentsCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoreNLPProtos.FlattenedParseTree.Node.ContentsCase OPENNODE
public static final CoreNLPProtos.FlattenedParseTree.Node.ContentsCase CLOSENODE
public static final CoreNLPProtos.FlattenedParseTree.Node.ContentsCase VALUE
public static final CoreNLPProtos.FlattenedParseTree.Node.ContentsCase CONTENTS_NOT_SET
public static CoreNLPProtos.FlattenedParseTree.Node.ContentsCase[] values()
for (CoreNLPProtos.FlattenedParseTree.Node.ContentsCase c : CoreNLPProtos.FlattenedParseTree.Node.ContentsCase.values()) System.out.println(c);
public static CoreNLPProtos.FlattenedParseTree.Node.ContentsCase 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 CoreNLPProtos.FlattenedParseTree.Node.ContentsCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static CoreNLPProtos.FlattenedParseTree.Node.ContentsCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite