Stay organized with collections Save and categorize content based on your preferences.

RemoteDescriptor

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 constructors

Public constructors

RemoteDescriptor

public RemoteDescriptor()

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<?> getProtoParser()
Returns
Parser<?>

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()