# AudiobookEntity.Builder

# AudiobookEntity.Builder

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/com/google/android/engage/books/datamodel/AudiobookEntity.Builder "View this page in Java")  

<br />

```
class AudiobookEntity.Builder
```

<br />

*** ** * ** ***

Builder class for[AudiobookEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity).

## Summary

|                                                          ### Public constructors                                                          |
|-------------------------------------------------------------------------------------------------------------------------------------------|
| [Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#Builder())`()` |

|                                                              ### Public functions                                                              |
|------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addAllDisplayTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#addAllDisplayTimeWindow(java.util.List<com.google.android.engage.common.datamodel.DisplayTimeWindow>))`(` ` displayTimeWindows: (`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[DisplayTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/DisplayTimeWindow)`!>!` `)` Adds the display time window for the book |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addAuthor](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#addAuthor(java.lang.String))`(author: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Adds the author of the audiobook.                                                                                                                                                                                                                                                                                                                                                                        |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addAuthors](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#addAuthors(java.util.List<java.lang.String>))`(author: (`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!)` Adds the list of authors of the audiobook.                                                                                                                                         |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addDisplayTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#addDisplayTimeWindow(com.google.android.engage.common.datamodel.DisplayTimeWindow))`(displayTimeWindow: `[DisplayTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/DisplayTimeWindow)`!)` Adds the display time window for the book                                                                                                                                                                                                                                   |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addGenre](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#addGenre(java.lang.String))`(genre: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Adds the genre of the book series.                                                                                                                                                                                                                                                                                                                                                                          |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addGenres](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#addGenres(java.util.List<java.lang.String>))`(genres: (`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!)` Adds the genre of the book series.                                                                                                                                                   |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addNarrator](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#addNarrator(java.lang.String))`(narrator: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Adds the narrator of the audiobook.                                                                                                                                                                                                                                                                                                                                                                |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addNarrators](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#addNarrators(java.util.List<java.lang.String>))`(narrator: (`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!)` Adds the list of narrators of the audiobook.                                                                                                                                 |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPosterImage](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#addPosterImage(com.google.android.engage.common.datamodel.Image))`(image: `[Image](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Image)`!)` Add a poster image of the entity.                                                                                                                                                                                                                                                                                                       |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPosterImages](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#addPosterImages(java.util.List<com.google.android.engage.common.datamodel.Image>))`(images: (`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[Image](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Image)`!>!)` Add poster images of the entity.                                                                                 |
| [AudiobookEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity)`!`                 | [build](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#build())`()`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setActionLinkUri](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#setActionLinkUri(android.net.Uri))`(actionLinkUri: `[Uri](https://developer.android.com/reference/android/net/Uri.html)`!)` Sets the deeplink associated with the book.                                                                                                                                                                                                                                                                                                                                                       |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setAvailability](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#setAvailability(int))`(@`[ContentAvailability](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/ContentAvailability)` availability: `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Sets the availability of the book.                                                                                                                                                                                                                                 |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setContinueBookType](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#setContinueBookType(int))`(continueBookType: `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Sets a continue book type for the book.                                                                                                                                                                                                                                                                                                                                                        |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setDescription](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#setDescription(java.lang.String))`(description: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Adds the description of the audiobook.                                                                                                                                                                                                                                                                                                                                                    |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setDownloadedOnDevice](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#setDownloadedOnDevice(boolean))`(downloadedOnDevice: `[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`)` Sets a boolean value to indicate if book is downloaded on device or not.                                                                                                                                                                                                                                                                                                     |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setDurationMillis](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#setDurationMillis(long))`(durationMillis: `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`)` Adds the duration of the audiobook.                                                                                                                                                                                                                                                                                                                                                               |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setEntityId](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#setEntityId(java.lang.String))`(entityId: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets content id of the video entity.                                                                                                                                                                                                                                                                                                                                                               |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setLastEngagementTimeMillis](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#setLastEngagementTimeMillis(long))`(lastEngagementTimeMillis: `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`)` Sets last engagement time of the entity, in milliseconds since Epoch.                                                                                                                                                                                                                                                                                               |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setName](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#setName(java.lang.String))`(name: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets the name of the entity.                                                                                                                                                                                                                                                                                                                                                                                   |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setPrice](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#setPrice(com.google.android.engage.common.datamodel.Price))`(price: `[Price](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Price)`!)` Adds the price of the audiobook.                                                                                                                                                                                                                                                                                                                    |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setProgressPercentComplete](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#setProgressPercentComplete(int))`(progressPercentComplete: `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Sets progress percent complete of the book entity.                                                                                                                                                                                                                                                                                                                        |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setPublishDateEpochMillis](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#setPublishDateEpochMillis(long))`(publishDateEpochMillis: `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`)` Sets publishing date of the ebook, in milliseconds.                                                                                                                                                                                                                                                                                                                       |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setRating](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#setRating(com.google.android.engage.common.datamodel.Rating))`(rating: `[Rating](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Rating)`!)` Sets the rating for the book entity.                                                                                                                                                                                                                                                                                                          |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setSeriesName](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#setSeriesName(java.lang.String))`(seriesName: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Adds the name of the series that the audiobook belongs to.                                                                                                                                                                                                                                                                                                                                   |
| [AudiobookEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setSeriesUnitIndex](https://developer.android.com/reference/kotlin/com/google/android/engage/books/datamodel/AudiobookEntity.Builder#setSeriesUnitIndex(java.lang.Integer))`(seriesUnitIndex: `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`!)` Adds the index number of the audiobook in the series.                                                                                                                                                                                                                                                                                                                              |

## Public constructors

### Builder

```
Builder()
```  

## Public functions

### addAllDisplayTimeWindow

```
@CanIgnoreReturnValue
fun addAllDisplayTimeWindow(
    displayTimeWindows: (Mutable)List<DisplayTimeWindow!>!
): AudiobookEntity.Builder!
```

Adds the display time window for the book

Optional.  

### addAuthor

```
@CanIgnoreReturnValue
fun addAuthor(author: String!): AudiobookEntity.Builder!
```

Adds the author of the audiobook.

Required.  

### addAuthors

```
@CanIgnoreReturnValue
fun addAuthors(author: (Mutable)List<String!>!): AudiobookEntity.Builder!
```

Adds the list of authors of the audiobook.

Required  

### addDisplayTimeWindow

```
@CanIgnoreReturnValue
fun addDisplayTimeWindow(displayTimeWindow: DisplayTimeWindow!): AudiobookEntity.Builder!
```

Adds the display time window for the book

Optional.  

### addGenre

```
@CanIgnoreReturnValue
fun addGenre(genre: String!): AudiobookEntity.Builder!
```

Adds the genre of the book series.

Optional.  

### addGenres

```
@CanIgnoreReturnValue
fun addGenres(genres: (Mutable)List<String!>!): AudiobookEntity.Builder!
```

Adds the genre of the book series.

Optional.  

### addNarrator

```
@CanIgnoreReturnValue
fun addNarrator(narrator: String!): AudiobookEntity.Builder!
```

Adds the narrator of the audiobook.

Required.  

### addNarrators

```
@CanIgnoreReturnValue
fun addNarrators(narrator: (Mutable)List<String!>!): AudiobookEntity.Builder!
```

Adds the list of narrators of the audiobook.

Required.  

### addPosterImage

```
@CanIgnoreReturnValue
fun addPosterImage(image: Image!): AudiobookEntity.Builder!
```

Add a poster image of the entity.

Required.  

### addPosterImages

```
@CanIgnoreReturnValue
fun addPosterImages(images: (Mutable)List<Image!>!): AudiobookEntity.Builder!
```

Add poster images of the entity.

Required.  

### build

```
fun build(): AudiobookEntity!
```  

### setActionLinkUri

```
@CanIgnoreReturnValue
fun setActionLinkUri(actionLinkUri: Uri!): AudiobookEntity.Builder!
```

Sets the deeplink associated with the book.

Required  

### setAvailability

```
@CanIgnoreReturnValue
fun setAvailability(@ContentAvailability availability: Int): AudiobookEntity.Builder!
```

Sets the availability of the book.

Optional.  

### setContinueBookType

```
@CanIgnoreReturnValue
fun setContinueBookType(continueBookType: Int): AudiobookEntity.Builder!
```

Sets a continue book type for the book.

Optional.  

### setDescription

```
@CanIgnoreReturnValue
fun setDescription(description: String!): AudiobookEntity.Builder!
```

Adds the description of the audiobook.

Optional.  

### setDownloadedOnDevice

```
@CanIgnoreReturnValue
fun setDownloadedOnDevice(downloadedOnDevice: Boolean): AudiobookEntity.Builder!
```

Sets a boolean value to indicate if book is downloaded on device or not.

Optional.  

### setDurationMillis

```
@CanIgnoreReturnValue
fun setDurationMillis(durationMillis: Long): AudiobookEntity.Builder!
```

Adds the duration of the audiobook.

Optional.  

### setEntityId

```
@CanIgnoreReturnValue
fun setEntityId(entityId: String!): AudiobookEntity.Builder!
```

Sets content id of the video entity.

Optional.  

### setLastEngagementTimeMillis

```
@CanIgnoreReturnValue
fun setLastEngagementTimeMillis(lastEngagementTimeMillis: Long): AudiobookEntity.Builder!
```

Sets last engagement time of the entity, in milliseconds since Epoch.

Optional.  

### setName

```
@CanIgnoreReturnValue
fun setName(name: String!): AudiobookEntity.Builder!
```

Sets the name of the entity.

Required.  

### setPrice

```
@CanIgnoreReturnValue
fun setPrice(price: Price!): AudiobookEntity.Builder!
```

Adds the price of the audiobook.

Optional.  

### setProgressPercentComplete

```
@CanIgnoreReturnValue
fun setProgressPercentComplete(progressPercentComplete: Int): AudiobookEntity.Builder!
```

Sets progress percent complete of the book entity.

Optional.  

### setPublishDateEpochMillis

```
@CanIgnoreReturnValue
fun setPublishDateEpochMillis(publishDateEpochMillis: Long): AudiobookEntity.Builder!
```

Sets publishing date of the ebook, in milliseconds.

Optional.  

### setRating

```
@CanIgnoreReturnValue
fun setRating(rating: Rating!): AudiobookEntity.Builder!
```

Sets the rating for the book entity.

Optional.  

### setSeriesName

```
@CanIgnoreReturnValue
fun setSeriesName(seriesName: String!): AudiobookEntity.Builder!
```

Adds the name of the series that the audiobook belongs to.

Optional.  

### setSeriesUnitIndex

```
@CanIgnoreReturnValue
fun setSeriesUnitIndex(seriesUnitIndex: Int!): AudiobookEntity.Builder!
```

Adds the index number of the audiobook in the series.

Optional.