RemoteDescriptor

public final class RemoteDescriptor
extends Object

java.lang.Object
   ↳ android.support.test.espresso.remote.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 classes

class RemoteDescriptor.Builder

Builder for RemoteDescriptor  

Public methods

boolean equals(Object o)
List<FieldDescriptor> getInstanceFieldDescriptorList()
Class<?> getInstanceType()
String getInstanceTypeName()
Class<?> getProtoBuilderClass()
Parser<?> getProtoParser()
Class<?> getProtoType()
Class[]<?> getRemoteConstrTypes()
Class<?> getRemoteType()
int hashCode()

Inherited methods

From class java.lang.Object

Public methods

equals

boolean equals (Object o)

Parameters
o Object

Returns
boolean

getInstanceFieldDescriptorList

List<FieldDescriptor> getInstanceFieldDescriptorList ()

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

getInstanceType

Class<?> getInstanceType ()

Returns
Class<?> the instance type

getInstanceTypeName

String getInstanceTypeName ()

Returns
String the class name for instance type

getProtoBuilderClass

Class<?> getProtoBuilderClass ()

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

getProtoParser

Parser<?> getProtoParser ()

Returns
Parser<?> the proto parser to parse the proto message type

getProtoType

Class<?> getProtoType ()

Returns
Class<?> the proto message type

getRemoteConstrTypes

Class[]<?> getRemoteConstrTypes ()

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

getRemoteType

Class<?> getRemoteType ()

Returns
Class<?> the remote message type

hashCode

int hashCode ()

Returns
int