public PlaceAutocompleteRequest type(PlaceAutocompleteType type) {
    return this.types(type);
  }
Restricts the results to places matching the specified type.

@param type The type to restrict results to.
@return Returns this {@code PlaceAutocompleteRequest} for call chaining.
@deprecated Please use {@code types} instead.
src/main/java/com/google/maps/PlaceAutocompleteRequest.java