{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
class RemoteDescriptor
Descriptor object containing all the required information to serialize and deserialize a type to and from a proto. Needs to be registered with an RemoteDescriptorRegistry.
Nested types |
|
|---|---|
RemoteDescriptor.Builder |
Builder for |
Public constructors |
|
|---|---|
Public functions |
|
|---|---|
Boolean |
|
(Mutable)List<FieldDescriptor!>! |
|
Class<Any!>! |
|
String! |
|
Class<Any!>! |
|
Parser<?>! |
|
Class<Any!>! |
|
Array<Class<Any!>!>! |
|
Class<Any!>! |
|
Int |
hashCode() |
fun getInstanceFieldDescriptorList(): (Mutable)List<FieldDescriptor!>!
| Returns | |
|---|---|
(Mutable)List<FieldDescriptor!>! |
list of field properties which identify target field, in declared order. |
fun getInstanceTypeName(): String!
| Returns | |
|---|---|
String! |
the class name for instance type |
fun getProtoParser(): Parser<?>!
| Returns | |
|---|---|
Parser<?>! |
the proto parser to parse the proto message type |