public interface AddressInfoOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCity()
public abstract String getCity()Optional. The city of the customer.
string city = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The city. |
getCityBytes()
public abstract ByteString getCityBytes()Optional. The city of the customer.
string city = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for city. |
getFamilyName()
public abstract String getFamilyName()Optional. The family name of the customer.
string family_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The familyName. |
getFamilyNameBytes()
public abstract ByteString getFamilyNameBytes()Optional. The family name of the customer.
string family_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for familyName. |
getGivenName()
public abstract String getGivenName()Optional. The given name of the customer.
string given_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The givenName. |
getGivenNameBytes()
public abstract ByteString getGivenNameBytes()Optional. The given name of the customer.
string given_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for givenName. |
getPostalCode()
public abstract String getPostalCode()Optional. The postal code (zip code) of the customer.
Format Rules:
- United States: 5-digit zip codes (e.g., "94108").
string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The postalCode. |
getPostalCodeBytes()
public abstract ByteString getPostalCodeBytes()Optional. The postal code (zip code) of the customer.
Format Rules:
- United States: 5-digit zip codes (e.g., "94108").
string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for postalCode. |
getRegionCode()
public abstract String getRegionCode()Optional. The Unicode country/region code (CLDR) of the customer, such as "US" or "CH". This field is case-insensitive. For more information, see https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html.
string region_code = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The regionCode. |
getRegionCodeBytes()
public abstract ByteString getRegionCodeBytes()Optional. The Unicode country/region code (CLDR) of the customer, such as "US" or "CH". This field is case-insensitive. For more information, see https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html.
string region_code = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for regionCode. |
getState()
public abstract String getState()Optional. The state or province of the customer.
string state = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The state. |
getStateBytes()
public abstract ByteString getStateBytes()Optional. The state or province of the customer.
string state = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for state. |