public final class

PersonBuilder

extends IndexableBuilder<PersonBuilder>
java.lang.Object
   ↳ com.google.firebase.appindexing.builders.IndexableBuilder<com.google.firebase.appindexing.builders.PersonBuilder>
     ↳ com.google.firebase.appindexing.builders.PersonBuilder

Class Overview

Builder to construct an Indexable for a person.

For reference, see: http://schema.org/Person.

Summary

Public Methods
PersonBuilder setEmail(String email)
Sets the email address of the person.
PersonBuilder setIsSelf(boolean isSelf)
Sets whether this person is the current user.
PersonBuilder setTelephone(String telephone)
Sets the telephone number of the person.
[Expand]
Inherited Methods
From class com.google.firebase.appindexing.builders.IndexableBuilder
From class java.lang.Object

Public Methods

public PersonBuilder setEmail (String email)

Sets the email address of the person.

Parameters
email String: The email address of the person.
Returns
PersonBuilder

public PersonBuilder setIsSelf (boolean isSelf)

Sets whether this person is the current user.

Parameters
isSelf boolean: Whether this person is the current user.
Returns
PersonBuilder

public PersonBuilder setTelephone (String telephone)

Sets the telephone number of the person.

Parameters
telephone String: The telephone number of the person.
Returns
PersonBuilder