Indexables

public final class Indexables extends Object

Provides convenience methods to construct Indexables for common data types.

Public Method Summary

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 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 DigitalDocumentBuilder
presentationDigitalDocumentBuilder()
Returns a builder for a presentation digital document.
static DigitalDocumentBuilder
spreadsheetDigitalDocumentBuilder()
Returns a builder for a spreadsheet digital document.
static DigitalDocumentBuilder
textDigitalDocumentBuilder()
Returns a builder for a text digital document.

Inherited Method Summary

Public Methods

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 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 DigitalDocumentBuilder presentationDigitalDocumentBuilder ()

Returns a builder for a presentation digital document.

Refer to DigitalDocumentBuilder for details.

public static DigitalDocumentBuilder spreadsheetDigitalDocumentBuilder ()

Returns a builder for a spreadsheet digital document.

Refer to DigitalDocumentBuilder 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.