# TvShowEntity.Builder

# TvShowEntity.Builder

*** ** * ** ***

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

<br />

```
class TvShowEntity.Builder
```

<br />

*** ** * ** ***

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

## Summary

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

|                                                           ### Public functions                                                           |
|------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addAllAvailabilityTimeWindows](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#addAllAvailabilityTimeWindows(java.util.List<com.google.android.engage.common.datamodel.DisplayTimeWindow>))`(` ` availabilityTimeWindows: (`[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 availability time windows of the video entity.                    |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addAvailabilityTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#addAvailabilityTimeWindow(com.google.android.engage.common.datamodel.DisplayTimeWindow))`(availabilityTimeWindow: `[DisplayTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/DisplayTimeWindow)`!)` Adds the availability time window of the video entity.                                                                                                                                                                                                                                                         |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addContentRating](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#addContentRating(com.google.android.engage.video.datamodel.RatingSystem))`(contentRating: `[RatingSystem](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/RatingSystem)`!)` Add the rating system for the tv show.                                                                                                                                                                                                                                                                                                                     |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) ~~[addContentRating](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#addContentRating(java.lang.String))~~`(rating: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` **This function is deprecated.** use addContentRating(RatingSystem) instead <br />                                                                                                                                                                                                                                                                                                                                                       |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addContentRatings](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#addContentRatings(java.util.List<com.google.android.engage.video.datamodel.RatingSystem>))`(contentRatings: (`[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)`<`[RatingSystem](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/RatingSystem)`!>!)` Add the rating systems for the tv show.                                                                                             |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) ~~[addContentRatingsLegacy](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#addContentRatingsLegacy(java.util.List<java.lang.String>))~~`(ratings: (`[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)`!>!)` **This function is deprecated.** use`addContentRatings(List<RatingSystem>)`instead <br />                                                                                                             |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addGenre](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#addGenre(java.lang.String))`(genre: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Adds genre of the tv show.                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addGenres](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.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 genres of the tv show.                                                                                                                                                                                                            |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPlatformSpecificPlaybackUri](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#addPlatformSpecificPlaybackUri(com.google.android.engage.common.datamodel.PlatformSpecificUri))`(` ` platformSpecificPlaybackUri: `[PlatformSpecificUri](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/PlatformSpecificUri)`!` `)` Add platform specific playback uri for the tv show entity.                                                                                                                                                                                                                         |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPlatformSpecificPlaybackUris](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#addPlatformSpecificPlaybackUris(java.util.List<com.google.android.engage.common.datamodel.PlatformSpecificUri>))`(` ` platformSpecificPlaybackUris: (`[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)`<`[PlatformSpecificUri](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/PlatformSpecificUri)`!>!` `)` Add platform specific playback uris for the tv show entity. |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPosterImage](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.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.                                                                                                                                                                                                                                                                                                                                                         |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPosterImages](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.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.                                                                                                                                   |
| [TvShowEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity)`!`                 | [build](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#build())`()`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setAvailability](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.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 tv show.                                                                                                                                                                                                                                                                                |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setDescription](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#setDescription(java.lang.String))`(description: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Sets the description of the entity.                                                                                                                                                                                                                                                                                                                                                                                                          |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setEntityId](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#setEntityId(java.lang.String))`(entityId: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets content id of the entity.                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setFirstEpisodeAirDateEpochMillis](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#setFirstEpisodeAirDateEpochMillis(long))`(firstEpisodeAirDateEpochMillis: `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`)` Sets the air date of the first episode in this show, in milliseconds since Epoch.                                                                                                                                                                                                                                                                                                                   |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setInfoPageUri](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#setInfoPageUri(android.net.Uri))`(infoPageUri: `[Uri](https://developer.android.com/reference/android/net/Uri.html)`!)` Sets the deeplink to open the details info page of the tv show.                                                                                                                                                                                                                                                                                                                                                                                           |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setLastEngagementTimeMillis](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.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.                                                                                                                                                                                                                                                                                                                                                 |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setLastPlayBackPositionTimeMillis](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#setLastPlayBackPositionTimeMillis(long))`(lastPlayBackPositionTimeMillis: `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`)` Sets last play back position of the video entity, in milliseconds.                                                                                                                                                                                                                                                                                                                                  |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setLatestEpisodeAirDateEpochMillis](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#setLatestEpisodeAirDateEpochMillis(long))`(` ` latestEpisodeAirDateEpochMillis: `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) `)` Sets the air date of the latest episode in this show, in milliseconds since Epoch.                                                                                                                                                                                                                                                                                                          |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setName](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#setName(java.lang.String))`(name: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets the name of the entity.                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setPlayBackUri](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#setPlayBackUri(android.net.Uri))`(playBackUri: `[Uri](https://developer.android.com/reference/android/net/Uri.html)`!)` Sets the on device deeplink to start playing the tv show.                                                                                                                                                                                                                                                                                                                                                                                                 |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setPrice](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.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 tv show.                                                                                                                                                                                                                                                                                                                                                                        |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setRecommendationReason](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#setRecommendationReason(com.google.android.engage.common.datamodel.RecommendationReason))`(recommendationReason: `[RecommendationReason](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/RecommendationReason)`)` Sets the recommendation reason of the entity.                                                                                                                                                                                                                                                                |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setSeasonCount](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#setSeasonCount(int))`(seasonCount: `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Sets the total number of seasons in the current tv show.                                                                                                                                                                                                                                                                                                                                                                                                        |
| [TvShowEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setWatchNextType](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#setWatchNextType(int))`(@`[WatchNextType](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/WatchNextType)` watchNextType: `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Sets the watch next type of the video entity.                                                                                                                                                                                                                                                                                  |

## Public constructors

### Builder

```
Builder()
```  

## Public functions

### addAllAvailabilityTimeWindows

```
@CanIgnoreReturnValue
fun addAllAvailabilityTimeWindows(
    availabilityTimeWindows: (Mutable)List<DisplayTimeWindow!>!
): TvShowEntity.Builder!
```

Adds the availability time windows of the video entity.

Optional.  

### addAvailabilityTimeWindow

```
@CanIgnoreReturnValue
fun addAvailabilityTimeWindow(availabilityTimeWindow: DisplayTimeWindow!): TvShowEntity.Builder!
```

Adds the availability time window of the video entity.

Optional.  

### addContentRating

```
@CanIgnoreReturnValue
fun addContentRating(contentRating: RatingSystem!): TvShowEntity.Builder!
```

Add the rating system for the tv show.

Required.  

### addContentRating

```
@CanIgnoreReturnValue
fun [addContentRating](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#addContentRating(java.lang.String))(rating: String!): TvShowEntity.Builder!
```
| **This function is deprecated.**   
|
| use addContentRating(RatingSystem) instead

Adds content rating of the tv show.

Required.  

### addContentRatings

```
@CanIgnoreReturnValue
fun addContentRatings(contentRatings: (Mutable)List<RatingSystem!>!): TvShowEntity.Builder!
```

Add the rating systems for the tv show.

Required.  

### addContentRatingsLegacy

```
@CanIgnoreReturnValue
fun [addContentRatingsLegacy](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/TvShowEntity.Builder#addContentRatingsLegacy(java.util.List<java.lang.String>))(ratings: (Mutable)List<String!>!): TvShowEntity.Builder!
```
| **This function is deprecated.**   
|
| use`addContentRatings(List<RatingSystem>)`instead

Adds content ratings of the tv show.

Required.  

### addGenre

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

Adds genre of the tv show.

Optional.  

### addGenres

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

Adds genres of the tv show.

Optional.  

### addPlatformSpecificPlaybackUri

```
@CanIgnoreReturnValue
fun addPlatformSpecificPlaybackUri(
    platformSpecificPlaybackUri: PlatformSpecificUri!
): TvShowEntity.Builder!
```

Add platform specific playback uri for the tv show entity.

Required.  

### addPlatformSpecificPlaybackUris

```
@CanIgnoreReturnValue
fun addPlatformSpecificPlaybackUris(
    platformSpecificPlaybackUris: (Mutable)List<PlatformSpecificUri!>!
): TvShowEntity.Builder!
```

Add platform specific playback uris for the tv show entity.

Required.  

### addPosterImage

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

Add a poster image of the entity.

Required.  

### addPosterImages

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

Add poster images of the entity.

Required.  

### build

```
fun build(): TvShowEntity!
```  

### setAvailability

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

Sets the availability of the tv show.

Required.  

### setDescription

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

Sets the description of the entity.

Optional.  

### setEntityId

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

Sets content id of the entity.

Optional.  

### setFirstEpisodeAirDateEpochMillis

```
@CanIgnoreReturnValue
fun setFirstEpisodeAirDateEpochMillis(firstEpisodeAirDateEpochMillis: Long): TvShowEntity.Builder!
```

Sets the air date of the first episode in this show, in milliseconds since Epoch.

Optional.  

### setInfoPageUri

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

Sets the deeplink to open the details info page of the tv show.

Required.  

### setLastEngagementTimeMillis

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

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

Optional.  

### setLastPlayBackPositionTimeMillis

```
@CanIgnoreReturnValue
fun setLastPlayBackPositionTimeMillis(lastPlayBackPositionTimeMillis: Long): TvShowEntity.Builder!
```

Sets last play back position of the video entity, in milliseconds.

Optional.  

### setLatestEpisodeAirDateEpochMillis

```
@CanIgnoreReturnValue
fun setLatestEpisodeAirDateEpochMillis(
    latestEpisodeAirDateEpochMillis: Long
): TvShowEntity.Builder!
```

Sets the air date of the latest episode in this show, in milliseconds since Epoch.

Optional.  

### setName

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

Sets the name of the entity.

Required.  

### setPlayBackUri

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

Sets the on device deeplink to start playing the tv show.

Optional.  

### setPrice

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

Adds the price of the tv show.

Optional.  

### setRecommendationReason

```
@CanIgnoreReturnValue
fun setRecommendationReason(recommendationReason: RecommendationReason): TvShowEntity.Builder!
```

Sets the recommendation reason of the entity.

Optional.  

### setSeasonCount

```
@CanIgnoreReturnValue
fun setSeasonCount(seasonCount: Int): TvShowEntity.Builder!
```

Sets the total number of seasons in the current tv show.

Required.  

### setWatchNextType

```
@CanIgnoreReturnValue
fun setWatchNextType(@WatchNextType watchNextType: Int): TvShowEntity.Builder!
```

Sets the watch next type of the video entity.

Optional.