java.lang.Object | ||
↳ | com.google.firebase.appindexing.builders.IndexableBuilder<com.google.firebase.appindexing.builders.PostalAddressBuilder> | |
↳ | com.google.firebase.appindexing.builders.PostalAddressBuilder |
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 update(Indexable...)
directly.
For reference, see: http://schema.org/PostalAddress.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Sets the country of the address.
| |||||||||||
Sets the locality of the address.
| |||||||||||
Sets the postal code of the address.
| |||||||||||
Sets the street address.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Sets the country of the address.
Parameters | |
---|---|
country |
String :
The country. For example, "USA".
|
Returns | |
---|---|
PostalAddressBuilder |
Sets the locality of the address.
Parameters | |
---|---|
addressLocality |
String :
The locality. For example, "Mountain View".
|
Returns | |
---|---|
PostalAddressBuilder |
Sets the postal code of the address.
Parameters | |
---|---|
postalCode |
String :
The postal code. For example, "94043".
|
Returns | |
---|---|
PostalAddressBuilder |
Sets the street address.
Parameters | |
---|---|
streetAddress |
String :
The street address. For example, "1600 Amphitheatre Pkwy".
|
Returns | |
---|---|
PostalAddressBuilder |