public class EnumValue extends Object implements PMessage<EnumValue>, Serializable, Comparable<EnumValue>
| Modifier and Type | Class and Description |
|---|---|
static class |
EnumValue._Builder |
static class |
EnumValue._Field |
| Modifier and Type | Field and Description |
|---|---|
static PStructDescriptor<EnumValue,EnumValue._Field> |
kDescriptor |
| Constructor and Description |
|---|
EnumValue(String pComment,
String pName,
int pValue,
Map<String,String> pAnnotations) |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
static EnumValue._Builder |
builder()
Make a model.EnumValue builder.
|
boolean |
compact() |
int |
compareTo(EnumValue other) |
PStructDescriptor<EnumValue,EnumValue._Field> |
descriptor() |
boolean |
equals(Object o) |
Object |
get(int key) |
Map<String,String> |
getAnnotations() |
String |
getComment() |
String |
getName() |
int |
getValue() |
boolean |
has(int key) |
boolean |
hasAnnotations() |
boolean |
hasComment() |
int |
hashCode() |
boolean |
hasName() |
boolean |
hasValue() |
EnumValue._Builder |
mutate() |
int |
num(int key) |
int |
numAnnotations() |
static PStructDescriptorProvider<EnumValue,EnumValue._Field> |
provider() |
String |
toString() |
public static final PStructDescriptor<EnumValue,EnumValue._Field> kDescriptor
public boolean hasComment()
public String getComment()
public boolean hasName()
public String getName()
public boolean hasValue()
public int getValue()
public int numAnnotations()
public boolean hasAnnotations()
public String asString()
public int compareTo(EnumValue other)
compareTo in interface Comparable<EnumValue>public static PStructDescriptorProvider<EnumValue,EnumValue._Field> provider()
public PStructDescriptor<EnumValue,EnumValue._Field> descriptor()
descriptor in interface PMessage<EnumValue>descriptor in interface PValue<EnumValue>public EnumValue._Builder mutate()
public static EnumValue._Builder builder()
Copyright © 2016. All rights reserved.