- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.6
- 2.2.9
public static final class PersonName.PersonStructuredName.Builder extends GeneratedMessageV3.Builder<PersonName.PersonStructuredName.Builder> implements PersonName.PersonStructuredNameOrBuilder
Resource that represents a person's structured name.
Protobuf type google.cloud.talent.v4beta1.PersonName.PersonStructuredName
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PersonName.PersonStructuredName.BuilderImplements
PersonName.PersonStructuredNameOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllPrefixes(Iterable<String> values)
public PersonName.PersonStructuredName.Builder addAllPrefixes(Iterable<String> values)
Prefixes. Number of characters allowed is 20.
repeated string prefixes = 5;
Name | Description |
values | Iterable<String> The prefixes to add. |
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
addAllSuffixes(Iterable<String> values)
public PersonName.PersonStructuredName.Builder addAllSuffixes(Iterable<String> values)
Suffixes. Number of characters allowed is 20.
repeated string suffixes = 4;
Name | Description |
values | Iterable<String> The suffixes to add. |
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
addPrefixes(String value)
public PersonName.PersonStructuredName.Builder addPrefixes(String value)
Prefixes. Number of characters allowed is 20.
repeated string prefixes = 5;
Name | Description |
value | String The prefixes to add. |
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
addPrefixesBytes(ByteString value)
public PersonName.PersonStructuredName.Builder addPrefixesBytes(ByteString value)
Prefixes. Number of characters allowed is 20.
repeated string prefixes = 5;
Name | Description |
value | ByteString The bytes of the prefixes to add. |
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PersonName.PersonStructuredName.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PersonName.PersonStructuredName.Builder |
addSuffixes(String value)
public PersonName.PersonStructuredName.Builder addSuffixes(String value)
Suffixes. Number of characters allowed is 20.
repeated string suffixes = 4;
Name | Description |
value | String The suffixes to add. |
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
addSuffixesBytes(ByteString value)
public PersonName.PersonStructuredName.Builder addSuffixesBytes(ByteString value)
Suffixes. Number of characters allowed is 20.
repeated string suffixes = 4;
Name | Description |
value | ByteString The bytes of the suffixes to add. |
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
build()
public PersonName.PersonStructuredName build()
Type | Description |
PersonName.PersonStructuredName |
buildPartial()
public PersonName.PersonStructuredName buildPartial()
Type | Description |
PersonName.PersonStructuredName |
clear()
public PersonName.PersonStructuredName.Builder clear()
Type | Description |
PersonName.PersonStructuredName.Builder |
clearFamilyName()
public PersonName.PersonStructuredName.Builder clearFamilyName()
Family/last name. It's derived from formatted_name if not provided. Number of characters allowed is 100.
string family_name = 3;
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PersonName.PersonStructuredName.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PersonName.PersonStructuredName.Builder |
clearGivenName()
public PersonName.PersonStructuredName.Builder clearGivenName()
Given/first name. It's derived from formatted_name if not provided. Number of characters allowed is 100.
string given_name = 1;
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
clearMiddleInitial()
public PersonName.PersonStructuredName.Builder clearMiddleInitial()
Middle initial. It's derived from formatted_name if not provided. Number of characters allowed is 20.
string middle_initial = 2;
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PersonName.PersonStructuredName.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PersonName.PersonStructuredName.Builder |
clearPreferredName()
public PersonName.PersonStructuredName.Builder clearPreferredName()
Preferred given/first name or nickname. Number of characters allowed is 100.
string preferred_name = 6;
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
clearPrefixes()
public PersonName.PersonStructuredName.Builder clearPrefixes()
Prefixes. Number of characters allowed is 20.
repeated string prefixes = 5;
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
clearSuffixes()
public PersonName.PersonStructuredName.Builder clearSuffixes()
Suffixes. Number of characters allowed is 20.
repeated string suffixes = 4;
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
clone()
public PersonName.PersonStructuredName.Builder clone()
Type | Description |
PersonName.PersonStructuredName.Builder |
getDefaultInstanceForType()
public PersonName.PersonStructuredName getDefaultInstanceForType()
Type | Description |
PersonName.PersonStructuredName |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
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;
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;
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;
Type | Description |
ByteString | The bytes for givenName. |
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;
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;
Type | Description |
ByteString | The bytes for middleInitial. |
getPreferredName()
public String getPreferredName()
Preferred given/first name or nickname. Number of characters allowed is 100.
string preferred_name = 6;
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;
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
Type | Description |
int | The count of prefixes. |
getPrefixesList()
public ProtocolStringList getPrefixesList()
Prefixes. Number of characters allowed is 20.
repeated string prefixes = 5;
Type | Description |
ProtocolStringList | A list containing the prefixes. |
getSuffixes(int index)
public String getSuffixes(int index)
Suffixes. Number of characters allowed is 20.
repeated string suffixes = 4;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
Type | Description |
int | The count of suffixes. |
getSuffixesList()
public ProtocolStringList getSuffixesList()
Suffixes. Number of characters allowed is 20.
repeated string suffixes = 4;
Type | Description |
ProtocolStringList | A list containing the suffixes. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(PersonName.PersonStructuredName other)
public PersonName.PersonStructuredName.Builder mergeFrom(PersonName.PersonStructuredName other)
Name | Description |
other | PersonName.PersonStructuredName |
Type | Description |
PersonName.PersonStructuredName.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PersonName.PersonStructuredName.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PersonName.PersonStructuredName.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PersonName.PersonStructuredName.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PersonName.PersonStructuredName.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PersonName.PersonStructuredName.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PersonName.PersonStructuredName.Builder |
setFamilyName(String value)
public PersonName.PersonStructuredName.Builder setFamilyName(String value)
Family/last name. It's derived from formatted_name if not provided. Number of characters allowed is 100.
string family_name = 3;
Name | Description |
value | String The familyName to set. |
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
setFamilyNameBytes(ByteString value)
public PersonName.PersonStructuredName.Builder setFamilyNameBytes(ByteString value)
Family/last name. It's derived from formatted_name if not provided. Number of characters allowed is 100.
string family_name = 3;
Name | Description |
value | ByteString The bytes for familyName to set. |
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PersonName.PersonStructuredName.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PersonName.PersonStructuredName.Builder |
setGivenName(String value)
public PersonName.PersonStructuredName.Builder setGivenName(String value)
Given/first name. It's derived from formatted_name if not provided. Number of characters allowed is 100.
string given_name = 1;
Name | Description |
value | String The givenName to set. |
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
setGivenNameBytes(ByteString value)
public PersonName.PersonStructuredName.Builder setGivenNameBytes(ByteString value)
Given/first name. It's derived from formatted_name if not provided. Number of characters allowed is 100.
string given_name = 1;
Name | Description |
value | ByteString The bytes for givenName to set. |
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
setMiddleInitial(String value)
public PersonName.PersonStructuredName.Builder setMiddleInitial(String value)
Middle initial. It's derived from formatted_name if not provided. Number of characters allowed is 20.
string middle_initial = 2;
Name | Description |
value | String The middleInitial to set. |
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
setMiddleInitialBytes(ByteString value)
public PersonName.PersonStructuredName.Builder setMiddleInitialBytes(ByteString value)
Middle initial. It's derived from formatted_name if not provided. Number of characters allowed is 20.
string middle_initial = 2;
Name | Description |
value | ByteString The bytes for middleInitial to set. |
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
setPreferredName(String value)
public PersonName.PersonStructuredName.Builder setPreferredName(String value)
Preferred given/first name or nickname. Number of characters allowed is 100.
string preferred_name = 6;
Name | Description |
value | String The preferredName to set. |
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
setPreferredNameBytes(ByteString value)
public PersonName.PersonStructuredName.Builder setPreferredNameBytes(ByteString value)
Preferred given/first name or nickname. Number of characters allowed is 100.
string preferred_name = 6;
Name | Description |
value | ByteString The bytes for preferredName to set. |
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
setPrefixes(int index, String value)
public PersonName.PersonStructuredName.Builder setPrefixes(int index, String value)
Prefixes. Number of characters allowed is 20.
repeated string prefixes = 5;
Name | Description |
index | int The index to set the value at. |
value | String The prefixes to set. |
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PersonName.PersonStructuredName.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PersonName.PersonStructuredName.Builder |
setSuffixes(int index, String value)
public PersonName.PersonStructuredName.Builder setSuffixes(int index, String value)
Suffixes. Number of characters allowed is 20.
repeated string suffixes = 4;
Name | Description |
index | int The index to set the value at. |
value | String The suffixes to set. |
Type | Description |
PersonName.PersonStructuredName.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PersonName.PersonStructuredName.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PersonName.PersonStructuredName.Builder |