Send feedback
Class PersonName.PersonStructuredName (2.2.9)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.2.9 keyboard_arrow_down
public static final class PersonName . PersonStructuredName extends GeneratedMessageV3 implements PersonName . PersonStructuredNameOrBuilder
Resource that represents a person's structured name.
Protobuf type google.cloud.talent.v4beta1.PersonName.PersonStructuredName
Static Fields
FAMILY_NAME_FIELD_NUMBER
public static final int FAMILY_NAME_FIELD_NUMBER
Field Value
GIVEN_NAME_FIELD_NUMBER
public static final int GIVEN_NAME_FIELD_NUMBER
Field Value
MIDDLE_INITIAL_FIELD_NUMBER
public static final int MIDDLE_INITIAL_FIELD_NUMBER
Field Value
PREFERRED_NAME_FIELD_NUMBER
public static final int PREFERRED_NAME_FIELD_NUMBER
Field Value
PREFIXES_FIELD_NUMBER
public static final int PREFIXES_FIELD_NUMBER
Field Value
SUFFIXES_FIELD_NUMBER
public static final int SUFFIXES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PersonName . PersonStructuredName getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static PersonName . PersonStructuredName . Builder newBuilder ()
Returns
newBuilder(PersonName.PersonStructuredName prototype)
public static PersonName . PersonStructuredName . Builder newBuilder ( PersonName . PersonStructuredName prototype )
Parameter
Returns
public static PersonName . PersonStructuredName parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static PersonName . PersonStructuredName parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PersonName . PersonStructuredName parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PersonName . PersonStructuredName parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PersonName . PersonStructuredName parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PersonName . PersonStructuredName parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static PersonName . PersonStructuredName parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static PersonName . PersonStructuredName parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static PersonName . PersonStructuredName parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static PersonName . PersonStructuredName parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PersonName . PersonStructuredName parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PersonName . PersonStructuredName parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<PersonName . PersonStructuredName > parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstanceForType()
public PersonName . PersonStructuredName getDefaultInstanceForType ()
Returns
getFamilyName()
public 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 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 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 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
getMiddleInitial()
public 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 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.
getParserForType()
public Parser<PersonName . PersonStructuredName > getParserForType ()
Returns
Overrides
getPreferredName()
public 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 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 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 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 int getPrefixesCount ()
Prefixes.
Number of characters allowed is 20.
repeated string prefixes = 5;
Returns
Type Description int The count of prefixes.
getPrefixesList()
public ProtocolStringList getPrefixesList ()
Prefixes.
Number of characters allowed is 20.
repeated string prefixes = 5;
Returns
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getSuffixes(int index)
public 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 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 int getSuffixesCount ()
Suffixes.
Number of characters allowed is 20.
repeated string suffixes = 4;
Returns
Type Description int The count of suffixes.
getSuffixesList()
public ProtocolStringList getSuffixesList ()
Suffixes.
Number of characters allowed is 20.
repeated string suffixes = 4;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public PersonName . PersonStructuredName . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PersonName . PersonStructuredName . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public PersonName . PersonStructuredName . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]