Place.Field

public enum Place.Field implements Parcelable


Use the values of Place.Field to specify which place data types to return.

Summary

Enum Values

ACCESSIBILITY_OPTIONS
ADDRESS_COMPONENTS
ADDRESS_DESCRIPTOR
ADR_FORMAT_ADDRESS
ALLOWS_DOGS
BUSINESS_STATUS
CONSUMER_ALERT
CONTAINING_PLACES
CURBSIDE_PICKUP
CURRENT_OPENING_HOURS
CURRENT_SECONDARY_OPENING_HOURS
DELIVERY
DINE_IN
DISPLAY_NAME
EDITORIAL_SUMMARY
EV_CHARGE_AMENITY_SUMMARY
EV_CHARGE_OPTIONS
FORMATTED_ADDRESS
FUEL_OPTIONS
GENERATIVE_SUMMARY
GOOD_FOR_CHILDREN
GOOD_FOR_GROUPS
GOOD_FOR_WATCHING_SPORTS
GOOGLE_MAPS_LINKS
GOOGLE_MAPS_URI
ICON_BACKGROUND_COLOR
ICON_MASK_URL
ID
INTERNATIONAL_PHONE_NUMBER
LIVE_MUSIC
LOCATION
MENU_FOR_CHILDREN
NATIONAL_PHONE_NUMBER
NEIGHBORHOOD_SUMMARY
OPENING_HOURS
OUTDOOR_SEATING
PARKING_OPTIONS
PAYMENT_OPTIONS
PHOTO_METADATAS

This enum value is deprecated.

Update your code to use the Place Details component in Places UI Kit, which provides a pre-built UI to display place details including photos and reviews that automatically handles required attributions.

PLUS_CODE
POSTAL_ADDRESS
PRICE_LEVEL
PRICE_RANGE
PRIMARY_TYPE
PRIMARY_TYPE_DISPLAY_NAME
PURE_SERVICE_AREA_BUSINESS
RATING
RESERVABLE
RESOURCE_NAME
RESTROOM
REVIEWS

This enum value is deprecated.

Update your code to use the Place Details component in Places UI Kit, which provides a pre-built UI to display place details including photos and reviews that automatically handles required attributions.

REVIEW_SUMMARY
SECONDARY_OPENING_HOURS
SERVES_BEER
SERVES_BREAKFAST
SERVES_BRUNCH
SERVES_COCKTAILS
SERVES_COFFEE
SERVES_DESSERT
SERVES_DINNER
SERVES_LUNCH
SERVES_VEGETARIAN_FOOD
SERVES_WINE
SHORT_FORMATTED_ADDRESS
SUB_DESTINATIONS
TAKEOUT
TIME_ZONE
TYPES
USER_RATING_COUNT
UTC_OFFSET
VIEWPORT
WEBSITE_URI

Constants

static final Parcelable.Creator<Place.Field>

Public methods

int
static Place.Field

Returns the enum constant of this type with the specified name.

static Place.Field[]

Returns an array containing the constants of this enum type, in the order they're declared.

void
writeToParcel(Parcel dest, int flags)

Inherited methods

From android.os.Parcelable
int

Enum Values

CURRENT_SECONDARY_OPENING_HOURS

Place.Field Place.Field.CURRENT_SECONDARY_OPENING_HOURS

PHOTO_METADATAS

Place.Field Place.Field.PHOTO_METADATAS

REVIEWS

Place.Field Place.Field.REVIEWS

Constants

CREATOR

public static final Parcelable.Creator<Place.Field> CREATOR

Public methods

describeContents

public int describeContents()

valueOf

public static Place.Field valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns
Place.Field

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

public static Place.Field[] values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Returns
Place.Field[]

an array containing the constants of this enum type, in the order they're declared

writeToParcel

public void writeToParcel(Parcel dest, int flags)