Builder to construct an Indexable
for a postal address.
The postal address can only be used as a parameter of other builders, and it cannot be
passed to
FirebaseAppIndex.update(Indexable...)
directly.
For reference, see: //schema.org/PostalAddress.
Public Method Summary
Inherited Method Summary
final Indexable |
build()
Finalize building the object.
|
T | |
<S extends IndexableBuilder<?>> T | |
T |
put(String key,
Indexable...
values)
Sets one or multiple
Indexable
values for a property, replacing its previous values.
|
T | |
T | |
T | |
final T | |
T | |
final T | |
final <S extends IndexableBuilder<?>> T |
setIsPartOf(S... collections)
Sets the sub-group or collection that this Indexable is part of.
|
final T | |
T | |
final T | |
final T | |
final T |
Public Methods
public PostalAddressBuilder setAddressCountry (String country)
Sets the country of the address.
Parameters
country | The country. For example, "USA". |
---|
public PostalAddressBuilder setAddressLocality (String addressLocality)
Sets the locality of the address.
Parameters
addressLocality | The locality. For example, "Mountain View". |
---|
public PostalAddressBuilder setPostalCode (String postalCode)
Sets the postal code of the address.
Parameters
postalCode | The postal code. For example, "94043". |
---|
public PostalAddressBuilder setStreetAddress (String streetAddress)
Sets the street address.
Parameters
streetAddress | The street address. For example, "1600 Amphitheatre Pkwy". |
---|