Enum PlaceType

  • All Implemented Interfaces:
    com.google.maps.internal.StringJoin.UrlValue, java.io.Serializable, java.lang.Comparable<PlaceType>

    public enum PlaceType
    extends java.lang.Enum<PlaceType>
    implements com.google.maps.internal.StringJoin.UrlValue
    Used by the Places API to restrict the results to places matching the specified type.
    • Enum Constant Detail

      • ACCOUNTING

        public static final PlaceType ACCOUNTING
      • AIRPORT

        public static final PlaceType AIRPORT
      • AMUSEMENT_PARK

        public static final PlaceType AMUSEMENT_PARK
      • AQUARIUM

        public static final PlaceType AQUARIUM
      • ART_GALLERY

        public static final PlaceType ART_GALLERY
      • BAKERY

        public static final PlaceType BAKERY
      • BEAUTY_SALON

        public static final PlaceType BEAUTY_SALON
      • BICYCLE_STORE

        public static final PlaceType BICYCLE_STORE
      • BOOK_STORE

        public static final PlaceType BOOK_STORE
      • BOWLING_ALLEY

        public static final PlaceType BOWLING_ALLEY
      • BUS_STATION

        public static final PlaceType BUS_STATION
      • CAMPGROUND

        public static final PlaceType CAMPGROUND
      • CAR_DEALER

        public static final PlaceType CAR_DEALER
      • CAR_RENTAL

        public static final PlaceType CAR_RENTAL
      • CAR_REPAIR

        public static final PlaceType CAR_REPAIR
      • CAR_WASH

        public static final PlaceType CAR_WASH
      • CASINO

        public static final PlaceType CASINO
      • CEMETERY

        public static final PlaceType CEMETERY
      • CHURCH

        public static final PlaceType CHURCH
      • CITY_HALL

        public static final PlaceType CITY_HALL
      • CLOTHING_STORE

        public static final PlaceType CLOTHING_STORE
      • CONVENIENCE_STORE

        public static final PlaceType CONVENIENCE_STORE
      • COURTHOUSE

        public static final PlaceType COURTHOUSE
      • DENTIST

        public static final PlaceType DENTIST
      • DEPARTMENT_STORE

        public static final PlaceType DEPARTMENT_STORE
      • DOCTOR

        public static final PlaceType DOCTOR
      • DRUGSTORE

        public static final PlaceType DRUGSTORE
      • ELECTRICIAN

        public static final PlaceType ELECTRICIAN
      • ELECTRONICS_STORE

        public static final PlaceType ELECTRONICS_STORE
      • EMBASSY

        public static final PlaceType EMBASSY
      • ESTABLISHMENT

        @Deprecated
        public static final PlaceType ESTABLISHMENT
        Deprecated.
      • FINANCE

        @Deprecated
        public static final PlaceType FINANCE
        Deprecated.
      • FIRE_STATION

        public static final PlaceType FIRE_STATION
      • FLORIST

        public static final PlaceType FLORIST
      • FOOD

        @Deprecated
        public static final PlaceType FOOD
        Deprecated.
      • FUNERAL_HOME

        public static final PlaceType FUNERAL_HOME
      • FURNITURE_STORE

        public static final PlaceType FURNITURE_STORE
      • GAS_STATION

        public static final PlaceType GAS_STATION
      • GENERAL_CONTRACTOR

        @Deprecated
        public static final PlaceType GENERAL_CONTRACTOR
        Deprecated.
      • GROCERY_OR_SUPERMARKET

        public static final PlaceType GROCERY_OR_SUPERMARKET
      • HAIR_CARE

        public static final PlaceType HAIR_CARE
      • HARDWARE_STORE

        public static final PlaceType HARDWARE_STORE
      • HEALTH

        @Deprecated
        public static final PlaceType HEALTH
        Deprecated.
      • HINDU_TEMPLE

        public static final PlaceType HINDU_TEMPLE
      • HOME_GOODS_STORE

        public static final PlaceType HOME_GOODS_STORE
      • HOSPITAL

        public static final PlaceType HOSPITAL
      • INSURANCE_AGENCY

        public static final PlaceType INSURANCE_AGENCY
      • JEWELRY_STORE

        public static final PlaceType JEWELRY_STORE
      • LAUNDRY

        public static final PlaceType LAUNDRY
      • LAWYER

        public static final PlaceType LAWYER
      • LIBRARY

        public static final PlaceType LIBRARY
      • LIGHT_RAIL_STATION

        public static final PlaceType LIGHT_RAIL_STATION
      • LIQUOR_STORE

        public static final PlaceType LIQUOR_STORE
      • LOCAL_GOVERNMENT_OFFICE

        public static final PlaceType LOCAL_GOVERNMENT_OFFICE
      • LOCKSMITH

        public static final PlaceType LOCKSMITH
      • LODGING

        public static final PlaceType LODGING
      • MEAL_DELIVERY

        public static final PlaceType MEAL_DELIVERY
      • MEAL_TAKEAWAY

        public static final PlaceType MEAL_TAKEAWAY
      • MOSQUE

        public static final PlaceType MOSQUE
      • MOVIE_RENTAL

        public static final PlaceType MOVIE_RENTAL
      • MOVIE_THEATER

        public static final PlaceType MOVIE_THEATER
      • MOVING_COMPANY

        public static final PlaceType MOVING_COMPANY
      • MUSEUM

        public static final PlaceType MUSEUM
      • NIGHT_CLUB

        public static final PlaceType NIGHT_CLUB
      • PAINTER

        public static final PlaceType PAINTER
      • PARKING

        public static final PlaceType PARKING
      • PET_STORE

        public static final PlaceType PET_STORE
      • PHARMACY

        public static final PlaceType PHARMACY
      • PHYSIOTHERAPIST

        public static final PlaceType PHYSIOTHERAPIST
      • PLACE_OF_WORSHIP

        @Deprecated
        public static final PlaceType PLACE_OF_WORSHIP
        Deprecated.
      • PLUMBER

        public static final PlaceType PLUMBER
      • POLICE

        public static final PlaceType POLICE
      • POST_OFFICE

        public static final PlaceType POST_OFFICE
      • PRIMARY_SCHOOL

        public static final PlaceType PRIMARY_SCHOOL
      • REAL_ESTATE_AGENCY

        public static final PlaceType REAL_ESTATE_AGENCY
      • RESTAURANT

        public static final PlaceType RESTAURANT
      • ROOFING_CONTRACTOR

        public static final PlaceType ROOFING_CONTRACTOR
      • RV_PARK

        public static final PlaceType RV_PARK
      • SCHOOL

        public static final PlaceType SCHOOL
      • SECONDARY_SCHOOL

        public static final PlaceType SECONDARY_SCHOOL
      • SHOE_STORE

        public static final PlaceType SHOE_STORE
      • SHOPPING_MALL

        public static final PlaceType SHOPPING_MALL
      • STADIUM

        public static final PlaceType STADIUM
      • STORAGE

        public static final PlaceType STORAGE
      • SUBWAY_STATION

        public static final PlaceType SUBWAY_STATION
      • SUPERMARKET

        public static final PlaceType SUPERMARKET
      • SYNAGOGUE

        public static final PlaceType SYNAGOGUE
      • TAXI_STAND

        public static final PlaceType TAXI_STAND
      • TOURIST_ATTRACTION

        public static final PlaceType TOURIST_ATTRACTION
      • TRAIN_STATION

        public static final PlaceType TRAIN_STATION
      • TRANSIT_STATION

        public static final PlaceType TRANSIT_STATION
      • TRAVEL_AGENCY

        public static final PlaceType TRAVEL_AGENCY
      • UNIVERSITY

        public static final PlaceType UNIVERSITY
      • VETERINARY_CARE

        public static final PlaceType VETERINARY_CARE
    • Method Detail

      • values

        public static PlaceType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PlaceType c : PlaceType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PlaceType valueOf​(java.lang.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.)
        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 name
        java.lang.NullPointerException - if the argument is null
      • toUrlValue

        public java.lang.String toUrlValue()
        Specified by:
        toUrlValue in interface com.google.maps.internal.StringJoin.UrlValue
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<PlaceType>