public interface PMessage<T extends PMessage<T>> extends PValue<T>
| Modifier and Type | Method and Description |
|---|---|
String |
asString()
Pure string representation of content.
|
PStructDescriptor<T,?> |
descriptor() |
Object |
get(int key) |
boolean |
has(int key) |
boolean |
isCompact() |
boolean |
isSimple() |
PMessageBuilder<T> |
mutate()
Get a builder that extends the current object.
|
int |
num(int key) |
compareToboolean has(int key)
key - The key of the field.int num(int key)
key - The key of the field.Object get(int key)
key - The key of the field.PMessageBuilder<T> mutate()
boolean isCompact()
boolean isSimple()
String asString()
PStructDescriptor<T,?> descriptor()
descriptor in interface PValue<T extends PMessage<T>>Copyright © 2016. All rights reserved.