{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

RemoteDescriptor

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.

Summary

Nested types

RemoteDescriptor.Builder

Builder for RemoteDescriptor

Public constructors

Public functions

Boolean
equals(o: Any!)
(Mutable)List<FieldDescriptor!>!
Class<Any!>!
String!
Class<Any!>!
Parser<?>!
Class<Any!>!
Array<Class<Any!>!>!
Class<Any!>!
Int

Public constructors

RemoteDescriptor

RemoteDescriptor()

Public functions

equals

fun equals(o: Any!): Boolean

getInstanceFieldDescriptorList

fun getInstanceFieldDescriptorList(): (Mutable)List<FieldDescriptor!>!
Returns
(Mutable)List<FieldDescriptor!>!

list of field properties which identify target field, in declared order.

getInstanceType

fun getInstanceType(): Class<Any!>!
Returns
Class<Any!>!

the instance type

getInstanceTypeName

fun getInstanceTypeName(): String!
Returns
String!

the class name for instance type

getProtoBuilderClass

fun getProtoBuilderClass(): Class<Any!>!
Returns
Class<Any!>!

the proto message builder class for proto message type

getProtoParser

fun getProtoParser(): Parser<?>!
Returns
Parser<?>!

the proto parser to parse the proto message type

getProtoType

fun getProtoType(): Class<Any!>!
Returns
Class<Any!>!

the proto message type

getRemoteConstrTypes

fun getRemoteConstrTypes(): Array<Class<Any!>!>!
Returns
Array<Class<Any!>!>!

list of types which identify the constructor's formal parameter types, in declared order.

getRemoteType

fun getRemoteType(): Class<Any!>!
Returns
Class<Any!>!

the remote message type

hashCode

fun hashCode(): Int