public final class

Person.Builder

extends androidx.appsearch.builtintypes.Person.BuilderImpl<Person.Builder>

 java.lang.Object

↳androidx.appsearch.builtintypes.Thing.BuilderImpl<androidx.appsearch.builtintypes.Person.BuilderImpl>

↳androidx.appsearch.builtintypes.Person.BuilderImpl<Person.Builder>

↳androidx.appsearch.builtintypes.Person.Builder

Overview

Builder class for Person.

Summary

Fields
from androidx.appsearch.builtintypes.Thing.BuilderImpl<T>mAlternateNames, mCreationTimestampMillis, mDescription, mDocumentScore, mDocumentTtlMillis, mId, mImage, mName, mNamespace, mPotentialActions, mUrl
Constructors
publicBuilder(Person person)

Constructor for Person.Builder with all the existing values of an Person.

publicBuilder(java.lang.String namespace, java.lang.String id, java.lang.String name)

Constructor for Person.Builder.

Methods
from androidx.appsearch.builtintypes.Person.BuilderImpl<T>build, setAdditionalNames, setAffiliations, setBot, setContactPoints, setExternalUri, setFamilyName, setGivenName, setImageUri, setImportant, setMiddleName, setNotes, setRelations
from androidx.appsearch.builtintypes.Thing.BuilderImpl<T>addAlternateName, addPotentialAction, clearAlternateNames, clearPotentialActions, setAlternateNames, setCreationTimestampMillis, setDescription, setDocumentScore, setDocumentTtlMillis, setImage, setName, setPotentialActions, setUrl
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder(java.lang.String namespace, java.lang.String id, java.lang.String name)

Constructor for Person.Builder.

Parameters:

namespace: Namespace for the Person Document. See .
id: Unique identifier for the Person Document. See .
name: The searchable full name of this Person. E.g. "Larry Page", or "Page, Larry".

public Builder(Person person)

Constructor for Person.Builder with all the existing values of an Person.