/*
* Copyright 2016 Google Inc. All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
* ANY KIND, either express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.google.maps.model;
import com.google.maps.internal.StringJoin;
/**
* PlaceType is used by the Places API to restrict the results to places matching the specified
* type.
*/
public enum PlaceType implements StringJoin.UrlValue {
ACCOUNTING("accounting"),
AIRPORT("airport"),
AMUSEMENT_PARK("amusement_park"),
AQUARIUM("aquarium"),
ART_GALLERY("art_gallery"),
ATM("atm"),
BAKERY("bakery"),
BANK("bank"),
BAR("bar"),
BEAUTY_SALON("beauty_salon"),
BICYCLE_STORE("bicycle_store"),
BOOK_STORE("book_store"),
BOWLING_ALLEY("bowling_alley"),
BUS_STATION("bus_station"),
CAFE("cafe"),
CAMPGROUND("campground"),
CAR_DEALER("car_dealer"),
CAR_RENTAL("car_rental"),
CAR_REPAIR("car_repair"),
CAR_WASH("car_wash"),
CASINO("casino"),
CEMETERY("cemetery"),
CHURCH("church"),
CITY_HALL("city_hall"),
CLOTHING_STORE("clothing_store"),
CONVENIENCE_STORE("convenience_store"),
COURTHOUSE("courthouse"),
DENTIST("dentist"),
DEPARTMENT_STORE("department_store"),
DOCTOR("doctor"),
ELECTRICIAN("electrician"),
ELECTRONICS_STORE("electronics_store"),
EMBASSY("embassy"),
ESTABLISHMENT("establishment"),
FINANCE("finance"),
FIRE_STATION("fire_station"),
FLORIST("florist"),
FOOD("food"),
FUNERAL_HOME("funeral_home"),
FURNITURE_STORE("furniture_store"),
GAS_STATION("gas_station"),
GENERAL_CONTRACTOR("general_contractor"),
GROCERY_OR_SUPERMARKET("grocery_or_supermarket"),
GYM("gym"),
HAIR_CARE("hair_care"),
HARDWARE_STORE("hardware_store"),
HEALTH("health"),
HINDU_TEMPLE("hindu_temple"),
HOME_GOODS_STORE("home_goods_store"),
HOSPITAL("hospital"),
INSURANCE_AGENCY("insurance_agency"),
JEWELRY_STORE("jewelry_store"),
LAUNDRY("laundry"),
LAWYER("lawyer"),
LIBRARY("library"),
LIQUOR_STORE("liquor_store"),
LOCAL_GOVERNMENT_OFFICE("local_government_office"),
LOCKSMITH("locksmith"),
LODGING("lodging"),
MEAL_DELIVERY("meal_delivery"),
MEAL_TAKEAWAY("meal_takeaway"),
MOSQUE("mosque"),
MOVIE_RENTAL("movie_rental"),
MOVIE_THEATER("movie_theater"),
MOVING_COMPANY("moving_company"),
MUSEUM("museum"),
NIGHT_CLUB("night_club"),
PAINTER("painter"),
PARK("park"),
PARKING("parking"),
PET_STORE("pet_store"),
PHARMACY("pharmacy"),
PHYSIOTHERAPIST("physiotherapist"),
PLACE_OF_WORSHIP("place_of_worship"),
PLUMBER("plumber"),
POLICE("police"),
POST_OFFICE("post_office"),
REAL_ESTATE_AGENCY("real_estate_agency"),
RESTAURANT("restaurant"),
ROOFING_CONTRACTOR("roofing_contractor"),
RV_PARK("rv_park"),
SCHOOL("school"),
SHOE_STORE("shoe_store"),
SHOPPING_MALL("shopping_mall"),
SPA("spa"),
STADIUM("stadium"),
STORAGE("storage"),
STORE("store"),
SUBWAY_STATION("subway_station"),
SYNAGOGUE("synagogue"),
TAXI_STAND("taxi_stand"),
TRAIN_STATION("train_station"),
TRAVEL_AGENCY("travel_agency"),
UNIVERSITY("university"),
VETERINARY_CARE("veterinary_care"),
ZOO("zoo");
PlaceType(final String placeType) {
this.placeType = placeType;
}
private String placeType;
@Override
public String toUrlValue() {
return placeType;
}
@Override
public String toString() {
return placeType;
}
}