# PodcastSeriesEntity.Builder

# PodcastSeriesEntity.Builder

*** ** * ** ***

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

<br />

```
public final class PodcastSeriesEntity.Builder
```

<br />

*** ** * ** ***

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

## Summary

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

|                                                              ### Public methods                                                              |
|----------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/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/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#addGenre(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String.html)` genre)` Adds the genre of the podcast series.                                                                                                                                                            |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/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/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#addGenres(java.util.List<java.lang.String>))`(`[List](https://developer.android.com/reference/java/util/List.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`> genre)` Adds the list of genres of the podcast series.                                                          |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/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/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#addHost(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String.html)` host)` Adds the host of the podcast series.                                                                                                                                                                |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/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/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#addHosts(java.util.List<java.lang.String>))`(`[List](https://developer.android.com/reference/java/util/List.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`> hosts)` Adds the list of hosts of the podcast series.                                                             |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/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/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#addPosterImage(com.google.android.engage.common.datamodel.Image))`(`[Image](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Image)` image)` Add a poster image of the entity.                                                                                          |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/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/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#addPosterImages(java.util.List<com.google.android.engage.common.datamodel.Image>))`(`[List](https://developer.android.com/reference/java/util/List.html)`<`[Image](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Image)`> images)` Add poster images of the entity. |
| [PodcastSeriesEntity](https://developer.android.com/reference/com/google/android/engage/audio/datamodel/PodcastSeriesEntity)                 | [build](https://developer.android.com/reference/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#build())`()`                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/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/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#setDescription(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String.html)` description)` Adds the description of the audio entity.                                                                                                                                      |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/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/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#setDownloadedOnDevice(boolean))`(boolean downloadedOnDevice)` Sets a boolean value to indicate if podcast series is downloaded on device or not.                                                                                                                                                   |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/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/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#setEntityId(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String.html)` entityId)` Sets content id of the entity.                                                                                                                                                          |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/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/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#setEpisodeCount(int))`(int episodeCount)` Sets the count of episodes in the podcast series.                                                                                                                                                                                                              |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/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/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#setExplicitContent(boolean))`(boolean explicitContent)` Sets a boolean value to indicate if podcast series has explicit content or not.                                                                                                                                                               |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/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/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#setInfoPageUri(android.net.Uri))`(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` infoPageUri)` Sets the info page uri of the podcast series.                                                                                                                                       |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/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/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#setLastEngagementTimeMillis(long))`(long lastEngagementTimeMillis)` Sets last engagement time of the entity, in milliseconds since Epoch.                                                                                                                                                    |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/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/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#setName(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String.html)` name)` Sets the name of the entity.                                                                                                                                                                        |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/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/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#setPlayBackUri(android.net.Uri))`(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` playBackUri)` Sets the playback uri of the podcast series.                                                                                                                                        |
| [PodcastSeriesEntity.Builder](https://developer.android.com/reference/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/com/google/android/engage/audio/datamodel/PodcastSeriesEntity.Builder#setProductionName(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String.html)` productionName)` Sets the name of the production of the podcast series.                                                                                                                |

## Public constructors

### Builder

```
public Builder()
```  

## Public methods

### addGenre

```
@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder addGenre(String genre)
```

Adds the genre of the podcast series.

Optional.  

### addGenres

```
@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder addGenres(List<String> genre)
```

Adds the list of genres of the podcast series.

Optional.  

### addHost

```
@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder addHost(String host)
```

Adds the host of the podcast series.

Optional.  

### addHosts

```
@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder addHosts(List<String> hosts)
```

Adds the list of hosts of the podcast series.

Optional.  

### addPosterImage

```
@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder addPosterImage(Image image)
```

Add a poster image of the entity.

Required.  

### addPosterImages

```
@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder addPosterImages(List<Image> images)
```

Add poster images of the entity.

Required.  

### build

```
public PodcastSeriesEntity build()
```  

### setDescription

```
@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setDescription(String description)
```

Adds the description of the audio entity.

Optional.  

### setDownloadedOnDevice

```
@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setDownloadedOnDevice(boolean downloadedOnDevice)
```

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

Optional.  

### setEntityId

```
@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setEntityId(String entityId)
```

Sets content id of the entity.

Optional.  

### setEpisodeCount

```
@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setEpisodeCount(int episodeCount)
```

Sets the count of episodes in the podcast series.

Optional.  

### setExplicitContent

```
@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setExplicitContent(boolean explicitContent)
```

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

Optional.  

### setInfoPageUri

```
@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setInfoPageUri(Uri infoPageUri)
```

Sets the info page uri of the podcast series.

Required.  

### setLastEngagementTimeMillis

```
@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setLastEngagementTimeMillis(long lastEngagementTimeMillis)
```

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

Optional.  

### setName

```
@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setName(String name)
```

Sets the name of the entity.

Required.  

### setPlayBackUri

```
@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setPlayBackUri(Uri playBackUri)
```

Sets the playback uri of the podcast series.

Optional.  

### setProductionName

```
@CanIgnoreReturnValue
public PodcastSeriesEntity.Builder setProductionName(String productionName)
```

Sets the name of the production of the podcast series.

Optional.