Package org.mozilla.geckoview
Class Autocomplete.Address.Builder
Object
org.mozilla.geckoview.Autocomplete.Address.Builder
- Enclosing class:
- Autocomplete.Address
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadditionalName
(String additionalName) Set the additional name for this address entry.addressLevel1
(String addressLevel1) Set the level 1 address for this address entry.addressLevel2
(String addressLevel2) Set the level 2 address for this address entry.addressLevel3
(String addressLevel3) Set the level 3 address for this address entry.build()
Finalize theAutocomplete.Address
instance.Set the country code for this address entry.Set the email address for this address entry.familyName
(String familyName) Set the family name for this address entry.Set the given name for this address entry.Set the unique identifier for this address entry.Set the full name for this address entry.organization
(String organization) Set the company name for this address entry.postalCode
(String postalCode) Set the postal code for this address entry.streetAddress
(String streetAddress) Set the street address for this address entry.Set the telephone number for this address entry.
-
Constructor Details
-
Builder
@AnyThread public Builder()
-
-
Method Details
-
build
Finalize theAutocomplete.Address
instance.- Returns:
- The
Autocomplete.Address
instance.
-
guid
Set the unique identifier for this address entry.- Parameters:
guid
- The unique identifier string.- Returns:
- This
Autocomplete.Address.Builder
instance.
-
name
Set the full name for this address entry.- Parameters:
name
- The full name string.- Returns:
- This
Autocomplete.Address.Builder
instance.
-
givenName
Set the given name for this address entry.- Parameters:
givenName
- The given name string.- Returns:
- This
Autocomplete.Address.Builder
instance.
-
additionalName
@AnyThread @NonNull public Autocomplete.Address.Builder additionalName(@Nullable String additionalName) Set the additional name for this address entry.- Parameters:
additionalName
- The additional name string.- Returns:
- This
Autocomplete.Address.Builder
instance.
-
familyName
Set the family name for this address entry.- Parameters:
familyName
- The family name string.- Returns:
- This
Autocomplete.Address.Builder
instance.
-
organization
Set the company name for this address entry.- Parameters:
organization
- The company name string.- Returns:
- This
Autocomplete.Address.Builder
instance.
-
streetAddress
@AnyThread @NonNull public Autocomplete.Address.Builder streetAddress(@Nullable String streetAddress) Set the street address for this address entry.- Parameters:
streetAddress
- The street address string.- Returns:
- This
Autocomplete.Address.Builder
instance.
-
addressLevel1
@AnyThread @NonNull public Autocomplete.Address.Builder addressLevel1(@Nullable String addressLevel1) Set the level 1 address for this address entry.- Parameters:
addressLevel1
- The level 1 address string.- Returns:
- This
Autocomplete.Address.Builder
instance.
-
addressLevel2
@AnyThread @NonNull public Autocomplete.Address.Builder addressLevel2(@Nullable String addressLevel2) Set the level 2 address for this address entry.- Parameters:
addressLevel2
- The level 2 address string.- Returns:
- This
Autocomplete.Address.Builder
instance.
-
addressLevel3
@AnyThread @NonNull public Autocomplete.Address.Builder addressLevel3(@Nullable String addressLevel3) Set the level 3 address for this address entry.- Parameters:
addressLevel3
- The level 3 address string.- Returns:
- This
Autocomplete.Address.Builder
instance.
-
postalCode
Set the postal code for this address entry.- Parameters:
postalCode
- The postal code string.- Returns:
- This
Autocomplete.Address.Builder
instance.
-
country
Set the country code for this address entry.- Parameters:
country
- The country string.- Returns:
- This
Autocomplete.Address.Builder
instance.
-
tel
Set the telephone number for this address entry.- Parameters:
tel
- The telephone number string.- Returns:
- This
Autocomplete.Address.Builder
instance.
-
email
Set the email address for this address entry.- Parameters:
email
- The email address string.- Returns:
- This
Autocomplete.Address.Builder
instance.
-