Interface TransactionData.AddressOrBuilder (3.37.0)

public static interface TransactionData.AddressOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAddress(int index)

public abstract String getAddress(int index)

Optional. The first lines of the address. The first line generally contains the street name and number, and further lines may include information such as an apartment number.

repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The address at the given index.

getAddressBytes(int index)

public abstract ByteString getAddressBytes(int index)

Optional. The first lines of the address. The first line generally contains the street name and number, and further lines may include information such as an apartment number.

repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the address at the given index.

getAddressCount()

public abstract int getAddressCount()

Optional. The first lines of the address. The first line generally contains the street name and number, and further lines may include information such as an apartment number.

repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The count of address.

getAddressList()

public abstract List<String> getAddressList()

Optional. The first lines of the address. The first line generally contains the street name and number, and further lines may include information such as an apartment number.

repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<String>

A list containing the address.

getAdministrativeArea()

public abstract String getAdministrativeArea()

Optional. The state, province, or otherwise administrative area of the address.

string administrative_area = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The administrativeArea.

getAdministrativeAreaBytes()

public abstract ByteString getAdministrativeAreaBytes()

Optional. The state, province, or otherwise administrative area of the address.

string administrative_area = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for administrativeArea.

getLocality()

public abstract String getLocality()

Optional. The town/city of the address.

string locality = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The locality.

getLocalityBytes()

public abstract ByteString getLocalityBytes()

Optional. The town/city of the address.

string locality = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for locality.

getPostalCode()

public abstract String getPostalCode()

Optional. The postal or ZIP code of the address.

string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The postalCode.

getPostalCodeBytes()

public abstract ByteString getPostalCodeBytes()

Optional. The postal or ZIP code of the address.

string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for postalCode.

getRecipient()

public abstract String getRecipient()

Optional. The recipient name, potentially including information such as "care of".

string recipient = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The recipient.

getRecipientBytes()

public abstract ByteString getRecipientBytes()

Optional. The recipient name, potentially including information such as "care of".

string recipient = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for recipient.

getRegionCode()

public abstract String getRegionCode()

Optional. The CLDR country/region of the address.

string region_code = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The regionCode.

getRegionCodeBytes()

public abstract ByteString getRegionCodeBytes()

Optional. The CLDR country/region of the address.

string region_code = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for regionCode.