public enum DescriptorType extends Enum<DescriptorType>
| Enum Constant and Description |
|---|
ENUM |
ENUM_CONSTANT |
GROUP |
MAP |
MESSAGE |
MESSAGE_FIELD |
PROTO |
SERVICE |
SERVICE_METHOD |
| Modifier and Type | Method and Description |
|---|---|
static DescriptorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DescriptorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DescriptorType PROTO
public static final DescriptorType ENUM
public static final DescriptorType ENUM_CONSTANT
public static final DescriptorType MESSAGE
public static final DescriptorType MESSAGE_FIELD
public static final DescriptorType MAP
public static final DescriptorType GROUP
public static final DescriptorType SERVICE
public static final DescriptorType SERVICE_METHOD
public static DescriptorType[] values()
for (DescriptorType c : DescriptorType.values()) System.out.println(c);
public static DescriptorType 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–2016. All rights reserved.