public static enum PBEncoder.Encoding extends java.lang.Enum<PBEncoder.Encoding>
Enum Constant and Description |
---|
COMPACT_ORDER_ENCODING |
DIRECT_ENCODING |
MIXED_ENCODING |
ORDER_ENCODING |
Modifier and Type | Method and Description |
---|---|
static PBEncoder.Encoding |
valueOf(java.lang.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 final PBEncoder.Encoding MIXED_ENCODING
public static PBEncoder.Encoding[] values()
for (PBEncoder.Encoding c : PBEncoder.Encoding.values()) System.out.println(c);
public static PBEncoder.Encoding 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