Package ai.nextbillion.maps.model
Enum AddressType
java.lang.Object
java.lang.Enum<AddressType>
ai.nextbillion.maps.model.AddressType
- All Implemented Interfaces:
StringJoin.UrlValue,java.io.Serializable,java.lang.Comparable<AddressType>,java.lang.constant.Constable
public enum AddressType extends java.lang.Enum<AddressType> implements StringJoin.UrlValue
The Address types. Please see Address Types and
Address Component Types for more detail. Some addresses contain additional place categories.
Please see Place Types for
more detail.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCOUNTINGCurrently not a documented return type.ADMINISTRATIVE_AREA_LEVEL_1A first-order civil entity below the country level.ADMINISTRATIVE_AREA_LEVEL_2A second-order civil entity below the country level.ADMINISTRATIVE_AREA_LEVEL_3A third-order civil entity below the country level.ADMINISTRATIVE_AREA_LEVEL_4A fourth-order civil entity below the country level.ADMINISTRATIVE_AREA_LEVEL_5A fifth-order civil entity below the country level.AIRPORTAn airport.AMUSEMENT_PARKCurrently not a documented return type.AQUARIUMCurrently not a documented return type.ARCHIPELAGOAn archipelago.ART_GALLERYCurrently not a documented return type.ATMCurrently not a documented return type.BAKERYCurrently not a documented return type.BANKCurrently not a documented return type.BARCurrently not a documented return type.BEAUTY_SALONCurrently not a documented return type.BICYCLE_STORECurrently not a documented return type.BOOK_STORECurrently not a documented return type.BOWLING_ALLEYCurrently not a documented return type.BUS_STATIONThe location of a bus stop.CAFECurrently not a documented return type.CAMPGROUNDCurrently not a documented return type.CAR_DEALERCurrently not a documented return type.CAR_RENTALCurrently not a documented return type.CAR_REPAIRCurrently not a documented return type.CAR_WASHCurrently not a documented return type.CASINOCurrently not a documented return type.CEMETERYCurrently not a documented return type.CHURCHThe location of a church.CITY_HALLCurrently not a documented return type.CLOTHING_STORECurrently not a documented return type.COLLOQUIAL_AREAA commonly-used alternative name for the entity.CONTINENTA continent.CONVENIENCE_STORECurrently not a documented return type.COUNTRYThe national political entity, typically the highest order type returned by the Geocoder.COURTHOUSECurrently not a documented return type.DENTISTCurrently not a documented return type.DEPARTMENT_STORECurrently not a documented return type.DOCTORCurrently not a documented return type.DRUGSTOREThe location of a drugstore.ELECTRICIANCurrently not a documented return type.ELECTRONICS_STORECurrently not a documented return type.EMBASSYCurrently not a documented return type.ESTABLISHMENTA place that has not yet been categorized.FINANCEThe location of a finance institute.FIRE_STATIONCurrently not a documented return type.FLOORThe floor in the address of the building.FLORISTCurrently not a documented return type.FOODCurrently not a documented return type.FUNERAL_HOMECurrently not a documented return type.FURNITURE_STORECurrently not a documented return type.GAS_STATIONCurrently not a documented return type.GENERAL_CONTRACTORCurrently not a documented return type.GROCERY_OR_SUPERMARKETCurrently not a documented return type.GYMCurrently not a documented return type.HAIR_CARECurrently not a documented return type.HARDWARE_STORECurrently not a documented return type.HEALTHCurrently not a documented return type.HINDU_TEMPLECurrently not a documented return type.HOME_GOODS_STORECurrently not a documented return type.HOSPITALCurrently not a documented return type.INSURANCE_AGENCYCurrently not a documented return type.INTERSECTIONA major intersection, usually of two major roads.JEWELRY_STORECurrently not a documented return type.LAUNDRYCurrently not a documented return type.LAWYERCurrently not a documented return type.LIBRARYCurrently not a documented return type.LIGHT_RAIL_STATIONThe location of a light rail station.LIQUOR_STORECurrently not a documented return type.LOCAL_GOVERNMENT_OFFICECurrently not a documented return type.LOCALITYAn incorporated city or town political entity.LOCKSMITHCurrently not a documented return type.LODGINGCurrently not a documented return type.MEAL_DELIVERYCurrently not a documented return type.MEAL_TAKEAWAYCurrently not a documented return type.MOSQUECurrently not a documented return type.MOVIE_RENTALCurrently not a documented return type.MOVIE_THEATERCurrently not a documented return type.MOVING_COMPANYCurrently not a documented return type.MUSEUMA museum.NATURAL_FEATUREA prominent natural feature.NEIGHBORHOODA named neighborhood.NIGHT_CLUBCurrently not a documented return type.PAINTERCurrently not a documented return type.PARKA named park.PARKINGCurrently not a documented return type.PET_STORECurrently not a documented return type.PHARMACYCurrently not a documented return type.PHYSIOTHERAPISTCurrently not a documented return type.PLACE_OF_WORSHIPThe location of a place of worship.PLUMBERCurrently not a documented return type.POINT_OF_INTERESTA named point of interest.POLICECurrently not a documented return type.POLITICALA political entity.POST_BOXA specific mailbox.POST_OFFICEThe location of a post office.POSTAL_CODEA postal code as used to address postal mail within the country.POSTAL_CODE_PREFIXA postal code prefix as used to address postal mail within the country.POSTAL_CODE_SUFFIXA postal code prefix as used to address postal mail within the country.POSTAL_TOWNA grouping of geographic areas, such as locality and sublocality, used for mailing addresses in some countries.PREMISEA named location, usually a building or collection of buildings with a common name.PRIMARY_SCHOOLThe location of a primary school.REAL_ESTATE_AGENCYCurrently not a documented return type.RESTAURANTCurrently not a documented return type.ROOFING_CONTRACTORCurrently not a documented return type.ROOMThe room in the address of the buildingROUTEA named route (such as "US 101").RV_PARKCurrently not a documented return type.SCHOOLCurrently not a documented return type.SECONDARY_SCHOOLThe location of a secondary school.SHOE_STORECurrently not a documented return type.SHOPPING_MALLCurrently not a documented return type.SPACurrently not a documented return type.STADIUMCurrently not a documented return type.STORAGECurrently not a documented return type.STORECurrently not a documented return type.STREET_ADDRESSA precise street address.STREET_NUMBERA precise street number.SUBLOCALITYA first-order civil entity below a locality.SUBLOCALITY_LEVEL_1SUBLOCALITY_LEVEL_2SUBLOCALITY_LEVEL_3SUBLOCALITY_LEVEL_4SUBLOCALITY_LEVEL_5SUBPREMISEA first-order entity below a named location, usually a singular building within a collection of buildings with a common name.SUBWAY_STATIONThe location of a subway station.SUPERMARKETCurrently not a documented return type.SYNAGOGUECurrently not a documented return type.TAXI_STANDCurrently not a documented return type.TOURIST_ATTRACTIONA tourist attractionTOWN_SQUARECurrently not a documented return type.TRAIN_STATIONThe location of a train station.TRANSIT_STATIONThe location of a transit station.TRAVEL_AGENCYCurrently not a documented return type.UNIVERSITYA university.UNKNOWNIndicates an unknown address type returned by the server.VETERINARY_CARECurrently not a documented return type.WARDA specific type of Japanese locality, used to facilitate distinction between multiple locality components within a Japanese address.ZOOCurrently not a documented return type. -
Method Summary
Modifier and Type Method Description java.lang.StringtoCanonicalLiteral()java.lang.StringtoString()java.lang.StringtoUrlValue()static AddressTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AddressType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STREET_ADDRESS
A precise street address. -
STREET_NUMBER
A precise street number. -
FLOOR
The floor in the address of the building. -
ROOM
The room in the address of the building -
POST_BOX
A specific mailbox. -
ROUTE
A named route (such as "US 101"). -
INTERSECTION
A major intersection, usually of two major roads. -
CONTINENT
A continent. -
POLITICAL
A political entity. Usually, this type indicates a polygon of some civil administration. -
COUNTRY
The national political entity, typically the highest order type returned by the Geocoder. -
ADMINISTRATIVE_AREA_LEVEL_1
A first-order civil entity below the country level. Within the United States, these administrative levels are states. Not all nations exhibit these administrative levels. -
ADMINISTRATIVE_AREA_LEVEL_2
A second-order civil entity below the country level. Within the United States, these administrative levels are counties. Not all nations exhibit these administrative levels. -
ADMINISTRATIVE_AREA_LEVEL_3
A third-order civil entity below the country level. This type indicates a minor civil division. Not all nations exhibit these administrative levels. -
ADMINISTRATIVE_AREA_LEVEL_4
A fourth-order civil entity below the country level. This type indicates a minor civil division. Not all nations exhibit these administrative levels. -
ADMINISTRATIVE_AREA_LEVEL_5
A fifth-order civil entity below the country level. This type indicates a minor civil division. Not all nations exhibit these administrative levels. -
COLLOQUIAL_AREA
A commonly-used alternative name for the entity. -
LOCALITY
An incorporated city or town political entity. -
WARD
A specific type of Japanese locality, used to facilitate distinction between multiple locality components within a Japanese address. -
SUBLOCALITY
A first-order civil entity below a locality. Some locations may receive one of the additional types:SUBLOCALITY_LEVEL_1toSUBLOCALITY_LEVEL_5. Each sublocality level is a civil entity. Larger numbers indicate a smaller geographic area. -
SUBLOCALITY_LEVEL_1
-
SUBLOCALITY_LEVEL_2
-
SUBLOCALITY_LEVEL_3
-
SUBLOCALITY_LEVEL_4
-
SUBLOCALITY_LEVEL_5
-
NEIGHBORHOOD
A named neighborhood. -
PREMISE
A named location, usually a building or collection of buildings with a common name. -
SUBPREMISE
A first-order entity below a named location, usually a singular building within a collection of buildings with a common name. -
POSTAL_CODE
A postal code as used to address postal mail within the country. -
POSTAL_CODE_PREFIX
A postal code prefix as used to address postal mail within the country. -
POSTAL_CODE_SUFFIX
A postal code prefix as used to address postal mail within the country. -
NATURAL_FEATURE
A prominent natural feature. -
AIRPORT
An airport. -
UNIVERSITY
A university. -
PARK
A named park. -
MUSEUM
A museum. -
POINT_OF_INTEREST
A named point of interest. Typically, these "POI"s are prominent local entities that don't easily fit in another category, such as "Empire State Building" or "Statue of Liberty." -
ESTABLISHMENT
A place that has not yet been categorized. -
BUS_STATION
The location of a bus stop. -
TRAIN_STATION
The location of a train station. -
SUBWAY_STATION
The location of a subway station. -
TRANSIT_STATION
The location of a transit station. -
LIGHT_RAIL_STATION
The location of a light rail station. -
CHURCH
The location of a church. -
PRIMARY_SCHOOL
The location of a primary school. -
SECONDARY_SCHOOL
The location of a secondary school. -
FINANCE
The location of a finance institute. -
POST_OFFICE
The location of a post office. -
PLACE_OF_WORSHIP
The location of a place of worship. -
POSTAL_TOWN
A grouping of geographic areas, such as locality and sublocality, used for mailing addresses in some countries. -
SYNAGOGUE
Currently not a documented return type. -
FOOD
Currently not a documented return type. -
GROCERY_OR_SUPERMARKET
Currently not a documented return type. -
STORE
Currently not a documented return type. -
DRUGSTORE
The location of a drugstore. -
LAWYER
Currently not a documented return type. -
HEALTH
Currently not a documented return type. -
INSURANCE_AGENCY
Currently not a documented return type. -
GAS_STATION
Currently not a documented return type. -
CAR_DEALER
Currently not a documented return type. -
CAR_REPAIR
Currently not a documented return type. -
MEAL_TAKEAWAY
Currently not a documented return type. -
FURNITURE_STORE
Currently not a documented return type. -
HOME_GOODS_STORE
Currently not a documented return type. -
SHOPPING_MALL
Currently not a documented return type. -
GYM
Currently not a documented return type. -
ACCOUNTING
Currently not a documented return type. -
MOVING_COMPANY
Currently not a documented return type. -
LODGING
Currently not a documented return type. -
STORAGE
Currently not a documented return type. -
CASINO
Currently not a documented return type. -
PARKING
Currently not a documented return type. -
STADIUM
Currently not a documented return type. -
TRAVEL_AGENCY
Currently not a documented return type. -
NIGHT_CLUB
Currently not a documented return type. -
BEAUTY_SALON
Currently not a documented return type. -
HAIR_CARE
Currently not a documented return type. -
SPA
Currently not a documented return type. -
SHOE_STORE
Currently not a documented return type. -
BAKERY
Currently not a documented return type. -
PHARMACY
Currently not a documented return type. -
SCHOOL
Currently not a documented return type. -
BOOK_STORE
Currently not a documented return type. -
DEPARTMENT_STORE
Currently not a documented return type. -
RESTAURANT
Currently not a documented return type. -
REAL_ESTATE_AGENCY
Currently not a documented return type. -
BAR
Currently not a documented return type. -
DOCTOR
Currently not a documented return type. -
HOSPITAL
Currently not a documented return type. -
FIRE_STATION
Currently not a documented return type. -
SUPERMARKET
Currently not a documented return type. -
CITY_HALL
Currently not a documented return type. -
LOCAL_GOVERNMENT_OFFICE
Currently not a documented return type. -
ATM
Currently not a documented return type. -
BANK
Currently not a documented return type. -
LIBRARY
Currently not a documented return type. -
CAR_WASH
Currently not a documented return type. -
HARDWARE_STORE
Currently not a documented return type. -
AMUSEMENT_PARK
Currently not a documented return type. -
AQUARIUM
Currently not a documented return type. -
ART_GALLERY
Currently not a documented return type. -
BICYCLE_STORE
Currently not a documented return type. -
BOWLING_ALLEY
Currently not a documented return type. -
CAFE
Currently not a documented return type. -
CAMPGROUND
Currently not a documented return type. -
CAR_RENTAL
Currently not a documented return type. -
CEMETERY
Currently not a documented return type. -
CLOTHING_STORE
Currently not a documented return type. -
CONVENIENCE_STORE
Currently not a documented return type. -
COURTHOUSE
Currently not a documented return type. -
DENTIST
Currently not a documented return type. -
ELECTRICIAN
Currently not a documented return type. -
ELECTRONICS_STORE
Currently not a documented return type. -
EMBASSY
Currently not a documented return type. -
FLORIST
Currently not a documented return type. -
FUNERAL_HOME
Currently not a documented return type. -
GENERAL_CONTRACTOR
Currently not a documented return type. -
HINDU_TEMPLE
Currently not a documented return type. -
JEWELRY_STORE
Currently not a documented return type. -
LAUNDRY
Currently not a documented return type. -
LIQUOR_STORE
Currently not a documented return type. -
LOCKSMITH
Currently not a documented return type. -
MEAL_DELIVERY
Currently not a documented return type. -
MOSQUE
Currently not a documented return type. -
MOVIE_RENTAL
Currently not a documented return type. -
MOVIE_THEATER
Currently not a documented return type. -
PAINTER
Currently not a documented return type. -
PET_STORE
Currently not a documented return type. -
PHYSIOTHERAPIST
Currently not a documented return type. -
PLUMBER
Currently not a documented return type. -
POLICE
Currently not a documented return type. -
ROOFING_CONTRACTOR
Currently not a documented return type. -
RV_PARK
Currently not a documented return type. -
TAXI_STAND
Currently not a documented return type. -
VETERINARY_CARE
Currently not a documented return type. -
ZOO
Currently not a documented return type. -
ARCHIPELAGO
An archipelago. -
TOURIST_ATTRACTION
A tourist attraction -
TOWN_SQUARE
Currently not a documented return type. -
UNKNOWN
Indicates an unknown address type returned by the server. The Java Client for Google Maps Services should be updated to support the new value.
-
-
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
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Enum<AddressType>
-
toCanonicalLiteral
public java.lang.String toCanonicalLiteral() -
toUrlValue
public java.lang.String toUrlValue()- Specified by:
toUrlValuein interfaceStringJoin.UrlValue- Returns:
- the object, represented as a URL value (not URL encoded).
-