Interface GoogleVideoExtension
- 
- All Superinterfaces:
 Extension
@ProviderType public interface GoogleVideoExtension extends Extension
An extension to add video links and metadata to anUrl.- See Also:
 - Video sitemaps and alternatives
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classGoogleVideoExtension.Accessstatic classGoogleVideoExtension.Platformstatic classGoogleVideoExtension.PriceTypestatic classGoogleVideoExtension.Resolution 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull GoogleVideoExtensionaddPrice(float price, @NotNull java.lang.String currency, @Nullable GoogleVideoExtension.PriceType type, @Nullable GoogleVideoExtension.Resolution resolution)@NotNull GoogleVideoExtensionsetAccessRestriction(@Nullable GoogleVideoExtension.Access restriction, @Nullable java.util.Collection<java.lang.String> countryCodes)restriction@NotNull GoogleVideoExtensionsetCategory(@Nullable java.lang.String category)@NotNull GoogleVideoExtensionsetDescription(@NotNull java.lang.String description)@NotNull GoogleVideoExtensionsetDuration(@Nullable java.lang.Integer duration)@NotNull GoogleVideoExtensionsetExpirationDate(@Nullable java.time.LocalDate date)@NotNull GoogleVideoExtensionsetExpirationDate(@Nullable java.time.OffsetDateTime date)@NotNull GoogleVideoExtensionsetFamilyFriendly(@Nullable java.lang.Boolean familyFriendly)@NotNull GoogleVideoExtensionsetLive(@Nullable java.lang.Boolean live)@NotNull GoogleVideoExtensionsetPlatformRestriction(@Nullable GoogleVideoExtension.Access restriction, @Nullable java.util.Collection<GoogleVideoExtension.Platform> platforms)platform@NotNull GoogleVideoExtensionsetPlayerUrl(@Nullable java.lang.String playerLocation)player_loc@NotNull GoogleVideoExtensionsetPublicationDate(@Nullable java.time.LocalDate date)@NotNull GoogleVideoExtensionsetPublicationDate(@Nullable java.time.OffsetDateTime date)@NotNull GoogleVideoExtensionsetRating(@Nullable java.lang.Float rating)@NotNull GoogleVideoExtensionsetRequiresSubscription(@Nullable java.lang.Boolean requiresSubscription)@NotNull GoogleVideoExtensionsetTags(@Nullable java.util.Collection<java.lang.String> tags)@NotNull GoogleVideoExtensionsetThumbnail(@NotNull java.lang.String thumbnailLocation)thumbnail_loc@NotNull GoogleVideoExtensionsetTitle(@NotNull java.lang.String title)@NotNull GoogleVideoExtensionsetUploader(@Nullable java.lang.String uploader)@NotNull GoogleVideoExtensionsetUploaderUrl(@Nullable java.lang.String uploaderInfo)@NotNull GoogleVideoExtensionsetUrl(@Nullable java.lang.String contentLocation)content_loc@NotNull GoogleVideoExtensionsetViewCount(@Nullable java.lang.Integer viewCount) 
 - 
 
- 
- 
Method Detail
- 
setThumbnail
@NotNull @NotNull GoogleVideoExtension setThumbnail(@NotNull @NotNull java.lang.String thumbnailLocation)
thumbnail_loc- Parameters:
 thumbnailLocation-- Returns:
 
 
- 
setTitle
@NotNull @NotNull GoogleVideoExtension setTitle(@NotNull @NotNull java.lang.String title)
 
- 
setDescription
@NotNull @NotNull GoogleVideoExtension setDescription(@NotNull @NotNull java.lang.String description)
 
- 
setUrl
@NotNull @NotNull GoogleVideoExtension setUrl(@Nullable @Nullable java.lang.String contentLocation)
content_loc- Parameters:
 contentLocation-- Returns:
 
 
- 
setPlayerUrl
@NotNull @NotNull GoogleVideoExtension setPlayerUrl(@Nullable @Nullable java.lang.String playerLocation)
player_loc- Parameters:
 playerLocation-- Returns:
 
 
- 
setDuration
@NotNull @NotNull GoogleVideoExtension setDuration(@Nullable @Nullable java.lang.Integer duration)
 
- 
setExpirationDate
@NotNull @NotNull GoogleVideoExtension setExpirationDate(@Nullable @Nullable java.time.LocalDate date)
 
- 
setExpirationDate
@NotNull @NotNull GoogleVideoExtension setExpirationDate(@Nullable @Nullable java.time.OffsetDateTime date)
 
- 
setRating
@NotNull @NotNull GoogleVideoExtension setRating(@Nullable @Nullable java.lang.Float rating)
 
- 
setViewCount
@NotNull @NotNull GoogleVideoExtension setViewCount(@Nullable @Nullable java.lang.Integer viewCount)
 
- 
setPublicationDate
@NotNull @NotNull GoogleVideoExtension setPublicationDate(@Nullable @Nullable java.time.LocalDate date)
 
- 
setPublicationDate
@NotNull @NotNull GoogleVideoExtension setPublicationDate(@Nullable @Nullable java.time.OffsetDateTime date)
 
- 
setTags
@NotNull @NotNull GoogleVideoExtension setTags(@Nullable @Nullable java.util.Collection<java.lang.String> tags)
 
- 
setCategory
@NotNull @NotNull GoogleVideoExtension setCategory(@Nullable @Nullable java.lang.String category)
 
- 
setFamilyFriendly
@NotNull @NotNull GoogleVideoExtension setFamilyFriendly(@Nullable @Nullable java.lang.Boolean familyFriendly)
 
- 
setAccessRestriction
@NotNull @NotNull GoogleVideoExtension setAccessRestriction(@Nullable @Nullable GoogleVideoExtension.Access restriction, @Nullable @Nullable java.util.Collection<java.lang.String> countryCodes)
restriction- Parameters:
 restriction-countryCodes-- Returns:
 
 
- 
setPlatformRestriction
@NotNull @NotNull GoogleVideoExtension setPlatformRestriction(@Nullable @Nullable GoogleVideoExtension.Access restriction, @Nullable @Nullable java.util.Collection<GoogleVideoExtension.Platform> platforms)
platform- Parameters:
 restriction-platforms-- Returns:
 
 
- 
addPrice
@NotNull @NotNull GoogleVideoExtension addPrice(float price, @NotNull @NotNull java.lang.String currency, @Nullable @Nullable GoogleVideoExtension.PriceType type, @Nullable @Nullable GoogleVideoExtension.Resolution resolution)
 
- 
setRequiresSubscription
@NotNull @NotNull GoogleVideoExtension setRequiresSubscription(@Nullable @Nullable java.lang.Boolean requiresSubscription)
 
- 
setUploader
@NotNull @NotNull GoogleVideoExtension setUploader(@Nullable @Nullable java.lang.String uploader)
 
- 
setUploaderUrl
@NotNull @NotNull GoogleVideoExtension setUploaderUrl(@Nullable @Nullable java.lang.String uploaderInfo)
 
- 
setLive
@NotNull @NotNull GoogleVideoExtension setLive(@Nullable @Nullable java.lang.Boolean live)
 
 - 
 
 -