RemoteDescriptor
Kotlin
|Java
public
final
class
RemoteDescriptor
extends Object
java.lang.Object | |
↳ | androidx.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 |
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 | |
---|---|
![]()
java.lang.Object
|
Public methods
getInstanceFieldDescriptorList
List<FieldDescriptor> getInstanceFieldDescriptorList ()
Returns | |
---|---|
List<FieldDescriptor> |
list of field properties which identify target field, in declared order. |
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 |
getRemoteConstrTypes
Class[]<?> getRemoteConstrTypes ()
Returns | |
---|---|
Class[]<?> |
list of types which identify the constructor's formal parameter types, in declared order. |
hashCode
int hashCode ()
Returns | |
---|---|
int |
Interfaces
Classes
- ConstructorInvocation
- EspressoRemote
- FieldDescriptor
- GenericRemoteMessage
- InteractionRequest
- InteractionRequest.Builder
- InteractionResponse
- InteractionResponse.Builder
- InteractionResponse.RemoteError
- NoopRemoteInteraction
- ProtoUtils
- RemoteDescriptor
- RemoteDescriptor.Builder
- RemoteDescriptorRegistry
- RemoteInteractionRegistry
- TypeProtoConverters
Enums
Exceptions
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-09-30 UTC.