# PodcastSeriesEntity.Builder

# PodcastSeriesEntity.Builder

*** ** * ** ***

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

<br />

```
class PodcastSeriesEntity.Builder
```

<br />

*** ** * ** ***

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

## Summary

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

|                                                                  ### Public functions                                                                  |
|--------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addGenre](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#addGenre(java.lang.String))`(genre: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Adds the genre of the podcast series.                                                                                                                                                                                                                                                                                       |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addGenres](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#addGenres(java.util.List<java.lang.String>))`(genre: (`[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 genres of the podcast series.                                                        |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addHost](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#addHost(java.lang.String))`(host: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Adds the host of the podcast series.                                                                                                                                                                                                                                                                                           |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addHosts](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#addHosts(java.util.List<java.lang.String>))`(hosts: (`[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 hosts of the podcast series.                                                           |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPosterImage](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.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.                                                                                                                                                                                                                       |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPosterImages](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.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. |
| [PodcastSeriesEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity)`!`                 | [build](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#build())`()`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setDescription](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#setDescription(java.lang.String))`(description: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Adds the description of the audio entity.                                                                                                                                                                                                                                                                 |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setDownloadedOnDevice](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#setDownloadedOnDevice(boolean))`(downloadedOnDevice: `[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`)` Sets a boolean value to indicate if podcast series is downloaded on device or not.                                                                                                                                                                                                           |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setEntityId](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#setEntityId(java.lang.String))`(entityId: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets content id of the entity.                                                                                                                                                                                                                                                                                     |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setEpisodeCount](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#setEpisodeCount(int))`(episodeCount: `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Sets the count of episodes in the podcast series.                                                                                                                                                                                                                                                                          |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setExplicitContent](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#setExplicitContent(boolean))`(explicitContent: `[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`)` Sets a boolean value to indicate if podcast series has explicit content or not.                                                                                                                                                                                                                       |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setInfoPageUri](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#setInfoPageUri(android.net.Uri))`(infoPageUri: `[Uri](https://developer.android.com/reference/android/net/Uri.html)`!)` Sets the info page uri of the podcast series.                                                                                                                                                                                                                                                                           |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setLastEngagementTimeMillis](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.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.                                                                                                                                                                                                               |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setName](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#setName(java.lang.String))`(name: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets the name of the entity.                                                                                                                                                                                                                                                                                                   |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setPlayBackUri](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#setPlayBackUri(android.net.Uri))`(playBackUri: `[Uri](https://developer.android.com/reference/android/net/Uri.html)`!)` Sets the playback uri of the podcast series.                                                                                                                                                                                                                                                                            |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setProductionName](https://developer.android.com/reference/kotlin/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#setProductionName(java.lang.String))`(productionName: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets the name of the production of the podcast series.                                                                                                                                                                                                                                           |

## Public constructors

### Builder

```
Builder()
```  

## Public functions

### addGenre

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

Adds the genre of the podcast series.

Optional.  

### addGenres

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

Adds the list of genres of the podcast series.

Optional.  

### addHost

```
@CanIgnoreReturnValue
fun addHost(host: String!): PodcastSeriesEntity.Builder!
```

Adds the host of the podcast series.

Optional.  

### addHosts

```
@CanIgnoreReturnValue
fun addHosts(hosts: (Mutable)List<String!>!): PodcastSeriesEntity.Builder!
```

Adds the list of hosts of the podcast series.

Optional.  

### addPosterImage

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

Add a poster image of the entity.

Required.  

### addPosterImages

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

Add poster images of the entity.

Required.  

### build

```
fun build(): PodcastSeriesEntity!
```  

### setDescription

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

Adds the description of the audio entity.

Optional.  

### setDownloadedOnDevice

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

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

Optional.  

### setEntityId

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

Sets content id of the entity.

Optional.  

### setEpisodeCount

```
@CanIgnoreReturnValue
fun setEpisodeCount(episodeCount: Int): PodcastSeriesEntity.Builder!
```

Sets the count of episodes in the podcast series.

Optional.  

### setExplicitContent

```
@CanIgnoreReturnValue
fun setExplicitContent(explicitContent: Boolean): PodcastSeriesEntity.Builder!
```

Sets a boolean value to indicate if podcast series has explicit content or not.

Optional.  

### setInfoPageUri

```
@CanIgnoreReturnValue
fun setInfoPageUri(infoPageUri: Uri!): PodcastSeriesEntity.Builder!
```

Sets the info page uri of the podcast series.

Required.  

### setLastEngagementTimeMillis

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

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

Optional.  

### setName

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

Sets the name of the entity.

Required.  

### setPlayBackUri

```
@CanIgnoreReturnValue
fun setPlayBackUri(playBackUri: Uri!): PodcastSeriesEntity.Builder!
```

Sets the playback uri of the podcast series.

Optional.  

### setProductionName

```
@CanIgnoreReturnValue
fun setProductionName(productionName: String!): PodcastSeriesEntity.Builder!
```

Sets the name of the production of the podcast series.

Optional.