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

Builder for 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<*>!
Returns
Class<*>!

the proto message builder class for proto message type

getRemoteConstrTypes

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

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!>!
Returns
(Mutable)List<FieldDescriptor!>!

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

instanceType

val instanceType: Class<*>!
Returns
Class<*>!

the instance type

protoParser

val protoParser: Parser<*>!
Returns
Parser<*>!

the proto parser to parse the proto message type

protoType

val protoType: Class<*>!
Returns
Class<*>!

the proto message type

remoteType

val remoteType: Class<*>!
Returns
Class<*>!

the remote message type