{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
public final 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 fields |
|
|---|---|
final List<FieldDescriptor> |
|
final Class<Object> |
|
final Parser<?> |
|
final Class<Object> |
|
final Class<Object> |
|
Public constructors |
|
|---|---|
Public methods |
|
|---|---|
boolean |
|
List<FieldDescriptor> |
|
Class<Object> |
|
String |
|
Class<Object> |
|
Parser<?> |
|
Class<Object> |
|
Class[] |
|
Class<Object> |
|
int |
hashCode() |
public List<FieldDescriptor> getInstanceFieldDescriptorList()
| Returns | |
|---|---|
List<FieldDescriptor> |
list of field properties which identify target field, in declared order. |
public String getInstanceTypeName()
| Returns | |
|---|---|
String |
the class name for instance type |
public Parser<?> getProtoParser()
| Returns | |
|---|---|
Parser<?> |
the proto parser to parse the proto message type |
public Class[] getRemoteConstrTypes()
| Returns | |
|---|---|
Class[] |
list of types which identify the constructor's formal parameter types, in declared order. |