Represents a component of an address, e.g., street number, postcode, city, etc.
Nested Class Summary
class | AddressComponent.Builder | Builder for AddressComponent . |
Inherited Constant Summary
Public Constructor Summary
Public Method Summary
static AddressComponent.Builder | |
abstract String |
getName()
Name of the address component, e.g.
|
abstract String |
getShortName()
Short name of the address component, e.g.
|
abstract List<String> |
getTypes()
Types of the
AddressComponent . |
Inherited Method Summary
Public Constructors
public AddressComponent ()
Public Methods
public static AddressComponent.Builder builder (String name, List<String> types)
Returns an AddressComponent.Builder
Parameters
name | |
---|---|
types |
public abstract List<String> getTypes ()
Types of the AddressComponent
.
For a list of supported types, see Address Component Types.