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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
int

The count of prefixes.

getPrefixesList()

public abstract List<String> getPrefixesList()

Prefixes. Number of characters allowed is 20.

repeated string prefixes = 5;

Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
int

The count of suffixes.

getSuffixesList()

public abstract List<String> getSuffixesList()

Suffixes. Number of characters allowed is 20.

repeated string suffixes = 4;

Returns
Type Description
List<String>

A list containing the suffixes.