public final class

RemoteDescriptor

extends Object
java.lang.Object
   ↳ androidx.test.espresso.remote.RemoteDescriptor

Class Overview

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 Classes
class RemoteDescriptor.Builder Builder for RemoteDescriptor  
Public Methods
boolean equals(Object o)
List<FieldDescriptor> getInstanceFieldDescriptorList()
Class<?> getInstanceType()
String getInstanceTypeName()
Class<?> getProtoBuilderClass()
getProtoParser()
Class<?> getProtoType()
Class[]<?> getRemoteConstrTypes()
Class<?> getRemoteType()
int hashCode()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public boolean equals (Object o)

Parameters
o Object
Returns
boolean

public List<FieldDescriptor> getInstanceFieldDescriptorList ()

Returns
List<FieldDescriptor> list of field properties which identify target field, in declared order.

public Class<?> getInstanceType ()

Returns
Class<?> the instance type

public String getInstanceTypeName ()

Returns
String the class name for instance type

public Class<?> getProtoBuilderClass ()

Returns
Class<?> the proto message builder class for proto message type

public getProtoParser ()

Returns
the proto parser to parse the proto message type

public Class<?> getProtoType ()

Returns
Class<?> the proto message type

public Class[]<?> getRemoteConstrTypes ()

Returns
Class[]<?> list of types which identify the constructor's formal parameter types, in declared order.

public Class<?> getRemoteType ()

Returns
Class<?> the remote message type

public int hashCode ()

Returns
int