Interface PersonName.PersonStructuredNameOrBuilder (2.2.9)

public static interface PersonName.PersonStructuredNameOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFamilyName()

public abstract String getFamilyName()

Family/last name. It's derived from formatted_name if not provided. Number of characters allowed is 100.

string family_name = 3;

Returns
TypeDescription
String

The familyName.

getFamilyNameBytes()

public abstract ByteString getFamilyNameBytes()

Family/last name. It's derived from formatted_name if not provided. Number of characters allowed is 100.

string family_name = 3;

Returns
TypeDescription
ByteString

The bytes for familyName.

getGivenName()

public abstract String getGivenName()

Given/first name. It's derived from formatted_name if not provided. Number of characters allowed is 100.

string given_name = 1;

Returns
TypeDescription
String

The givenName.

getGivenNameBytes()

public abstract ByteString getGivenNameBytes()

Given/first name. It's derived from formatted_name if not provided. Number of characters allowed is 100.

string given_name = 1;

Returns
TypeDescription
ByteString

The bytes for givenName.

getMiddleInitial()

public abstract String getMiddleInitial()

Middle initial. It's derived from formatted_name if not provided. Number of characters allowed is 20.

string middle_initial = 2;

Returns
TypeDescription
String

The middleInitial.

getMiddleInitialBytes()

public abstract ByteString getMiddleInitialBytes()

Middle initial. It's derived from formatted_name if not provided. Number of characters allowed is 20.

string middle_initial = 2;

Returns
TypeDescription
ByteString

The bytes for middleInitial.

getPreferredName()

public abstract String getPreferredName()

Preferred given/first name or nickname. Number of characters allowed is 100.

string preferred_name = 6;

Returns
TypeDescription
String

The preferredName.

getPreferredNameBytes()

public abstract ByteString getPreferredNameBytes()

Preferred given/first name or nickname. Number of characters allowed is 100.

string preferred_name = 6;

Returns
TypeDescription
ByteString

The bytes for preferredName.

getPrefixes(int index)

public abstract String getPrefixes(int index)

Prefixes. Number of characters allowed is 20.

repeated string prefixes = 5;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The prefixes at the given index.

getPrefixesBytes(int index)

public abstract ByteString getPrefixesBytes(int index)

Prefixes. Number of characters allowed is 20.

repeated string prefixes = 5;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the prefixes at the given index.

getPrefixesCount()

public abstract int getPrefixesCount()

Prefixes. Number of characters allowed is 20.

repeated string prefixes = 5;

Returns
TypeDescription
int

The count of prefixes.

getPrefixesList()

public abstract List<String> getPrefixesList()

Prefixes. Number of characters allowed is 20.

repeated string prefixes = 5;

Returns
TypeDescription
List<String>

A list containing the prefixes.

getSuffixes(int index)

public abstract String getSuffixes(int index)

Suffixes. Number of characters allowed is 20.

repeated string suffixes = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The suffixes at the given index.

getSuffixesBytes(int index)

public abstract ByteString getSuffixesBytes(int index)

Suffixes. Number of characters allowed is 20.

repeated string suffixes = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the suffixes at the given index.

getSuffixesCount()

public abstract int getSuffixesCount()

Suffixes. Number of characters allowed is 20.

repeated string suffixes = 4;

Returns
TypeDescription
int

The count of suffixes.

getSuffixesList()

public abstract List<String> getSuffixesList()

Suffixes. Number of characters allowed is 20.

repeated string suffixes = 4;

Returns
TypeDescription
List<String>

A list containing the suffixes.