LocalBusinessBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
Sets the physical address of the local business.
Parameters
address |
The the physical address of the business. |
Sets the overall rating of the local business.
Parameters
aggregateRating |
The overall rating, based on a collection of reviews or ratings. |
Sets the geo coordinates of the local business.
Parameters
geoShape |
The geo coordinates of the local business. |
Sets the price range of the local business.
Parameters
priceRange |
The price range of the business. For example, "$11-30". |
Sets the telephone number of the local business.
Parameters
telephone |
The telephone number of the business. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-11 UTC.
[null,null,["Last updated 2021-02-11 UTC."],[],[],null,["public final class **LocalBusinessBuilder** extends [IndexableBuilder](/docs/reference/android/com/google/firebase/appindexing/builders/IndexableBuilder)\\\u003c[LocalBusinessBuilder](/docs/reference/android/com/google/firebase/appindexing/builders/LocalBusinessBuilder)\\\u003e \nBuilder to construct an [Indexable](/docs/reference/android/com/google/firebase/appindexing/Indexable)\nfor a local business.\n\nFor reference, see: \u003c//schema.org/LocalBusiness\u003e. \n\nPublic Method Summary\n\nInherited Method Summary \nFrom class [com.google.firebase.appindexing.builders.IndexableBuilder](/docs/reference/android/com/google/firebase/appindexing/builders/IndexableBuilder) \n\nFrom class java.lang.Object \n\nPublic Methods \n\npublic [LocalBusinessBuilder](/docs/reference/android/com/google/firebase/appindexing/builders/LocalBusinessBuilder) **setAddress**\n([PostalAddressBuilder](/docs/reference/android/com/google/firebase/appindexing/builders/PostalAddressBuilder) address) \nSets the physical address of the local business. \n\nParameters\n\npublic [LocalBusinessBuilder](/docs/reference/android/com/google/firebase/appindexing/builders/LocalBusinessBuilder) **setAggregateRating** ([AggregateRatingBuilder](/docs/reference/android/com/google/firebase/appindexing/builders/AggregateRatingBuilder) aggregateRating) \nSets the overall rating of the local business. \n\nParameters\n\npublic [LocalBusinessBuilder](/docs/reference/android/com/google/firebase/appindexing/builders/LocalBusinessBuilder) **setGeo**\n([GeoShapeBuilder](/docs/reference/android/com/google/firebase/appindexing/builders/GeoShapeBuilder) geoShape) \nSets the geo coordinates of the local business. \n\nParameters\n\npublic [LocalBusinessBuilder](/docs/reference/android/com/google/firebase/appindexing/builders/LocalBusinessBuilder) **setPriceRange**\n([String](//developer.android.com/reference/java/lang/String.html) priceRange) \nSets the price range of the local business. \n\nParameters\n\npublic [LocalBusinessBuilder](/docs/reference/android/com/google/firebase/appindexing/builders/LocalBusinessBuilder) **setTelephone**\n([String](//developer.android.com/reference/java/lang/String.html) telephone) \nSets the telephone number of the local business. \n\nParameters"]]