public GeocodingApiRequest locationType(LocationType... locationTypes) {
    return param("location_type", join('|', locationTypes));
  }
Sets the location type. Specifying a type will restrict the results to this type. If multiple
types are specified, the API will return all addresses that match any of the types.

@param locationTypes The location types to restrict to.
@return Returns this {@code GeocodingApiRequest} for call chaining.
src/main/java/com/google/maps/GeocodingApiRequest.java