public static enum PBEncoder.Encoding extends Enum<PBEncoder.Encoding>
Enum Constant and Description |
---|
COMPACT_ORDER_ENCODING |
DIRECT_ENCODING |
ORDER_ENCODING |
Modifier and Type | Method and Description |
---|---|
static PBEncoder.Encoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PBEncoder.Encoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PBEncoder.Encoding DIRECT_ENCODING
public static final PBEncoder.Encoding ORDER_ENCODING
public static final PBEncoder.Encoding COMPACT_ORDER_ENCODING
public static PBEncoder.Encoding[] values()
for (PBEncoder.Encoding c : PBEncoder.Encoding.values()) System.out.println(c);
public static PBEncoder.Encoding 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 null