# Person.BuilderBase

Artifact: [androidx.appsearch:appsearch-builtin-types](https://developer.android.com/jetpack/androidx/releases/appsearch) [View Source](https://cs.android.com/search?q=file:androidx/appsearch/builtintypes/Person.java+class:androidx.appsearch.builtintypes.Person.BuilderBase) Added in [1.2.0-alpha02](https://developer.android.com/jetpack/androidx/releases/appsearch#1.2.0-alpha02)

*** ** * ** ***


```
@ExperimentalAppSearchApi
class Person.BuilderBase<T : Person.BuilderBase<T!>?> : Thing.BuilderBase<T!>
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.appsearch.builtintypes.Thing.BuilderBase](https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Thing.BuilderBase)\<T!\> ||
|   | ↳ | [androidx.appsearch.builtintypes.Person.BuilderBase](https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase) |

Known direct subclasses [Person.Builder](https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.Builder)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.Builder` | Builder class for `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`. |

*** ** * ** ***

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase#BuilderBase(androidx.appsearch.builtintypes.Person)(person: https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person)` Constructor for `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase` with all the existing values of an `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`. |
| `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase#BuilderBase(java.lang.String,java.lang.String,java.lang.String)(namespace: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` Constructor for `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase`. |

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person` | `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase#build()()` Builds the `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`. |
| `T` | `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase#setAdditionalNames(java.util.List<androidx.appsearch.builtintypes.Person.AdditionalName>)( additionalNames: (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/appsearch/builtintypes/Person.AdditionalName!> )` Sets a list of `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.AdditionalName` for that `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`. |
| `T` | `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase#setAffiliations(java.util.List<java.lang.String>)(affiliations: (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://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>)` Sets a list of affiliations for this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`. |
| `T` | `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase#setBot(boolean)(isBot: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person` is a bot. |
| `T` | `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase#setContactPoints(java.util.List<androidx.appsearch.builtintypes.ContactPoint>)(contactPoints: (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/appsearch/builtintypes/ContactPoint!>)` Sets a list of `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/ContactPoint` for the `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`. |
| `T` | `@https://developer.android.com/reference/kotlin/androidx/appsearch/app/ExperimentalAppSearchApi https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase#setExternalUri(java.lang.String)(externalUri: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` Sets the external `https://developer.android.com/reference/android/net/Uri.html` from a `https://developer.android.com/reference/java/lang/String.html` representation for this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`. |
| `T` | `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase#setExternalUri(android.net.Uri)(externalUri: https://developer.android.com/reference/android/net/Uri.html)` Sets an external `https://developer.android.com/reference/android/net/Uri.html` for this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`. |
| `T` | `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase#setFamilyName(java.lang.String)(familyName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` Sets the family name of this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`. |
| `T` | `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase#setGivenName(java.lang.String)(givenName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` Sets the given name of this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`. |
| `T` | `@https://developer.android.com/reference/kotlin/androidx/appsearch/app/ExperimentalAppSearchApi https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase#setImageUri(java.lang.String)(imageUri: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` Sets the `https://developer.android.com/reference/android/net/Uri.html` of the profile image from a `https://developer.android.com/reference/java/lang/String.html` representation for the `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`. |
| `T` | `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase#setImageUri(android.net.Uri)(imageUri: https://developer.android.com/reference/android/net/Uri.html)` Sets the `https://developer.android.com/reference/android/net/Uri.html` of the profile image for the `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`. |
| `T` | `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase#setImportant(boolean)(isImportant: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person` is important. |
| `T` | `@https://developer.android.com/reference/kotlin/androidx/appsearch/app/ExperimentalAppSearchApi https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase#setIsBot(boolean)(isBot: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person` is a bot. |
| `T` | `@https://developer.android.com/reference/kotlin/androidx/appsearch/app/ExperimentalAppSearchApi https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase#setIsImportant(boolean)(isImportant: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person` is important. |
| `T` | `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase#setMiddleName(java.lang.String)(middleName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` Sets the middle name of this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`. |
| `T` | `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase#setNotes(java.util.List<java.lang.String>)(notes: (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://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>)` Sets the notes about this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`. |
| `T` | `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase#setRelations(java.util.List<java.lang.String>)(relations: (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://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>)` Sets a list of relations for this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`, like "Father" or "Mother". |

### Inherited functions

From [androidx.appsearch.builtintypes.Thing.BuilderBase](https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Thing.BuilderBase) `T` `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Thing.BuilderBase#addAlternateName(java.lang.String)(alternateName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`

Adds an alias for the item.
`T` `@https://developer.android.com/reference/kotlin/androidx/appsearch/app/ExperimentalAppSearchApi
https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Thing.BuilderBase#addPotentialAction(androidx.appsearch.builtintypes.PotentialAction)(newPotentialAction: https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/PotentialAction)`

Add a new action to the list of potential actions for this document.
`T` `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Thing.BuilderBase#clearAlternateNames()()`

Clears the aliases, if any, for the item.
`T` `@https://developer.android.com/reference/kotlin/androidx/appsearch/app/ExperimentalAppSearchApi
https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Thing.BuilderBase#clearPotentialActions()()`

Clear all the potential actions for this document.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Thing.BuilderBase#resetIfBuilt()()`

If built, make a copy of previous data for every field so that the builder can be reused.
`T` `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Thing.BuilderBase#setAlternateNames(java.util.List<java.lang.String>)(alternateNames: (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://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>?)`

Sets a list of aliases for the item.
`T` `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Thing.BuilderBase#setCreationTimestampMillis(long)(creationTimestampMillis: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`

Sets the creation timestamp for the current AppSearch entity, in milliseconds using the `https://developer.android.com/reference/java/lang/System.html#currentTimeMillis()` time base.
`T` `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Thing.BuilderBase#setDescription(java.lang.String)(description: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)`

Sets the description for the item.
`T` `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Thing.BuilderBase#setDocumentScore(int)(documentScore: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

Sets the user-provided opaque document score of the current AppSearch document, which can be used for ranking using `https://developer.android.com/reference/kotlin/androidx/appsearch/app/SearchSpec#RANKING_STRATEGY_DOCUMENT_SCORE()`.
`T` `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Thing.BuilderBase#setDocumentTtlMillis(long)(documentTtlMillis: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`

Sets the time-to-live (TTL) for the current AppSearch document as a duration in milliseconds.
`T` `@https://developer.android.com/reference/kotlin/androidx/appsearch/app/ExperimentalAppSearchApi
https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Thing.BuilderBase#setImage(java.lang.String)(image: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)`

Sets the URL for an image of the item.
`T` `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Thing.BuilderBase#setName(java.lang.String)(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)`

Sets the name of the item.
`T` `@https://developer.android.com/reference/kotlin/androidx/appsearch/app/ExperimentalAppSearchApi
https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Thing.BuilderBase#setPotentialActions(java.util.List<androidx.appsearch.builtintypes.PotentialAction>)(
newPotentialActions: (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/appsearch/builtintypes/PotentialAction!>?
)`

Sets a list of potential actions for this document.
`T` `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Thing.BuilderBase#setUrl(java.lang.String)(url: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)`

Sets the deeplink URL of the item.

## Public constructors

### BuilderBase

Added in [1.2.0-alpha02](https://developer.android.com/jetpack/androidx/releases/appsearch#1.2.0-alpha02)

```
BuilderBase(person: Person)
```

Constructor for `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase` with all the existing values of an `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`.

| Parameters |
|---|---|
| `person: https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person` | The existing `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person` to copy values from. |

### BuilderBase

Added in [1.2.0-alpha02](https://developer.android.com/jetpack/androidx/releases/appsearch#1.2.0-alpha02)

```
BuilderBase(namespace: String, id: String, name: String)
```

Constructor for `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.BuilderBase`.

| Parameters |
|---|---|
| `namespace: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | Namespace for the `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person` Document. See `https://developer.android.com/reference/kotlin/androidx/appsearch/annotation/Document.Namespace`. |
| `id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | Unique identifier for the `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person` Document. See `https://developer.android.com/reference/kotlin/androidx/appsearch/annotation/Document.Id`. |
| `name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | The searchable full name of this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`. E.g. "Larry Page", or "Page, Larry". |

## Public functions

### build

```
fun build(): Person
```

Builds the `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`.

### setAdditionalNames

Added in [1.2.0-alpha02](https://developer.android.com/jetpack/androidx/releases/appsearch#1.2.0-alpha02)

```
fun setAdditionalNames(
    additionalNames: (Mutable)List<Person.AdditionalName!>
): T
```

Sets a list of `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.AdditionalName` for that `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`.

Only types defined in `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person.AdditionalName.NameType` are accepted.

### setAffiliations

Added in [1.2.0-alpha02](https://developer.android.com/jetpack/androidx/releases/appsearch#1.2.0-alpha02)

```
fun setAffiliations(affiliations: (Mutable)List<String!>): T
```

Sets a list of affiliations for this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`. Like company, school, etc.

### setBot

Added in [1.2.0-alpha02](https://developer.android.com/jetpack/androidx/releases/appsearch#1.2.0-alpha02)

```
fun setBot(isBot: Boolean): T
```

Sets whether this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person` is a bot.

### setContactPoints

Added in [1.2.0-alpha02](https://developer.android.com/jetpack/androidx/releases/appsearch#1.2.0-alpha02)

```
fun setContactPoints(contactPoints: (Mutable)List<ContactPoint!>): T
```

Sets a list of `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/ContactPoint` for the `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`.

More information could be found in `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/ContactPoint`.

### setExternalUri

Added in [1.2.0-alpha02](https://developer.android.com/jetpack/androidx/releases/appsearch#1.2.0-alpha02)

```
@ExperimentalAppSearchApi
fun setExternalUri(externalUri: String): T
```

Sets the external `https://developer.android.com/reference/android/net/Uri.html` from a `https://developer.android.com/reference/java/lang/String.html` representation for this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`. A `https://developer.android.com/reference/android/net/Uri.html` can be any of the following:

- A `https://developer.android.com/reference/android/provider/ContactsContract.Contacts.html#CONTENT_LOOKUP_URI`.
- A `mailto:` schema\*
- A `tel:` schema\*

For mailto: and tel: URI schemes, it is recommended that the path portion refers to a valid contact in the Contacts Provider.

### setExternalUri

Added in [1.2.0-alpha02](https://developer.android.com/jetpack/androidx/releases/appsearch#1.2.0-alpha02)

```
fun setExternalUri(externalUri: Uri): T
```

Sets an external `https://developer.android.com/reference/android/net/Uri.html` for this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`. Or `null` if no `https://developer.android.com/reference/android/net/Uri.html` is provided. A `https://developer.android.com/reference/android/net/Uri.html` can be any of the following:

- A `https://developer.android.com/reference/android/provider/ContactsContract.Contacts.html#CONTENT_LOOKUP_URI`.
- A `mailto:` schema\*
- A `tel:` schema\*

For mailto: and tel: URI schemes, it is recommended that the path portion refers to a valid contact in the Contacts Provider.

### setFamilyName

Added in [1.2.0-alpha02](https://developer.android.com/jetpack/androidx/releases/appsearch#1.2.0-alpha02)

```
fun setFamilyName(familyName: String): T
```

Sets the family name of this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`.

### setGivenName

Added in [1.2.0-alpha02](https://developer.android.com/jetpack/androidx/releases/appsearch#1.2.0-alpha02)

```
fun setGivenName(givenName: String): T
```

Sets the given name of this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`.

### setImageUri

Added in [1.2.0-alpha02](https://developer.android.com/jetpack/androidx/releases/appsearch#1.2.0-alpha02)

```
@ExperimentalAppSearchApi
fun setImageUri(imageUri: String): T
```

Sets the `https://developer.android.com/reference/android/net/Uri.html` of the profile image from a `https://developer.android.com/reference/java/lang/String.html` representation for the `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`.

### setImageUri

Added in [1.2.0-alpha02](https://developer.android.com/jetpack/androidx/releases/appsearch#1.2.0-alpha02)

```
fun setImageUri(imageUri: Uri): T
```

Sets the `https://developer.android.com/reference/android/net/Uri.html` of the profile image for the `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`.

### setImportant

Added in [1.2.0-alpha02](https://developer.android.com/jetpack/androidx/releases/appsearch#1.2.0-alpha02)

```
fun setImportant(isImportant: Boolean): T
```

Sets whether this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person` is important.

### setIsBot

Added in [1.2.0-alpha02](https://developer.android.com/jetpack/androidx/releases/appsearch#1.2.0-alpha02)

```
@ExperimentalAppSearchApi
fun setIsBot(isBot: Boolean): T
```

Sets whether this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person` is a bot.

### setIsImportant

Added in [1.2.0-alpha02](https://developer.android.com/jetpack/androidx/releases/appsearch#1.2.0-alpha02)

```
@ExperimentalAppSearchApi
fun setIsImportant(isImportant: Boolean): T
```

Sets whether this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person` is important.

### setMiddleName

Added in [1.2.0-alpha02](https://developer.android.com/jetpack/androidx/releases/appsearch#1.2.0-alpha02)

```
fun setMiddleName(middleName: String): T
```

Sets the middle name of this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`.

For `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person` with multiple middle names, they can all be set in this single string. Each middle name could be separated by a whitespace like "middleName1 middleName2 middleName3".

### setNotes

Added in [1.2.0-alpha02](https://developer.android.com/jetpack/androidx/releases/appsearch#1.2.0-alpha02)

```
fun setNotes(notes: (Mutable)List<String!>): T
```

Sets the notes about this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`.

### setRelations

Added in [1.2.0-alpha02](https://developer.android.com/jetpack/androidx/releases/appsearch#1.2.0-alpha02)

```
fun setRelations(relations: (Mutable)List<String!>): T
```

Sets a list of relations for this `https://developer.android.com/reference/kotlin/androidx/appsearch/builtintypes/Person`, like "Father" or "Mother".