It's the 15th anniversary of Google Maps Platform!   Check out the latest news and announcements.

AddressComponent.Builder

public static abstract class AddressComponent.Builder extends Object

Builder for AddressComponent.

Public Constructor Summary

Public Method Summary

AddressComponent
build()
Builds the AddressComponent.
abstract String
abstract AddressComponent.Builder
setShortName(String shortName)

Inherited Method Summary

Public Constructors

public AddressComponent.Builder ()

Public Methods

public AddressComponent build ()

Builds the AddressComponent.

Mutable members (e.g List) will be converted to immutable versions.

Throws
IllegalStateException If name or types is empty, or if types contains null or empty values.

public abstract String getShortName ()

public abstract AddressComponent.Builder setShortName (String shortName)

Parameters
shortName