Package ai.nextbillion.maps.model
Enum PlaceType
java.lang.Object
java.lang.Enum<PlaceType>
ai.nextbillion.maps.model.PlaceType
- All Implemented Interfaces:
StringJoin.UrlValue,java.io.Serializable,java.lang.Comparable<PlaceType>,java.lang.constant.Constable
public enum PlaceType extends java.lang.Enum<PlaceType> implements StringJoin.UrlValue
Used by the Places API to restrict the results to places matching the specified type.
-
Nested Class Summary
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description java.lang.StringtoString()java.lang.StringtoUrlValue()static PlaceTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PlaceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ACCOUNTING
-
AIRPORT
-
AMUSEMENT_PARK
-
AQUARIUM
-
ART_GALLERY
-
ATM
-
BAKERY
-
BANK
-
BAR
-
BEAUTY_SALON
-
BICYCLE_STORE
-
BOOK_STORE
-
BOWLING_ALLEY
-
BUS_STATION
-
CAFE
-
CAMPGROUND
-
CAR_DEALER
-
CAR_RENTAL
-
CAR_REPAIR
-
CAR_WASH
-
CASINO
-
CEMETERY
-
CHURCH
-
CITY_HALL
-
CLOTHING_STORE
-
CONVENIENCE_STORE
-
COURTHOUSE
-
DENTIST
-
DEPARTMENT_STORE
-
DOCTOR
-
DRUGSTORE
-
ELECTRICIAN
-
ELECTRONICS_STORE
-
EMBASSY
-
ESTABLISHMENT
Deprecated. -
FINANCE
Deprecated. -
FIRE_STATION
-
FLORIST
-
FOOD
Deprecated. -
FUNERAL_HOME
-
FURNITURE_STORE
-
GAS_STATION
-
GENERAL_CONTRACTOR
Deprecated. -
GROCERY_OR_SUPERMARKET
-
GYM
-
HAIR_CARE
-
HARDWARE_STORE
-
HEALTH
Deprecated. -
HINDU_TEMPLE
-
HOME_GOODS_STORE
-
HOSPITAL
-
INSURANCE_AGENCY
-
JEWELRY_STORE
-
LAUNDRY
-
LAWYER
-
LIBRARY
-
LIGHT_RAIL_STATION
-
LIQUOR_STORE
-
LOCAL_GOVERNMENT_OFFICE
-
LOCKSMITH
-
LODGING
-
MEAL_DELIVERY
-
MEAL_TAKEAWAY
-
MOSQUE
-
MOVIE_RENTAL
-
MOVIE_THEATER
-
MOVING_COMPANY
-
MUSEUM
-
NIGHT_CLUB
-
PAINTER
-
PARK
-
PARKING
-
PET_STORE
-
PHARMACY
-
PHYSIOTHERAPIST
-
PLACE_OF_WORSHIP
Deprecated. -
PLUMBER
-
POLICE
-
POST_OFFICE
-
PRIMARY_SCHOOL
-
REAL_ESTATE_AGENCY
-
RESTAURANT
-
ROOFING_CONTRACTOR
-
RV_PARK
-
SCHOOL
-
SECONDARY_SCHOOL
-
SHOE_STORE
-
SHOPPING_MALL
-
SPA
-
STADIUM
-
STORAGE
-
STORE
-
SUBWAY_STATION
-
SUPERMARKET
-
SYNAGOGUE
-
TAXI_STAND
-
TOURIST_ATTRACTION
-
TRAIN_STATION
-
TRANSIT_STATION
-
TRAVEL_AGENCY
-
UNIVERSITY
-
VETERINARY_CARE
-
ZOO
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toUrlValue
public java.lang.String toUrlValue()- Specified by:
toUrlValuein interfaceStringJoin.UrlValue- Returns:
- the object, represented as a URL value (not URL encoded).
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Enum<PlaceType>
-