Indexables

public final class Indexables extends Object

Provides convenience methods to construct Indexables for common data types.

Public Method Summary

static AggregateRatingBuilder
aggregateRatingBuilder()
Returns a builder for an aggregate rating.
static AudiobookBuilder
audiobookBuilder()
Returns a builder for an audiobook.
static BookBuilder
bookBuilder()
Returns a builder for a book.
static ConversationBuilder
conversationBuilder()
Returns a builder for a conversation.
static DigitalDocumentBuilder
digitalDocumentBuilder()
Returns a builder for a generic digital document.
static DigitalDocumentPermissionBuilder
digitalDocumentPermissionBuilder()
Returns a builder for a digital document permission.
static MessageBuilder
emailMessageBuilder()
Returns a builder for an email message.
static GeoShapeBuilder
geoShapeBuilder()
Returns a builder for a geo area describe by a shape.
static LocalBusinessBuilder
localBusinessBuilder()
Returns a builder for a local business.
static MessageBuilder
messageBuilder()
Returns a builder for a generic message.
static MusicAlbumBuilder
musicAlbumBuilder()
Returns a builder for a music album.
static MusicGroupBuilder
musicGroupBuilder()
Returns a builder for a music group.
static MusicPlaylistBuilder
musicPlaylistBuilder()
Returns a builder for a music playlist.
static MusicRecordingBuilder
musicRecordingBuilder()
Returns a builder for a song or other music recording.
static Indexable
newSimple(String name, String url)
Constructs a generic Indexable with just a name and URL.
static DigitalDocumentBuilder
noteDigitalDocumentBuilder()
Returns a builder for a note.
static PersonBuilder
personBuilder()
Returns a builder for a person.
static PlaceBuilder
placeBuilder()
Returns a builder for a place.
static PostalAddressBuilder
postalAddressBuilder()
Returns a builder for a postal address.
static DigitalDocumentBuilder
presentationDigitalDocumentBuilder()
Returns a builder for a presentation digital document.
static ReservationBuilder
reservationBuilder()
Returns a builder for a reservation.
static LocalBusinessBuilder
restaurantBuilder()
Returns a builder for a restaurant.
static DigitalDocumentBuilder
spreadsheetDigitalDocumentBuilder()
Returns a builder for a spreadsheet digital document.
static StickerBuilder
stickerBuilder()
Returns a builder for a sticker.
static StickerPackBuilder
stickerPackBuilder()
Returns a builder for a sticker pack.
static DigitalDocumentBuilder
textDigitalDocumentBuilder()
Returns a builder for a text digital document.

Inherited Method Summary

Public Methods

public static AggregateRatingBuilder aggregateRatingBuilder ()

Returns a builder for an aggregate rating.

The aggregate rating builder can only be used as a parameter of other builders.

Refer to AggregateRatingBuilder for details.

public static AudiobookBuilder audiobookBuilder ()

Returns a builder for an audiobook.

Refer to AudiobookBuilder for details.

public static BookBuilder bookBuilder ()

Returns a builder for a book.

Refer to BookBuilder for details.

public static ConversationBuilder conversationBuilder ()

Returns a builder for a conversation.

Refer to ConversationBuilder for details.

public static DigitalDocumentBuilder digitalDocumentBuilder ()

Returns a builder for a generic digital document.

Refer to DigitalDocumentBuilder for details.

public static DigitalDocumentPermissionBuilder digitalDocumentPermissionBuilder ()

Returns a builder for a digital document permission.

Refer to DigitalDocumentPermissionBuilder for details.

public static MessageBuilder emailMessageBuilder ()

Returns a builder for an email message.

Refer to MessageBuilder for details.

public static GeoShapeBuilder geoShapeBuilder ()

Returns a builder for a geo area describe by a shape.

Refer to GeoShapeBuilder for details.

public static LocalBusinessBuilder localBusinessBuilder ()

Returns a builder for a local business.

Refer to LocalBusinessBuilder for details.

public static MessageBuilder messageBuilder ()

Returns a builder for a generic message.

Refer to MessageBuilder for details.

public static MusicAlbumBuilder musicAlbumBuilder ()

Returns a builder for a music album.

Refer to MusicAlbumBuilder for details.

public static MusicGroupBuilder musicGroupBuilder ()

Returns a builder for a music group.

Refer to MusicGroupBuilder for details.

public static MusicPlaylistBuilder musicPlaylistBuilder ()

Returns a builder for a music playlist.

Refer to MusicPlaylistBuilder for details.

public static MusicRecordingBuilder musicRecordingBuilder ()

Returns a builder for a song or other music recording.

Refer to MusicRecordingBuilder for details.

public static Indexable newSimple (String name, String url)

Constructs a generic Indexable with just a name and URL.

Refer to classes in the com.google.firebase.appindexing.builders package for details.

Parameters
name The name of the Indexable, must not be null.
url The URL of the Indexable, must be a valid URL.

public static DigitalDocumentBuilder noteDigitalDocumentBuilder ()

Returns a builder for a note.

Refer to DigitalDocumentBuilder for details.

public static PersonBuilder personBuilder ()

Returns a builder for a person.

Refer to PersonBuilder for details.

public static PlaceBuilder placeBuilder ()

Returns a builder for a place.

Refer to PlaceBuilder for details.

public static PostalAddressBuilder postalAddressBuilder ()

Returns a builder for a postal address.

The postal address builder can only be used as a parameter of other builders.

Refer to PostalAddressBuilder for details.

public static DigitalDocumentBuilder presentationDigitalDocumentBuilder ()

Returns a builder for a presentation digital document.

Refer to DigitalDocumentBuilder for details.

public static ReservationBuilder reservationBuilder ()

Returns a builder for a reservation.

Refer to ReservationBuilder for details.

public static LocalBusinessBuilder restaurantBuilder ()

Returns a builder for a restaurant.

Refer to LocalBusinessBuilder for details.

public static DigitalDocumentBuilder spreadsheetDigitalDocumentBuilder ()

Returns a builder for a spreadsheet digital document.

Refer to DigitalDocumentBuilder for details.

public static StickerBuilder stickerBuilder ()

Returns a builder for a sticker.

Refer to StickerBuilder for details.

public static StickerPackBuilder stickerPackBuilder ()

Returns a builder for a sticker pack.

Refer to StickerPackBuilder for details.

public static DigitalDocumentBuilder textDigitalDocumentBuilder ()

Returns a builder for a text digital document.

Refer to DigitalDocumentBuilder for details.

Send feedback about...

Need help? Visit our support page.