public static enum ProtoFile.Syntax extends Enum<ProtoFile.Syntax>
| Modifier and Type | Method and Description |
|---|---|
static ProtoFile.Syntax |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtoFile.Syntax[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtoFile.Syntax PROTO_2
public static final ProtoFile.Syntax PROTO_3
public static ProtoFile.Syntax[] values()
for (ProtoFile.Syntax c : ProtoFile.Syntax.values()) System.out.println(c);
public static ProtoFile.Syntax valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2015 Square, Inc.. All Rights Reserved.