Interface GoogleNewsExtension
- 
- All Superinterfaces:
 Extension
@ProviderType public interface GoogleNewsExtension extends Extension
An extension to add news metadata to anUrl.- See Also:
 - Google News sitemaps
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classGoogleNewsExtension.AccessRestrictionstatic classGoogleNewsExtension.Genre 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull GoogleNewsExtensionsetAccessRestriction(@Nullable GoogleNewsExtension.AccessRestriction accessRestriction)@NotNull GoogleNewsExtensionsetGenres(@Nullable java.util.Collection<GoogleNewsExtension.Genre> genres)@NotNull GoogleNewsExtensionsetKeywords(@Nullable java.util.Collection<java.lang.String> keywords)@NotNull GoogleNewsExtensionsetPublication(@NotNull java.lang.String name, @NotNull java.util.Locale locale)@NotNull GoogleNewsExtensionsetPublicationDate(@NotNull java.time.LocalDate date)@NotNull GoogleNewsExtensionsetPublicationDate(@NotNull java.time.OffsetDateTime date)@NotNull GoogleNewsExtensionsetStockTickers(@Nullable java.util.Collection<java.lang.String> stockTickers)@NotNull GoogleNewsExtensionsetTitle(@NotNull java.lang.String title) 
 - 
 
- 
- 
Method Detail
- 
setPublication
@NotNull @NotNull GoogleNewsExtension setPublication(@NotNull @NotNull java.lang.String name, @NotNull @NotNull java.util.Locale locale)
 
- 
setPublicationDate
@NotNull @NotNull GoogleNewsExtension setPublicationDate(@NotNull @NotNull java.time.OffsetDateTime date)
 
- 
setPublicationDate
@NotNull @NotNull GoogleNewsExtension setPublicationDate(@NotNull @NotNull java.time.LocalDate date)
 
- 
setTitle
@NotNull @NotNull GoogleNewsExtension setTitle(@NotNull @NotNull java.lang.String title)
 
- 
setAccessRestriction
@NotNull @NotNull GoogleNewsExtension setAccessRestriction(@Nullable @Nullable GoogleNewsExtension.AccessRestriction accessRestriction)
 
- 
setGenres
@NotNull @NotNull GoogleNewsExtension setGenres(@Nullable @Nullable java.util.Collection<GoogleNewsExtension.Genre> genres)
 
- 
setKeywords
@NotNull @NotNull GoogleNewsExtension setKeywords(@Nullable @Nullable java.util.Collection<java.lang.String> keywords)
 
- 
setStockTickers
@NotNull @NotNull GoogleNewsExtension setStockTickers(@Nullable @Nullable java.util.Collection<java.lang.String> stockTickers)
 
 - 
 
 -