{% 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!)
String!
Class<Any!>!
Array<Class<Any!>!>!
Int

Public properties

(Mutable)List<FieldDescriptor!>!
Class<Any!>!
Parser<?>!
Class<Any!>!
Class<Any!>!

Public constructors

RemoteDescriptor

RemoteDescriptor()

Public functions

equals

fun equals(o: Any!): Boolean

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

getRemoteConstrTypes

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

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

hashCode

fun hashCode(): Int

Public properties

instanceFieldDescriptorList

val instanceFieldDescriptorList: (Mutable)List<FieldDescriptor!>!

instanceType

val instanceTypeClass<Any!>!

protoParser

val protoParser: Parser<?>!

protoType

val protoTypeClass<Any!>!

remoteType

val remoteTypeClass<Any!>!