# RemoteDescriptor

Artifact: [androidx.test.espresso:espresso-remote](https://developer.android.com/jetpack/androidx/releases/test-espresso) [View Source](https://cs.android.com/search?q=file:androidx/test/espresso/remote/RemoteDescriptor.java+class:androidx.test.espresso.remote.RemoteDescriptor)

*** ** * ** ***

<br />

```
class RemoteDescriptor
```

<br />

*** ** * ** ***

Descriptor object containing all the required information to serialize and deserialize a type to and from a proto. Needs to be registered with an `https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/RemoteDescriptorRegistry`.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/RemoteDescriptor.Builder` Builder for `https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/RemoteDescriptor` |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/RemoteDescriptor#equals(java.lang.Object)(o: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/RemoteDescriptor#getInstanceTypeName()()` |
| `https://developer.android.com/reference/java/lang/Class.html<*>!` | `https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/RemoteDescriptor#getProtoBuilderClass()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/java/lang/Class.html<*>!>!` | `https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/RemoteDescriptor#getRemoteConstrTypes()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/RemoteDescriptor#hashCode()()` |

| ### Public properties |
|---|---|
| `(https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/FieldDescriptor!>!` | `https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/RemoteDescriptor#instanceFieldDescriptorList()` |
| `https://developer.android.com/reference/java/lang/Class.html<*>!` | `https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/RemoteDescriptor#instanceType()` |
| `https://protobuf.dev/reference/java/api-docs/com/google/protobuf/Parser.html<*>!` | `https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/RemoteDescriptor#protoParser()` |
| `https://developer.android.com/reference/java/lang/Class.html<*>!` | `https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/RemoteDescriptor#protoType()` |
| `https://developer.android.com/reference/java/lang/Class.html<*>!` | `https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/RemoteDescriptor#remoteType()` |

## Public functions

### equals

```
fun equals(o: Any!): Boolean
```

### getInstanceTypeName

```
fun getInstanceTypeName(): String!
```

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | the class name for instance type |

### getProtoBuilderClass

```
fun getProtoBuilderClass(): Class<*>!
```

| Returns |
|---|---|
| `https://developer.android.com/reference/java/lang/Class.html<*>!` | the proto message builder class for proto message type |

### getRemoteConstrTypes

```
fun getRemoteConstrTypes(): Array<Class<*>!>!
```

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/java/lang/Class.html<*>!>!` | list of types which identify the constructor's formal parameter types, in declared order. |

### hashCode

```
fun hashCode(): Int
```

## Public properties

### instanceFieldDescriptorList

```
val instanceFieldDescriptorList: (Mutable)List<FieldDescriptor!>!
```

### instanceType

```
val instanceType: Class<*>!
```

### protoParser

```
val protoParser: Parser<*>!
```

### protoType

```
val protoType: Class<*>!
```

### remoteType

```
val remoteType: Class<*>!
```