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.

Summary

Nested types

public final class RemoteDescriptor.Builder

Builder for RemoteDescriptor

Public fields

instanceFieldDescriptorList

public final List<FieldDescriptorinstanceFieldDescriptorList

instanceType

public final Class<ObjectinstanceType

protoParser

public final Parser<ObjectprotoParser

protoType

public final Class<ObjectprotoType

remoteType

public final Class<ObjectremoteType

Public methods

equals

public boolean equals(Object o)

getInstanceFieldDescriptorList

public List<FieldDescriptorgetInstanceFieldDescriptorList()
Returns
List<FieldDescriptor>

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

getInstanceType

public Class<ObjectgetInstanceType()
Returns
Class<Object>

the instance type

getInstanceTypeName

public String getInstanceTypeName()
Returns
String

the class name for instance type

getProtoBuilderClass

public Class<ObjectgetProtoBuilderClass()
Returns
Class<Object>

the proto message builder class for proto message type

getProtoParser

public Parser<ObjectgetProtoParser()
Returns
Parser<Object>

the proto parser to parse the proto message type

getProtoType

public Class<ObjectgetProtoType()
Returns
Class<Object>

the proto message type

getRemoteConstrTypes

public Class[] getRemoteConstrTypes()
Returns
Class[]

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

getRemoteType

public Class<ObjectgetRemoteType()
Returns
Class<Object>

the remote message type

hashCode

public int hashCode()